[02:19:20] Hi, any pointers on how to setup email notifications? it seems the stuff I can find online all use pear smtp, which is no lnoger supported [11:54:35] Sweet I just discovered templates can be put in categories! Very useful [12:03:17] Hello, I know nothing of mediawiki git model. How to send pull requests to extensions? [13:17:37] gleki: we don't use "pull requests" [13:17:42] pull requests is a term from GitHub. [13:17:57] but we use something quite similar: Gerrit patch sets. [13:18:22] gleki: https://www.mediawiki.org/wiki/Gerrit/Getting_started [13:19:27] so get a Gerrit account, install git-review on your machine, clone the extension from the Gerrit server, and send your patch for reviewing using git-review. [13:19:40] That page should help you. If you get stuck, ask here. [14:56:33] MW 1.24.0, Postgres 8.4, deleting a (spam) throws an error. [14:56:51] "A database query error has occurred. This may indicate a bug in the software." [14:56:58] Trying to delete a user's page [14:57:38] same for normal pages [15:07:02] digimer: Known issue I think [15:08:13] known fix? [15:08:17] :) [15:09:38] There might be... [15:09:53] I seem to recall someone discussing it last night and that there was a patch outstanding to fix it, it just didn't make it into 1.24 [15:55:26] hi ppl, anyone has a minute to help me with a very precise problem ? [15:56:49] lfschenone: If you ask your question [15:57:00] hi reedy [15:57:09] ok, im using the Tags extension [15:57:29] and ive made a skin custom skin [15:57:53] that before outputing the title of the page, has the following [15:58:00] echo wfMessage( 'Tabs' )->parse(); [15:58:26] so the function gets the content of the Tabs message, which contains a set of tabs [15:58:47] the problem is that the tabs appear empty [15:58:56] the content is there, but it's just hidden .. [15:59:32] ah, it's difficult to explain, sorry [16:00:18] nevermind reedy, i'll continue on my own until i understand exactly what's going on [16:05:11] !magic [16:05:11] For more information about creating magic words and their inner workings, see . For a list of magic words, please see . [16:09:30] how to make api call to mediawiki? [16:10:10] Alina-malina: From where? Using what? [16:10:12] !apiclient [16:10:12] https://www.mediawiki.org/wiki/API:Client_code [16:10:25] oh thanks! [16:17:06] hello, i need to recover my wiki to special date, how could i do that? [16:17:42] do you have a backup? [16:18:06] No [16:18:10] i do not have [16:19:09] then you can't recover to a point in time [16:19:32] i am in chnages list, [16:19:42] i can not recover my wiki to special changes? [16:20:29] you can manually rollback/undo any edit for every page, if that's what do you mean [16:20:51] but that's not what I understand for "recovery" [16:21:08] rollback/undo ?? [16:21:12] how could i do that? [16:21:16] !undo [16:21:16] 'Undo' attempts to undo any single edit, not just the top edit. It essentially determines what was changed, and makes the reverse change; so you can easily undo a vandal edit that is followed by legitimate edits. See . [16:21:41] !rollback [16:21:41] 'Rollback' reverts edits by one user after a certain version, but only for top edits: if Billy edits three times, Jane edits once, and Billy edits four more times, "rollback" will revert Billy's last four edits. See for information, or for how to let non-admins use it. [16:23:09] Is it possible to purge SVG renderer cache? Just for a category with nearly 200 files at least? A bug of librsvg is fixed however SVG affected still showed with old renders, I've found that deleting that images then restoring them can re-rendering but I hope there would be some better way [16:23:26] ebraminio: Mass purge using the api? [16:23:58] Reedy: Sounds good, which one can? [16:24:02] Reedy: sorry for vanishing... Do you have a link to the patch, by chance? [16:24:18] ebraminio: You can just visit each page and ?action=purge on them [16:25:08] sasan: what happened? [16:25:51] Reedy: http://commons.wikimedia.org/wiki/File:Ic_gesture_48px.svg?action=purge [16:26:25] Yeah [16:26:32] Reedy: http://upload.wikimedia.org/wikipedia/commons/thumb/5/52/Ic_gesture_48px.svg/50px-Ic_gesture_48px.svg.png [16:26:43] Reedy: it should be something like ^ [16:27:03] ebraminio: It looks like that to me [16:27:08] Browser cache? [16:27:44] Reedy: Of course. Thank you [16:29:01] ebraminio: FYI, the apaches are in the process of being upgraded to 14.04 too [16:29:21] !dump [16:29:21] For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps . For a how-to on importing dumps, see https://www.mediawiki.org/wiki/Manual:Importing_XML_dumps . [16:29:46] Sounds good. Thank you [16:34:20] Is it possible to see old style API page again? [16:35:35] No doubt the modern one is good but sometimes I feel I need the old one [16:41:46] nvm, [16:41:46] Reedy: I triggered action=purge on all of the pages on that category and now it is fixed, thank you [16:42:46] yay [16:42:58] ebraminio: yeah, there is, ish [16:43:09] https://commons.wikimedia.org/w/api.php?action=help&recursivesubmodules=1 [16:44:52] Reedy: Great. Thank you [17:23:27] hi [17:24:10] i read in the 1.24.0 releases that i read in the 1.24.0 release notes that a lusers are redirected to the login form when they are required to login [17:24:24] but i just tested it and it doesnt work [17:24:33] is there some configuration that needs to be set? [18:23:25] 2 min, wow [20:28:51] has any problem with download from gerrit? I'm receiving this message all the time when I try to download core: index-pack died of signal 117 fatal: index-pack failed [20:29:29] RIP [20:31:15] I am having a problem with a MediaWiki instance where when trying to save a page, it doesn't save. It does display the page as I edited it except that ~~~~ isn't expanded, the page title is gone, and each heading in the page is displayed twice. [20:31:43] However, it doesn't save; when reloading the page I get the old version, and looking in recent changes and page history, it isn't there. [20:32:08] Do you see any error message, zzo38? [20:32:12] anything in your error log? [20:32:32] Previewing works fine though. [20:32:50] No, there is no error at all [20:34:55] did you installed the wiki or a new extension recently? [20:35:02] No. [20:35:26] lestaty, works for me [20:36:28] :s I'm trying again [20:36:34] zzo38: does it happen only with one page, or one edit (text) in particular, or doing a different edit on any other page works as normal? [20:37:00] Vulpix: I didn't check, although editing other pages worked fine a few minutes ago. [20:38:56] maybe it's a problem with that page, or with the text of your edit (try copying the text and pasting on a different page), that maybe triggers an extension which blocks that text from being saved, or any other security/anti-spam module (like apache's mod_security) [20:40:47] If there is such a security module it probably shouldn't do quite that? [20:41:39] Reedy: are you still around by chance? [20:41:42] probably, yes, but who knows... some return a 404 page, others redirect to the main page... [20:42:04] Alternatively; anyone else familiar with the bug preventing deletion of pages on postgresql based 1.24.0 installs? [20:42:15] lestaty, still having the issue? did you type out that error (with "signal 117") or did you copy+paste it? [20:42:41] * digimer would really like to delete these spam pages to get the histories and their links out of the DB [20:42:54] or at least out of anything google might find/cache [20:43:21] postgresql broken again? :S [20:44:18] yep Krenair [20:44:31] ya, I can't delete a page... Database error [20:44:32] A database query error has occurred. This may indicate a bug in the software. [20:44:46] Vulpix: People were talking about something last night [20:44:50] I couldn't find the patch though [20:45:01] Reedy: I was talking last night about a failure to install on PgSQL [20:45:10] but a user here pointed me to a patch that worked [20:45:17] unless you're talking about something else [20:45:24] well, time to test how phab search works [20:46:29] digimer: You need to have MW show you the exact error [20:46:33] digimer: You should at least file the issue in phabriactor [20:46:50] G_SabinoMullane: *just* figured out how to do that [20:46:53] will pastebin, one sec [20:47:02] oh, it hasn't been reported on phabricator? [20:47:05] Reedy: what is "phabricator"? [20:47:23] digimer: Our bug tracker that replaced bugzilla [20:47:42] http://pastebin.com/raw.php?i=2JGLL5XB [20:47:45] link? [20:47:47] Vulpix: we wont know until we see the error [20:47:50] :) [20:47:56] https://phabricator.wikimedia.org/ [20:47:58] !debug [20:47:58] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [20:48:09] dammit [20:48:13] spammers are annoying... [20:48:23] create spam as fast as I (try to) delete it... [20:49:45] on Phabricator, I click "Login or Register" and it simply says my credentials are invalid (which are blank, as I wanted to register) [20:50:19] ah, I think I see my mistake [20:52:57] Ugh, really wish mysql version used foreign keys [20:54:56] Heh, looks like I fixed this issue back in 2006. Guess it has cropped up again. [20:55:35] G_SabinoMullane: if you want me to test, I will be happy to try things. [20:55:43] I can backup the DB manually before [20:57:08] 1.24.0 right? Let me check that out [20:57:50] I created an account on mediawiki.org, but it doesn't seem to work on phabricator [21:01:02] Ah, the problem before was with deletes. Which you'd think doDeleteArticleReal would be doing. But you'd be wrong [21:02:02] o_O [21:03:49] got the login working [21:04:27] A backtrace would be nice digimer [21:04:39] instructions? [21:04:44] * digimer is not much of a programmer [21:04:50] !debug [21:04:50] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [21:05:20] $wgShowDBErrorBacktrace enough? [21:07:49] $wgShowExceptionDetails too [21:09:20] * G_SabinoMullane may be afk and back a lot today [21:15:13] G_SabinoMullane: ok, will do [21:15:25] thanks (Reedy, too) [21:22:24] https://phabricator.wikimedia.org/T76254?workflow=create [21:22:35] Is that sufficient, or should I add more info? [21:31:02] That should be enough. I don't have time to dig into it at the moment. [21:31:09] that's fine [21:31:23] If it's stopping you from doing things, you could remove that constraint [21:31:44] I'd rather not much around with the guts, I'm just as likely to make things worse [21:31:54] right now, I changed the pages to delete their content [21:32:04] Actually you should post the SQL error from your paste too [21:32:10] I'd just like to delete the pages entirely so that the spam body isn't in the history [21:32:16] ok [21:33:04] https://phabricator.wikimedia.org/T76254#793824 [21:34:29] Thanks for taking the time to create the issue [21:35:32] G_SabinoMullane: happy to help [21:52:32] hello, is it possible to redirect a newly created user on it's first login to a help page? [22:06:51] hello, is it possible to redirect a newly created user on it's first login to a help page? [22:08:55] hello, is it possible to redirect a newly created user on it's first login to a help page? [22:09:18] hello, is it possible to redirect a newly created user on it's first login to a specific help page? [22:13:16] okay, I see no response, perhaps i was bad at describing what I wish to achieve, basically, is it possible to set a certain "first page" where certain usergroups are redirected on login? [22:25:34] guest22: pateince :) [22:25:42] idle and give folks time to answer [22:25:52] if you don't get a reply in an hour or two, ask again [22:26:00] oh, sorry [22:26:05] no worries [22:32:21] okay, another question - how to set a default group for registered users? [22:45:18] hello, I'm new here ;) i'm looking for an extension and if one does not exist I could to write it as well... [22:45:40] ...I would like to associate any number of properties with an article and have that persisted not only in the wiki but as a db that can be queried directly by a non-wiki app. Thoughts? [22:45:42] hi [22:45:58] sounds like wikidata [22:46:45] @Krenair: checking :) [22:57:51] hello. it seems to me that the skin used when i'm connected is always the one defined in my Preferences. Is there a way to have it "same as default for the whole site", whatever it is ? [22:58:29] i think i've been seeing/using "monobook" for years, although my users are seeing "Vector" since it started to be the default [23:01:43] If i install a new skin, none of my registered users will use them because monobook is still recorded in their preferences ?? [23:02:37] @Krenair: yes!!! wikidata. Thank you so much. Let me dig in :) [23:02:44] orzel: the users who were using the default skin will start using the default skin [23:03:13] orzel: all preferences implicitly have that feature – if a user was using a value that is the same as default, and the default value changes, the user will switch to the new default [23:03:52] (or in other words: mediawiki doesn't store all of user's preferences, it stored the difference to default preferences only) [23:04:43] orzel: if you want to change some particular preference from A to B for all users, there's a maintenance script for that, userOptions.php [23:04:45] !maintenance [23:04:45] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [23:05:29] https://www.mediawiki.org/wiki/Manual:UserOptions.php [23:07:22] Thank you very much for your help. You save me many hours of frustration. Bye now [23:23:29] MatmaRex: i'm pretty sure i never changed this settings, and neither my users (they dont care). Still, everybody is using "monobook" according to this userOptions.php script [23:23:32] i've moved everybody to "" [23:24:22] my _registered_ users, i mean, of course [23:24:26] hm. perhaps it's some artifact from a long history of upgrades? weird. [23:24:36] it's a pretty old install, yes