[07:52:45] hi guys.. Need a quick info [07:55:20] !ask | vijayrajah [07:55:20] vijayrajah: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [07:59:09] I have a small wiki.. unfortunately the server crashed .. [07:59:13] I have no sql backups... [07:59:24] I just have the xml backup and filesystem backups [07:59:39] can I restoe the wiki from just these 2 backups?? [08:01:16] if you have filesystems backup the db should be backed up, but i'm no expert in restoring those [08:01:47] No I meant.. I have a tar of the mediawiki directory.. [08:01:48] the xml pages should be able to be imported via Special:Import but that won't create user accounts etc [08:01:57] no the entire server filesystem backup.. [08:02:26] ok.. I can create users.. [08:03:14] currently the DB is empty.. should I try to "Install" the a new wiki and import the XML files? [08:27:25] Annoying that one has to use such tricks just to write a user https://www.mediawiki.org/w/index.php?title=User_talk:Cboltz&action=history [08:29:43] because using flow is that hard? [08:31:45] Doesn't work in my browser, so it's definitely hard [08:33:18] have you filed it in phabricator? [08:34:05] I sent a screenshot [08:34:36] I wrapped up my involvement in Flow development in December 2012 [08:36:55] Looks like something happened on March 10 https://www.mediawiki.org/wiki/Special:NewPages?namespace=3 [08:39:15] Weird, I don't see any announcement of what that might be in the last 3 issues of tech news nor https://lists.wikimedia.org/pipermail/mediawiki-l/2016-March/ [08:46:27] https://gerrit.wikimedia.org/r/#/c/276395/ [08:47:44] Fun https://www.mediawiki.org/wiki/Topic:T0cvh7f26vl47mkf [08:48:49] p858snake: yep, and there isn't even a SAL line for that [08:49:41] normal swats don't !log every single thing iirc [08:50:49] Sure, but that was seemingly an extremely urgent change, merged in less than 24 hours without any discussion or announcement [12:54:15] morning [13:03:05] Hello, is there an example OAuth application up and running to test out authentication and API calls? I was sure I saw one once.... [13:03:46] Yeah [13:03:50] There's some in various languages [13:04:32] Reedy, ahh I think i've found it [13:04:39] https://tools.wmflabs.org/oauth-hello-world/beta.php [13:05:14] I suspect that there may be issues with OAuth API calls on the beta cluster [13:09:12] hmm, yes there does seem to be an issue [14:18:31] Is there a way to mass-merge over a thousand users together, or even better erase their accounts? They were spam registrations it seems, and I'm trying to clean up the user list a little [14:25:58] is there a way to mass-delete a lot of spam registered users? [14:28:32] teward: See https://www.mediawiki.org/wiki/Manual:Combating_vandalism#Cleaning_up [14:30:40] Niharika: thanks [14:48:19] !nuke [14:48:19] http://www.mediawiki.org/wiki/Extension:Nuke [15:27:08] hashar: Niharika: I got *most* of the users deleted with the bundled maintenance script, but Nuke doesn't delete the user. I've purged all the vandalism edits, but I need to delete the users. I've got about 150 left, after nuking almost 1500 with the built-in removeunusedaccounts maintenance script... [15:27:14] but the Nuke plugin doesn't offer that function [15:27:31] and 'cause I'm using a postgres database the suggested cleanup shell script won't work (it's designed around the mysql and not postgres) [15:27:38] so, how do I remove the last bit of users [16:19:00] teward: apparently https://www.mediawiki.org/wiki/Extension:UserMerge let you merge users / delete them [16:19:11] or a maintenance script yeah [16:19:14] gotta rush sorry [16:19:57] saw that, but it still requires a target to be merged to [16:35:24] Heiya, anybody out here who could merge some stuff into extension repos? Will be great! [16:36:30] You mean people with CR+2 for stuff in Gerrit? [16:36:38] Yeah :) [16:37:11] I am talking about 7 patchsets which should not be a big issue [16:37:43] Throw in links and maybe someone can take a look? [16:38:13] Nobody can answer before seeing whether it's code that someone feels comfortable with. [16:38:27] You mean like this: https://gerrit.wikimedia.org/r/#/c/277729/ ? [16:39:05] Well, without any hints noone will be able to take a look, I guess? :) [16:39:30] This would be the most complicated one: https://gerrit.wikimedia.org/r/#/c/277731/ [16:40:02] You might want to also mention the repository. So not everybody needs to first click to then realize it's a repository they don't know about. [16:40:12] That's true but I do not really want to spam here [16:40:16] Ah ok [16:41:06] So this would be the DeleteBatch extension: https://gerrit.wikimedia.org/r/#/c/277731/ [16:42:00] And this was the DissmissableSiteNotice extension: https://gerrit.wikimedia.org/r/#/c/277729/ [16:42:41] The one volunteering will recieve WikiLove :) [16:45:55] Not everyone at once. :D [16:49:12] Love is in the air? [16:52:53] I guess I need stamina on this one. [16:53:43] kghbln: i guess the first step would be to frind someone who knows anything about these extensions. [16:54:03] a good way to do that is to look at the list of past (and recent) contributors [16:54:29] oh, right [16:54:58] you should also mention that the patch just adds the GPL full text. [16:55:01] no code to review. [16:55:06] Hi Daniel, that's indeed a way to go. [16:55:19] that makes it a LOT more likely for someone like me to look at it and hit +2, even though I don't know quat about the extension [16:56:03] DanielK_WMDE Indeed there is not much to review. However your suggestions are cool too. [16:56:38] kghbln: the thing is - how do i know that this is actually the correct license, and reflects the intention of the contributors? [16:58:47] DanielK_WMDE Well the info is taken from the file docu and/or from the extensions page on mw.o [16:59:17] kghbln: please mention that in the commit message. ideally include a link. [16:59:54] also, if you wait a few hours for california to wake up, you're pretty likely to find some of the contributors online [17:00:05] right now, most of them are probably asleep [17:01:28] DanielK_WMDE This is a good suggestion, however here it is pretty obvious https://gerrit.wikimedia.org/r/#/c/277731/1 [17:02:03] and here indeed the commit message should be updated https://gerrit.wikimedia.org/r/#/c/277729/ [17:05:03] so, i'm having DB issues with UserMerge, and it won't work to just 'delete' a user, is there a way to just delete users without merging them first? [17:20:17] I have a strange CSS problem, but I am probably too tired to see the obvious reason. My Common.css looks like http://pastebin.com/VSRLJLtU - and if I activate the second variant of the column alignment classes, all data (th and td) is suddenly aligned to the right ... any ideas? [18:51:30] Hey guys. I'm having a weird issue with permissions. I have the general read and edit set to false for the '*' group. Below, I set a group 'trustworthy' to be allowed those and other things, but when I click the 'edit' link on the page VisualEditor throws the 500 parsoid error. Regardless of what the 'trustworthy' group's permissions are, if I set the '*' group's read permission to true, it VisualEditor loads just fine. When I change it to f [18:51:30] alse, it doesn't. Any ideas? [18:52:55] isn't 500 just a generic server error? I'd guess there would be a more detailed explantion in the relevant logs [18:53:25] JasLap: there's something you can set for VisualEditor to forward the logged in user's cookies to Parsoid, and Parsoid to forward them back to MediaWiki, so that VE/Parsoid still works when not all users can read pages on your wiki [18:54:09] JasLap: https://www.mediawiki.org/wiki/Extension:VisualEditor#Linking_with_Parsoid_in_private_wikis [18:54:59] MatmaRex: Thanks much! Trying now. [18:55:20] (interesting, that also has two other solutions. i didn't know about them) [20:45:42] Hello, I am looking to edit my MediaWiki stylesheet and increase the tag font size; make 1.25 without using the span tags. [20:46:08] I don't want to edit CSS files (such as main.css) directly, because it will make upgrading harder. But I can't find MediaWiki:Common.css [20:46:34] What do you mean you can't find it? [20:46:42] It's just a page on your wiki [20:46:45] If it doesn't exist, create it [20:50:46] Reedy: Advance WIki formatting is new to me...looking for a push in the right direction. [20:50:47] Just visit MediaWiki:Common.css on your wiki [20:50:47] Edit it like any other page [20:50:47] Add the CSS you want to add [20:50:48] !sitecss [20:50:48] !css [20:50:48] To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS [20:50:49] !help [20:50:49] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [20:50:49] The bot is dead it seems [20:50:50] https://www.mediawiki.org/wiki/Manual:Interface/CSS [20:51:33] hmm...The requested URL /wiki/MediaWiki:Common.css was not found on this server. [20:54:13] slow bot... [20:54:51] Neville: Create it then [20:54:52] Neville: that's usually a problem with your rewrite rules... I guess every page ending in .css will display the same error [20:55:55] I've seen several complains about such errors lately... maybe a lot of people are moving to nginx? [21:03:02] Is MediaWiki 1.12.0 too old? It may be the reason /wiki/MediaWiki:Common.css is not available. [21:03:18] I'm not sure when it was introduced [21:03:24] But 1.12 is very old, yes [21:53:55] My guess would be that Common.css was introduced around MediaWiki 1.4 [21:54:15] Given https://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=18607590 , maybe 1.3.x [22:14:20] hi can anyone help with blockandnuke and usermerge? [22:17:20] What is this navigation called Manual:Interface/CSS (the colon part)? [22:19:57] Manual is a namespace [22:27:45] is there a way to massively merge many spam account created by bots/spammers? [22:27:52] merge and delete I mean [22:28:55] I'm looking for a way to delete multiple users in one go, given they were spam registrations. is there a way to do it? The nuke and usermerge options are off the table, and the other tools require a mysql database, not postgres, as the backend so they won't work (we're using postgres) [22:34:16] I have a strange CSS problem, but I am probably too tired to see the obvious reason. My Common.css looks like http://pastebin.com/VSRLJLtU - and if I activate the second variant of the column alignment classes, all data (th and td) is suddenly aligned to the right ... any ideas? [23:24:28] Hey, I just saw that there's a relatively modern page content API: https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec [23:26:09] Is this also exposed through the api.php endpoint, or are the two completely separate? [23:27:28] Jasper: They're separate. [23:27:45] Parsoid is an external piece of software [23:27:46] Jasper: https://www.mediawiki.org/api/rest_v1/?doc for the content. [23:27:59] Krenair, oh, I thought it was the parser that MediaWiki used. [23:28:02] nope [23:28:28] Jasper: It's the replacement parser. [23:29:06] So we shouldn't use Parsoid yet if we expect content to look like it's from Wikipedia. [23:30:03] It looks a lot better than the HTML output we get from action=parse, perhaps obviously. [23:30:20] So we're thinking of transitioning to it, but we're unsure of the stability of the rest_v1 endpoint compared to action=parse [23:31:05] Jasper: It's pretty stable. We use it for the new editor, and we're about to start switching read clients over to it. [23:31:11] Oh, cool. [23:31:33] Jasper: Ideally we'd have switched some significant traffic to it to "prove" it and make any needed breaking change fixes first, but it should be stable enough. [23:34:46] James_F, we're currently parsing from action=parse and action=query endpoints. I just found the new rest_v1 endpoint and the HTML looks a whole lot better to scrape and understand. [23:34:58] James_F, I imagine there's no major replacement for action=query and such. [23:37:49] I have a strange CSS problem, but I am probably too tired to see the obvious reason. My Common.css looks like http://pastebin.com/VSRLJLtU - and if I activate the second variant of the column alignment classes, all data (th and td) is suddenly aligned to the right ... any ideas?