[02:40:44] Is the "Pages on your watchlist have pending changes" message new? [04:50:32] Can anyone help me understand the architecture of this plugin. https://github.com/wikimedia/jquery-client [05:21:25] guaravgrover95: I think you just need the jquery.client.js file, you can then customize your skin/extension or maybe even put it into common.js [06:55:19] Huh, cool thing, PHPStorm has a local file copy mechanism that works with Vagrant so you don't need symlinks [07:06:31] @CZauX This sounds interesting, how does it work? [07:07:35] You can create a Deployment configuration with the 'Local or mounted folder' setting, then map the skin or extension you're testing over to your shared vagrant folder. [07:07:48] Turn on automatic upload and whenever you save it will automatically overwrite [07:08:41] Usually I'd just use a symlink or a junction, but the nfs shared folder for the mediawiki vagrant doesn't support that, even with admin privledges [07:12:38] ah, ok - thanks [07:13:17] Hiya! I don't know if this is the right place for this, but I had some questions regarding some MediaWiki stuff. Namely—what to do in the event that there are no active sysops, editing is limited to registered users only, and account creation has been disabled? [07:16:25] Depends upon what you're trying to accomplish within that situation [07:16:58] In this case, just opening account registration/editing back up to the general public - so the site isn't dead anymore. [07:18:08] You'd have to contact the site adminitrator(s) and work something out. If nobody responds to it, then there's not much to be done there [07:18:42] Ah, okay. Thanks anyway! [07:18:46] I think your question is how to contact an admin of a site that isn't being updated. In that case you might able to look a the WHOIS data and contact them. [07:19:37] Or look at some pages on the wiki and see if there's a contact page [07:20:03] Or look at the profiles of accounts on there that can edit and see if there's a way to contact them [07:20:23] basically you're looking for a way to figure out who you need to talk to, and how to get in contact with them [07:23:09] No, no contact info or emails on any of them — and the site's been defunct for a while, too. I just wondered if the MediaWiki system worked kinda like the Wikia one - where a centralized admin can add/remove bureaucratic powers and such. [07:25:12] Wikia is 'wiki as a service' where they have customized Mediawiki to be an architecture like that. Mediawiki itself however is a framework anybody can install on their own server, and has no such central administration without modification [07:25:45] Unless they're going through a wiki hoster, then there technically is control, but they're not going to give you access [07:26:24] Ah, I see. Thank you so much for the info! [07:26:55] np. [07:35:05] By the link //site/wiki/Special:Search/200 I can find the pages with 200 in title. [07:35:26] How can I avoid finding and pass my user directly to the 1st page found? [07:35:28] Thanks. [07:48:00] PMZ_: by default the search box will take the user directly to the page if the name names [07:49:29] The name is not exactly the same. [07:51:02] you could create a redirect if its a common search term [09:19:52] hi, how to write DESPLAYTITLE using lua? [13:17:13] morning [13:54:49] ayy [16:25:05] what should be specified in 'section' parameter for parse action to get custom section? extract sections numbers with 'sections' prop, but seems numbers not compatible with 'section' because returns error, index instead number returns whole page [16:27:32] trying to extract only English/Noun from https://en.wiktionary.org/wiki/string [16:28:08] https://en.wiktionary.org/w/api.php?action=parse&format=json&utf8=true&formatversion=2&page=string&redirects=true§ion=1.3 error [16:28:12] https://en.wiktionary.org/w/api.php?action=parse&format=json&utf8=true&formatversion=2&page=string&redirects=true§ion=4 whole(?) article [16:28:52] any hints? [16:29:24] simulacr: they are just numbered [16:29:34] not the section numbers shown in the table of contents [16:30:21] simulacr: for example, for https://en.wiktionary.org/wiki/string#Descendants - click the "edit" link in the heading and you'll get this page: https://en.wiktionary.org/w/index.php?title=string&action=edit§ion=9 – the '9' is the section number you'll want to use for the API too [16:39:33] my wrong, it's a whole section not a whole article, so index should be used [17:17:13] is it possible to get only section without sub-sections with api? for example: 'Noun' section without 'Synonyms', 'Hyponyms' etc [17:24:39] can get sections of section with https://en.wiktionary.org/w/api.php?action=parse&format=json&utf8=true&formatversion=2&page=string&redirects=true§ion=4&prop=sections but don't understand how to get main/sub section of section [17:32:26] simulacr: nope :( [17:36:19] maybe get everything between byte offsets, does api provide some way to do it? [17:45:43] if understand correctly byte offsets related to wikitext, theoretically is possible to manually extract wikitext between byte offsets then to get formatted text preview extracted wikitext with api, but it's really clumsy [19:10:47] https://meta.wikimedia.org/wiki/Main_Page -- On this page, at the bottom, they are linking externally to the WikimediaFoundation site when you click "Privacy Policy". How are they doing this? [19:16:15] exxy-: it's defined on https://meta.wikimedia.org/wiki/MediaWiki:Privacypage [19:17:47] uh [19:18:02] this download https://releases.wikimedia.org/mediawiki/1.26/mediawiki-1.26.2.tar.gz retrieves a zero byte file for me [19:18:55] https://dpaste.de/kxNF this is what curl -v says [19:19:34] it even happens using Safari on my Mac and wget both locally and on the server I plan to install it to [19:20:00] KDDLB: hmm, yeah. [19:21:41] and the directory listing https://releases.wikimedia.org/mediawiki/1.26/ says the file is 24 M(i?)B [19:32:53] MatmaRex: I am only seeing the flat text "wmf:Privacy_policy". [19:33:27] MatmaRex: In the manual, it says use "#REDIRECT [[wmf:Privacy_policy]]" for interWiki links. When I do this on my own page, I am not redirected at all. It's simply a soft redirect. [19:42:39] KDDLB: it sometimes works fine for me, but not every time. pretty weird [19:43:06] Varnish is being mean, maybe [19:43:10] exxy-: yeah. we have 'wmf' defined as an interwiki link prefix. https://www.mediawiki.org/wiki/Manual:Interwiki [19:43:21] exxy-: which manual? [19:46:47] Let me find where I saw this stuff [19:46:54] I am piecing together multiple things across google atm [19:49:14] Idk, honestly, all I can find at this point is verbiage that really sounds like MediaWiki simply doesn't do hard redirects anymore. Which is why I am baffled that the link I sent you is working that way. [19:55:09] KDDLB: i filed a bug about it: https://phabricator.wikimedia.org/T135038 [19:55:17] thanks MatmaRex [19:56:19] Oh weird. [19:56:34] Matma, you posted in one of the threads that caused me to seek out this chat room -> http://www.gossamer-threads.com/lists/wiki/mediawiki/422321 [19:56:38] that's....interesting [19:56:58] :o [19:57:00] how are they doing thissssssssss [19:57:24] exxy-: well, apparently i was wrong and emufarmers's response there is correct? [19:57:49] you define an interwiki prefix, like 'wmf' (see https://www.mediawiki.org/wiki/Manual:Interwiki#Adding_a_new_website_for_interwiki_linking) [19:58:01] and can use it to link to external sites with "internal" links [19:58:27] Yeah so [19:58:31] that's exactly what I am doing [19:59:02] where do I define the internal link though? Because I am using "#REDIRECT [[google:]]" to test it [19:59:10] and it's giving me a soft redirect link [19:59:44] i'm not sure if that works for redirects [19:59:54] just regular links [20:00:07] there might be some config variable to enable it for redirects too? i'm not sure [20:00:53] yeah.. been down that road [20:01:47] I am adding a custom link using $wgHooks['SkinTemplateOutputPageBeforeExec'] and adding a link [20:02:01] legalinfo points to legalinfopage? I guess. [20:04:19] I guess I don't understand "From there you can put "Terms of Service" in the page MediaWiki:Termsofservice on your wiki, for the link's text and in MediaWiki:Termsofservicepage define the title of the page that you want the Terms of Service link to point to. Note, if you do not create these pages on your wiki, then nothing will appear in the footer [20:04:19] ." [20:12:44] Oh wow. I figured it out. [20:12:54] I kept changing the "MediaWiki:" in the URL to the name of my wiki [20:12:58] thinking that's what I had to do [20:13:03] but that's not what I had to do, shame on me. [20:13:05] It's working now. [20:16:49] oh. heh. [20:17:29] for future reference, the namespace with the name of your wiki is 'Project:' :) (but 'Project:' should also work) [20:42:20] Can Anyone tell me if this IRC works. I have never seen anyone posting anything here and getting replies from others [20:45:11] I got some assistance with my question today, gauravgrover95 [20:58:28] gauravgrover95, it does [21:01:22] RFC meeting starting now in #wikimedia-office: Overhaul Interwiki map, unify with Sites and WikiMap [22:23:53] Anyone know an easy way to exclude bot edits when using $wgUsersNotifiedOnAllChanges? [22:24:18] (Easy enough to hack EmailNotification.php, but would prefer not to if I'm overlooking an obvious thing)