[00:05:36] onei: it uses the parser cache if available I believe [00:05:56] https://en.wikipedia.org/w/api.php?action=parse&page=User:Legoktm has <!-- Saved in parser cache with key enwiki:pcache:idhash:14989378-0!*!0!*!*!4!* and timestamp 20140815023221 and revision id 614786146 [00:09:34] legoktm: what about if I parsed something like {{foobar}}, would it remain cached until it was edited? and what about after it was edited? I assume it would update almost immediately as the job queue wouldn't apply [00:10:15] I have no idea [00:12:01] thanks for the parser cache info anyway :) [08:19:00] qgil: Good morning. I'm finishing up the monthly report for July; If you want to add content for "Mentorship programs" and "Volunteer coordination and outreach", please do it in the next hour :) https://www.mediawiki.org/wiki/Wikimedia_Engineering/Report/2014/July#Engineering_Community_Team [08:19:36] guillom, ooops! why did I think I had do it already, long time ago! (seriously) [08:19:41] done [08:20:22] I'm reviewing the rest, so you have a little time to do it :) [08:45:01] guillom, done. I think we need to reorganize ECT projects/reporting a bit. Just a little bit. Let's talk in our 1:1 next week. [08:47:27] qgil: hi. [08:47:27] qgil: I left some notes at Phabricator/Migration talk page. Would be interesting to perhaps hear thoughts on hierarchical projects, and possibly about working wikilinks in task reports and comments. [08:48:38] Svetlana, I'm replying to your email at wikitech-l as we speak. :) [08:49:14] Svetlana, I will reply wherever you post about Phabricator. ;) [08:52:13] Svetlana, also, before raising new Phabricator topics, please check whether there are already tasks discussing them, e.g. http://fab.wmflabs.org/T100 ref wikilinks [08:54:50] I hope to get mailing lists move to Flow at a point. Having a message attached to two boards (talk page, wikitech-l) would be somewhat nice. [08:57:36] qgil: OK, thanks! [08:57:51] * Svetlana posts about Phabricator on own back. Time to get autograph of qgil /right there/. ;-) [08:58:59] Svetlana: For some lists, phabricator would make more sense as a replacement, i think [08:59:04] I'll get your instead, Svetlana :) [08:59:18] hi qgil! [08:59:30] Hallo mein Freund! :) [09:00:06] Wikimania went by without a chance to speak with you (beyond those three sentences), and then I regretted. [11:41:28] Running into an issue with LDAP Authentication Plug, 2.1.0v. I'm not getting any log data into the specified log file for ldap errors, output of the primary log file is : https://dpaste.de/Ho41 - - Anyone have any thoughts? [11:52:23] how do I install vector to git clone, guide on wiki doesn't work [11:52:40] I inserted require for Vector.php and even if it's loaded, skin is still not available there [11:54:01] just ping me when someone is here to give me some answer... [11:54:31] vector is an extension as well as a skin [12:13:32] petan: which guide? URLs welcome. [12:16:25] andre__: https://www.mediawiki.org/wiki/Manual:Skin_configuration [12:16:39] Hello71: i was talking about skin of course [12:17:03] following the guide [12:17:11] and which part failed? [12:17:16] I copied vector stuff from skins from tarball installer [12:17:16] "doesn't work" isn't a valid problem. [12:17:28] and required the Vector.php as suggested there [12:17:35] nothing really happened, it's still not there [12:17:39] wiki is skin-less [12:17:59] Whoops! The default skin for your wiki ($wgDefaultSkin), vector, is not available. [12:18:11] petan: then you must have not required the file [12:18:16] what exactly did you do? [12:18:18] MatmaRex: I do [12:18:42] I inserted require_once "$IP/skins/Vector.php"; to top of LocalSettings [12:18:46] ah [12:18:49] that's not going to work [12:18:57] require_once "$IP/skins/Vector/Vector.php" [12:18:57] but that's what is in manual on wiki D: [12:19:02] that is ^ [12:19:13] that will throw fatal error as there is no such a file [12:19:24] how so? you have just cloned the skin there [12:19:28] btw there is not even such a folder, I had to create a symlink [12:19:40] no, I did copy contents of "skin" directory from tarball [12:19:50] which tarball? which MW version? [12:20:03] which contains: petanb@debian:~/Downloads/mediawiki-1.23.2$ ls skins/ [12:20:04] cologneblue CologneBlue.php common modern Modern.php monobook MonoBook.php vector Vector.php [12:20:12] that's 1.23 [12:20:18] and i guess you want to run master [12:20:21] yes, latest version I guess [12:20:46] I don't really care to be honest, I want to get core from git working in browser so that I can test if my changes to code work [12:20:47] https://www.mediawiki.org/wiki/Skin:Vector#Installation [12:21:04] MatmaRex, that is the guide which I was following and which doesn't work... [12:21:26] eh [12:21:26] "This skin is included in the MediaWiki download tarball." [12:21:27] "This skin is included in the MediaWiki download tarball." is a bit of a lie [12:21:34] why is it there then... [12:21:47] it will work once 1.24 tarball is released :P [12:22:03] you can't lie to users in manual and expect them to be successfull in installation process [12:22:04] :P [12:22:35] your own fault for running master :P [12:22:37] okay, so [12:22:41] lol [12:22:46] use that "Download" link there and it should work [12:22:49] so am I supposed to create patches on different base than master? [12:23:02] or clone the mediawiki/skins/Vector repository into skins/ in core [12:24:13] I would happily clone it, but as a proper developer I am pretty lazy and as long as you aren't going to have nice GitHub like clone links in download sections I will not do that :P I am going for tar now [12:24:42] what I mean: looking for full clone url is pain in arse when it comes to mediawiki components [12:24:53] especially because of that cryptic port which I will never remember [12:26:22] i have an alias for it :D git clone ssh://matmarex@gerrit.wikimedia.org:29418/$1.git [12:26:32] hmm [12:26:41] (well, not 'matmarex@' for you) [12:27:13] !git_clone_petrb is git clone ssh://petrb@gerrit.wikimedia.org:29418/$1.git [12:27:14] Key was added [12:27:28] !git_clone mediawiki/skins/Vector [12:27:28] git clone ssh://petrb@gerrit.wikimedia.org:29418/mediawiki/skins/Vector.git [12:27:33] petan: also the git clone link is pretty obvious: https://github.com/wikimedia/mediawiki-skins-vector [12:27:37] lol [12:27:50] oh yeah, it's all mirrored on github too [12:28:00] github clone* [12:28:42] wm-bot saved my life once again :P [12:32:07] after 2hour installation of mediawiki on my dev machine I forgot password I chose during setup D: [12:36:08] ok so now I need someone who understand api's, where do I register a new api class? [12:36:40] [::1:48086] PHP Fatal error: Class 'ApiUnflagNewMessage' not found in /var/www/html/test/core/includes/api/ApiModuleManager.php on line 203 [12:42:15] petan: pick one of the existing api classes, and grep the MediaWiki code about it, you'll probably find some files you'll need to add references to that class [12:42:28] Vulpix: that is what I did [12:42:35] I can't find it [12:42:36] if you're developing an extension, look at one of the extensions that also provide an api [12:42:44] no I am changing core [12:43:57] petan: you didn't find anything in AutoLoader.php? [12:44:18] I was grepping api folder only [12:44:21] it's somewhere else? [12:44:39] ha, that's it [12:47:34] Hi guys, i'm installing fresh mediawiki on Ubuntu 14.04 and i'm trying to set up visual editor after that. my last attempt failed. can someone help me walkthrought that with which versions to install of mediawiki, parsoid, ve ? [13:04:51] No one is avialable ? [13:05:04] hi [13:06:06] agepox: extensions usually have separate versions for each MediaWiki release, as long as you install the ones for your MediaWiki, everything should be okay [13:07:17] i've never tried to set it up myself, so i can't offer practical advice :) [13:07:25] This is my 3rd try . :) [13:07:30] if you run into problems, the #mediawiki-visualeditor channel might be a better place to ask [13:07:38] great, thanks! [13:08:54] agepox: Also, feel free to share the exact problems you´re facing here, so people can help you. [13:29:24] "Product Managers at the Wikimedia Foundation work with engineers and designers" http://hire.jobvite.com/CompanyJobs/Careers.aspx?c=qSa9VfwQ&cs=9UL9Vfwt&page=Job%20Description&j=oQf8YfwV [13:52:24] hi [13:52:34] why cant I access this? https://en.wikipedia.org/wiki/User:Shisma/common.css?action=raw&ctype=text/css [13:53:47] Shmias: you must use "ugly" urls of action=raw [13:53:48] https://en.wikipedia.org/w/index.php?title=User:Shisma/common.css&action=raw&ctype=text/css [13:54:00] s/of/for/ [13:54:15] thx [13:54:36] it's a security measure [13:54:51] or is there a standard way to make wikipedias layout fixed in width? [14:48:30] hello. any quick ways of showing a floating window in MW showing text of another article? [14:51:31] gleki: popups/hovercards [14:52:20] https://www.mediawiki.org/wiki/Extension:Popups [15:11:08] OMG horrible "Keep me logged in" checkbox as big as a cathedral [15:11:26] haha [15:11:51] Is there a way to change the simple search box on Vector to search more than just the main namespace? [15:13:31] Rosencrantz: for you or for others? [15:13:55] In general for others, but I'll take what I can get at this point. [15:14:50] I traced it down to some javascript that's sending off a request to the API, I just haven't figured out where that javascript actually *is* [15:15:02] https://www.mediawiki.org/wiki/Manual:$wgNamespacesToBeSearchedDefault [15:15:36] I'm pretty sure I've got that set correctly, but let me go double check..... [15:25:14] Whaaaaat? [15:26:14] Nemo_bis: This is weird. That's being set by a file loaded in my localsettings, but in my debugger in my search hook, it's *not* set. [15:29:07] wrong order of inclusion? [15:29:46] bleh, thing-that-can't-be-named hides "unwatch" links hoping for one continue following it [15:30:06] ugh, worse than that [15:30:19] wrong order? I'm not sure I follow. [15:31:13] Unless there's something that set it to Null after my localsettings set it [15:31:19] Which would be…. wierd... [15:32:34] oh wait a sec [15:39:02] Nevermind about it not showing up in the hook. That's just a scope thing. Whoops [15:39:03] anyway [15:40:55] I tracked it down to mediawiki.searchSuggest [15:41:33] That's sending the request to the API with *only* the main namespace. I just don't know where that is [15:48:59] Nemo_bis: I found it. resources/src/mediawiki/mediawiki.searchSuggest.js line 131 [15:49:09] err 130 [15:51:43] Are you talking of search or autocompletion? [15:52:23] if the latter, there's a fresh extension just for you https://www.mediawiki.org/wiki/Extension:MixedNamespaceSearchSuggestions [15:52:48] Hmmmmmmmm [15:53:09] I guess it sort of is the autocompletion [15:59:50] Hi all. Is there a recommended endpoint to use for Varnish Health checks? [16:00:07] HEAD /w/api.php is too noisy [16:00:16] HEAD /wiki/Main_Page is too heavy [16:03:44] renoirb: You're just looking for something with not very many headers? [16:03:58] Maybe an image? [16:04:09] renoirb, what about HEAD /? [16:04:18] Looking at something that can do basic MW operations that would require DB and Cache access. [16:04:43] actually I have no idea if that would be useful to test varnish [16:04:53] Right, that’s what i'm pondering about :) [16:05:19] I thought of using /w/api.php?action=query&meta=siteinfo&siprop=statistics [16:05:21] But it floods the logs [16:06:02] But clear benefits, it should not use the parser functions; less memory usage [16:06:40] renoirb: https://en.wikipedia.org/w/api.php?action=query&list=betafeatures&bfcounts=&format=json touches the database and cache; not sure about other stuff [16:06:52] But it's an extension, so [16:09:55] mark, maybe I should check to improve my EventLog system to ignore when a specific made up parameter exist, and make the health check use it [16:09:56] marktraceur, maybe I should check to improve my EventLog system to ignore when a specific made up parameter exist, and make the health check use it [16:09:57] sorry mark [16:10:03] Heh. [16:10:21] My current event logger configuration is from practices from two years ago, I should refactor to use logstash et al. [16:10:23] Anyway, that sounds like a good plan [16:10:33] thanks for the advice marktraceur, ill use your endpoint! [16:10:48] Woohoo. [16:11:35] bd808|DEPLOY suggested /w/load.php as in https://github.com/wikimedia/operations-puppet/blob/production/modules/varnish/templates/vcl/wikimedia.vcl.erb [16:11:41] ill keep this in mind. [16:12:02] there’s also /check but I dont see core code exposing it [16:15:20] Hi, the new search engine doesn't found all occurrences of a exat word in the pages, example: https://fr.wiktionary.org/w/index.php?title=Spécial%3ARecherche&profile=advanced&search="getTextContent"~0&fulltext=Search&ns8=1 whereas https://fr.wiktionary.org/wiki/MediaWiki:Gadget-LiveRC.js contains this word. Is it a bug? [16:15:26] find* [16:16:34] Automatik did you check whether that page triggered a hook to update that particular page [16:16:43] hook to update the search index that is [16:16:56] Automatik: it depends on the definition of "word" [16:17:15] O.O [16:17:20] if you define word as something separated by spaces, for instance, "getTextContent" is not contained on that page [16:18:12] Nemo_bis: That extension worked, thanks! (Even on 1.23 somehow…) [16:18:22] Rosencrantz: don't thank me, thank Nikerabbit [16:18:58] Automatik: maybe "aggressive splitting" would work, but that's decided based on natural language, not code [16:19:45] * renoirb is looking through puppet operations. Where do you guys use Apache Archiva and Apache Kafka? [16:20:15] renoirb: https://www.mediawiki.org/w/index.php?title=Special%3ASearch&search=kafka&go=Vai [16:20:41] oh, thx Nemo_bis ! [16:28:37] Nemo_bis, you speak portugese? (seen &go=Vai) [16:31:14] that's italian [16:39:23] Yo falo portugues brazileiro [17:20:26] re renoirb, I didn't understand your question, sorry (I just used the search engine normally) [17:21:22] re Nemo_bis and thanks for your answer, actually I just want to match the string "getContentText" in all the MediaWiki namespace. It is not possible? [17:24:40] sorry, my answer was less helpful that it could have been [17:25:20] I think this is supposed to do that, but it's taking a while to load... [17:26:07] in the meanwhile, Automatik, https://fr.wiktionary.org/w/index.php?title=Sp%C3%A9cial%3ARecherche&profile=all&search=%2FgetTextContent%2F&fulltext=Search&searchengineselect=mediawiki is quite ugly; did you think of asking the interproject search enabled on the wiki? [17:26:44] (you can test it on italian projects) [17:26:50] gotta go; https://www.mediawiki.org/wiki/Help:CirrusSearch#insource: is the trick [17:46:22] https://fr.wiktionary.org/w/index.php?title=Sp%C3%A9cial%3ARecherche&profile=all&search=%2FgetTextContent%2F&fulltext=Search&searchengineselect=mediawiki doesn't find [[MediaWiki:Gadget-LiveRC.js]] and insource:/getContentText/ neither [17:46:43] *getTextContent" [18:38:41] anomie: did you see my last message in that gerrit patch? [18:38:53] would you prefer "FlagNewMessagesAsRead" action more? [19:27:58] does the wikibot.pl script for rc feeding need to be in the wiki directory? [20:03:55] * c crickets [20:13:00] c: your username makes your messages really not stand out in my client [20:13:12] c: What is this script you're talking about? I don't think it's part of MediaWiki [20:14:56] Krenair: http://m.mediawiki.org/wiki/Manual:MediaWiki-Recent_Changes-IRCBot [20:37:10] c: Probably not... [20:40:13] krenair: probably not what [20:40:24] does the wikibot.pl script for rc feeding need to be in the wiki directory? [20:40:26] c: Probably not... [20:42:32] Krenair: well the bot joins the irc channel just fine but doesnt report from wiki. and the page doesnt say where to place the script [20:43:30] Did you perform the changes to your mediawiki settings? [20:45:07] Kremair: of course, in LocalSettings.php [20:48:52] c, what version of MediaWiki are you running? [20:52:19] Krenair: 1.20 [20:54:01] c, ah. The config on that page assumes you have 1.22 or better [20:54:20] Additionally, 1.20 has not been supported since November [20:54:26] https://www.mediawiki.org/wiki/Version_lifecycle [20:54:48] Krenair: yes, upgrade has been delayed due to a custom skin conflict. what on the page suggests 1.22+ [20:58:00] c, $wgRCFeeds was introduced in a patch that got merged exactly a year ago today [20:59:56] https://gerrit.wikimedia.org/r/#/c/52922/ [21:00:05] And the doc page says 1.22 - https://www.mediawiki.org/wiki/Manual:$wgRCFeeds [21:06:43] aha [21:06:57] wonder if theres an older version until we upgrade [21:17:34] hi [21:18:04] when backing up a mediawiki directory and deploying it again it seems to hardcode the previous directory is there a way to fix this? [21:18:37] biberao2: What do you mean by "hardcode"? [21:19:02] like its a /home/something and i have a new /home/other [21:19:12] it still has /home/something from the previous install [21:20:20] understand what i mean? [21:23:35] ideas marktraceurWMF ? [21:27:29] biberao2: Have you looked at your localsettings and apache config? [21:27:48] yes [21:27:54] nothing like that there [21:27:56] Hm. [21:27:57] it seems to be a mediawiki bug [21:28:18] https://bugzilla.wikimedia.org/show_bug.cgi?id=35472 [21:28:28] biberao2: Ah. [21:28:57] biberao2: Maybe manually clear the cache? [21:29:14] "For now I recommended JasonJarde to manually DELETE all contents of the module_deps table and that fixes the problem." [22:16:24] [26-Aug-2014 21:31:51 UTC] PHP Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in MagicWord.php [22:16:27] ideas please? [22:17:11] using 1.22.9 [22:20:00] biberao2, which PCRE version? [22:20:10] 8.34? [22:20:45] sounds like https://bugzilla.wikimedia.org/show_bug.cgi?id=58640 but should be fixed in 1.22.9. Hmm, hmm. [22:22:34] andre__: maybe thats it [22:22:42] i need to check pcre version [22:22:45] but should be fixed [22:22:52] Is there documentation on how user rights are inherited? [22:23:41] on that version i mean [22:24:16] what if i upgrade to 1.22.3? [22:24:19] 1.23 [22:24:21] i mean [22:28:41] whats the best way to upgrade frm 1.22 to 1.23? [22:30:17] please? [22:30:54] !upgrading [22:30:54] http://www.mediawiki.org/wiki/Manual:Upgrading [22:31:28] https://www.mediawiki.org/wiki/Upgrading [22:31:35] marktraceurWMF: thats not an answer [22:31:39] :D [22:32:57] that's not a question either [22:32:58] what do you mean by "best" way? [22:32:59] have you read that manual page? [22:33:00] are you having problems with anything in particular? [22:34:35] MatmaRex: the problem is making it all work from 1.22.9 to 1.23