[00:02:10] Editor users are simply those users that can review revisions to spot check for nonsense/graffiti. Reviewer users can spot check and validate/proofread pages. [00:02:18] can you help me understand that? [00:11:26] It means what it says. Editors can go over revisions and take out obvious rubbish. Reviewers can go over information that looks to be valid and check it for accuracy and quality, and then mark it as valid. [00:11:56] well every one can take the rubbish then no need for spacial group [00:13:11] well, if you don't mind garbage showing until it gets reverted [00:13:59] sorry ,I don't understand the differnce [00:14:19] usually every one can edit [00:18:48] under flagged revs, being able to 'edit', and being able to 'review' are different things [00:18:55] without flagged revs, they are the same thing [00:19:22] edit: change page content -- review: make an edit the top revision [00:19:57] UsamaAkkad: you know how on action=history you can see old revisions? [00:20:31] never tried it [00:20:43] I'm new to this thing [00:20:55] you've never clicked the [history] button? [00:21:08] aha I've sure [00:21:30] right, and you know how each line of the history has a date? [00:21:40] yes [00:22:02] http://en.wikipedia.org/w/index.php?title=Honduras&action=history [00:22:11] if you click on those dates, you are taken to that specific revision [00:22:27] yes ,that is right [00:22:38] and the top most one is the version shown to the world, if you click [article] [00:22:46] yes [00:22:49] however [00:22:54] with flagged revs, this isn't how it works [00:22:57] the top one is not the default shown [00:23:01] _until_ it is reviewed [00:23:15] so a user with 'edit' permission can make future edits in the history [00:23:26] but the shown one in [article] is the last one reviewed by a 'reviewer' [00:24:08] ok but why there is speicial group : Editors ? [00:24:34] hmm [00:24:42] Aaron|away: Editors can remove those future revisions, so they don't clutter up the history? [00:24:48] *Splarka is not sure exactly [00:25:07] but the thing is, like on the history of Honduras, all that vandalism can exist, but it doesn't need to show, so none of those rollbacks are necessary [00:25:28] but [00:25:40] note that anyone at all, anyone with 'read' permission, can see them, by going to history [00:25:48] same for past vandalism, they can see future vandalism [00:25:54] all flagged revs does is not make it the default text [00:26:18] yes I've tested that on ar.linux.yourwiki.net [00:26:21] UsamaAkkad: I am not sure exactly what 'editor' does, but I believe it just lets them delete/hide future un-reviewed vandalism [00:26:40] aha [00:26:53] thanks for explaining [00:26:56] which wouldn't get shown anyway, unless you looked for it [00:26:58] 03(mod) Log entries deleted with RevisionDelete feature still appear when searching with [[Special:Log]]. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17342 (10conti) [00:26:58] np [00:33:25] Hmm, Lee Daniel Crocker just unified his account [00:42:28] Hello can someone point me in the right direction to get mail working on a new ubuntu install of 1.13.3? [00:42:39] I have installed postfix, but I am getting errors [00:42:58] #ubuntu [00:43:04] oh come on man [00:43:23] It's not a MediaWiki question though... [00:43:52] well, I am guessing that getting mediawiki to send mail is an issue that comes up frequently [00:44:11] well, it has little to do with mw [00:44:15] oh, wait. [00:44:25] if mw can't send mail, no php scripts can [00:44:37] it is a problem with your os [00:44:37] eghjaytee: Anyway, if you want any help, you probably want to actually give us the error messages [00:44:40] !pastebin [00:44:40] --mwbot-- Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [00:44:42] but in a [00:44:52] You also might want to google for 'Getting mail going on Ubuntu' [00:45:27] 03(mod) Log entries deleted with RevisionDelete feature still appear when searching with [[Special:Log]]. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17342 (10herd) [00:45:29] yes, I appreciateit [00:45:33] *Splarka spams 17342 again [00:46:06] 03(mod) Log entries deleted with RevisionDelete feature still appear when searching with [[Special:Log]]. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17342 (10JSchulz_4587) [00:48:17] hmm [00:48:28] Aaron|away: you assigned it to yourself but didn't set it to ASSIGNED? [00:53:32] 03dale * r46789 10/trunk/extensions/MetavidWiki/includes/ (4 files): some fixes for stream removal to update log/digest [01:42:31] 03(NEW) Delete log in Recentchanges, but not log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17343 15enhancement; normal; MediaWiki: Deleting; (jidanni) [01:50:04] 03(mod) Allow users to delete their own pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17309 (10jidanni) [02:05:09] 03bigsmoke * r46790 10/trunk/extensions/SemanticGallery/SG_ResultPrinter.php: Implemented more flexible captions in SemanticGallery extension. [02:11:27] If I have a folder full of like 1000 images and wanted to add them all to my MediaWiki [02:11:32] is there any easy way to do that? >.< [02:12:50] maintenance/importImages.php [02:16:42] Can't get any maintenance scripts to work last time I tried >.< [02:16:58] Setup AdminSettings.php with the same user as LocalSettings.php [02:17:04] but yeah just output nothing when i ran it from a command line [02:17:55] php importImages.php --help [02:17:57] does nothing [02:18:11] try php -d show_errors=1 importImages.php [02:18:48] still outputs nothing :/ [02:19:26] try strace php importImages.php [02:20:16] strace cannot be found :P [02:20:39] you're running linux right? [02:20:45] yeah centos [02:20:54] so yum install strace [02:20:57] I have scripts on crontab that run through the php command [02:22:27] well strace php importImages.php outputted a lot of stuff o.O [02:22:49] that's the general idea [02:22:50] ah it's missing install-utils.inc [02:23:24] oh, it's display_errors, not show_errors [02:23:50] USAGE: php importImages.php [options] [02:23:51] Thanks :D [02:24:36] I think I made the mistake of thinking install-utils.inc was something only the initial install needed [02:24:38] and deleted it [02:24:58] why would you do that? [02:25:07] ...something about the filename? [02:25:14] no, i mean why would you delete it [02:25:35] there's a documentation file somewhere that recommends deleting random things after install [02:25:43] for security [02:25:48] yeah I kind of... tidy up after I install for that exact reason [02:25:59] totally pointless of course [02:26:01] Deleted all the docs, everything that I thought would not be needed again [02:26:21] 03(NEW) OTRS iw links otrs: and ticket: need to change to reflect the new server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17344 normal; normal; Wikimedia: General/Unknown; (scream) [02:26:25] no security vulnerability has ever been found which might be exploited via a disabled installer [02:26:28] Yeah people being able to read INSTALL in my wiki folder is hardly a security risk, I just like stuff tidy :o [02:26:45] well, there's a fine line between tidy and totally broken [02:26:49] TimStarling: plus .inc files aren't executable anyway [02:26:56] yeah :D [02:27:37] No they don't execute they output their source code to the user [02:27:40] Which could be a security risk [02:27:57] yes. users could see the secret source code which is part of mediawiki and available on thousands of installations [02:28:21] Didn't say it was a security risk, said it could be. [02:28:34] it really couldn't [02:28:41] I didn't know if that file was there at the start or created during installation, etc [02:29:00] Well if LocalSettings.php was to decide to not parse through PHP and output its source that would be bad... [02:29:02] I just installed the most recent version of mw in trunk [02:29:14] but you can't delete localsettings, so that's not a very good example [02:29:15] To be honest I figured because of the file name it was some temporary file created during install [02:29:15] everything works great, but page protection [02:29:43] which does not actually protect the page [02:29:58] what might cause this? [02:30:14] it's a PHP 4 holdover [02:30:33] the functions in it should be moved to static member functions of a class in includes/ [02:30:44] (install-utils.inc) [02:31:52] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17127 (10cipherswiki) [02:32:38] am I in the right channel to ask for help? [02:33:15] hello everyone [02:33:21] is someone there? [02:33:22] I should really be working rather than supporting [02:33:37] I'm going to release 1.14.0rc1 [02:34:40] :( [02:34:45] ok [02:35:28] just for curiosity, is there anyway I can make money with a wiki? [02:35:42] sell motorbikes on it [02:35:52] :o interesting heh [02:35:54] hehe [02:35:55] :P [02:36:20] but seriously, is there anyway? [02:36:35] edgar: ads? [02:37:04] is there anyway besides ads(common in free software or free service)? [02:37:33] Hey guys; since when has MediaWiki allowed editors to edit two different sections on the same page, and save them without edit conflicting? [02:37:51] Anyone have a link to the specific ticket and/or code change? [02:38:03] edgar: http://wikiangela.com/wiki/Types_of_wiki_businesses [02:38:22] ok [02:39:43] Make money off a wiki? o.O [02:40:04] Most wikis exist as a service, some make money from advertisements but only to support their own running costs. :/ [02:41:30] you could make money from donations if your wiki is awesome enough [02:42:13] Anyone? [02:42:30] GaryKing: automatic edit conflict merging has been supported since forever [02:42:41] hm, not in my experience [02:42:44] *werdnum waves [02:42:46] I'm talking about a month ago [02:42:57] GaryKing: since a long long time ago [02:43:10] even on Wikipedia? [02:43:17] or just MediaWiki? [02:43:38] 02:37 < GaryKing> Hey guys; since when has MediaWiki allowed editors to edit two different sections on the same page, and save them without edit conflicting? [02:43:41] that question? [02:43:49] I think Tim wrote it in like 2004. [02:43:52] why does it matter? [02:44:10] I didn't write it [02:44:19] ah [02:44:25] well somebody wrote it a long long time ago :) [02:44:37] just because as I said, I don't think it was like that until recently, or perhaps every time I edit conflicted, someone was editing the entire page and just jumped to that section... [02:44:54] which I suppose happens fairly often [02:44:57] :/ [02:45:03] well, does mediawiki makes money? if yes, how? just to have the knowledge [02:45:07] The code was *definitely* there in 2006 to automatically merge edit conflicts, because I stole it for undo. [02:45:16] edgar: mediawiki doesn't make money [02:45:28] it makes money for some people [02:45:29] it doesn't need any, whatever it needs (hosting...) is paid for by the foundation [02:45:38] ;) [02:45:50] edgar: http://www.mediawiki.org/wiki/How_does_MediaWiki_work%3F [02:45:55] werdnum: heh alrighty, I guess people just need to use section edits now. [02:46:00] it's not an organisation so it can't really make money for itself [02:46:32] somewhat of a minor issue, but when two people edit different sections, the edits are merged, yes, but when the second person checks changes, it appears as they are undoing the first person's edits [02:46:33] You're releasing 1.14? Bah, I just got done installing 1.13 [02:46:37] but it doesn't actually undo them [02:47:04] Hi all. If I remove an addon from a mediawiki install, is there an "easy" way to revert the database changes that were made for that addon, or should I just leave well enough alone? [02:49:13] chasingsol: It shouldn't hurt anything. [02:50:09] werdnum: alright, works for me [02:57:26] Is there a way to use line numbers with GeSHi extension? [02:59:19] hmm importImages.php failed :/ [02:59:52] It uploaded images fine apart from images that were previously linked to but not uploaded (ie displayed in red in articles) those it still thinks dont exist even though they were uploaded [03:00:30] 03ialex * r46761 10/trunk/extensions/Farmer/ (MediaWikiFarmer.php SpecialFarmer.php): Made MediaWikiFarmer::getActiveWiki() non-static and fixed static call in SpecialFarmer.php [03:02:31] Zorg`: likely because there are underscores in the name [03:04:19] nope [03:04:32] What happened was we uploaded some articles first, and then imported all the images [03:04:48] It overwrote images already uploaded fine, and uploaded images not yet linked to by any articles without an issue. [03:05:05] But if one of the already existing articles linked to the image as red pre-upload, the upload failed [03:05:20] It has a database entry, but when you go in to it.. says file not found, even though the file is on the server :/ [03:05:35] It is as if they are still listed as deadlinks somewhere in the database [03:05:42] try purging the page? [03:05:55] put &action=purge at the end of a page [03:06:32] Does nothing [03:07:02] It is like.. the entry is in the image list, you click file and its on the server uploaded, but when you actually go to the Image:Whatever page it says file not found would you like to upload it :/ [03:07:06] only reason i mentioned the underscore issue, is because i did exactly the same thing, uploaded images to replace redlinks, and when i uploaded, i failed to realize that the new images had underscores in the file name [03:07:26] not sure what your issue is though, i haven't experienced that problem [03:08:54] well these images are straight from another wiki [03:08:58] So the underscore was fine [03:09:42] I can't find any database entry that would tell it the image is dead [03:10:36] are you 100% sure that the redlinks match the filenames exactly, including any underscores? [03:11:13] 03(mod) Reupload form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17193 (10lupo.bugzilla) [03:11:22] yes [03:11:35] They are links straight from Special:ImageList [03:11:36] got me [03:11:49] You click the image link it says file not found you click the (file) link next to it and it brings up the image :/ [03:12:27] It's in the image list so it has a db entry... it has a file on the server so it uploaded fine... I don't get why it thinks it doesn't exist :/ [03:13:20] where did TimStarling go when you need him? :( [03:13:54] he's hiding. [03:15:01] i don't see any recent bugfixes between 1.13 and SVN related to specifically that issue, although there was some fixed related to uploads, but not that [03:16:25] Zorg`: are you using a mass image import extension? the default doesn't allow mass import [03:16:40] no I'm using importImage.php from maintenance [03:16:56] aah ok [03:35:11] Hello [03:46:29] I'm looking for an import from "mediawiki articles" to BBCode (for my integrated wiki I just code) or html (I do the rest). Have you some tools to do it ? [03:56:06] 03(mod) Virus emails reaching otrs queues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17301 summary (10scream) [03:59:47] 03(mod) Arbcom Wiki crats to remove sysop and crat - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17201 +comment (10scream) [04:01:34] 03(mod) Enable the ability for crats on the Arbcom private wiki to also remove crat and sysop - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17201 summary; +comment (10scream) [04:02:48] 03(mod) Enable the ability for crats on the Arbcom private wiki ( English Wikipedia) to also remove crat and sysop - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17201 summary (10scream) [04:30:35] How do you enable MediaWiki to let users insert images hosted off site? Like Wikia has? [04:31:40] Zorg`: I don't know what you mean? Like the upload-by-url right? [04:31:41] http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages [04:31:54] broken link is broken :o [04:31:57] how you encode $ sign [04:32:04] http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImagesFrom <-- let you restrict it to a specific domain [04:32:14] $ is a perfectly valid non-encoded character for URLs [04:32:21] your IRC client might suck though [04:32:33] :PPP [04:32:40] That's it :) [04:32:54] Yeah it isn't in LocalSettings.php by default even as false for some reason [04:32:59] So I didn't know the variable name [04:33:28] *Splarka nods [04:34:28] SudoKing: http://www.mediawiki.org/wiki/%4d%61%6e%75%61%6c%3a%24%77%67%41%6c%6c%6f%77%45%78%74%65%72%6e%61%6c%49%6d%61%67%65%73%46%72%6f%6d [04:35:04] :( [04:35:17] that is ok, it just doesn't like certain symbols like pipes and $ signs [04:35:30] (which need to be encoded) :P [04:35:39] nope... [04:36:24] Splarka: perhaps his client auto-links URLs and stops at the $ [04:36:33] (in which case an obvious workaround would be highlighting the url by hand...) [04:36:34] your IRC client might suck though [04:36:52] I wrote that encode-all script because MZM would complain when a link ended with punctuation [04:37:13] http://en.wikipedia.org/wiki/Blockhead! [04:37:16] that link work for you? [04:37:36] SudoKing that is [04:38:03] yea [04:38:10] Ok, an excecutive decision in the upper powers has decided that TimStarling is to be strapped to a chair in Jake_Wartenberg's basement, and code a new OS called 'Spoon' that would making editing Wikipedia fun. [04:38:14] http://en.wikipedia.org/wiki/Am_I_Cool_or_What? [04:38:20] ?? [04:38:21] yea that too :) [04:38:27] um [04:38:35] muahahah [04:38:40] werdnum, just something from ##juliancolton [04:38:46] http://en.wikipedia.org/wiki/Yo_momma [04:38:49] Splarka: where would one find that script? (&for what client?) [04:39:03] 03(NEW) A Redirect to Category shouldn't be listed in the Category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17345 minor; normal; MediaWiki: Categories; (toe_head2001) [04:39:28] SudoKing: http://en.wikipedia.org/wiki/Bitstream_Inc. ? [04:39:42] no not the period :( [04:39:44] Mike: it is a user script, on wiki [04:39:57] k [04:39:58] SudoKing: then your IRC client does fail, but don't worry, most people's do [04:40:11] mine might, but I disabled URL hilighting, I copy manually [04:40:50] hmm [04:41:01] mike: I might not have it online at the moment, sec [04:41:24] awww my ircclient is fail :( [04:50:19] Mike: http://en.wikipedia.org/wiki/User:Splarka/encodeeverything.js [04:50:28] hasn't been extensively tested but there ya go [05:12:47] anybody alive? [05:44:26] 03tstarling * r46791 10/branches/REL1_14/phase3/ (RELEASE-NOTES config/index.php): [05:44:26] * Disabled SQLite in the installer [05:44:26] * Updated release notes, dated release [05:46:39] ooh, release. [05:47:25] quite delayed, a tantric joke might be (in)appropriate here [05:47:39] not just yet [06:10:21] 03(mod) Setup Rollback and Patroller, two user groups at zh.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16988 (10jwongwiki) [06:24:43] 03(mod) Whatlinkshere doesn't reflect changes in templates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17170 (10od_mishehu) [06:32:32] anybody still alive? [06:32:56] depends on your definition of alive [06:33:15] you responded in a manner that i could not tell the difference =] [06:33:27] i'm just a highly intelligent bash script [06:34:02] I am written in wikicode}} [06:35:01] you got some dangling braces there splarka [06:36:35] Template:That's what she said [06:37:17] lol [06:38:56] lol [06:39:23] theres a test, i believe designed by turing, to determine if an AI system has reached true AI [06:39:25] you need a better output formatter [06:39:36] anybody know what im talking about? [06:39:44] yes [06:39:47] Turing Test [06:40:14] http://en.wikipedia.org/wiki/Turing_test [06:40:14] <3 wikipedia [06:40:32] 14(INVALID) A Redirect to Category shouldn't be listed in the Category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17345 +comment (10toe_head2001) [06:41:55] "you responded in a manner that i could not tell the difference =]" was supposed to be a reference to that, but i dont think it came across... [06:43:23] {{quip|text=well aren't you clever|}] [06:43:44] *Splarka doesn't seem to be written very well|} [06:43:51] no [07:18:10] 03(NEW) #time gives wrong year if only year prior to 1960 is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17346 normal; normal; MediaWiki extensions: ParserFunctions; (swarmers) [07:28:21] 14(INVALID) #time gives wrong year if only year prior to 1960 is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17346 +comment (10herd) [07:36:48] good morning people [07:41:27] Splarka: you ought to mark it as a duplicate [07:41:49] people have been that dumb _before_ ? [07:42:21] which type of dumb? [07:42:39] thinking a 4 digit number in #time would always be a year [07:42:57] well the strtotime doesn't mention that anywhere so [07:43:01] *page [07:43:08] 03(mod) make #time work with pre-1970 dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11686 -need-review -patch (10niklas.laxstrom) [07:43:12] Splarka: it's not dump to expect it to work [07:43:34] http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions [07:43:41] even mentions it there... [07:43:52] it is dumb to expect it to be #dowhatIwant and #readmymind [07:44:02] 03(mod) #time gives wrong year if only year prior to 1960 is given - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17346 +comment (10niklas.laxstrom) [07:44:04] 03(mod) make #time work with pre-1970 dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11686 +comment (10niklas.laxstrom) [07:45:11] Splarka: having a year to denote a year is sensible [07:45:39] *Splarka disagree, but whatever [07:45:42] dupe it if you want ^_^ [07:45:47] I already did [07:45:52] *Splarka looks up [07:46:50] huh, didn't say it in the status, odd, guess since it didn't change status, just resolution [08:23:54] moin [08:25:09] 03(mod) Create proofread page namespaces on Polish Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16926 (10xarak) [08:48:39] so 1.14 release will be skipped in favor of 1.15? :-) [08:48:49] why do you think that? [08:51:52] yksinaisyyteni: checked out the roadmap page [08:52:04] piksi: the 1.14 was just updated [08:52:27] piksi: http://www.mediawiki.org/wiki/MediaWiki_roadmap ? don't see it there.. [08:52:38] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/46791 [08:52:44] tim tagged 1.14.0rc1 earlier [08:53:08] yksinaisyyteni: i was checking out http://www.mediawiki.org/wiki/Roadmap [08:53:16] same page [08:54:25] yksinaisyyteni: i see "1.15 (May? 2008)" has replaced the earlier "1.14 (December? 2008)" text [08:54:28] May 2008? wow, that's just negative 11 months away, you guys better get to work! [08:54:36] piksi: because that feature isn't in 1.14 [08:54:49] so it was retargetted to 1.15 [08:56:23] ok [09:00:12] Can someone tell me why the parser function expression {{#switch:{{{number}}} [09:00:13] |{{#ifexpr: {{{number}}} < 10 | under 9 }} = 00{{{number}}} [09:00:13] |{{#ifexpr: {{{number}}} > 10 and < 100 | under 100 }} = 0{{{number}}} [09:00:13] |{{#ifexpr: {{{number}}} > 100 | over 100 }} = {{{number}}} [09:00:13] |#default = fail}} [09:00:17] Won't work. [09:00:24] Why won't this work?: [09:00:25] "won't work" [09:00:28] please be more specific! [09:00:32] {{#switch:{{{number}}} [09:00:32] |{{#ifexpr: {{{number}}} < 10 | under 9 }} = 00{{{number}}} [09:00:32] |{{#ifexpr: {{{number}}} > 10 and < 100 | under 100 }} = 0{{{number}}} [09:00:32] |{{#ifexpr: {{{number}}} > 100 | over 100 }} = {{{number}}} [09:00:33] |#default = fail}} [09:00:39] !pastebin [09:00:39] --mwbot-- Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [09:00:43] Well, it's not giving any output but the default. [09:00:48] Okay, that's better. [09:01:05] Before I wasn't sure if the problem was that you weren't paying it enough, or maybe it spent all day on IRC... [09:01:07] switch compares literals, not logics [09:01:14] And yes, Splarka is right. [09:01:18] Am I not allowed to put pfs within #switch: as the case? [09:01:26] No, you can. [09:01:32] you must format the output correctly [09:02:02] you probably don't even want #switch in this case [09:02:02] Oh. Well, would I be able to describe what I'm trying to do? perhaps then someone can help me with it? I'd appreciate it. [09:02:15] It's just that the stuff before the = isn't a boolean expression that triggers for true, and doesn't trigger for false -- it's an ordinary expression which triggers if it's equal to what you're switching. [09:02:42] {{#ifexpr: {{{number}}} < 10 |00{{{number}}}|{{#ifexpr: {{{number}}} > 10 and < 100|0{{{number}}}|{{#ifexpr: {{{number}}} > 100 |{{{number}}}}}}}}} [09:02:44] or something [09:03:03] Okay, let me try that out. [09:03:20] *Splarka didn't check for brace alignment, was just trying to pseudocode [09:03:35] but basically, for the 'else' in each #ifexpr, you put in the next #ifexpr [09:03:45] eww. [09:03:51] It just returned an expression error, "unrecognised character {, which is weird. [09:04:02] ... [09:04:17] "was just trying to pseudocode" [09:04:17] I knew that was going to happen, actually; I tried something similar with ifexpr: inside ifexpr: before. [09:04:26] also [09:04:29] Maybe you're not passing {{{number}}} :) [09:04:33] {{{number}}} will never work [09:04:39] unless you transclude it... what werd said [09:04:50] {{{number|0}}} [09:04:56] man I hate template syntax [09:04:59] it is so awful. [09:05:01] Hmm. So you think it will always be an expression error in teh temp itself, but practical passing will work. [09:05:02] *werdnum slaps TimStarling [09:05:04] *werdnum hides. [09:05:38] *Splarka switches into clueless noob handholding mode [09:05:52] Thanks. [09:06:26] {{#ifexpr: 333 > 100 |333}} returns 333... [09:06:36] I'm certainly no programmer, but I do know basic template code. I haven't solved it yet; that's true. But neither have you, so we're pretty much on the same level right now. [09:06:41] And yes, I recognise that. [09:07:04] Perhaps if I described the problem? [09:07:12] right, well you can stack parser functions [09:07:29] I am guessing you just want to use {{padleft:}} [09:07:45] but.. {{#ifexpr: 33 < 100 AND 33 > 10|033}} returns 033... [09:08:12] so imagine combining them... [09:08:45] I'm trying to basically insert an image file into a template whose name will vary depending on the value of another variable in the template (number). if number < 9, I want 00{{{name}}} in the image file name. If number is between 10 and 99, I want 0{{{name}}}. if number > 100, just {{{name}}}. [09:08:46] you make the first the 'else' of the second [09:08:56] {{#ifexpr: 33 < 100 AND 33 > 10|033|{{#ifexpr: 33 > 100 |33}}}} returns 033, and {{#ifexpr: 333 < 100 AND 333 > 10|0333|{{#ifexpr: 333 > 100 |333}}}} returns 333 [09:09:33] AnonDiss: Um, you can just use {{padleft:{{{number}}}|0|3}} [09:09:48] *Splarka did say that earlier [09:09:53] but no harm learning #ifexpr [09:10:23] How could it be so simple, werdnum? [09:10:25] That's like saying "Yeah, there's this bridge across the river, but no harm walking 100 km upstream, crossing at the next bridge, and walking 100 km back" [09:10:34] 03tstarling * r46792 10/trunk/phase3/includes/ (8 files in 4 dirs): Added basic support for Wietse Venema's taint feature. Fixed a few instances of shoddy code that it turned up, no actual vulnerabilities yet. [09:10:45] For the record, I do know a little about pfs, Sparkla. [09:10:54] Wietse Venema? [09:11:06] Non-regular use has frayed me a little, unfortunately. Hence my presence here. [09:11:10] werdnum: don't be so anal [09:11:24] if they need to use #switch or #ifexpr later, it can't hurt to learn [09:11:24] dutch [09:11:44] But, Werdna, how could such a small piece of code do my problem? Are you sure it'll output the correct number of 0s based on the value of number? [09:11:58] Heh. Taint feature. [09:12:18] AnonDiss: totally for future reference, and NOT a solution to your problem, (werdna, close your eyes) [09:12:18] AnonDiss: try it and see [09:12:19] {{#ifexpr: 333 < 10 |00333|{{#ifexpr: 333 < 100 AND 333 > 10|0333|{{#ifexpr: 333 > 100 |333}}}}}} -- {{#ifexpr: 33 < 10 |0033|{{#ifexpr: 33 < 100 AND 33 > 10|033|{{#ifexpr: 33 > 100 |33}}}}}} -- {{#ifexpr: 3 < 10 |003|{{#ifexpr: 3 < 100 AND 3 > 10|03|{{#ifexpr: 3 > 100 |3}}}}}} [09:13:23] AnonDiss: Read the documentation for that particular function. [09:13:26] the end template code *would* be, were not _my_ suggestion of padleft (first anyways) perfect: [09:13:26] {{#ifexpr: {{{number|0}}} < 10 |00{{{number|0}}}|{{#ifexpr: {{{number|0}}} < 100 AND {{{number|0}}} > 10|0{{{number|0}}}|{{#ifexpr: {{{number|0}}} > 100 |{{{number|0}}}}}}}}} [09:13:43] werdnum: where is it? [09:13:51] You don't need the whole logic to be embedded -- it just so happens that your problem has been encountered before. [09:13:51] http://www.mediawiki.org/wiki/Help:Magic_words [09:14:12] specifically: http://www.mediawiki.org/wiki/Help:Magic_words#Formatting [09:14:32] also of note: #ifexpr is an extension, and padleft is a core feature [09:15:34] werdnum: didn't work. I'm not sure if you appreciate what I was asking (not to impugn your understanding; I expect it's my error in communication). [09:16:29] AnonDiss: Sorry, should be {{padleft:{{{number}}}|3|0}} [09:16:42] {{number}}'s actual value will not match what I want in the image file name. in the templates I'm concerned with, number's value may be 1, but in the file name I want all values under 10 to have two zeroes first ie. 004. [09:17:18] Do you understand what padleft does? [09:17:36] It makes whatever you input to be whatever length you want, by appending whatever character you want to the left [09:17:48] You DO NOT NEED the if number < 10, if number < 100, blah blah blah [09:17:48] I expect it pads the left with the second parameter. [09:17:51] third* [09:17:54] Right. [09:17:57] 03(mod) Option to delete all subpages when deleting a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13491 +comment (10public) [09:18:00] Which you would know if you read the documentation. [09:18:07] {{padleft:4|3}} {{padleft:44|3}} {{padleft:444|3}} 004 044 444 [09:19:07] Ah. I see that now. That's a very nifty function. the only problem is that not only do I want numbers under10 to have two zeroes, i want double digit numbers to have one zero before, and trple digits to have no zeroes. [09:19:40] {{padleft:STRING|TOTAL LENGTH}} [09:19:44] it does that [09:20:14] (although it can't be used for substringing, it only applies to minimum length) [09:20:28] AnonDiss: That is what it DOES! [09:20:32] 03(NEW) Deleting a page shouldn't require a separate page load - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17347 15enhancement; normal; MediaWiki: Deleting; (public) [09:20:47] Hmm. I guess I should file one for each action? >_> [09:20:50] You're thinking far too much about your chosen implementation strategy and not enough about the problem as a whole. [09:21:06] Page moves should do the same thing. [09:21:11] And possible page protection. [09:21:15] Possibly. * [09:21:27] http://wiki.php.net/rfc/taint [09:21:44] 3(NEW) MediaWiki should do everything for you while you sit on your fat lazy ass and eat chips - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17348 4BLOCKER; normal; MediaWiki: Deleting; (public) [09:21:45] What an awful name for something. [09:21:53] for the people repeating parts of my commit message [09:22:08] Taint support. Heh. [09:22:25] perl has had it for a long time, not sure if they invented it [09:22:32] by the same name [09:22:36] Yeah [09:22:43] Splarka: you got me [09:22:48] Should I file separate bugs for these AJAX requests? [09:22:55] Splarka: that freaked me out [09:22:56] *Splarka messed up the bold [09:22:57] Or is that just more work for someone to WONTFIX each? [09:23:07] werdna: perhaps I wasn't understanding. Does it work such that I'll get 3 zeroes if number = 0 digits, but the number of zeroes will be shortened by the number of digits? [09:23:35] AnonDiss: "The input (first parameter) padded on the left side to the specified width (second parameter) using the specified character (third parameter). If a padding character isn't specified, '0' is used by default." [09:24:05] The first parameter has the third parameter appended to it until its length is the second character. [09:24:12] So YES -- that's EXACTLY what happens. [09:24:13] {{padleft:|3}} {{padleft:4|3}} {{padleft:44|3}} {{padleft:444|3}} {{padleft:4444|3}} -> 000 004 044 444 4444 [09:24:16] All right. [09:24:20] how can it be any clearer than that example? [09:24:45] Since nobody has an opinion, I'm gonna go file some more bugs. [09:25:02] It can't, I guess. I suppose I just didn't realise the default padding was a 0. [09:25:02] Mary: I'd see how that one gets accepted first, IMHO [09:25:13] All right. [09:25:20] But it'll likely just sit in there for years. [09:25:22] maybe spam the lists [09:25:30] Is there an insurance plan available for bug filers? [09:25:37] or assign it to someone to get them to deassign themselves and explain why [09:25:44] life insurance? [09:25:57] Who's in charge of AJAX-related things? Tim? [09:26:38] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/ajax.js?view=annotate http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/ajaxwatch.js?view=annotate [09:26:46] yeah, I'm in charge of everything, didn't you know? [09:27:01] Weren't you the one to do the watchlist AJAX thing? [09:27:07] no [09:27:11] Splarka: Simetrical sounds like a good idea to me. [09:27:16] Oh, who was? [09:27:18] Tim: I thought you were just culpable and responsible for everything? [09:27:19] Tim is the boss while Brion is off being sick and conferencing. [09:27:29] *werdnum hides. [09:27:31] Well, werdnum and Sparkla, thanks for your help. I can see my lack of understanding was irritating to you, but you have my thanks. [09:27:37] as in, you got the blame, but none of the accolades [09:27:38] Splarka* [09:28:04] AnonDiss: you're welcome. [09:28:25] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=24969 What a commit message. [09:28:54] Mary: if you ask for ajax pref changes... you might want to get that insurance policy [09:29:03] Duesentrieb did CategoryTree, I think that was the first ajax thing we had [09:29:20] with help from JeLuF, hence the ajax.js annotation [09:29:36] it would be nice if the preferences form let you submit one field, and would assume omitted fields indicated 'no change', and also be nice if form elements mapped to pref fields in a sensible way [09:29:47] Nick was awesome at static code analysis [09:30:01] Splarka: I think Mr.Z-man is working on fixing the awful mess that is SpecialPreferences.php. [09:30:28] [insert joke about MrZ's sanity here] [09:31:23] I'll bug Simetrical tomorrow. Though he usually sees these things himself. [09:32:21] Heh. I remember this one: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=23233 [09:34:47] AnonDiss: You should convert the rest of the elements to use that box. :-) [09:34:51] I did the first... 30 or so at some point or something. [09:35:12] November 2006. Wow. [09:35:28] Marybelle: what do you mean? {{elementbox}} on en? [09:35:32] Yeah. [09:35:47] in fuction MessageCache::saveToCaches what's in $hash = md5( $serialized ); [09:36:10] Oh. You mean not all templates of the form {{infobox }} are derived from elementbox? [09:36:10] what'a in $serialized ? [09:36:12] vanessa: It isn't an insecure use of md5() [09:36:24] AnonDiss: I wrote the template to replace... [09:36:26] i see [09:36:28] If you want to find out what's in $serialized, look a few lines up and see what it's being set to. [09:36:42] Ah. [09:36:49] I'm guessing it's a serialized copy of a message cache [09:36:50] $serialized = serialize( $cache ); [09:36:58] bingo! [09:37:06] :) [09:37:16] but what's in cache ? [09:37:17] AnonDiss: To replace this hot mess: http://en.wikipedia.org/w/index.php?title=Template:Infobox_strontium&action=edit [09:37:27] a name of an article ? [09:37:36] something in memcache ? [09:37:42] vanessa: keep reading up :) [09:37:50] Of course at this point I can't even remember the parameter names. :-/ [09:37:51] :) [09:38:30] Shortcut to update caches. [09:39:16] so hte point is, $hash is used as index on memcache ? [09:39:33] I don't know, I haven't looked at the code. [09:40:44] http://svn.wikimedia.org/doc/classMessageCache.html#ff9d775c1effd2c95011b90bbc68f87b [09:41:47] vanessa: If I had a better idea of why exactly you're looking for every use of md5() in MediaWiki and understanding what it's used for, I might be more inclined to help you out. [09:43:25] Marybelle: that *is* a mess. [09:43:27] because it's INSCURE OMGZORS [09:43:35] Indeed. [09:43:42] I never realised. So, which template is currently in the process of being converted to? [09:43:55] I wrote Template:Elementbox to replace all of the individual templates. [09:44:02] It can support almost all of them, I believe. [09:44:16] But the conversion is quite tedious. [09:44:30] Can a bot do it? [09:44:45] Lots of parts and things have to be compared side-by-side. [09:44:49] I considered that. [09:44:51] More work than its worth. [09:44:53] It's. * [09:45:00] There are only about 120 elements total. It would hours and hours to write a proper bot. [09:45:07] +take [09:45:09] Yeah. Probably almost more than the manual conversion.... [09:45:12] Typing is hard. :-( [09:46:27] OverlordQ: are you talking to me ? [09:46:46] no [09:46:51] to werdnum [09:46:59] werdnum: another problem, and I suspect this one might be insolvable. variable {{{name}}}'s first letter appears in the template in lowercase; in the image file name, it need be in upper. is it possible? [09:47:17] I* [09:48:22] Why does it need to be uppercase in the file name? [09:48:37] First-letter capitalization never matters... [09:49:17] *COUGH* wiktionary [09:49:22] they don't count [09:49:40] ... by default. [09:49:42] {{ucfirst:xyz}} -> Xyz [09:49:48] Thank you ellipses. [09:50:12] thanking them as a species or that one there? [09:50:13] And I don't mind Wiktionary (except for their asshole userbase).. [09:50:17] heh [09:50:51] I'm in favor of an encyclopedia, a dictionary, and a media repository. [09:50:55] Everything else can go. [09:51:18] Oh, and MediaWiki.org. [09:51:24] That's a decent project. [09:51:41] wow, what a platform, run for the board! [09:51:53] not the WMF board, the plank I mean, arr [09:52:06] You sir, are so clever. [09:52:34] and the dictionary should be called Wikipedia Dictionary [09:52:37] Marybelle: compare File:Electron shell 001 hydrogen.svg to File:Electron shell 001 Hydrogen.svg [09:53:01] AnonDiss: Just wrap elementname in {{ucfirst: }}. [09:53:16] {{ucfirst:{{{elementname}}}}} or something. [09:53:18] what is this, "repeat what splarka says" day? (repeat that) [09:53:30] I just don't understand things like Wikijunior. [09:53:39] Splarka: sorry, missed your comment. [09:53:43] Or Wikiversity. Or Wikiquote for that matter. [09:53:55] Wikiboobs! Wikisauce! [09:54:05] Wiki die die die. [09:54:07] *Splarka might misremember what those were for [09:54:21] mmmm wikiporn? [09:55:56] Isn't that a codename for Commons? [09:57:53] lol, touche. [09:58:14] Well, my work is done, the file name works now. Thanks werdna, Splarka and Marybelle. [09:58:14] What does # Save to local cache mean [09:58:16] ? [09:58:28] Bye. [09:58:40] it the cache owned by the user ? [09:58:53] http://commons.wikimedia.org/wiki/Category:People_for_the_Ethical_Treatment_of_Animals Commons Porn [09:59:18] the thing is, this is a negative reinforcement [09:59:39] the more meat we eat, the more celebs they disribute open-copyright porn of [10:00:06] mmmmmmmmm [10:00:07] Whoa. [10:00:11] tasty meat [10:00:15] They deleted the actual porn.. [10:00:19] http://commons.wikimedia.org/w/index.php?title=Special%3ALog&type=delete&page=Image%3AThe_making_of_an_adult_film_9_by_David_Shankbone.JPG [10:00:43] Jumbo Whales actually deleted something !? [10:00:59] http://commons.wikimedia.org/wiki/Special:Log/Jimbo_Wales [10:01:47] commons is fine [10:02:06] i mean where else can I start a template for the WTFPL and they'll just randomly come along and imporive it [10:02:16] *improve [10:02:17] What does # Save to local cache # mean ? Local cache, is the cache owned by the user ? [10:03:17] no [10:04:09] :o jimbo deleted gay porn >.> [10:04:16] lol [10:04:28] quick! send out a wikinews bulletin! [10:05:14] "pedophilic sexualization of a community mascot? No. - email me if you have questions" MessageCache::saveToCaches who call this method? [10:05:28] SaveToCaches [10:05:55] *censored [10:07:04] vanessa: probably other functions in messagecache [10:07:55] probably, but where can i find something about cache, and how it works on mediawiki ? [10:08:08] can someone show me it [10:08:09] ? [10:09:57] it works very carefully [10:10:57] how ????? [10:11:05] deep black magic [10:11:14] p858snake: I remember that deletion request [10:11:17] http://commons.wikimedia.org/wiki/Commons:Deletion_requests/Wikipe-tan_lolicon_(2007-01-04) [10:11:33] p858snake: because for some insane reason, the uncyclopedia logo ended up in it [10:11:41] awww irc-client fail, cut off the ) [10:12:15] your IRC client might suck though [10:12:28] ) is a valid non-encoded URI character, yadda yadda [10:13:08] yea [10:13:55] oh priase jesus [10:14:28] oops, typing out loud again [10:15:08] 03(mod) Add margins to printable css style - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17297 +comment (10siebrand) [10:18:35] 03(mod) simplewiki is slow to respond to the watchlist request - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17333 +comment (10siebrand) [10:19:39] 03(mod) OTRS iw links otrs: and ticket: need to change to reflect the new server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17344 +comment (10siebrand) [10:26:28] 03siebrand * r46793 10/trunk/phase3/ (RELEASE-NOTES languages/Names.php): (bug 12937) Update native name for Afar [10:26:44] 03(FIXED) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12937 +comment (10siebrand) [10:27:24] 03(mod) eml interwiki broken on srv60 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9457 +comment (10siebrand) [10:34:10] 03(NEW) Special:UserRights: add parameter with user name to some messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17348 minor; normal; MediaWiki: Special pages; (angus) [10:44:10] Where is global $wgProxyKey set ? [10:44:24] Is it a nonce value ? [10:44:47] !wg ProxyKey [10:44:47] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgProxyKey [10:45:21] !config scuffio [10:45:21] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [10:45:51] wheres the EditNotice documentation again? [10:46:03] I don't know of any at MW.org. [10:46:04] thanks [10:46:17] en.wiki has some, though. http://en.wikipedia.org/wiki/Wikipedia:EDITNOTICE [10:49:24] hi guys, is there a recommended script for conversion of moin to mediawiki? do the scripts tend to transfer users as well as content? [10:51:38] $iphash = md5( $ip . $wgProxyKey ); [10:52:24] if wgProxykey is setted in localsetting, can iphash be compromise? [10:52:41] and if so, whath can be done ? [10:54:16] http://svn.wikimedia.org/doc/ProxyTools_8php.html [10:57:15] nobody ca answer ? [10:57:16] is there an extension that will recognise certain text patterns and automatically create links with them? for example, if I were to type "RFC1918" it might create a link to the RFC's reference page automatically. [10:57:29] SlayerXP: MW already does that for RFC and ISBN [10:58:32] yksinaisyyteni: oh, cool. [11:01:43] can someone set straight what mean: Forks processes to scan the originating IP for an open proxy server MemCached can be used to skip IPs that have already been scanned. [11:02:50] it spawns a seperate process that does the scanning [11:02:58] it stores previously scanned ips with memcached [11:03:16] a silly question: which ip ? [11:03:26] the user's ip ? [11:03:39] dont know what other IP it'd use [11:03:58] ok [11:04:00] but [11:04:28] $iphash = md5( $ip . $wgProxyKey ); [11:04:28] $url = $title->getFullURL( 'ip='.$iphash ); [11:05:10] of an attacker guess the $url, what can be done ? [11:05:55] Since $wgProxyKey is setted in localsetting.php, i don't think that it's a nonce value [11:06:17] Am i wrong ? [11:06:49] Did you read the manual page about ProxyKey? [11:06:49] :) [11:07:01] yes [11:07:41] just a moment [11:07:46] can u send me the link ? [11:07:57] !wg ProxyKey [11:07:57] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgProxyKey [11:09:04] This value is used to generate a persistent cookie for authentication that is resilient to spoofing. [11:09:09] ok [11:09:46] but what happen if someone guess the hash ? [11:10:08] how do you guess the hash? [11:10:13] if proxy key is unknown? [11:10:43] Techniques for breaking MD5 hashes are advanced and widely available enough that the algorithm must not be relied upon for security. In the case of SHA-1, current techniques still require a significant amount of computational power and are more difficult to implement. However, attackers have found the Achilles heal for the algorithm, and techniques for breaking it will likely lead to the discovery of even faster attac [11:10:58] you don't have critical understanding of things [11:11:18] why [11:11:20] ? [11:11:23] md5 attacks require ability to provide big arbitrary blocks of text [11:11:46] so, if it is about creating another file with same signature - ok [11:11:55] yes [11:11:57] but not about 'faking' anything what is short [11:12:00] and in that case [11:12:16] what can be done [11:12:18] ? [11:12:21] so, when the input is IP, how do you provide arbitrary data [11:12:23] nothing. [11:12:30] you're wasting lots and lots of your time [11:12:32] and of ours [11:12:51] i'm analyzing your code [11:12:58] yes, but you don't know what you're doing [11:13:01] for an exam [11:13:06] you don't understand security implications of md5 [11:13:19] so you're looking at all the wrong places [11:13:19] ? [11:13:31] i'm here to learn [11:13:32] so [11:13:34] 'md5 is insecure' is very blanket statement [11:13:53] apparently you don't have basic knowledge provided by your university or whomever [11:13:55] to do learning here [11:13:59] it's not a question, is secure or is insecure [11:14:41] IP address is 32 bit of data, you don't get too many collisions on 128-bit hashes with 32-bit data, do you? [11:15:03] I agree [11:15:11] so, even in theory collisions cannot exist, how is attacker going to CRAFT it? [11:15:19] see, most of your questions were about data attacker cannot even supply [11:15:45] md5() is used through whole codebase just because people do not trust crc32, and there're no better non-cryptographic hashes in PHP [11:15:58] so, if you see md5() in our codebase, replace in your mind with crc32 or adler/fletcher [11:16:24] md5() is very very rarely a security measure in our code [11:16:38] 03(mod) Enable Transwiki between en.wikibooks and Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17022 (10Abigor) [11:16:38] so, when you look for security troubles related to md5, you are just wasting your time [11:16:42] and let me reiterate, and ours. [11:16:57] Is there a document that describes the developement process? Like a flow chart or guide for new developers with svn steps to take etc. If so, where? I cant seem to find something like that [11:17:01] Does security include passwords there? Isn't md5 still used with passwords? [11:17:23] Marybelle: how much data is in passwords? how are you going to craft collisions? [11:17:30] req-: http://www.mediawiki.org/wiki/Commit_access [11:17:41] req-: http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker is a bit better actually. [11:17:42] req-: there's some page 'how to be mediawiki hacker' [11:17:46] hah, Marybelle beat me to it [11:17:51] Ahh, thanks very much :) [11:18:01] ahahah, but as i said, the question wasn't is md5 secure or not, but what can be done if hipotetically an atteccker guess the hash [11:18:03] I have no idea. But you said security wasn't used with md5. [11:18:17] And I figured passwords counted as part of the security category. [11:18:28] scuffio: I told you, think of that as crc32() [11:18:33] not as of sha1/md5/etc [11:18:55] Marybelle: in majority of cases it isn't [11:19:01] yes, we use md5 passwords, so what? :) [11:19:05] If passwords are md5( user_id - md5(password)) couldn't hash tables be used with common passwords like 'password' or 'wikipedia'? [11:19:12] Marybelle: the trick of md5 collision crafting is that you know original data too [11:19:26] Right, but you can guess the password and user IDs are public... [11:19:41] right [11:19:45] Marybelle: you don't have to use hash tables to try passwords like 'password' or 'wikipedia' [11:19:53] Marybelle: additionally to that, you have to get access to hashes in our database [11:19:53] Yes, I just thought about that. [11:20:02] Indeed. [11:20:16] But the sysadmin password is 'password', isn't it? [11:20:21] it is [11:20:40] 03daniel * r46794 10/trunk/extensions/CategoryTree/CategoryTree.php: fix squid caching: use $wgSquidMaxage instead of $wgSquidMaxAge [11:20:41] :) [11:23:06] Duesentrieb: If you have a moment, I'm curious on your thoughts about https://bugzilla.wikimedia.org/show_bug.cgi?id=17347 [11:26:45] Marybelle: i think the reload needed to show the confirmation screen could be avoided using javascript. trying to avoid the second load seems pointless. you'd need a) wait for compleion and b) blank the page anyway. [11:27:01] so reactiveness is not improved. and the number of requests to the server is the same. [11:27:32] Wait for completion is negligible for most pages. [11:27:48] And blank the page isn't really necessary... it just needs to say "done." [11:28:04] After that, a manual refresh will show post-action results.. [11:28:08] you would want to continue to display a page that was just deleted? [11:28:11] that seems confusing [11:28:32] and if the wait is negligible, why not just reload? [11:28:35] I suppose JavaScript could refresh the page or something, but that seems silly. Just say 'done.' [11:29:20] If it pops up a large box on top of the page you're deleting, it won't be too confusing. [11:29:26] i really don#t see the point. i'd suggest to invest time into making things more repsonsive. like shoing a confirmation dialg *imediatly*. [11:29:45] I'd be happy if either step was taken. :-) [11:29:57] The current setup just seems silly, though. Too many new page loads. [11:30:16] this is true for lots and lots of things. [11:30:34] a overall ajaxification would be nice, if fallbacks remain in place. [11:30:42] Yes. [11:30:43] but it should be a coordinated effort, not some patchwork. [11:30:56] I was going to file more bugs, but I didn't know if that would be helpful or not. [11:33:38] the bad thing about ajax, is often you are taken to a result, whether it is a redirectto, a display of what you've done, or a success message... and if you want to link someone to that (probably not the success messages anyway, but some others), you're still on the same URL, or the same URL with a null anchor... # [11:33:55] ...blah blah web 1.0 blah blah... [11:34:29] the worst things are flash navigation sites, where you can't show someone what you're browsing without navigating them to the page manually from the home page [11:35:59] Currently after you delete a page, the URL Is &action=delete. [11:36:02] Does that make any sense? [11:43:59] yep, since you submitted to that action [11:44:10] same for action=edit, except on success you're redirects to action=view [11:44:21] action=delete shouldn't send you to action=view, except on failure, heh [11:44:44] if you submitted to action=deletesuccess.. what if you failed? [11:44:45] Blocks go to &action=success or something silly. [11:44:55] then that is silly [11:47:34] 03(NEW) Redirects as result of move not redirecting properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17349 minor; normal; MediaWiki: Special pages; (public) [11:47:37] It should redirect to something copy-pasteable. [11:47:44] Like &action=view or something. [11:48:12] Successful deletion doesn't need a action=delete URL. You can't delete things twice (usually). [11:49:29] 03(mod) Moving a page over a redirect should remove entries from the RC table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16877 (10roan.kattouw) [11:50:08] 14(DUP) Redirects as result of move not redirecting properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17349 +comment (10roan.kattouw) [11:50:23] 03(mod) [regression] Localized redirects do not work after a page move - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17276 +comment (10roan.kattouw) [11:50:26] 03(mod) A Redirect to Category shouldn't be listed in the Category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17345 (10matthew.britton) [11:50:28] Bah. Where is he? [11:50:35] *Marybelle checks the Roan trap. [11:50:36] hehe [11:52:36] ! [11:54:13] rarroan [11:54:33] Hi there [11:54:50] roan, the API behavior is desynched from the UI again, but it just possibly maybe could be a fault of the UI this time, for once [11:54:55] http://en.wikipedia.org/w/index.php?title=Troya_(cigar_brand)&redirect=no Bah. Do I have to actually edit the damn page? [11:55:01] &action=sarcasm [11:55:53] Splarka: What's that? [11:56:10] Roan: the UI lets you search deletedrev logs by title/user/target/etc [11:56:13] http://test.wikipedia.org/w/index.php?title=Special%3ALog&type=delete&user=DerHexer&page=&year=&month=-1 [11:56:34] like that middle one, that is an oversighted one, even hidden from sysops, but as you can see it was done by DerHexer and was a deletion [11:56:48] the API doesn't let you filter them thusly [11:56:59] That's appropriate behavior for the UI, right? [11:57:06] That's list=logevents&letype=delete right? [11:57:14] right [11:57:18] No reason to hide who hid the revision... [11:57:20] Well there is leuser [11:57:28] or leuser=DerHexer [11:57:29] heh [11:57:39] Not sure what else is in that UI query [11:57:41] right, but none of those show the rev [11:57:48] while in the UI they do [11:58:00] You mean the struck one? [11:58:02] and I was just wondering if the API simply skips deleted revs [11:58:03] right [11:58:19] this is an open bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=17342 [11:58:29] but if that gets wontfixed, invalids, or otherwise not fixed.. [11:58:35] then the API might have to support this weird behavior [11:59:06] To the best of my knowledge, the API currently queries with log_deleted=0 (as well as rev_deleted=0 for revisions queries) which filters deleted/struck stuff [11:59:18] Same discrepancy exists between the history view and prop=revisions [11:59:35] prop=revisions never shows deleted/struck stuff, whereas the history view might do that (I'm not sure) [11:59:35] hmm [11:59:52] well, the problem is, even if you don't go looking for this stuff [12:00:11] you know how crate pages now show the deletion log? [12:00:12] http://test.wikipedia.org/w/index.php?title=Category:APPER&action=edit&redlink=1 [12:00:20] lol [12:00:25] create, even [12:00:42] Yeah makes sense, except they search too broadly [12:00:52] Oh wait maybe they don't [12:01:00] so the data is hidden, but not hidden... [12:01:01] heh [12:01:08] Yeah that doesn't make all that much sense [12:01:09] *Marybelle throws a crate at Splarka. [12:01:10] the comment and content (for revisions) is still hidden, of course [12:01:13] hippo [12:01:26] I saw you end a URL with a parenthesis, MZM [12:01:34] belated Nelson Muntz laugh [12:01:38] I do agree that for privileged users (i.e. those who can view deleted stuff), deleted stuff should show up in the API [12:01:44] With a nice deleted="" flag [12:01:48] Splarka: But I didn't have to click it. :-) [12:01:56] well, the thing is [12:02:02] even for priv users, we see it struck out [12:02:07] the difference is, we see a (hide) link [12:02:15] Splarka: Surely *someone* can view those hidden summaries? [12:02:19] not sure how the API would mirror that [12:02:22] Or a show/hide link, depending... [12:02:28] bah [12:02:29] heh [12:02:32] Roan: for example... [12:02:40] # (hide) 02:58, 30 January 2009 (username removed) (log action removed) (comment removed) [12:02:46] that hide is not a link, that revision was oversighted... [12:02:51] * (hide) 20:24, 27 January 2009 (username removed) (log action removed) ? (Clean up: content was: '{{delete}}' (and the only contributor was 'APPER')) [12:02:56] that hide is a link, since I hid it [12:03:16] it links to the logid [12:03:20] We need updated terminology. [12:03:34] Suppressed and supersuppressed. [12:03:44] so perhaps the API could show the partially hidden log events... [12:03:52] but rather than deleted="" which is bad terminology... [12:04:09] and since there are 3 separate things that can be hidden in a log event... [12:04:48] perhaps 3 parameters like userhidden="" commenthidden="" targethidden="" [12:05:03] or simply setting those fields to -1 or false or something [12:05:34] Splarka: I'd go with the userhidden, commenthidden, targethidden thing [12:05:50] contenthidden > targethidden ? [12:05:59] of course, whether leuser, or letype find these by the hidden fields would depend on what the UI eventually was decided to work with [12:06:13] Mary: target makes more sense for log events [12:06:17] Le user files le missiles. [12:06:18] Well they currently do in the UI [12:06:25] Fires. * [12:06:39] right, but that might be a bug [12:06:44] well, it _is_ a bug [12:06:50] A bug. :O [12:06:51] Splarka: Yes it is, but it's a very tricky one [12:06:52] but it might get reclassified as a feature [12:07:23] guilty until proven useful [12:07:29] until it is proven _too_ useful [12:07:52] I say we really hide (i.e. don't show) hidden/deleted/struck entries so they can't be found [12:07:54] what the lazy dev giveth, the paid dev taketh away [12:08:09] There's really no point in showing stuff like 02:58, 30 January 2009 (username removed) (log action removed) (comment removed) , zero information [12:08:15] well, that doesn't work so well [12:08:19] since you can hide just portions of it [12:08:25] Timestamp is important. [12:08:36] Chronology, order of events, etc. What happened when. [12:08:36] That's the problem, partially hidden entries [12:08:42] and for deleted revisions, it can be useful for figuring out what the fuck is going on [12:08:56] like two revisions might have nothing in common, but an intermediary hidden revision could clear up the confusion [12:09:00] Marybelle: What's the point of knowing that *something* happened on Jan 30, but you don't know what, by whom, or why? [12:09:08] a big problem with the old method of deleting single revisions [12:09:12] heh [12:09:14] RoanKattouw: Transparency. You know somebody is hiding something from you. [12:09:20] OK :P [12:09:24] Which is the whole point of getting rid of Extension:Oversight... [12:09:26] and you can ask a sissy op to expose themselves to you [12:09:27] :P [12:09:34] anyway [12:09:47] But the bug that these things can be found by using criteria revealing hidden info is kinda hard to solve [12:10:00] I'd suggest allowing the API to show hidden log entries but not filter by hidden content, until that bug is closed (wontfixed) [12:10:09] ahh [12:10:18] hmm [12:10:22] Nah, I'm gonna hold off on that until that bug is resolved somehow [12:10:41] another prob [12:10:46] if you've hidden the user/target/comment [12:10:51] how do you, the log hider, find it again? [12:10:56] We have a feature that's half-broken, so instead of adding it to the API I'm just gonna wait for it to be fixed [12:11:05] Splarka: The log hider can see what he hid, right [12:11:07] ? [12:11:09] right [12:11:13] except he has to know the logid [12:11:18] I mean, people with permission to hide stuff can see hidden stuff, right? [12:11:32] Splarka: How's that? Can't you just search by title/timestamp (which is public info)? [12:11:33] well, not that simple I think [12:11:40] heh [12:11:45] not if he hid the title and forgot the date! [12:11:55] there is one slightly easy way... [12:12:00] Can you hide the title? [12:12:05] yep [12:12:18] Well privileged users *should* be allowed to search for that stuff [12:12:22] and if it is hidden, you can't search by it (well, you can now, but wouldn't be able to) [12:12:27] ick, that sounds... hard to support [12:12:35] hmm [12:12:41] The whole damn thing is a nightmare [12:12:42] well, the feature should be totally different then [12:12:56] instead of an admin like me seeing (comment removed) [12:13:03] I should see the comment or something [12:13:12] Yeah, privileged users should just see it [12:13:17] and know that it being struck out means muggles can't [12:13:24] Yeah [12:13:27] and knowing that I see it under there means I can search for it [12:13:34] Yes [12:13:42] (that's the implementationally hard part) [12:13:50] yah [12:14:03] and annoying in the API on the user end too [12:14:44] so someone should open a bug, "Support deleted revs in the API" and set it as blocked by 17342 [12:14:52] and any other open rev bugs [12:15:02] step 3: profit [12:15:41] I wouldn't call it deleted revs, confusing with list=deletedrevs which is something different [12:16:13] yes, it keeps changing names though [12:16:28] revision delete, deleted revs, log suppression, log oversight, Shut_up_MZM [12:16:58] another problem is, deleting on wiki, and then deleting via the maintenance scripts named "delete_something" are completely different things [12:17:28] but that's english, not enough euphemisms for words, if only we had some sort of thesaurus [12:17:30] (sarcasm) [12:17:50] synonyms [12:18:25] *Splarka yawns [12:19:00] Splarka: Yeah, what the hell are you doing up? [12:19:08] actually it is only 4am [12:19:50] Commit something now and you might just steal Tim's reputation :P [12:19:56] but I'm feeling a bit tired, been watching too much Father Ted, so everything has an irish accent in my head at the moment, which is very sleep inducing [12:20:04] hehe [12:20:54] there is no such thing as bad publicity, and there is no such thing as good reputation [12:21:19] reputations are basically individual stereotypes... a monotype I guess [12:21:32] Yeah [12:21:33] predetermined and often second-hand behavorial expectations [12:21:43] Well Tim's is that he commits his stuff at 2am (Australia time) [12:22:05] yah, that pesky "test until it actually works, commit once" attitude [12:22:12] *RoanKattouw imagines Splarka saying all that with an Irish accent [12:22:16] what the hell is up with that, you'd think he didn't have editcountitis [12:23:01] the only thing worse than being talked about, is being talked about while you're on IRC and trying to get work done [12:23:06] Yeah :P [12:23:09] sorry tim, I go sleep now [12:23:11] ni [12:25:19] hi, is there a way to remove the ip address display and tools for general users from the personal bar [12:25:21] hello [12:25:33] I cant find it in the wiki help :/ [12:25:52] I'm trying to download InputBox, but getting a message that says no such extension [12:25:54] http://www.mediawiki.org/wiki/Extension:InputBox [12:26:29] That's weird, it doesn't seem to be in the list [12:26:35] was it renamed or something? [12:26:43] No, not that I know of [12:26:53] huh [12:26:59] Yeah, it's weird [12:27:19] are there any trustworthy mirrors you know of? [12:27:28] It should be in SVN [12:27:37] linky? [12:27:40] you can click those links [12:27:44] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/InputBox/ [12:27:46] and copy and paste them manually [12:27:52] just tright there on your screen [12:27:57] ah, thanks :-) [12:28:05] svn is another good way [12:28:28] The links on the extension page point to SVN, so it's pretty much the same [12:28:31] so, i dont need a big spoon feeding just a general question, with the p-personal bar up the top right, why does it display an IP there [12:28:48] stjohn: Because you're not logged in? [12:29:04] i see, so it shows that when your not logged in, then it links to a new file on yourself [12:29:05] download all 4? [12:29:10] I'm using 1.12 [12:29:28] There should be instructions below the file downloads on the main page [12:29:35] ah ok [12:29:38] it should note the requirement, getting all 4 is a good start [12:29:52] thanks again... I wonder why the snapshot doesn't work though [12:30:17] its a bug, I'm not quite sure how it could happen [12:31:12] ahhhuh [12:31:16] i searched "talk for this ip" [12:31:21] that got the mark [12:32:01] $wgDisableAnonTalk = true; [12:32:01] $wgShowIPinHeader = false; [12:33:13] 03(NEW) Rollback shouldn't show "Action complete" unless it actually completed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17350 15enhancement; normal; MediaWiki: Page editing; (matthew.britton) [12:41:59] hello [12:42:30] can someone help finding out why this works on en.ws and not in my wiki? wpTextbox1value += /\{\{[\s]*title|header[\s]*[\s\S]*\|[\s]*author[\s]*\=([^\||\}\}]*)/.exec(rawTocPageRequest.responseText)[1].replace(/^\s+/,"").replace(/\s+$/,"") [12:42:40] http://en.wikisource.org/wiki/MediaWiki:Gadget-TemplatePreloader.js [12:42:47] http://wikilivres.info/wiki/MediaWiki:Gadget-TemplatePreloader.js [12:43:03] It's 7 AM where I am. [12:43:15] But at this point I've decided to ignore this fact and pretend I didn't stay up all night. [12:44:01] Marybelle: You have an excuse if you want it; Splarka just went to sleep [12:44:09] (of course he's on the West coast) [12:44:47] Yeah, I'm on the east coast. [12:44:59] I took a nap from like 12 to 3 and now my entire clock is fucked. [12:45:06] Exactly, so at least he went to sleep at a slightly more normal time [12:45:20] Marybelle: Try CEST ;) [12:45:29] Err CET of course [12:45:42] ;-) [12:52:57] Marybelle, easily done. computers and babies have a habit of messing with internal clocks ;-) [12:54:10] ive only experienced the computer disruption so far. the baby disruption which has been well documented is due to start in about 4 weeks time. [12:54:13] :) [13:02:07] wfGetIP () [13:02:07] Work out the IP address based on various globals For trusted proxies, use the XFF client IP (first of the chain). Where this is came from ? [13:02:19] Work out the IP address based on various globals For trusted proxies, use the XFF client IP (first of the chain). Where this is came from ? [13:02:31] ... [13:02:45] sorry twice [13:02:48] :) [13:02:58] scuffio: What do you mean by that question? wfGetIP() returns the IP of the client, that's it [13:03:10] ok [13:03:17] (and if the client is a trusted proxy, find out who they're proxying and return that instead) [13:03:52] perfect [13:04:14] insted of is was ip... [13:04:58] Damn children. [13:07:25] scuffio: Frankly, I'm getting a little tired of you asking me the details of every md5() call in the code. Clearly, the call you referenced MD5s an IP ADDRESS and is salted with $wgProxyKey/$wgSecretKey which is, as the name suggests, secret. [13:07:53] Just by *looking* at the names of the variables, I've managed to figure out that this use of md5() isn't dangerous, because IP addresses are hard to fake and because it's salted with a secret key [13:07:56] it's not a QUESTION about secure or not [13:08:12] i just wanna know what that line do [13:08:25] Well you could start by telling me where it is [13:08:37] ok [13:08:45] 03(mod) simplewiki is slow to respond to the watchlist request - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17333 (10innocentkiller) [13:09:03] 03(mod) Submitting page with image from bad image list causes text to disappear - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16039 (10matthew.britton) [13:09:04] 03(mod) Display error/ info message when image from bad image list rejected - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16038 (10matthew.britton) [13:09:19] http://svn.wikimedia.org/doc/ProxyTools_8php.html [13:09:20] 03(mod) API: Fatal error with ucprop=patrolled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17215 (10matthew.britton) [13:09:51] 03(mod) Log entries deleted with RevisionDelete feature still appear when searching with [[Special:Log]]. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17342 +comment (10roan.kattouw) [13:10:28] scuffio: That line seems to be in the wfProxyCheck() function, which is documented as "Forks processes to scan the originating IP for an open proxy server MemCached can be used to skip IPs that have already been scanned. " [13:10:46] i see it [13:11:03] i can read :) [13:11:15] .. i think.... :) [13:11:26] Looking a bit further you'll see that it's used as some kind of parameter to Special:Blockme [13:11:44] So your next step should be looking there [13:16:20] 03catrope * r46795 10/trunk/phase3/includes/api/ApiQueryUserContributions.php: API: Temporarily disable ucprop=patrolled and ucshow=patrolled|!patrolled because of performance concerns mentioned on bug 17215 [13:16:41] 03(mod) API: Fatal error with ucprop=patrolled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17215 (10roan.kattouw) [13:20:42] 03rotem * r46796 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: Localization update for he. [13:25:46] hi! I'm having trouble with my fresh mediawiki install, which is getting xcache errors even though the xcache settings seem to be correct, would anyone be willing to help me find the problem please? [13:38:19] hi guys!!! can i make some wikipages access only by authorized ppl ? [13:38:47] Mba7eth: Depends on what you mean by access (read or write?) [13:38:58] !access | Mba7eth [13:38:58] --mwbot-- Mba7eth: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [13:39:10] !protect | Mba7eth [13:39:10] --mwbot-- Mba7eth: You can protect pages to prevent them from being edited by certain user groups. When a page is deleted its' protection is retained. Also you can protect nonexistant pages since 1.12. See [13:40:10] is there possibility to first deny everything from everyone and then allow for example read for everyone [13:40:14] !help [13:40:14] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at < http://www.mediawiki.org/wiki/Mwbot >, you can find all my source code at < http://amidaniel.com/viewvc/trunk/MWBot/?root=svn >. A dump is now available at < http://toolserver.org/~amidaniel/botbrain.html > [13:40:28] we tried [*][*] = false and then [*]['read'] [13:40:32] but id didn't work [13:40:50] spexi: You did to ['*'] with quotes right? [13:40:54] we are developing a small wiki site in out private network ( i guess this is not against license correct) .... we have some pages with important information . we want only authorized ppl to read such pages [13:41:04] ['*']['*'] doesn't work, sorry [13:41:29] You have to deny each right separately, but you don't have to deny stuff that isn't allowed by default. See DefaultSettings.php for what's allowed by default [13:41:38] yeah sure there was '*' [13:41:42] !secrets | Mba7eth [13:41:42] --mwbot-- Mba7eth: MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. [13:41:49] RoanKattouw: ok, thanks [13:41:52] spexi: OK. But * works only as a group, not as a right [13:42:04] okay [13:42:18] ok thanks :) [13:42:49] but we can use mediawiki in out private network without any problem correct ? [13:44:23] afaik, it's free to use how you please as long as you credit the authors [13:44:42] bdmm: And that crediting is done by default in [[Special:Version]] [13:44:58] Mba7eth: Yeah, use MW for whatever you want. As long as it's legal, we don't care ;) [13:45:28] The only thing you can't do is use (parts of) the MW source code in a proprietary or otherwise non-GPL compatible software product [13:46:09] *RoanKattouw notes that the comment above should be revised to read "use MW to *host whatever content* you want" [13:47:17] now since traffic seems to have picked up in here, I'll repeat my own question if nobody minds [13:47:26] I'm having trouble with my fresh mediawiki install, which is getting xcache errors even though the xcache settings seem to be correct, would anyone be willing to help me find the problem? [13:49:52] I realise this is probably not the best place for it, but I'm not having much luck with the xcache documentation, the mediawiki documentation or the xcache IRC channel either, so I'm starting to run out of options [13:50:52] I created a new wiki but I can't see the Create account link on the log in page. Why's that so? [13:51:23] thanks..... we are using it as a documentation ..... where every member of the department can write his finding/ controlled assets ..... woooooow with no headache of creating one by our self or by contractors .... I'm going to support them now [13:51:37] I love you wikipedia .... will you marry me :P [13:51:39] can you export pages from 1 wiki to another without getting that little line at the bottom of every single article saying where it was imported from? [13:52:12] How can I enable Create account link on the log in page? [13:52:19] Traveler1549: What happens when you go to Special:Userlogin/signup ? [13:53:05] i believe you have to enable it in your localsettings.php [13:53:28] includes/special/user/SpecialUserlogin.php is where that create account link is normally specified [13:54:15] OK. That page has the option to create a new account? Why isn't link to that page displayed on the login page? [13:54:33] Traveler1549: Can you please go to [[Special:Userlogin/signup]] and tell me what happens? [13:54:51] $wgGroupPermissions['*' ]['createaccount'] = true; [13:55:04] Traveler1549: ^^ [13:55:04] p858snake: It didn't help. [13:55:14] are you using the default skin? [13:55:18] sorry include/templates/Userlogin.php [13:55:18] No. [13:55:26] Is the file that states the format of the login page. [13:55:35] And the file I used to customize my create account message to say something different. [13:55:38] then the message is probably hardcoded into the skin [13:56:11] Special:Userlogin/signup give me the chance to create a new account. [13:56:32] Seriously you can write whatever you want, create account link, anything in include/templates/Userlogin.php [13:57:08] My MW has a custom message there explaining the differance between wiki account and main site accounts, and giving them the option to signup. [13:57:16] p858snake:, Zorg`: No, that message is localized in some MediaWiki:whatever message [13:57:40] Zorg`: So you don't need to tweak that file, just use Special:Allmessages to find the message it uses and tweak that (links to a [[MediaWiki:something]] page) [13:57:53] Yeah but clearly that isn't working for him... [13:58:03] Zorg: Why? [13:58:05] Traveler1549: Good. No idea why you don't get the subscription link, but at least you can subscribe :P [13:58:20] *RoanKattouw finds out why it isn't being shown [13:58:41] Traveler1549: a link to the site if possible would be helpful [13:58:48] You may not need to change that file but there must be something wrong with it, if it isn't displaying the link [13:59:56] What's the name of the system message displayed on the login screen? [14:00:12] *RoanKattouw finds out [14:01:09] I'm sorry I can't wait anymore. It's 16:00 and I've to go. Thanks for everyone! [14:01:16] ...lol [14:01:32] Zorg`: Do you mean the "Don't have an account? [[Create an account]]" message? [14:01:45] Zorg`: That's [[MediaWiki:nologin]] and [[MediaWiki:nologinlink]] [14:01:48] :o its midnight here [14:01:58] *p858snake --> bed [14:02:20] p858snake: Where are you? China, Japan? [14:02:27] ...? [14:02:31] Australia.... [14:02:31] It's not me with the problem... [14:02:45] p858snake: Oh, right, West Australia I take it [14:02:53] Zorg`: About the customization thing [14:02:53] I assume he meant the don't have account create an account message, but he left. [14:02:53] no Queensland [14:03:00] ... [14:03:09] is that the wildfire area or the flooding area? [14:03:11] I'd swear it's 1 AM in Melbourne right now [14:03:21] daylight savings [14:03:22] dunno why you're asking me, it was Traveler1549 with the problem. [14:03:44] bdmm: flooding is at the topish area of queensland [14:03:49] p858snake: You mean Queensland does have DST and Victoria doesn't :O [14:03:59] no the reserve [14:04:21] my problem is I'm ripping apart specialImport.php trying to find the stupid thing that tags a line at the end of every imported article saying where the article was from -_- [14:04:28] Zorg`: I know, he didn't see the link, but you mentioned tweaking the template file to customize it. Now I'm pointing you to friendlier ways of customization [14:05:23] Zorg`: I'm planning to write up an API module for Import one of these days, so I'll be ripping apart the import code as well. If I find anything, I'll let you know [14:06:17] i believe the import line has to do with your license settings as well [14:07:30] I just want to move pages from one wiki to another, if I have to go through every page after and remove that damn line it defeats the point of an import script [14:07:51] Zorg`: As a matter of a fact, I'll dive into it right now. [14:08:30] I'm sure there is some magical undocumented way of doing it that one of the developers knows. [14:11:06] Let me know if you find out where it is / how to disable it. [14:13:57] hi folks - what's the proedure to format numbered lists that include
 formatted blocks that doesn't force renumbering to happen?  Here's an example:
