[00:19:44] 03(NEW) Implement Japanese and North Korean calendars - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18849 enhancement; Normal; MediaWiki: Internationalization; (jidanni) [00:20:47] 03(ASSIGNED) SQL syntax error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18622 +comment (10bugzilla) [00:21:54] I wonder how many MediaWiki users there are in North Korea [00:22:28] idk [00:28:16] Hey guys, on a wiki I maintain whenever I save a page after editting it, Firefox waits for a very long time, then returns an empty index.php to me. Nothing is logged in the Apache error log. Any suggestions on where to look? [00:30:01] how empty? does it have headers? [00:30:25] I just need to wait for it to time out this time. [00:30:49] with no headers, firefox should show an error message [00:30:56] with headers, it would show a blank page [00:31:24] I'm getting a dialog to save index.php which if I safe it is zero bytes. [00:34:43] you should probably treat it as a PHP fatal [00:35:07] Hmm, and I can't view the headers. [00:35:40] in php.ini, set error_reporting=E_ALL | E_STRICT, and display_errors=on [00:35:52] see if that makes a difference [00:36:11] you will have to restart apache for it to take effect [00:36:48] actually come to think of it, maybe I have seen that save dialog for a segfault [00:36:57] Okay, I've changed the reporting level (was E_ALL | & ~E_NOTICE [00:37:24] retrying the save now [00:37:25] it's linux, right? [00:37:28] yes [00:37:47] you should check the syslog for apache errors [00:38:21] nope, no errors in syslog either [00:40:13] if display_errors didn't help, we should probably assume it's a segfault and get out the big guns [00:40:26] yeah? [00:40:35] it isn't working [00:40:44] run apache under gdb [00:40:52] oh joy [00:41:10] so it'll typically be: gdb apache2 [00:41:16] yeah [00:41:18] then: run -X [00:41:22] for single-threaded [00:42:08] okay, just installed gdb [00:42:14] installing that it is. [00:42:40] then reproduce the problem, and with a bit of luck it'll drop out into gdb when it segfaults [00:42:42] 03(NEW) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 enhancement; Normal; MediaWiki: User preferences; (jidanni) [00:43:04] okay, I'll report back once I have that. [00:45:52] ping mdale, any news on upload branch? i'd like to get going on that [00:48:31] 03(mod) Implement Japanese and North Korean calendars - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18849 (10jidanni) [00:49:28] TimStarling: using run -X I can't even view a basic page! [00:50:43] well, since it's single-threaded, it might not play nicely when the browser requests multiple pages at once [00:51:05] you should have just clicked "save" from the edit page you already had open [00:51:20] alternatively... [00:53:08] "set follow-fork child" the run without the -X, but that doesn't seem to be ideal [00:54:02] it'll probably give you a random child process, and you'll then have to hit save a lot of times until you get the right one [00:54:21] yeah, I've hit save on the edit page, but it isn't returning. [00:54:51] so you ran it without the -X? [00:55:26] no, not yet [00:55:40] so with -X, you hit save, then what? [00:55:45] it shows the download box? [00:55:56] not yet, still waiting. It takes a while. [00:57:49] 03(mod) Free up "Project" as a namespace (for Wikipedia:Projects) by using an alternate token - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18793 (10innocentkiller) [00:58:29] is CPU usage high, while you're waiting? [00:59:25] no, not really and I just received a dialog window. No output in gdb. [01:00:09] so if you run "top" while the request is going, do you see apache2 pegged at 100% CPU? [01:00:48] no, it doesn't seem to be [01:00:59] load average 0.01. [01:01:11] And there is other unrelated things running on that box. [01:01:27] alright, strace [01:01:32] :) [01:01:34] sure [01:02:40] you should run apache2 -X in one window, and then attach to it with strace -p in another window, to avoid being spammed with startup syscalls [01:02:56] strace apache2 -X &>str & [01:03:11] the low CPU indicates that it's either waiting or dead [01:03:13] close 'nug [01:03:22] if it's waiting, strace will tell us what it's waiting for [01:03:28] aye [01:03:50] so the aim here is not to wait for the timeout, you should just look at what syscall is running for the bulk of the time [01:07:40] <^demon> TimStarling: When you get a chance, a few revs of mine you pegged as needing followup should be resolved (47900, 50313, 50635). No rush though. [01:08:40] you put comments on CodeReview right? it notifies me when you do that [01:09:20] <^demon> Yeah I did. Should all have links to the relevent followup revs. [01:14:01] thanks for that, I'll check them a bit later [01:14:31] <^demon> No problem. Should be pretty straightfoward. I've got a few other fixme's I'm hoping to commit this evening as well. [01:19:22] 03(mod) Add setting to hide a list of preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18761 (10jidanni) [01:26:56] hello I am trying to revert spam and I get "The edit could not be undone due to conflicting intermediate edits." [01:27:05] How do I revert -f [01:27:31] if you have rollback, use it [01:27:51] if not, or if there are multiple spammers per page, go into the page history, find the last good revision, edit it, and save [01:28:52] Great, thanks [01:29:07] and what is the recommended solution for spam? [01:29:35] !e SpamBlacklist [01:29:35] --mwbot-- http://www.mediawiki.org/wiki/Extension:SpamBlacklist [01:30:08] great, thank you! [01:32:31] TimStarling: I've worked out the issue, the MTU on a tunnel was bad. So the page that was returned wasn't getting returned correctly. [01:34:10] mmm, should have guessed [01:34:37] so strace would have shown you apache waiting to write to the network [01:35:41] Well, trying to write to the network, but the socket was closed. [01:36:52] But it lead me in the right direction. I've had issues with MTU on this tunnel before. But I'm sure that I'd tried editting some stuff while at the other end of the tunnel and had issues. [01:36:57] I guess I'm remembering wrong. [01:38:31] spam blacklist will fail. all edits come from 127.0.0.1 due to whatever special setup sourceforge has [01:38:42] any other recommendations? [01:38:59] well, it was a productive debugging session anyway [01:39:06] fulld: I don't see how, SpamBlacklist doesn't care where the edits come from [01:39:16] it blocks the domains for /everyone/ [01:39:27] ah [01:39:30] it's always easy when you have a user who knows stuff [01:40:04] TimStarling: cool, thanks for your help! [01:40:13] no problem [01:53:54] 03shinjiman * r50804 10/trunk/phase3/ (5 files in 3 dirs): * (bug 18849) Added Japanese and North Korean calendars support [01:54:33] 03(FIXED) Implement Japanese and North Korean calendars - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18849 +comment (10shinjiman) [01:59:56] 03shinjiman * r50805 10/trunk/extensions/LocalisationUpdate/ (LocalisationUpdate.i18n.php LocalisationUpdate.php): Localisation updates Cantonese and Chinese for extension messages [02:05:05] 03(mod) Must check $wgEnableEmail before showing ANY email related preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18760 (10jidanni) [02:05:45] 03(mod) Must check $wgEnableEmail before showing ANY email related preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18760 +patch (10jidanni) [02:23:56] morning folks! [02:24:47] how can i debug a mediawiki extension? I get errors under a specific set of circumstances, would like to output value of certain vars deep in a hook's code. [02:25:06] !debug [02:25:06] --mwbot-- For information on debugging (including viewing errors), see . [02:25:24] OverlordQ: thx! [02:25:56] basically enabled logging toa file and sprinkle in some wfDebug calls :) [02:27:54] 03(mod) Implement Japanese and North Korean calendars - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18849 (10jidanni) [02:43:13] so i find that under Apache (on win32) all is good. under IIS, I see "undefined offset" from: explode('|', htmlspecialchars($input)) Is there simply a way for me to gobble the notices under MW ? [02:44:16] btw: these only display when using "show preview", not when a page is saved/viewed or even initially edited. [02:45:58] are you debugging your own extension, or someone else's? [02:46:11] someone else's. VideoFlash [02:47:02] can you show me the complete line that is giving the notice? [02:47:17] list($id,$width,$height,$style) = explode('|',htmlspecialchars($input)); [02:47:24] heh [02:47:26] i guess it is the list() that is acutally throwing the problem [02:47:32] yes [02:48:03] The input is the same regardless of "show preview" or simply "save page" [02:48:10] it's lazy code, the response when $input doesn't have enough parameters should be treated explicitly [02:48:12] in preview, notices. [02:48:19] o i c [02:48:31] like... $args = explode('|',htmlspecialchars($input)); [02:48:39] if ( count( $args ) < 4 ) { ... [02:48:46] and then handle $args[0], etc....i get it. [02:48:47] thanks! [02:48:49] yes [02:49:11] I'm a Perl guy at heart.... :) [02:49:48] it's silly because they have conditional clauses *after* the fact to deal with the values not being set. [02:50:01] well yeah [02:50:03] is this a behaviour change in newer PHP builds? [02:50:23] the developer probably doesn't have E_NOTICE enabled, so they don't realise it's a problem [02:50:40] i see [02:50:57] we recommend that all developers enable it, it's very useful for detecting references to undefined variables [02:51:06] so i could simply unset that in php.ini...but then i'd be running iwth not-so-good code [02:51:20] cool. you have learned me good. [02:54:07] anyone here used Special:Export ? [02:54:17] because I tried the examples from here http://www.mediawiki.org/wiki/Manual:Parameters_to_Special:Export [02:54:36] and they pulled out the entire history of the article(all the revisons) instead of just what I asked for [02:54:54] I thought it would take just 10 revisions starting from the offset [02:55:03] 03aude * r50806 10/trunk/tools/planet/en/config.ini: adjust Witty Lama's feed link to make it work [02:55:05] can anyone explain what's going on ? [02:58:07] what would be a good regex that matches a mediawiki-style date [02:58:27] for example, 21:27, 19 May 2009 (UTC [02:58:29] ) [02:58:41] harej: hang on, I know where I can find one [02:58:47] thank you [03:01:36] ([0-2]\d):([0-5]\d),\s(\d{1,2})\s(\w*)\s(\d{4})\s\(UTC\) [03:02:13] :D [03:02:34] It looks really confusing, but it works [03:02:54] It only accepts valid dates, too [03:02:59] 03shinjiman * r50807 10/trunk/phase3/languages/messages/MessagesZh_tw.php: additional date format for Taiwan Chinese language, per code review on r50778. [03:03:41] a few invalid ones, but who's counting [03:03:52] oh wait nm [03:03:55] damn colon [03:04:29] Oh right, the colon needs escaping [03:13:55] does anyone here know anything about the mediawiki debian package? i just installed it and i can't figure out how to access mediawiki. Going to http://localhost/mediawiki isn't doing it, and i see nothing in my /var/www/ that indicates mediawiki is there [03:15:10] DeFender1031: I would send an email to the maintainer of the package [03:15:26] hmmmmmm [03:15:30] now my bod wants to edit the main page [03:15:58] chuck, i don't think it's a bug or a package error, i think it's probably something i'm doing wrong. i was just wondering if anyone knew what it was [03:16:08] bot* [03:16:52] <^demon> DeFender1031: I just tried on Ubuntu, and it installed to /var/lib. Might be similar for you. [03:17:47] ^demon, that's where most of it ended up for me as well [03:18:15] DeFender1031: the package adds a config to apache's conf.d folder to create an Alias [03:18:17] try restarting apache [03:18:21] ah [03:18:41] and try /wiki as well I can't remember the exact url it uses [03:18:47] remind me how to restart apace? i'm sort of rusty [03:19:04] OverlordQ, it's definitely /mediawiki, i have a friend who did this before [03:19:36] sudo /etc/init.d/apache2 restart [03:19:41] thank you guys :] [03:19:45] anyone here knows anything about Special:Export ? [03:19:55] does that API still exist in mediawiki ? [03:20:06] has it changed since http://www.mediawiki.org/wiki/Manual:Parameters_to_Special:Export [03:20:06] thanks [03:20:12] has it changed alot ? can it still be used ? [03:20:22] what is different from when they wrote that stuff ? [03:21:03] hmm... still not working... [03:21:53] <^demon> DeFender1031: Check out /etc/apache2/conf.d/mediawiki.conf. It had the Alias commented out by default. [03:21:53] (and yes, i tried /wiki as well) [03:22:03] <^demon> Then restart apache again [03:22:40] hooray! [03:23:02] thanks OverlordQ, chuck, and ^demon, you guys are great [03:24:07] <^demon> At least we know the Debian/Ubuntu package more or less installs sanely :) [03:29:30] 03shinjiman * r50808 10/trunk/phase3/languages/messages/ (MessagesKo.php MessagesZh_tw.php): * (bug 18849) follow up r50778 and r50804, additional date format for Taiwan Chinese language and Korean language. [03:30:31] ^demon, any idea how to get parserfunctions working? [03:31:38] !parserfunctions | DeFender1031 [03:31:38] --mwbot-- DeFender1031: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [03:31:42] i installed the extensions package along with it [03:32:04] chuck, this is specifically in debian, i remember when my friend did it, the procedure was different [03:32:10] <^demon> The extensions package seems to have thrown a bunch of stuff into /etc/mediawiki-extensions/ [03:32:16] <^demon> Hell if I know why. [03:32:22] That's really odd [03:32:33] <^demon> and /usr/share/ [03:33:08] I guess Debian is too cool to install extensions just like every other MediaWiki site on the internet does [03:34:20] <^demon> If the mediawiki package is installing to /var/mediawiki (which is ok, the conf files make it all work just fine), it would be nice if mediawiki-extensions would install to /var/mediawiki/extensions like a sane install. [03:34:26] chuck, they are... they want it to be able to be installed through their package manager with no muddling on the part of the user [03:35:18] <^demon> DeFender1031: My advice is to not use the mediawiki-extensions package and install them by hand. If mediawiki is installed at /var/mediawiki, then put the extensions in the 'extensions' subdirectory of that. It's where they should normally go. [03:35:23] <^demon> Stupid package. [03:35:43] Or, email the package maintainer and figure out what they meant when they originally created the package [03:36:05] <^demon> That would be nice in the long term, yes. [03:36:17] ^demon, i would, but i seem to remember that following the regular instructions didn't work when my friend did it, apparently debian modifies sometyhing slightly to make it work with their setup [03:37:18] where did it install them to? [03:37:54] <^demon> /etc/mediawiki-extensions and /usr/share/mediawiki-extensions. The mediawiki package installed to /var/mediawiki [03:38:05] <^demon> It would follow that extensions should go in /var/mediawiki/extensions [03:38:25] some packages shove crap into /usr/share and then symlink iirc [03:42:02] ^demon, debian's system is typing into a console "mwenext " [03:42:31] i got it [03:42:37] thanks for all the help, guys [03:42:43] What's the most resource conservative way of running MediaWiki and PHP? [03:43:57] hmm... how do i make it not force capitalized page names? [03:44:16] <^demon> DeFender1031: http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks [03:45:03] what file is that var in? [03:45:13] LocalSettings.php [03:45:24] At least, that's the file in a regular MediaWiki installation. [03:45:37] <^demon> Do all your configuration in /var/mediawiki/LocalSettings.php [03:47:30] thanks [03:47:56] so noone knows anything about Special:Export ? [03:48:52] <^demon> spx2: It hasn't changed too much. That API should still work. In addition, there is now export in the normal mw api.php, so see those docs if you want that too. [04:08:18] <^demon> Anyone else with commit access around? [04:10:31] *^demon really needs to get his key set up on the other computer :-\ [04:19:26] ^demon: What's up? [04:22:04] Ugh, why is MediaWiki's Main Page taking FOREVER to load, when other pages load instantlyl... [04:22:07] <^demon> chuck: I need a patch applied to trunk mediawiki, can't commit right now. [04:22:07] *instantly [04:22:09] So peculiar [04:22:21] <^demon> http://pastey.net/114578 [04:22:22] ^demon: I can apply it if you'd like [04:23:03] <^demon> It's a followup to r50776, retaining the old method names for b/c, but marking them as deprecated. [04:23:20] Who is the patch by? Yourself? [04:23:25] <^demon> Yes. [04:23:40] <^demon> Damn key issues :( [04:26:55] <^demon> TimStarling: Are you about? [04:28:13] yes [04:28:30] I can add an extra key for you if you like [04:29:29] <^demon> That'd be great. http://pastey.net/114580 [04:29:34] ^demon: How should you be attributed in the commit message? ^demon, your real name? [04:29:51] <^demon> Just say patch by ^demon, or just wait for Tim to add my new key :) [04:30:05] Heh, sorry it took a while, I had to svn up [04:30:14] but, wait for it... [04:30:16] 03charlie * r50809 10/trunk/phase3/includes/AuthPlugin.php: [04:30:16] Follow-up to r50776. Retaining old method names for backwards compatibility, [04:30:16] but making them as deprecated. Patch by ^demon. [04:30:22] :P [04:31:11] done [04:31:14] <^demon> Thanks. [05:16:20] morning [05:16:30] rar [05:20:11] !rar [05:20:11] --mwbot-- rar [05:21:55] morning [05:23:36] will brion ever catch up with code review ? [05:24:05] the scapmap looks yellowish [05:24:39] that's because I reset it all back to new [05:25:19] oh i see [05:25:39] was that on purpose ? [05:25:46] yes [05:25:46] Tim: do you review in order, or do you wait for a dev to be around IRC and try to focus on theirs? [05:26:15] + * @deprecated Use allowPropChange() [05:26:19] wfDeprecated anyone? [05:26:24] I usually do it author by author [05:26:35] there's more continuity that way [05:26:55] and you get a better sense of the dev's coding style and what they know and don't know [05:27:15] I don't wait for them to be on IRC [05:27:17] hmm... why is it that {{#time: G:i:s|{{{1}}}}} produces inconsistant results if a time is not actually specified? example: different results for 1=1995 than it does for 1=10/25/76 [05:27:57] timezone? [05:28:35] I set them back to new because there was no way to tell what was properly reviewed and what wasn't [05:28:43] Nikerabbit, doesn't matter [05:28:57] TimStarling: so you'll review everything again ? [05:29:11] some people were making huge commits, and then marking them as "resolved" because they fixed some tiny part of it [05:29:58] the status log is still there, I sometimes will just respect whatever is in it [05:30:07] depending on who did the status change and what it was [05:30:14] Perhaps reviewing ability should be restricted or split? [05:30:45] maybe some day [05:34:09] DeFender1031: 1995 is interpreted as 19:95 [05:34:18] er, if it is a valid time that is, heh [05:34:18] TimStarling: which brings me, any idea how to make wfDeprecated useful? [05:34:23] Splarka, no it's not [05:34:30] 1959 as 19:59, 1960 as 1960 [05:35:08] it's outputting the right year [05:35:16] just... the time is inconsistant [05:35:32] are there some functions which keep being used in new code despite being marked deprecated? [05:35:32] you'll notice that i'm outputting hours, minutes, and seconds, and that neither of the inputs contains that data. i would expect that in such a case it would default to either the current time, or 0:00:00, but it seems to be doing neither in some cases and current time in others [05:36:04] It outputs differently on which wiki? [05:36:07] A personal wiki? [05:36:35] TimStarling: nobody knows, since it's not throwing notices anymore (the function documentation is wrong too now) [05:37:28] there are a number of things that could be dealt with in a pre-commit or post-commit hook [05:37:37] hmm [05:37:40] parse errors, unicode BOMs, eol-style [05:37:52] Marybelle, it's a local wiki, yes [05:37:52] searching for deprecated functions could be done too [05:38:08] using parsekit or token_get_all() [05:38:14] and i don't have port forwarding available where i am. if i was at home, i could make it available to you [05:38:25] SVN needs an AbuseFilter? [05:38:45] {{#time: Y-n-j G:i:s|1995}} - {{#time: Y-n-j G:i:s|10/25/95}} -> 1995-5-20 5:38:18 - 1995-10-25 0:00:00 [05:38:57] so I think designing and writing a commit hook would be a nice little project to deal with this sort of thing generally [05:39:05] looks like if you just specify the year, it gives you the time now of that year, but if you specify a date it gives you a zero-time for that date [05:39:34] Huh. [05:39:39] go bug ##php [05:40:09] http://uk3.php.net/manual/en/function.strtotime.php [05:41:00] Splarka: http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time: :o [05:41:01] Splarka, i'm getting 4:00:00 for certain things, 5:00:00 for other things, and current time for still other things [05:41:26] Nikerabbit: have read it, what about it? [05:41:30] and i kind of need a consistant way to read time, because the template i'm writing needs to be able to optionally take a time [05:41:37] Warning: The fill-in feature is not consistent; some parts are filled in using the current values, others are not: [05:41:42] yah [05:41:53] so don't feed crap to it :) [05:41:54] not the fault of MediaWiki [05:41:55] so then how do i parse dates and times consistantly? [05:42:19] Rewrite MediaWiki is a different language? [05:42:24] In, even. [05:42:31] i would disagree. putting in your documentation "we don't know how to write this function correctly" doesn't make it not your fault. [05:42:37] heh [05:42:42] ^ go bug ##php [05:42:49] oh right... [05:42:58] DeFender1031: it's not a MediaWIki problem it's a PHP problem [05:43:00] #time builds off of the php time function... [05:43:04] i forgot [05:43:08] Functionarionista. [05:43:09] builds off -> shells out to [05:43:12] heh, so it really ISN'T your fault, eh? [05:43:24] well, lets see who is NOT to blame [05:43:29] yeah well, php is full of crappy code, what can ya do? [05:43:39] port it to ruby [05:43:42] I thing somehow Ballmer is involved [05:43:46] Shouting in the MIDDLE of sentences makes for awkward conversation. [05:43:58] #time sucks anyway, it only speaks english [05:44:10] BRIAN BLESSED was here [05:44:28] I think it accepts food. [05:44:32] isn't not middle brian blessed? [05:44:44] People can be blocked for 1 chicken. [05:45:32] 03nikerabbit * r50810 10/trunk/phase3/includes/AuthPlugin.php: Added wfDeprecated too [05:45:38] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ParserFunctions/ParserFunctions.php?view=annotate [05:46:03] it is mostly brion and tim's not-fault [05:46:20] so do don't blame them [05:46:23] for one chicken?? [05:46:29] *apergos must be hallucinating [05:50:43] Splarka, i take back blaming MW [05:50:50] i blame php. [05:51:07] welcome to the internet! [05:51:44] thanks, glad to be here. ;) [05:52:47] Is it possible to give not logged in users (* i believe) read only access to ONLY index.php/Main_Page and nothing else? [05:53:33] http://www.mediawiki.org/wiki/Manual:$wgWhitelistRead [05:53:36] !access [05:53:36] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [05:54:04] oh_noes: you'll also wanna give access to Special:UserLogin or you won't be able to, heh [05:57:07] login, logout, password reset, etc. are automatically whitelisted [05:57:48] Splarka, after discussing it with someone, i take back blaming php and blame MW again. apparently the function is not intended to be used the same way as the {{#time}} function is [05:58:16] DeFender1031: well, but #time has clear warning that it is inconsistent [05:58:53] *Splarka hands DeFender1031 over to Tim... [05:59:20] Nikerabbit, true, but as i said before, putting in your documentation "we don't know how to write this function correctly" doesn't make it not your fault. Granted it's more like "we're not USING this function correctly" but still... [05:59:58] i can't really blame you though, because without using strtotime you wouldn't have a {{#time}} function at all so... [06:00:01] so, you keep quoting that, where does it say "we don't know how to write this function correctly" [06:00:24] and who do you mean by "we", any mediawiki users who happen to use it, whoever wrote that page, or whoever edited the relevant parts of ParserFunctions? [06:00:46] Splarka, i was paraphrasing the "Warning: The fill-in feature is not consistent; some parts are filled in using the current values, others are not" [06:01:06] quite a leap [06:01:39] DeFender1031: did you get that from ##php? [06:01:53] TimStarling, no [06:02:15] *OverlordQ grabs popcorn [06:02:25] *Splarka sells funnelcakes [06:02:27] *charitwo steals OverlordQ's popcorn [06:02:34] *charitwo also buys a Splarka funnelcake [06:02:39] but i'm told that strtotime is meant to interpret what you most likely mean, so depending on how your DATE is formatted, your TIME will come out differently [06:03:22] caveats on mw:Help:Extension:ParserFunctions#.23time: are not meant to be interpreted as "the devs are lazy and stupid", but are meant to warn you that strtotime sucks [06:05:38] apparently it doesn't suck, but tries to fill in the time as best for the date it's given. if you give it an american format, it'll do 0 time in DST, if you give it a european format it'll do 0 time without DST, and if you say "next tuesday" it'll do current time, because that's what "makes the most sense" in each of those cases [06:05:58] there IS a certain logic to that [06:05:59] it's nice that we have strtotime() and parse_date.c [06:06:39] it's just a pity that Derek is so combative and hard to talk to about any bugs or features [06:07:10] DeFender1031: it /does/ suck, as Nikerabbit said above [06:08:12] we will just have to make do with what we're given, I think [06:08:24] whatever the case, can you guys think of any way that with the current parserfunctions and the current {{#time}} i could write a template that has the interpreting functionality and deals with absent times consistantly? [06:08:32] so you can't write your own function if PHP's doesn't do what you want? [06:08:45] who limits themselves to the built in libraries? [06:08:48] you've seen the size of the function right? [06:09:11] it's one of the most massive things in the whole of PHP [06:09:30] DeFender1031: if you need consistency, put in a dummy time, although be careful not to use a dummy time from midnight to 3 AM [06:09:41] I don't think it makes sense to reimplement it unless there's some *really* good reason [06:10:26] DeFender1031: maybe add some tricks like {{#ifeq:{{#time:G:i:s|{{{1}}}}}|0:00:00|define time|do nothing}} [06:10:36] inside another #time [06:10:38] insane_coder, unfortunately, i can't do that, as i'm writing a template. the user of the template would have to be the one to include the dummy time, and that's exactly what i want to avoid [06:10:42] you do not want to use 0:00:00 [06:11:11] that is just checking /against/ 0:00:00 [06:11:37] Splarka, as i said, it's not outputting 0:00:00 for me anyway [06:11:49] it's this 1700 line file: http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/parse_date.re?revision=1.26.2.27.2.15&view=markup [06:11:57] tricks /like/ [06:12:02] which generates these 24000 lines of C: http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/parse_date.c?revision=1.102&view=markup [06:12:04] substituting in whatever funky times you're getting [06:12:19] which is, IIRC, by far the biggest C file in PHP [06:12:34] do you have a custom $wgLocaltimezone ? [06:12:49] Splarka, except is the time actually IS the funky time, it'll kill the templat [06:13:12] picky picky [06:13:33] not picky, i just like stuff to work right [06:13:54] *Splarka wonders who will say "then don't rely on #time" or "don't use mediawiki then!" [06:15:04] http://www.filmjunk.com/images/weblog/2009/05/treknobabble65.jpg [06:16:51] hmm [06:17:08] DeFender1031: maybe {{#ifeq:{{#time:n-j G:i:s|{{{1|1995}}}}}|{{#time:n-j G:i:s}}|dummy year entered|good date}} [06:17:13] Splarka, how about this. if i offered to write a function in php that was similar to strtotime (such that it supported everything that strtotime supports and maybe more) yet was consistant about fillers, would you guys include it? [06:18:06] *Splarka hides behind the funnel cake machine [06:18:48] TimStarling, do you have an answer or do you too have a sudden craving for funnel cakes? [06:19:20] yes [06:19:22] How would you write a better function? [06:19:49] I think that would be very useful [06:20:12] and localizable inputs? [06:20:14] but like I say, it's a big project [06:20:25] thousands of lines [06:20:28] is that "yes i would include it" or "yes i want funnel cakes"? or both? ;) [06:20:42] en-gb vs en-us for 1/2/2009 vs 2/1/2009 [06:20:52] yes, I would include it, assuming it's of an appropriate quality [06:21:25] alright... well, i'll see what i can do with it [06:21:50] Marybelle, i have a bit of a knack for parsing [06:21:52] Splarka: You're a Debbie Downer. [06:22:16] I have a knack for naps. [06:22:17] I prefer to see the glass as half full... [06:22:19] of arsenic [06:22:34] I see it as the glass is too big [06:22:46] hahahahaha [06:26:31] Splarka: x/y/z is always US [06:26:39] sigh [06:26:44] which is why everyone should use y/m/d [06:27:11] 02-01-90 [06:27:26] insane_coder, i've seen it like that elsewhere, only the month and day are reversed [06:27:40] 3/4/2005 == March 4 2005 - 12:00:00 AM [06:27:41] 3-4-2005 == April 3 2005 - 12:00:00 AM [06:27:43] 3.4.2005 == April 3 2005 - 12:00:00 AM [06:28:23] if the US uses m/d/y, why do the green visa waiver cards ask for a date in d/m/y format? [06:28:25] the point is, if DeFender1031 is going to improve strtotime for mediawiki, it should understand non-American [06:28:58] strtotime() already understand non-american [06:29:09] the question is, do you know how to enter a non-american date? [06:29:37] is it because the only people filling out those cards are not american citizens? [06:29:44] Splarka, well, here's the thing, in a case where one number is greater than 12, it's obvious what the format is. in a case where it's not, the function has to choose what format to go with [06:29:48] and if so, do the customs cards use m/d/y? I don't remember [06:30:15] TimStarling: an international company can do whatever the heck it wants, and generally they try to follow their biggest customer base [06:30:18] DeFender1031: and it should probably choose based on site content language, like formatnum|R does [06:30:27] but if the language is 'en' it can't decide that way [06:30:43] Anything internationalized will use d/m [06:31:15] insane_coder: pfft they should be following iso8601 and then having their front end detect what the end users system is using then displays the data in that [06:31:29] insane_coder: visa as in... the thing you need to get into a country, not visa the international company [06:31:35] If you want Euro, use - not / [06:31:54] That makes bad assumptions about end users. [06:31:55] TimStarling: US Visas are not in US format? I doubt it [06:32:03] Namely that they'll follow your arbitrary guidelines. [06:32:15] insane_coder: how many times have you been through US customs? [06:32:17] my US passport is month/day while my non US passport is day-month [06:33:30] http://www.floridalifeandleisure.com/img/i95wa.jpg [06:33:34] {{#time: Y-n-j G:i:s| 22:01, 5. Dez 2005 (CET)}} [06:33:38] guys, listen, i can probably do this, the hardest part is deciding what to do in ambiguous cases [06:33:38] 'Error: invalid time' [06:33:41] that's the form I mean [06:33:44] ^it doesn't understand German [06:34:11] see, it asks for date of birth in "day/mo/yr" form [06:34:28] interesting [06:34:47] DHS must be trying to make things easier for evil foreigners [06:35:00] if it's 31/10 i know it's d/m, if it's 10/31 i know it's m/d, but if it's 10/8 i have no idea [06:35:14] 10/8 isn't a date, it's an IP network! [06:35:17] *OverlordQ 's passport has a DMY expiration date :D (completely irrelevant) [06:36:04] http://www.greghughes.net/images/vader2_small.jpg "Go on, rewriting Strtotime will be easy!" [06:36:09] hmm... actually, in ambiguous cases, i think i'll make it default to whatever php's thing already does for backwards-compatibility [06:36:15] this is the customs form: http://www.mawba.com/CBP/samplecustoms.jpeg [06:36:16] does that make sense? [06:36:37] TimStarling, ^^^ [06:36:40] Splarka: just because PHP guys don't have a clue what they're doing, you think it's hard to write such a function? [06:36:48] see, it has day/month/year for DOB and the signature line, and it's given to americans [06:37:18] DeFender1031: I think you should look at what the existing code does [06:37:20] guys? can i get some focus? i'm willing to attempt to write this function if you guys will give me some feedback [06:37:22] and do the same thing [06:37:32] TimStarling, thanks, that's what i said [06:37:41] so that we can switch to your version without totally breaking the site [06:37:59] only i'm not going to copy the existing code, but make it parse the same way for all cases [06:38:05] exactly [06:38:37] well, I already pasted what the existing code does [06:39:06] indeed, but i'm gonna have to go more in depth than that... cover every format and possibility [06:39:35] for example: x/y could be d/m, m/d, or m/y [06:39:51] i need to check what php does in those cases [06:39:54] it'd probably be ideal to have a parent function to detect the ovarall format, then pass of to one of half a dozen sub functions to handle that specific format [06:40:08] I already told you what PHP does [06:40:14] x/y is US x-y is Euro [06:40:31] oh you mean just 2... [06:41:10] insane_coder, unfortunately, not always possible, as i just said. m/d is a different format from d/m, but looks similar enough that i don't know which it is until i parse it [06:41:25] add in m/y, and forget about it [06:41:31] I got you results [06:41:37] I don't want to paste it here though [06:41:44] PM then [06:41:59] hey, insane_coder you wanna work with me on this? [06:42:20] possibly [06:46:11] hmm [06:46:13] sooo useles [06:46:26] http://translatewiki.net/sandwiki/index.php?title=Special:GenderPie [06:47:23] no girls on the internet [06:48:38] http://translatewiki.net/sandwiki/index.php?title=Special:GenderPie/skin [06:53:09] Nikerabbit: http://translatewiki.net/sandwiki/index.php?title=Special:GenderPie/language [06:54:07] haha: http://translatewiki.net/sandwiki/index.php?title=Special:GenderPie/timecorrection [06:54:10] is it possible to say 'new group X has same permissions as 'sysop' ? [06:54:39] I'm using LDAP and hoping to be able to say "if they are in LDAP group XX, make them sysop" but I'm a tad confused [06:56:34] Splarka: don't abuse while I am developing [06:56:52] Nikerabbit: don't make fun features public while developing! [06:57:06] *Splarka hides [06:58:38] lol php sucks [06:58:52] array array_slice ( array $array , int $offset [, int $length [, bool $preserve_keys= false ]] ) [06:59:08] if you want to set preserve_keys to true, you have to set $length [06:59:12] by default is the rest [06:59:23] 0 takes 0, -1 takes all but the last one [06:59:29] WTF should I put it there to take everything [06:59:42] -0 ? heh [07:00:10] http://en.wikipedia.org/wiki/%E2%88%920_(number) [07:01:21] testing [07:01:28] (was a joke...) [07:01:32] nope [07:01:49] 04(REOPENED) Have CURRENTMONTH render without the leading digit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5755 +comment (10shinjiman) [07:01:54] null? [07:02:13] nope, and false neither [07:02:15] fuck you php [07:02:52] hmm [07:02:59] "If the array have string keys, the returned array will allways preserve the keys." [07:03:13] guess I do not want to preserve keys after all [07:06:43] http://test.wikipedia.org/w/index.php?title=Special:Log&page=User%3AAndrew_Garrett [07:07:13] Splarka: try now [07:07:48] Nikerabbit: nice! [07:07:57] 1% threshhold? [07:07:59] Q: does someone want this in svn? [07:08:09] Splarka: hard limit 7, after that it starts re-using colors :< [07:08:13] core! [07:08:17] *Splarka hides again [07:08:30] though it does need a better name, heh [07:08:42] Splarka: and lot's of polish :DDD [07:10:12] hmm, maybe you could have an ?offset parameter, like ?offset=7 would cut out the top 7 and show you the next 7 [07:11:17] i dlaczego musisz Polski? Angielski nie jest zły wystarczy? [07:12:59] Splarka: why oh why :D [07:13:01] Splarka: http://translatewiki.net/sandwiki/index.php?title=Special:GenderPie [07:13:58] some options should just be removed, like searchlimit and contextlines [07:14:19] 03shinjiman * r50811 10/trunk/phase3/ (4 files in 4 dirs): [07:14:19] * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the month number without the leading zero [07:14:19] * added {{CURRENTMONTH2}} and {{LOCALMONTH2}} as alias of {{CURRENTMONTH}} and {{LOCALMONTH}} for consistency with other magic words [07:15:00] looks ugly [07:15:06] .....how long until all the time magicwords accept parameters [07:15:20] core is getting bloated [07:15:56] Nikerabbit: is it currently limited to those? [07:16:12] Splarka: no, why? [07:16:24] 03(FIXED) Have CURRENTMONTH render without the leading digit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5755 +comment (10shinjiman) [07:16:53] just wondering [07:19:19] Splarka: what? [07:19:23] Splarka: dont' hide info! [07:19:39] well, like I was able to call up /autopatrol despite it not being on your list [07:20:20] Splarka: then it is missing from $wgDefaultSettings... please file a bug? [07:20:22] Does log action include move? [07:20:34] (For the test.wikipedia de-adminning.) [07:23:23] Marybelle: huh? [07:23:46] "Remove sysop rights from accounts that have not performed at least 1 log action in the last 6 months" [07:23:57] http://test.wikipedia.org/wiki/Wikipedia:Administrators#Admin_removal [07:27:00] Marybelle: just see the dropdown on special:log ? [07:27:13] I guess. [07:29:58] rcdauselivepreviewys rrememberpasswordcdays wtf [07:31:19] how do I stop the group users from seeing/accessing the Special:SpecialPages page? [07:32:29] !defaultsettings [07:32:29] --mwbot-- For the current version of DefaultSettings.php, see: . [07:33:41] oh_noes: why? [07:33:57] it wouldn't prevent them from using the special pages [07:34:11] because I'm creating a wiki for normal users to just read browse anythinng but a few pages I've created [07:34:30] THeres nothing in the special pages they need to see, so I'd like to remove there access [07:34:57] well, just remove the link from the skin? [07:35:02] *sigh* [07:35:21] !restrict [07:35:21] --mwbot-- I don't know anything about "restrict". You might try: !access !cms !rights !secrets [07:35:27] !access [07:35:27] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [07:35:31] sigh indeed [07:35:41] I don't know where people get these funny ideas [07:35:49] can somebody protect http://www.mediawikilite.org/wiki/index.php?title=Main_Page ? [07:36:25] I dont think anybody here is related to that wiki, so no. [07:36:33] cfty: ask the wiki owner [07:36:36] I swear there was a variable to restrict certain Special: pages. I've seen wikis block Special:Version before... [07:36:57] 03thedevilonline * r50812 10/trunk/extensions/LocalisationUpdate/ (KNOWN_ISSUES.txt LocalisationUpdate.php): - Standardized the code to get the contents of an external file using Http:get (Ty Nikerabbit) [07:36:59] its been bot attacked for a while [07:37:16] Marybelle: special pages can be restricted, one by one [07:37:26] but that is just stupid [07:37:35] Heh. [07:37:37] *Marybelle sleeps. [07:38:38] cfty: That wiki is unrelated to this channel, I'd suggest finding whoever runs that wiki [07:38:58] ok, it was linked from mediawiki but by an outsider i guess [07:39:09] as an example of an sqlite mediawiki [07:39:17] poor example then :D [07:39:24] http://www.mediawiki.org/wiki/SQLite [07:39:53] 1.13 is old anyway... [07:45:48] whats the function that logs a user in? [07:47:37] why are you assuming it is an function? [07:47:54] is not [07:47:58] *im not [07:48:57] 03thedevilonline * r50813 10/trunk/extensions/LocalisationUpdate/LocalisationUpdate.php: Changed eregi_foo functions into preg_foo functions [08:12:28] 03shinjiman * r50814 10/trunk/extensions/DynamicPageList/ (DynamicPageList2.php DynamicPageList2Include.php): update the DPL codebase to 1.7.8 [08:18:49] 03shinjiman * r50815 10/trunk/extensions/DynamicPageList/DynamicPageList2.php: follow up r50814, fixing up author and path details [08:36:11] hi Splarka [08:36:59] I didn't do it! nobody saw me do it! you can't prove anything [08:37:06] I was in france at the time [08:51:42] 03(mod) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 +comment (10happy-melon) [08:57:48] 03nikerabbit * r50816 10/trunk/extensions/UserOptionStats/ (5 files): Useless but pretty extension. Thanks go to Splarka for testing. [08:57:54] if i create a gallery it displays the filename of the images as text rather than as a link to the upload page. How can i fix that? [08:59:11] for missing files you mean? [09:00:17] 03(mod) Only ask gender by default if it will be in fact used for the current language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18841 +comment (10happy-melon) [09:07:05] bompo: I believe this is what changed that behavior: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/ImageGallery.php?r1=15164&r2=15163&pathrev=15164 [09:08:03] it used to be if the namespace wasn't NS_IMAGE it would print the text and skip... else it would do regular [[Image:~~~~]] on the file, which itself would check if the file existed and create an upload link if missing [09:08:20] but this change seems to check if the image is thumbnailable, and if not, just print the text [09:13:15] 03siebrand * r50817 10/trunk/extensions/ (6 files in 3 dirs): [09:13:15] * tweaks for UserOptionStats [09:13:15] * add UserOptionStats to Translate [09:18:05] so its a bug? [09:18:43] it is a "feature" [09:18:48] :P [09:18:50] *Splarka points to bugzilla [09:19:00] ok [09:19:10] thanks [09:19:40] though you aren't the firs to ask, this week even [09:19:50] http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20090513.txt [09:20:01] [18:16:46] Well a couple of months (maybe years) ago, it used to default to a pattern, which when clicked, brought you to the uplaod file screen, with the filename in question as the default filename. Would it be possible to go back to that [09:21:47] hmmm [09:21:53] is already an open bug it seems [09:21:55] https://bugzilla.wikimedia.org/show_bug.cgi?id=15464 [09:22:28] hi Splarka Splarka [09:23:04] bah, greeted again! are you finnished? [09:23:09] *Splarka pokles rabbit [09:23:14] heh [09:24:10] hmm, http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/ImageGallery.php?r1=14792&r2=14791&pathrev=14792 [09:24:16] *Splarka is guessing this is when it stopped? [09:27:01] bompo: https://bugzilla.wikimedia.org/show_bug.cgi?id=15464 [09:27:10] 03(mod) Feature: missing gallery image names become upload links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15464 (10herd) [09:30:26] 03siebrand * r50818 10/trunk/extensions/LocalisationUpdate/ (4 files): Tweaks for LocalisationUpdate [09:54:40] 03(NEW) HTMLtidy moves whitespace around - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18851 normal; Normal; MediaWiki: Page rendering; (hartman) [10:16:57] imagegallery.php: "if( $nt->getNamespace() != NS_FILE || !$img )" <-- this one should return true, if the image isnt uploaded yet [10:17:19] and so it just renders as text [10:56:54] Hi! How can I correctly redirect to another local title in the hook, before the output of the page? Which hook is the most suitable? I use $wgRequest->response()->header and $wgOut->redirect() in 'ArticleSaveComplete', both have no effects [10:57:46] no redirect happens. [10:58:13] I guess it's either a wrong hook, or a wrong exemplar of the object. [10:59:55] hi, i want to setup group based ACL which.. ldap authentication + ldap holds data about which group user belongs to [11:00:26] and in creation of article user must decide if the article is publicly readable or not [11:00:45] have anyone done that kind of thing, is it possible? [11:01:45] i know ldap authentication is possible and some kind of group ACL... [11:02:37] aha... i think Extension:Group_Based_Access_Control has this.. dunno if it works with LDAP though [11:02:54] mediawiki is *really* not designed for that [11:02:59] yep :( [11:03:06] there might be extensions that claim to do it, but the architecture of mediawiki is inherently not secure [11:03:08] i kinda understood that [11:03:20] so i wouldn't want to rely on them [11:03:32] psst: !morbo and then !lockdown [11:03:50] ilvez: try writing your own extension which would use 'userCan' hook [11:03:56] flyingparchment: do you suggest any wiki that has ACL implemented better? i can go with enterprise solutions too; it's for university [11:04:06] ilvez: confluence does exactly what you want [11:04:40] userCan is very fine-grained, just too permissive by default. [11:04:51] ok, confluence is in watchlist, i wanted to implement it, but there was some misunderstandings, maybe now i can push it through [11:05:09] flyingparchment: any other options you can think of? [11:05:22] no, i only use conf and MW, those two do anything i need from a wiki [11:08:21] flyingparchment: thank you for your help [11:15:13] o/. is there some specific place where it's possible to propose new hooks to be added? [11:16:32] mibbim: bugzilla [11:16:41] alright [11:18:01] mkay. i will submit a patch later today :) [11:20:41] hello [11:21:18] heya [11:27:15] i just set up an extension to represent an upload window (floatbox JS one). the plan is that other extensions can use this one using a hook. the problem is that for the hook to be useful i need to pass the information of the original caller (creator) of the window to it. any ideas how to get the caller? [11:27:39] 03(mod) Size thumbnails in galleries according to user preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1340 (10public.wiki) [11:29:35] i suppose i could try to stash the caller to some global when upload window is created and see how that works out [11:30:37] oh. cool. floatbox has fb.fbContent that points to the data i need :) [11:41:00] 03(NEW) Supporting the play of MIDI files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18852 enhancement; Normal; MediaWiki extensions: OggHandler; (public.wiki) [11:41:14] uh what [11:41:17] ogg..midi? [11:41:49] Nikerabbit: you can render them to Ogg and provide playback with ogghandler [11:41:52] it's what Extension:ABC does [11:43:05] abc..ogghandler..food? [12:00:51] and the crowd goes wHAOOOOOOOO ... freakz r in da houz [12:03:30] 03(mod) Implement Japanese and North Korean calendars - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18849 (10jidanni) [12:03:37] 03(mod) Feature: missing gallery image names become upload links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15464 (10bompo) [12:20:58] 03(NEW) Incorrect quoting kills Javascript in Swedish localization - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18853 major; Normal; MediaWiki extensions: SemanticForms; (lanceskoglund) [12:28:29] hello. i need some help. How can i create non-talk page and how to change regular page to non-talk? [12:29:20] 03rotem * r50819 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update. [12:29:24] hello. i need some help. How can i create non-talk page and how to change regular page to non-talk? [12:31:00] anyone? [12:31:02] create page, click talk, click protect, grant admin only ... i think that should do the trck [12:32:44] i don`t see a protect option [12:33:29] it should be in the tabs just like talk ... on the top of the page [12:35:14] when i click talk, i have edit and add comment [12:36:14] i found it [12:36:16] thanks [12:37:13] another happy customer :d [12:38:01] hi [12:38:24] sup [12:46:05] I guess this is very basic. But when I upgraded my workstation my local mediawiki lost it's mysql database. Can I somehow make mediawiki recreate it's tables so I don't have to download mediawiki and add my skins and so on again? [12:50:27] 03(NEW) text-decoration:blink CSS should be disabled by the parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18854 enhancement; Normal; MediaWiki: Page rendering; (etdp01) [12:51:30] 03(mod) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 (10jidanni) [12:55:15] Hey everyone. [12:55:22] what? [12:55:49] Is there an option to disactive registration/login in order de open the wiki for everyone ! [12:56:01] ?* [12:56:54] it is alraedy editable by anyone with default settings [12:57:03] 03(mod) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 (10jidanni) [12:59:28] 03(mod) Incorrect escaping kills Javascript in Swedish localization - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18853 (10niklas.laxstrom) [13:03:58] 03(mod) text-decoration:blink CSS should be disabled by the parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18854 (10niklas.laxstrom) [13:04:49] Okay, another question : Is it possible to close the wiki with for example a Maintenant Page. [13:08:11] DjAngo23: close whole wiki? close one page? [13:15:56] Nikerabbit: Whole Wiki [13:16:17] close how? [13:24:08] 03kim * r50820 10/trunk/extensions/LocalisationUpdate/uninstall.sql: iadd unisntall.sql (from memory) [13:24:48] 03kim * r50821 10/trunk/testing/installer/installfiles/extensions/LocalisationUpdate.install/ (8 files): Add install dir for LocalisationUpdate [13:27:18] :o [13:27:21] no kim here? [13:36:09] 03(mod) Multiple search terms are not enforced properly for Chinese - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8445 (10jidanni) [13:36:32] 03(mod) Multiple search terms are not enforced properly for Chinese - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8445 (10jidanni) [13:51:34] 14(WFM) Create accounts by email vs. $wgEnableEmail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12417 +comment (10jidanni) [14:02:40] 03(mod) DefaultSettings.php $wgReadOnlyFile comment clarifications - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12433 (10jidanni) [14:03:26] 03(mod) DefaultSettings.php $wgReadOnlyFile comment clarifications - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12433 (10jidanni) [14:31:02] 03simetrical * r50822 10/trunk/phase3/includes/DefaultSettings.php: [14:31:02] Clarify comment on $wgAllowRealName deprecation [14:31:02] As suggested by jidanni on bug 18761. [14:31:05] 03(mod) Add setting to hide a list of preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18761 (10Simetrical+wikibugs) [14:36:11] is there an easy way that i can flag the tidy plugin to automatically run on every page? some pages have some random html garbage and it cleans it up but the mediawiki source is a bit of a beast for me to understand where to start with it [14:36:40] $wgUseTidy? [14:36:57] 03yaron * r50823 10/trunk/extensions/ExternalData/ (ED_Settings.php ExternalData.php README): "ED_Settings.php" renamed to "ExternalData.php" [14:37:38] 03yaron * r50824 10/trunk/extensions/ExternalData/ (ExternalData.php README): New version: 0.6.1 [14:38:09] Simetrical, if i set that to true in localsettings that should do it? [14:38:19] !wg UseTidy [14:38:19] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgUseTidy [14:38:22] See the manual page. [14:38:29] It might not be *quite* that simple, MediaWiki needs to know where Tidy is. [14:38:57] ugga bugga [14:38:59] its already loaded and im using it as a button on the top of the wiki already [14:41:20] wow, that looks much better on a few pages that would normally be ugly, thank you very much [14:44:05] ugga bugga [14:45:49] 14(WFM) Add "nofollow" to links to Special:Random on navigation panel and search engines - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8411 (10jidanni) [14:46:46] Hi! Does anyone know how to properly perform redirect to another title in (or after) 'ArticleSaveComplete' hook? I've tried both $wgRequest->response()->header() and $wgOut->redirect(), both has no effect. [14:47:51] 03(mod) text-decoration:blink CSS should be disabled by the parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18854 +comment (10happy-melon) [14:49:52] QuestPC: if you get the answer, tell me to [14:50:36] Nikerabbit: ok [14:51:11] QuestPC: it should work anyway [14:51:24] QuestPC: are you sure the hook is executed? [14:52:16] Nikerabbit: absolutely sure. another title with article is being created in the same hook. [14:53:12] QuestPC: anyway that might not be the best place for it.. edits can happen without the webinterface too [14:53:48] but still, it should work [14:54:39] QuestPC: tried $wgDebugRedirects ? [14:54:41] Nikerabbit: Well, I can tell the story - users found technically difficult to create titles with question marks. So, I'm trying to automatically create title with question marks stripped which has #REDIRECT to title with question marks. Title creates just fine. Redirect doesn't work. [14:54:47] have you checked if it is even in the headers? [14:55:27] huh [14:55:35] 03(mod) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 +comment (10roan.kattouw) [14:55:37] what is hard in creating titles with question marks? [14:55:52] Nikerabbit: thanks, I'll try. there are huge amount of $wg variables, I'd prefer there were few static classes instead, based on the variable category. wgDebug::redirects and so on. [14:56:17] hi all. Can I show realname instead username? [14:56:30] fernando: where [14:56:42] Nikerabbit: history for example [14:56:44] Nikerabbit: Probably httpd eats these question marks during mod_rewrite when the user enters new url. [14:57:19] QuestPC: users should not enter the url :o [14:57:38] if they are clever enough to alter it, but stupid enough not to know ? is special.... [14:57:53] Nikerabbit: http://mywiki.priv/wiki/My new article with question mark? creates the title with question mark stripped. [14:57:58] fernando: $wgAllowRealName = true; ? [14:58:11] Nikerabbit: probably even in wikipedia. (I haven't checked) [14:58:28] darn, it doesn't even change it [14:58:32] except in credits [14:59:14] Nikerabbit: I am not even sure these would be properly linking.. but first of all, I want to create these. Did you create any, do they always work fine? [14:59:46] there is nothing special in ? except that it is delimeter in query strings [15:00:29] Nikerabbit: I know it's the delimeter. That makes it very special. Even escaping with %3F doesn't always help. [15:00:45] 03(NEW) require(./commandLine.inc): failed to open stream: No such file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18855 normal; Normal; MediaWiki: Maintenance scripts; (jidanni) [15:01:02] QuestPC: if it doesn't, fix your broken url rewrite rules [15:01:40] Nikerabbit: there were very much pain to write rules. also, I am not even sure it would work in wikipedia, too. [15:01:40] Nikerabbit: yes [15:02:18] Nikerabbit: I'll check right now in russian wikipedia [15:03:19] Nikerabbit: question mark at the end was stripped. so, russian wikipedia also has wrong mod_rewrite rules? [15:03:26] fernando: if it is possible, it's so well hidden I can't find it... I'm leaning towards that it is not possible [15:03:31] QuestPC: no [15:03:43] you need to encode it [15:04:22] Nikerabbit: yes, with %3F it seems to save the ? [15:04:52] %3F is ugly to the users, though [15:05:56] 03yaron * r50825 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: Fixed accidental hardcoding of message [15:06:08] QuestPC: that's why there are the search form and dozen other forms to create an article [15:06:45] Nikerabbit: thanks [15:08:31] 03shinjiman * r50826 10/trunk/phase3/languages/Language.php: follow up r50804, fix undefined variable error. [15:08:43] Nikerabbit: ok, but I've been asked to make it work from address line. anyway, it doesn't directly relates to redirect [15:08:51] Nikerabbit: you're right, I should check the headers. [15:24:17] :( [15:24:32] I was totally hoping WP:THAT'SJUSTSTUPID was an actual shortcut on Wikipedia. [15:25:10] That kind of shortcut usually gets deleted, thankfully. [15:25:25] (cf. WP:DICK) [15:25:35] Hey, that one is rude. [15:25:36] Actually, that works. [15:26:10] It was deleted from Wikipedia. [15:26:56] svip ... why's DICK rude ... could be a name? [15:27:25] freakolowsky: because it refers to "Don't be a dick" policy? [15:27:51] freakolowsky: Not in my country. [15:28:32] svip: since when are names limited to country [15:28:43] It is here. [15:28:59] Here a dick is something you keep in your pants. [15:29:09] Not a Vice-President. [15:29:55] ??? u trying to sell me that if i move to your country and have a kid i couldn't name him dick (for whatever reason i might wanna do that in the first place) [15:30:24] You are correct. [15:32:05] svip: no rudeness indended, but what silly country do you come from? [15:32:11] Denmark. [15:32:21] Our country has a clear naming policy. [15:32:28] 03(NEW) RevisionsBeforeDiff hook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18856 enhancement; Normal; MediaWiki: Page editing; (bebraw) [15:33:07] 03(mod) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 (10jidanni) [15:33:27] *freakolowsky googling Danish naming laws [15:33:51] Wikipedia does not have an article? [15:33:53] Shameful. [15:33:59] lol [15:36:25] Howdy, is there any documentation on what the LANGUAGES keyword does in MediaWiki:Sidebar ? I've hunted around, but it doesn't seem to be well documented [15:37:17] I assume this puts a box listing all the translations for a page in the SideBar, similar to putting {{Languages}} in the footer, but I can't confirm that ..? [15:38:40] you have alist of approved names?!?! ... and i thought USA was funny where you could actually name a kid 7of9 [15:38:51] Indeed. [15:39:05] nated ... [15:39:10] ��oops [15:39:27] nated: MediaWiki has a range of known language codes, which it will produce links for on the sidebar, when using interwiki links. [15:39:45] e.g. de: will be recognised as a German link, and will be assumed to be put on the sidebar. [15:40:03] Of course, you need to add these links to your interwiki table. [15:40:15] As it cannot have that much of an idea of where they are going. [15:40:18] Who would? [15:40:25] :) [15:42:14] ahh, so following the documentation here: http://www.mediawiki.org/wiki/Interwiki#Interwiki_links_to_other_languages [15:42:58] would allow the LANGUAGES keyword to automatically populate the sidebar with relevant data. Am I understanding that correctly? [15:43:52] nuffadis 4 today ... off [15:49:44] 03shinjiman * r50827 10/trunk/phase3/languages/Language.php: follow up r50804, adding two further Japanese era names. [15:51:23] What interface message would I add to? [15:55:28] TimStarling: Why would adding *.wikimedia.org to the CentralAuth autologin be dangerous? [15:57:42] because there are lots of domains in there that aren't properly controlled, like the toolserver and OTRS and bugzilla attachments [15:59:16] So logon would fail. [15:59:25] Oh, wait, they'd get the cookie. [15:59:28] Dumb me. [16:00:57] TimStarling: the toolserver wiki is on toolserver.org [16:04:35] there are CNAMEs still [16:05:40] any XSS or JS injection vulnerability would lead to a compromise of the login cookies and so the user's whole account [16:39:20] are there functions in mediawiki to divide a utf-8 string into an array of characters? [16:40:21] cirwin: probably, why? [16:40:32] I'd like to write a transliteration extension for wiktionary [16:40:43] preg_split('/./us', $text ) [16:42:59] thanks [16:43:06] mb_split doesn't seem to work... [16:53:50] hrm, still leaves a slight problem with characters that don't have an NFC form, but should be alright I suppose [16:55:10] huh? [16:55:18] don't all characters have nfc? [16:55:22] no [16:55:44] what does mb_split do wrong? [16:55:51] it splits on bytes [16:56:01] presumably I have my php setup wrongly [16:56:05] ah [16:56:50] cirwin: that can't be true, when text is normalised, all characters are normalised, and thus the nfc form is what is left :o [16:57:17] yes, but not all combinations of characters + accents have a single character that they can map to [16:57:36] so the NFC form ihas multiple codepoints per character [16:57:49] *cirwin uses terminology loosely :D [16:58:17] cirwin: that shouldn't be a problem? [16:59:39] *cirwin goes to find edittools [17:01:52] Does anyine here have the power to fix this? http://www.mediawiki.org/wiki/Special:ExtensionDistributor (downloading the 1.14 version) [17:02:06] Tim does. But he went away. [17:02:09] File a bug. [17:02:14] constructed example: lithuanian uses ū and ū́ for pronunication, if someone mapped ū to p, but forgot about ū́ then you'd get "p" with an accent [17:04:08] (when they'd expect to get the u+macron+accent) [17:05:14] 03(mod) text-decoration:blink CSS should be disabled by the parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18854 +comment (10dungodung) [17:06:06] Hah. [17:06:20] <_< Translating licensing update page was tough. [17:06:34] http://meta.wikimedia.org/w/index.php?title=Licensing_update/da&uselang=da [17:06:36] 03purodha * r50828 10/trunk/extensions/FlaggedRevs/language/FlaggedRevs.i18n.php: [17:06:36] Message cosmetic accoring to request of EugeneZelenko at [17:06:36] http://translatewiki.net/w/i.php?title=Support&oldid=1226518#Readerfeedback-submitting.2C_Revreview-submitting [17:08:22] 03(WONTFIX) text-decoration:blink CSS should be disabled by the parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18854 +comment (10public) [17:12:15] Marybelle: at https://bugzilla.wikimedia.org/ ? [17:14:59] jtbandes: Yep. :-) [17:15:07] Though I'm not sure what the bug is exactly. [17:18:20] It's just a svn failure for that extension. [17:21:01] Currently using 1.13.2. Is there a plugin available to allow me to embed objects within wiki pages? Specifically, I'd like to embed objects from Google Docs. Thanks in advance for your help. [17:39:24] 03raymond * r50829 10/trunk/phase3/languages/messages/ (16 files): Localisation updates for core messages from translatewiki.net (2009-05-20 17:35 UTC) [17:59:59] Correction: Currently using 1.13.3. Is there a plugin available to allow me to embed objects within wiki pages? Specifically, I'd like to embed objects from Google Docs. Thanks in advance for your help. [18:00:23] !html [18:00:23] --mwbot-- For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [18:03:14] my current problem loading fckeditor: http://rafb.net/p/OTJ59H97.html i am lost with all the docs :( [18:04:06] well, first KISS (Keep It Simple Smartguy) ;-) [18:04:23] just do the install by the book... what happens? [18:04:43] Sally, not Smartguy. :P [18:06:39] sally? [18:06:58] Or Samantha. [18:07:02] HeXiLeD, if you can tell me what happens, we can see what needs doing next [18:07:06] Marybelle, how about sam? [18:07:10] that's dual-use [18:07:15] HeXiLeD: I was just able to add $wgFCKUseEditor, $wgFCKEditorToolbarSet and $wgFCKEditorToken before a require_once(FCKEditor) [18:07:16] True. [18:07:19] Sam works. [18:07:28] (and therefore permitted under most arms treaties :-P ) [18:07:47] Or surely (which sounds the same as Shirley). [18:08:05] HeXiLeD, listen to cirwin too ;-) [18:08:30] will check [18:15:26] ok guys .. kim cirwin my lastest setup : http://rafb.net/p/ZOM94A69.html [18:15:32] loads but fails [18:15:50] what is all the html doing?? [18:16:13] docs [18:16:45] without it it does not load for me [18:16:59] is it in your LocalSettings.php file? [18:17:05] well... it loads but the main page is all text [18:17:06] yes [18:17:11] that is the problem [18:17:13] <[KrusheR]> hi [18:17:41] ih [18:17:51] <[KrusheR]> does anyone know why nothing changes when I edit the SpecialUserlogin.php file? [18:18:00] [KrusheR]: What did you edit exactly? [18:18:21] <[KrusheR]> i tried to add some code to verification process [18:18:31] <[KrusheR]> i tried even inserting garbage text into the code [18:18:35] <[KrusheR]> but nothing happens [18:18:38] cirwin if i remove it from there the page still doesnt display properly and shows everything in clear text :S [18:18:57] ok [18:19:07] something else it broken then [18:19:14] since the fckeditor docs give that example i followed it [18:19:26] could be. [18:19:30] can you paste the entire LocalSettings (without passwords) ? [18:19:34] [KrusheR]: You mean you that when you add random crap to SpecialUserlogin.php and go to Special:Userlogin, nothing happens? [18:19:44] i guess we can only be sure with someone that has it working [18:19:49] <[KrusheR]> nothing changes [18:19:50] Are you sure you're editing includes/specials/SpecialUserlogin.php and not includes/SpecialUserlogin.php ? [18:19:56] <[KrusheR]> as I didn't change anything [18:20:02] <[KrusheR]> hmm [18:20:08] <[KrusheR]> nope [18:20:11] <[KrusheR]> i'm not sure [18:20:13] <[KrusheR]> lemme check [18:20:17] HeXiLeD: and are you using a reasonably recent version of mediawiki? [18:20:27] <[KrusheR]> well, i wasn't [18:20:29] (the latter doesn't exist anymore, but could still be present if you upgraded) [18:20:35] yes. 16alpha it's all svn [18:20:44] <[KrusheR]> why are there two SpecialUserlogin.php files? [18:20:54] ok [18:23:01] HeXiLeD, I have it working at work. :-) [18:23:11] *kim is not at work atm , but still [18:23:16] well..what versions ? [18:23:54] mediawiki 1.13 there IIRC [18:24:08] and an FCKeditor plugin from around the same time period [18:24:13] humm.. and and older fckeditor too [18:24:15] i see. [18:24:25] I have 1.15 and fckeditor from then [18:24:32] makes sense. [18:24:32] [KrusheR]: Because it got moved once; when you upgrade the old one isn't deleted [18:24:39] <[KrusheR]> wow [18:24:40] <[KrusheR]> thanks [18:24:45] but your config should not contain HTML [18:24:57] of that I am certain [18:25:11] well.. i followed the docs. thats what they say now. [18:25:17] they need fixing [18:25:19] which docs? [18:25:22] http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Integration/PHP [18:25:26] ah [18:25:41] http://www.mediawiki.org/wiki/Extension:FCKeditor_(Official) [18:25:48] yes those too. [18:25:53] ok [18:25:53] i read them [18:25:59] ignore the PHP ones [18:26:05] if the mediawiki ones don't work [18:26:09] then there's something else wrong [18:26:18] i only came here because goggle has no answers [18:26:21] for sure. [18:37:31] hi all [18:38:00] Hello. [18:50:38] 03(NEW) Categorizing and wikilinking with the Pipe - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18857 normal; Normal; MediaWiki: Page rendering; (matthiasbecker1967) [18:50:59] 03raymond * r50830 10/trunk/extensions/ (48 files in 44 dirs): Localisation updates for extension messages from translatewiki.net (2009-05-20 18:20 UTC) [18:53:45] 03(mod) Categorizing and wikilinking with the Pipe - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18857 +comment (10matthiasbecker1967) [19:09:05] 03(mod) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 (10umherirrender_de.wp) [19:12:26] 03raymond * r50831 10/trunk/phase3/languages/messages/MessagesSli.php: set eol-style [19:17:35] 03(WONTFIX) Categorizing and wikilinking with the Pipe - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18857 +comment (10roan.kattouw) [19:33:34] ha die siebrand! [19:50:04] 03nojhan * r50832 10/trunk/tools/planet/fr/config.ini: blogs FR: wikiactu + Garfieldairlines [19:53:01] 14(DUP) Retire 'Wikipedia Day' from Preferences Date and Time page, and just use current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18850 +comment (10roan.kattouw) [19:53:03] 03(mod) Show "Date format" on Special:Preferences in current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17947 +comment (10roan.kattouw) [19:55:01] 03(mod) Show "Date format" on Special:Preferences in current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17947 +comment (10roan.kattouw) [19:56:09] 03(mod) Show "Date format" on Special:Preferences in current time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17947 +comment (10public) [19:59:24] Marybelle: ... except when they have like a Chinese calendar configured and wonder what's going on :P [19:59:50] Can't it use the equivalent? [19:59:57] Especially if it offers different options with different year names or something [20:00:19] Mehhhh. [20:00:28] It's cute, damn it. [20:07:47] 03catrope * r50833 10/trunk/phase3/includes/api/ApiMain.php: Re-adding ApiMain::requestWriteMode() (removed in r48901) for backwards compatibility: this way extensions can call requestWriteMode() AND define function isWriteMode() { return true; } without causing fatal errors [20:11:00] 03catrope * r50834 10/branches/REL1_15/phase3/includes/api/ (. ApiMain.php): Backport r50833 to 1.15 (fixes potential extension breakage) [20:13:58] Is there a good way to include alternate search terms in an article that do not actually show up in the article itself? For example, I have a page about MS SQL, that I want to show up if someone searches for MSSQL (no space). I can include in the article, and it works, but seems messy. [20:14:21] redirect? [20:14:36] on MSSQL have "#REDIRECT[[MS SQL]]" [20:15:08] morning folks! [20:15:35] Reedy, thanks, but I'm looking for something more generic. I'll have lots of pages with MS SQL that I want to show up on searches for MSSQL. [20:15:48] ooh [20:15:56] category! [20:16:00] There is that.. [20:16:10] or maybe using something beyond the default search.. [20:16:20] danf category [20:16:21] Is there any way to install/upload the "wikimedia help" section onto my own MW site? Specifically I'm looking for a Help: section on my site to explain MW formatting rules and stuff, similar to: http://meta.wikimedia.org/wiki/Help:Editing [20:16:34] mobiGeek, you can export it [20:16:34] danf1, category (rather) [20:16:44] mobiGeek, there was an article explaining it somewhere... [20:16:45] errm [20:17:13] mobiGeek, http://www.mediawiki.org/wiki/Project:PD_help/Copying [20:17:15] Reedy: yeah, i can't for the life of me figure out the google query for that though..."mediawiki install help editing" .... [20:17:37] Reedy: AWESOME! [20:17:51] flyingparchment, kim: Thanks. I hadn't looked into categories, but I'll give that a try. [20:18:10] Reedy: that seems like something that should be in the Help FAQ or linked to in the Sys Admin/Installation section or something similar. [20:18:20] Add it then ;) [20:19:01] Or i'll do it [20:19:25] *TheDevilOnLine greets kim [20:19:52] mobiGeek, done [20:24:52] TheDevilOnLine, Nice to see you! [20:25:01] :) [20:25:05] nice to see you to my friend [20:28:33] Nice to see you too [20:35:07] hi kim [20:40:47] Heya Nikerabbit [20:54:00] 03shinjiman * r50835 10/trunk/extensions/LocalisationUpdate/LocalisationUpdate.i18n.php: Localisation updates Cantonese and Chinese for extension messages [21:34:24] 03dale * r50836 10/branches/new-upload/phase3/ (7 files in 3 dirs): fixed missing session on upload issue [22:02:41] 03purodha * r50837 10/trunk/extensions/SocialProfile/UserBoard/UserBoard.i18n.php: [22:02:41] Message cosmetic, according to hint at [22:02:41] http://translatewiki.net/w/i.php?title=Support&oldid=1226793#Original_message_problem_in_Social_Profile_-_User_Board [22:04:24] 03siebrand * r50838 10/trunk/extensions/SharedUserRights/ (3 files): [22:04:24] * add right- message [22:04:24] * remove trailing whitespace, stylize.php [22:04:24] * bump version [22:19:39] 03siebrand * r50839 10/trunk/extensions/Farmer/ (7 files): [22:19:39] * add right- messages [22:19:39] * remove trailing whitespace, update indentation, stylize.php [22:19:39] * bump version [22:22:11] 03siebrand * r50840 10/trunk/extensions/Mibbit/ (Mibbit.i18n.php Mibbit.php Mibbit_body.php): [22:22:11] * remove trailing whitespace, update indentation, stylize.php [22:22:11] * bump version [22:36:16] 03siebrand * r50841 10/trunk/extensions/UsageStatistics/ (4 files): [22:36:16] * add right- message [22:36:16] * remove trailing whitespace, update indentation, stylize.php [22:36:16] * bump version [22:45:35] 03(mod) Specific log for revision deletions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17806 (10cenarium.sysop) [22:57:39] 03siebrand * r50842 10/trunk/extensions/DeleteQueue/ (14 files in 2 dirs): [22:57:39] * add undefined right 'deletediscuss-nominate' [22:57:39] * add version [22:57:39] * remove trailing whitespace, update indentation, stylize.php [23:01:09] Are there language codes that will be longer than 2 chars? [23:01:22] roa-rup [23:01:24] zh-tw [23:01:24] 03(mod) Specific log for revision deletions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17806 (10mikelifeguard) [23:01:32] damn [23:02:19] flyingparchment: Is it safe to just look at the length of $wgLanguageCode to see how much needs to be lobbed off of a string in this format? "ensomewiki" [23:02:28] (Inside of the SiteConfiguraiton site params callback) [23:03:49] 03dale * r50843 10/trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php: bill scraper maintenance updates [23:10:32] 03siebrand * r50844 10/trunk/extensions/ConfirmAccount/ (6 files): [23:10:32] * add right- messages [23:10:32] * add FIXMEs as messages always load [23:10:32] * remove trailing whitespace, update indentation, stylize.php [23:10:33] * bump version [23:11:27] Normally, when I want to invalidate the cache, I use $title = Title::newFromText($articleTitle); $title->invalidateCache(); [23:11:29] Is there a faster way to invalidate cache if I don't know the article title but have the article ID? [23:17:30] 03(mod) Upload-by-URL should enforce $wgMaxUploadSize early when Content-Length header provided - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18201 (10dale) [23:20:55] putlake: /w/index.php?title=Article_Title&action=cache [23:21:39] chuck: Thanks. [23:33:41] 03siebrand * r50845 10/trunk/extensions/ (6 files in 2 dirs): [23:33:41] * add descriptionmsg in extension credits [23:33:41] * remove trailing whitespace, stylize.php [23:33:41] * bump version [23:33:41] * add support for SemanticCompoundQueries in Translate [23:40:16] 03siebrand * r50846 10/trunk/extensions/WhatIsMyIP/ (WhatIsMyIP.i18n.php WhatIsMyIP.php WhatIsMyIP_body.php): [23:40:16] * tweak 'right-whatismyip' [23:40:16] * remove trailing whitespace, stylize.php [23:40:16] * bump version