[00:03:34] hellekin: It's mostly because of OS/2 [00:03:51] Which is a legitimate name for a Wikipedia article, and also not a subpage of anything [00:04:15] 03(mod) Cannot delete tags anymore - 10https://bugzilla.wikimedia.org/45597 +upstream; +comment (10Chad H.) [00:04:17] RoanKattouw: LOL, that's the best answer I could expect :] [00:04:23] 03(NEW) adding "notify translators" link to translate extension - 10https://bugzilla.wikimedia.org/49326 enhancement; MediaWiki extensions: Translate; () [00:04:29] 03(mod) For git server, rewrite http urls to https - 10https://bugzilla.wikimedia.org/49305 +comment (10billinghurst) [00:05:38] 03(mod) For git server, rewrite http urls to https - 10https://bugzilla.wikimedia.org/49305 +comment (10innocentkiller) [00:05:44] mangler: Like where the contents of MediaWiki:Sitenotice is displayed? [00:05:51] Chad: not sure what is the issue then [00:06:20] mangler: Try SiteNoticeAfter or SiteNoticeBefore [00:07:11] bawolff: Yes. that would be almost exactly where I need it. I'm trying to extend AdManager and it's only using the sidebar right now, but I have a requirement to put in a banner add [00:07:50] RoanKattouw: thank you for your explanation. Do you know whether %2F would then be interpreted as / (subpage separator) then? [00:08:05] I think so [00:08:16] But the treatment of %2F is generally black magic and depends on your webserver [00:08:31] However, note that '/' being a subpage separator is a MediaWiki title thing, not a URL thing [00:08:40] So URL-encoding won't really get you around it [00:08:48] arf. The joys of the web [00:08:58] when do we make it a science? ;o) [00:09:00] If for some reason you're creating a page with '%2F' in the title, then that won't be a subpage separator (and will show up in the URL as %252F) [00:09:23] Is that even valid? [00:09:32] It should be, I think [00:09:49] %252F is valid, it just looks broken because 90+% of the time you see it it's because someone screwed up [00:09:50] moment of truth, /me tests [00:10:02] "The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters that cannot be used in titles. " [00:10:02] great. Thank you very much for the headstart RoanKattouw [00:10:06] bawolff: Hmm although I'm not sure that % is allowed in page titles, that would be good to test [00:10:07] so doesn't work [00:10:10] Meh OK [00:10:17] So you can't have % in page titles, sorry [00:10:25] and bawolff thank you for testing :] [00:10:30] I think % is allowed, provided it doesn't look like you are url escaping something [00:10:33] Klaas: ping [00:11:07] Cat%25Dog is valid in my test [00:11:10] 03(mod) Have a different link for page patrol and revision patrol - 10https://bugzilla.wikimedia.org/49115 +comment (10krinklemail) [00:11:25] I guess the way around would be to use a unicode character in the private space to display / that is not a slash. [00:12:37] 03(mod) Have a different link for page patrol and revision patrol - 10https://bugzilla.wikimedia.org/49115 +comment (10bawolff+wn) [00:14:06] bawolff: thanks for the help. that SiteNoticeAfter should work perfectly. I will return later if I have more hook questions [00:14:28] mangler: cool. Good luck with your extension [00:14:47] /w/Test/SubTest%2FSubSubTest gives me 404 [00:14:59] hellekin: I'm sure unicode has look alike character. Fractional slash or something [00:15:21] I just committed a change to unit tests that used fractional slash character in a class name [00:15:38] +1 [00:15:42] @_@ [00:16:12] DanielFriesen: I swear it makes sense in context :P [00:16:19] lol [00:16:50] Btw, for the rewrite obsessed mind. Fixing our system to use real subpages would be another option. [00:17:07] Could even add support for non-nested subpages. [00:17:34] wikivoyage has a hack that semi does that i believe [00:17:56] DanielFriesen: non-nested subpage? Do you mean... A page? [00:17:57] Either a page_parentpage(ref) or a page_parentnamespace(int) and page_parenttitle(string) [00:18:28] hellekin: I mean being able to assocate [[Bar]] as a subpage to [[Foo]] instead of only allowing [[Foo/Bar]] to be a subpage of [[Foo]]. [00:18:45] meh, I imagine use case for that sort of thing is rather low [00:18:59] The / based subpages would go out the window besides a bit of back compat. Existing subpages would be grandfathered in. And there would be a new UI. [00:19:04] Perhaps. [00:19:24] 03(mod) [Regression] Special:Log/patrol doesn't show "(automatic)" for autopatrols anymore - 10https://bugzilla.wikimedia.org/35565 +comment (10krinklemail) [00:19:53] But you don't have to turn that part on. It uses the same base code as we'd use to drop the / semantics while allowing Foo/Bar to be a subpage of Foo. [00:20:13] I think a stricture for sub-categories would be more useful. [00:20:39] A stricture? [00:21:08] * bawolff learns a new word [00:21:09] 03(mod) For git server, rewrite http urls to https - 10https://bugzilla.wikimedia.org/49305 +comment (10billinghurst) [00:21:13] The point of all this being that you can have both a [[Foo/Bar]] that IS a subpage of Foo (because it has a page_parent*) and a [[A/B]] that IS NOT a subpage of A (because it has no page_parent*) [00:21:26] hehe, wiktionary ftw. [00:21:44] ;) then we can just get rid of this ridiculous disabling of subpages in specific namespaces. [00:22:17] or the simpler approach - new magic word __NOTASUBPAGE__ [00:22:39] Mm, can you do circles then, DanielFriesen? [00:23:50] Magic word would be less flexible and isn't very backwards compatible. [00:24:18] ;) it's also ugly and not forwards compatible with things like VisualEditor [00:24:21] bawolff: in something like File: ns, why would we want subpages? [00:24:51] sDrewth: moot point, you can't have a / in filenames anyways so it doesn't matter if it's on or off. [00:24:56] sDrewth: variants of an image? [00:25:05] sDrewth: In order to conflict with using the subpage as what page number the pdf is :P [00:25:20] hehe [00:25:43] I've actually thought it would be interesting to use subpages as source files or dependant files [00:25:54] upload a png, and then upload the xcf as a subpage [00:25:55] *meta* data. [00:26:16] or a pov ray source file on the subpage, etc [00:26:16] I know that it is used for djvu files in WS. ThomasV initially had page ns: disabled for subpages, adn they were strings, when the last change was made from 100 to 111, fortunately it didn't break things [00:27:54] Amgine: I do love me my metadata [00:29:07] Me too, but I'm also aware that playing with/supporting metadata can (often does) replace the primary goal of software projects. [00:31:04] The other day, I was contemplating the idea of a parser function that returned meta information about the metadata for a file (metametadata) [00:31:17] I have since decided that was a stupid idea :P [00:31:45] I do think MediaWiki should do a better job of metadata stuff [00:31:49] Thank you. [00:32:06] As a bare minimum, should be able to retrieve file metadata from wikitext [00:32:15] DanielFriesen: in Dokuwiki, namespaces are separated by : and when you use [[namespace:page]] the link only shows 'page' [00:32:32] and should be able to edit a file's metadata (the very common fields anyways) inside the wiki [00:32:33] Of course it should. But doing the metadata better should not detract from the primary mission (however you want to describe that.) [00:33:32] I'm defining the primary mission as "to create a database of freely usable media files to which anyone can contribute" [00:33:55] [00:34:23] They only have 17,246,898 files so far. Not big enough [00:34:26] 03(mod) Bug in showing Arabic scripts content - 10https://bugzilla.wikimedia.org/49113 +comment (10Florence) [00:34:28] Also some of them aren't free ;) [00:34:31] Size queen. [00:35:09] 03(mod) Bug in showing Arabic scripts content - 10https://bugzilla.wikimedia.org/49113 +comment (10dramir2wiki) [00:35:41] that is a *lot* of media... just sayin'. [00:36:15] All the media [00:36:33] except maybe not more penis images, I'm told they already have enough [00:39:28] and perhaps a couple more videos. Watching today's video of the day - it aint exactly going to win an oscar [00:51:37] 03(mod) Install Extension:Widget to English Wikivoyage - 10https://bugzilla.wikimedia.org/47400 +comment (10singaporemaps) [00:51:53] 03(mod) For git server, rewrite http urls to https - 10https://bugzilla.wikimedia.org/49305 +comment (10innocentkiller) [00:54:03] 03(mod) Install Extension:Widget to English Wikivoyage - 10https://bugzilla.wikimedia.org/47400 +comment (10sam) [01:05:51] 03(mod) [Regression] Special:Log/patrol doesn't show "(automatic)" for autopatrols anymore - 10https://bugzilla.wikimedia.org/35565 +comment (10robinhood70) [01:06:40] 03(mod) Install Extension:Widget to English Wikivoyage - 10https://bugzilla.wikimedia.org/47400 +comment (10Bawolff (Brian Wolff)) [01:08:41] Which is the current best-practice for object caching? APC, Xcache? [01:09:16] 03(NEW) overlapping text after moderation on permalink-page of feedback - 10https://bugzilla.wikimedia.org/49327 trivial; MediaWiki extensions: ArticleFeedbackv5; () [01:13:04] ResourceLoader question: in my extension's javascript, can I _rely_ upon having useAjax already loaded by default by the ResourceLoader? It appears so, but I don't know where I find a list of loaded-by default variables. [01:17:08] * RoanKattouw wonders where useAjax comes from [01:17:08] * RoanKattouw greps [01:17:33] I can't find the string "useAjax" in core [01:17:42] Wikinaut: What is useAjax and where does it come from? [01:17:54] Amgine: memcached for object caching, APC for PHP bytecode caching [01:18:30] Thanks RoanKattouw [01:19:22] coming from wgUseAjax from DefaultSettings ??? This is, what I suppose [01:19:29] 03(mod) VisualEditor: Move back to "normal" Save dialog with optional rather than mandatory Review - 10https://bugzilla.wikimedia.org/49258 +comment (10James Forrester) [01:19:38] /** [01:19:40] * Enable AJAX framework [01:19:42] */ [01:19:44] $wgUseAjax = true; [01:20:08] Wikinaut: afaik ResourceLoader will inititalise regardless of wgUseAjax [01:20:19] Oh that, hmm [01:20:27] however having said that I think it is a silly variable that should be removed. it doesn't make sense anymore. [01:20:53] Wikinaut: What are you thinking of using it for? [01:21:24] Wikinaut: Unless you need to interact with something else that currently loads only if wgUseAjax, you can write your own code regardless of wgUseAjax. [01:21:32] extension/AJAXPoll/ajaxpoll.js detects that and then uses AJAX or REST response [01:21:37] e.g. ext.foo.ajaxwhateveryouwant doesn't need to check wgUseAjax if you don't want to. [01:22:01] Wikinaut: How does it detect that currently? [01:22:36] see http://dpaste.com/1218507/ [01:22:39] Also I noticed your original question includes "having useAjax already loaded". I'm not sure what you mean. useAjax isn't a library it is a boolean configuration. [01:22:45] you can't "load" useAjax or something [01:23:07] Wikinaut: Where is that variable useAjax set? It looks like a local variable [01:23:56] Wikinaut: $ret = ' [01:23:59] one moment, I am testing with mungling the variables names and looking if the change appears in the RL-loaded JS [01:24:07] Krinkle: of course [01:24:07] It is set by AJAXPoll itself, it is not from MediaWiki [01:24:18] I am currently changing that to use the RL method [01:24:30] Krinkle: OK [01:24:40] your are correct, [01:24:53] (solved) [01:25:17] If you don't want to change the logic but just refactor to use RL, I'd recommend you change that to do $outputPage->addJsConfig( 'wgAjaxPoll', array( 'useAjax' ... [01:25:36] then use if ( mw.config.get( 'wgAjaxPoll' ).useAjax ) in JS [01:26:41] actually, it looks like it is a non-issue. The reason AJAXPoll has that condition is because it uses sajax_do_call [01:27:13] Assuming you will get rid of that in favour of $.ajax you no longer need that condition because jQuery is loaded always (whereas sajax_do_call (legacy.ajax.js) is only loaded if wgUseAjax is true) [01:27:25] * Krinkle let's you do it :) [01:28:07] Krinkle:two questions: i) do we care of loading such extension-specific javascript-variables on _all_ pages ? [01:28:24] ii) do you mean, I could "drop" the non-ajax part ? [01:28:28] yes [01:29:45] 03(NEW) Create Wikipedia Tuvan - 10https://bugzilla.wikimedia.org/49328 enhancement; Wikimedia: Language setup; () [01:29:47] 03(mod) Wikis waiting for creation (tracking) - 10https://bugzilla.wikimedia.org/16976 (10MF-Warburg) [01:30:21] Krinkle: yes for i), ii) or both) ? [01:30:31] I already answered both before you asked [01:32:00] Krinkle: what you said above should be documented as example in the RL manual page/s [01:32:03] Assuming you will get rid of that [sajax_do_call] in favour of $.ajax, you no longer need that condition [if(useAjax)] because jQuery is always loaded (whereas sajax_do_call (from legacy.ajax.js) is only loaded if wgUseAjax is true) [01:32:04] above = If you don't want to change the logic but just refactor to use RL, I'd recommend you change that to do $outputPage->addJsConfig( 'wgAjaxPoll', array( 'useAjax' . [01:32:18] Krinkle: I do understand now, ty [01:33:46] 03(mod) VisualEditor: Toolbar button text doesn't line up vertically - 10https://bugzilla.wikimedia.org/49249 (10James Forrester) [01:33:58] Wikinaut: I added that to the docs earlier today [01:34:25] 03(mod) VisualEditor: [Regression] Arrow keying around multibyte unicode characters fails after an inline node - 10https://bugzilla.wikimedia.org/49246 (10James Forrester) [01:34:50] https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_developers#Configuration_variables [01:34:52] bawolff: uh, apparently, I did not (yet!) have that page/s in my watchlist, because I didn't yet made a change there... will check rc [01:34:57] uh ^very quick [01:34:59] tsy [01:35:01] ty [01:35:07] bawol [01:35:25] Krinkle should probably double check it, since I'm not a resource loader expert, but i essentially said the same thing he just said [01:35:48] bawolff: bravo. that was, what I yesterday suggested to you, wasn't it ? [01:36:04] Krinkle: bawolff: and it will be good to have examples there [01:36:15] yes [01:36:24] for both cases: global, and per-page loaded variables [01:42:35] hmm, is there an easy way to count how many numeric indexes there are in a php array if the array has both associative and non-associative indexes? [01:43:47] repetez, s'il vout plait, en anglaise? [01:44:38] * bawolff blames the canadian public school system, but me no speaky french [01:44:56] The extent of my french knowledge is that I understand that sentence :P [01:45:22] * bawolff is just going to do isset checks until I come to an element that isn't set [01:45:53] repeat please in english [01:45:54] ;) [01:46:05] [01:46:29] Reedy: in ye-olde-english? [01:46:40] 03(mod) Revision::fetchFromConds SELECT ... FOR UPDATE invalid in Postgres - 10https://bugzilla.wikimedia.org/47055 +comment (10fred) [01:46:49] SPEAK ENGLISH GODDAMNIT [01:47:07] Cool man, I'm down wi' dat. [01:49:42] 03(mod) Create a VisualEditor plugin tool to add/edit maths blocks - 10https://bugzilla.wikimedia.org/43058 +comment (10mybugs.mail) [01:49:47] Krinkle: I tried to add $wgOut->addJsConfig( 'wgAjaxPoll', array( 'useAjax' => $wgUseAjax ) ); in static function AJAXPollRender() but does not work [01:50:17] mmm, i tried installing luasandbox, and mostly succeeded... but half the time, if i try the debug console, i get "Error sending API request: Bad Gateway" [01:51:01] krinkle: https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FAJAXPoll/d5804f11347b2168021857cae1b67134009dde94/AJAXPoll_body.php [01:51:28] ^ link to the AJAXPollRender() fucntion as such [01:51:35] i.e. without my patch [01:51:49] Wikinaut: I know why it doesn't work from there, but before we get on a tangent, you don't need to mess with anything of "useAjax" [01:51:56] You said you understood it now ;-) [01:52:01] Let me clarify again [01:53:00] the reason AJAXPoll has this "useAjax" in the current non-RL code is because the js uses sajax_do_call (a legacy function from mediawiki.legacy.ajax, skins/common/ajax.js). Those legacy functions are only loaded by MediaWiki core if wgUseAjax=true is set; [01:53:25] Krinkle: because you wrote above "If you don't want to change the logic but just refactor to use RL, I'd recommend you change that to do $outputPage->addJsConfig( 'wgAjaxPoll', array( 'useAjax'" [01:53:29] Therefor AJAXPoll had to check for it because if it wouldn't it fail on sajax_do_call() because that function won't exist if wgUseAjax=false by the local wiki [01:53:43] Wikinaut: Yes and then I said "actually, no need for any of that because ... " [01:54:22] But since sajax_do_call is old and you should get rid of that in favour of $.ajax, there is no need for the useAjax check because jQuery (which provides $.ajax) is loaded always and cannot be disabled. [01:54:43] first, i wanted to make the quick fix by adding $outputPage->addJsConfig( 'wgAjaxPoll', array( 'useAjax' [01:55:02] later, to get rid of sajax_... [01:55:20] If you get rid of sajax_ first, you won't need to migrate useAjax [01:55:40] they don't depend on each other, one makes the other obsolete. two for one, win-win :) [01:55:42] ok, then pls. can you tell me, how to recode the sajax... in ajaxpoll.js [01:55:56] Reedy, I branched to origin/REL1_21, the install screen reported MW 1.22Alpha. I'm assuming this means I really *didn't* successfully branch? [01:55:57] delete sajax_* calls, introduce $.ajax in their place. [01:56:21] Wikinaut: Also, what you should probably do before sajax_ and useAjax is get rid of index=ajax and turn that into an api.php module [01:56:32] uh, no [01:56:32] Because that is the lowest level problem of that extension [01:56:38] Amgine: Most likely not [01:56:44] too much at once [01:56:58] too much changes at once [01:57:01] Wikinaut: Not all at once, one thing at a time [01:57:10] currently I am working onthe Html-class change [01:57:13] see .. [01:57:18] Wikinaut: What I mean is I recommend you do that first otherwise you'll be doing double work, migrating things only to get rid of then the next commit. [01:57:21] https://gerrit.wikimedia.org/r/#/c/67002/ [01:57:40] I thought you were working on migrating to ResourceLoader [01:57:41] ^first priority work [01:57:58] [01:58:00] for this, i only need (please help me) the o $outputPage->addJsConfig( [01:58:32] hook AJAXPollRender returns the HTML [01:58:44] Wikinaut: Why? If you're only looking to get rid of raw html, just stick to » » » » array(), 353 [02:00:24] that is in the commit [02:00:37] but bawolff recommended to better use the resource loader [02:01:02] Just to clarify, I meant its better to do that as a separate issue. You don [02:01:08] 't need to do both at once [02:01:11] ok, then I will work on the present solution as in https://gerrit.wikimedia.org/r/#/c/67002/17/AJAXPoll_body.php [02:01:23] You can fix the raw html stuff first, and do the other stuff later [02:01:36] Wikinaut: yes, bawolff recommended right, but that doesn't have to be in the same commit. [02:02:04] * bawolff apologizes if I gave the wrong impression of you needed to do RL stuff in that commit [02:02:36] My -1 on that commit was basically just for the $wgContentLang->normalise thing [02:02:40] It is best done later because that "other" thing (using ResourceLoader) depends on 3 other things that need to be fixed first. that's (among other reason) why the simple $out->addJsConfig didn't work. [02:04:53] bawolff: and the $wgTitle issue, I don't know, what you guided me away from my (working) $wgTitle-> version to $wgParser-> [02:05:30] no, don't use $wgParser->getTitle(), that won't work in some contexts [02:05:49] you told me that before [02:06:18] Just if you're from a parser hook, you should be using the getTitle() method of the parser object being passed as an argument to your parser hook [02:07:17] hte extension was using 'action' => $wgTitle->getLocalURL(), for ages [02:07:23] Wikinaut: Rule of thumb - anything that starts with $wg, that isn't a static config variable you would set in LocalSettings.php, is probably not the currently recomended approach [02:07:26] can I switch back to that [02:08:06] If its between that and something that doesn't work, obviously you can go with the one that works :) [02:08:55] $wgTitle, for reference, has been effectively deprecated since 1.18 [02:09:28] what shall I use ? as you know, this part is also called via ajax [02:10:39] meh, from ajax you might have to use $wgTitle, I'm not sure if there is another option there [02:13:58] 03(mod) Create a VisualEditor plugin tool to add/edit maths blocks - 10https://bugzilla.wikimedia.org/43058 +comment (10James Forrester) [02:18:15] Krinkle: bawolff: perhaps we need Html::element with a further parameter double_encode (default: true) [02:18:32] Wikinaut: Why? [02:18:38] parameter is passed to the Html-internal htmlspecialchars() [02:18:47] Krinkle: I _do_ need this [02:18:51] to avoit [02:18:51] Where [02:18:53] to avoid [02:19:00] I don't think its good practise in general to have content that needs to be escaped, but not entities [02:19:06] my local escapeContent [02:19:30] bawolff: he, I do have   characters in my $content [02:19:50] yes, but I'm not clear on the why and how? [02:19:51] and they are output escaped in _your_ version [02:20:03] bawolff: are you the maintainer, or I ? [02:20:19] it was my question of the week [02:20:21] Wikinaut: Where do those characters come from? Why are they there? Is this text or html input? [02:20:36] database? message? user form? [02:20:40] inside ... [02:20:48] user input [02:21:03] Can it contain wikitext? [02:21:06] no [02:21:12] Can it contain html? [02:21:21] wikitext: I wanted to add this later, perhaps [02:22:04] * bawolff thinks proper solution is to allow it to be wikitext, and then escaping but not entities is a non-issue [02:23:44] Wikinaut: Why not stick with strip_tags for now? It looks like any solution (including the new non-standard escapeContent you created) has side-effects that change the behaviour of the extension [02:26:34] to answer your questiion above (html?) [02:26:35] $input = trim( strip_tags( $input->getText() ) ); [02:27:09] $input lines between tgas is later added to the database [02:27:18] shoiuld be using Sanitizer class [02:27:56] Krinkle: bawolff but current patchset, can you +1 with that ? [02:28:11] https://gerrit.wikimedia.org/r/#/c/67002/ [02:28:12] Wikinaut: Assuming this is still the commit 'code cosmetics', try to avoid changing the behaviour in any way as that wouldn't be merely cosmetic clean up [02:28:30] ? [02:28:44] I am not changing behaviour of the code [02:28:55] I mean, don't change to Sanitizer or htmlspecialchars instead of strip_tags since that does change things. [02:29:06] yes, correct [02:29:18] that is, why I now want to merge the present PS [02:29:23] if you _can_ agree [02:29:29] at least for 99,99% [02:29:34] or 99% [02:29:37] I've pointed out the issues in gerrit [02:29:43] new ones ? [02:29:51] I already commented your one [02:30:00] quarter of an hour ago [02:30:04] I suggest we move to #wikimedia-dev so you see the notifications without refreshing the browser :) [02:34:55] Wikinaut: You don't need $double_encode to permit character entities in text. [02:35:19] set to false, that is exactly my point! [02:35:30] but Html::element doesn't do this [02:35:35] No, you don't need the ability to set that. [02:35:40] it_double_encodes" [02:35:50] I have to set to false, basta [02:36:07] otherwise the blanks comes as escaped in the rendered page [02:36:31] Wikinaut: Pass text you want to support character entities in through Sanitizer::decodeCharReferences before escaping. [02:36:35] "something ?" [02:36:41] instead of [02:36:45] "something ?" [02:36:52] this is only one example^ [02:37:35] difference between Html::element(..., content )and Htlm::rawElement(..., content) [02:37:48] Sanitizer::decodeCharReferences [02:37:50] of course, rawElement is to be avoided [02:38:11] DanielFriesen: let's try that... [02:39:24] yep. seems to be working [02:40:09] That's how Linker's comment formatting works. [02:40:53] It decodes character references to actual characters before html escaping. [02:41:48] DanielFriesen: it was a long way to that. I asked around, the first answer was use htmlspecialchars .... [02:41:48] ;) and as a bonus your output gets smaller and normalized so things can be gzipped easier. [02:41:53] new ps [02:43:50] * DanielFriesen wonders if he should start an RFC on moving wmf branches out of mediawiki/core [02:44:12] <^demon> Not an awful idea. Would help keep repo size down. [02:44:15] I am now on #wikimedia-dev [02:44:19] bye here [02:44:43] ^demon: it would also make looking at the repo easier. [02:44:52] DanielFriesen: after you have done the mw release proposal? [02:45:33] No no... someone else can do that on, ;) I have a mw chapter proposal to do instead. [02:45:43] <^demon> DanielFriesen: What we could basically do is mirror core, and only put wmf branches on the mirror one. [02:45:51] Yeah that's the idea [02:46:03] 03(NEW) Package installation request: libcache-memcached-fast-perl - 10https://bugzilla.wikimedia.org/49329 normal; Wikimedia Labs: tools; () [02:46:11] DanielFriesen: wouldn't the releases fall under the chapter though? [02:46:12] wmf branches in core are really a svn holdover [02:46:45] p858snake|l: Only if someone doing releases wants to be hired by the chapter. [02:47:30] The chapter plans are people focused not project focused. [02:48:04] The chapters projects are influenced by what types of people join. Not the other way around. [02:48:16] +' [02:48:21] DanielFriesen: We could also get rid of wmf branches and create tags locally on the deployment host in wmf pointing at master commits. [02:48:37] Wanna change something? Commit to master :P [02:48:40] <^demon> That'd make it harder to cherry pick and keep an eye on what's deployed. [02:49:34] <^demon> I'm fine with scaling back wmf branches, but let's not do something harder :) [02:49:49] wmf/a and wmf/b ? [02:50:06] ^demon: Oh, BTW, I had a question yesterday. [02:50:09] <^demon> Could. [02:50:12] We should also get rid of the silly "wmf live hack" that gets cherry picked for almost a year now [02:50:27] I highly doubt it is that wmf specific. Deal with it. [02:50:32] ^demon: Is it OK to kill REL1_19/etc. branches of VisualEditor (they don't mean anything - we're still in alpha), or will that break things. [02:50:56] James_F: Breaks ExtensionDistributor [02:51:05] Krinkle: I was going to leave master. :-) [02:51:07] <^demon> Nope, you can kill them if you don't need them. ExtensionDistributor checks for existence before displaying. [02:51:14] <^demon> Only one that has to exist is master. [02:51:15] Krinkle: If you drop the incremental notion of wmf branches something a little more git flow might be better than wmf/{a,b} [02:51:17] James_F: They're old, old versions can be unsupported. MediaWiki has old versions too. [02:51:44] Krinkle: Special:ExtensionDistributor tells people that VE REL1_20 is "stable". This is a laughable lie. [02:51:53] Krinkle: It's actively unhelpful to users. [02:51:53] Speaking of REL1_## branches. The naming pattern for those is a svn holdover I wish we could change too. [02:51:55] DanielFriesen: I assume git-flow is not opaque? Where does it keep track of which is which? [02:52:22] Anyway. {{Done}}. [02:52:26] <^demon> DanielFriesen: Nobody has to use those anymore. I just kept them for consistency at conversion time. If you've got any alternatives feel free to RFC. [02:52:41] ^demon: Oh no, I mean the ones in mediawiki/core. [02:52:47] The specific naming pattern. [02:53:05] <^demon> Again, we can pick a new name going forward if anyone wants. [02:53:09] <^demon> I don't rightly care. [02:53:10] The REL1_21 pattern comes from svn. [02:53:20] I'd really like release/1.21 [02:53:37] * bawolff hates change. Long live REL1_21 [02:53:37] Branches are first-class in git. [02:53:47] and svn had no problem with / either [02:53:49] <^demon> I wouldn't mind changing how we do releases. [02:53:54] I assumed those came from cvs [02:53:55] maybe release/1.21.x to indicate it is the working-copy of the release in general [02:54:03] rolling [02:54:05] James_F: 1.19 is on LTS support iirc, but if VE supports it is another question [02:54:10] <^demon> When we're working on a release, we should really commit directly to the stable branch, then merge to master. [02:54:22] <^demon> p858snake|l: For whatever LTS is supposed to mean. [02:54:33] And some git UIs have really nice ways to view properly named branches. [02:54:45] 03(mod) New extension: EXIF parser functions - 10https://bugzilla.wikimedia.org/41498 +comment (10bawolff+wn) [02:54:46] long term support or something >.> its hexmode's baby ask him [02:55:48] When you use a / in git branch names you really do end up with a nice folder structure. And one UI I know of, SourceTree rightly expresses that fact by displaying foo/bar in a collapsable tree structure. [02:56:08] ^demon: LTS = Long Term Support! like Ubuntu! [02:56:11] btw, who came up with the gitblib url scheme? It is highly unusable. Aside from the unfortunate url escaping of '/' in repo names (undertandable from a generic tool point of view, most git hosts don't support / in repo names like Gerrit), aside from that it also does it to the paths of file trees. [02:56:19] In other words, no sane human will type those urls. [02:56:29] And the it redirects 404s instead of serving 404, so you can't correct a mistake [02:56:58] <^demon> I'm ok with improving url structures, everything's puppetized if someone wants to come up with rewrite rules. [02:57:05] Hence if we used release/ then release/1.21, release/1.22, etc... would be beautifully group them all together into a list of 1.21, 1.22, etc... that you could collapse out of your way when you don't need it. [02:57:07] <^demon> That's all default right now. [02:57:59] Gitblit's url scheme is strange. It looks like an unholy combination of TWO different ways of disambiguating the / in urls. [02:58:22] It urlencodes the / AND appends .git to the end of the name. [02:58:41] You only need to do one of those. [02:58:46] <^demon> Krinkle: Also, we can customize the 404 page. Could maybe do something nicer? [02:59:03] ^demon: Having it not hijack the url would be an improvement [02:59:20] I ended up with /p/mediawiki/core.git/commit/... in Gareth. [03:00:11] p858snake|l: VE might possibly support 1.19 at some point, but it will require significant backporting of MW core functionality and VE still isn't stable to consider it. [03:00:34] p858snake|l: By the time it is, we're likely to have a new LTS version. [03:01:09] <^demon> Anyway, gitblit improvements are doable...upstream guy is nice and really responsive to ideas. [03:02:02] * DanielFriesen should go shopping before he touches any more code [03:04:35] DanielFriesen: Dare I say... GitHub... [03:04:44] huh? [03:05:49] <^demon> Krinkle: Are you referring to like https://git.wikimedia.org/summary/?r=mediawiki/omg.git (substitute summary for log, tree, etc), or like https://git.wikimedia.org/omg? [03:06:16] no, though that's also od [03:06:17] odd [03:06:24] It redirects to https://git.wikimedia.org/repositories/ [03:06:36] https://git.wikimedia.org/commit/mediawiki%2Fcore.git/e7651f865d31dd620laaal3828cf509383da2ea7515c3 [03:06:39] urls like those [03:06:47] boom, url gone [03:06:53] <^demon> Ahh, gotcha. [03:07:24] I suppose outputting that entire list is also somewhat expensive, thoguh that's not my reason [03:07:52] on 404 it shows the entire overview homepage with an error stamped on top [03:08:06] <^demon> That's managed in a couple of places. [03:08:17] <^demon> But probably best, could redirect to like log or summary or somesuch at least. [03:08:21] <^demon> If the repo's at least real [03:10:17] <^demon> Hmm, error(String, bool), bool is redirect. [03:10:24] <^demon> Wonder what happens if we don't redirect. [03:11:07] ^demon: nuclear reaction? [03:11:18] <^demon> I'm gonna recompile and let's test. [03:11:26] Yay for testing in production [03:16:54] <^demon> Hrm... [03:30:12] <^demon> Krinkle|detached: I'm just gonna file a bug :p [04:04:13] 03(NEW) Jenkins doesn't run unit tests - 10https://bugzilla.wikimedia.org/49330 normal; Wikimedia: Continuous integration; () [04:30:40] 03(mod) Meta-Wiki name space request for "Programs" - 10https://bugzilla.wikimedia.org/49312 +comment (10b) [04:48:06] I should make RequestContext default to a FauxRequest instead of WebRequest [05:00:18] I wonder if we need something like User::newFromText [05:03:26] I run into this over and over. [05:03:49] "Given an ip address string, how do I get a User instance for that IP" [05:17:04] 03(mod) Package installation request: libcache-memcached-fast-perl - 10https://bugzilla.wikimedia.org/49329 +comment (10Peter Bena) [05:30:23] 03(mod) Provide a central logging service for tools - 10https://bugzilla.wikimedia.org/48846 +comment (10benapetr) [05:35:27] 03(mod) Provide a central logging service for tools - 10https://bugzilla.wikimedia.org/48846 +comment (10benapetr) [05:41:16] Susan: add emus to !b 34911 ? [05:51:05] !b 34911 [05:51:06] https://bugzilla.wikimedia.org/34911 [05:52:09] Sad one QuestyCaptcha is the strongest captcha... [05:53:08] *when [06:33:04] 03(NEW) Click on "X" and still getting sent to board elections page - 10https://bugzilla.wikimedia.org/49331 normal; MediaWiki extensions: CentralNotice; () [06:33:31] 03(mod) Click on "X" and still getting sent to board elections page - 10https://bugzilla.wikimedia.org/49331 (10Sarah Stierch) [06:34:23] 03(NEW) #property gives empty string, but property is set at item on wikidata - 10https://bugzilla.wikimedia.org/49332 normal; MediaWiki extensions: WikidataClient; () [06:35:37] 03(mod) Click on "X" and still getting sent to board elections page - 10https://bugzilla.wikimedia.org/49331 +comment (10sarahstierch) [06:45:55] 03(mod) Empty "nodes" are printed as arrays in JSON even if objects are used for them normally (= when non-empty) - 10https://bugzilla.wikimedia.org/49201 +comment (10db) [06:45:56] 03(mod) API JSON formatter returns [] as an empty return value - inconsistent with {} for non-empty values - 10https://bugzilla.wikimedia.org/10887 +comment (10db) [07:12:33] is it possible to get the size of an edit from the database? [07:13:12] rev_len is the size of the page after the edit [07:15:10] 03(mod) [New UserLogin] Convert Wikimedia-specific messages to be blank in core by default - 10https://bugzilla.wikimedia.org/47801 (10spage) [07:39:57] 03(mod) Jenkins doesn't run unit tests - 10https://bugzilla.wikimedia.org/49330 +comment (10hashar) [07:50:55] 03(mod) Down arrow missing from keyboard icon in RTL - 10https://bugzilla.wikimedia.org/49317 +comment (10niklas.laxstrom) [07:57:46] 03(mod) Jenkins doesn't run unit tests - 10https://bugzilla.wikimedia.org/49330 normal->04CRIT; +comment (10Antoine "hashar" Musso) [07:58:08] 03(mod) Automatic test runs and merging broken - 10https://bugzilla.wikimedia.org/49294 +comment (10hashar) [07:58:08] Can we PLEASE fix the spam filter on wikitech-l. [07:59:31] If the email says From: wikitech-l@lists.wikimedia.org and it's being sent To: wikitech-l@lists.wikimedia.org then it's clearly, obviously, undeniably, irrefutably, SPAM! [08:00:59] well, it could be that the list became sentient [08:01:46] ori-l: ;) then it won't need to use SMTP to send it to itself. [08:01:46] unlikely, granted. but significant enough that we'd want to know about it, if it did happen. [08:03:57] DanielFriesen: you should e-mail ops-requests@wikimedia.org -- only a small number of people have access to mailman, and that's probably the best way to get their attention. [08:04:18] 03(mod) Patrolling through API is not possible any more due to the removal of rcid - 10https://bugzilla.wikimedia.org/49259 +comment (10db) [08:37:22] Anyone about? [08:37:38] I just tried updating my local MediaWiki installation, and maintenance.php is throwing this error: [08:37:39] Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'CNDatabasePatcher' not found or invalid function name in /var/www/w/includes/Hooks.php on line 255 [08:37:39] Detected bug in an extension! Hook CNDatabasePatcher failed to return a value; should return true to continue hook processing or false to abort. [08:38:24] CentralNotice [08:39:38] 03(mod) $wgTranslateBlacklist of zh-* on metawiki - 10https://bugzilla.wikimedia.org/37338 +comment (10bencmqwiki) [08:41:57] FastLizard4: check extensions/CentralNotice/patches/CNDatabasePatcher.php [08:42:13] ori-l: Okay, one moment [08:43:11] ori-l: Found it [08:43:43] did you get CentralNotice via git or by downloading a tarball? [08:43:56] By git; like the rest of my installation, it's on the REL1_21 branch [08:44:33] Well, now it is anyway (it was previously on REL1_20) [08:46:13] Did you update before or after getting that error? [08:46:27] 03(NEW) Hidden categories displayed two times when "showhiddencats" is selected - 10https://bugzilla.wikimedia.org/49333 normal; MediaWiki: Page editing; () [08:46:28] Before [08:47:05] So everything was fine on REL1_20, only after switching to the REL1_21 branch and running update.php did I get that error [08:48:05] FastLizard4: fix: https://bugzilla.wikimedia.org/show_bug.cgi?id=46533 [08:48:39] ori-l: Oh, awesome. Thanks! :) [08:48:55] np [08:51:03] 03(mod) CentralNotice has a broken database updater - 10https://bugzilla.wikimedia.org/46533 +comment (10Ori Livneh) [09:00:22] 03(mod) Create Wikipedia Tuvan - 10https://bugzilla.wikimedia.org/49328 15enhancement->normal; +comment (10Tomasz W. Kozlowski) [09:20:11] 03(NEW) Create 'arbitrator' group on Russian Wikipedia - 10https://bugzilla.wikimedia.org/49334 normal; Wikimedia: Site requests; () [09:20:57] 03(mod) Create 'arbitrator' group on Russian Wikipedia - 10https://bugzilla.wikimedia.org/49334 (10Lev) [09:22:21] 03(mod) Provide a central logging service for tools - 10https://bugzilla.wikimedia.org/48846 +comment (10Ori Livneh) [09:22:33] ori-l: Are you still around by chance? [09:22:59] FastLizard4: nope [09:23:17] what's up? [09:23:32] Got another error for you :P [09:23:37] (If you can help) [09:23:39] PHP Catchable fatal error: Argument 1 passed to SpecialVersion::getCreditsForExtension() must be an array, string given, called in /var/www/w/includes/specials/SpecialVersion.php on line 435 and defined in /var/www/w/includes/specials/SpecialVersion.php on line 465 [09:25:16] Would this be a problem within one of my extensions? [09:26:27] FastLizard4: most likely [09:26:46] Hmm [09:27:14] Is there any easy way to localize it? [09:27:58] FastLizard4: there are various debug configuration variables you can enable to get a full traceback; do you know what they are? [09:28:26] ori-l: Actually, I don't think I do :P [09:29:10] you can also check your web server's error log (/var/log/apache2/error.log on ubuntu) [09:29:49] Aha, got it [09:29:55] but I think it's "$wgShowExceptionDetails = true; " [09:29:56] I just added an echo :P [09:30:06] Ahh, I actually have that enabled [09:30:19] But in this case it didn't give me a trace at all [09:30:34] And the culprit is w/extensions/TwoFactorAuthentication/TwoFactorAuth.php [09:30:59] I can never remember what does what. We have way too many configuration variables. [09:31:09] Can you figure it out from there, or are you not sure what to look for in that file? [09:31:17] I think I can take it from here :) [09:31:20] Thanks :) [09:31:27] for nothing, in this case, but sure :) [09:32:37] Hey, help is help, and I appreciate it nonetheless :) [09:34:19] Oh, unrelated, but gitblit is 503'ing :P [09:38:29] I think ^demon is the only one who'd know how to fix it, right now -- it's his pet project [09:38:39] 03(mod) Python requests module is out of date - 10https://bugzilla.wikimedia.org/49205 +comment (10Peter Bena) [09:40:07] Mmm [09:41:47] 03(mod) Create 'arbitrator' group on Russian Wikipedia - 10https://bugzilla.wikimedia.org/49334 normal->15enhancement; +shell (10Tomasz W. Kozlowski) [09:43:41] 03(mod) Package installation request: libcache-memcached-fast-perl - 10https://bugzilla.wikimedia.org/49329 +comment (10Peter Bena) [09:44:34] 03(mod) console doesn't show proper errors - 10https://bugzilla.wikimedia.org/45768 (10Peter Bena) [09:46:48] is it possible to get the size of an edit from the database with one request? rev_len is the size of the page after the edit and rev_parent is the previous version... [09:52:40] 03(mod) install tcl 8.6 - 10https://bugzilla.wikimedia.org/47900 +comment (10Peter Bena) [09:59:53] 03(mod) install tcl 8.6 - 10https://bugzilla.wikimedia.org/47900 (10Peter Bena) [10:00:56] 03(mod) Enable irc feed for wikitech.wikimedia.org site - 10https://bugzilla.wikimedia.org/34685 (10Peter Bena) [10:02:43] 03(mod) role::mediawiki-install::labs can't run phpunit tests - 10https://bugzilla.wikimedia.org/41797 +comment (10benapetr) [10:04:13] 03(mod) Something breaks /etc/update-motd.d - puppet fail - 10https://bugzilla.wikimedia.org/43954 +comment (10Peter Bena) [10:04:58] 03(mod) Visible br is shown in template - 10https://bugzilla.wikimedia.org/49289 +comment (10Kelson [Emmanuel Engelhart]) [10:06:56] 03(mod) Include pagecounts dumps in datasets - 10https://bugzilla.wikimedia.org/48894 normal->15enhancement; +comment (10Peter Bena) [10:08:44] 03(mod) UID ranges for LDAP and system users overlap - 10https://bugzilla.wikimedia.org/35329 +comment (10benapetr) [10:10:33] 03(mod) emails must not be delivered to wmf sysadmins mail - 10https://bugzilla.wikimedia.org/47115 +comment (10Peter Bena) [10:11:49] 03(mod) OGE: Make *.out and *.err unreadable by the public by default - 10https://bugzilla.wikimedia.org/48818 major->04CRIT; +comment (10Peter Bena) [10:13:29] 03(mod) jsub with -once doesn't work - 10https://bugzilla.wikimedia.org/48751 +comment (10Peter Bena) [10:15:01] 03(mod) Mailman-01 instance fails to complete puppetd -tv (Private Repo) - 10https://bugzilla.wikimedia.org/36459 +comment (10Peter Bena) [10:15:56] 03(mod) $HOME isn't set on webservers, causes jsub to try /$JOBNAME.out as output file - 10https://bugzilla.wikimedia.org/48726 +comment (10benapetr) [10:19:01] 03(mod) Make qacct usable - 10https://bugzilla.wikimedia.org/48696 normal->15enhancement; +comment (10Peter Bena) [10:20:01] 03(mod) Provide per-namespace sidebars (or sidebar sections) - 10https://bugzilla.wikimedia.org/40447 +comment (10Ori Livneh) [10:39:51] 03(mod) Create 'arbitrator' group on Russian Wikipedia - 10https://bugzilla.wikimedia.org/49334 +patch-in-gerrit; +comment (10Tomasz W. Kozlowski) [10:48:57] 03(NEW) wgNamespacesToBeSearchedDefault +categories for Ukraininan Wikinews - 10https://bugzilla.wikimedia.org/49335 normal; Wikimedia: Site requests; () [10:49:51] 03(mod) wgNamespacesToBeSearchedDefault +categories for Ukraininan Wikinews - 10https://bugzilla.wikimedia.org/49335 (10Bohdan) [10:50:35] 03(mod) jsub with -once doesn't work - 10https://bugzilla.wikimedia.org/48751 +comment (10Liangent) [10:52:54] What's the name of the Upload Wizard IRC channel? [10:54:36] 03(mod) wgNamespacesToBeSearchedDefault +categories for Ukraininan Wikinews - 10https://bugzilla.wikimedia.org/49335 normal->15enhancement; +comment (10Tomasz W. Kozlowski) [10:59:10] Rtdwivedi: there's no such channel (according to /msg alis list) [11:00:19] Oh.. I have a noobish doubt with Upload Wizard usage. [11:00:32] 03(mod) Visible br is shown in template - 10https://bugzilla.wikimedia.org/49289 +comment (10kelson) [11:01:17] $wgmaxUploadSize is set to 100 MB but the limit being used is 2 MB. [11:05:28] Rtdwivedi: PHP has it's own upload limit. Check out http://stackoverflow.com/questions/2184513/php-change-the-maximum-upload-file-size [11:05:50] Rtdwivedi: maxUploadSize [11:05:57] * https://www.mediawiki.org/wiki/Manual:$wgMaxUploadSize [11:06:58] Thank you! [11:09:51] 03(NEW) Inconsistency in the URL (veaction=edit disappears) - 10https://bugzilla.wikimedia.org/49336 normal; VisualEditor: General; () [11:13:06] 03(mod) Jenkins doesn't run unit tests - 10https://bugzilla.wikimedia.org/49330 +comment (10Antoine "hashar" Musso) [11:24:47] 03(mod) remove apache from default ubuntu - 10https://bugzilla.wikimedia.org/49168 (10Peter Bena) [11:41:34] 03(mod) $wgWellFormedXml = false; breaks our EditPage broken bot protection in edittoken - 10https://bugzilla.wikimedia.org/49232 +comment (10mediawiki-bugs) [12:23:14] 03(mod) Package installation request: libcache-memcached-fast-perl - 10https://bugzilla.wikimedia.org/49329 +comment (10marc) [12:29:43] 03(mod) OGE: Make *.out and *.err unreadable by the public by default - 10https://bugzilla.wikimedia.org/48818 +comment (10marc) [12:49:14] 03(mod) $HOME isn't set on webservers, causes jsub to try /$JOBNAME.out as output file - 10https://bugzilla.wikimedia.org/48726 +comment (10Marc A. Pelletier) [12:52:37] 503 on gitblit :( [12:59:43] Lcawte: Its a known issue. [13:03:19] 03(mod) Cannot write as "magnus" to my tools - 10https://bugzilla.wikimedia.org/48910 +comment (10magnus.manske) [13:13:07] 03(mod) Cannot write as "magnus" to my tools - 10https://bugzilla.wikimedia.org/48910 +comment (10Marc A. Pelletier) [13:14:58] Does anyone have any experience with the Facebook Open Graph extension? I asked in here yesterday, but went afk shortly after and so did not see the response (apologies!) The extension is giving me an error when I try to use the login button. It says that I have an invalid API. Can anyone help? [13:18:35] 03(mod) Visible br is shown in template - 10https://bugzilla.wikimedia.org/49289 (10ssastry) [13:20:23] ...why does an Open Graph extension need the API? [13:20:31] Never liked that extension [13:24:54] I'm not sure. I just want it to work. [13:25:41] 03(mod) Cannot write as "magnus" to my tools - 10https://bugzilla.wikimedia.org/48910 +comment (10magnus.manske) [13:25:46] I just had a thousand or so spam users sign up in the last 24/hours [13:25:55] putting a few GB of txt spam on my wiki [13:26:00] what's the best way to fix the situaton [13:27:19] don't worry, Scotland will gain independence next year? [13:27:35] (my first thought on seeing the 'GB' acronym, sorry.) [13:28:17] np [13:28:20] dassouki: on a more serious note, I guess that limiting registration should be your first step, no? [13:30:28] yup. I thought I had that done though [13:30:31] what is the proper procedure? [13:31:44] dassouki: you can try https://www.mediawiki.org/wiki/Manual:Combating_spam#Cleaning_up_spam [13:32:00] 03(mod) Cannot write as "magnus" to my tools - 10https://bugzilla.wikimedia.org/48910 +comment (10marc) [13:32:05] basically, use the Nuke extension to mass-delete newly created spam pages [13:32:06] https://www.mediawiki.org/wiki/Manual:Preventing_access is also helpful afaik [13:32:40] 03(mod) frame object should have property indicating subst status - 10https://bugzilla.wikimedia.org/47828 (10Danny B.) [13:32:49] DanielFriesen: i thought brion killed that years ago... [13:33:56] peachey|laptop__: Apparently it had one Horcrux remaining ;) [13:34:42] speaking of that, I was just watching HP [13:35:02] LOL [13:35:58] DanielFriesen: are you the one tapping on the window? [13:36:07] thanks all [13:36:17] ya 5,000 users according to mysql [13:36:56] Either of you interested enough in RDFa/Microdata to be interested in the large RDFa/Microdata improvements I've finally finished. [13:37:22] p858snake: So you connect under different nicks for different machines. [13:38:04] nope, just shitty network connection [13:38:12] dassouki: in 24H? mother of god... [13:38:23] well, peachey is used on another network [13:39:14] Well I will admit my current setup doesn't fair that well when Shaw decides to give me a flaky connection like it has lately. [13:39:37] Neither the ssh tunnel or this crappy irc client reconnect. [13:40:55] So I have to manually reconnect to the BNC. [13:43:13] Nuke might not work since there are so many users but i still want to maintain the older ones [13:44:08] oh now i see how it works never mind [13:47:10] FINALLY! [13:51:25] is there a mass way to delete text contributions as well? [13:51:38] that are not associated to users, since i delete some of the users directly from teh db [13:55:44] dassouki: you should have deleted the spam before messing with the db :/ [13:57:11] good point, but hte wiki man didn't guide me to special nuke before you showed it to me and it wanted me to delete the spam one by one [13:58:39] If you have a recent backup before the spam attack you should try to restore it [13:59:01] ya I do [13:59:09] but i thin i might just delete the whole thing [13:59:32] and go with sphinx instead. I was using my wiki as "how to" [14:03:16] 03(mod) Many MediaWiki: messages not safe in HTML - 10https://bugzilla.wikimedia.org/212 summary; +comment (10Daniel Friesen) [14:11:16] 03(mod) Section heading anchors shouldn't begin with invalid characters - 10https://bugzilla.wikimedia.org/9530 +comment (10Daniel Friesen) [14:29:30] 03(mod) Sanitizer doesn't validate attribute values according to DTD - 10https://bugzilla.wikimedia.org/10218 +comment (10Daniel Friesen) [14:35:42] 03(mod) Invalid HTML when using some math formulas - 10https://bugzilla.wikimedia.org/19177 summary (10Daniel Friesen) [14:49:31] 03(mod) Parser generates malformed HTML with a list inside a table - 10https://bugzilla.wikimedia.org/17486 summary; +comment (10Daniel Friesen) [14:58:43] 03(NEW) Well formed XML (tracking) - 10https://bugzilla.wikimedia.org/49337 normal; MediaWiki: Parser; () [14:58:44] 03(mod) XHTML compliance (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [14:58:46] 03(mod) Tracking bug (tracking) - 10https://bugzilla.wikimedia.org/2007 (10Daniel Friesen) [15:04:07] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 summary; +comment (10Daniel Friesen) [15:07:50] What is the api equivalent of Special:PrefixIndex? [15:08:15] se4598: allpages module has an option for it I believe [15:08:32] list=allpages&apprefix=Foo [15:09:50] thanks :) [15:10:35] lol, www.google-melange.com has an expired cert. Shame shame google [15:11:26] bawolff: [15:11:35] :) [15:11:45] 03(mod) Sidebar generates duplicate IDs - 10https://bugzilla.wikimedia.org/35371 (10Daniel Friesen) [15:11:46] 03(mod) XHTML compliance (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:13:00] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 summary; +comment (10Daniel Friesen) [15:13:34] 03(mod) Invalid HTML5: Bad value 100% for attribute width on element img - 10https://bugzilla.wikimedia.org/48333 +comment (10Daniel Friesen) [15:13:35] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:13:38] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:17:43] 03(mod) Stop adding xml:lang attributes to HTML5 pages - 10https://bugzilla.wikimedia.org/44609 (10Daniel Friesen) [15:17:46] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:17:46] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:17:55] 03(mod) Table summary should render HTML5 - 10https://bugzilla.wikimedia.org/41917 (10Daniel Friesen) [15:17:56] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:17:58] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:18:14] 03(mod) Update Sanitizer to support replacement of whole elements instead of just attributes. - 10https://bugzilla.wikimedia.org/40579 (10Daniel Friesen) [15:18:16] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:18:29] 03(mod) Special:ValidationStatistics uses align attribute (obsolete in HTML5) - 10https://bugzilla.wikimedia.org/40215 (10Daniel Friesen) [15:18:31] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:18:34] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:18:46] 03(mod) WikiEditor builds tables in toolbar using obsolete attribute valign (in HTML5) - 10https://bugzilla.wikimedia.org/39726 (10Daniel Friesen) [15:18:48] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:18:48] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:18:56] 03(mod) Replace deprecated HTML tags in HTML5 - 10https://bugzilla.wikimedia.org/39614 (10Daniel Friesen) [15:18:59] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:19:01] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:19:34] 03(mod) Remove button for from toolbar - 10https://bugzilla.wikimedia.org/38487 (10Daniel Friesen) [15:19:36] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:19:37] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:19:53] 03(mod) Provide a central logging service for tools - 10https://bugzilla.wikimedia.org/48846 +comment (10yuvipanda) [15:19:53] 03(mod) Do not allow #, %, [, ], nbsp in fragment identifiers - 10https://bugzilla.wikimedia.org/24918 (10Daniel Friesen) [15:19:55] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:19:56] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:20:13] 03(mod) Incrementally remove support for HTML elements removed from or deprecated in HTML5 - 10https://bugzilla.wikimedia.org/24529 (10Daniel Friesen) [15:20:15] 03(mod) HTML validity (tracking) - 10https://bugzilla.wikimedia.org/209 (10Daniel Friesen) [15:20:17] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:22:14] 03(mod) tag is deprecated in HTML5; normalize to in parser/sanitizer - 10https://bugzilla.wikimedia.org/4557 (10Daniel Friesen) [15:22:14] 03(mod) HTML5 features (tracking) - 10https://bugzilla.wikimedia.org/19719 (10Daniel Friesen) [15:22:15] 03(mod) Update Sanitizer to support replacement of whole elements instead of just attributes. - 10https://bugzilla.wikimedia.org/40579 (10Daniel Friesen) [15:22:19] 03(mod) Use semantic HTML (tracking) - 10https://bugzilla.wikimedia.org/10467 summary (10Daniel Friesen) [15:25:12] 03(mod) Well formed XML (tracking) - 10https://bugzilla.wikimedia.org/49337 (10Daniel Friesen) [15:25:12] 03(mod) Many MediaWiki: messages not safe in HTML - 10https://bugzilla.wikimedia.org/212 (10Daniel Friesen) [15:25:14] 03(mod) Mixing Wikitable and HTML syntax breaks with Tidy disabled - 10https://bugzilla.wikimedia.org/8948 (10Daniel Friesen) [15:25:16] 03(mod) Parser generates malformed HTML with a list inside a table - 10https://bugzilla.wikimedia.org/17486 (10Daniel Friesen) [15:25:17] 03(mod) Invalid HTML when using some math formulas - 10https://bugzilla.wikimedia.org/19177 (10Daniel Friesen) [15:30:47] 03(mod) Many MediaWiki: messages not safe in HTML - 10https://bugzilla.wikimedia.org/212 +comment (10Bawolff (Brian Wolff)) [15:35:34] 03(mod) Many MediaWiki: messages not safe in HTML - 10https://bugzilla.wikimedia.org/212 +comment (10mediawiki-bugs) [15:38:05] I am new to MW , I am working on this bug https://bugzilla.wikimedia.org/show_bug.cgi?id=33464 [15:38:14] I created the "developer" entry to footer and unable to make it a link [15:38:22] Here is my diff https://gist.github.com/bharaththiruveedula/5704683 [15:43:01] tbharath: Not the issue causing it not to work, but [15:43:10] [//www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker//] [15:43:49] Should probably not have the square brackets, and not have the // at the end (the // at the begininning is correct) [15:45:27] bawolff, I thought we must use the same syntax we use to write wiki [15:45:45] We do, that's not the correct syntax for writing in the wiki [15:46:18] However that message is probably just using the link name, and is not interpreted as wikitext [15:46:20] bawolff, but I tried in the wiki, but letme recheck once [15:46:30] In general though, we do use the same syntax for message as in wiki [15:46:49] The correct syntax in wiki to make a link is [//www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker Developer] [15:47:11] However in the code, the url and the text of the link are in separate messages, so we don't really use that syntax [15:48:38] Hmm, actually, it seems the code is assuming that the footer pages go to a wiki page, and not an external site [15:48:56] bawolff, yes [15:49:10] Which may be why its not showing anything for you. [15:49:15] bawolff, so I used the external link syntax [15:49:47] It sees that its an external link instead of a local page, and errors out, displaying nothing [15:50:17] tbharath: So the short version of this, is you're going to have to patch Skin::footerLink too [15:50:23] bawolff, oh ok, but how to tell it explicitly [15:50:37] (which should be done anyways, as wiki users should be allowed to say their disclaimer is off site) [15:51:29] hmm, I wonder if we have a convinence method to do this [15:51:34] just a moment [15:53:15] tbharath: You would have to do something similar to the check in Skin::addToSidebarPlain [15:55:43] In Skin::footerLink, before the Title::newFromText, try and see if the message contents matches if ( preg_match( '/^(?i:' . wfUrlProtocols() . ')/', $msgContent ) [15:55:51] bawolff, don't mind, I am not sure what does it mean Skin::addToSidebarPlain [15:56:26] tbharath: Sorry, I mean the method addToSidebarPlain in the class Skin [16:00:03] tbharath: That was probably a confusing explanation, I'll try and put in a pastebin what I mean [16:00:57] bawolff, yeah, ok, I am trying to understand that [16:07:05] 03(NEW) Cannot use object of type Message as array at RollbackAction - 10https://bugzilla.wikimedia.org/49338 normal; MediaWiki: General/Unknown; () [16:08:00] 03(mod) Thanks workflow needs further thought - 10https://bugzilla.wikimedia.org/47658 +comment (10Erwin Dokter) [16:09:47] tbharath: You will want something like https://dpaste.de/QwOH8/ for the footerLink function. (Note I have not tested) [16:10:47] the preg_match( '/^(?i:' . wfUrlProtocols() . ')/', $link ) ) checeks if it is actually a url, and does an external link in that case [16:11:38] Let me know if that's unclear, or if it all makes sense [16:12:10] Its probably slightly more than you bargained for when you first saw "Easy bug, just add a link to the footer" :) [16:12:53] bawolff, yeah :) [16:13:21] bawolff, what does escaped() actually will do? [16:13:45] It's the same as ->transform(), but after that runs the result through htmlspecialchars() [16:14:09] So that things like double quote gets replaced with " < with < [16:14:23] sorry, I mean ->text() not ->transform() [16:14:32] older message system used the word transform [16:14:48] bawolff, :) yeah I am thinking what does transform do? [16:15:15] bawolff, can I find descriptions for functions used? [16:15:17] ->text() takes the message, and replaces things like {{SITENAME}} {{PAGENAME}}, etc. but does not do full parsing [16:15:34] yeah, I'll link to them [16:16:04] The wfMessage stuff is documented at https://www.mediawiki.org/wiki/Manual:Messages_API [16:16:41] makeExternalLink at https://doc.wikimedia.org/mediawiki-core/master/php/html/classLinker.html#ae97bc0374615d1dc3d9464468e25af1a [16:16:58] linkKnown at https://doc.wikimedia.org/mediawiki-core/master/php/html/classLinker.html#a9300b7e69f42dae3c6170aa42725802f [16:17:37] wfUrlProtocols() is defined in includes/GlobalFunctions.php - it just returns a regex for things like http:// and friends [16:18:00] which just occured to me probably isn't enough for protocol-relative... [16:18:15] nevermind, it is enough [16:20:08] 03(mod) Add "Developers" link to footer of Wikimedia wikis using WikimediaMessages extension - 10https://bugzilla.wikimedia.org/33464 +comment (10Bawolff (Brian Wolff)) [16:20:35] bawolff, in makeExternalLink(), we are not passing $title, I guess [16:20:55] yeah, we maybe should be [16:21:24] 03(mod) Create Wikipedia Tuvan - 10https://bugzilla.wikimedia.org/49328 normal->15enhancement (10Sam Reed (reedy)) [16:21:26] bawolff, ok [16:21:28] Hmm, not sure how footer links are cached though, and if they vary per page [16:22:26] Should be fine, doesn't look aggressively cached [16:23:30] The question is though, do we even have a title to pass [16:24:37] tbharath: Yeah, you should pass $this->mRelevantTitle to Linker::makeLinkExternal I believe, as the context title [16:24:41] 03(mod) $wgTranslateBlacklist of zh-* on metawiki - 10https://bugzilla.wikimedia.org/37338 +comment (10Benjamin Chen) [16:24:43] 03(mod) Package installation request: libcache-memcached-fast-perl - 10https://bugzilla.wikimedia.org/49329 normal->15enhancement (10Sam Reed (reedy)) [16:25:13] tbharath: Sorry, not $this->mRelevantTitle, but $this->getRelevantTitle() [16:34:07] bawolff, $this->getRelevantTitle() will give "Main Page" [16:34:18] bawolff, so I changed to $linkText, [16:35:55] bawolff, I think first argument is src , second argument is title of link, I am not sure abt third and fourth arguments [16:36:04] bawolff, and it works now [16:37:25] 03(NEW) Just get rid of creepy default vimrc - 10https://bugzilla.wikimedia.org/49339 normal; Wikimedia Labs: General; () [16:37:41] 03(mod) Just get rid of creepy default vimrc - 10https://bugzilla.wikimedia.org/49339 normal->major (10Peter Bena) [16:38:49] bharath_: The title parameter (argument number 6) on makeExternalLink is supposed to be the Title of the current page. That's the one that should be $this->getRelevantTitle() [16:39:29] 03(mod) Enable Extension:Education Program on Swedish Wikipedia - 10https://bugzilla.wikimedia.org/49009 +comment (10Sam Reed (reedy)) [16:40:23] bawolff, I mean I changed to this return Linker::makeExternalLink( $link, $linkText, $linkText, false ); [16:40:36] 03(mod) Thanks workflow needs further thought - 10https://bugzilla.wikimedia.org/47658 +comment (10Technical_13) [16:41:14] tbharath: Do you mean Linker::makeExternalLink( $link, $linkText, false ); ? [16:41:57] The most proper call is probably Linker::makeExternalLink( $link, $linkText, false, '', array(), $this->getRelevantTitle() ); [16:42:43] 03(mod) Move parsoid.wmflabs.org to https - 10https://bugzilla.wikimedia.org/47507 normal->15enhancement (10Sam Reed (reedy)) [16:44:18] DanielFriesen: re bug 212: In fairness, the comment was added before rdfa even existed as a thing (let alone mw support for it) :P [16:44:30] 03(mod) For git server, rewrite http urls to https - 10https://bugzilla.wikimedia.org/49305 normal->15enhancement (10Sam Reed (reedy)) [16:45:12] 03(mod) New extension: Image metadata parser functions - 10https://bugzilla.wikimedia.org/41498 summary (10Sam Reed (reedy)) [16:45:17] bawolff, yeah this works too, I am clearing the cache everytime I made changes, any alternative for this? [16:45:50] I don't think it should be cached [16:46:04] other than htmlfilecache which you probably have disabled [16:46:24] bawolff, I cant see the changes until I empty the cache [16:46:43] tbharath: server side cache or client side cache? [16:47:18] * Susan bites Amgine. [16:47:27] bawolff, I guess client side [16:47:50] tbharath: Hmm, doing ctrl+r should refresh the page without the cache [16:49:33] bawolff, sorry interrupting internet connectionsa [16:49:55] 03(mod) [QuestyCaptcha] functionality improvement - 10https://bugzilla.wikimedia.org/34911 (10MZMcBride) [16:49:57] bharath_: no worries. If you missed it previously, I said "Hmm, doing ctrl+r should refresh the page without the cache" [16:51:19] bawolff, no ctrl+r doesnt work for me , I need to do empty the cache again [16:51:59] thats kind of odd. Depending on browser ctral+shift+r or ctrl+f5 also sometimes works [16:52:36] bawolff, yup it works ctrl+shift+r [16:53:56] bawolff, where I can find descriptions abt the functions like makeExternalLink(),linkKnown() [16:54:12] !class Linker [16:54:12] See https://doc.wikimedia.org/mediawiki-core/master/php/html/classLinker.html [16:54:31] bawolff, link? [16:54:40] has info on all the functions related to making links [16:54:42] bawolff, I mean for classes [16:55:00] Like a list of all classes? [16:55:59] because such a list wouldn't be all that useful, as 90% of the classes in mediawiki are pretty specific [16:56:16] You may want to read over the docs on the Title class though, as that is used everywhere [16:56:21] !class Title | bharath_ [16:56:21] bharath_: See https://doc.wikimedia.org/mediawiki-core/master/php/html/classTitle.html [16:59:33] bawolff, Yeah, that's a useful resource [17:00:33] bawolff, the next step is to create a patch for that? [17:01:17] Do you have a gerrit account? [17:01:55] bawolff, no [17:02:25] Ok, first step is to get one. Just go to wikitech.wikimedia.org and create an account [17:02:36] and the account at that wiki will also work at gerrit.wikimedia.org [17:03:26] bharath_: There's a tutorial at https://www.mediawiki.org/wiki/Gerrit/Tutorial on how to submit a patch [17:03:57] bawolff, sure I will check it out [17:04:35] as a note, getting used to gerrit can be annoying/complicated at first, so if you run into trouble, don't hesitate to ask [17:04:53] bawolff, yeah sure [17:12:29] bawolff, I generated ssh key for github, can I use same for all? [17:12:42] Yes, that should be fine [17:13:29] Actually one of the great benefits of public key crypto is you can use the same key for multiple things and it is still secure [17:14:51] bawolff, ok , but in the tutorial you gave, it suggests to create a brand new key if already exists [17:15:39] Hmm, I would just use the same one [17:18:56] bawolff, ok [17:28:36] *snicker* dev.null.mu [17:28:58] 03(NEW) Wrong language code for Norwegian Bokm�l - 10https://bugzilla.wikimedia.org/49340 normal; Wikipedia App: Localization/Translation/Language; () [17:31:52] 03(mod) Wrong language code for Norwegian Bokm�l (Android) - 10https://bugzilla.wikimedia.org/49340 summary (10Dan Michael Heggø) [17:53:27] 03(mod) Wrong language code for Norwegian Bokm�l (Android) - 10https://bugzilla.wikimedia.org/49340 +comment (10danmichaelo+wikipedia) [17:54:16] need some help with load.php if someone is around, being driven slowly insane with response headers 304, text/plain which is breaking .js [17:55:16] 03(mod) Wrong language code for Norwegian Bokm�l (Android) - 10https://bugzilla.wikimedia.org/49340 +comment (10Niklas Laxström) [17:55:42] I can browse wiki, edit, etc. just fine, then out of blue .js breaks hard refresh fixes then it breaks again after a few minutes [17:56:26] seems as if a 304 response breaks it in Chrome [17:57:01] sigh, unicode broken [17:57:32] Hutchy68: Sometimes misconfigured web servers mess with the whole load.php serving js... [17:58:08] although I've never heard it the way you're describing [17:58:12] is there a fix? [17:58:15] Do you have a link to your wiki [17:58:57] the problem seems to be 304 responses, then it sets mime type to text/plain which starts the break [17:59:20] Chrome refuses to execute the script [18:01:39] complain to your host? [18:01:54] figure out why php isn't setting the mime type properly [18:03:13] I guess turn on debug should shed some light? [18:03:45] encphillips.com/wiki [18:04:20] 03(mod) Tool to check ZIM integrity needed - 10https://bugzilla.wikimedia.org/47407 +comment (10kiranmathewkoshy) [18:04:27] 03(NEW) Fatal error: Class 'DataValues\DataValueObject' not found - 10https://bugzilla.wikimedia.org/49341 normal; MediaWiki extensions: DataValues; () [18:04:38] 03(mod) $wgTranslateBlacklist of zh-* on metawiki - 10https://bugzilla.wikimedia.org/37338 +comment (10Siebrand) [18:05:06] most of this started when moved to gadget site.js from common.js which I've now moved back. [18:05:22] web server debugging of some sort might. Seems less likely that turning on mw debugging would in this situation, but you never know [18:07:27] is there an open bug somewhere for the use of

