[09:01:59] Hey Guys [09:01:59] I have to export all the pages that are in a certain category or a subcategory in a wiki. I did manage to do that via the api, but it seems that the content of the categories is not included. Any tips on how to do this? [09:24:57] alpl: did you manage to export the pages but not the category itself? or nothing at all? [09:27:00] Thx for answering [09:27:00] I constructed the api call that gives me the XML export for the pages in a given subcategory [09:27:00] I also wrote a crawler recursively gives all the subcategories [09:27:30] Now I could just concatenation all that stuff. I wanted to ask if there is a better way [09:38:58] AFAIK you can only set a list of pages or categories but not both, which means you can't get all of them in one go [10:01:11] Hmm okay [10:01:11] That seems like it’s really complicated [10:01:11] But I’m almost there [10:01:11] So thanks! [12:58:23] Hi all, "Email me when a page or a file on my watchlist is changed" is not working. I Set $wgEmailAuthentication $wgEnotifWatchlist and $wgDefaultUserOptions['enotifwatchlistpages'] = true;. Emailing works, tested with user to user email [12:58:33] Anyone an idea? [12:59:55] job queue? [13:01:33] Guest65: what is the question? [13:05:02] Do I need to set any other options? [13:05:27] Reedy job queue is empty [13:18:40] I have run also update.php and jobs [13:18:43] nothing [13:19:00] update.php wouldn't fix it [13:19:15] enabled debug mode and there are no errors [13:19:31] don't know why it's not working [13:20:01] SMTP is setup correct, because user to user email works [13:20:47] What do you mean "user email works"? Do you mean emailing a user from the wiki works? [13:24:17] hexmode[m] https://www.mediawiki.org/wiki/Manual:$wgEnableUserEmail [13:24:51] Set to true to enable user-to-user email via Special:Emailuser. This can potentially be abused, as it's hard to track. This setting can be used to check if SMTP is set up correctly on your wiki. [13:25:11] It worked [13:26:59] ok, thanks for clarifying. It does look like SMTP is set up correctly for the wiki, then. [13:27:01] I still don't know what your problem is. Your dialog with Reedy seems to indicate that the job queue is a problem, but I can only guess why you are looking at that AND talking about email. [13:28:35] Reedy should I maybe try to install https://www.mediawiki.org/wiki/Extension:SwiftMailer ? [13:33:24] Why would that help? [13:33:40] You said user to user email works, so your email setup itself seems to be fine [13:36:39] I'm also experiencing what Guest65 says somewhat. Special:Emailuser sends the email fine. User watchlist email also works, but for some reason, leaving a message to a user talk page doesn't trigger the email (Echo is installed) [13:37:44] Vulpix: Any idea if it's a regression on a specific version? [13:38:03] Hi there. Upgrade from 1.35.3 to 1.36.1 fails using postgresql 13: An error occurred: [13:38:06] Error 23505: ERROR: could not create unique index "wl_user_namespace_title" [13:38:08] DETAIL: Key (wl_namespace, wl_title, wl_user)=(0, Accueil, 1) is duplicated. [13:38:10] Function: PostgresUpdater::changeField [13:38:12] Query: ALTER TABLE watchlist ALTER wl_namespace TYPE INT USING 0y [13:38:16] Amir1: ^ [13:38:30] (no y at the end, fat fingers, sorry) [13:39:55] Reedy: Well, all I can say is that it was working before :) However, I can't say for how long it doesn't work. Also, I'm a bit ashamed to say that but I'm still on 1.34 (I'm backporting security patches manually, 1.35 is too buggy for me). I'm trying to upgrade to 1.36 this week [13:40:59] Things don't usually "just break" [13:42:18] Yeah, I know, there have been some minor upgrades before. I'd say it was working on earlier 1.34 versions and "broke" somewhere in the 1.34 lifecycle, but I'm not sure. Apparently I don't get enough talk page messages to notice [13:42:47] I think if it was completely broken on wikipedia et al, we'd have heard about it [13:42:53] 1.34 is EOL, so I don't bother to report this problem yet. I'll see if 1.36 works [13:42:55] But it's possible some extra config might be needed now [13:43:12] Maybe it has to do with Echo [13:43:26] Guest65: What version of MW are you using? [13:46:05] Reedy MediaWiki 1.31.12 [13:46:06] PHP 7.4.1 (fpm-fcgi) in 2-3 month we want to upgrade to 1.36 [13:46:27] FWIW, you're 3 point releases behind [13:47:01] While I'm not blaming it as the cause, 1.31 probably isn't well tested with PHP 7.4 [13:51:44] Reedy if you have some time, mind taking another look at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/567374 ? I *think* I've properly addressed your -1 - we're getting *really* close to being able to hard deprecate $wgUser (I have a patch in progress to do it, and Echo is one of two extensions blocking, the other being [13:51:44] TimedMediaHandler) [13:53:41] ok I will test that Reedy [16:53:33] @ the person asking about $wgSMTP, I responded to you two days ago with the following response: "For the Azure MW 1.31 question: What is the value of your $wgSMTP? What port should it run on? Did you look at the Azure firewall?" [16:54:17] Hope you can see my messages [16:55:06] I'm on Element not IRC so it might be more difficult to mention you/etc. [16:55:39] Also, you can install my extension called EmailLogger to see if the emails are at least being sent by MediaWiki. https://www.mediawiki.org/wiki/Extension:EmailLogger [19:24:59] Reedy, low can you file a bug? [19:25:06] I think I know what this is [19:25:26] you basically need to clean up duplicate watchlist entries [19:25:28] is it PG? [21:10:08] Amir1: I think they said it was