[00:25:45] The only problem is that the articles don't have the same title across languages, so as far as I can tell I don't think a bot would be the most effective means [00:55:34] hey, is there a way how to set $wgActions for some specific user group? [01:55:33] exit [03:11:28] Hi auvajs. [03:11:43] !userrights [03:11:43] For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [03:11:48] Have you read those pages? [04:05:05] yes hello [04:05:15] I have a wiki setup that uses cloudflare [04:05:36] currently all users are editing under cloudflare IPs, how do I get them to be under origin IP [04:11:48] Hi c. [04:12:16] !e TrustedXFF [04:12:16] https://www.mediawiki.org/wiki/Extension:TrustedXFF [04:12:52] Maybe that? [04:12:59] Or maybe some Web server configuration. [04:13:15] I'm not really sure what "all users are editing under" means exactly. [04:13:41] Oh, I guess I do. [04:14:16] Yvette: for example if i checkuser myself I get cloudflare IPs and not my own [04:14:40] Did you read https://www.mediawiki.org/wiki/Manual:CloudFlare ? [04:14:57] who reads manuals ? [04:14:59] * c clicks [04:17:03] That page seems a bit... eh. [04:18:02] It sounds like the general problem is that Cloudflare isn't routing to origin for edits. Instead, you're hitting an edge server? [04:18:14] Maybe, I don't know much about Cloudflare. [04:59:56] c: you will need to work out how cloudflare is proxing the edits [05:49:42] Has anyone had any luck importing the May 1st en.wikipedia dump? I'm using the 1.25 mwdumper and around page 4,820,000 I get an error about character encoding [05:52:56] I saw there was some kind of update to mwdumper called load loaddump or something but can't remember the name or find it [15:35:30] Hi i am wondering if MediaWiki has a function like the extension "EditWarning" that is unmaintained [15:35:47] My users are wanting the ability to see if someone is currently editing the page that they want to edit [16:08:53] My users are wanting the ability to see if someone is currently editing the page that they want to edit, anyone got any ideas? [16:20:33] Hi All. I'm setting up MW 1.28.2 and trying to get VE to work. However, it keeps getting me back to old editor. This is from the log " Illegal offset type in isset or empty in /var/www/extensions/VisualEditor/VisualEditor.hooks.php on line 20" [17:16:46] please help: http://stackoverflow.com/questions/43921854/installing-mediawiki-on-heroku-getting-403-you-dont-have-permission-to-acces [17:19:05] theology: have you tried asking on Heroku forums or support or something? it sounds more like a Heroku issue than MediaWiki issue [17:19:17] MatmaRex, not yet :x [17:19:21] (if you're seeing that error, it fails before any MediaWiki code runs) [17:20:12] I'm setting up MW 1.28.2 and trying to get VE to work. However, it keeps getting me back to old editor. This is from the log " Illegal offset type in isset or empty in /var/www/extensions/VisualEditor/VisualEditor.hooks.php on line 20" [17:21:03] Not sure if it has anything to do with this, but I did actually set $wgVisualEditorAvailableNamespaces and included NS_MAIN in it but still! [17:24:43] !ask | andre__ [17:24:43] andre__: 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. :) [19:14:58] Hi. Is there a way to load a script or stylesheet from any WMF wiki page WITHOUT installing it? Just like WITHJS, but without its limits? [20:21:04] My users are wanting the ability to see if someone is currently editing the page that they want to edit, anyone got any ideas? [20:21:07] Dan_1591: What do you mean by "without installing it"? You do need to specify the script somewhere for it to be loaded. [20:23:41] king_nero: I found https://www.mediawiki.org/wiki/Extension:EditWarning after a quick google search but it's not maintained. You can see if it works for you. ¯\_(ツ)_/¯ [20:23:46] @Niharika, see https://www.mediawiki.org/wiki/Snippets/Load_JS_and_CSS_by_URL Using url parameters withJS and withCSS you can load a local script if it is mediawiki namespace [20:23:55] It doesn't work, I have already tried Niharika [20:24:05] I should have mentioned that, sorry [20:25:11] Dan_1591: Aha, interesting. I didn't know about that. [20:25:32] king_nero: No worries. I don't have any solutions for you though, sorry. [20:26:04] hi Niharika [20:26:22] It is ok, thanks! [20:26:45] king_nero: there is a similar feature with Extension:FlaggedRevs to warn somebody else is marking pages, but I guess it's virtually unused [20:27:00] Looking it up [20:27:36] Allows for article content management by "editor" and "reviewer" classes [20:27:55] I think I just need a simple line of text if someone is editing it to say "Someone is currently editing this page" [20:28:03] I wouldn't recommend FlaggedRevs in general :) but that's something [20:28:07] let's try EditWarning then [20:30:24] "The supplied credentials could not be authenticated. " <-- what kind of message is this [20:30:52] Hey saper. [20:32:29] I have no idea what the message is lol [20:35:38] it's irrelevant [20:35:43] king_nero: did you try installing editwarning? [20:35:57] No, but I saw on git that it didnt work on 1.25 [20:36:05] or or 24 [20:36:12] So, I didn't bother on 1.26 [20:36:19] what does it mean "didn't work"? [20:36:45] https://github.com/nemphis/mw-editwarning/issues/1 [20:38:04] that's not a good bug report [20:38:15] I agree on that [20:38:40] I will try it tonight, but I can't right now as our users are currently on [20:40:03] you should have a development instance installed in parallel :) [20:44:44] quickly updated my testwiki to 1.28.1 [20:45:30] I should, I just do not have the time at the moment to spin it up. [20:46:37] ok got it installed and not crashing the wiki [20:49:49] Does it work? [20:49:58] When you edit the page on two broswers? [20:50:27] [WRTOjV4X8jAAADxB4G0AAAAO] 2017-05-11 20:50:21: Fatal exception of type "DBQueryError" [20:50:30] not yet [20:50:34] ahh [20:52:59] not crashing the wiki is already a success [20:53:04] just two lines had to be removed [20:53:07] or one [20:53:10] which? [20:55:56] king_nero: https://github.com/nemphis/mw-editwarning/compare/master...saper:REL_1_28?expand=1 [20:57:02] perfect, thank you very much [20:57:13] I will attempt to install tonight, when everyone is at home [20:58:56] yeah but it's not working yet, watch my repo :) [21:01:26] perfect, will do [21:01:54] ah I created tables in the wrong database :) [21:02:17] Let me know if that is the fix :D [21:21:46] king_nero: got it kind of working [21:22:56] ahh [21:22:58] How so? [21:23:17] pushed [21:23:41] ahh [21:23:43] syntax change? [21:24:13] Until 2017-05-11 21:32 other users get the warning that you're editing this article. You can extend this time period by clicking Show preview. [21:24:16] You can leave this screen by clicking Cancel. [21:25:48] https://github.com/nemphis/mw-editwarning/pull/2 [21:26:25] king_nero: it is not a cool AJAX thing but a decent message at the top [21:26:42] I will attempt to run it tonight and see if it works :D [21:26:46] king_nero: try http://tools.wikimedia.pl/~saper/b/index.php?title=NewPage&action=edit [21:26:49] ty for getting it going [21:27:11] see the url? [21:27:59] yep [21:28:03] It looks good enough [21:28:05] I can customize it [21:28:31] tyvm [21:30:48] It works! I ran it haha [21:30:51] thank you very much saper [21:30:52] :D [21:36:09] :) cool [21:36:21] write me a testimonial for enteprise customers :) [21:44:04] OMG [21:51:03] hey saper [21:51:06] one more question [21:51:15] oh and where do i write the testimonial [21:51:29] Is there anyway to display this message in Mobile view? [22:02:50] king_nero: I don't know [22:07:58] k thanks saper [22:20:13] I am having trouble getting SVG support working on my wiki. I have imagemagicks installed and working and have followed the instructions in Manual:Image_administration#SVG but then I get this error: https://doormonster.wiki/wiki/File:Fencing_foil_valid_surfaces.svg [22:20:26] and yes, I borrowed my test image from wikipedia [22:20:35] permissions? [22:21:10] for testing purposes they are more open than a brothel on a weekend [22:22:35] https://www.mediawiki.org/wiki/Topic:Pqhbjjmkgojjqbfi [22:22:41] "the directory had the wrong owner and couldn't be written to" [22:25:02] The folder is owned by root, I don't know what other user to chown it to [22:25:54] It's run on a virtual server that I have ssh capablities on [22:26:11] whatever user your webserver is running as? [22:26:14] www-data possibly [22:26:54] I do see a www-data in the list. Should I chown the images directory and it's contents or just the tmp? [22:27:30] tmp for starters would probably elimate the problem [22:27:39] Do normal uploads work fine currently? [22:27:42] presumably they do [22:27:51] normal uploads work fine [22:28:22] it's just svg that's failing, seemingly because imagemagicks is having trouble with the png preview conversion [22:29:10] I've chowned tmp then images to www-data and I am still getting the error [22:30:19] is it 777'd too presumably based on your previous comment? :P [22:31:14] I am pretty sure it is due to me not cleaning up after my attempt to get image uploading working from the start but I did redo it just in case but the error persists [22:42:32] screw it, instead of messing around server side, I installed a extension that makes the browser render it [22:44:25] every modern browser has at least basic support for them, might as well put that to work [22:44:30] /tmp should be chown root:root and chmod 1777 (if that's what you were referring to when you said tmp, instead of some other mw-specific temporary directory) [22:44:45] public_html/images/tmp [22:44:51] ok [22:45:17] surprisingly I was talking about the mediawiki temp directory in the mediawiki channel. :P [22:45:42] You can't always be sure with people in here [22:45:48] true [22:46:08] make a whoami.php in your public_html with the contents then visit it in your browser [22:46:26] that will tell you what user/group mediawiki is running under, so you know what to chown the files/directories to [22:46:43] er, that needs a ; at the very end of it [22:46:54] why don't I just ls -l and see what user that way? [22:47:06] admittedly I didn't think of that til now [22:47:09] the owner of the files is not necessarily the user the webserver is running the files under [22:48:02] looking at your webserver config or executing a script that reports the user/group is the only way to be 100% sure [22:48:37] that gives me a 500 error [22:49:49] did you put the extra ; at the end? I forgot it [22:49:54] echo $uid['name'] . ':' . $gid['name']; [22:50:32] so it says www-data:www-data [22:50:39] ok [22:51:01] so that's the user/group that the webserver is running as, so if you chown your images dir to www-data, the webserver will have full access to it [22:51:26] I did though [22:51:33] and still got the errors [22:51:34] and it's still erroring? [22:51:39] I blame magic [22:51:53] (because at that point nothing is making sense) [22:52:04] I blame imagemagicks because when I tried rsvg after it didn't error [22:52:08] unless you have suexec or something and it's complaining because the permissions are TOO open [22:52:13] ah [22:52:18] so I was close then :D [22:52:31] but at this point it's moot as I have it using the browser's render [22:52:43] well, glad you found something that works [22:53:05] Me too, stops the front end guy from complaining [22:53:07] :P [22:53:17] at least for a little bit