inside the title attributes on SecurePoll? [18:07:51] bawolff, I added the changes to core, is that right? [18:08:14] bharath_: That's an open question [18:08:28] I don't know for that bug if its wanted in core or as an extension [18:08:50] bawolff, it says Add "Developers" link to footer of Wikimedia wikis [18:09:06] bharath_: If it does turn out that its wanted as an extension, the part you did with footerLink and external urls would go in core regardless [18:09:35] Elsie: Ping? [18:13:12] bharath_: I don't think there is hooks for an extension, so that would also have to be added in order to make it work as an extension [18:14:19] bawolff, hooks? [18:14:58] Hooks are points where extensions call into [18:15:23] right now there aren't any for generating footerlinks (Afaik) so I don't think extensions can add to the footerlinks [18:15:27] 03(NEW) Bot encoding messed up: �� unicode characters broken - 10https://bugzilla.wikimedia.org/49342 major; Wikimedia: wikibugs IRC bot; () [18:15:52] bawolff, so can I push the changes? [18:15:57] Nikerabbit: how did you see it? it's broken in the log [18:16:42] bharath_: I would submit the change. If people want it as an extension, they will leave a comment and you can update your patch [18:17:00] Nemo_bis: I think its only broken for the author field maybe [18:17:28] 03(mod) Bot encoding messed up: �� unicode characters broken - 10https://bugzilla.wikimedia.org/49342 +comment (10Nemo) [18:17:45] bawolff, do I need to perform git review -r now? [18:17:53] bharath_: yes [18:17:57] no -R [18:18:16] only put -R if you're updating your patch. first time you submit you don't need it [18:18:28] Nemo_bis: err, nevermind, I thought you said something different [18:19:50] bawolff, https://gerrit.wikimedia.org/r/#/c/67615/ [18:21:28] 03(mod) Page title appears inside . it shouldn't (at least in RTL wikis) - 10https://bugzilla.wikimedia.org/49093 +comment (10mediawiki-bugs) [18:22:02] bawolff, does it seems correct? [18:22:13] There's a couple minor things [18:22:23] but pretty good for a first patch [18:22:49] First of all, if a patch is related to a bug you're supposed to have as the last line of the commit message [18:22:56] Bug: [18:23:34] You also have to add any messages you create to the file maintinance/language/messages.inc [18:23:56] And you should add info about your message to languages/MessagesQqq.php [18:24:18] Nemo_bis: wfm [18:24:21] Note, I changed the commit message to add the bug line [18:25:40] and I think the developerspage message should also be in maintinance/language/messageTypes.inc [18:27:32] bawolff, have you updated the commit message? [18:28:25] yes [18:28:59] 03(mod) Fatal error: Class 'DataValues\DataValueObject' not found - 10https://bugzilla.wikimedia.org/49341 +comment (10Jeroen De Dauw) [18:30:45] bharath_: There was also some things like, using spaces instead of tabs. I left some inline comments on the patch [18:31:22] bharath_: Btw, now that you submitted a patch, you should add 'patch-in-gerrit' to the keywords field of the bug, and leave a comment on the bug linking to your patch [18:32:12] bawolff, sure, how can see your commit [18:32:51] https://gerrit.wikimedia.org/r/67615 - my comment is at the bottom, and if you click on the diff view you can see my inline comments [18:33:31] Here's a direct link to my inline comments: https://gerrit.wikimedia.org/r/#/c/67615/2/includes/Skin.php [18:35:28] 03(mod) Fatal error: Class 'DataValues\DataValueObject' not found - 10https://bugzilla.wikimedia.org/49341 +comment (10jeroen_dedauw) [18:43:44] 03(mod) Fatal error: Class 'DataValues\DataValueObject' not found - 10https://bugzilla.wikimedia.org/49341 +comment (10jeroen_dedauw) [18:44:05] 03(mod) Fatal error: Class 'DataValues\DataValueObject' not found - 10https://bugzilla.wikimedia.org/49341 (10Jeroen De Dauw) [18:44:18] bawolff, can I ping you tomorrow, if you dont mind? [18:44:29] bharath_: Yes of course [18:44:40] bharath_: Although I might not be online tommorow [18:45:00] bawolff, whenever you are online [18:45:16] I'll definitely be online during week days [18:45:26] bawolff, sure [18:45:32] If I'm not here, there will probably be somebody else around who can help [18:45:50] bawolff, ok [18:46:48] ... [18:47:01] I can no longer submit thinsg that are verified and reviewed on gerrit? wtf? [18:47:42] JeroenDeDauw: that sounds wrong... [19:01:25] Updating from 1.20.6 to 1.21.1. Untarred the new files, then cd to maintenance directory. But php update.php seems to do nothing, and outputs nothing. [19:01:35] And the wiki does not work. [19:03:56] tale: it's recommended to untar on a clean directory, not over old files, since that can cause unexpected problems. And then move what's needed (LocalSettings.php, and images folder if you have them there) [19:06:10] Vulpix: Maybe so. I just do exactly as it says in Upgrade instructions. [19:06:47] odd, someone needs to update that documentation :S [19:06:50] !upgrade [19:06:50] http://www.mediawiki.org/wiki/Manual:Upgrading [19:08:24] gitblit 503, really? ¬_¬ [19:08:27] Vulpix: I followed those instructions precicely. [19:09:10] Vulpix: If the Upgrading manual told what things I need to move from old to new, I would do the upgrade to a new empty directory. [19:10:30] I've seen lots of problems on MediaWiki's Support Desk caused by people unpacking over old files. Of course, I usually don't read that page, and people that wrote it most probably don't deal with users having such problems [19:10:36] I'm going to change that page now [19:12:36] Only problem I ever had with unpacking over old files was once, when StartProfiling file was left. Then I complained, and Upgrading manual got a paragraph about dealing with that. [19:13:42] tale: try to move old files into a new directory, and unpack again, restoring LocalSettings, and see if that solves the problem [19:14:36] Vulpix: I removed the messed up directory, now restoring from backup. Then I try again, with the method you proposed. [19:15:05] Vulpix: I suppose I need to copy LocalSetting.php, images, extensions. What else? [19:16:23] that should be enough, there shouldn't be other folders with "user data" there. Note that you sould upgrade extensions also [19:16:29] is there any newer dump in ZIM format (or similar) thats <20GB? Newest one for Kiwix seems to be from jan-2012 [19:16:58] Vulpix: Also skins if I have modified those. [19:18:50] that's why we discourage modifications on files [19:21:40] Vulpix: Well, I may also have added a skin file. [19:21:59] Vulpix: Anyway, wiki breaks also with the method you suggested. [19:22:16] I put back the old files to get wiki back online. [19:22:16] any error message? [19:22:42] Vulpix: It says HTTP-virhe 500 [19:22:54] unpacking to a new folder makes switching versions easier ;) [19:23:00] Vulpix: No error in logs. [19:23:24] Vulpix: Well, that is true. I just switched the directory named back and voila, wiki back online. [19:24:26] I upgraded three other wikis previously with no problems. No idea why this one fails so badly. [19:24:48] old extensions are usually the cause [19:26:35] Vulpix: But even php update.php failed to work. [19:27:00] 03(mod) Thanks workflow needs further thought - 10https://bugzilla.wikimedia.org/47658 +comment (10fflorin) [19:28:31] Vulpix: The wiki in question is http://yhteisokeskus.net/wiki [19:29:05] Any idea which extension or stuff might cause the failure? [19:29:09] update.php reads LocalSettings, and some extensions tell update.php to perform some database updates as well [19:29:34] you can try to disable all extensions, see if wiki works, and then enable them one by one [19:31:46] Vulpix: I'll try that, but not right now. Better to sleep, perchance to dream. Wiki upgrades some other day. [19:33:33] [19:35:19] Brooke Elsie Susan Susan. Yes, you should be... Bess! [19:35:42] tale: If you tell php to display warnings, it may give you an indication which extension [19:36:10] Amgine: At least he's not Ashlee anymore. That was annoyingly confusing [19:36:43] Yes, but I'm just imagining being able to call him, justifiably, Queen Bess. [19:38:24] is there any newer dump in ZIM format (or similar) thats <20GB? Newest one for Kiwix seems to be from jan-2012? [19:41:51] asd233331: arabic Feb 2013 is 2GB [19:42:34] Amgine: I cant read arabic, i would prefer english [19:44:01] You could look through the varying formats at http://download.kiwix.org/portable/ [19:44:16] 03(mod) $HOME isn't set on webservers, causes jsub to try /$JOBNAME.out as output file - 10https://bugzilla.wikimedia.org/48726 +comment (10Tim Landscheidt) [19:49:13] Amgine: there is only one from jan 2012 that is containing all content (without pics) [19:50:37] Well, perhaps the project is defunct. [19:50:59] (it's not a Foundation project as far as I know) [19:51:21] 03(NEW) Test failing on master - 10https://bugzilla.wikimedia.org/49343 normal; MediaWiki extensions: Semantic MediaWiki; () [19:57:07] How can i found it [19:58:12] kiwix is a wikimedia-ch project i think [19:58:24] or they are helping fund it. It isn't dead afaik [19:59:43] I can't remember the default user I made when creating my media wiki. I have looked in the DB, but there are only 2 users there and that is not one of them. Are it gone? Can I find it any where? [20:01:49] poiu_: All users will be listed in special:listusers . If its not there, it wasn't created [20:01:58] poiu_: It will also be listed in user table [20:02:00] 03(mod) Clickable tabs overlap for small screen resolutions - 10https://bugzilla.wikimedia.org/20234 +comment (10matma.rex) [20:02:15] The only way for there to be other users is if you are using an external auth extension [20:03:33] What is it is not created? Is there a globale admin user or do I have a wiki without an Admin user bawolff ? [20:04:16] Special:listusers will also list the rights all users have [20:04:37] I have heard of people who had the installer fail partially, and not create the admin account. [20:04:53] but that's usually rare [20:05:20] poiu_: See the FAQ https://www.mediawiki.org/wiki/FAQ#Initial_user_was_not_created_by_installer_or_it_is_not_an_administrator [20:05:26] Can we create an admin account in the table by edit the table?` [20:05:54] poiu_: use https://www.mediawiki.org/wiki/Manual:CreateAndPromote.php [20:05:55] arh [20:06:00] Thx. :) [20:08:09] bawolff: am I totally mistaken in thinking that you know a thing or two about MediaWiki's image thumbnailing and its gory internals? [20:09:05] ashley: That's a scary sounding question ;) [20:09:12] I do know a fair bit [20:10:24] great! any clue as to why .gif images would fail to thumbnail after upgrading from 1.20 -> 1.21? [20:11:24] I don't remember there being any big changes to gif images any time recently [20:11:43] 03(mod) Clickable tabs overlap for small screen resolutions - 10https://bugzilla.wikimedia.org/20234 +comment (10jrobson) [20:12:59] ashley: Does debug logging say anything interesting? [20:13:13] ashley: And just gif images, all the other images are rendering fine? [20:16:41] bawolff: Yup, an example of the problem we have with Gifs... http://www.techinfodepot.info/wiki/File:Candle.gif [20:17:58] That's odd [20:18:10] I'm going to go with something broken with image magick [20:18:29] Because a gif is being generated, but has a "negative" size [20:18:50] ashley: Are you using image magick as your scalar? [20:21:13] Unless something else is messing it up (one of those weird things required for Math), then yes we are... [20:23:43] Yes, you are using ImageMagick 6.6.9-7 2012-08-17 Q16 [20:25:06] * Lcawte tabs back in to Terminal... [20:25:08] Yep :P [20:26:20] 03(mod) New fields: ar_id, el_id. - 10https://bugzilla.wikimedia.org/49189 +comment (10Greg Grossmeier) [20:28:08] It's really odd, as the header for the gif file is present, but the rest of the file is missing [20:28:37] 03(mod) Truncate SHA-1 indexes - 10https://bugzilla.wikimedia.org/49190 +comment (10Greg Grossmeier) [20:29:32] 03(mod) Clickable tabs overlap for small screen resolutions - 10https://bugzilla.wikimedia.org/20234 +comment (10matma.rex) [20:29:56] I've tried rm -rf ing the thumbs dir to get them to regenerate but that doesn't seem to solve anything... [20:30:12] 03(mod) Dropping rc_moved_to_title - 10https://bugzilla.wikimedia.org/49191 +comment (10Greg Grossmeier) [20:30:26] Lcawte / ashley : The best I can recomend, is enable debug logging, from there find the exact command used to render the gif image, run that command, see if anything gets output to stderr or anything weird happens [20:30:46] Lcawte: I tried freshly generated ones, at it was present on those thumbs [20:30:52] 03(mod) Dropping ss_admins - 10https://bugzilla.wikimedia.org/49192 +comment (10Greg Grossmeier) [20:31:07] and/or run https://www.mediawiki.org/wiki/Manual:Thumb.php [20:32:41] Lcawte: If all else fails, try upgrading image magick maybe [20:33:16] * Lcawte loves compiling things -.- [20:34:06] Last time I ran apt-get, it broke the boot scripts on my computer [20:45:15] 03(NEW) Bug handling doc subpage when module is named "Documentation" - 10https://bugzilla.wikimedia.org/49344 normal; MediaWiki extensions: Scribunto; () [20:48:39] 03(mod) Bug handling doc subpage when module is named "Documentation" - 10https://bugzilla.wikimedia.org/49344 +comment (10aklapper) [20:53:48] 03(mod) Have a different link for page patrol and revision patrol - 10https://bugzilla.wikimedia.org/49115 +comment (10romaine_wiki) [21:12:54] 03(NEW) Notifications: "New link" notification targets are only bold in reports of single new links, not multiple ones - 10https://bugzilla.wikimedia.org/49345 minor; MediaWiki extensions: Echo; () [21:26:59] 03(mod) Bug handling doc subpage when module is named "Documentation" - 10https://bugzilla.wikimedia.org/49344 +comment (10yperret) [21:35:15] When will the 1.21.x releases be announced on mediawiki-announce, hexmode? [21:39:37] 03(mod) Bot encoding messed up: �� unicode characters broken - 10https://bugzilla.wikimedia.org/49342 major->normal (10Andre Klapper) [21:42:30] 03(mod) CentralNotice has a broken database updater - 10https://bugzilla.wikimedia.org/46533 +comment (10Andre Klapper) [21:43:55] 03(mod) Hidden categories displayed two times when "showhiddencats" is selected - 10https://bugzilla.wikimedia.org/49333 +comment (10Andre Klapper) [21:50:59] 03(mod) Hidden categories displayed two times when "showhiddencats" is selected - 10https://bugzilla.wikimedia.org/49333 +design; +comment (10Bawolff (Brian Wolff)) [21:52:10] 03(mod) Watching pages (AJAX) requires WriteAPI - 10https://bugzilla.wikimedia.org/47480 +comment (10Andre Klapper) [21:56:32] 03(mod) Bot encoding messed up: �� unicode characters broken - 10https://bugzilla.wikimedia.org/49342 +comment (10Bartosz Dziewoński) [21:58:04] 03(NEW) VisualEditor: Reference should use system messages to work out their rendering style (e.g. 1.0, 1.1 / a,b,c) - 10https://bugzilla.wikimedia.org/49346 normal; VisualEditor: MediaWiki integration; () [22:00:54] 03(mod) Chunked upload fails with internal_api_error_UploadStashFileNotFoundException - 10https://bugzilla.wikimedia.org/36587 +comment (10Fastily) [22:02:44] 03(mod) Request for new 'largeupload' userright on commons. - 10https://bugzilla.wikimedia.org/36687 +comment (10Fastily) [22:02:51] 03(mod) New user right: "Allow large uploads" - 10https://bugzilla.wikimedia.org/21338 +comment (10fastily) [22:07:45] 03(mod) $HOME isn't set on webservers, causes jsub to try /$JOBNAME.out as output file - 10https://bugzilla.wikimedia.org/48726 +comment (10marc) [22:18:32] hi [22:18:37] where can i find info on how to write a Module? [22:18:57] !lua [22:18:57] Scribunto is a new extension that makes it easier to write repeatable code in Lua, rather than in complex wikitext templates. See http://www.mediawiki.org/wiki/Lua_scripting and http://www.mediawiki.org/wiki/Extension:Scribunto for more information. [22:19:16] that's odd [22:19:17] Running test Gallery override link with WikiLink (bug 34852)... limit.sh: timed out. [22:21:45] hmm, its trying to transform a 0 byte file [22:22:14] still that's not a reason for image magick to hang [22:22:53] bawolff: Pong. [22:23:48] Elsie: I was going to ask you tbharath's question about if the developers footer link bug was meant for all wikis or just a wikimedia only extension [22:23:54] 03(mod) Chechen Wikipedia: Translation of namespaces - 10https://bugzilla.wikimedia.org/47574 +comment (10Mark A. Hershberger) [22:23:58] but that was a while back and he submitted his patch [22:24:49] bawolff: Wikimedia only. [22:24:56] Though perhaps it should be in core too. [22:25:00] ok, his patch is for mediawiki in general [22:25:01] That seems a bit silly, though. [22:25:20] Do software packages generally recruit like that? [22:25:24] It feels weird. [22:25:36] A developers link to mw.org on say the jQuery wiki would feel very weird imo [22:25:55] Right. [22:26:05] We probably shouldn't do it in core for now. [22:26:07] Which change? [22:26:39] I marked you as a reviewer for it :P [22:27:01] https://gerrit.wikimedia.org/r/#/c/67615/ [22:27:16] Bless you, my child. [22:27:18] His change did have some stuff that's needed anyway (like allowing footer links to external sites) [22:30:10] Elsie: I keep thinking of an old Costello song with this nick. [22:30:56] Krenair: What? I'm sure 1.21.1 was sent to -announce [22:31:20] nope: http://lists.wikimedia.org/pipermail/mediawiki-announce/2013-May/thread.html [22:31:28] well it was sent [22:31:34] but it hasn't been approved to go to the list yet [22:31:39] 03(mod) Add "Developers" link to footer of Wikimedia wikis using WikimediaMessages extension - 10https://bugzilla.wikimedia.org/33464 +comment (10b) [22:31:42] Amgine_: I forgive you. [22:31:52] bawolff: I just saw your bug comment. I replied. [22:32:03] "Watching the detectives..." [22:32:06] Krenair: I was going to say... [22:58:48] 03(mod) $HOME isn't set on webservers, causes jsub to try /$JOBNAME.out as output file - 10https://bugzilla.wikimedia.org/48726 +comment (10tim) [22:59:00] 03(mod) Wrong language code for Norwegian Bokm�l (Android) - 10https://bugzilla.wikimedia.org/49340 +comment (10danmichaelo+wikipedia) [23:01:55] 03(NEW) Feedback solicited but not accepted on an article - 10https://bugzilla.wikimedia.org/49347 normal; MediaWiki extensions: ArticleFeedbackv5; () [23:44:58] 03(mod) Feedback solicited but not accepted on an article - 10https://bugzilla.wikimedia.org/49347 +comment (10se4598) [23:51:58] Gitblit is still broken :\ [23:53:53] Krenair: good question. I need to talk to Tim. Thanks for the reminder. [23:54:37] You should probably ask for you and/or Chris to be made moderator(s). [23:54:52] agreed. Was thinking that. [23:55:40] Oh, and did VisualEditor get broken? [23:55:47] Krenair: and it isn't moderated. Messages to the list are just dropped normally. The admin has to let messages through normally. [23:56:37] How is a message let through if it's already been dropped...? [23:57:02] admin and sender have to pre-arrange sending. [23:57:53] so the admin says allow the next message from x address through? [23:58:51] admin temporarily turns off "drop all email" mode and sender sends. admin allows email through, and then turns "drop all email" back on. [23:58:54] oh no, 503 errors again :-(