[14:14:02] 	http://pastebin.stonekeep.com/5606
[14:15:35] 	Zorg`: I assume you've checked that that notice isn't in the .xml file?
[14:15:46] 	(i.e. that the problem isn't at export time)
[14:18:15] 	03(NEW) importImages.php Problem - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17351 normal; normal; MediaWiki: Maintenance scripts; (zorg)
[14:18:23] 	yes
[14:18:43] 	I did check the xml file and couldn't find any record of it, the notice at the bottom also includes the destination not where it came frmo.
[14:18:51] 	So I can only deduce it is added at the time of import
[14:18:57] 	03catrope * r46797 10/trunk/phase3/includes/api/ApiFormatRaw.php: Nitpicking brigade: fix copyright year
[14:19:08] 	Zorg`: Can you go to Special:Allmessages and Ctrl+F for some words in that notice?
[14:19:18] 	Oh wait... you may be right
[14:19:38] 	It's in the XML file, how did I miss that? >.<
[14:19:44] 	lol
[14:19:54] 	My god I'm a noob >.<
[14:20:03] 	Wikia must of customized their export scripts to add that crap on the end.
[14:20:56] 	03shizhao * r46798 10/trunk/tools/planet/zh/config.ini: change a blog name
[14:21:34] 	I changed the login message anyway so it isn't hardcoded in the php file anymore :)
[14:21:41] 	Good
[14:22:01] 	Sometimes I lose patience trying to find stuff like that so take the shortcut lol
[14:22:12] 	03(mod) #time gives wrong year if only year prior to 1960 is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17346  +comment (10b-jorsch)
[14:22:48] 	My bug report about importImages.php is genuine though and not just my own stupidity.
[14:23:16] 	03(mod) #time gives wrong year if only year prior to 1960 is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17346  +comment (10roan.kattouw)
[14:34:48] 	hi. In what table is article creator stored pls?
[14:44:54] 	http://svn.wikimedia.org/doc/classUpdateLogging.html 
[14:45:18] 	what this  function copyExactMatch( $srcTable, $dstTable, $copyPos )  do ?
[14:47:19] 	scuffio, look at the code to find out.
[14:47:23] 	Do your own homework.
[14:47:43] 	i do
[14:47:55] 	theres a comment for it
[14:48:04] 	at line 122, the exact line above it
[14:48:17] 	You're perpetually nagging us with basic questions that you could figure out the answers to yourself if you'd bother to actually do the work.
[14:48:44] 	i can see what it does but id prfer to tell him where to learn himself :D
[14:49:23] 	If you have a question whose answer is genuinely difficult to figure out, where developers of MediaWiki are actually the only ones who could easily figure out the answer, ask us then and only then.
[14:49:27] 	scuffio: when will you realise that you need to understand the code before you can understand the output of purify?  your questions are becoming increasingly annoying
[14:49:33] 	Otherwise you're just going to annoy everyone (more than you already have).
[14:49:42] 	Oh, he's using Purify?
[14:49:48] 	and if you cant understand that single comment go back to the top and read the journal
[14:50:20] 	Simetrical: he's been coming in here for about a month pasting purify warnings and asking what they mean
[14:50:27] 	Simetrical: although he seems to have stopped pasting the warnings now
[14:50:27] 	lol
[14:50:33] 	!mytoolsaysyousuck
[14:50:33] --mwbot--	Warnings thrown by code auditing tools like Fortify are mostly nonsense. Unless you understand the MediaWiki code and know what you're talking about, don't ask us about every warning you get.
[14:50:33] 	Oh, that long?
[14:50:43] 	Inspired by Splarka and werdnum --^
[14:50:45] 	I only noticed him in the last few days.
[14:50:57] 	i must admit Im guilty of asking dumb questions, but i guess i dont fully realise im wasting a lot of expert time rather than just chatting with fellow mediawiki developers
[14:51:15] 	yksinaisyyteni: I was under the impression he'd just grepped the source for md5 and asking what each call to md5() is used for
[14:51:15] 	We don't mind answering intelligent questions.
[14:51:15] 	i can see where hes comming from in some respect, but you gotta learn after being helped a few times to help yourself
[14:51:23] 	We don't even mind answering fairly stupid questions, in moderation.
[14:51:29] 	yeh i can see hes pushed it
[14:51:34] 	But asking stupid questions again and again and again and again from the same person is obnoxious.
[14:51:36] 	03(mod) Read restriction support - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12251  (10chantepie)
[14:51:39] 	RoanKattouw: $5 says purify emits a boilerplate 'md5 can be insecure' warning for every call to md5()
[14:51:51] 	yksinaisyyteni: OK that's just stupid
[14:52:11] 	well, it makes sense, it _can_ be insecure, so people might want to audit their application for uses of it
[14:52:22] 	usually you can then add some kind of markup to disable the warning in the future, for places where it's not a problem
[14:52:36] 	yksinaisyyteni: Someone (not sure it was the same guy) bugged me with a warning earlier that the resource identifier passed to mysql_pconnect() could be controlled by the attacker
[14:52:43] 	Whereas it was really just a $wg config var
[14:52:45] 	RoanKattouw: same guy i think
[14:53:20] 	So I wonder whether that audit tool even tries to see whether that var is attacker-controllable or just throws a misleading warning at every pconnect call
[14:53:47] 	RoanKattouw, well, arbitrary globals are attacker-controllable with register_globals.  If not set explicitly.
[14:53:52] 	(if it said that the res ID, *if* controller by the attacker, can be used to ... but it doesn't it says the res ID *can* be controlled by the attacker and can be used to ...)
[14:53:58] 	Hard for an automated tool to tell if it's *always* set explicitly (where is the file called from?).
[14:54:07] 	Yeah
[14:54:17] 	good automated tools are actually surprisingly accurate - although never perfect
[14:54:27] 	i understand purify for C/C++ is very good, but i've never used it for PHP
[14:54:28] 	Still, it should put a little more conditionals (if, can, might) in its warnings
[14:57:14] 	the next time i go to customise a mediawiki template.... im just going to..... not
[14:57:22] 	sooo much work in the css
[14:57:43] 	its taken me like a full day just to work the css and layout
[14:58:08] 	not that its mediawiki's fault, it was just never goign to be easy :D
[15:02:35] 	Taint mode looks cool.
[15:02:50] 	mediawiki is $25,184,330 worth
[15:03:01] 	Yeah, yeah.
[15:03:04] 	i just got dc
[15:03:06] 	BS.
[15:03:06] 	did anybody answer me
[15:03:12] 	my bad
[15:03:20] 	stjohn2, no, no one answered you.
[15:03:31] 	(I was replying to  mediawiki is $25,184,330 worth)
[15:03:33] 	oh good, it would have been a shame if i got answered dc
[15:03:51] 	Im not really sure, I did some researching around i havnt found the clause in the GPL yet
[15:04:05] 	Anyway, multiply number of developers * number of hours worked for MediaWiki and you get a heck of a lot less than $25 million.
[15:04:46] 	That would be the equivalent of five to ten full-time developers for five years.  We never had nearly that many.
[15:04:48] 	I'm basing it on a precedent for the great Oscommerce (now obsolete to Zen), of which although it was under GPL, it was commonly known that templates were general copyright as a fork 
[15:07:25] 	I might try and find a GPL discussion forum
[15:08:05] 	god, imagine what that would be like
[15:10:06] 	haha
[15:10:36] 	are the file in maintence accessible on by the shell ? 
[15:10:41] 	not much has changed since GPL commenced i doubt much one one exists, except a council for enforcement
[15:11:47] 	scuffio: yes, via php commandline invocation
[15:12:44] 	ok
[15:18:27] 	ok well i have a makeshift answer that will do, thanks to anybody who put thought into it anyway
[15:46:41] 	somebody knows about maintenance/generateSitemap.php? cos i get google warnings for all URLs (MAIN, TALK) having the same priority 1.0 set while 0.5 is standard. How can I change that?
[15:47:07] 	or better to say shouldn't generateSitemap.php set 1.0 ?
[15:50:32] 	03(mod)  User group changes not effective when using UserLoadFromSession hook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17339  (10puhelin09)
[15:59:24] 	Hi, how does MediaWiki choose the keywords for the pages'  tag?
[16:05:43] 	Good morning party people!
[16:07:13] 	Is there anyone who can help me with changing the look on my rss feed?
[16:07:44] 	Does anyone know the easiest way to revert ALL changes from a user / ip address? I'm having a slight vandalism problem (as expected). >.<
[16:08:15] 	tabbed browser
[16:08:16] 	ctrl
[16:08:18] 	and rollback
[16:08:32] 	isnt there an extension to revert all of a single users contribs?
[16:08:40] 	can you be more specific? I'm looking for an automated solution
[16:11:01] 	http://www.mediawiki.org/wiki/Extension:Nuke - Does mass deletion of pages created by a user
[16:11:41] 	do you have any idea if that will revert? or only delete? 
[16:11:44] 	im reading now...
[16:12:17] 	thats the thing, im sure there is/was an extension for this
[16:12:30] 	me too, i'd like to find it and maybe even contribute
[16:12:32] 	still googling
[16:13:29] 	Hi guys ... I'd like to know more about the function ImportPOST line 1773 of the file index.php ... what's the porpuse of the variable $_POST that it sends at the other function ?!? Where $_POST come from ?!? It seems to be an unchecked input isn't it ?!? Tanks
[16:13:42] 	ooof
[16:13:44] 	try #php
[16:14:14] 	$_POST is stuff that is post back to the page IIRX
[16:14:15] 	Guest25224: $_POST is a gloabal variable which is filled with data from forms
[16:14:16] 	IIRC
[16:14:58] 	http://de2.php.net/manual/de/reserved.variables.post.php
[16:15:22] 	http://php.net/manual/en/reserved.variables.post.php for english :D
[16:15:41] 	I know how is used, but in that context which information it contains ?!?
[16:15:55] 	lolsup?
[16:16:06] 	try dumping it?
[16:17:03] 	I just have to know if that unchecked $_POST could be in anyway a security problem
[16:17:16] 	ZOMG HES RIGHT
[16:17:22] 	someone call Vin Cerf asap
[16:17:31] 	probably president Obama too
[16:17:34] 	it'll may check somewhere else, try to track it
[16:19:26] 	Can someone help me editing my rss?
[16:20:02] 	Safe or unsafe, that $_POST is unchecked and unchecked variables could be always a problem, this is my think !
[16:20:04] 	Guest25224: All the checks on $_POST and friends are done elsewhere, in WebRequest.php
[16:20:39] 	ok ... I'm going to see, tanks yet !
[16:21:36] 	anyone remember what the link is for the users user page ie [[User:MyPage]] links to the users userpage and automatically changes for each user?
[16:21:48] 	cant seem to find it under magic words
[16:22:02] 	[[Special:MyPage]]
[16:22:20] 	03(mod)  User group changes not effective when using UserLoadFromSession hook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17339  (10puhelin09)
[16:23:17] 	cheers
[16:37:01] 	can any one help me remove a question mark in the end of my rss feed?
[16:41:11] 	config/index.php is a file removed after the installation ? 
[16:42:43] 	i notice two index.php file
[16:43:07] 	does anybody know it ? 
[16:43:21] 	scuffio: config/index.php is the installer
[16:44:39] 	and is removed after the installation ? 
[16:46:36] 	scuffio: I think so, but I'm not completely sure 
[16:47:12] 	so ? 
[16:47:45] 	scuffio: Not automatically
[16:47:49] 	03(mod) simplewiki is slow to respond to the watchlist request - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17333  +comment (10siebrand)
[16:47:57] 	But the installer encourages you to do so
[16:48:03] 	(for a very good reason)
[16:48:09] 	brillant
[16:48:13] 	I know
[16:48:17] 	:)
[16:56:04] 	Storing sensitive data in a persistent cookie can lead to a breach of confidentiality or account compromise ... don't you think that is the situation of WebResponse.php line 16 ?
[16:58:38] 	oh noes
[16:58:48] 	when do they give up?
[16:58:59] 	or is it just "he/she"
[16:59:09] 	lol
[16:59:47] 	Nikerabbit, oh no, it uses open source software. Is that a potential security failure?
[17:02:42] 	Guest25224: Cookie stealing is a problem of almost all major sites, not only mediawiki
[17:03:15] 	Wuzur|rhn, i really wouldnt bother ;)
[17:03:28] 	open wlans?
[17:07:27] 	Can any one help me edit my Rss feed?
[17:10:31] 	03(mod)  syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835  (10cenarium.sysop)
[17:25:23] 	03brion * r46799 10/trunk/tools/planet/en/config.ini: strip BOM marker
[17:31:04] 	03(NEW) Attempting to review while blocked fails silently - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17352 normal; normal; MediaWiki extensions: FlaggedRevs; (happy_melon)
[17:31:54] 	03(NEW) Control TOC level/depth displayed per page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17353 15enhancement; normal; MediaWiki: General/Unknown; (david)
[17:34:29] 	Help with editing my Rss feed anyone?
[17:35:44] 	i notice here 
[17:36:02] 	00231 if (isset($_REQUEST['filter']))
[17:36:02] 	00232         $filter = $_REQUEST['filter'];
[17:36:02] 	00233 else    $filter = '';
[17:36:02] 	where $_REQUEST come from ? 
[17:36:33] 	it can be a post or a get from the user
[17:36:46] 	emm it cannot be...
[17:37:57] 	03(FIXED) en.planet.wikimedia.org not updating - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17314  +comment (10rainman)
[17:42:28] 	03ialex * r46800 10/trunk/extensions/CentralAuth/SpecialGlobalUsers.php: (bug 17269) Special:GlobalUsers now has correct pagination links when using Special:GlobalUsers/group (&group=group was missing in the URL)
[17:42:48] 	03(FIXED) Special:GlobalUsers losts group info on next link - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17269  +comment (10alex.emsenhuber)
[17:43:08] 	03(mod) Special:GlobalUsers losts group info on next link - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17269  (10alex.emsenhuber)
[17:46:06] 	($_REQUEST['filter']) where this value came from  ? 
[17:46:32] 	My extension generated an sql error
[17:46:38] 	the error is "Database::sourceStream". MySQL returned error "1046: No database selected (localhost)".
[17:48:01] 	the extension was Farmer
[17:48:05] 	anyone able to help?
[17:50:25] 	ChryslerFan1986: try ialex
[17:50:32] 	ialex, can you help me?
[17:50:32] 	ChryslerFan1986, sounds like a database setup issue, is this a fresh install?
[17:50:44] 	This is a fresh install of MediaWiki, I-MOD
[17:50:58] 	ChryslerFan1986: when trying to create a new wiki?
[17:51:15] 	i'd wager it's not an issue with the extension...
[17:51:28] 	first get MW running??
[17:51:53] 	I got MW running well... I'm actually editing it as we speak!
[17:52:20] 	ChryslerFan1986: what was you doing when the error happend?
[17:52:35] 	03malafaya * r46801 10/trunk/extensions/Wikidata/ (OmegaWiki/SpecialDatasearch.php SpecialLanguages.i18n.php): * Special:Datasearch localization support
[17:52:37] 	ialex, I was trying to create a new wiki on localhost when the error happened
[17:52:49] 	How do I get Farmer to work with localhost properly?
[17:52:57] 	you did this? http://www.mediawiki.org/wiki/Extension:Farmer#Before_installing
[17:53:32] 	I set a table prefix of mw_ for all my tables, and LocalSettings.php is sanitized
[17:54:15] 	well, status: experimental
[17:54:19] 	I then installed my wiki at http://127.0.0.1/mywiki
[17:54:23] 	maybe post on the discussion page
[17:54:28] 	It installed fine enough
[17:54:43] 	ChryslerFan1986: can you paste what you set in $wgFarmerSettings in a pastebin please?
[17:55:18] 	what MW do you use?
[17:55:24] 	*which MW version
[17:55:29] 	I'm using the latest SVN build.
[17:56:32] 	http://pastebin.com/f52efae2c - here's the pastebin
[17:57:20] 	'useWgConf'                 => false,
[17:57:37] 	without quotes arround false
[17:57:48] 	ChryslerFan1986: ^
[17:58:06] 	I've just fixed that now as you wrote it
[17:58:32] 	On the list of wikis, all wikis are redirecting to http://127.0.0.1/
[18:00:28] 	03siebrand * r46802 10/trunk/phase3/languages/messages/MessagesEn.php: Use "e-mail" consistently.
[18:00:58] 	ok, is that enough info?
[18:02:08] 	ChryslerFan1986: after changing what I said?
[18:03:13] 	I changed that bit you said, ialex, but Farmer doesn't let me delete wikis, generating another SQL error
[18:08:42] 	sorry I disappeared!
[18:08:48] 	back to the topic we mentioned...
[18:09:53] 	03siebrand * r46803 10/trunk/phase3/languages/messages/ (39 files): Localisation updates for core messages from translatewiki.net (2009-02-04 18:04 UTC)
[18:10:48] 	my Farmer extension has some errors... sql ones
[18:11:06] 	03aaron * r46804 10/trunk/extensions/CheckUser/CheckUser_body.php: code style tweak
[18:11:07] *RoanKattouw 	directs ChryslerFan1986 to ialex
[18:12:46] 	OK, shall I do a pastebin of the error messages I get?
[18:13:03] 	I'm trying to code this http://www.mediawiki.org/wiki/Extension_requests#Switch_article_order_on_category_pages into the core of CategryPage.php, well, atm I simply try to switch the order to DESC but can't seem to find a way. I don't understand flip in 'ORDER BY' => $this->flip ? 'cl_sortkey DESC' : 'cl_sortkey'
[18:13:06] 	Always
[18:14:16] 	http://pastebin.com/f223a56a5 - the errors
[18:15:07] 	Subfader: That means use DESC is $this->flip is true, don't use DESC if $this->flip is false
[18:15:27] 	Roan, is this OK? http://pastebin.com/f223a56a5
[18:16:55] 	yep but where the hell does flip come from? 
[18:17:13] 	I don't know, go search for $this->flip :P
[18:17:25] 	ah. i guess i cani set for articles flip=flase
[18:18:16] 	ChryslerFan1986, ialex: "Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource" --> that suggests something very evil is going on
[18:18:44] 	My personal guess would be that you've got one of your database's user/pass wrong somewhere
[18:19:05] 	I haven't configured the password wrongly
[18:21:01] 	03siebrand * r46805 10/trunk/extensions/ (108 files in 99 dirs): Localisation updates for extension messages from translatewiki.net (2009-02-04 18:04 UTC)
[18:23:19] 	I have a PHP function that lets users download files.  When I moved this function inside a new Special page it adds a newline at the beginning of each file that's downloaded.  Any clue why or where this is coming from?
[18:23:27] 	03aaron * r46806 10/trunk/ (5 files in 4 dirs): (bug 17352) Improve review UI with regards to blocks
[18:23:36] 	03(FIXED) Attempting to review while blocked fails silently - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17352  +comment (10JSchulz_4587)
[18:24:55] 	ok, not working
[18:27:29] 	ping :)
[18:28:02] 	pong
[18:28:14] 	thanks
[18:28:26] 	ping:)
[18:28:33] 	I was wondering if I was doing something wrong :)
[18:28:44] 	see
[18:29:09] 	zack1: Maybe some PHP file that has a newline after the closing ?> . In that case just remove ?> at the end of the file, it's unnecessary
[18:29:16] 	I'm a Nobie with irc 
[18:29:23] 	Sorry
[18:30:55] 	I can't switch the order to desc for articles in categories :/ no matter if  i try $this->flip = true; where it's false or even with ORDER BY cl_sortkey DESC in $res
[18:30:56] 	Is there a way to send a file over irc? I'm under Xchat now. 
[18:31:38] 	ialex, are you able to help me?
[18:31:38] 	Subfader: There should be a query string parameter that flips the order IIRC
[18:32:03] 	flip = true ? tried
[18:32:23] 	RoanKattuow, OK, I pasted the error - anyone know what's up?
[18:32:49] 	actually I dunno where exactly to set $this->flip = true; for only using desc on article listings on cat pages
[18:33:19] 	Can I post more errors?
[18:34:59] 	brion: did you get my crontab email?
[18:35:22] 	AaronSchulz: god knows, i've got a million emails to look at :D
[18:36:46] 	Halo Party People!
[18:36:54] 	RSS editing anyone?
[18:37:21] 	that was it.  Thanks a bunch RoanKattouw :)
[18:38:46] *AaronSchulz 	drinks SunnyD
[18:39:50] 	guys, how can I switch the order of articles on categorypages to desc in CategoryPage.php? We tried hard already :/
[18:40:31] 	the most obvious should be to set $this->flip = true; but where?
[18:41:36] *JimBastard 	drinks the purple stuff.
[18:43:31] 	or in other words: which function queries the articles in the cat? i feel dumb. ouch
[18:47:46] 	hi
[18:48:38] 	I mean 'ORDER BY' => 'cl_sortkey DESC' works but that also switches the order of subcategories and images etc. I just want to switch the article order.
[18:49:12] 	Can anyone help me add a date to my rss feed?
[18:50:31] 	AaronSchulz: http://www.newscientist.com/article/mg20126941.700-born-believers-how-your-brain-creates-god.html?DCMP=OTC-rss&nsref=online-news
[18:55:00] 	03aaron * r46807 10/trunk/phase3/includes/LogEventsList.php: (bug 17342) Prevent deleted log item leaking (via slow brute-force)
[18:55:12] 	03(FIXED)  Log entries deleted with RevisionDelete feature still appear when searching with [[Special:Log]]. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17342  +comment (10JSchulz_4587)
[18:56:39] 	:(
[19:00:19] 	03(NEW) Magic word returning protection expiry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17354 15enhancement; normal; MediaWiki: Page protection; (cenarium.sysop)
[19:00:59] *AaronSchulz 	sighs
[19:01:14] 	03(NEW) "Show only users with edits" for list=allusers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17355 15enhancement; normal; MediaWiki: API; (umherirrender_de.wp)
[19:01:15] 	?
[19:01:17] 	03ialex * r46808 10/trunk/phase3/ (RELEASE-NOTES languages/LanguageConverter.php): 
[19:01:17] 	* (bug 17231) Transcluding special pages on wikis using language conversion no longer affects the page title
[19:01:17] 	* Whitespaces tweaks in LanguageConverter.php
[19:01:17] 	Please feel free to correct this if it's not the correct solution ;)
[19:01:44] 	03(FIXED) Transcluding Special:PrefixIndex affects the page title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17231  +comment (10alex.emsenhuber)
[19:03:22] 	maybe my question is too dumb? but i really don't see it
[19:04:32] 	Subfader: Let me take a look
[19:04:45] 	thanks a lot ;)
[19:05:57] 	CategoryPage::doCategoryQuery() -- phase3/includes/CategoryPage.php
[19:07:09] 	Where can I modify the layout of Category Pages to say show the first 100 characters of each article in a category?
[19:07:11] 	i tried to set $this->flip = true; in that function though
[19:08:50] 	Subfader: Where did you get the idea that $this->flip would work?
[19:08:53] 	i wonder about that flip anyway. not once i've seen something sorted desc in a category page
[19:09:00] 	Oh I can see.
[19:09:07] 	but where did you set it?
[19:09:10] 	from $res ORDER BY' => $this->flip ? 'cl_sortkey DESC' : 'cl_sortkey'
[19:09:21] 	nowhere yet. tried different places though
[19:09:23] 	Has to be BEFORE $res = $dbr->select...
[19:09:33] 	Maybe you should tell us what you're trying to achieve.
[19:09:36] 	i only need flip true for the article querey
[19:09:51] 	I start coding this http://www.mediawiki.org/wiki/Extension_requests#Switch_article_order_on_category_pages into core
[19:10:10] 	i already stuck at step #1: switch to desc per default :D
[19:10:14] 	03catrope * r46809 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryAllUsers.php): 
[19:10:14] 	* API: (bug 17355) Added auwitheditsonly parameter to list=allusers
[19:10:14] 	* Use consistent code style
[19:10:30] 	Sounds simple enough.
[19:10:48] 	thought the same
[19:11:31] 	You want to set $this->flip to true BEFORE that $res = ...
[19:11:33] 	try it.
[19:13:27] 	right below $res? no condition? hmh, no change. everything is asc.
[19:15:06] 	I can make width on tables adjustable by using %, could do the same with height and how in that case?
[19:15:09] 	ABOVE $res
[19:15:42] 	Subfader: before line 220
[19:16:03] 	yes i ment below $dbr :)
[19:16:09] 	Subfader: Even if $this->flip is true, there's a function that re-flips the result back around line 200
[19:16:36] 	I think that's where you wanna look
[19:16:37] 	OutputPage.php line 314: 		global $action, $wgContLang;
[19:16:44] *ialex 	cries
[19:16:48] 	WTF
[19:17:05] 	Old register_globals code?
[19:17:14] 	sounds like yeah
[19:17:34] 	can someone help finding out why this works on en.ws and not in my wiki?  wpTextbox1value += /\{\{[\s]*title|header[\s]*[\s\S]*\|[\s]*author[\s]*\=([^\||\}\}]*)/.exec(rawTocPageRequest.responseText)[1].replace(/^\s+/,"").replace(/\s+$/,"")
[19:17:38] 	http://en.wikisource.org/wiki/MediaWiki:Gadget-TemplatePreloader.js
[19:17:42] 	http://wikilivres.info/wiki/MediaWiki:Gadget-TemplatePreloader.js
[19:18:05] 	ialex: Is $action actually *used* there
[19:18:14] 	and 2 more issues... http://en.wikisource.org/wiki/MediaWiki_talk:Gadget-TemplatePreloader.js
[19:18:20] 	RoanKattouw: if( !empty( $action ) ) {
[19:18:20] 	03(FIXED) "Show only users with edits" for list=allusers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17355  +comment (10roan.kattouw)
[19:18:42] 	03(mod) Feature request: local hiding of account names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14476  (10spacebirdy)
[19:18:44] 	03(FIXED) Feature request: local hiding of account names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14476  +comment (10Andrew)
[19:18:53] 	RoanKattouw: but imho, it never matches empty()
[19:22:14] 	hmm?
[19:22:24] 	ialex: If $action isn't set anywhere, empty($action) will be true IIRC
[19:22:48] 	RoanKattouw: $action is set in index.php
[19:23:02] 	$action = $wgRequest->getVal( 'action', 'view' );
[19:23:38] 	Ah, yes
[19:23:47] 	And $action isn't used anywhere except in that if()
[19:23:56] 	So it seems safe to just remove it
[19:27:15] 	that was my thought
[19:31:34] 	that flip makes me floppy. has anyone ever seen a category sort desc?
[19:31:51] 	why is it there!? :)
[19:33:10] 	Subfader: For the third time, look at the function around line 200. It flips a flipped result back to ASC
[19:33:36] 	I've encountered another problem with my downloader special page.  On large files it gets to 99% then abruptly quits.  This function works flawlessly when I'm not calling it from a wiki special page.  Any idea why these files are getting cut off?
[19:34:29] 	sorry Roan. So when I just change that function I still dunno where to set flip to true for articles only
[19:36:03] 	Subfader: The best course of action would be to add another flag, say $this->invert, and replace if($this->flip) in that function (around line 200) by if($this->flip xor $this->invert)
[19:36:21] 	That should get you a long way
[19:36:48] 	I suspect paging may not work right though
[19:38:47] 	I see this error with files of various size, so its not that I'm butting up against some size limitation.  And I'm also doing a set_time_limit(0), so it's not that I'm running out of time either...
[19:41:21] 	muha :)  i just moved $this->articles = array_reverse( $this->articles ); below the if condition but inside function finaliseCategoryState. now it's desc for articles by default and i can work with that line (new if conditions to switch back via url parameter :D
[19:41:33] 	thanks for the hint with function finaliseCategoryState
[19:42:04] 	flip! flip!
[19:42:47] 	I have a very simple question: Users on my mediawiki install aren't able to register, how do I activate that feature? (Note that it was turned off by someone else, whom I can't get ahold of)
[19:43:37] 	03rotem * r46811 10/trunk/extensions/FlaggedRevs/language/FlaggedRevs.i18n.php: Localization update for he.
[19:43:42] 	03ialex * r46810 10/trunk/phase3/includes/OutputPage.php: 
[19:43:42] 	Removed check for empty( $action ), seems to be old register_globals code, but since $action is set in index.php with
[19:43:42] 	$action = $wgRequest->getVal( 'action', 'view' );
[19:43:42] 	it can't match empty() in "normal" conditions
[19:45:46] 	Channel6: is there an error or just no authentification mail sent?
[19:46:31] 	Channel6: Do you mean they can't get to the registration form?
[19:46:58] 	Channel6: If it was turned off, there's a line in LocalSettings.php that says $wgGroupPermissions['*']['createaccount'] = false; . Remove that line
[19:47:01] 	No authentication email
[19:47:48] 	oh, nice
[19:47:51] 	there it is
[19:47:59] 	thanks RoanKattouw
[19:48:14] *Channel6 	gives RoanKattouw and Subfader a loaf of bread
[19:48:45] 	i can only ask the wrong questions ;)
[19:51:07] 	03werdna * r46812 10/trunk/extensions/AbuseFilter/ (3 files in 2 dirs): Allow Abuse Log entries to be examined in the same way recent changes items are.
[19:56:07] 	I cant get my RSS feed to recognise the changes in the RSS reader?
[19:56:47] 	03werdna * r46813 10/trunk/extensions/AbuseFilter/Views/AbuseFilterViewHistory.php: Show filter itself, rather than the private comments, in the recent filter changes display.
[19:59:52] 	03werdna * r46814 10/trunk/extensions/AbuseFilter/SpecialAbuseLog.php: Variable naming conflict.
[20:02:19] 	bizarre.  If I write a copy of the downloaded file locally on the web server, using the same data, it comes out properly.  Yet the file that comes out of the web browser is missing its last 1%.
[20:02:56] 	zack1: MediaWiki does all kinds of evil things like output buffering. They may be interfering with your code
[20:03:51] 	yeah, it feels like my final calls to ob_flush aren't be honored or anything.  Is there any other way to get wiki to flush the output buffer?
[20:04:31] 	zack1: $wgOut->something();
[20:04:48] 	I think
[20:04:52] 	!class OutputPage
[20:04:52] --mwbot--	See http://svn.wikimedia.org/doc/classOutputPage.html
[20:05:31] 	zack1: But I assume you want to disable MW's output completely, right?
[20:05:43] 	zack1: If that's the case, use global $wgOut; $wgOut->disable();
[20:06:50] 	03(mod) Feature request: local hiding of account names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14476  +comment (10lar)
[20:11:27] 	03catrope * r46815 10/trunk/phase3/ (7 files in 3 dirs): 
[20:11:28] 	* API: (bug 17007) Add action=import
[20:11:28] 	* Add intoken=import to prop=info
[20:11:28] 	* Store message key and arguments in WikiErrorMsg
[20:11:52] 	03(FIXED) Import and export functionality should be added to the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17007  +comment (10roan.kattouw)
[20:11:56] 	03(mod) Feature request: local hiding of account names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14476  +comment (10wikipedia_emails-nachfrage)
[20:12:03] 	Reedy: See that? --^
[20:12:18] 	RoanKattouw, wikibugs or cia?
[20:12:21] 	Both
[20:12:49] 	Looks like someones been busy :)
[20:13:50] 	I guess the output buffering's a red herring.  Disabling it didn't help, neither did a call to wfClearOutputBuffers().
[20:15:16] 	Reedy: Yep, had some free time :)
[20:15:26] 	:)
[20:15:42] 	Im slowly working away at the AWB code to get it to fully use the api for editing
[20:15:51] 	hi Reedy
[20:15:55] 	AWB?
[20:15:56] 	hey
[20:16:00] 	AutoWikiBrowser
[20:16:06] 	Ah
[20:16:29] 	http://awb.kingboyk.com/ - Its responsible for a lot of mediawiki edits ;)
[20:22:50] 	Nice
[20:23:06] 	I knew about Twinkle, but I guess AWB is better-known among Wikipedians
[20:23:24] 	So next time I meet people from nlwiki I can boast that my bot interface is used by AWB :P
[20:24:35] 	:)
[20:24:48] 	Reedy: How does this work, are all requests tunneled via your site?
[20:24:56] 	thats the reason i've got that rather huge special page list building bug request on
[20:25:14] 	The stats? Nah, it just reports back to the server every 50 edits or something
[20:25:17] 	Ah
[20:25:21] 	Reedy: Bug #?
[20:25:41] 	http://toolserver.org/~maxsem/typoscan/? - Another nice sub project
[20:25:54] 	https://bugzilla.wikimedia.org/show_bug.cgi?id=14869
[20:26:08] 	Oh that one
[20:26:13] 	ya ;)
[20:26:17] 	That's assigned to VasilievVV, bug him about it ;)
[20:26:18] 	RoanKattouw, its amazing how much faster it can get the article text through the api, rather than html scraping
[20:26:34] *RoanKattouw 	envisions API testimonials xD
[20:26:47] 	"OMGZ YOU SPEEDED UP MY APP"
[20:27:00] 	RoanKattouw: you may take it, if you want. I'm now busy in real life, as I've said
[20:27:36] 	Reedy: I'm gonna do a little presentation about the API on the MW dev meetup in Berlin in April, so I've found myself another well-known item for in the "apps that use the API" list
[20:27:37] 	If my php/mw code knowledge was better, i'd try and help out..
[20:27:53] 	Ahhh, its quite extensively used, as the stats show :)
[20:27:54] 	03(NEW) SRF-Ploticus: when in debug mode, also show ploticus trace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17356 15enhancement; normal; MediaWiki extensions: SemanticResultFormats; (mediawiki)
[20:27:58] 	03(ASSIGNED) SRF-Ploticus: when in debug mode, also show ploticus trace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17356  (10mediawiki)
[20:28:36] 	VasilievVV: OK, I'll assign it to me then. Dunno when I'll get to it though
[20:28:55] 	i worked out a few months ago, it was responsible for around 2% of the overall total en.wp edits in about a 7 month period
[20:29:14] 	03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869  +comment (10roan.kattouw)
[20:30:18] 	Reedy: That's quite substantial considering not everybody knows about it / uses it
[20:33:37] 	RoanKattouw, what suprised us more, was the widespread usage outside WMF projects
[20:35:05] 	Yeah, I noticed
[20:37:16] 	03(NEW) move subpages support missing from ApiMove.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17357 15enhancement; normal; MediaWiki: API; (c.stafford)
[20:37:54] 	03(ASSIGNED) move subpages support missing from ApiMove.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17357  +comment (10roan.kattouw)
[20:47:20] 	hi
[20:47:31] 	Is there a way to ALLOW template loops?
[20:47:57] 	template loop means a template "x" is calling itself
[20:48:17] 	I would like to use that for incremental programming with variable extension
[20:49:33] 	hi Danwe
[20:52:18] 	03rotem * r46816 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: Localization update for he.
[20:54:11] 	here an example:
[20:54:13] 	{{#vardefine:i |{{#expr:{{{1|0}}}+1}} }}
[20:54:13] 	{{#var:i}} {{#ifexpr: {{#var:i}} < 10 |, {{Test|{{#var:i}}}} |ENDE}}
[20:55:06] 	isn't it based on a limit?
[20:55:23] 	no, already at the first loop I get "Template loop detected: Vorlage:Test"
[20:55:58] 	There is a extension called "loops" there is a limit, yes. But I would like to do it withouth
[20:56:33] 	yeah, and I'd like to implement a tetris clone
[20:56:56] 	lol
[21:00:00] 	a tetris clone, hm, easy with javascript :P
[21:01:03] 	03(mod) request for activation of import functionnality - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16938  (10antoinedelarue)
[21:01:16] 	but with loop extension and variable and array extension... you can do weird things. I already build a kind of interpreter inside a template
[21:03:25] 	acording to http://meta.wikimedia.org/wiki/Help:Template a template can call itself exactly one times :-I
[21:03:29] 	after that you get the error
[21:14:08] 	hmm, isn't there any other way to allow template loops?
[21:15:01] 	it's designed that way so you can't break the servers creating loops
[21:17:13] 	03(NEW) New logo for greek wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17358 15enhancement; normal; Wikimedia: Bugzilla; (y777)
[21:19:46] 	Hey all.. anyone a MediaWiki RSS / Layout genius?  
[21:21:35] 	do i need to tinker with anything in /usr/share/mediawiki to get the css to work? centos52 here. thanks.
[21:22:41] 	03werdna * r46817 10/trunk/extensions/AbuseFilter/SpecialAbuseLog.php: Fix examine links in AbuseLog.
[21:23:05] 	asdf: no idea what atrocities centos packagers have done to mediawiki
[21:23:20] 	lol
[21:23:22] 	I'm using the RSS Reader extension.. but it's not picking up changes to the RSSReader.css file...
[21:23:29] 	Nikerabbit: unfortunately, neither do i :)
[21:23:44] 	Nikerabbit: i'm only on centos because our clients will be using rhel
[21:23:51] 	03(mod) New logo for greek wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17358  (10alex.emsenhuber)
[21:23:52] 	Reedy: having fun evening? :D
[21:24:10] 	i need to play nice so the checks keep clearing 
[21:24:19] 	asdf: persuade them to skip package management?
[21:24:40] 	Nikerabbit, indifferent atm :(
[21:24:55] 	Nikerabbit: good call, i'll put in an RFC for that 
[21:24:58] 	Reedy: too bad, can I help?
[21:25:23] 	03(NEW) Split $articles in CategoryPage.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17359 minor; normal; MediaWiki: Categories; (old_school_junkie)
[21:25:26] 	Not sure....
[21:25:54] 	asdf: I would guess umm, that the styles should work 1) if they are accessible by the webserver under docroot 2) and $wgStylePath/Dir is configured correctly
[21:26:09] 	03(mod) Images in categories - bad counting and navigation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16249  (10old_school_junkie)
[21:27:35] 	Nikerabbit: Nikerabbit meh, i see no styles or possibly related dirs in docroot
[21:27:55] 	asdf: should be under skins/
[21:27:59] 	all kinds of stuff
[21:28:01] 	Nikerabbit: where is $wgStylePath/Dir defined?
[21:28:12] 	Nikerabbit: i see skins/ in /usr/share/mediawiki not in docroot
[21:28:39] 	asdf: is there symlink to it?
[21:28:41] 	Nikerabbit, i think its more im bored than anything
[21:28:48] 	Nikerabbit: no, i just copied skins/ to docroot
[21:28:51] 	i'm good now, thanks
[21:28:55] 	have fun
[21:28:59] 	Reedy: how so?
[21:29:01] 	butchered install indeed
[21:31:31] 	Nikerabbit, nothing to really do
[21:31:56] 	i could get on with more awb api work, but im waiting on a few bits of advice from maxsem
[21:32:06] 	Reedy: well, then people usually watch tv or porn or whatever or go to sleep :/
[21:32:13] 	hahaha
[21:32:25] 	A person would be better than porn ;
[21:32:27] 	;)
[21:32:28] 	Reedy: What do you need advice on?
[21:32:37] 	person-porn?
[21:32:47] 	RoanKattouw, its more the awb side of the implementation
[21:32:59] 	Reedy: Ah, the part I can't help you with :P
[21:33:05] 	heh :)
[21:33:18] 	most of the codes there, an asynchronous wrapper is written
[21:33:28] 	its more the post notifying back to the application that its done and such :)
[21:33:48] 	Its how i noticed the api protect didnt have a watch option
[21:34:17] 	Nikerabbit, a real person ;P
[21:35:30] 	When we get it tied into AWB properly, more testing can occur, and more thorough error handling and such :)
[21:36:13] 	Reedy: which does what?
[21:36:34] 	Which does what what?
[21:36:34] 	brion: You mentioned earlier that something techy is gonna happen at Wikimania this year, but do you have any idea what specifically? The wikimania2009 wiki is not very informative (yet)
[21:36:58] 	where is wikimania this year?
[21:37:21] 	Reedy: Buenos Aires, Argentina
[21:37:28] 	Ah
[21:37:33] 	If only i had more money :(
[21:37:44] 	Reedy: aren't you a UKian?
[21:37:48] 	Well there is a dev meetup in Berlin in early April, that's closer to home
[21:37:50] 	yup
[21:37:59] 	yeah
[21:38:04] 	Reedy: return from London is 1000 USD
[21:38:07] 	let me convert that into lnbs
[21:38:09] 	lbs*
[21:38:12] 	heh
[21:38:17] 	I'll probably to go berlin only, if anywhere
[21:38:24] 	700 lbs
[21:38:35] 	accommodation would only be another 100-200 lbs.
[21:38:39] 	max.
[21:38:48] 	You could go to Buenos Aires for under 1000 lbs.
[21:38:51] 	isn't lbs a weight unit?
[21:38:56] 	ya
[21:38:58] 	£
[21:39:04] 	but his kb probably doesnt ahve it
[21:39:07] 	I know
[21:39:10] 	I'm being silly.
[21:39:16] 	Yeah, the abbrev is GBP
[21:39:21] 	RoanKattouw: we haven't got round to arranging any details yet i think :)
[21:39:25] 	I know, I'm being silly :)
[21:39:57] 	quick google says from £500 return
[21:40:17] 	Plus taxes and fees.
[21:40:29] 	ya
[21:40:30] 	Anyway, my point is that you could do it easily for well under 1000 GBP
[21:40:33] 	brion: So basically all we/you know is that there's gonna be *something* for us, but nobody has any idea what it's gonna be like?
[21:40:45] *RoanKattouw 	spots a pattern in the quantity of info about WM 2009
[21:40:45] 	RoanKattouw: well until i plan something yes :)
[21:41:03] 	it's 6 months away yet :)
[21:41:11] 	brion: *You* plan those things? Isn't that like the organizers' job (the people in BA)?
[21:41:45] 	werdnum, it'd be fine if i actually had regular work ;)
[21:41:49] 	werdnum: Still, I'm going to Berlin for less that EUR 100 :P
[21:41:53] 	heh
[21:42:01] 	*than
[21:43:01] 	RoanKattouw: it'll probably be some of us and some of them.
[21:43:11] 	if we let the locals do the tech organizing, we end up with something we hate :)
[21:43:19] 	least that's been past experience
[21:43:37] 	Yeah I can see that happening
[21:47:24] 	Argh
[21:47:36] 	Who wrote the move subpages feature?
[21:49:07] 	Simetrical it seems
[21:49:37] *RoanKattouw 	rants about people writing API-unfriendly code
[21:50:34] 	Feature request... export pages by namespace not category. >.<
[21:50:45] 	Zorg`: Possible through the API :D
[21:51:00] 	(possibly not live on WMF yet)
[21:51:00] 	API? >.<
[21:51:07] 	!api
[21:51:07] --mwbot--	The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at . For client libraries in various languages, see .
[21:51:17] 	(but it's really intended for bots, not users)
[21:51:55] 	03btongminh * r46818 10/trunk/extensions/NssMySQLAuth/ (NssMySQLAuthPlugin.php migrateGroup.php): 
[21:51:55] 	* Add a proper rollback to migrateGroup
[21:51:55] 	* Add groups to wgGroupPermissions so that Special:Userrights works as expected.
[21:51:57] 	Hmm that sounds like I need higher level access to a wiki to use it, this is on Wikia so I don't have access to any of the scripts.
[21:52:25] 	Zorg`: You don't. Check out http://en.wikipedia.org/w/api.php
[21:52:33] 	You don't need high level access
[21:52:55] 	The 'high-level' in that description means that the data is abstracted from implementation details.
[21:53:11] 	im pretty sure you get api access on wikia
[21:53:38] 	how do you display images inline?
[21:53:52] 	werdnum: Which is exactly what the author of the move subpages feature didn't do *sigh*
[21:54:03] *RoanKattouw 	plans a post on wikitech-l ranting about API-friendlyness of new features
[21:54:08] 	:D
[21:54:34] 	!images | asdf 
[21:54:34] --mwbot--	asdf: For instructions to use images in MediaWiki, see . For more technical details about image uploads, see  and . Note that uploads are disabled per default (see !uploads).
[21:55:13] 	Hi, when I try adding a custom namespace it doesnt show up on the search form
[21:56:47] 	Sardukar: how are you adding it?
[21:56:53] 	in the config file
[21:57:11] 	Sardukar: What did you add to the config file?
[21:57:12] 	as described http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces
[22:00:25] 	Sardukar: Can you paste exactly what you added?
[22:00:41] 	RoanKattouw - I need to dfine a new namespace called Dev
[22:00:56] 	I have added the line $wgExtraNamespaces[100] = "Dev"; to the LocalSettings.php file
[22:01:06] 	I have also created a page Dev:Test
[22:01:12] 	Sardukar: Did you also add $wgExtraNamespaces[101] = "Dev_talk"; ?
[22:01:20] 	(every namespace *has* to have a talk namespace)
[22:01:21] 	no
[22:01:27] 	Then do so
[22:01:50] 	$wgExtraNamespaces[100] = "Dev";$wgExtraNamespaces[101] = "Dev_talk";
[22:01:52] 	like that?
[22:02:09] 	Yeah
[22:03:05] 	its still not there, RoanKattouw
[22:03:12] 	(in Special:Search)
[22:03:19] 	captain roan
[22:03:24] 	Sardukar: Link to your wiki?
[22:03:26] 	buzz_: Yes/
[22:03:36] 	RoanKattouw, just greeting you :)
[22:03:44] 	buzz_: heh ok
[22:03:46] 	RoanKattouw, intranet I'm afriad, but thanks for thinking about taking a look
[22:04:02] 	Is there any additional step needed to add a namespace?
[22:04:14] 	Sardukar: When you go to the page Dev:Foo and click the Talk tab, which page are you taken to
[22:04:16] 	?
[22:04:36] 	Talk:Dev:Foo
[22:04:43] 	Oops
[22:04:48] 	hm
[22:04:50] 	That's not supposed to happen
[22:04:52] 	indeed
[22:05:59] 	Sardukar: Can you make sure that you 1) added the line to the *bottom* of LocalSettings.php 2) that you saved and uploaded LocalSettings.php and 3) that you didn't edit the wrong LocalSettings.php
[22:06:45] 	oo err
[22:06:49] 	bottom? =)
[22:06:59] 	Yes
[22:07:16] 	(applies to everything you need to add/change in LocalSettings, it has to happen near the bottom)
[22:07:23] 	Or it'll get overwritten by the default settings
[22:07:41] 	ahh
[22:07:48] 	you're a star, I;m an idiot
[22:12:28] 	03catrope * r46819 10/trunk/phase3/includes/api/ApiQuery.php: API: Tweak the format for &export to be more XML-friendly. Not a breaking change since &export hasn't gone live yet anyway
[22:12:28] 	03(NEW) Inconsistent functionality of {{int:message}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17360 normal; normal; MediaWiki: Page rendering; (happy_melon)
[22:14:26] 	03(mod) Reuploading a file saves to source file name (regression) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17200  +comment (10nospam)
[22:15:36] 	03dale * r46820 10/trunk/extensions/MetavidWiki/ (5 files in 2 dirs): maintenance updates for stream removal
[22:16:09] 	03werdna * r46821 10/trunk/extensions/AbuseFilter/SpecialAbuseLog.php: Whitespace
[22:16:39] 	03werdna * r46822 10/trunk/phase3/ (4 files in 3 dirs): Add ACTIVEUSERS magic-word, complement to NUMBEROFUSERS.
[22:19:11] 	AaronSchulz: ping ... per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/46807  does that just abort searches based on user and action, but not title?
[22:30:13] 	Anyone know if < is a valid character to have in titles?
[22:30:22] 	Mike_lifeguard: I think it is
[22:30:31] 	is an exclamation mark?
[22:30:36] 	yup
[22:30:47] *Splarka 	blinks
[22:30:49] 	ok, < seems not to be for me
[22:30:50] 	Mike_lifeguard: Oh wait < isn't valid
[22:30:54] 	ok, sweet
[22:30:57] 	Nor is >
[22:31:06] 	http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)
[22:31:07] 	noobs
[22:31:53] 	I read that as boobs
[22:32:01] 	verboten! # < > [ ] | { }
[22:32:29] 	not fully forbidden: /?+ _.%:
[22:32:32] 	Once I login into my mediawiki instance, there is a to return to Main_Page. Is there a way once the login is successful, I can land on a specific page of my choice?
[22:33:51] 	&returnto URI parameter should work
[22:34:13] 	/wiki/Special:UserLogin?returnto=Foo  -> 
[22:35:19] @Splarka thanks [22:36:11] I believe it should return you to whatever page you were on when you clicked login, that is what logout does anyway (usually) [22:37:04] 03(NEW) Enable DyanmicPageList for Wikimania2009wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17361 15enhancement; normal; Wikimedia: Site requests; (cbrown1023) [22:39:11] Help with my RSS feed anyone? [22:40:47] 03(mod) Reuploading a file saves to source file name (regression) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17200 (10JSchulz_4587) [22:41:14] 03(WONTFIX) Support get user contributions for new accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16967 +comment (10roan.kattouw) [22:42:13] Simetrical, domas: Do you have any idea why Special:Contributions/newbies has been using a filesorting query for at least 2 years? (see also https://bugzilla.wikimedia.org/show_bug.cgi?id=16967 ) [22:43:32] how would it not use one? [22:43:47] I know, it's impossible to do without a filesort [22:44:02] I guess my real question is why we allow that filesort [22:44:20] @Splarks You are right, but I am not returned automatically to the page from where I clicked login, at least my customized instance doesn't [22:44:27] because domas hasn't seen it yet :D [22:44:33] he knows about it [22:44:44] werdnum: Doubtful, it's been in there for > 2 yrs [22:44:54] So what's the justification for keeping it there? [22:45:48] I have to tables in one table, one of them have an rss feed in it, the other one is still empty, how to I get that to match the size of the rss one? [22:45:51] what would be the justificatin of removing it? [22:46:05] yes, it is expensive query, yes it is there, so are watchlists and RCL [22:46:12] RCL? [22:46:15] Oh [22:46:17] RC linked [22:46:29] domas: OK, if you approve of the query, I guess it's OK to add it to the API [22:46:47] no [22:46:52] I don't want anyone constantly hitting it [22:46:55] ... [22:46:56] :) [22:47:14] (it's not like people couldn't do that with the UI) [22:47:16] *werdnum uses it to DoS the servers, for shits n giggles. [22:47:22] But you're right, more of a temptation [22:48:03] Anyway, it means I was right to WONTFIX that feature request [22:48:10] *RoanKattouw looks for another bug to WONTFIX [22:48:38] domas: Does the same thing apply to RCL? Would you object to having RCL available in the API? [22:49:19] mmm [22:50:52] Roan: how many parameters can rctitles take? 50/500? [22:51:16] *Splarka thinks rcl is somewhat supported already, if that works [22:51:36] 03catrope * r46823 10/trunk/phase3/includes/api/ApiQueryRecentChanges.php: API: BREAKING CHANGE: Remove rctitles parameter from list=recentchanges for performance reasons (requests using it time out on enwiki) [22:51:37] Splarka: Zero as of now [22:51:50] --^ [22:51:56] *facepalm* [22:51:58] heh [22:53:10] *AaronSchulz hopes brion can do codereview soon [22:53:13] <[mdevilz]> Hi I looked through the documentation and cannot find it so alas, I am here. I know I can reference an image as [[File:image.jpg]] but is there a way to make it so a thumbnail shows up instead of the full image. Thanks! :) [22:53:56] 04(REOPENED) rcid cannot be easily retrieved - implementation seems patchy - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12394 +comment (10roan.kattouw) [22:53:56] RoanKattouw: *shrug*, people use watchlists, maybe RCL can be used too [22:53:57] [[File:image.jpg|thumb]] [22:54:04] 03(mod) Better integration of patrol feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17237 (10roan.kattouw) [22:54:08] [[File:image.jpg|thumb|50px]] [22:54:14] <[mdevilz]> Splarka: thanks :) [22:54:42] AaronSchulz: see my earlier question? [22:56:34] 03catrope * r46824 10/trunk/phase3/RELEASE-NOTES: Commit RELEASE-NOTES for r46823 [22:57:37] domas: Now that you're around, what do you think about the patch I attached to bug 17237 (or at least the schema change part of it)? [22:58:08] (it basically adds rev_bot and rev_patrolled to the revisions table, as copies of rc_bot and rc_patrolled) [22:58:38] no [22:58:49] ? [22:58:51] why the abuse [22:58:56] whats wrong with recentchanges? [22:59:00] Well we either need that or an index on rc_this_oldid [22:59:12] Right now it's impossible to get the RC entry for a rev without blowing up a server [22:59:33] you can use the timestamp [23:00:00] TimStarling: Hmm, that's an idea [23:00:19] And use a WHERE on rc_this_oldid just for paranoia [23:00:26] TimStarling: The TorBlock cron job disappeared from your cron tab on hume -- Tomasz added it to his. [23:00:38] there was a different bug for adding the bot flag to revision table [23:00:45] well, it's very much non-unique, but the timestamp index will narrow it down to 2 or 3 [23:00:56] <[mdevilz]> Splarka: is there any guides on the file keyword? like how to add captions or anything? As I haven't had any luck [23:00:58] and mysql will have no trouble scanning that sort of list [23:01:05] TimStarling: Exactly [23:01:10] *RoanKattouw goes to build such a query [23:01:13] <^demon> RoanKattouw: By any chance, did you get a second to look over the mega-patch I re-did for bug 11430? [23:01:23] ^demon: Not yet. Will do tomorrow [23:01:29] <^demon> Awesome thanks :) [23:01:30] isUnpatrolled() does that [23:01:38] Really ^^ [23:01:41] [mdevilz]: http://www.mediawiki.org/wiki/Help:Images [23:01:54] <[mdevilz]> thanks Splarka [23:01:56] I deprecated that function in my patch, I'm amazed I missed that [23:02:07] Do I need an extension installed to get #if statements to work in templates? [23:02:17] !parserfunctions | Zorg` [23:02:17] --mwbot-- Zorg`: "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 . [23:02:36] Many thanks Roan :) [23:02:41] The returnto parameter yields me a link to the page but is there a way or where I do script it to ensure that the transition is automatic. [23:04:40] if( $this->mReturnTo == $wgLang->specialPage( 'Userlogout' ) ) { $this->mReturnTo = ''; } [23:04:42] haha, that would suck [23:05:03] I've seen it in other web apps [23:05:22] maybe OTRS? [23:05:35] *brion waves at TimStarling [23:05:39] Splarka: Yup [23:05:50] I also laughed when I first saw that code [23:05:50] 03(NEW) Introduction - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17362 15enhancement; normal; MediaWiki extensions: Semantic Drilldown; (dasch_87) [23:05:50] saravanan: it looks like there is a hook before the redirect [23:06:04] wfRunHooks('UserLoginComplete', array(&$wgUser, &$injected_html)); [23:06:07] hi brion, how are you? [23:06:12] ... [23:06:13] $wgOut->redirect( $titleObj->getFullURL() ); [23:06:28] saravanan: using that hook you should be able to customize the return-to [23:06:36] without hacking the code [23:07:04] TimStarling: on the mend... we'll see how sick i still am when i fly out tomorrow [23:07:12] Splarka: How's he gonna do that when the hook only passes $wgUser and $injected_html ? [23:07:38] the loginsuccess injected html could contain a meta timeout redirect ^_^ [23:07:47] RoanKattouw: https://bugzilla.wikimedia.org/show_bug.cgi?id=16967 seems like a LATER or a 'just leave it open' ... [23:07:48] [23:07:59] what were you sick with? [23:08:05] Are we really saying it's never gonna happen? [23:08:07] Marybelle: Domas just said it was a WONTFIX [23:08:12] Marybelle: Yes, domas is :P [23:08:13] Bah. :P [23:08:43] generic cold of some sort [23:09:01] 03(mod) CHU case sensitive issue - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16075 +comment (10innocentkiller) [23:09:01] mmm [23:09:41] so, I was thinking about maybe releasing 1.6, 1.12, 1.13 and 1.14 [23:10:24] what's a CHU template? [23:10:29] silly TLAs [23:10:40] YAY [23:10:48] All hail TimStarling [23:10:51] TimStarling: super [23:10:57] splarka: thanks, taking a look at it [23:11:12] <^demon> brion: Its just the template they use on the "Requesting a username change" page on enwiki. [23:11:29] TimStarling, I have a pb with the Webstore extension, do you have some time please? [23:11:30] wouldn't hurt to include a link to explain the jargon ;) [23:11:33] <^demon> I think WP:CHU is the shortcut or something :) [23:11:47] <^demon> I made the same point to someone the other day: not everyone speaks in enwiki TLAs. [23:11:52] saravanan: I dunno about hooks though, strange mysterious things, but see http://www.mediawiki.org/wiki/Manual:Hooks [23:11:54] the WebStore extension is half-written [23:12:04] it's not surprising you would have problems with it [23:12:56] 03(mod) MediaWiki should ignore the case of the first letter of the current username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16075 summary; +comment (10Andrew) [23:12:58] brion: I just changed the bug summary :) [23:13:13] TimStarling, arf :/ I need it for the proofread page extension [23:13:42] image does not display here http://wikilivres.info/wiki/Page:Platon_-_%C5%92uvres_compl%C3%A8tes_-_Tome_III%2C_2.djvu/1 [23:13:53] 03(mod) Special: RenameUser should ignore the case of the first letter of the current username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16075 summary; +comment (10brion) [23:14:14] error message is "webstore_temp_open: Error opening temporary file" [23:14:37] *RoanKattouw sighs at MySQL's stupidity [23:17:06] yup! [23:17:13] why don't we use some real database [23:19:19] 03catrope * r46825 10/trunk/phase3/includes/api/ApiQueryUserContributions.php: API: Re-enable ucprop=patrolled and rcshow=patrolled|!patrolled using the timestamp index for the join (thanks to Tim for pointing this out) and a STRAIGHT_JOIN for the inner join case [23:19:20] *^demon downloads domaSQL [23:19:30] splarka: thanks for your time :) [23:21:08] Thank God MySQL has STRAIGHT_JOIN [23:21:33] 03(FIXED) API: Fatal error with ucprop=patrolled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17215 +comment (10roan.kattouw) [23:25:17] 03siebrand * r46826 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: Got accidentally kicked out somewhere in May 2008... [23:31:04] does anybody know if it's possible for one MW installation to handle documents for mutliple groups so that each group can't see the other's documents? [23:31:21] or must you install separate instances for each group? [23:32:22] the latter [23:32:33] !farm | ircbob [23:32:33] --mwbot-- ircbob: To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [23:33:09] ^ that is the only way to safely use per-group read permissions, separate wiki for each group [23:33:53] AaronSchulz: just came across r34094/r34096. Maybe add a bugzilla with 'schema-change' for that? [23:33:57] http://www.mediawiki.org/wiki/Manual:Preventing_access will tell you the same thing (there are extensions like Lockdown, that do this, but none are guaranteed) [23:39:30] 03demon * r46827 10/trunk/extensions/ExternalData/ED_ParserFunctions.php: More Http::get() usage instead of file_get_contents. [23:42:10] sorry.. i got pulled away for a minute.. let me digest some of the feedback and possibly followup with some more Qs.. thanks [23:45:40] 03(NEW) Enable labeled section transclusion on Meta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17363 normal; normal; Wikimedia: Site requests; (pathoschild+wmbugs) [23:47:35] darn, roan got away [23:48:35] <^demon> Well *that* is odd. [23:50:30] <^demon> en.wikipedia.org/wiki/fr:Somepage auto-redirects to fr.wikipedia, like it should. The prefix meta: works too. The prefix mw: doesn't auto-redirect and yells about being invalid characters in the title... [23:53:51] 03(mod) Images with wrong SHA1 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17057 (10Platonides) [23:53:59] ^demon: the 'mw' prefix seems to be a custom prefix: http://meta.wikimedia.org/wiki/Interwiki_map [23:55:11] 03(mod) Enable labeled section transclusion on Meta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17363 (10brion)