[00:26:54] !tias [00:26:54] Try it and see. You learn much more by experimentation than by asking without having even tried. [00:44:38] Fiona, can you help me with https://www.mediawiki.org/wiki/Thread:Project:Current_issues/API-head [00:44:49] its been ~24 hrs :/ [00:45:22] Hi. [00:47:01] ive pinged all over the place, even asked to become a sysop in the hope that might happen quicker than waiting for translation admins :P [00:48:23] jayvdb: Just bumped you to admin/translation admin. [00:48:25] That work? [00:49:43] that could do the trick. for your efforts, you can now close https://www.mediawiki.org/wiki/Project:Requests/User_rights/John_Vandenberg [00:49:52] I'll leave a note now. [00:49:57] I missed that part. [00:52:00] (Done.) [00:52:12] sorry I wasnt more clear [00:53:55] The CSRF token in the API replaced the delete token too, right? [00:54:38] actually I'll just test it, nevermind [00:55:33] oh yeah it's actually in the API docs for the delete action [00:56:11] jayvdb: No worries. Thanks for helping out! Sorry it took so long for us to get you the permissions you need. :-/ [00:59:35] Fiona, any idea why https://www.mediawiki.org/w/index.php?title=Template:API-head/en&diff=1417951&oldid=1375077 doesnt contain the updates from https://www.mediawiki.org/w/index.php?title=Template:API-head&action=history [00:59:48] (rtfm-ing) [01:00:11] mediawiki.org still has flagged revs in some places, maybe? [01:00:15] No idea, honestly. I need food. [01:00:17] :P [01:00:48] kk [01:00:49] Translate is a scary beast, nobody knows how it works :P [01:07:51] HI all. Started getting spam on my wiki. Whats the best course of action? Captcha? If so, whats the recomended one? [01:08:24] there's some info on https://www.mediawiki.org/wiki/Extension:ConfirmEdit [01:09:14] Fiona, no FlaggedRevs now I don't think [01:10:24] How do i go about deleting users ? [01:11:04] SGMonkey: I don't think that's possible. But you can block them. [01:11:36] SGMonkey: to further what cgt said, you can also revdel them, which makes them invisible to normal users [01:11:46] !revdel [01:11:46] RevisionDelete can change the visibility of revisions and log entries. See for more information. [01:12:00] There's also a User Merge and delete extension you can try [01:12:07] cool [01:12:24] Also, flagged revisions could be used to prevent the spam from becoming visible to users [01:12:41] or whatever what they use on enwiki and dewiki is called [01:12:57] the thing where an edit must be approved to be shown [01:13:28] confirm edit ships with media wiki 1.24 anyway rrght? So i dont need a new install of it do i? [01:36:13] I just updated mw:API:Delete to be current. What about the MW version box at the top of the page? What exactly does that represent? Should it be updated now? [01:36:17] https://www.mediawiki.org/wiki/API:Delete [01:41:57] Is it not at all possible to delete multiple pages in one go? [01:42:36] I don't think so. Usually the parameter would be "titles", not "title", when multiple pages can be passed. [01:43:48] blah, I'm talking about the API. [01:43:55] How do i view a list about API's? [01:44:01] There's a Nuke extension [01:44:08] to delete all pages created by a user [01:44:11] what, shut up monkey. How do i view a list of banned IP's [01:44:37] I can't even remember if Nuke is actually an extension or builtin [01:44:40] but it's there [01:45:04] there's a special page [01:45:35] Special:BlockList [01:45:59] @ SGMonkey [01:46:11] Yeah found it. Cheers [01:54:00] nuke is an extension [09:30:39] Hello. I just imported a js gadget from commons to hi.wp but the destination page shows the content as wikitext instead of as js --> https://hi.wikipedia.org/w/index.php?title=Mediawiki:Gadget-Edittools.js [09:31:59] the source page https://commons.wikimedia.org/wiki/MediaWiki:Edittools.js shows the js as js [09:41:51] the css styling for javascript doesn't seem to be applying to the page [09:45:39] Sid-G: This edit broke it: https://hi.wikipedia.org/w/index.php?title=%E0%A4%AE%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF:Gadget-Edittools.js&diff=next&oldid=2686855 [09:45:50] I think you must put "// " at the top [09:46:07] and close it at the bottom too of course [09:47:17] Hi, I'm still having a problem getting $wgUsersNotifiedOnAllChanges to work [09:47:35] I can run a php mail script to send an email [09:47:56] and can see a connect and disconnect on the mail server when a page is changed [09:48:04] but no message seems to be sent [09:48:19] After switching on debug all I see is http://paste.fedoraproject.org/188850/ [09:48:51] but from googling it looks like that's an error that can be ignored [09:49:21] I have followed http://www.mediawiki.org/wiki/Manual:How_to_debug [09:49:33] but those are the only errors being logged [09:50:52] These are my Localsettings [09:50:53] http://paste.fedoraproject.org/188853/45986401/ [10:21:33] cgt: thanks for the info. I wonder how come the styling is still correct at https://commons.wikimedia.org/wiki/MediaWiki:Edittools.js .... [10:51:51] I have added this line: [10:51:52] wfDebug( __METHOD__ . ": aaa.\n" ); [10:52:01] to includes/mail/EmailNotification.php [10:52:12] but get the following error: [10:52:12] Parse error: syntax error, unexpected 'wfDebug' (T_STRING), expecting function (T_FUNCTION) in /var/www/html/mediawiki-1.24.1/includes/mail/EmailNotification.php on line 60 [11:06:37] Hello. I've just discovered that even though FlaggedRevs is installed on both en.wp and hi.wp, going to [[Special:PendingChanges]] at hi.wp causes a "No such special page" error while no such error happens on en.wp. Help please [11:10:56] ie https://en.wikipedia.org/wiki/Special:PendingChanges works but https://hi.wikipedia.org/wiki/Special:PendingChanges gives an error [11:32:21] * Sid-G is waiting for a response [11:35:05] Sid-G: Maybe it only has a localized name on hiwiki? [11:37:47] cgt: it should be at https://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%85%E0%A4%A8%E0%A4%BF%E0%A4%B0%E0%A5%80%E0%A4%95%E0%A5%8D%E0%A4%B7%E0%A4%BF%E0%A4%A4_%E0%A4%AA%E0%A5%83%E0%A4%B7%E0%A5%8D%E0%A4%A0 [11:38:04] but that also gives a Special page doesn't exist error [11:38:21] although there are still pages with pending changes enabled [11:38:46] Is it on Special:SpecialPages? [11:39:08] nope, the entire pending changes section is missing from Special:SpecialPages [11:39:22] Maybe it's been disabled [11:39:25] see https://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7_%E0%A4%AA%E0%A5%83%E0%A4%B7%E0%A5%8D%E0%A4%A0?uselang=en [11:40:07] cgt: how do i find out if it's been disabled? [11:41:16] Check the MediaWiki configuration. I don't know if you have access to that though. [11:41:45] no, I'm an hi.wp end-user [11:41:55] only wmf guys would have access to that [11:42:26] no way to check that from the api? [11:42:33] Yeah, you should tape a written message to a rock and throw it to the WMF guys [11:42:39] I don't know [11:44:15] cgt: this api query --> https://hi.wikipedia.org/w/api.php?action=query&list=oldreviewedpages&ornamespace=0 <-- shows that there are pages with old pending changes needing review [11:44:30] but since the special page is missing, there's no way to actually review them [11:45:09] * Sid-G goes to find wmf ppl [11:46:04] find them and give them your rock message [11:59:44] Sid-G: https://noc.wikimedia.org/conf/ [12:02:16] specifically, https://noc.wikimedia.org/conf/highlight.php?file=flaggedrevs.php under hiwiki [12:02:35] valhallasw`cloud: thanks, i see the section but don't know php [12:05:10] valhallasw`cloud: so I don't understand what's missing in the config [12:05:38] Sid-G: I don't know what the specific settings for flaggedrevs are either. The flaggedrevs extension docs might know [12:05:59] * Sid-G goes looking at the docs [12:06:24] * Sid-G thanks valhallasw`cloud [12:09:32] Sid-G: I'd suggest creatign a ticket in phabricator under the 'Wikimedia-Site-Requests' and 'FlaggedRevs' projects: https://phabricator.wikimedia.org/maniphest/task/create/?projects=wikimedia-site-requests,mediawiki-extensions-flaggedrevs [12:10:21] Sid-G: if it's on purpose, someone will note that, otherwise it'll be fixed. [12:15:46] valhallasw`cloud: it appears that flaggedrevs is no longer active for the mainspace, filing a bug report(my first on phab) [12:17:27] file it with a rock [12:37:14] Hi guys, I'm currently getting the following error: Could not acquire 'test-wiki_:messages:en:status' lock. [12:37:35] We've just moved servers [12:37:45] Any ideas on what it is.how to fix it? [12:40:10] AndroidOS: https://phabricator.wikimedia.org/T46499 it could be a problem with memcached [13:01:32] Vulpix: We're using Redis as our main cache now though. Is memcached still used for bits? [13:41:31] AndroidOS: redis or memcached should be the same. Check that the configuration is correct and PHP can contact redis [13:54:02] Hi, if wgDebugLogFile is set, should all wfDebug messages be logged or is there a verbose level that needs to be set? [14:07:39] I have this [14:07:40] error_reporting( -1 ); [14:07:40] ini_set( 'display_errors', 1 ); [14:07:40] $wgDebugLogFile = '/tmp/debug.log'; [14:07:46] but nothing in /tmp/debug.log [14:08:13] I'm using mediawiki-1.24.1 [14:11:58] quick: does the page load at all? [14:12:09] yeah loads fine [14:13:13] it should generate the debug file, then. It may be a permission problem, but /tmp should be writable by everybody [14:13:26] and selinux is disabled [14:13:27] well, unless PHP has open_basedir restrictions in effect [14:13:59] [root@laptop w]# grep open_basedir /etc/php.ini [14:13:59] ; open_basedir, if set, limits all file operations to the defined directory [14:14:00] ;open_basedir = [14:15:10] that's really strange [14:15:33] I know, I have this problem on my site and my laptop [14:15:51] just be sure you're editing the correct LocalSettings.php [14:15:52] been looking at it for ages :( [14:16:12] hey I'm not that bad [14:26:00] can you see anything wrong with my LocalSettings.php? http://paste.fedoraproject.org/188925/24615121/ [14:36:26] quick: looks good to me [14:37:45] Thanks Vulpix, I'm just setting up an older mediawiki version to see if there's any difference [14:38:21] quick: if the server is not accessible from the internet, you can set $wgDebugToolbar = true to get debug information directly on the page. Or maybe try to do any change on the file that changes its behavior and you can be sure you're accessing that MediaWiki installation and not another one [15:09:29] Vulpix, thanks I couldn't get /tmp/debug.log to work even with mediawiki-1.19.23 but I did get debugtoolbar worked [15:09:42] I managed to find out why I couldn't send emails anyway [15:10:13] Hello [15:10:16] $wgPasswordSenderName has been deprecated [15:10:18] that's strange, maybe is there an obscure restriction to acces /tmp in your system [15:10:42] and now goes in ./languages/i18n/en.json: "emailsender": "{{SITENAME}}", [15:11:04] The SITENAME value was causing the issue [15:11:16] Can anybody help me? How to get cosumer ket for oauth in my site with wikimedia? [15:11:17] so I changed that and the email notifications are working now [15:11:36] Can anybody help me? How to get cosumer key for oauth in my site with wikimedia? [15:12:31] quick: note that for changing MediaWiki messages you should change MediaWiki:emailsender (if $wgUseDatabaseMessages is set to true) [15:12:44] oh right [15:12:48] great thanks! [15:14:05] @Vulpix thanks that makes a lot more sense now :) [15:14:16] snicksnk: maybe this could help you https://www.mediawiki.org/wiki/OAuth/For_Developers#Application_Approval [18:44:13] Anyone awake? Im trying to figure out some setup stuff for a mediawiki; af riend of mine did a manual install to the direct html directory on a VPS. [18:44:51] HTML? [18:45:16] It's installed on her server under var/www/html, which she said is where it automatically unzipped to. [18:46:24] She's tryign to remove the index.php/ from the wiki display. I have done this on another server via .htaccess, and she has root access. Should I just put the .htaccess file in var/www/ like I would public_html under the mw directory on my shared server? [18:46:38] you have to edit LocalSettings.php methinks [18:46:54] no sale en !shorturl [18:46:59] !shorturl [18:46:59] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [18:47:13] ^^^^^^^^^^^^ [18:47:27] I am reading that. It's not an issue of not knowing what to do, I have never done this on something that didn't have it's own directory. [18:48:39] do you have other software in the same directory? [18:50:27] She just has the wiki setup in the var/www/html directory, nothing else. [18:50:59] what server is she using [18:51:13] well, that's not a problem, then [18:51:31] apache? [18:51:36] Yeah. [18:52:23] https://www.mediawiki.org/wiki/Manual:Short_URL/Apache [18:52:52] you can put those rules in .htaccess in the MediaWiki folder, just be sure the rewrite rules are correct on the new server [18:53:08] you need to also change some variables in LocalSettings.php [18:54:53] So just put it in var/www/html then? That's what I wanted ot know, thank you. I know the rest of it and how to set up the .htaccess, I just wasn't sure where it needed to go. [18:56:17] i guess so [18:56:23] good luck [18:56:57] yes, you can have an .htaccess on each subdirectory, it doesn't need to be on the root itself [18:57:42] Geofbot: I do not know much about Apache setup; I've given her that directory but we're both flying a little blind with some things like that here. [18:59:26] Er, that link rather. [18:59:31] And thanks, Vulpix. [18:59:38] i also don't use web servers very much, but it shouldn't be too hard [19:00:23] GEOFBOT: actually, you use them whenever you visit a web page :) [19:00:47] lol you know what i mean [19:01:01] :P [19:07:33] dont forget the url canonicalization plug in [22:22:09] hello, I'm looking for documentation for the following requirement: I want a form to create a page that displays a link to the User:name of the person who creates it using a (semantic) form. [22:22:40] I want this "field" to appear automatically and be mandatory. [22:23:16] I can use {{USERNAME}} to get the current user, but how to "keep" the value once the page is created? [22:28:29] {{{field|Author|input type=hidden|mandatory|value={{{USERNAME}}}}}} ? [22:29:52] ah, think I found something... [22:30:24] Hello, I develop an extension with a tag and want to update a 3rd page from the tag. "-> doEdit" gives the following error: "Parser state cleared while parsing. Did you call Parser::parse recursively?". Has anyone an idea how to solve the problem? [22:36:21] duh... This is way too complicated... There must be a simple way. [22:39:02] I have a problem with a new installation, when I hit edit on a page it comes up fine but when i hit save it hangs, shows "The connection to wiki.com was interrupted." the Apache logs do not even show this requesting going through