[00:00:28] it's so odd because if i access my mediawiki from work, it works fine.. and also if I take this same computer and use a different internet connection, it works fine. But i can use this same computer and same connection on a site like wikipedia and it keeps me logged in [00:00:38] no .. it's just when I click onto another page, i am logged out again [00:01:30] So, if it works from a different computer, or a different connection, but not yours, it will be a problem with your computer or connection. [00:01:53] Hoosie could you clean your cookies ? [00:02:17] it's not though .. because i have taken my computer to another connection and it works fine there.. but on this same computer AND connection, wikipedia doesn't do this.. nor any other mediawiki i've tried.. so it cant be that [00:02:44] Try your connection. [00:02:52] yes, i've erased all cookies.. i've used 3 different browsers.. i've used 2 different computers [00:03:14] if it's my connection, then why does wikipedia not do this on this connection? why does not other mediawiki do this? [00:04:06] also i have invisionboard installed on same site.. it's not causing any log in problems.. i dont know what the heck is wrong with my mediawiki [00:04:20] werdna: Is code review day done? [00:05:39] mediawiki.org isnt doing it either [00:06:16] jdpond: code reveiw continues until it's damn done :) [00:06:58] talking of which, /me prods brion gently about Extension:Transliterator [00:08:47] cirwin: if it doesn't have to do with getting the live code updated in the next couple days, talk to me later [00:09:22] *cirwin dreams of the day it will have something to do with live code :p [00:09:49] *atglenn redirects cirwin to http://www.hubblesite.org/newscenter/archive/releases/2009/25/image/q/format/zoom/ to distract him [00:10:17] *Fflapjac is still bewildered by Darren Brown [00:11:08] so, /skins/common/images/icon/fileicon-txt.png exists, but mediawiki wont show it, it wants to just give me that "Warning: This file may contain malicious code" message [00:11:20] Lovely job brion better you than me! [00:12:11] mediawiki seems to have a mind of its own [00:17:54] brion: when code review is "done," will 1.16 be released? [00:19:10] will 1.16 be fixing the logging people out issues? [00:19:38] that's what i'd like to know [00:20:15] Hoosie: It may be something to do with your website itself [00:20:17] Hoosie: by "logging people out issues" you mean the problem that only you are having? [00:20:23] 03tparscal * r56126 10/trunk/extensions/UsabilityInitiative/ (11 files in 5 dirs): Totally refactored suggestions code. [00:20:41] You don't have Hughs Net, by chance, do you? [00:20:47] yes i do [00:21:09] Ah, I remember there being some funkiness with them devouring cookies or somehow mangling sessions [00:21:40] well apparently mediawiki.org and wikipedia.org have figured out a way to get around that issue because it's not occuring on those sites [00:21:43] i stay logged in [00:23:23] Hoosie: It's something your end. [00:23:51] and what could that possibly be [00:23:59] You use HughesNet. Stop doing that. ^__^ [00:24:05] (1:21:03 AM) Emufarmers: Ah, I remember there being some funkiness with them devouring cookies or somehow mangling sessions [00:24:12] There was a bug filed for it, though, one moment [00:24:23] you're not answering the question.. WHY DOES it work fine on mediawiki and wikipedia? [00:24:38] what is different about their settings [00:24:54] Because it's different servers. There is only one correct way, there are thousands of incorrect ones. [00:25:07] https://bugzilla.wikimedia.org/show_bug.cgi?id=11448 [00:25:11] You're asking us to guess. [00:25:30] no i'm just a little shocked nobody has heard of this other than briefly [00:26:17] thank you emufarmers [00:26:26] https://bugzilla.wikimedia.org/show_bug.cgi?id=17790 [00:26:54] 03tparscal * r56127 10/trunk/extensions/UsabilityInitiative/js/ (3 files in 2 dirs): Removed some debugging code... (oops) [00:26:57] i just wish i knew how those sites have fixed it [00:27:16] Goes back even further: https://bugzilla.wikimedia.org/show_bug.cgi?id=2237 [00:27:44] Should I close these as duplicates? [00:28:01] WMF projects are using CentralAuth SUL hackery, which might help; brion might have some thoughts [00:28:03] no .. how about someone actually fix it [00:29:28] Hoosie: MediaWiki is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. [00:30:00] Fflapjac: if you don't know and aren't going to be helpful, you don't have to say anything [00:30:43] i'm sorry. it's just frustrating. [00:31:05] Emufarmers: I think brion left [00:31:13] :( [00:32:32] apparently from what im reading this didnt occur before version 1.14.0 [00:32:52] i found my answer by the way, it has to be explicitly added to wgTrustedMediaFormats, if it not on the list its "bad", and if its bad, its get a warning and not an icon [00:33:46] Hoosie: as a workaround, you can use 1.13; if you'd like to find what's causing the problem, do what Aryeh suggests in https://bugzilla.wikimedia.org/show_bug.cgi?id=17790#c7 [00:34:59] i dont use zend optimizer.. ive never even heard of it [00:35:27] it seems to me the official line is: none of us use satellite internet so we're not going to address it [00:36:42] which i wouldnt either if i didnt have to, trust me [00:38:31] hey guys how do you make the side by side thing like on en.wikipedia.org/wiki/ [00:39:30] do a view source.. u can see all their source code [00:39:35] side by side? [00:39:47] a table [00:39:58] i dunno how much crap i've copied from wikipedia [00:40:01] 03tstarling * r56128 10/trunk/phase3/js2/ (10 files in 7 dirs): [00:40:01] * Removed HTML demos which reference unreviewed JS code. This included several remote script inclusions which could escalate to drive-by compromise of local wiki accounts if the remote server is compromised. [00:40:01] * Removed references to remote CSS in bgiframe docs, downloaded the relevant CSS instead [00:40:01] * Removed unused and apparently half-written HTML files mwApiProxy.html, mwHostProxy.html and mwIframeProxy.html [00:40:01] Hoosie: it's more "none of us use satellite internet so we _can't_ address it" [00:40:58] that's probably true.. but if something changed before 1.14 then obviously someone has an idea about what the cause might be (not saying you do) [00:41:59] No, not necessarily; lots of things changed in 1.14, and it's not always obvious what change might have caused a regression. [00:43:05] well anyways, thanks.. i would like to at least see if someone who knows about WMF's websites had any comment on it [00:43:35] *Emufarmers pokes TimStarling [00:46:32] *Hoosie screams [00:52:56] what does it have to do with WMF's websites? [00:53:28] because the problem doesnt occur when i login to their websites [00:53:33] and im on hughesnut [00:53:42] i stay logged in [00:54:02] so they must have some bugfix in place [00:55:34] there's no bugfix in mediawiki [00:55:45] maybe it's just the fact that we use squid in front [00:56:22] had u ever heard of this issue before (just curious)? [00:56:55] I saw it on an FAQ on [[WP:VPT]] [00:56:59] I didn't believe it though [00:57:22] didnt believe it? i'm having the problem as we speak lol [00:57:26] and it's a pain in the ass [00:57:28] yeah, until now [00:58:04] but the FAQ was about wikipedia, and like you say, the bug in fact doesn't exist there [00:58:13] so I was right to be skeptical [00:58:41] yes im not sure why.. isnt wikipedia using mediawiki? [00:58:47] yes [00:58:50] yes, but with squid in front [00:58:52] they are [00:59:00] o ic [01:00:18] have you got firefox? [01:00:49] yes, it's doing the same thing in firefox, internet explorer, and safari [01:00:56] windows and mac os [01:01:28] can you get this extension please: http://livehttpheaders.mozdev.org/ [01:02:22] Hoosie: this is just a shot in the dark, but are you behind a corporate firewall? [01:02:33] no.. i''m on hughesnet [01:02:34] lol [01:02:37] that's the problem [01:02:40] satellite internet [01:02:51] then when you have it, open the header window using tools > Live HTTP headers [01:03:11] does that work on mac os i wonder.. hold on [01:03:46] firefox extensions are usually just javascript [01:04:32] we may as well do this in bulk... [01:04:51] with the window open, try to log in and then view a page [01:05:30] then click "save all" and save the headers to a file, then email it to me at tstarling@wikimedia.org [01:05:52] hold on lemme reboot to mac.. i dont have firefox on windows... i'm copying all your instructions to a textfile.. ill be back [01:19:11] does "calling convetion" matters? scripts, macros, mini-applications, templates... [01:19:23] every wiki calls them differently [01:21:06] there ya go [01:21:20] emailed it [01:23:56] did get it tim [01:25:08] thanks [01:26:42] Mike_lifeguard: See extension above. :-) [01:27:31] what? where? [01:28:25] hm, the livehttpheaders one? [01:28:28] *Mike_lifeguard clicks [01:29:27] yes hunny [01:29:27] Might help your alleged white pages in the future. [01:32:51] y are yall hatin on ellen in this room [01:34:00] do you have two different wikis installed on that server? [01:34:11] no [01:34:27] what database name and table prefix did you use? [01:34:44] or didn't you set it up? [01:35:03] qscott86_wiki is db name.. prefix is whatever the default is.. i can check [01:35:19] the default is blank [01:35:51] yes it was blank then [01:35:59] its not a shared database [01:39:19] so none of these pages showed you as logged in, with your name in the header, is that right? [01:40:19] when i hit the log in button, it did.. but then i went to another page after that and boom.. logged back out [01:44:39] it seems that when you clicked the log in button, it redirected you to the main page [01:45:26] yes.. on that main page, it shows me as logged in at the point.. but after i click any other page after that, i'm logged back out [01:52:57] there's some indications that the response headers have been tampered with [01:53:25] but your browser does seem to be sending cookies normally, and it received all the right cookies from the server [01:54:40] well i mean this isn't an isolated problem.. several hughesnet users are having the same issue which appears related to the turbo proxy handler or something i was reading [01:55:35] it's possible that it's truncating the cookie request header [01:55:35] i suspect squid must be what is making it work correctly on the WMF sites [01:55:51] you're still on FF right? [01:56:01] no [01:56:32] doesn't matter, hang on [01:57:14] but for example i have a discussion board installed at forums.umheadquarters.com and that's not affected by the problem.. so this is something specific to mediawiki .. it doesnt cause a problem with cookies on any other site i've noticed [01:58:33] 03(NEW) Semi-colon messes up text - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20574 enhancement; Normal; MediaWiki: Page rendering; (Daedalus969) [01:59:15] so you're on windows at the moment? [01:59:34] yes [02:00:23] and you've only got IE there? [02:00:32] yes [02:01:43] can you log in, then delete all cookies except for qscott86_wiki_session? [02:02:25] would this be easier if i installed firefox on here? [02:02:34] or does it matte [02:02:35] r [02:03:49] ok got firefox now [02:04:25] *gasp* [02:06:36] where the heck does it store cookies [02:07:23] okay all deleted except that one [02:08:44] now what? [02:11:21] 03(mod) strategywiki returns blank white after saving an edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20565 (10JSchulz_4587) [02:13:50] Tim? [02:36:40] did I miss anything? [02:37:22] *AaronSchulz keeps waking up with headaches [02:37:48] you should try drinking less alcohol the night before [02:38:18] *AaronSchulz doesn't drink :) [02:38:46] in that case maybe you should try more alcohol [02:38:51] it must be one or the other [02:39:04] heh [03:36:00] 03(FIXED) Preview with forms on the bottom - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10874 +comment (10yaron57) [03:37:13] 03(FIXED) "Edit with tab" don't work for category pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20238 +comment (10yaron57) [03:37:52] 03(FIXED) 'Edit with form' tab in Category:... pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20500 +comment (10yaron57) [05:07:23] 14(DUP) Semi-colon messes up text - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20574 +comment (10herd) [05:07:26] 03(mod) The newline added to a template, magic word, variable, or parser function that returns line-start wikicode formatting (*#:; ) causes unexpected parsing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12974 +comment (10herd) [05:44:08] werdna: could that check be strval($foo) === '' instead? [06:41:44] 03(NEW) Find and replace inserts HTML code - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20575 major; Normal; MediaWiki extensions: FCKeditor; (uwe.mueller2) [06:43:14] 03tstarling * r56129 10/trunk/phase3/ (14 files in 6 dirs): Comments and whitespace fixes only. [07:33:20] *Annemarie hugs CIA-70 [07:33:20] *CIA-70 hugs Annemarie [07:33:46] ??? [07:34:44] Just looking for a little love. [07:37:38] *Splarka eats CIA-70 [07:37:39] *CIA-70 tastes crunchy [07:37:53] Platonides: handy to see if the bot logic is connected to the IRC connection [07:38:12] wikibugs needs one! [07:38:18] *Splarka sprays wikibugs with RAID [07:43:02] *gamla_kossan kicks CIA-70 [07:43:03] ow [07:43:05] :D [08:43:12] 03jojo * r56130 10/trunk/extensions/Collection/ (Collection.body.php Collection.i18n.php): report error on download [08:55:31] hi *! [08:55:58] I have a rather old mediawiki (php4 one), and trying to upgrade its database using the regular upgrade process [08:56:19] However, it just hangs on "Deleting old default messages (this may take a long time!)..." forever (killed after 4 hours) [08:56:41] Why? How can I fix it? It spits a lot of warnings like "Warning: dba_open(/users/folk.poesie.ru/www/wiki/images/tmp/mw-cache-zm_main-zm_.db,cl) [function.dba-open]: No such handler: db3 in /users/folk.poesie.ru/www/wiki/includes/BagOStuff.php on line 726" in the meantime [08:57:11] uh what [08:58:14] ilyak: that doesn't sound like 1.15 [08:58:28] Nikerabbit: MediaWiki 1.15.1 Installation [08:58:56] Maybe some old files slipped thru, I've copied its files over the old one as wiki suggested [08:59:30] what php4 version are you starting from? 1.6.12 or something older? (morbid curiousity) [08:59:34] ilyak: why in earth you are using CACHE_DBA for something? [09:00:17] * Cache that uses DBA as a backend. * Slow due to the need to constantly open and close the file to avoid holding * writer locks. Intended for development use only, [09:00:21] fix that first [09:00:42] Nikerabbit: It suggested that it's the best way to go [09:00:46] Should I disable that? [09:01:03] what suggested? [09:01:26] Installation form [09:01:44] oh, it's NOT recommended [09:01:46] FAIL [09:01:53] I think I'd kill it and start over [09:02:14] it would explain the slowness... trying to cache something constantly failing at it [09:06:53] Installation successful! [09:06:56] Epic success [09:07:10] I think I'll now try merge two LocalSettingses.php and start the thing [09:23:26] hi. I just installed wikimedia (web interface), but am unable to login. The main page says "Login Required", however I am not able to Log in / Create account. My host is Just Host. [09:28:33] why are you not able to create an account? [09:28:35] does it error? [09:30:44] 'mediawiki' [09:30:54] Hello, everyone. Can you please tell me - is there any extension that makes Category management in wikia style (Ajax & subcat using "/") ??? [09:31:20] isn't all of wikias stuff opensource? [09:31:51] !wikiacode [09:31:51] --mwbot-- Wikia's customized mediawiki code is mostly available via . Wikia-specific extensions can usually be found in . [09:31:55] I'm not sure, does wikia working on own engine? not mediawiki you mean? [09:32:10] Reedy: nothing happens. It just keeps reloading the main page [09:32:23] mwbot, thank you. [09:32:50] Splarka, thank to you too =) [09:32:59] khannz: they customise mediawiki [09:33:05] 09:30 < khannz> Hello, everyone. Can you please tell me - is there any extension that makes Category management in wikia style (Ajax & subcat using "/") ??? [09:33:13] I've actualy just added AJAX category management to core [09:33:45] klugman, is it externally accessible? [09:33:52] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56032 [09:33:59] *Splarka wonders when werdna will stop stealing ideas from wikia ^_^ (joking) [09:34:16] *werdna steals Splarka's mother from wikia. [09:34:17] No need for hotcat [09:34:19] woot [09:34:24] werdna, but is this customizes is only cosmetics or they changed core also? anyway, is there any method to use slashes in categories in tree style? [09:34:40] Reedy: Yes, it should be. http://biotechgodzilla.com/wiki/ [09:34:44] Reedy: yeah, and this one doesn't suck :) [09:34:47] :D [09:34:55] khannz: in theory it's possible, I don't know why or how [09:35:02] slashy subpage-style category names seems like they'd get spammy [09:35:03] no shitty page reloads? [09:35:09] werdna, i c ) thank u [09:35:39] Reedy: indeed [09:35:45] woot [09:35:50] try it at http://wiki.werdn.us/test/view/Main_Page [09:35:54] oh it's protected [09:35:54] !woot [09:35:54] --mwbot-- I don't know anything about "woot". [09:35:59] lol [09:36:02] :/ [09:36:03] ^_^ [09:36:04] http://wiki.werdn.us/test/view/Some_Other_Page [09:36:09] klugman, whats in your localsettings? as you seem to have to have stopped all access [09:37:03] I am just using the "default' values. What should section should I examine in localsettings.php. Sorry about my IT incompetence :/ [09:37:24] werdna, it will let me categorise the login page :p [09:38:00] Reedy: I thought I fixed that :( [09:38:11] well, its at least showing that i can ;) [09:38:19] Also, not so keen on the green + :P [09:38:22] it doesnt fit in [09:39:35] werdna, gone now [09:39:51] Category:Contents > Category:Articles > Category:Fundamental > Category:Society > Category:Politics > Category:Government > Category:Government_institutions > Category:Military > Category:Military_by_country > Category:Navies_by_country > Category:Indian_Navy_guided_missiles [09:40:01] 420 if ( !wgIsArticle ) return; [09:40:01] so by slashy, you mean something like: Category:Contents/Articles/Fundamental/Society/Politics/Government/Institutions/Military/Navies/By_country/Indian_Navy_guided_missiles ? [09:40:04] hmmph [09:40:30] klugman, view is disabled [09:40:35] it seem [09:40:44] can just pastebin the config, minus your password [09:40:44] s [09:40:51] Werdna: what does wgIsArticle actually do? [09:41:03] Splarka: Let me guess... [09:41:12] magic? [09:41:21] it is true for a category view, false for an edit, true for a 404 [09:41:40] it doesn't tell you if the page exists, if it is a 'good' article, if it is in a content namespace [09:41:42] 'wgIsArticle' => $wgOut->isArticle(), [09:41:46] handy [09:41:51] okay, in english? [09:42:04] public function isArticle() { return $this->mIsarticle; } [09:42:04] something ;) [09:42:09] hahaha [09:42:16] werdna, just give up [09:42:24] it's set in totally random places [09:42:31] Splarka: it's true for a standard page view. [09:42:34] false otherwise [09:42:47] er, k... but page means a non-negative namespace [09:43:00] so why not deprecate it for wgAction and wgNamespaceNumber checks? [09:43:03] i.e. if it's ?title=NSOtherThanSpecial:Title&action=view [09:43:20] Splarka: because it'd be a waste of time and we have better things to do [09:43:30] :) [09:43:39] like have stupidly named global variables, I guess! [09:43:43] *Splarka bites werdna [09:43:44] and get bit [09:44:08] heh, it'd be nice if it returned: if page exists, for any action, and if it was in a content namespace and qualified for good article status [09:44:22] (sounds expensive) [09:46:37] Reedy: http://www.mirc.net/paste/?3195 [09:47:00] Of course, it's already been written and disabled by Domas because it adds DB query errors and exhausts our kitten-soul stocks. [09:47:28] lol [09:47:44] werdna, LocalSettings doesnt have a closing ?> by default does it? [09:47:53] !?> [09:47:53] --mwbot-- The PHP closing tag "?>" is never required at the end of a pure-code php file, and mediawiki developers actively remove it, as it often causes problems related to trailing whitespace, and "headers already sent" errors. See also http://news.php.net/php.general/280796 and !bom as well as https://bugzilla.wikimedia.org/show_bug.cgi?id=17642 [09:48:04] i thought so [09:48:08] *Splarka hides [09:48:19] klugman, remove ?> from the end of your localsettings for a start [09:50:30] meow [09:50:37] werdna: got my message? [09:50:45] Reedy: done [10:04:04] Nikerabbit: about? [10:15:34] Hello all!! :) [10:16:14] I've integrated MediaWiki and SMF [10:16:27] ...and I've some questions [10:16:55] Is there someone here? [10:17:46] ok, I can wait! :D [10:19:07] Hi SB_Johnny! [10:19:32] !ask | LolliRock [10:19:32] --mwbot-- LolliRock: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. See also: !gethelp [10:20:08] oook excuse me, I'm not an expert with IRC (and also mw).. :P [10:20:11] well... [10:20:27] I've integrated MW and SMF [10:20:32] I've fixed main problems [10:21:05] Reedy: any ideas re:my stuffed up LocalSettings.php ? [10:21:50] but now in tags instead of the title of the mw page, I've "My forum name" [10:22:46] <LolliRock> I've tried to modify the index.template.php (main smf template file) with this: [10:22:47] <LolliRock> if (isset($_REQUEST('title'){echo '   <meta name="description" content="', $_REQUEST['title'], '" />'; [10:22:47] <LolliRock>    }else{echo '<meta name="description" content="', $context['page_title'], '" />} [10:22:52] <LolliRock> but... nothing... :( [10:23:58] <LolliRock> the forum title replace the wiki title [10:25:06] <LolliRock> the link is http://wiki.rockciclopedia.com [10:25:31] <LolliRock> SMF provide an "integration tool", SSI.php; I've used it [10:33:10] <Harmageddon> Hello all! Do you know if I can "delete" one of the standard namespaces in my wiki? [10:34:19] <Nikerabbit> werdna: strval($foo) === '' [10:34:57] *werdna shrugs, the existing case works fine, no? [10:35:03] <werdna> can you give me something it breaks on? [10:36:20] <Splarka> http://en.wikipedia.org/wiki/Special:Contributions/0 [10:37:30] <Splarka> http://en.wikipedia.org/w/index.php?title=User:Jimbo_Wales&diff=next&oldid=7476825 [10:37:31] <Splarka> heh [10:37:55] <gamla_kossan> ok, time for a stupid question: [10:37:59] <gamla_kossan> what is a namespace? [10:38:21] <Harmageddon> http://meta.wikimedia.org/wiki/Help:Namespaces [10:38:26] <gamla_kossan> yey [10:38:27] <gamla_kossan> thanks [10:39:46] <LolliRock> but why doesn't this code work? [10:39:47] <LolliRock> if (isset($_REQUEST('title'){echo '   <meta name="description" content="', $_REQUEST['title'], '" />'; [10:39:48] <LolliRock>    }else{echo '<meta name="description" content="', $context['page_title'], '" />} [10:40:04] <flyingparchment> LolliRock: for one thing that's a hilarious simple XSS vulnerability [10:40:13] <flyingparchment> you can't just randomly output request variables into html [10:40:49] <LolliRock> mmh... and how can I change it to have it workin? [10:40:56] <LolliRock> I'm not an expert with php... :( [10:41:16] <flyingparchment> working isn't the problem - even if it worked, it has a serious security issue [10:41:31] <flyingparchment> you should probably read up on XSS and PHP security before you write any more code [10:42:18] <LolliRock> and is there a more easy way to have the wiki page title as <title> instead of just the forum name? [10:42:30] <LolliRock> don't know if I explained well... sorry for my english [10:42:31] <LolliRock> :( [10:42:56] <LolliRock> if you go to http://wiki.rockciclopedia.com you can see that any page hve the same title [10:48:19] <wikibugs> 03(NEW) Differentiating logged-in and logged-out editing via CSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20576 enhancement; Normal; MediaWiki: Page editing; (FT2.wiki) [10:52:30] <khannz> guys'n'girls, tell me please, how i should use template parameter? i'm trying to write {{TOC right | limit=2}} but it doesn't work. [10:55:33] <Harmageddon> can you post a link? [10:55:56] <khannz> nope, sorry - intranet insallation [10:56:48] <Splarka> if you copied http://en.wikipedia.org/w/index.php?title=Template:TOC_right&action=edit ? [10:56:53] <Splarka> then the limit is working [10:56:59] <Splarka> but you need to apply the css classes to make it do anything [10:57:22] <Splarka> all the limit parameter does is define the css class wrapping the toc [10:57:46] <Splarka> http://en.wikipedia.org/wiki/MediaWiki:Common.css [10:57:53] <Splarka> /* Allow limiting of which header levels are shown in a TOC; [10:57:53] <Splarka> <div class="toclimit-3">, for instance, will limit to [10:57:53] <Splarka> showing ==headings== and ===headings=== but no further [10:57:56] <Splarka> that stuff [10:58:03] <khannz> Splarka, i c now! i didn't changed css [10:58:29] <khannz> Splarka, Harmageddon: thank you [10:58:59] <Harmageddon> one more try: Do you know if I can "delete" one of the standard namespaces in my wiki? [10:59:40] <Harmageddon> or except it from search? [10:59:41] <Splarka> Harmageddon: do you want to simply suppress it from use, or allow page titles to be created in the main namespace starting with that prefix? [11:00:28] <gammy> Hi guys. I'm wondering if there are any plans on incorporating any sort of template "browsing" function in the new rich text editor. I've had a look around in the bug search as well as FAQ and IRC logs(from topic) but can't find anything of relevance. [11:00:45] <Harmageddon> I don't use the namespace "File" because I've disabled upload of files. And I'd like to except the namespace from search, for example [11:00:49] <Splarka> it would be much easier to just protect it from being edited via http://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection though it would still show in namespace selectors like search and recent changes [11:02:49] <Splarka> if you'd like to read some literature on the problems you might face in trying to remove a canonical namespace, see https://bugzilla.wikimedia.org/show_bug.cgi?id=18793 [11:03:06] <Splarka> (not quite the same thing, but some of the arguments apply) [11:03:41] <Harmageddon> okay [11:03:53] <Harmageddon> but i can't exclude it from search? [11:04:08] <Harmageddon> except, sorry [11:04:15] <Splarka> dunno, probably not easily [11:04:34] <Harmageddon> hm [11:04:41] <Splarka> depends what version, and what search, probably... and if you mean advanced search or preferences/search settings, or both [11:04:49] <Harmageddon> both [11:04:57] <Harmageddon> version is the newest [11:10:04] <wikibugs> 14(DUP) Differentiating logged-in and logged-out editing via CSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20576 +comment (10herd) [11:10:09] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 +comment (10herd) [11:10:48] *Splarka 'd like to see something done about that ^ feature request [11:11:37] <Splarka> <body class="mediawiki ltr ns--1 ns-special page-Foo skin-monobook logged-in"> [11:12:00] <Splarka> and/or "anonymous", but only need one [11:12:16] <Splarka> could be styled via userContent.css... [11:12:54] <Splarka> body.mediawiki #editform {background-color:red;} [11:13:06] <Splarka> body.logged-in #editform {background-color:white;} [11:13:38] <Harmageddon> well, my second question: can I protect userpages from all users but the "owner" of the page? [11:13:54] <Reedy> not by default, at least, no [11:14:15] <Harmageddon> ok [11:14:22] <Harmageddon> thank you guys! [11:28:24] <wikibugs> 03(NEW) External collection's links with acute character truncated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20577 enhancement; Normal; MediaWiki extensions: Collection; (morpheus17.pro) [11:28:45] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 (10FT2.wiki) [11:35:06] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 +comment (10agarrett) [11:35:08] <Nikerabbit> werdna: it is not what breaks, it is making the intention clear instead of having to guess [11:35:49] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 (10agarrett) [11:39:56] <wikibugs> 03(mod) External collection's links with acute character truncated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20577 (10morpheus17.pro) [11:45:47] <wikibugs> 03(mod) External collection's links with acute character truncated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20577 (10morpheus17.pro) [11:48:40] <wikibugs> 03(mod) External collection's links with acute character truncated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20577 (10morpheus17.pro) [12:07:18] <khannz> community, tell me please, is there any feature to make my headers numbered in only choosen articles? [12:08:12] <saper> khannz: numered? you mean table of contents? [12:08:44] <Splarka> http://en.wikipedia.org/wiki/MediaWiki:Common.css has something [12:09:31] <Splarka> /* When <div class="nonumtoc"> is used on the table of contents, [12:09:31] <Splarka> the ToC will display without numbers */ [12:09:38] <Splarka> the css below that [12:09:55] <khannz> saper, no, my TOC is numbered by default. I mean dynamic numbering intext [12:12:58] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 (10FT2.wiki) [12:13:00] <wikibugs> 03(ASSIGNED) External collection's links with acute character truncated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20577 +comment (10volker.haas) [12:19:04] <Splarka> hmm [12:19:38] <Splarka> body.mediawiki #mw-anon-edit-warning + * + * + * + * + form #wpTextbox1, body.mediawiki #mw-anon-edit-warning + * + * + * + form #wpTextbox1, body.mediawiki #mw-anon-edit-warning + * + * + form #wpTextbox1, body.mediawiki #mw-anon-edit-warning + * + form #wpTextbox1, body.mediawiki #mw-anon-edit-warning + form #wpTextbox1 {background-color:#ff8888 !important;} [12:20:03] <aaa> hi [12:20:03] <Splarka> (variable because some wikis have <div id='toolbar'> for anons and some don't) [12:20:07] <aaa> i have a question [12:20:25] <aaa> i want to do that : if a user is not logged in, he can't see the image page revision, he just can see the file (e.g http://localhost/xxx/images/8/8f/xxx.jpg) [12:20:38] <aaa> i'm french [12:20:52] <aaa> and i'm search on google, mediawiki, forums.... [12:20:59] <aaa> but i don't find the answer [12:21:06] <aaa> can you help me please [12:22:58] <aaa> ok [12:23:14] <aaa> anyone have the answer ? [12:23:42] <aaa> i don't know irc what is it really, i think it's a chat [12:25:00] <ialex> aaa: files are stored in the filesystem, so they can be accessed by anybody if they know the path to the file [12:25:04] <ialex> hmm [12:25:58] <aaa> i repost my question, please help me [12:26:07] <aaa> what i want to do on mediawiki : if a user is not logged in, he can't see the image page revision, he just can see the file (e.g http://localhost/xxx/images/8/8f/xxx.jpg) [12:26:08] <CIA-12> 03catrope * r56131 10/trunk/extensions/UsabilityInitiative/ (3 files in 3 dirs): Bump style version for r56126, minor cleanup [12:26:14] <ialex> aaa: files are stored in the filesystem, so they can be accessed by anybody if they know the path to the file [12:26:30] <aaa> hi ialex [12:26:49] <aaa> it's not my question [12:27:22] <aaa> i want to redirect user who are not logged in directly to the file [12:27:41] <aaa> and not to the image description page [12:27:57] <aaa> which is reserved to user who are logged [12:28:06] <aaa> do you understand my english ? [12:28:13] <ialex> yes [12:28:32] <khannz> & my ? [12:28:53] <aaa> what ? [12:29:06] *khannz slaps aaa around a bit with a large trout [12:29:43] <ialex> aaa: imho, you'll need to use the userCan to bypass the check for "read" permission and then the MediaWikiPerformAction to redirect the user [12:30:08] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 (10herd) [12:30:11] <wikibugs> 03(mod) wikEd compatibility: toolbar focuses on hidden textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20498 (10roan.kattouw) [12:30:12] <ialex> userCan and MediaWikiPerformAction hooks, sorry [12:30:14] <wikibugs> 03(mod) Clear new messages flag for anonymous users after a few months - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14396 (10matthew.britton) [12:30:26] <ialex> !hook userCan [12:30:26] --mwbot-- http://www.mediawiki.org/wiki/Manual:Hooks/userCan [12:30:45] <ialex> !hook MediaWikiPerformAction [12:30:45] --mwbot-- http://www.mediawiki.org/wiki/Manual:Hooks/MediaWikiPerformAction [12:31:34] <aaa> ok [12:31:40] <aaa> i'm looking at that [12:31:57] <aaa> i have already see the lockdown extension [12:32:09] <aaa> but it's not what i really want to do [12:32:15] <Splarka> they would still be able to get some information about the page, like via Special:Log/upload [12:32:33] <aaa> if a user is not logged so he see directly the image [12:34:33] <wikibugs> 03(mod) Links : Previously entered links are not refreshed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20566 +comment (10roan.kattouw) [12:34:35] <aaa> i saw the page [12:34:42] <aaa> but i don't understant [12:34:54] <aaa> can you help me please [12:34:55] <aaa> ? [12:38:24] <aaa> an other help perhaps [12:38:49] <aaa> i want to link an image directly to a pdf file [12:38:54] <aaa> how can i do that ? [12:39:25] <Emufarmers> [[media:file.pdf]] [12:39:32] <aaa> no [12:39:43] <aaa> i want to see the image [12:39:50] <aaa> and when you click on it [12:39:57] <aaa> you are redirect to a pdf file [12:39:59] <aaa> like [12:40:32] <aaa> [[Image:file.jpg|link=:Media:file.pdf]] [12:41:02] <aaa> i don't want to see the page description of this image file [12:41:07] <aaa> do you understand [12:41:16] <aaa> sorry for my bad english [12:41:36] <Emufarmers> [[Image:file.jpg|link={{filepath:file.jpg}}]] [12:42:00] <aaa> ok i test [12:42:03] <aaa> and i come back [12:44:08] <aaa> ok [12:44:12] <aaa> Thank you a lot [12:44:16] <aaa> for your answer [12:44:23] <Emufarmers> You're welcome [12:44:26] <aaa> no [12:44:29] <aaa> i'm serious [12:44:35] <aaa> very very tks [12:44:44] <aaa> i didn't see it [12:44:53] <aaa> in any forum and i don't know why [12:44:59] <aaa> but ths a lot again [12:45:18] <aaa> do you know the answer about my first question ? [12:45:56] <Emufarmers> Restrict the file: namespace with Lockdown? [12:46:07] <aaa> not exactly [12:46:18] <Emufarmers> though...that might break the images, then, heh [12:46:20] <aaa> restrict access to the file: [12:46:33] <aaa> and access directly to the image [12:47:08] <jdpond> I see from the topic we're still in "code review day". I'm holding onto a core code and three extension releases until I get the all-clear. [12:47:30] <Emufarmers> jdpond: code constipation? [12:47:33] <RoanKattouw> jdpond: If the extensions aren't run on Wikipedia, you don't have to hold them back [12:47:34] <jdpond> Emufarmers: to restrict files, you will also have to use NSFileRepo [12:47:48] <jdpond> Thanks RoanKattouw! [12:48:30] <jdpond> Emufarmers: or code diarrhea, depending on how you look at it! [12:48:45] <jdpond> Either way, I've put a cork in it! [12:48:46] <aaa> anyone know hox i can do that ? [12:50:27] <methods> how am i supposed to put code without it getting modified ? [12:50:27] <jdpond> aaa: Go look at recent thread on listserver, [Mediawiki-l] adding namespaces and rights and look at Extension:Lockdow and Extension:NSFileRepo [12:51:15] <aaa> i have already have a look on the extension lockdown [12:51:33] <aaa> but i doesn't work like what i want [12:52:06] <aaa> it is impossible to redirect simply the user who are not logged to the image [12:53:58] <jdpond> aaa: I've reworked an extension called cshow that might do what you're talking about. It doesn't REALLY protect the page, but it allows you to display different information based on group membership of the individual. Was going to release it today. [12:54:39] <jdpond> You may want to look at it, but the extension doesn't work as released right now [12:55:41] <aaa> i don't find your cshow extension [12:55:50] <jdpond> Hold on - not mine. [12:55:51] <aaa> do you understand what i want [12:55:53] <aaa> ? [12:56:12] <aaa> because i'm french and i'm not sure that you understand me correctly [12:56:42] <jdpond> I was looking back at logs - redirect would have to be done at a much lower level - code, but this can give a screen two different appearances depending on user group rights. [12:57:46] <aaa> i don't understand what i must do [12:57:53] <aaa> to finish my work [12:59:23] <jdpond> see if adding <cshow ingroup=approved>Text only appears if user is authorized</cshow> would do what you want. http://www.mediawiki.org/wiki/Extension:ConditionalShow. Like I said, current release doesn't work, but today's update will. [13:00:55] <wikibugs> 03(mod) Navigable TOC : Cursor position is not visible when link is clicked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20568 +comment (10roan.kattouw) [13:00:55] <wikibugs> 03(mod) Navigable TOC: Links are not highlighted when arrrow key is not released - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20569 (10roan.kattouw) [13:01:30] <aaa> jdpond [13:01:32] <aaa> : [13:01:39] <aaa> not exactly what i want [13:01:45] <aaa> i just want a hook [13:01:53] <aaa> which it test [13:01:59] <Nikerabbit> hi jdpond [13:02:02] <jdpond> I use it to hide links that the user isn't authorized to follow anyway. It doesn't really protect the text or stop someone from editing it, it just makes it less confusing for users. [13:02:03] <aaa> if the user is not logged [13:02:11] <jdpond> Hi Nikerabbit! [13:02:38] <aaa> so he is rediriged directly to the image path [13:03:17] <jdpond> Hmm, sorry aaa, I think you're going to have to write your own extension to do that. [13:05:01] <aaa> ok [13:05:10] <aaa> perhaps you will help me later [13:05:15] <aaa> tks you a lot [13:05:20] <aaa> for your advert [13:06:27] <jdpond> aaa: I've never tried this, but you may want to see if a combination of cshow and http://www.mediawiki.org/wiki/Redirect works. [13:07:49] <CIA-12> 03catrope * r56132 10/trunk/phase3/includes/api/ApiOpenSearch.php: API: When returning an emtpy opensearch result because mwsuggest is disabled, return a valid opensearch response. [13:13:15] <Pathoschild> When fetching a userrights token from the API using list=users, does it need to be fetched for the bot name or per target name? [13:13:26] <RoanKattouw> The target name [13:13:51] <Pathoschild> Hm. Does it work with interwiki targets (foo@wiki)? [13:14:48] <RoanKattouw> action=userrights should work with them, I think. Not sure getting a token will work [13:14:54] <RoanKattouw> Although in theory it should [13:16:06] <Pathoschild> I can't seem to get a token for interwiki targets: http://meta.wikimedia.org/w/api.php?action=query&ustoken=userrights&ususers=SoxBot@afwiki&list=users&format=xmlfm [13:16:26] <RoanKattouw> Ah, that's a bug [13:16:30] <RoanKattouw> Lemme fix that [13:16:54] <Pathoschild> Great. :) [13:17:18] <RoanKattouw> Hmm [13:22:38] <^demon> Morning all. [13:24:23] *Pathoschild waves hello. [13:24:38] *^demon waves back [13:24:50] <^demon> Nikerabbit: Ping? [13:33:49] <wikibugs> 03(mod) wikEd compatibility: toolbar focuses on hidden textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20498 (10oq9pscb02) [13:35:15] <wikibugs> 03(FIXED) BCP 47 issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20090 +comment (10innocentkiller) [13:39:59] <wikibugs> 03(NEW) Wrong localized image metadata - duplicated string? - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20578 enhancement; Normal; MediaWiki: Images and files; (bugzilla.wikimedia) [13:40:00] <qubodup> hello [13:40:09] <aaa> it's again me [13:40:18] <qubodup> I'm trying out mw's image upload and see this instead of a thumbnail: Error creating thumbnail: /usr/bin/convert: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory [13:40:39] <aaa> i wonder how can i know the namespace of file: [13:40:53] <aaa> i'd like to do like this [13:41:02] <aaa> if i'm in this page (file:) [13:41:05] <aaa> so redirect me [13:41:09] <wikibugs> 03(mod) Links : Cursor moves out of Dialog when tab is clicked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20567 (10roan.kattouw) [13:41:18] <Nikerabbit> demon: don't jump around so fast... [13:41:22] <p858snake> qubodup: mw can't fine/access the image rendering library that was selected during install [13:41:23] <qubodup> I have imagemagick enabled in localsettings. if I disable it, the thumbnail works correctly [13:41:30] <aaa> but how can i test if page is file: [13:41:54] <qubodup> p858snake: during install of imagemagick? [13:41:57] <str4nd> aaa, with javascript or what? [13:42:13] <p858snake> then it is having issues accessing imagemagick, are you sure you you have the correct paths for it in your settings? [13:42:34] <qubodup> p858snake: $wgImageMagickConvertCommand = "/usr/bin/convert"; is the only path, and it is a correct one [13:42:58] <Splarka> aaa: $wgTitle->getNamespace() if in php, JS global wgNamespaceNumber if in JS, 6 is 'File' [13:44:19] <qubodup> p858snake: hm, maybe imagemagick is not enabled in php [13:45:03] <CIA-12> 03catrope * r56133 10/trunk/phase3/includes/ (3 files in 2 dirs): API: Make it possible to fetch userrights tokens for interwiki users; make UserrightsPage::fetchUser() static [13:45:10] <RoanKattouw> Pathoschild: Fixed ---^^ [13:45:17] <RoanKattouw> (not live yet, of course) [13:45:20] <qubodup> on second thought, this doesn't make sense [13:46:00] <Pathoschild> RoanKattouw: Great. Thanks. :) [13:49:35] <methods> if i use <nowiki> then my html is ignored... if i don't then my code gets totally mangled [13:49:45] <methods> i just want to have code shown on the page [13:50:10] <Splarka> but you want to be able to mark it up? [13:50:48] <methods> i just want some code like perl code [13:50:56] <Splarka> wrap it in <pre> ? [13:50:59] <methods> but ( $ [ and stuff [13:51:01] <methods> pre's are ugly [13:51:17] <Splarka> in what way? [13:51:26] <Vyznev> qubodup: does convert work if you run it from the command line? [13:51:36] <CIA-12> 03catrope * r56134 10/trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toc.js: NavigableTOC: (bug 20570) Consecutive sections with the same name treated as one section [13:51:40] <Splarka> the border can be removed, the background color can be changed or removed, the monospace fontness can be removed [13:51:51] <qubodup> Vyznev: yes [13:51:51] <Splarka> you'll have to explain what ya want rather than "I want what I want" [13:52:46] <Splarka> somewhere between "totally mangled" and "html is ignored", if you want html not-ignored, but the code mark-upable you'll probably have to create your own block of   and <nowiki> around everything the wikiengine would consider markup [13:52:50] <Vyznev> qubodup: then you probably need to complain to your web host, because it doesn't seem to work when it's run from PHP [13:52:58] <Vyznev> maybe hitting some resource limits or something [13:53:12] <qubodup> methods: try <code> [13:53:14] <CIA-12> 03catrope * r56135 10/trunk/extensions/UsabilityInitiative/ (5 files in 3 dirs): Bump version, recombine for r56134 [13:54:14] <wikibugs> 03(FIXED) Navigable TOC : Section is not highlighted if section names are same - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20570 +comment (10roan.kattouw) [13:54:33] <qubodup> methods: hm, sorry I think that was a wrong hint [13:54:49] <qubodup> Vyznev: I've complained to myself already, but I'm not vastly competent as a hoster :( [13:54:56] <qubodup> Vyznev: I'm running it in localhost :) [13:55:36] <Splarka> methods: if you give an example of the raw perl code you want to show, and the (non-wiki generated) html output you want to come from that, maybe we could suggest a method to get there [13:55:48] <Vyznev> hmm, ok, that's trickier then :) [13:55:50] <Splarka> rather than "pre is ugly" [13:56:40] <qubodup> methods: there are MW extensions for displaying code pretty-like (example: http://love2d.org/wiki/index.php?title=CAMERA:camera.lua ) [13:57:13] <qubodup> methods: that would be http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [13:58:31] <Vyznev> anyway, it's clearly starting /usr/bin/convert just fine, but then fails to load the C library, saying "Cannot allocate memory" [13:58:37] <aaa> how can i redirect a user to the file path with a hook like (e.g : header('Location:'$title->?????????) [13:59:05] <RoanKattouw> aaa: $wgOut->redirect() or something [13:59:08] <Vyznev> it might actually be due to some other problem, but if the "cannot allocate memory" is correct, then that does sound like a resource limit issue [13:59:23] <kevindanko> Hello, is there anyway to bulk move articles across a namespace? [13:59:26] <RoanKattouw> aaa: $wgOut->redirect('url goes here'); [13:59:42] <aaa> RoanKattouw : what is wgOut ? [13:59:42] <RoanKattouw> kevindanko: Yes, but it requires database access and won't leave redirects [13:59:44] <aaa> is it a global variable [13:59:44] <aaa> ? [13:59:48] <kevindanko> I.E. i have a bunch of articles in the main namespace that i want moved to a new custom namespace called Customer Service [13:59:54] <RoanKattouw> aaa: Yes. You need to do global $wgOut; before you can use it [13:59:55] <kevindanko> I have database access [14:00:38] <RoanKattouw> kevindanko: Assuming the namespace ID of the Customer Service namespace is 100: UPDATE page SET page_namespace=100 WHERE page_namespace=0 AND page_title IN ('pages', 'I', 'wanna', 'move'); [14:00:48] <Splarka> /maintenance/moveBatch.php [14:00:55] <aaa> ok tks [14:01:00] <aaa> and last question [14:01:13] <RoanKattouw> kevindanko: Or use maintenance/moveBatch.php , that's much cleaner :) (thanks Splarka ) [14:01:14] <kevindanko> at RoanKattouw What if i dont want to move all page but only a few [14:01:18] <aaa> how can i get the path file [14:01:20] *Splarka tickles Roan [14:01:36] <RoanKattouw> kevindanko: Move them all, then move a few back? [14:01:41] <Splarka> heh [14:01:52] <Vyznev> aaa: syntax error, could not parse [14:01:58] <Vyznev> what's "the path file"? [14:01:58] <kevindanko> nvm [14:01:58] <aaa> like $title->mUrlform [14:02:06] <kevindanko> ill do it all manually [14:02:07] <kevindanko> thanks [14:02:13] <RoanKattouw> Surely moveBatch.php can move all pages in a namespace? If not, use my DB query without the AND page_title IN part [14:02:15] <aaa> images/c/ce/img.jpg [14:02:28] <kevindanko> i have about 350 pages but i have 50 pages i want to move [14:03:31] <Vyznev> aaa: you can get a File object from wfFindFile() and call some method whose name I can't remember just now to get the URL to the file [14:04:01] <RoanKattouw> kevindanko: Oh sorry misunderstood you earlier [14:04:11] <Vyznev> I'm not sure what you want to redirect people to a file, but sure, if that's your thing then that's how you can do it [14:04:16] <RoanKattouw> kevindanko: Neither that query nor moveBatch.php moves all pages, just the ones you specify [14:04:37] <Splarka> lots of cross-help going on here, heh [14:04:39] <aaa> Vyznev : in private [14:04:49] <kevindanko> Roan: is it like a check box thing? [14:05:02] <RoanKattouw> No, it's a command-line thing [14:05:12] <kevindanko> okay [14:05:16] <kevindanko> ill give it a shot [14:05:16] <RoanKattouw> aaa: $file = wfFindFile('filename'); $file->getFullURL() [14:05:34] <kevindanko> Next....Is it possible to hide namespaces in advanced search? [14:06:04] <kevindanko> I only want to show Main, User, Template and about 6 custom namespaces in the advanced search [14:06:11] <kevindanko> rather then every namespace. [14:06:12] <Splarka> aaa: just curious, what will you do if the file doesn't exist? like if they click a redlink (or link to non-file description page) link to [[File:Foo]] ? [14:06:30] <Splarka> (eg, you might wanna abort the redirect if there is no file, or just redirect to the main page) [14:06:49] <RoanKattouw> kevindanko: Why would you restrict your users in what they can search? [14:07:11] <kevindanko> This is for a company intranet. We are having all of customer service information moved to a customer service namespace [14:07:25] <kevindanko> would want users to check off search customer service to get specific customer service pages [14:08:20] <kevindanko> so Customer Service: Contacts would list only Customer Service Contact Information and Technology: Contacts would list only Technical Support Contacts [14:09:31] <p858snake> !cms | kevindanko [14:09:31] --mwbot-- kevindanko: Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at <http://www.opensourcecms.com/> including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [14:09:46] <kevindanko> ... [14:09:58] <Splarka> !preach | p858snake [14:10:25] <kevindanko> my question still stands....can i hide namespaces in the advanced search [14:10:26] <p858snake> thanks <3 Splarka [14:10:31] <kevindanko> disregaurd it being corporate. [14:10:39] <p858snake> yes, but it will be for all users [14:10:45] <kevindanko> thats fine [14:10:47] <p858snake> you can't do it for certain groups [14:10:57] <kevindanko> we dont want it to be for certain groups [14:11:12] <p858snake> actually, i can't remember anymore [14:12:06] <Splarka> <input name="ns3" type="checkbox" value="1" id="mw-search-ns3" /> <label for="mw-search-ns3">User talk</label> [14:12:13] <Splarka> could just do css... >_< [14:12:57] <Vyznev> hiding them with CSS could make the layout look weird, though [14:13:05] <Splarka> body.page-Special_Search #mw-search-ns3, body.page-Special_Search label[for="mw-search-ns3"] {display:none;} [14:13:30] <kevindanko> where do i add the css for the advanced search page? [14:13:31] <Splarka> so could hiding them at all [14:13:39] <Splarka> !css [14:13:39] --mwbot-- To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and <http://www.mediawiki.org/wiki/Manual:Skin_configuration> [14:13:40] <RoanKattouw> kevindanko: In [[MediaWiki:Common.css]] [14:13:52] <Splarka> you'd restrict it to Special:Search via body.page-Special_Search tag/class combo [14:14:28] <methods> pre's are ugly man [14:15:14] <Vyznev> you've said that before, you know [14:15:15] <p858snake> then style them [14:15:19] <Splarka> methods: good for you, so what do you /want/ [14:15:22] <Vyznev> what do you want, fancy kerning? ;) [14:15:24] <Splarka> other than to complain, heh [14:15:49] <yang> Is there a manual, how to successfully move mediawiki installation on to a different server, together with the pictures ? [14:15:50] <Splarka> kevindanko: note that the <label> has only a 'for' attribute, which requires CSS level 2 selection [14:16:13] <Splarka> * E[foo="bar"] - an E element whose "foo" attribute value is exactly equal to "bar" ... http://www.w3.org/TR/css3-selectors/#selectors [14:16:23] <Splarka> so, broken in IE6 and maybe 7 [14:16:32] <kevindanko> So i put all that in Mw:Common.css and it didn't hide it [14:16:33] <p858snake> i think he gets it Splarka [14:16:43] <p858snake> try clearing your cache [14:17:00] <kevindanko> Thats supposed to hide User Talk right? [14:17:08] <RoanKattouw> kevindanko: Yes. Clear your browser cache [14:17:11] <Splarka> kevindanko: see also http://www.mediawiki.org/wiki/Manual:$wgNamespacesToBeSearchedDefault [14:17:15] <p858snake> yes on the adavance search page [14:17:58] <Splarka> the advanced search has possibly changed too, maybe pastebin the html of such a page from your wiki [14:18:00] <kevindanko> still hidden [14:18:55] <kevindanko> using firefox [14:19:33] <kevindanko> and ie7 as well as ie8 [14:19:40] <p858snake> thats what your trying to do.... [14:20:10] <Splarka> pastebin the html of your advanced search, I think the html above is for the Lucene engine [14:20:20] <kevindanko> whats that? [14:20:21] <Splarka> er or whatever it is [14:20:23] <kevindanko> pastbin? [14:20:39] <p858snake> http://dpaste.org/ [14:21:03] <RoanKattouw> Splarka: That doesn't matter [14:21:17] <RoanKattouw> kevindanko: Can you link to your wiki? [14:21:31] <kevindanko> its internal [14:21:34] <kevindanko> i can do a teamviewer [14:21:54] <neti> hi, when i register a new user the first letter is automatic capitalized. for example: i register the new user "neti", the otuput it isn't "neti" but "Neti". what can i do to remove this thing? it's like the "text-transform: uppercase" in the CSS... i have to remove it....thank you! [14:25:33] <RoanKattouw> I believe that's currently not possible [14:25:48] <RoanKattouw> (lowercase usernames that is) [14:26:10] <werdna> neti: yes, all usernames begin with an uppercase letter [14:27:08] <neti> yes, i know it, but i want to change this thing [14:27:42] <neti> i want to have usernames with lowcase letters [14:27:46] <Happy-melon> neti: tough :P [14:27:49] <Happy-melon> so do I [14:27:50] <Happy-melon> I've tried it [14:27:51] <kevindanko> urgh [14:27:52] <Happy-melon> it's messy [14:27:55] <werdna> well, you're welcome to try [14:27:55] <werdna> but you'll need to dig in MediaWiki internals [14:28:02] <Happy-melon> it's dug far too deeply into the core code [14:28:11] <Happy-melon> I agree it should be possible [14:28:16] <Happy-melon> but it currently isn't [14:29:16] <neti> don't you know which file do i have to modify? [14:29:17] <kevindanko> Hmm... if it isn't possible to hide them is it possible to move them down and have certain namespaces appear as a group above the default group? [14:29:29] <werdna> neti: a lot [14:29:51] <neti> why? it should be very simple... [14:30:10] <p858snake> you would think that.... [14:30:33] <neti> it's something like only one order [14:30:42] <neti> but? [14:30:59] <p858snake> its not [14:33:37] <kevindanko> Here's a mockup of what i am trying to achieve [14:33:38] <kevindanko> http://bit.ly/YO1gX [14:33:40] <CIA-12> 03dale * r56136 10/trunk/phase3/ (11 files in 6 dirs): [14:33:40] <CIA-12> more (bug 20336) [14:33:40] <CIA-12> * added json folder [14:33:40] <CIA-12> * moved Services_JSON.php there [14:33:40] <CIA-12> * moved Format JSON into its own class [14:33:41] <CIA-12> * updated AutoLoader [14:35:09] <RoanKattouw> kevindanko: You probably need at least JS to accomplish that [14:35:18] <RoanKattouw> Splarka will have a field day :) [14:36:14] <kevindanko> Well hopefully he can help because i have no clue where to begin [14:36:15] <kevindanko> haha [14:36:58] <kevindanko> I mean if it can atleast move all elements with a namespace number higher then say like 125 to the top and keep everything else on the bottom that would be fine [14:37:58] <Splarka> ew [14:38:26] <Splarka> kevindanko: well I can't help you unless I could actually see the html of the page you're trying to suppress checkboxes on [14:38:42] <kevindanko> sure can you remote in? [14:38:46] <CIA-12> 03werdna * r56137 10/trunk/extensions/LiquidThreads/ (LiquidThreads.php classes/Hooks.php): (bug 19978) LiquidThreads should update with update.php [14:38:47] <wikibugs> 03(FIXED) LiquidThreads should update with update.php like everything else. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19978 +comment (10agarrett) [14:39:04] <Splarka> you'd probably be better off doing it in php tho, as an extension, should be some hooks on the search page [14:39:08] <kevindanko> via teamviewer [14:39:16] <kevindanko> or gotomeeting or something [14:39:23] <Splarka> nope [14:39:25] <wikibugs> 03(mod) Navigable TOC : Section is not highlighted if section names are same - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20570 (10roan.kattouw) [14:39:43] <werdna> Any suggestions for a way to collapse threads in LiquidThreads? [14:40:08] <Splarka> kevindanko: it is simple: go to Special:Search, click 'advanced', click 'view source', copy all, paste it at http://p.defau.lt/new.html [14:41:56] <Splarka> mdale: will these folders (json, js2, etc) be referenced via the web? like /skins, /extensions, and whatnot? [14:42:12] <kevindanko> http://p.defau.lt/?kW_jGSPqQjI4GUlzLf05mg [14:42:14] <kevindanko> there ya go [14:42:14] <mdale> ? [14:42:26] <mdale> ah.. yes [14:42:52] <Splarka> mdale: remember the usability team, new folders have to be added to the WMF rewrite rules or they get must-revalidate headers [14:43:00] <Splarka> and then domas stabs you [14:43:04] <mdale> right [14:43:38] <Splarka> kevindanko: okay, common.css is loading, so that's good [14:43:51] <mdale> oky... we actually don't want must-revalidate on the script server anyway. [14:44:03] <mdale> cuz it manages versions with unique urls. [14:44:09] <Splarka> yes, obviously [14:44:33] <Splarka> must-revalidate causes a request for every page load, and for <script> that's crazy [14:44:40] <mdale> but the script-server access point is outside of js2 anyway [14:44:48] <Splarka> (as the jquery was getting briefly as it was loading from /extensions/ on WMF) [14:45:21] <Splarka> <body class="mediawiki ltr ns--1 ns-special page-Special_Search ..."> looks good [14:45:38] <Splarka> <input name="ns3" type="checkbox" value="1" id="mw-search-ns3" /> <label for="mw-search-ns3">User talk</label> [14:45:44] <marineam1> hi everybody. small question: is there a way to include a page in another one with a max number of char. ? [14:46:20] <Splarka> kevindanko: body.page-Special_Search #mw-search-ns3, body.page-Special_Search label[for="mw-search-ns3"] {display:none;} should work, really [14:46:21] <marineam1> I use the transculsion {{mypage}} ok, but then is there limit control? [14:46:54] <RoanKattouw> marineam1: No [14:47:40] <Splarka> kevindanko: it works for me, go to /index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000 and purge manually with ctrl-r in firefox [14:48:29] <RoanKattouw> mdale: Yeah, but you still want to configure the appropriate Cache-Control headers for that access point, or if it sets them itself, configure Squid not to override them (like it does to api.php right now) [14:50:16] <mdale> we should fix that for the api too [14:50:38] <RoanKattouw> Aye [14:50:46] <mdale> cuz up-and-coming applications are going to hit the api a ~lot~ more [14:50:53] <RoanKattouw> 'We' being the folks that actually have the access and skill to configure squid [14:51:00] <RoanKattouw> Yup [14:51:05] <Splarka> mmm, use &maxage and &smaxage for staticy api calls [14:51:15] <RoanKattouw> Splarka: Yeah but those are broken on WMF [14:51:16] <Splarka> Roan: I made domas do it, it took him like an hour :/ [14:51:18] <RoanKattouw> As in ignored [14:51:23] <Splarka> Roan: after fix, obviously [14:51:25] <RoanKattouw> Oh really, does it work now? [14:51:28] <Splarka> no [14:51:29] <Splarka> for /extensions [14:51:33] <RoanKattouw> Oh :P [14:51:37] <Splarka> for when the usability team enabled jquery [14:51:41] <RoanKattouw> Ah yes [14:51:48] <RoanKattouw> Shouldn't take an hour the second time around [14:51:50] <Splarka> I didn't bug him about the api cuz he was in a bad mood [14:51:57] <RoanKattouw> haha [14:52:24] <RoanKattouw> Well I guess someone else telling domas how to fix performance an hour long is a first [14:52:28] <p858snake> thats why you open a bugzilla ticket and just reply to it every week wanting a progress report [14:52:32] <kevindanko> Doesn't work still Splarka [14:52:39] <kevindanko> I can do a restart [14:52:45] <kevindanko> of the server [14:52:53] <Splarka> well, wait, what do you see when you go to the URL I pasted? [14:53:01] <Splarka> /index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000 [14:53:10] <kevindanko> the contents of my mediawiki:common.css [14:53:16] <Splarka> pastebin that [14:53:21] <Splarka> http://p.defau.lt/new.html [14:54:30] <kevindanko> http://p.defau.lt/?zh51lyh0jafrkY_U30ZJuA [14:54:55] <Splarka> heh [14:54:59] <Splarka> remove the input stuff above [14:55:06] <Splarka> that's the HTML being referred to, it isn't valid CSS [14:55:11] <Splarka> <input name="ns3" type="checkbox" value="1" id="mw-search-ns3" /> <label for="mw-search-ns3">User talk</label> [14:55:12] <Splarka> remove that [14:55:19] <Splarka> css noob ^_^ [14:56:29] *Splarka runs it through validator [14:56:33] <marineam1> well nobody for the transclusion's question? :-/ [14:56:37] <kevindanko> yeah that works [14:56:42] <Nikerabbit> hi splarkal [14:56:45] <Splarka> <br> .calendarDayNames { [14:57:00] <Splarka> remove those two <br> in there too [14:57:08] *Splarka bites Nikerabbit [14:57:59] <kevindanko> Splarka could I use visibility:hidden instead of display:none? [14:58:17] <Splarka> wouldn't make much of a difference, since they're all in individual table cells [14:58:25] <Splarka> but yah [14:58:32] <kevindanko> for some reason it just leaves an empty white cell [14:58:38] <kevindanko> instead of reorganizing the lsit [14:59:03] <Splarka> yes, that is what it will do [14:59:10] <Splarka> since it is generated as a table [14:59:29] <Splarka> <Vyznev> hiding them with CSS could make the layout look weird, though [14:59:36] <Splarka> it is imperfect but it is quick and dirty [14:59:49] <Splarka> you'll need to go to php to do better [14:59:54] <qubodup> can someone name me an extension, which manipulates all "File:" pages' content in a wiki? [15:00:14] <qubodup> I want to get started making an extension by seeing an example [15:00:30] <RoanKattouw> marineam1: That's not possible [15:01:04] <Vyznev> qubodup: can't think of any off the top of my head, but try http://www.mediawiki.org/wiki/Extension_Matrix [15:01:05] <Splarka> qubodup: http://www.mediawiki.org/wiki/Extension:BrowseImages is an example maybe [15:01:08] <RoanKattouw> Splarka: Maybe if CSS had parent selectors... [15:01:17] <Splarka> RoanKattouw: CSS3 does, doesn't it? [15:01:28] <RoanKattouw> No? [15:01:28] <qubodup> Vyznev, Splarka: thanks! [15:01:28] <Splarka> not that anyone even supports parent selectors yet [15:01:30] <wikibugs> 03(NEW) Per-talkpage history function for LiquidThreads - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20579 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [15:01:57] <kevindanko> Splarka, could i possibly further use that css to rearrange it using like margin or something like that? [15:02:17] <Vyznev> you could always kluge it with JavaScript... [15:02:20] <Splarka> kevindanko: not really, as they are in <td>, which limits what CSS can do [15:02:28] <Vyznev> but really, patching the PHP code would be easier [15:02:31] <Splarka> yah, JS is one solution, but after-page-load transform sucks [15:02:36] <kevindanko> i dont know how to use javascript [15:03:05] <Splarka> Roan, hmmm "Proposed and disposed many times" [15:03:28] <Vyznev> well, you're in good company -- 90% of all JavaScript authors don't know either :) [15:03:35] <Splarka> heh [15:03:48] <Splarka> the problem with javascript is, it isn't just open source, it is in your face [15:03:54] <Splarka> so you can't help but having seen some somewhere [15:04:01] *Vyznev doesn't really know JavaScript either, I've just written enough cut-and-paste hacks in it to start getting some feel for it :/ [15:04:04] <Splarka> so everyone knows a little, and nobody knows it all [15:04:29] <Splarka> http://en.wikipedia.org/wiki/Special:PrefixIndex/User:Splarka/ *knows a little* [15:04:49] <Vyznev> http://en.wikipedia.org/wiki/Special:PrefixIndex/User:Ilmari_Karonen/ *ditto* [15:04:56] <qubodup> Nobody knows VisualBasic [15:05:06] <Splarka> ew, I started in VB3 I think [15:05:09] <Splarka> for Win 3.11 [15:05:12] *Vyznev doesn't *want* to know VisualBasic :-6 [15:05:13] <kevindanko> would anyone be willing to help me get something? [15:05:18] <qubodup> nobody wants to [15:05:46] <qubodup> kevindanko: rule 38: don't ask to ask and ask [15:05:48] <Splarka> Vyznev: impressive, but do you have access to brion? http://en.wikipedia.org/wiki/User:Brion_VIBBER/monobook.js heh [15:05:51] <Vyznev> kevindanko: nah, we're all just talking bullshit here [15:06:07] <qubodup> kevindanko: oh, sorry [15:06:11] *Splarka should remind him to remove that [15:06:14] <qubodup> didn't see the question was already written [15:06:36] <Splarka> hmm [15:07:00] *Splarka removes all the ugly <script> from your html source example and points the base href to mediawiki.org [15:07:57] <Splarka> kevindanko: why <meta http-equiv="Pragma" content="no-cache" /> 5 times? heh, you've been messing with the skin or is this one you grabbed online? [15:09:02] <kevindanko> Haha, I have no clue. It was a skin that was online that I highly modified [15:09:21] <kevindanko> I dont remember putting that in there though [15:09:29] <Vyznev> Splarka: dunno, does http://www.mediawiki.org/wiki/Special:Code/MediaWiki/19185 count? [15:10:03] <Splarka> Vyznev: think you know more javascript then you're letting on! [15:10:31] *Splarka did convince brion to add importScript() tho [15:10:55] <Vyznev> well, maybe, the point is I've never really learned any of it except from random examples off the web, though [15:11:05] <RoanKattouw> Splarka: Have you worked with jQuery yet? [15:11:28] *Vyznev found out just last year that you can leave the semicolons out in JavaScript :) [15:11:29] <Splarka> RoanKattouw: hellsno, but I don't need to [15:11:37] <Splarka> either it will be so simple anyone can do it, in which case I won't need to [15:11:43] <Splarka> or it'll be a complete disaster and removed [15:11:52] <RoanKattouw> Believe me, it's the former [15:12:00] <werdna> it's brilliant [15:12:10] <werdna> I replaced the entire live preview code (250 lines) with 30 lines of jquery [15:12:17] <werdna> and the jquery version was more functional [15:12:18] <Vyznev> RoanKattouw: I've ported my sigdash fixer to the Vector skin... that was a nighmare, but I don't think it was the jQuery part that was the hardest [15:12:34] <Vyznev> although I suspect I should really find some documentation for it [15:12:39] <RoanKattouw> jquery.com [15:13:02] <Splarka> well, good point [15:13:15] <Splarka> kevindanko's skin has jquery... [15:13:24] <Vyznev> http://commons.wikimedia.org/wiki/User:Ilmari_Karonen/vector.js [15:13:54] <Splarka> and he wants to turn http://p.defau.lt/?kW_jGSPqQjI4GUlzLf05mg into http://bit.ly/YO1gX [15:14:04] <Splarka> RoanKattouw or werdna, put up ^ or shut up <3 [15:14:10] *Splarka hides [15:14:48] <werdna> Splarka: ? [15:14:50] <RoanKattouw> Oh that's not that difficult [15:14:57] <Splarka> write a jquery to reorganize his searchbox [15:15:04] <RoanKattouw> werdna: He wants to move a few custom namespace boxes in advanced search to a separate section [15:15:16] <Splarka> tablesque dom manipulation [15:15:45] <Splarka> semi-easy with a regex on innerHTML, less easy with cloneNode and removeChild [15:19:47] <RoanKattouw> Easier with jQuery :P [15:19:53] <werdna> yeah, very [15:20:14] <werdna> $j('CSS selector for boxes').appendTo($j('selector for new location')).remove(); [15:20:17] <werdna> or something [15:21:00] <Vyznev> okay, trevor... WTF? http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialSearch.php?view=annotate#l792 [15:21:23] <Vyznev> anyone want to fix the parentheses there? [15:21:25] <CIA-12> 03happy-melon * r56138 10/branches/happy-melon/: Branch /phase3 at the rewritten login stuff; worth me spending some more time on, I think... [15:22:02] *Vyznev doesn't want to do a checkout on this laptop just to fix it [15:23:15] *RoanKattouw thinks we should really have php -l as a CR test [15:23:22] <RoanKattouw> I'll get it [15:24:18] <Vyznev> took me a while to figure out how that could possibly even parse :) [15:24:42] <RoanKattouw> Seems to be balanced by a superfluous ) elsewhere [15:25:23] <Vyznev> yeah, it's on line 796 [15:25:31] <Vyznev> or 795, depending on how you want to indent it [15:25:54] <RoanKattouw> I'll uke 795 [15:25:58] <RoanKattouw> *nuke [15:26:35] <Vyznev> actually, the whole block from 777 to 794 is overindented [15:26:55] <CIA-12> 03catrope * r56139 10/trunk/phase3/includes/specials/SpecialSearch.php: Fix omission of ) in r51807 that eluded php -l because of a superfluous ) elsewhere [15:27:05] *Splarka lunges for brion, just misses [15:27:32] *brion-breakfast daintily steps aside at the last minute as Splarka flies through the air, then tumbles [15:27:43] <brion-breakfast> what is this, a MUD? [15:28:20] <Splarka> just that you are famous for joining and immediately renicking to avoid being pestered [15:28:21] *Vyznev is selling a fine steel mace for just 100gp [15:28:33] <brion-breakfast> hehe [15:29:39] <werdna> mornin brion-breakfast [15:29:45] <p858snake> brion-breakfast: just so i don't have start a topic one on of the mailing lists, is there a reason why the [[special:cite]] extenstion isn't enabaled on all the wmf wikis? [15:31:02] <werdna> RoanKattouw: hmm, what should I do server-side to expose some way of rendering a particular thread... [15:31:07] <werdna> I'm thinking a special page [15:31:09] <brion-breakfast> p858snake: no idea [15:31:18] <brion-breakfast> i keep forgetting it even exists ;) [15:31:23] <werdna> an unlisted special page [15:31:50] <RoanKattouw> werdna: Yeah that's probably cleanest. You don't wanna have an API module for that [15:32:00] <RoanKattouw> Bring your own wrappers though [15:32:18] <RoanKattouw> i.e. <div id="lqtWrapper">Thread here</div> , don't rely on the skin's wrappers [15:32:19] <p858snake> brion-breakfast: *cough*commons, wiktionary*cough* are the ones i know of... [15:33:33] <Splarka> cite would look ugly in the wiktionary [15:33:54] <p858snake> its a special page.... how would it look ugly [15:34:31] <p858snake> i think Splarka is thinking of the wrong cite [15:34:48] <Happy-melon> p858snake: they're the same extension IIRC [15:35:05] <Happy-melon> you get Special:Cite and <ref> tags in the same package [15:35:10] <Happy-melon> I think [15:35:21] <p858snake> no, its a seperate php file last time i used it [15:35:23] <Splarka> well, they're separate parts of the same package [15:35:30] <Splarka> and wikt does have <ref> ew [15:37:10] *Happy-melon shudders [15:37:21] <werdna> RoanKattouw: alternatively, we could use the sajax framework ;) [15:37:27] *Vyznev thinks it should be named Special:WhyTheFuckWouldYouWantToCiteWikipediaAnyway :) [15:37:36] <brion-breakfast> they're separate but confusingly have the same name and are in the same directory ;) [15:38:10] <RoanKattouw> werdna: I actually have no experience with that framework TBH [15:38:21] <werdna> brion-breakfast: hmm, we need a version of sajax_do_call() that doesn't give XSS vulnerabilities :) [15:38:33] <brion-breakfast> hah [15:38:39] <brion-breakfast> well my main recommendation is kill SAJAX :) [15:38:40] <werdna> RoanKattouw: main problem is taht it returns the result without any sort of encoding [15:38:45] <RoanKattouw> Ah yes [15:38:51] <RoanKattouw> Now I remember why sajax sucks [15:38:53] <brion-breakfast> use the nice sane API which provides structured return data [15:38:54] <werdna> brion-breakfast: Well, SAJAX is useful, but it just needs to not give XSS :) [15:39:06] <werdna> brion-breakfast: there are cases where it doesn't necessarily make sense, like this one [15:39:12] <brion-breakfast> it's useful like register_globals is useful [15:39:13] <RoanKattouw> sajax stuff is usually better off as an API module, except when you return HTML [15:39:20] <brion-breakfast> slightly more convenient, but a lot less safe, than the alternative [15:39:22] <Splarka> *cough* Special:API [15:39:34] <RoanKattouw> hah [15:39:40] <Splarka> 302 or symlink [15:39:45] <werdna> brion-breakfast: I need a way of going back to the server and saying "render this thread, with these parameters" [15:39:47] <Splarka> work over interwiki! [15:39:56] <Splarka> or Special:Scriptpath/api.php [15:40:10] *Splarka has a little happy thought at that [15:40:26] <werdna> so it's supposed to return HTML, which can then be injected into the DOM :) [15:42:30] <werdna> brion-breakfast: so I'm thinking SAJAX or an unlisted special page. [15:42:42] <werdna> doesn't seem appropriate for the API [15:43:41] <Splarka> especially if the api was disabled, eh? [15:43:53] <werdna> well I'm not worried about that [15:44:08] <werdna> If the API is disabled I'm fine with just not having the fancy ajax stuff [15:44:23] <Splarka> hmm, speaking of [15:44:37] <Vyznev> which reminds me... is there a reason why the message given by api.php when $wgEnableAPI is false doesn't use wfHttpError()? [15:44:41] <Nikerabbit> hi RoanKattouw [15:44:47] <RoanKattouw> Hi Nike [15:44:54] <RoanKattouw> Vyznev: Why would it? [15:46:15] <Splarka> mdale: do the new upload features use the API? do they fail gracefully if $wgEnableAPI is false, and or $wgEnableWriteAPI is false? [15:46:41] <mdale> yea they say "can not work" [15:46:47] <mdale> without api enabled [15:46:52] <Splarka> heh, nice [15:47:34] <mdale> I think the next thing the script-loader needs is a way to package in configuration variables [15:48:12] <mdale> and have that integrate with MediaWiki: namespace based config. [15:48:50] <mdale> but want to avoid any big new features until we have the current stuff more or less deployed. [15:49:16] <brion-breakfast> werdna: offhand api sounds fine to me for this [15:50:11] <RoanKattouw> I agree with Andrew that it's ugly, but you gotta do what you gotta do [15:50:28] <werdna> brion-breakfast: hmm, ok [15:50:46] <Splarka> would that be a custom format for liquid threads? api returning unescaped html like index.php?action=render does? [15:50:58] <Splarka> ir would you have it return xml/json and unescape it before inserting into dom? [15:51:06] <Splarka> ^or [15:51:37] <werdna> hmm [15:51:56] <werdna> Would probably add it as a parameter to the API query module for threads [15:52:43] <Splarka> should be XSS-free in theory, if it just returns rendered wikicode (as XSS free as action=render can be, anyway) [15:52:45] <werdna> &thrender=1&threnderdepth=3&... [15:52:59] <werdna> of course it's XSS-free, it's going to be inserted into the DOM anyway [15:53:30] <Splarka> I'd go with raw html then, and have it like opensearch and just ignore &format and other parameters ^_^ [15:57:03] <Nikerabbit> grr, mediawiki: namespace isn't for configuration [15:57:27] <Splarka> nope, it is for having pages only sysops can edit! </joke> [15:58:44] <werdna> yuck, showThread() writes to output instead of returning HTML (because EditPage does) [15:59:04] <Vyznev> could always just hack it with action=renderthread or something [15:59:42] <Splarka> the nice thing about wikicode, especially for those seasoned in talkpage editing, is that you can parse it in your head most of the time [16:00:31] <Vyznev> the rest of the time, it's a mess of little curly braces, all alike [16:01:35] <Splarka> {{fact|{{formatdate|~~~~~}}|reason={{insertreasontranslation|{{int:defaultreasons}}|where=#mediawiki}} [16:01:44] <Splarka> }} [16:04:12] *Vyznev remembers the days before ParserFunctions [16:04:15] <Vyznev> {{{else{{{test|}}}|{{{test{{{test|}}}|{{{then|}}}}}}}}} [16:04:33] <Splarka> mmm, qif [16:05:47] <Splarka> I must have been active before PFs, Uncyclopedia was on 1.4 when I started editing there, I don't get why the kids today '''NEED''' StringFunctions (etc) [16:06:17] <Splarka> "OMG, if we can't parse strings we can't write an encyclopedia! why does Tim hate Wikipedia!?" [16:06:44] <Vyznev> nowadays we just get things like {{#if:{{{name|{{{1|}}}}}}|{{tl|{{{name|{{{1|}}}}}}}}}} [16:07:01] <Splarka> yes, much better >_> [16:07:08] *GreenAway remembers VB3 [16:07:17] <GreenAway> Actually, I remember VB1. But they quickly went to 3. [16:07:38] <Annemarie> The possible use-cases for StringFunctions haven't even been explored. [16:07:42] <Splarka> Vyznev: even better: http://en.wikipedia.org/wiki/Template:Coord?action=edit [16:07:52] <Splarka> split the code into 30 subtemplates [16:07:53] <Annemarie> Think of the crazy things people have done with ParserFunctions. [16:08:09] <Annemarie> Why does Tim hate innovation? [16:08:14] <Splarka> Annemarie: and none of them necessary ^_^ [16:08:43] <Annemarie> Templates aren't strictly necessary. I don't think we should get rid of them too, though. [16:08:53] <Vyznev> http://commons.wikimedia.org/wiki/Template:Self?action=edit looks sort of artistic [16:08:58] <MaxSem> of course, StringFunctions are quite useful! there's no easier way to bring the site down than an O(N!) regexp [16:09:28] <AryehGregor> . . . is that actually possible to do in StringFunctions, or are you just speculating? [16:09:32] <wikibugs> 03(NEW) == Software Code for formating LaTeX == - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20580 enhancement; Normal; MediaWiki: Page rendering; (lingkj) [16:09:34] <AryehGregor> Because you know, we would still have template length limits. [16:09:52] <Annemarie> AryehGregor: Is what actually possible? [16:10:05] <AryehGregor> Writing an O(N!) regex implementation in StringFunctions. [16:10:12] <Annemarie> People managed to use ParserFunctions to make rudimentary string functions. I think StringFunctions could do some pretty crazy shit. [16:10:15] <Splarka> Annemarie: how about a database report "Templates with most braces" [16:10:27] <AryehGregor> Because you know, the functions are all designed to be O(N)ish worst-case, aren't they? [16:10:29] <Annemarie> Ew page text. [16:10:43] <Splarka> you know you want to [16:10:50] <Annemarie> Could count subpages if you're really interested, though. [16:10:57] <MaxSem> don't the StringFunctions include regexes? [16:11:42] *MaxSem thought they did [16:11:45] <AryehGregor> No. [16:11:54] <Vyznev> ah, found a good one: http://commons.wikimedia.org/wiki/Template:Langlist?action=edit [16:11:58] <MaxSem> apparently, there's RegexFunctions for that [16:12:15] <Vyznev> actually, all the translation templates on Commons tend to be full of WTFs [16:12:24] <wikibugs> 03(mod) == Software Code for formating LaTeX == - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20580 +comment (10Simetrical+wikibugs) [16:12:24] <MaxSem> brilliant [16:12:24] <Splarka> Vyznev: seen the string function templates on en.wp abusing padleft? [16:12:38] <wikibugs> 03(mod) == Software Code for formating LaTeX == - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20580 (10Simetrical+wikibugs) [16:13:01] <Vyznev> Splarka: nope, must've been invented since I was last active there [16:13:01] <Splarka> 150 lines of {{#if:{{{1|}}} isn't much of an elegant template, they are a dime a dozen [16:13:32] <Annemarie> I'm still using a 550-line #switch somewhere on en, I think. [16:13:37] <Vyznev> no, but that repeated line itself is bracey enough [16:13:39] <Splarka> brion reverted the reversion of the padleft hack because he thought they were cute [16:13:44] <Splarka> http://en.wikipedia.org/wiki/Category:String_manipulation_templates [16:14:00] *Splarka bites brion [16:14:09] <Annemarie> :-( [16:14:10] <Vyznev> whoa [16:14:13] <Splarka> hah, take THAT! [16:14:39] <Splarka> all that based on a simple substring method [16:16:28] <Harmageddon> Hi, remember me? ;) I've got two more questions: First: Is ist possible to include a page automatically in a specialpage? [16:17:23] <Splarka> are you writing the special page yourself, or is it an existing one? [16:17:23] <Vyznev> Harmageddon: the text on special pages tends to come from system message (in the MediaWiki: namespace) [16:17:33] <Vyznev> so, yes, just find the right message and put the content there [16:17:39] <Harmageddon> okay [16:19:05] <Splarka> Vyznev, here is a good one: http://en.wikipedia.org/w/index.php?title=Template:Citation/core&action=edit [16:19:27] <Harmageddon> my second question: If I want to create an article, whose name starts with a small letter, mediawiki turns the first letter into a capital one. How can I change this? [16:19:30] <Splarka> 650 lines of oddly indented and newlined #if [16:19:44] <Annemarie> @search case [16:19:44] --mwbot-- Results: [bestcase, toolserver, worstcase] [16:19:51] <Splarka> heh [16:19:54] <Splarka> !bestcase [16:19:54] --mwbot-- You create a wiki as popular as Wikipedia, with an Adsense clickthrough rate above 99%. And you get laid. [16:19:58] <Splarka> http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks [16:21:08] <MaxSem> !worstcase [16:21:08] --mwbot-- Generally, the worst that can happen is that someone compromises your site, steals your data, deletes it and replaces it with kiddy porn. Then they start a spam service on your server advertising the kiddy porn to twenty million email addresses, daily. Then your home gets raided, you get fired and your wife leaves you. Then you get killed in your sleep by ninjas. [16:22:38] <Vyznev> ok, I'm curious... [16:22:38] <AryehGregor> It's much worse if it's ninjas, you understand. [16:22:41] <Vyznev> !toolserver [16:22:41] --mwbot-- The Wikimedia Toolserver is a cluster of servers that provide free Unix hosting for Wikimedia users and researchers and includes access to copies of the live wiki databases. Access is granted on request on a case-by-case basis. See <https://wiki.toolserver.org/view/Main_Page> for more info and <http://toolserver.org/~interiot/cgi-bin/tstoc> for a list of projects. [16:23:12] <Vyznev> hmm, not nearly as interesting as I expected :) [16:24:50] <Harmageddon> my second question: If I want to create an article, whose name starts with a small letter, mediawiki turns the first letter into a capital one. How can I change this? [16:25:12] <Annemarie> Harmageddon: http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks [16:25:43] <Splarka> as I said already [16:25:43] <Harmageddon> thanks [16:25:51] <Harmageddon> oh, didnt see [16:25:53] <Harmageddon> sorry [16:26:03] <Harmageddon> thank you both [16:26:15] <Splarka> nyah [16:26:48] <Annemarie> First ping past the post. [16:28:13] <CIA-12> 03tparscal * r56140 10/trunk/extensions/UsabilityInitiative/SimpleSearch/SimpleSearch.js: Removed results custom rendering function since it's really the same as the default. [16:29:37] <Splarka> Vyznev: http://en.wikipedia.org/wiki/Template:Big%20Brother%20housemates?action=edit is pretty, but repetitive [16:30:55] <km2> what's the latest stable version of mediawiki? from mediawiki.org it looks like 1.15.1 but then i've seen references to a 1.9 branch... [16:31:09] <Splarka> 15 > 9 [16:31:31] <Splarka> !version [16:31:31] --mwbot-- To find out the version of your MediaWiki installation, visit the page Special:Version. Should the wiki be broken, but you have access to the program files, find $wgVersion in DefaultSettings.php. Please note that 1.15.0 > 1.5.0 (since nobody wants to go to 2.0). [16:31:56] <km2> thanks, that helps [16:32:08] <Splarka> the constant confusion could maybe be understood when comparing 1.15 to 1.5, as that almost looks decimal, but with two dots it can't be a decimal number... [16:32:30] <Splarka> Vyznev: I think I found a winner: http://en.wikipedia.org/wiki/Template:Film?action=edit [16:33:24] <Annemarie> Splarka: The confusion comes from the fact that it's a stupid numbering scheme to use. [16:33:26] <Splarka> non-repeating for the most part [16:33:44] <Splarka> Annemarie: the stupid numbering scheme is better than AOL's 1.0 2.0 3.0... 27.0... 53.0... [16:34:08] <Splarka> or Windows... 1, 2, 3, 3.1, 3.11, 95, 98, 2000, XP, Vista, 7... [16:34:21] <Annemarie> Pointing to other stupid numbering schemes doesn't absolve MW. [16:34:24] <MaxSem> will 2.0 use clean and simple templates written in Lua? [16:34:27] <Splarka> yes it does [16:35:00] <Splarka> in such company, it is the least stupid numbering scheme ^_^ [16:35:18] <Splarka> MaxSem: 2.0 will be able to bring people back from the dead, clone dinosaurs, and time travel [16:36:08] <Splarka> "Sorry, [[Hitler]] has been protected from resurrection indefinitely. Reason: G17 (asshole dictator)" [16:36:25] <AryehGregor> Splarka, 98 < 2000 isn't really right. More like 98 < ME, which was the end of 9x. Then 2000 < XP < Vista < 7, and 2000 < Server 2003 < Server 2008. [16:36:28] <AryehGregor> Or somesuch. [16:36:44] <Annemarie> ME was such a treat. [16:36:52] *AryehGregor avoided it [16:37:01] <AryehGregor> The best numbering schemes are date-based. [16:37:09] <AryehGregor> Like Ubuntu's numerical scheme. [16:37:19] <AryehGregor> (as opposed to its "silly alliterative name" scheme) [16:37:38] <AryehGregor> Linus has said maybe the kernel will switch to a date-based version number system at some point. [16:37:58] <Splarka> AryehGregor: if you're gonna be persnickity then you have to include 98SE [16:38:26] <AryehGregor> (since it's been on 2.6 for the last six years or so, and is now up to 2.6.31 with no sign of stopping) [16:38:37] <AryehGregor> Splarka, was 98SE marketed as a separate version? [16:38:39] <MaxSem> frankly, 9.04 = year 2009, month 4 is no saner than 27.0: it implies that there were 9.0, 9.0.1 and so on [16:38:45] <AryehGregor> I thought it was a service pack type thing. [16:38:54] <Splarka> AryehGregor: yes and no [16:39:11] <AryehGregor> MaxSem, but 27 is just too big to be the first number. It looks really unreasonable. [16:39:16] <Splarka> but basically yes [16:39:24] <wikibugs> 03(FIXED) Extra MediaZilla resolution types are not documented - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2426 +comment (10fvassard) [16:40:02] <Splarka> > Windows 98SE could be obtained as retail upgrade and full version packages, as well as OEM and a Second Edition Updates Disc for existing Windows 98 users. [16:40:10] <AryehGregor> MaxSem, anyway, there's no guarantee that intermediate versions will exist. Look at Firefox 3.5, or Netscape 6. [16:40:28] <AryehGregor> Also, would you expect that because there was a Windows 95 and a Windows 98, there also must be Windows 96 and 97? [16:41:16] <Splarka> is it a good thing or bad thing that the film industry is moving to a zero index scheme for prequels? [16:41:58] *MaxSem develops a software that has the same version number for eight years - because each new version would require recertification, so what the heck! [16:42:10] <Harmageddon> next question: How can I disable the buttons on top of the edit-window? [16:42:21] <flyingparchment> isn't Safari's version up to 513.something? [16:42:22] <AryehGregor> MaxSem, they require recertification based on version number? What certification is this? [16:42:44] <AryehGregor> flyingparchment, WebKit 532.0 [16:42:49] <Splarka> and where is Leisure Suit Larry 4! and House III [16:42:51] <AryehGregor> From Chrome dev channel. [16:43:07] <AryehGregor> Safari is only up to 4, but WebKit is giant, yeah. [16:43:10] <MaxSem> Russian Railroads [16:43:22] <CIA-12> 03dale * r56141 10/trunk/extensions/WikiAtHome/ (NonFreeVideoHandler.php WahJobManager.php): [16:43:22] <CIA-12> * updated wikiATHome nonFreeVideoHandler to better handle thumbnails in api calls [16:43:22] <CIA-12> * update JobMannager json call [16:43:35] <Splarka> Harmageddon: by default or make them unusable at all? [16:43:38] <AryehGregor> Splarka, I would totally make 4! the version number after 11. [16:44:03] <Splarka> http://en.wikipedia.org/wiki/Leisure_Suit_Larry_4:_The_Missing_Floppies [16:44:06] <Harmageddon> splarka: i found a solution [16:44:28] <Splarka> Harmageddon: k, but the 'official' way is: http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions -> showtoolbar [16:44:34] <Splarka> but that just sets the default pref [16:45:22] <Splarka> and for House 3: http://en.wikipedia.org/wiki/Template:The_House_Tetralogy >_< [16:45:24] <flyingparchment> i like hp-ux, it has two different verion numbers. so you can choose if you want to run "11.22" or "11i v1.6" [16:46:21] <Splarka> similar to http://en.wikipedia.org/wiki/Halloween_III "hey, they have a popular movie franchise, lets buy the name and make an unrelated sequel!" [16:47:16] <Splarka> but bad versioning is nothing new... http://en.wikipedia.org/wiki/Third_Reich [16:47:26] <Harmageddon> splarka: doesnt work very much but I'll write "#toolbar {display:none}" into common.css. This will work, too [16:47:27] <Splarka> (godwin'd!) [16:48:11] <Splarka> Harmageddon: it doesn't "work" because it sets the default pref, this only affects new users [16:48:19] <Harmageddon> ah, ok [16:48:35] <Splarka> to remove it from all existing user's prefs you can manipulate the database (and there is a maintenance script to do it too I believe) [16:51:05] <Splarka> maintenance/userOptions.php probably [16:53:13] <werdna> mdale: you've broken ApiFormatJSON [16:53:27] <mdale> werdna: ? [16:53:31] <mdale> maybe... [16:53:42] <mdale> how so? [16:53:55] <werdna> mdale: Missing <? by the looks [16:54:00] <werdna> http://tinypic.com/view.php?pic=250rqzn&s=3 [16:55:28] <mdale> hmm [16:55:31] <mdale> missing <?php [16:55:43] <mdale> in FormatJson.php [16:57:13] <CIA-12> 03dale * r56142 10/trunk/phase3/includes/json/FormatJson.php: [16:57:13] <CIA-12> * should use <?php instead of <? [16:57:13] <CIA-12> * and end with \n [16:57:21] <mdale> try now? [17:00:51] <werdna> trying [17:01:06] <werdna> works, thx [17:03:38] <werdna> morning brion [17:07:44] *Splarka gently pesters werd and bri to pick a throbber that works on any background [17:09:10] <resno> Hello all. I have secured my wiki, and have to manually enter user accounts. Where is the file that handles sending new user notifications? [17:10:08] <CIA-12> 03ashley * r56143 10/trunk/extensions/AjaxLogin/ApiAjaxLogin.php: [17:10:08] <CIA-12> *else if -> elseif [17:10:08] <CIA-12> *removed unused global [17:10:15] <wikibugs> 03(FIXED) Unclear how to submit feature requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3659 +comment (10fvassard) [17:12:53] <philippe|away> http://philippe.brunken-companies.nl/wiki [17:13:37] <wikibugs> 03(FIXED) Too much spam via Mailing List bounce/moderation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11845 +comment (10fvassard) [17:13:46] <brion> mornin all [17:14:09] <brion> Anybody used Towerstream's WiMAX? We're looking at em for our new office space [17:14:31] <flyingparchment> brion: i think you have the wrong channel.. this is #mediawiki, for discussion of the wiki software [17:14:36] <brion> :) [17:15:06] <werdna> AryehGregor: of course, for many (most?) of us, nobody actually notices the differences between UK and US english. [17:15:13] <werdna> I think my writing is usually a mixture of the two. [17:15:32] <AryehGregor> You have an unusual upbringing, though. [17:15:46] <werdna> only recently [17:15:46] <AryehGregor> Well, I think Australians generally do sort of a mix, don't they? [17:15:57] <AryehGregor> They go with Americans sometimes and everyone else sometimes. [17:15:59] <werdna> I attribute it mostly to using the internet as much as I have. [17:16:01] <AryehGregor> Also Canadians. [17:16:07] <werdna> Canadians much more so [17:16:16] <Splarka> Canadians share a scrabble dictionary with the US [17:16:22] <AryehGregor> I always consistently use American spelling and typographical conventions for everything, pretty much. [17:16:26] <Splarka> the UK dic is quite different [17:16:39] <AryehGregor> Splarka, is the set of two-letter words any different? [17:16:44] <Splarka> yah [17:16:51] <Splarka> 'centre' and 'colour' are legal words in North American scrabble [17:16:55] <Emufarmers> Australians just spend their time putting the shrimp on the barbie [17:17:04] <Splarka> hmm, I believe the UK allows 'ZO' [17:17:21] <flyingparchment> what does ZO mean? [17:17:21] <BryanTM> that looks dutch [17:17:29] <Splarka> it means 11 points [17:18:27] <werdna> Emufarmers: that wasn't even invented by an Australian [17:18:35] <werdna> we don't even say 'Shrimp [17:18:38] <werdna> we say 'prawn' [17:18:53] <werdna> as in "Come on mate, don't come the raw prawn with me" [17:20:03] <CIA-12> 03ashley * r56144 10/trunk/extensions/AjaxLogin/AjaxLogin.js: fix typo [17:20:26] <Splarka> US/CA: AA AB AD AE AG AH AI AL AM AN AR AS AT AW AX AY BA BE BI BO BY DE DO ED EF EH EL EM EN ER ES ET EX FA GO HA HE HI HM HO ID IF IN IS IT JO KA LA LI LO MA ME MI MM MO MU MY NA NE NO NU OD OE OF OH OM ON OP OR OS OW OX OY PA PE PI RE SH SI SO TA TI TO UH UM UN UP US UT WE WO XI XU YA YE YO [17:20:31] <werdna> (it means roughly "Don't treat me like an idiot")( [17:20:33] <Splarka> SOWPODS: AA AB AD AE AG AH AI AL AM AN AR AS AT AW AX AY BA BE BI BO BY CH DA DE DI DO EA ED EE EF EH EL EM EN ER ES ET EX FA FY GI GO GU HA HE HI HM HO ID IF IN IO IS IT JO KA KO KY LA LI LO MA ME MI MM MO MU MY NA NE NO NU NY OB OD OE OF OH OI OM ON OO OP OR OS OU OW OX OY PA PE PH PI PO QI RE SH SI SO ST TA TE TI TO UG UH UM UN UP UR US UT WE WO XI XU YA YE YO YU ZO [17:20:46] <werdna> SOWPODS? [17:21:03] <Splarka> the UK used to use a list called Official Scrabble Words [17:21:33] <Splarka> but then they said "fuck it" (15 points) and combined with OSPD (official scrabble players dictionary, north american list) [17:21:37] <resno> Is this the mediawiki help line? [17:21:50] <Emufarmers> No, this channel is just for Scrabble discussions [17:21:58] <Splarka> OSW OSPD -> SOWPODS [17:22:26] <resno> Emufarmers: thats weird the topic says mediawiki stuff... [17:22:27] <Splarka> resno: comparison of british/american spelling variants, discussed vicariously through scrabble [17:22:29] <Emufarmers> The occasional MediaWiki question is okay too ^__^ [17:22:41] <resno> Emufarmers: ah, I was confused LOL [17:22:48] <Splarka> should we have en-gb.wikipedia or en-us.wikipedia ? [17:22:56] <AryehGregor> Splarka, no. [17:22:58] <Splarka> and en-au.wikipedia/en-ca.wikipedia? [17:23:01] <Splarka> heh [17:23:04] <flyingparchment> en_gb is a tautology [17:23:05] <AryehGregor> Splarka, also, I'm pretty sure profanity isn't in the Scrabble dictionary. [17:23:18] <AryehGregor> flyingparchment, no it's not, Great Britain also includes Scotland and Wales. [17:23:19] <Splarka> AryehGregor: not in OSPD, no, but that is not official [17:23:39] <Splarka> official for tournament play is TWL06 in North America, and SOWPODS everywhere else (including international) [17:23:42] <resno> when i create a user via email, where is that template file? [17:23:44] <Splarka> and those do include profanity [17:23:50] <flyingparchment> AryehGregor: my point was that "english" is what is spoken in GB, so "en" along suffices [17:23:58] <flyingparchment> AryehGregor: variants would be en_US or en_AU [17:24:01] <Splarka> AryehGregor: http://thepixiepit.co.uk/cgi-bin/scrab/scrabLookup.pl?search=fuck [17:24:04] <AryehGregor> Splarka, I assume they don't want somebody to win a high-profile Scrabble tournament by playing their whole hand to get "niggerlover" on a triple word score for a couple hundred points. [17:24:12] <AryehGregor> resno, what template file? [17:24:19] <Splarka> AryehGregor: http://thepixiepit.co.uk/cgi-bin/scrab/scrabLookup.pl?search=nigger [17:24:22] <Splarka> you'd be wrong [17:24:28] <AryehGregor> Amusing. [17:24:35] <AryehGregor> Not that I play Scrabble. [17:24:36] <Splarka> heh [17:24:50] <Emufarmers> inb4http://xkcd.com/492/ [17:24:51] <Splarka> the theoretical highest-possible score includes "Ejaculating" [17:24:52] <resno> AryehGregor: the file that does the email to user when someone else creates the account. [17:25:09] <Asmodis> How can I add some Custom Buttons to the Edit toolbar? [17:25:11] <AryehGregor> resno, you mean the PHP file? What is it you're trying to do? [17:25:18] <AryehGregor> !toolbar [17:25:18] --mwbot-- See <http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_add_more_buttons_on_the_edit_page.3F>, also have a look at <http://www.mediawiki.org/wiki/Extension:CharInsert> [17:25:23] <AryehGregor> Asmodis, ^^ [17:25:36] <resno> AryehGregor: i dont like the mesage as it stands, so I want to modify it. [17:26:02] <AryehGregor> resno, find the message at Special:AllMessages and edit the appropriate page there. [17:26:17] <Emufarmers> In my experience, most people will assume that words that aren't spelled in their dialect are wrong, if they're observant enough to notice in the first place. Most people don't really get the whole "spelling differences" thing. [17:26:26] <Emufarmers> though I don't know what brought this up [17:26:31] <AryehGregor> flyingparchment, how is British English less a variant than any other? [17:28:04] <flyingparchment> for the same reason people don't say "French French" and "Canadian French" unless there's a specific need to disambiguate [17:28:15] <Nikerabbit> what's up? [17:28:23] <Splarka> a variant diverges over time, where as english... 1200 years ago a bunch of vikings raped a bunch of celts and they all started speaking a bastardization of latin and french [17:28:32] <Splarka> (citation needed) [17:28:36] <AryehGregor> But "French" by itself is ambiguous. It doesn't refer specifically to French French, it refers to all French, whether French or Canadian. [17:28:40] <AryehGregor> Same for English. [17:28:48] <wikibugs> 06(LATER) Lost bug report due to unknown keywords - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12133 +comment (10fvassard) [17:28:51] <AryehGregor> Splarka, it was Normans, not Vikings. [17:28:59] *Splarka knows quebecois who say "Francy pants" or "France french" [17:29:10] <resno> AryehGregor: i found what I was looking for there, do I edit the localsetting.php ? [17:29:16] <Splarka> yeah yah, also: http://en.wikipedia.org/wiki/File:Origins_of_English_PieChart_2D.svg [17:29:31] <AryehGregor> resno, no. Edit the appropriate page on the wiki (beginning with "MediaWiki:"). [17:32:39] <wikibugs> 03(ASSIGNED) Big black boxes shown instead of dependency graphs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13029 +comment (10fvassard) [17:34:14] <wikibugs> 06(LATER) MediaZilla Email Address Privacy Concerns - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=148 +comment (10fvassard) [17:34:45] <resno> AryehGregor: sweet, thats great! [17:35:08] <werdna> 17:28 < Splarka> a variant diverges over time, where as english... 1200 years ago a bunch of vikings raped a bunch of celts and they all started speaking a bastardization of latin and french [17:35:18] *Splarka was making joke, sorta [17:35:21] <werdna> Not really, English is primarily Germanic, not Romance. [17:35:26] <werdna> and both of those are Romance languages. [17:35:29] <Splarka> did you see the pie chart? [17:35:42] <werdna> ah, AryehGregor already said it was Normans [17:35:46] <werdna> spl ? [17:36:00] <Splarka> http://en.wikipedia.org/wiki/File:Origins_of_English_PieChart_2D.svg [17:36:16] <AryehGregor> English is a Germanic language, but with enormous Norman and Latin influence. [17:36:21] <Splarka> why do you keep sending literal tabs? heh [17:36:32] <AryehGregor> Our vocabulary is as much Latin/Romance as Germanic. [17:36:44] <AryehGregor> For instance, I bet the word "vocabulary" is Latin. [17:36:55] <AryehGregor> [French vocabulaire, from Old French, from Medieval Latin vocbulrium, from neuter of vocbulrius, of words, from Latin vocbulum, name; see vocable.] [17:37:07] <werdna> English is also the only Germanic language to not use the V2 word order [17:37:34] <Splarka> compare english to mediawiki markup and you see creepy similarities [17:37:45] <werdna> well, the only prominent one [17:37:53] <Splarka> nobody planned it out, it was a mishmash of what came before it, the rules are arbitrary and added much later and without much enforcement [17:38:04] <Splarka> it is inefficient, headache-inducing, and confusing [17:38:42] <Emufarmers> And some people insist on keeping it the same :D [17:38:51] <wikibugs> 03(ASSIGNED) Bugzilla doesn't render [[%]] correctly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5268 +comment (10fvassard) [17:39:04] *Splarka shakes his fist at Oxford [17:40:02] <AryehGregor> Splarka, that's true for all natural languages. [17:40:12] <AryehGregor> To a greater or lesser extent. [17:40:31] <AryehGregor> They're all vastly worse than any machine language, anyway. [17:40:44] <AryehGregor> At least there's *one* parser for wikisyntax. [17:40:55] <Splarka> the little swahili I learned was amazingly machine-readable [17:41:10] <AryehGregor> There are zero that actually work for any human language. I mean, programs, not counting brains. [17:41:17] <Splarka> but possibly it was the dumbed-down version to show off the easy formatting [17:42:09] <alexz> Hey, I edit a wiki at my job (running version 1.15.1) and we're having a bit of a weird issue I was hoping someone might have some suggestions to resolve. We can't have wikitext followed by other wikitext without some sort of text in between or it smashes it on to one like. [17:42:18] <Splarka> but many languages can't have things like "Spelling bees", since words are not that hard to spell, except in English [17:42:32] <Splarka> although the French do something similar with verb conjugation IIRC [17:42:37] <alexz> So if we have ==Header 1== followed, next line, by ===Header 2===, after we save the page it turns in to ==Header 1=====Header 2=== [17:42:43] <Emufarmers> Heh, a Latin spelling bee [17:43:07] <AryehGregor> Splarka, our spelling is unusually inconsistent, that's true. [17:43:18] <AryehGregor> alexz, do you have a link to your wiki? Does this always happen? [17:43:19] <Splarka> *(see pie chart) [17:43:22] <AryehGregor> Are you using a weird browser or something? [17:43:48] <wikibugs> 03(mod) Bugzilla doesn't render [[%]] correctly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5268 +comment (10Platonides) [17:44:09] <Splarka> Spanish was simple except all the friggen verbs... 3 endings, 6 inflections, a half dozen tenses, something like 150 ways to memorize how to end a verb... BEFORE you get to the irregulars [17:44:26] <alexz> It always happens and it does it on any browser. Unfortunately, I can't give you a link to it because it's only available on our network. [17:44:34] <Emufarmers> Verbs are declined, not inflected ^__^ [17:44:41] <Emufarmers> er, conjugated [17:44:42] <Emufarmers> bah [17:44:47] *Emufarmers slinks away [17:44:58] <Splarka> er yah, whatever it was [17:45:00] <Platonides> Splarka, not so many verb endings [17:45:05] *Splarka is trying hard not to remember [17:45:25] <Emufarmers> Sounds no worse than Latin [17:45:26] <AryehGregor> Emufarmers, "inflect" is the generic term, AFAIK. [17:45:33] <AryehGregor> Verbs are conjugated, nouns/adjectives are declined -- at least in Latin. [17:45:44] <Splarka> AryehGregor: http://en.wikipedia.org/wiki/Swahili [17:45:45] <Emufarmers> AryehGregor: yeah, you're right [17:46:02] <AryehGregor> alexz, so if you save a page that just has those two lines, and you try editing it again, the newline will have disappeared? [17:46:20] <AryehGregor> alexz, what version of MediaWiki are you using? Are you using any extensions? Have you modified the code at all? [17:46:54] <AryehGregor> Splarka, I've found that conjugations aren't so hard in practice. You remember them through usage. It's only irregular verbs that are the real headache. [17:47:09] <AryehGregor> You just have to use the language enough that you can immediately think of a case where that word or a similar one was used. [17:47:43] <AryehGregor> Hebrew has lots of conjugations for verbs, but basically nothing for nouns/adjectives (just gender+number), and no inflection at all for anything else. [17:48:03] <AryehGregor> I was reading a book on the grammar of Biblical Hebrew, and discovered that about half the books were on various types of irregular verbs. :/ [17:48:34] <Splarka> well, that's the problem, I took 4 years of spanish but I can only speak in the present tense, since I didn't apply it to anything [17:48:47] <Splarka> but I sometimes find myself speaking in spanish in my head, oddly [17:48:59] <alexz> AryehGregor: It's the newest version of MediaWiki, 1.15.1. And it happens with, not just headers, but templates too. {{template}}, newline, ==Header 1== becomes {{template}}==Header 1== after you save it. It doesn't matter what's on the page, it could be just those lines or something else. [17:49:00] <BryanTM> hehe [17:49:06] <BryanTM> I have the same thing with French [17:49:17] <AryehGregor> alexz, any extensions or modifications? [17:49:43] <alexz> AryehGregor: As far as I am aware we have not edited the code and we do have some extensions installed. [17:50:10] <alexz> AryehGregor: We have Contribution Scores, Contributors, ParserFunctions, TreeAndMenu, Widgets, AutomaticREMOTE USER, and FCKeditor. [17:50:35] <brion> http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55459#c3973 message needs back-compat fixin if it hasn't already been done [17:50:46] <AryehGregor> alexz, I don't recognize all of those. It's possible some might be buggy. Could you pastebin a copy of your LocalSettings.php, with all sensitive info (e.g. passwords) blanked out? [17:50:48] <Emufarmers> Splarka speaking Spanish: "Como se lama, ma'm? You're looking very bonita today. Can you direct me to the nearest ba�o?" [17:51:22] <Platonides> O_O [17:51:39] <Emufarmers> FCKeditor sounds like the culprit, offhand [17:51:44] <Splarka> ar,er,ir, 6 subject classes, and of course, infinitive, present participle, past participle, indicative (simple, perfect, continuous), subjunctive (simple, perfect), and imperitive [17:51:52] <Emufarmers> it's been known to do funky things to wikitext. Does this happen even if you use the normal editor? [17:51:55] <kevindanko> ergh [17:51:58] <kevindanko> still cant figure it out [17:52:00] <kevindanko> this sucks. [17:52:20] <Emufarmers> Splarka: wait, that's all? Indicative and subjunctive aren't separate tenses; they're moods. [17:52:23] <alexz> AryehGregor: What's the location of it? Let me see if I can view it... I'm not the manager of the wiki, only one of the people responsible for editing it. [17:52:28] <Platonides> Splarka, you hardly need subjunctive [17:52:37] <alexz> AryehGregor: But I might have permission to view the file, I don't know where it is though. [17:52:45] <AryehGregor> alexz, it's in the same directory where your wiki files are installed, typically. [17:52:58] <Splarka> Emufarmers: but they affect how the goddamned verb is spelled, since you mash in the subject and mood/tense/aspect into one word [17:53:01] <AryehGregor> Hmm, does this bug only happen when you use FCKeditor? [17:53:03] *Splarka hates spanish [17:53:07] <wikibugs> 03(NEW) Search & Replace : User is not acknoledged when text is replaced - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20581 trivial; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [17:53:14] <Splarka> (almost as much as English) [17:53:29] *Platonides takes offense [17:53:31] <Emufarmers> Splarka: right. But the subjunctive is pretty much deprecated in most modern languages, isn't it? [17:53:35] <Nikerabbit> AryehGregor: can you hebrew? :o [17:53:37] <AryehGregor> alexz, better to see if it happens with the regular editor (not FCKeditor) before bothering with LocalSettings.php. [17:53:40] <AryehGregor> Nikerabbit, more or less. [17:53:56] <Splarka> Emufarmers: IIRC it is big in Spain, but it has been many years since I cared [17:54:02] <alexz> AryehGregor: FCKeditor is installed but I am not using it and it is not set as the default editor. [17:54:10] <Nikerabbit> :o [17:54:19] *Nikerabbit is rehearsing russian vocabulary :o [17:54:31] <AryehGregor> Splarka, Hebrew has (perfect, imperfect, participle, imperative, infinitive)*(masculine, feminine)*(1st, 2nd, 3rd person)*(regular, passive, intensive, passive intensive, causative, passive causative, reflexive). [17:54:35] <AaronSchulz> hrm, F*CKeditor [17:54:50] <AryehGregor> Except of course most of the combinations are actually the same, to be fair. [17:55:17] <Platonides> hehehe [17:55:18] <Splarka> AryehGregor: I just hope with all the new tenses that time travel will create, that the only time travellers will use their power to create a one-world language retroactively [17:55:20] <AryehGregor> Like you have one infinitive for each of regular/passive/.../reflexive, that's it. And person is irrelevant to imperative and participle, and so on. [17:55:32] <AryehGregor> Splarka, nah, we should just drop tenses altogether, like Chinese. [17:55:45] <Platonides> Splarka, you're lazy because English is a lazy language regarding verb tenses [17:56:10] <Splarka> Platonides: that is why most first-languge english speakers don't end up learning other languages [17:56:21] <Emufarmers> Splarka: for comparison, Latin has 4 conjugations, infinitives, present, future, and perfect participles, indicative (present, imperfect, future, perfect, future perfect, plouperfect), subjunctive (present, imperfect, perfect, and plouperfect), and imperative (which technically has a future form, though it doesn't matter). [17:56:30] <Splarka> and that is the cause of English being the international language, not an effect [17:56:43] <Splarka> all the free time the British had not learning other languages let them take over half the world [17:56:51] <Nikerabbit> bah [17:56:57] <Emufarmers> Oh, and three tenses of infinitives [17:57:02] <Nikerabbit> diversity widens [17:57:09] <BryanTM> Dutch also has limited [17:57:09] <alexz> AryehGregor: Is it in the /includes folder? [17:57:17] <Nikerabbit> what are we talking about? [17:57:24] <Splarka> Emufarmers: they didn't care about the future? heh [17:57:24] <AryehGregor> alexz, no. One directory up. [17:57:46] <Emufarmers> Oh, right, and active and passive forms of the finite conjugations [17:57:56] <AryehGregor> This is going to be extremely handy: http://git.kernel.org/?p=linux/kernel/git/jlbec/ocfs2.git;a=blob;f=Documentation/filesystems/reflink.txt;h=7effe33302cfa0cda311d5e0c8e53de43515198f;hb=25767b48501de19421ae86c406b2dd42df37baf3 [17:58:11] <AryehGregor> flyingparchment, does Solaris have anything like that? [17:58:21] <AryehGregor> (it would probably be easy to implement in ZFS . . .) [17:58:24] <flyingparchment> that link is annoying [17:58:26] <Emufarmers> Splarka: there's a future infinitive, though it's not used very often. No future subjunctive, though [17:58:29] <AryehGregor> Yes, yes it is. [17:58:48] <Emufarmers> AryehGregor: would our URLs look like that if we switched to git? [17:58:51] <Platonides> AryehGregor, I agree it is [17:59:05] <Platonides> IMHO copy on write is more important than hardlinks [17:59:10] <wikibugs> 03(NEW) Search & Replace : Cursor shall be moved to replaced text position - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20582 minor; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [17:59:11] <AryehGregor> Emufarmers, which URLs? [17:59:19] <Duxa> Hello everyone... so i have a huge problem. My box that is running mediawiki is dying. I need to move it over to the new box. I figured that while i move it might as well update Apache/MySql (i use Xampplite), and upgrade Mediawiki version too... but i cant seem to figure how to move it. The apache/mysql starts no problem and i can install a fresh install of mediawiki no problem on the new box. However i cant seem to move over the content.. it doesn [17:59:28] <AryehGregor> Emufarmers, that's just gitweb, the standard web view for git. Kind of like ViewVC. [17:59:33] <flyingparchment> AryehGregor: so it's just a copy-on-write cp? [17:59:40] <AryehGregor> flyingparchment, yes. [17:59:42] <Nikerabbit> Duxa: try shorter lines [17:59:48] <flyingparchment> AryehGregor: such a feature is planned for zfs but not implemented yet [17:59:52] <Platonides> !backup | Duxa [17:59:52] --mwbot-- Duxa: http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [17:59:56] <AryehGregor> Duxa, your line got cut off at "However i cant seem to move over the content.. it does" [18:00:04] <Emufarmers> Well, I hope there's a pretty URL scheme for gitweb ^__^ [18:00:09] <Platonides> the pity is that there's no copy() system call [18:00:20] <AryehGregor> flyingparchment, apparently it looks like it will be in Linux 2.6.32, but possibly only for ocfs2, whatever that is. [18:00:22] <Duxa> However i cant seem to move over the content.. it doesnt work after moving it over. And if I just move over (drag and drop) the whole xampp lite directory from the old box to the new box (keeping everything the same).. then apache crashes on startup.. anyone can help me with this? maybe a link to a tutorial or explain what im doing wrong in here? [18:00:27] <resno> is there any way to remove users from the wiki? [18:00:29] <AryehGregor> Platonides, sendfile()? splice() (in Linux)? [18:00:34] <flyingparchment> http://oss.oracle.com/projects/ocfs/ ? [18:00:38] <AryehGregor> resno, no recommended way, no. [18:00:52] <AryehGregor> flyingparchment, probably. [18:00:54] <resno> AryehGregor: is there a way to remove them the listing of users? [18:01:02] <Platonides> AryehGregor, a call that goes to the filesystem driver [18:01:02] <Splarka> !deleteuser [18:01:02] --mwbot-- Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with <http://www.mediawiki.org/wiki/Extension:Renameuser>. You can also try <http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete> [18:01:07] <AryehGregor> Duxa, you need to copy the database. It's not stored in the filesystem in any simple fashion. [18:01:19] <AryehGregor> resno, I think there's some "hide user" functionality recently, but I don't remember how it works. [18:01:21] <Platonides> sendfile won't work on file targets for newer kernels, btw [18:01:32] <Duxa> i do that via mysql right? (export/import) function? [18:01:34] <resno> AryehGregor: Splarka thanks! [18:01:42] *AryehGregor reads man sendfile [18:01:44] <AryehGregor> Duxa, yes. [18:02:25] <Happy-melon> ye gods [18:02:28] <Happy-melon> I go away for half an hour [18:02:33] <Happy-melon> and you all start talking linguistics... [18:02:35] <Happy-melon> :D [18:02:36] <Duxa> does each wiki have only one database? say if my wiki named "WIKI" do I just need to move over (export/import) that database? or do I need to do the other ones too ( mysql, phpmyadmin etc) [18:02:45] <alexz> AryehGregor: I don't have access to LocalSettings.php and the person who manages the wiki is not currently available to give me access. Do you have any suggestions that don't involve that file (or other ones that require similar permissions), or are we more or less at a dead end without that? [18:02:59] <Platonides> Duxa, only the db used by your wiki [18:03:03] <wikibugs> 03(NEW) Search & Replace : Icon's tool tip shall be changed as 'Search and replace' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20583 minor; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [18:03:21] <AryehGregor> alexz, I really don't know what could be wrong. My suggestion at this point would be to do things like disable all extensions, which you need LocalSettings.php access for. [18:03:27] <AryehGregor> alexz, I've never seen anything like this. [18:03:33] <Splarka> alexz: does it happen with javascript disabled? [18:03:41] <Duxa> ok thanks, ill give that a try and read that link Platonides posted... be back in a bit [18:04:10] <AryehGregor> Platonides, splice() works, though, right? The man page says one has to be a pipe . . . [18:04:15] <alexz> Splarka: JavaScript disabled in my browser? [18:04:23] <Splarka> yes, in your browser [18:04:31] <AryehGregor> Anyway, I have no idea why nobody has done copy-on-write cp before. [18:04:36] <alexz> AryehGregor: Is there a specific part of the LocalSettings.php file or the whole thing? [18:04:37] <AryehGregor> It's such an insanely obvious and useful feature. [18:04:42] <AryehGregor> cp should be copy-on-write by default. [18:05:04] <AryehGregor> alexz, it contains all your configuration. If I could see it, I'd check for weird-looking configuration settings of all kinds. [18:05:53] <alexz> Splarka: Yes, it happens with JavaScript disabled in my browser. [18:05:54] *MaxSem suggests to try without JS first [18:06:01] <MaxSem> mehhhhhh [18:06:01] <Platonides> if there were a copy() call some filesystems would have been doing CoW for ages [18:06:33] <AryehGregor> Well, reflink() is basically copy(). [18:06:42] <AryehGregor> I don't know why there wasn't a copy() call to begin with . . . [18:07:15] <Splarka> alexz: is $wgEnableWriteAPI true? you might try an action=edit via api [18:08:04] <flyingparchment> AryehGregor: there was no need for one [18:08:10] <AryehGregor> How not? [18:08:18] <flyingparchment> what would it be needed for? [18:08:24] <flyingparchment> it's trivial to implement in username [18:08:28] <flyingparchment> userland [18:08:42] <AryehGregor> Efficiency. [18:08:53] <AryehGregor> It would be extremely useful for backups, for instance. [18:08:59] <flyingparchment> how so? [18:09:00] <AryehGregor> You could store the backups incrementally on the filesystem level. [18:09:03] <Platonides> and transparent copy on write from the filesystem :) [18:09:13] <AryehGregor> rsnapshot currently does a hard link-based copy and then rsync. [18:09:29] <flyingparchment> are you talking about copy-on-write copy? this in the 1970's... we couldn't even have filenames longer than 14 characters [18:09:33] <AryehGregor> That requires rewriting each changed file in full if even a single byte changed. [18:09:45] <AryehGregor> Someone could have introduced it at any point since then, though. [18:09:53] <AryehGregor> Nobody seems to have done so. [18:10:00] <Surgo> Is there any way to put something in a template foo that, when the template is included on page bar, said 'something' gets included but, when bar gets transcluded onto page foobar, the 'something' does not show up? [18:10:15] <flyingparchment> well, you asked why there wasn't one to begin with [18:11:04] <Splarka> Surgo: wrap the template call on 'bar' in <noinclude> [18:11:07] <AryehGregor> Okay, fair point. [18:11:58] <alexz> AryehGregor: http://pastebin.com/m2c1cca37 [18:11:58] <Nikerabbit> :< [18:11:58] <Surgo> What if it's only a small part of the template that shouldn't get transcluded onto foobar, though, instead of the entire thing? [18:12:09] <Splarka> [[Template:Foo]] contains "stuff", [[Bar]] contains "otherstuff<noinclude>{{Foo}}</noinclude>", [[Foobar]] contains "{{:bar}}" [18:12:33] <Splarka> yknow, this feature gets asked for about once a month, I wonder why no one has done it [18:12:45] <Splarka> <includeonly limit="1"> or something, heh [18:12:57] <Splarka> (that doesn't work, just a pipe dream) [18:13:01] <wikibugs> 03(mod) Links : Cursor moves out of Dialog when tab is clicked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20567 (10wikibugs) [18:13:17] <Surgo> I'd really like to avoid doing this at all, but the problem is we have templates that control display of information onto a page and now we've added semantic properties to the mix (set by the templates) that we don't want showing up onto other pages if the page gets transclude [18:13:56] <Splarka> Surgo: some people have had luck manipulating the tags like...<includeonly><noinc</includeonly><includeonly>lude></includeonly>"stuff"<includeonly></noin</includeonly><includeonly>clude><includeonly> [18:14:32] <Surgo> now that's quite a mess if it works -- time to try it! [18:14:42] <Splarka> alternately you can suppress content based on {{PAGENAME}} or {{NAMESPACE}} using ParserFunctions [18:14:45] <AryehGregor> alexz, you might want to try briefly commenting out some or all of the extension lines to see if the problem goes away. I'd start with FCKeditor. If that doesn't help, comment out all extensions (if possible) and see if the problem persists. If that fixes it, then start uncommenting until you figure out which one causes it. [18:14:53] <AryehGregor> If it's not extensions, I have no idea. Try a fresh install of MW. [18:15:00] <Splarka> {{#ifeq:{{PAGENAME}}|bar|show|suppress}} [18:15:34] <alexz> AryehGregor: Okay, thanks. We have three different wikis and the problem is on all of them, all with the same extensions, so maybe it's related to those... [18:15:50] <Surgo> I did try that, actually [18:16:09] <Surgo> the problem was that {{#set:}} didn't play nice with {{#ifeq}} [18:16:23] <Surgo> I wish Semantic MediaWiki did something to fix this problem..."no transclude properties" or something [18:16:28] <Splarka> !hesaidsemantic [18:16:28] --mwbot-- http://img393.imageshack.us/img393/576/hesaidsemanticga2.jpg [18:20:31] <^demon> brion: feel free to revert r55459 (enotif fixes) for now. I don't really have time to fix it yet and the whole thing is a gigantic mess. [18:22:47] <brion> another fixme on http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55517 -- reuse of passwordtooshort message in wrong format? [18:25:37] <AryehGregor> brion, looking. [18:26:07] <brion> whee [18:26:38] <AryehGregor> brion, passwordtooshort seems to only ever be used with parsemag, never parse. [18:26:45] <AryehGregor> So it should be fine AFAICT. [18:26:56] <Reedy> !exporthelp [18:26:56] --mwbot-- I don't know anything about "exporthelp". [18:27:00] *Reedy slaps mwbot [18:27:16] <wikibugs> 03(ASSIGNED) process_bug.cgi hides "bugs" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13134 +comment (10fvassard) [18:27:27] <Nikerabbit> semantic Splarka [18:27:30] <brion> AryehGregor: then it gets output as wikitext :) [18:27:37] <AryehGregor> brion, what do you mean? [18:27:38] <brion> try editing it, then trigger the error on the form [18:28:04] <brion> hmmm [18:28:04] <brion> actually it's HTML not wikitext [18:28:19] <brion> either way, i'm assuming you want plaintext for that popup message [18:28:39] <AryehGregor> Yes. The message should probably be fine as plaintext . . . [18:30:15] <AryehGregor> brion, looks like it's getting HTML-escaped to me. [18:30:22] <brion> not to me [18:30:31] <brion> i put <i>...</i> in there and i get italics back [18:30:32] <AryehGregor> Maybe it's being HTML-escaped some places but not others? [18:30:43] <AryehGregor> I put <strong style="color:red"> in and got it back HTML-escaped. [18:30:47] <AryehGregor> Hmm, wait. [18:30:53] <AryehGregor> Okay, where did you test? [18:30:58] <brion> http://nimbus.local/trunk/index.php?title=Special:UserLogin&action=submitlogin&type=signup [18:31:05] <brion> obviously the .local won't work for you ;) [18:31:09] <wikibugs> 03(NEW) Search & Replace : Navigable table of content is not changed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20584 minor; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [18:31:15] <AryehGregor> I tested on Special:ResetPass. [18:31:26] <brion> ah even better, existing inconsistencies :D [18:31:33] *brion stabs mediawiki with a spork [18:31:57] <AryehGregor> The abstraction here is a PITA. [18:32:10] <Nikerabbit> ugga? [18:32:13] <AryehGregor> It's hard to tell what's using the output of isValidPassword(). [18:32:48] <brion> wasn't someone in the middle of changing that to not return the strings directly as well? [18:33:28] <AryehGregor> There was a user login rewrite that you reverted . . . maybe that fixed it. :) [18:33:37] <brion> hehe [18:33:55] <Splarka> poor Happy-melon [18:34:02] <AryehGregor> Anyway, my usage agrees with at least one other usage, so I'm not making anything *less* consistent. [18:34:17] <AryehGregor> Plus, escaping is probably better than allowing raw HTML or whatever here. [18:34:31] <AryehGregor> You could make a case for wikitext, if that's added then the message can be split. [18:35:24] <wikibugs> 03(FIXED) process_bug.cgi hides "bugs" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13134 +comment (10fvassard) [18:37:04] <brion> AryehGregor: yeah we'llleave it for now, needs fixup later :D [18:40:01] <Duxa> Question about importing mysql database... do i create the database on the new server first (and empty one), and then import the .sql file? [18:40:40] <Alphos> that's the way it usually works, Duxa [18:40:47] <Duxa> k [18:41:37] <Duxa> Whats the best setting for Mediawiki from the dropdown where it says "Collation" ? [18:41:46] <^demon> brion: I was trying to fix isValidPassword but my patch applied post-login-rewrite and not before. [18:42:06] <^demon> it throws an exception if I try to make a similar change pre-rewrite :p [18:44:01] <Splarka> ^demon: did you see the branch? [18:44:12] <^demon> yes I saw. [18:44:57] <wikibugs> 03(mod) In eo.wiki doesn't move pages with c/g/h/j/s/u + x - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20365 (10brion) [18:46:12] <brion> ^demon: another quickie fixme for you: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55459 [18:46:19] <Nikerabbit> ^demon: pong [18:46:32] <brion> should be fixable by just re-adding the PAGETITLEURL param so old localizations can use it [18:47:14] <^demon> Nikerabbit: Not an issue anymore :p [18:47:22] <Duxa> ok so, when i move over the physical files and export/import the db i get the following error "Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\xampplite\htdocs\WIKINAME\includes\Namespace.php on line 44" what does that mean? [18:47:30] <Nikerabbit> ^demon: you go and go so fast [18:47:39] <^demon> brion: I'll poke them when I get off work & can commit :p [18:47:57] <brion> tx [18:48:17] <brion> Duxa: php 5.3.0 with an old mediawiki. upgrade to mediawiki 1.15.1 release [18:48:19] <CIA-12> 03happy-melon * r56145 10/branches/happy-melon/phase3/: Actually, I want my branch over there :D [18:48:23] <^demon> Nikerabbit: I'm always running around, new semester @ school, job, etc. [18:49:49] <qubodup> would it be possible for someone to tell me how to inject a piece of text in the content area, directly after the editable description of every "Image:" namespace page? [18:49:59] <qubodup> I already have if ( $wgTitle->getNamespace() == NS_IMAGE ) { [18:50:03] <Nikerabbit> ^demon: me too, get a shell :o [18:50:16] <qubodup> and I know there's $content_actions[$action] = array( [18:50:19] <^demon> Nikerabbit: mehhhh [18:50:24] <qubodup> so I need the equivalent for the content? [18:50:30] <wikibugs> 03(FIXED) Open Bugzilla to search spiders - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13881 +comment (10fvassard) [18:52:36] <Splarka> qubodup: if you want it in the article text, you might just stick it in one of the page rendering hooks: http://www.mediawiki.org/wiki/Manual:Hooks#Page_Rendering [18:52:47] <Splarka> a simple append might work for ya [18:53:13] <Splarka> (it wouldn't appear in the edit box, but the parser would see it as if it did) [18:55:05] <AryehGregor> What kind of moron decided on the window titles for XChat anyway? [18:55:15] <AryehGregor> "XChat: AryehGregor @ FreeNode / #mediawiki". [18:55:23] <AryehGregor> That literally manages to get the correct order EXACTLY BACKWARDS. [18:55:41] <AryehGregor> Protip: most specific things in titles go *first*, so you can actually tell them apart when it's truncated . . . [18:56:26] *AryehGregor remembers to edit grub's configuration now so that he doesn't have to manually change root to a device that actually exists every time [18:56:30] <brion> patch it :) [18:56:47] *AryehGregor should have tried Alt-SysRq-K before REISUB so that he would keep his uptime. :( [18:57:33] <AryehGregor> Why isn't there an Alt-SysRq or something that says "Hey, kernel, my machine is really screwed up, so if you're still arrive, try automatically cleaning everything up and rebooting in as safe a way as possible"? [18:57:33] <Splarka> well you were in second place after petaflot in #mediawiki anyway [18:57:41] <AryehGregor> Splarka, for what? [18:57:46] <Splarka> uptime in #mediawiki [18:57:53] <qubodup> and how do I go about getting the thumbnail image url on a image page? [18:58:01] <AryehGregor> brion, XChat seems to be cathedral-style development. Not sure if I could get a patch accepted. [18:58:11] <brion> fork it :D [18:58:16] <AryehGregor> There's already a "GNOME XChat" thing I could try out. [18:58:18] <Happy-melon> how wierd... now I'm getting the cookie loop thing on my dev branch... [18:58:22] <AryehGregor> It might actually be saner in this regard. [18:58:22] <brion> heh [18:58:31] <brion> xchat-gnome kinda sucks too [18:58:39] <AryehGregor> XChat kind of sucks. [18:58:53] <AryehGregor> But I haven't found anything else yet that allows me to have six chat windows visible at once on a monitor. [18:59:04] <AryehGregor> Like tiled 3x2, I mean. [18:59:05] <Splarka> AryehGregor: /names gives names in join order, this is what I got when I connected: http://p.defau.lt/?wAXsXg1yNvDrhseMWBn5Xw [18:59:08] <AryehGregor> Not all stacked on top of one another. [18:59:19] <AryehGregor> mIRC did this perfectly. [18:59:29] *brion wonders if 64-bit firefox build would make it faster, or just more bloated in memory usage [18:59:33] <AryehGregor> It had window-y tabs, so it would even remember what position you had them in last time. [18:59:39] <Nikerabbit> :e [18:59:58] <Nikerabbit> what's wrong with you guys, one irc window is enough :o [19:01:07] <MrZ-man> KVirc can do tiled windows [19:02:32] <AryehGregor> I think I tried KVirc. I can't remember what I found wrong with it. [19:02:51] <MrZ-man> its scripting language kind of sucks [19:03:36] <MaxSem> d'oh, do you need to code even for your chat client? get a life! :P [19:03:43] <MrZ-man> and its default themse is a little ugly [19:03:45] <MrZ-man> *theme [19:03:54] <AryehGregor> I don't use scripts much in practice these days. [19:04:09] <rburhum> hi there, I want to run some analysis based on wikipedia articles that are geotagged. I need to extract the geographic information of every article along with some id that I can use o link back to the full article online, so I figured I needed to get one of the dumps from http://download.wikimedia.org/backup-index.html I don't need the history. Is enwiki the right dump (at least for english)? How big (in GB or MB) is it? [19:04:18] *MaxSem admits of writing a couple scripst for KVirc [19:04:27] <Splarka> qubodup: $file->transform() or something? [19:05:05] <ialex> brion: re bug 20365: using getText() for the new title is ok? [19:05:10] *AryehGregor had over a month of uptime, dangit. [19:05:15] <BryanTM> thumbnail rendering and related stuff is really really needing docs [19:05:36] <Splarka> http://google.com/codesearch?num=100&q=package:svn.wikimedia.org/svnroot/mediawiki/trunk+file+transform [19:05:46] <brion> ialex: yes, as long as when we pre-fill it we encode for editing [19:06:12] *Splarka pokles MrZ-man towards rburhum [19:07:03] <Splarka> btw rburhum: you can refer to articles with the internal page id, and link to them via curid parameter: http://en.wikipedia.org/w/index.php?curid=1234567 [19:07:58] *AryehGregor $ find .mozilla -iname '*.sqlite' -exec sqlite3 {} VACUUM \; [19:07:59] <MrZ-man> use the external links dump and search for the http://stable.toolserver.org/geohack/geohack.php URLs, its a lot less work than trying to parse the wikitext [19:08:15] <MrZ-man> but there's no /really/ easy way to do it [19:08:29] <MrZ-man> Wiki external URL link records. [19:08:29] <MrZ-man> * externallinks.sql.gz 583.9 MB [19:08:33] *AryehGregor hopes now Firefox won't always pop up the "Firefox is not responding, do you want to kill?" thing when he shuts it down [19:08:48] *ialex will fix that when he'll be able to fix his apache + php installation [19:08:56] *ialex stabs Snow Leopard :P [19:09:04] <MrZ-man> hm, you'll also need the page table to get the title of the article [19:09:22] <MrZ-man> Base per-page data (id, title, old restrictions, etc). [19:09:22] <MrZ-man> * page.sql.gz 561.0 MB [19:09:34] <rburhum> hm.. let me take a look at that geohack table [19:09:43] <rburhum> I mean URL [19:10:26] <ghost974> hi all [19:10:31] <MrZ-man> http://stable.toolserver.org/geohack/geohack.php?pagename=Torugart_Pass¶ms=40_35_N_75_25_E_type:pass [19:10:51] <MrZ-man> is what the URLs sort-of look like, there can be variations [19:11:43] <ghost974> i have a question for U guys, i have my wiki at the URL http://wiki.mycompany.ca, i'd like to add a second wiki like http://wiki.mysecondcompany.ca [19:11:48] <ghost974> how do i procede ? [19:12:06] <MrZ-man> http://code.google.com/p/python-wikitools/source/browse/trunk/scripts/photolocate.py has the regexes I use [19:12:44] <rburhum> well, I want to go the other way... I have the location and I want to find the articles around that location... this geohack.php seems to want the name of the article instead [19:13:31] <Splarka> sounds like you'll have to parse and graph all the links first, heh, ouch [19:15:33] <rburhum> Google Maps has an option to show all the wikipedia articles... is that how they do it? [19:16:36] <qubodup> Again the "Error creating thumbnail: /usr/bin/convert: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory" [19:16:48] <qubodup> It appears that /lib/libc.so.6: symbolic link to `libc-2.10.1.so' [19:17:28] <BryanTM> out of mem? [19:17:58] <qubodup> what could be out of mem? [19:18:13] <qubodup> I'm confused 'out of mem' makes only sense for java [19:18:34] <qubodup> according to my limited knowledge of php, c apps and ram [19:19:14] <BryanTM> it makes sense for any machine with a finite amount of memory [19:19:24] <qubodup> not with a small image [19:19:44] *qubodup stares at a wall [19:19:47] <BryanTM> hmm [19:19:57] <qubodup> the wall, it is empty. like my head [19:20:10] <BryanTM> I didn't see the first part of the error message... [19:20:25] <wikibugs> 03(NEW) Navigable TOC : Section is higlighted when cursor is moved out too - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20585 minor; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [19:20:30] <BryanTM> does /usr/bin/convert work in shell? [19:20:31] <qubodup> this is all there is to it: Error creating thumbnail: /usr/bin/convert: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory [19:21:03] <qubodup> this is what I see on any image that is supposed to show an image in a non-original size [19:21:27] <qubodup> BryanTM: it does [19:22:44] <brion> mdale: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56116#c3983 showstopper bug in the compat implementation for JSON decoding [19:23:15] <rburhum> those regular expressions will help thanks MrZ-man [19:23:36] <mdale> lets try the object2array [19:24:02] <brion> \o/ [19:25:10] <CIA-12> 03dale * r56146 10/trunk/phase3/includes/json/FormatJson.php: * 3983#c3983 array casting does not work so well on json_decode arrays... object2array should work [19:25:21] <mdale> how about now? [19:25:53] <qubodup> lol [19:26:03] <qubodup> I had to add $wgMaxShellMemory = 512000; to localsettings [19:26:12] *werdna wonders if future teleportation devices will use XML, YAML or JSON to serialise people. [19:26:38] <qubodup> werdna: it will use XML, but developers will use one of the other two [19:26:40] <Nikerabbit> I'd bet XML [19:26:46] <qubodup> internally [19:26:59] <Nikerabbit> or php arrays [19:27:03] <qubodup> just like the official repo will bi git, but the internal one will be 'fag' [19:30:18] <brion> RoanKattouw_away: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56133#c3986 confuses me [19:30:49] <brion> http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56132#c3985 <- and this should really not be checking if mwsearch front-end is enabled to control opensearch suggest return values [19:31:36] <Splarka> brion: <Pathoschild> I can't seem to get a token for interwiki targets: http://meta.wikimedia.org/w/api.php?action=query&ustoken=userrights&ususers=SoxBot@afwiki&list=users&format=xmlfm [19:31:37] <Splarka> <RoanKattouw> Ah, that's a bug [19:32:55] <brion> mdale: looks good thanks :D [19:33:25] <Splarka> userrights tokens are salted with the target username, like rollback eh? [19:34:12] <brion> how many damn tokens do i need? i just need one to authenticate my session, surely [19:34:25] <brion> this seems to be building a giant mapping of tokens for some reason [19:37:35] <wikibugs> 03(NEW) Search & Replace : Close shall be change as Cancel - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20586 trivial; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [19:38:57] <guillom> mdale, do you have some screenshots of your add_media_wizard somewhere please? or is there a wiki where it actually works? [19:39:41] <CIA-12> 03happy-melon * r56147 10/branches/happy-melon/ (45 files in 16 dirs): Clean up [19:45:52] <jdpond> I'm in no real hurry, so this isn't a poke. However, how will I know when it's polite to commit again (post code review)? [19:47:28] <jdpond> I'm guessing when I see "It's (still) code review day!" disappears from #MediaWiki status line. [19:57:41] <zackg> I read an article about Wikipedia restricting who can edit pages about living people. [19:57:57] <zackg> If this technology is available, I'd like to set it up on my own installations of Mediawiki. [19:58:02] <zackg> Can anyone point me in the right direction? [19:58:22] <MaxSem> http://www.mediawiki.org/wiki/Extension:FlaggedRevs [19:59:00] <zackg> thanks MaxSem [20:00:38] <wikibugs> 03(NEW) Links : Suggestion box does not appear properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20587 major; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [20:04:16] <Hoosie> TimStarling> you around? [20:05:18] <CIA-12> 03happy-melon * r56148 10/branches/happy-melon/phase3/ (9 files in 4 dirs): Reimplement new login stuff (I see the cookie loop now, not sure why I didn't before...) [20:09:50] <CIA-12> 03happy-melon * r56149 10/branches/happy-melon/phase3/languages/messages/MessagesEn.php: Screwed up the message file... [20:15:10] *Splarka wonders how long until abusefilter and flaggedrevs, preventing BPL editing, causes murders to allow vandalism of said articles [20:16:22] <werdna> BPL? [20:16:25] <Splarka> "Damn, I wanna vandalize [[Michael Jackson]]... hmmm... I have these pain killers..." [20:16:26] <werdna> what? [20:16:39] <Splarka> er BLP [20:16:39] <wikibugs> 03(mod) Document LanguageConverter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19044 +comment (10nospam) [20:17:01] <Splarka> http://en.wikipedia.org/wiki/WP:BLP [20:17:13] <wikibugs> 03(mod) MediaZilla Email Address Privacy Concerns - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=148 (106e6f4hs02) [20:17:41] <wikibugs> 03(NEW) Navigable TOC : Table is not refreshed when sections added using external editor - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20588 minor; Normal; MediaWiki extensions: UsabilityInitiative; (wikibugs) [20:21:47] <CIA-12> 03brion * r56150 10/branches/wmf-deployment-work/: Temporary work copy of wmf-deployment branch while I merge trunk stuff into it. :D [20:23:55] <wikibugs> 03(mod) Install RandomRootPage on Wikibooks and Wikisources - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16655 (10heldergeovane) [20:25:22] <AryehGregor> New branches are *murderous* on git-svn. [20:25:31] <AryehGregor> Maybe I'm doing something wrong . . . [20:26:02] <brion> take that, branchie [20:26:26] <brion> git's making me fall in love with branches all over again ;) [20:26:35] <brion> but i'm not using git-svn for anything, just git itself on other projects [20:26:54] <AryehGregor> git branches are great, SVN branches in git-svn seem to make it check out the whole history of the repo half the time when the branch is created. [20:26:55] <haytham-med> hi all, how can i translate this page: http://www.mediawiki.org/wiki/Help:Tables ? [20:27:02] <haytham-med> into arabic [20:27:17] <AryehGregor> haytham-med, make a new page called Help:Tables/ar with a translation? [20:27:42] *AryehGregor goes to take a nap [20:28:01] <haytham-med> ok [20:34:33] <qubodup> Currently I'm trying to find out how to access the 1. thumbnail image url of the current Image: and the url of the full-size image. [20:34:42] <qubodup> $file does nothing it seems [20:42:20] <brion> qubodup: access how? in PHP code in mediawiki, or from some client using the web API, or something else? [20:42:30] <qubodup> another matter: I found a hook at which I want to insert a string into the page. How do I do that? [20:42:44] <qubodup> brion: php code in mediawiki, for writing an extension [20:47:00] <brion> qubodup: did you start by looking at the File class definitions and seeing what methods are available? [20:47:42] <qubodup> brion: no, where do I look for that? [20:48:36] <brion> in the file, or in the online documentation generated from the code :) [20:48:54] <qubodup> you mean the $wgStuff variables in the html file? [20:48:58] <brion> http://www.mediawiki.org/wiki/MediaWiki <- in the sidebar is a link to code docs: http://svn.wikimedia.org/doc/ [20:49:39] <qubodup> wow, loading this doxygen page sure takes long [20:50:07] <brion> there's a lot of code :) [20:50:43] <qubodup> brion: so when I'm looking for Image:-namespace specific stuff, should I look at includes/ImagePage.php? [20:51:15] <brion> that might be relevant yes [20:51:22] <qubodup> brion: wonderfu, thanks! [20:51:31] <jdpond> Brion, I'm assuming you'll change the status on this channel when it's once again ok to commit ("It's (still) code review day! Please hold off on non-essential trunk commits until tomorrow"). In no hurry and don't want to nag, but also don't want to drop ball again. [20:51:34] <brion> check for wfRunHooks() calls in there for hook points you can extend easily [20:51:44] <brion> jdpond: yes :) [20:51:51] <brion> i'm doing my trunk->wmf-deployment-work merge right now [20:52:58] <jdpond> Cool - I'll just keep checking. Thanks for the patience. Going to commit some new/changed extension stuff, but RoanKattouw said that won't bother you. [20:53:13] <jdpond> Nevermind. [20:53:22] <brion> :D [20:55:18] <mdale> guillom: yea you view the add-media-wizard on prototype: http://prototype.wikimedia.org/s/index.php?title=Main_Page&action=edit [20:55:57] <GerardM-> Brion, is the text that i intent to post on wikipedias ok ? [20:58:57] <brion> GerardM-: moment [20:59:12] <brion> GerardM-: i think we'll target daily update runs [21:00:02] <qubodup> So there is http://svn.wikimedia.org/doc/classImagePage.html and it states that "$img" is a public attribute. Can you tell me how to access it? (simply "$img" won't give me the url of the image but rather give me nothing) Or should I go to #php with such noobish questions? [21:00:27] <GerardM-> Really ... you run it for all projects at the same time .. so it is not that expensive [21:00:56] <GerardM-> at what time would that be ?? [21:06:24] <werdna> This is why I regularly reset my local scratch wiki http://tinypic.com/r/24gw3gp/3 [21:07:05] <CIA-12> 03dale * r56151 10/trunk/phase3/js2/mwEmbed/ (7 files in 5 dirs): [21:07:05] <CIA-12> * some style updates to add-media-wizard [21:07:05] <CIA-12> * minor js code style cleanup [21:13:15] <CIA-12> 03jdpond * r56152 10/trunk/phase3/ (48 files in 4 dirs): Cleaned up img_auth code and re-integrated core img-auth- messages. [21:13:31] <brion> svn is using 375mb of ram :P [21:13:39] *brion begins to hate branch merging in svn ;) [21:14:43] <Happy-melon> are we ever going to want to make an API version of Special:CreateUser?? [21:14:51] <jdpond> brion: why's that a problem? I've got 8GB on my laptop. [21:15:04] <domas> brion: by the way, I already am writing scripts for easy merges to wmf-* [21:15:17] <domas> brion: by the way, are you going to merge wmf-deployment specific changes to trunk?! :))) [21:15:21] *domas giggles [21:15:48] <brion> domas: where they don't suck :) but i'm not doing that specifically at the moment [21:17:18] <jdpond> brion: if you hate merging using SVN - you should try recovering merging using TortoisSVN - took me 4 hours to figure out how - bamboo under fingernails would have been pleasure in comparison. [21:18:29] <wikibugs> 03(FIXED) Localization of img_auth.php - with enhancements - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19646 (10jack.pond) [21:27:46] <tomas2> hey guys i was wondering is there an archiving thing for mediawiki [21:28:21] <RoanKattouw> qubodup: It means you can use $object->img to access it. But you should be looking at the File class and friends, not ImagePage. The latter is a UI class [21:28:31] <brion> tomas2: archiving in what way? [21:28:33] <RoanKattouw> !class File | qubodup [21:28:33] --mwbot-- qubodup: See http://svn.wikimedia.org/doc/classFile.html [21:29:09] <qubodup> RoanKattouw: thank you, I started reading the source to track how for example the "click here for bigger image" gets inserted. [21:29:10] <tomas2> i have created a news wiki (type thing) for my site now i want to see if there is a way to archive all the page [21:29:32] <RoanKattouw> qubodup: You just want the URL to the image file, right? [21:29:53] <RoanKattouw> qubodup: $file = wfFindFile('name of the file'); $url = $file->getURL(); // or getFullURL() [21:29:53] <Alphos> tomas2 you mean send the pages in the archives like you would for threads on an internet board ? [21:29:53] <qubodup> RoanKattouw: yes, and to the thumbnail used in the Image: page [21:30:37] <tomas2> yea so if users want to find an old artical they can go there and the title and date it was created would show [21:30:59] <qubodup> RoanKattouw: thanks, I assume $wgTitle will count as 'name of the file' [21:31:07] <Alphos> tomas2, i think you are mistaking on what a wiki actually is :/ [21:31:26] <tomas2> ok [21:31:45] <RoanKattouw> qubodup: $thumb = $file->getThumbnail(200); $thumbURL = $thumb->getURL(); [21:31:53] <RoanKattouw> (where 200 is the width of the thumbnail) [21:32:00] <Alphos> you can "lock" the pages, and the history will always be available right where it should be [21:32:26] <RoanKattouw> qubodup: Yes, wfFindFile($wgTitle); should work [21:32:33] <Alphos> you can also "move" the pages to a namespace (actually renaming them with a title in that namespace) [21:32:42] <Alphos> but wikis aren't boards [21:35:35] <qubodup> RoanKattouw: thanks, that helps a lot [21:35:49] <qubodup> RoanKattouw: strangely, I can't get the full URL of the thumb though [21:35:54] <RoanKattouw> brion: I gotta go again (will be back), but FYI: the diversity in salted tokens you complained about has been around for longer than I have [21:36:11] <wikibugs> 03(WONTFIX) Saving searches resulting in errors - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17514 +comment (10fvassard) [21:37:05] <RoanKattouw> qubodup: Hm. Prepending $wgServer might work: $url = $wgServer . $file->whatever(); [21:37:27] <brion> heh [21:37:34] <brion> RoanKattouw: no worries :D just something to look at some day [21:37:48] <RoanKattouw> ...which is not so much meant as a "don't look at me" but more of a "what the heck, I thought you knew that" [21:38:01] <werdna> brion: It's handy in some cases [21:38:18] <werdna> for example, people make pages full of rollback links which have rollback tokens in them [21:38:24] <RoanKattouw> I guess MediaWiki is so scary it has secrets for everyone, and brion is no exception :P [21:38:43] <qubodup> RoanKattouw: it did [21:39:22] <qubodup> Neat, now I'll just figure out, how to put it in the right spot :) [21:39:45] <wikibugs> 03(mod) Enable the AbuseFilter on the Bavarian Wikipedia [barwiki] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20515 (10Wiki.Melancholie) [21:41:24] <brion> the api is full of many surprises ;) [21:42:23] <Happy-melon> amen to that :D [21:42:46] <RoanKattouw_away> Same applies to the parser I guess :P [21:43:14] <Happy-melon> no, the parser is one giant surprise that has occasional expected behaviour hidden in it :P [21:45:10] <atglenn> :-D [21:45:35] <hoosie> Tim you around? [21:45:36] <CIA-12> 03werdna * r56153 10/trunk/extensions/LiquidThreads/pages/SpecialMergeThread.php: Fix fatal [21:46:50] <werdna> hoosie: probably not [21:47:30] <werdna> brion: if that branch merge is still running, maybe you could play with LQT :) [21:47:32] *werdna looks innocent [21:48:10] <brion> i'm already doing like two other things while that's running :) [21:48:19] <hoosie> brion: do you know anything about the issue with using mediawiki while on hughesnet/satellite internet? [21:48:35] <werdna> brion: ok :) [21:49:18] <brion> ah hughesnet [21:49:31] <brion> hoosie: either access the site through SSL or disable the satellite proxies [21:49:42] <brion> either way it'll be slower, but it'll stop destroying your login session cookies [21:49:54] <hoosie> is there no fix fo mediawiki .. no other site is cuasing the problem [21:50:19] <hoosie> no .. this is a Mediawiki problem .. it's not causing session problems on ANY other site [21:50:23] <wikibugs> 03(NEW) LiquidThreads thread splitting and merging should be drag n drop - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20589 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [21:51:11] <hoosie> and this didnt happened before mediawiki 1.14.. is there any plan to fix it [21:51:32] <CIA-12> 03werdna * r56154 10/trunk/extensions/LiquidThreads/pages/SpecialMergeThread.php: Fix notice [21:53:10] <brion> hoosie: call HughesNet, it's their proxies. Sorry. [21:53:23] <brion> problem's been known for years [21:53:34] <hoosie> o okay yeah that explains why it doesnt occur on wikipedia.org or mediawiki.org [21:53:35] <brion> and affects *lots* of sites [21:53:44] <brion> it does affect them [21:53:51] <hoosie> and explains why 1.14 broke it [21:54:06] <brion> if you're seeing something that affects only your site, then maybe it's just your site that's broken. :) [21:54:10] <hoosie> no it doesn't.. i can stay logged in just fine on those sites [21:54:40] <hoosie> no it doesnt work on any other mediawiki sites so obviously MWF sites have found a way to fix it [21:54:55] <Duxa> so, how do I increase the size of the database i can import? right now the limit is 16mb... my db size is 110mb [21:55:21] <hoosie> i'm not understanding why transparent proxies cause NO other software program problems except mediawiki .. my Invisionboard works perfectly fine [21:56:00] <brion> hoosie: given that you're *not* having problems with other sites known to be broken on Hughes satellite, it sounds like either Hughes fixed their proxies or you've already disabled them. [21:56:13] <brion> so you might want to confirm that your problem actually has something to do with your ISP before continuing [21:56:41] <hoosie> it has to .. my mediawiki keeps logging me out and it doesnt occur when i take my laptop and get on any other connection [21:57:34] <hoosie> i'm just shocked there is no interest in fixing the problem.. like i'm the only person using satellite internet [21:57:52] <wikibugs> 03(mod) User Will Not stayed logged in on HughesNet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17790 summary (10microchip08) [21:57:59] <hoosie> and the problem didnt exist before mediawiki 1.14 .. so who the hell broke it [21:58:08] <MC8> hoosie: We know. We cannot fix something that we cannot see. [21:58:27] <brion> hoosie: pull up a packet sniffer on each end and confirm your requests aren't being damaged [21:58:35] <brion> nothing we can do from here i'm afraid [21:59:32] <hoosie> it is modifying the requests.. but can someone just please explaint o me why no other software except mediawiki is having this problem staying logged in [22:01:18] <brion> hoosie: possibly HughesNet has tweaked their proxies to not mess up other sites, but it doesn't know your site. [22:01:33] <werdna> brion: thoughts on administration for removing threads? I'm thinking votes up and down, and below -X (or below a certain threshold up) causes a comment to be hidden or collapsed [22:01:39] <brion> if the proxy is modifying the requests and removing the session cookies, you'll need to contact Hughes to find out why and if there's anything you can do about it [22:01:49] <hoosie> or MAYBE mediawiki made a mistake in 1.14 and changed something they shouldnt have [22:01:58] <werdna> s/threads/posts/ [22:02:00] <brion> well lemme just say two things hoosie [22:02:07] <brion> first, 1.14 is an old version, it's not even the current release [22:02:17] <brion> second, you're the one experiencing the extremely rare problem [22:02:17] <hoosie> it's not removing the session cookies [22:02:22] <brion> you're also the only one in a position to test it [22:02:25] <brion> and the only one having the problem [22:02:34] <hoosie> NO i'm not [22:02:44] <hoosie> this problem is documentated on several discussion boards [22:02:52] <hoosie> a lot of people are having it [22:03:01] <brion> step 1) what's different between your old install and your current install [22:03:06] <brion> step 2) what's being modified by the proxies [22:03:18] <brion> step 3) DISABLE THE PROXIES AND SEE IF THERE'S A DIFFERENCE [22:03:42] <hoosie> if i'm the only person having the problem, then how come you had heard about it before I mentioned it and why does wikipedia have a whole section dedicated to the problem? [22:04:11] <hoosie> disabling the proxies slows down the connection [22:04:27] <brion> hoosie: obviously it's not the same problem, since you don't encounter it in the places where it's known. [22:04:45] <brion> Have you, or have you not, checked to see if disabling the proxies resolves your problem? [22:04:45] <brion> p [22:04:50] <jdpond> hoosie: Have you considered it might be something that hughsnet noticed and fixed on their side? After all, MW is known to have one or two users and this problem might have been reported. [22:04:51] <brion> please answer yes or no. [22:04:57] <hoosie> no .. that's not true.. mediawiki.org and wikipedia.org are using SQUID .. so there is a difference [22:05:12] <brion> alright, i give up [22:05:54] <RoanKattouw> hoosie: Have you also considered the possibility that hughesnet went like "Hey, people can't log into Wikipedia anymore, let's make an exception for *.wikipedia.org" and that that's why Wikipedia works fine? [22:06:08] <jdpond> RoanKattouw: My point exactly. [22:06:21] <brion> RoanKattouw: i already mentioned that possibility, however it was rejected by our friend [22:06:51] *werdna wonders if the problem is on Hughes-net or hoosie-net [22:06:54] *werdna ducks. [22:07:06] <werdna> punny! [22:07:21] <MC8> yay [22:07:23] <hoosie> i do intend on contaacting them..my question that went completely unanswered is why mediwiki's sessions are so different that problem isn't occuring on InvisionBoard or any other software ihave installed on my webserver that is using cookies [22:07:42] <RoanKattouw> We don't know [22:08:06] <hoosie> i realized that.. seems to be the problem.. the bug has gone ignored.. for quite some time from what i've read [22:08:09] <MC8> hoosie: Have you tried a non-WMF wiki that isn't yours? Does that work (if so, it would rule out the *.wiki?edia.org exemption) [22:08:30] <jdpond> Hoosie, would you like to try a couple of my sites and see if you have the same problem on other sites? [22:08:39] <hoosie> sure [22:08:55] <hoosie> but ive already switched webhosts trying to fix this problem [22:08:59] <hoosie> so i'm less than optimistic [22:09:03] <Duxa> can someone tell me how to increase the size of the database i can import? right now the limit is 16mb... my db size is 110mb [22:09:04] <jdpond> wiki.montcopa.org/MediaWiki - I'll approve you as soon as you've registered. [22:09:28] <jipipayo> Duxa , look at my,cnf [22:09:36] <Duxa> cnf? [22:09:37] <jipipayo> my.cnf file [22:09:46] <Duxa> ah [22:09:51] <Duxa> which dir is it in? [22:10:06] <hoosie> k ill try it [22:10:08] <jipipayo> i guess you are talking about mysql dump limit [22:10:18] <MC8> jdpond: Can I steal that skin? [22:10:24] <jipipayo> on centos and redhat /etc/my.cnf [22:10:40] <Duxa> im using xampp [22:10:40] <jipipayo> un ubuntu debian at /etc/mysql/my.cnf [22:10:47] <jipipayo> oh [22:10:53] <Duxa> on winxp [22:10:57] <jipipayo> no idea then [22:10:59] <jipipayo> sorry [22:11:07] <Duxa> crap =( [22:11:16] <jipipayo> search this file [22:11:19] <jipipayo> my.cnf [22:11:20] <Duxa> so its not a mysql setting? [22:11:24] <jipipayo> yep [22:11:28] <jdpond> mc8 sure - zip or tar [22:11:39] <jipipayo> this is the main conf mysql file [22:11:56] <jdpond> mc8 note, will need to be updated for 1.16 [22:12:07] <MC8> jdpond: either [22:12:32] <Duxa> k i think its my.ini in winxp [22:12:47] <jipipayo> oh [22:12:51] <Duxa> there is a setting called key_buffer = 16mb.. is that it? [22:12:56] <jipipayo> no! [22:13:50] <MC8> jdpond: oh, and [[Main Page#Help implement your's and other's suggestions]] shoudn't have apostrophes in the title :) [22:14:00] <jipipayo> open-files-limit=4096 [22:14:30] <Duxa> found it [mysqldump] max_allowed_packet = 16M [22:14:34] <Duxa> pretty sure thats it [22:14:39] <jipipayo> :D [22:15:09] <jdpond> hoosie your good to go. [22:15:16] <jdpond> *you're [22:15:42] <hoosie> see its not occuring on your mediawiki [22:15:51] <jdpond> MC8 You've mistaken me for someone who could pass high school english. [22:16:01] <jipipayo> Duxa remember to restart your mysql service [22:16:16] <MC8> meh [22:16:17] <hoosie> what version are you using [22:16:54] <MC8> hoosie: Type Special:Version into the searchbox to find out on any WMF wiki [22:16:56] <jdpond> Special:Version [22:16:57] <MC8> *mediawiki [22:17:34] <jipipayo> exit [22:17:51] <hoosie> that is no strange [22:17:57] <hoosie> wt is wrong with my mediawiki omg [22:18:30] <Duxa> hey jipipayo its weird i changed it to 160M (from 16M) restarted the service.. it went up to (Max: 65,536 KiB) ... weird =/ [22:19:31] <Duxa> and moving it any higher han 160 doesnt make a difference [22:19:36] <Duxa> is there some kind of hard limit on it? [22:20:15] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 (10microchip08) [22:20:34] <MC8> hoosie: what /is/ your MediaWiki, by the way? [22:21:04] <hoosie> http://www.umheadquarters.com [22:21:32] <hoosie> im starting to think there has to be something in Localsettings.php that is fixin this problem [22:22:55] <wikibugs> 03(FIXED) Consistency with "Priority" field - please remove completely or restore to "new bug" form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17895 +comment (10fvassard) [22:24:08] <jdpond> MC8: http://wiki.montcopa.org/PublicDownloads/MontCoPASkin.zip [22:24:30] <MC8> jdpond: thanks :) [22:26:08] <jdpond> If you like that one, here's the one I'm really proud of - most commonly used Web 2.0+ app in the County. https://bugzilla.montcopa.org/ [22:26:47] <jdpond> Well, actually, since we implemented SemanticWiki, I think that MW has surpassed - but it was king for a while. [22:28:37] <qubodup> wohoo! [22:29:10] <jdpond> MC8: This one's kind of cool too. https://svn.montcopa.org/publicviewvc [22:30:16] <jdpond> MC8: SVN's kind of slow - I run it on a 10 year old desktop. [22:30:42] <hoosie> MC8: any ideas? [22:31:05] <MC8> jdpond: meh, at least it's there :D [22:33:32] <Duxa> hmm so i tried zipping the DB to reduce it from 110mb to 10mb... when i import it i get this error.. anyone have any idea what it means and how to get rid of it? Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 115754210 bytes) in C:\xampplite\phpMyAdmin\libraries\zip_extension.lib.php on line 27 [22:34:15] <cirwin> it means it ran out of memory [22:34:28] <Duxa> how do i give it more memory? [22:34:34] <Duxa> cuz it looks like it only used 16mb [22:34:35] <cirwin> edit the php config [22:34:37] <cirwin> yup [22:34:48] <jdpond> MC8: You're approved too. The SVN server doesn't really get hit a lot, but the private part of it requires 509 cert to access (either the VCView or SVN). Kind of cool since the most used devel is a regional justice information sharing system. [22:35:25] <jdpond> Duxa: Or like me, I find the less I drink, the more memory I have. [22:35:33] <Duxa> haha [22:37:15] <Duxa> ok this is weird.. i increased it to 256... but the error says (ran out of memory of 256mb trying to allocate 100mb).. makes no sense... Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 115688674 bytes) in C:\xampplite\phpMyAdmin\libraries\import.lib.php on line 269 [22:37:59] <cirwin> Duxa: maybe the phpmyadmin zip library is very inefficient? :p [22:38:21] <wikibugs> 03(FIXED) Bugzilla landing page should point to mediawiki.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18216 +comment (10fvassard) [22:39:26] <brion> bleah, ok i think i'm going to do this merge in the other direction :P gonna be easier [22:39:28] <brion> silly subversion [22:39:55] <cirwin> yeah, who needs subversion when you've got good old cvs :) [22:41:14] <hoosie> MC8? [22:41:27] <wikibugs> 03(mod) Upgrade Bugzilla to 3.4 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16777 low->normal; +comment (10fvassard) [22:41:32] <MC8> hm? [22:41:51] <jdpond> Duxa: Did you kick your web server after changing the memory_limit = [22:42:32] <jdpond> Duxa: (in php.ini) [22:45:13] <anderssl> Hi, I am upgrading from mw 1.11 to 1.15.1, and now I can't enable file uploads. Error message says that file_uploads is disabled in php, but that is positively wrong. The upload directory is writable by the server. Any ideas? [22:46:01] <jdpond> brion: we should all really switch to Visual SourceSafe (MS) - then all our problems would go away - right? [22:46:14] <Duxa> ok figured it out.. needed to raise max_post_size [22:46:41] <anderssl> The 1.15.1 version is in a new folder on my server, using same server and database as my working 1.11 version [22:47:58] <jdpond> anderssl: file_uploads = On in php.ini? [22:48:21] <anderssl> jdpond: yes, definitely [22:48:33] <jdpond> rats - was hoping for an easy fix. [22:49:10] <anderssl> also the other php settings - it's working fine in my old wiki on the same server, using same php settings [22:49:47] <anderssl> Are there any relevant differences between 1.11 and 1.15, I mean new settings regarding uploads? [22:50:26] <RoanKattouw> anderssl: It should be backwards compatible in theory [22:50:26] <CIA-12> 03brion * r56155 10/branches/wmf-deployment-work/: kill! redoing this [22:50:38] <jdpond> and you've checked/verified all http://www.mediawiki.org/wiki/Manual:Configuration_settings#Uploads [22:50:51] <CIA-12> 03siebrand * r56156 10/trunk/phase3/ (15 files in 2 dirs): Localisation updates for core messages from translatewiki.net (2009-09-10 22:35 UTC) [22:51:09] <AryehGregor> git rebase! \o/ [22:51:14] <AryehGregor> It's awesome for this. [22:51:20] <AryehGregor> That's like half of what I use git for. [22:51:27] <AryehGregor> Maintaining local patches. [22:52:07] <CIA-12> 03brion * r56157 10/branches/wmf-deployment-work/: copying from trunk @ 56155 ... merging in directly is being a pain due to "tree conflict errors" [22:52:10] <cirwin> do you happen to know how to generate little diagrams of branches with git? a friend said it was possible, but I never found out how [22:52:18] <AryehGregor> cirwin, gitk [22:52:25] <cirwin> nah, ascii art [22:53:19] <anderssl> jdpond: No, haven't been through all those... it's a fresh installation though, none of those (except the "enable uploads" one) have been touched... [22:55:02] <jdpond> anderssl: Many NEED to be set specifically for security reasons - give them a quick glance and see if that's your problem, especially $wgUploadBaseUrl, $wgUploadDirectory, $wgUploadPath [22:58:55] <CIA-12> 03siebrand * r56158 10/trunk/extensions/ (63 files in 56 dirs): Localisation updates for extension messages from translatewiki.net (2009-09-10 22:35 UTC) [22:59:51] <wikibugs> 03(mod) Search & Replace : Close shall be change as Cancel - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20586 +comment (10roan.kattouw) [23:02:00] <wikibugs> 03(mod) Please provide user links in Get edits from IP - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19964 (10JSchulz_4587) [23:02:07] <wikibugs> 03(mod) Add class to <body> to differ registered/anonymous users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13242 (10FT2.wiki) [23:02:07] <Hoosie> MC8, so did you figure anything out [23:02:49] <MC8> Hoosie: it's midnight here, let me go to bed [23:02:58] <Hoosie> lol [23:03:09] <Hoosie> k [23:03:20] <cirwin> only midnight, lightweight :p [23:03:30] <Hoosie> lol i was gonna say [23:03:31] <Hoosie> wow [23:08:15] <MC8> cirwin: meh, first day of college tomorrow [23:08:27] <cirwin> ooh, nice [23:08:29] <cirwin> what are you doing? [23:09:06] <wikibugs> 03(mod) Links : Suggestion box does not appear properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20587 +comment (10roan.kattouw) [23:09:48] <Hoosie> brion, u still here? [23:10:35] <Hoosie> i noticed something i read on a discussion board that you wrote [23:10:39] <Hoosie> i had a question about [23:16:36] <Betacommand> anyone around good with javascript? [23:16:50] <cirwin> reasonably, why? [23:17:09] <Betacommand> I need a basic js bookmark created [23:17:29] <Betacommand> I need it to use the selected text and append it to a URL [23:17:38] <Betacommand> then load that URL [23:17:48] <cirwin> in the same tab? [23:18:00] <Betacommand> preferably a new tab [23:21:20] <Hoosie> write that in cocoa instead [23:21:36] <cirwin> javascript:window.open("http://example.com?search=" + encodeURIComponent(document.getSelection().toString()), "_blank") [23:21:45] <cirwin> but that might go for a new window, depending on your preference [23:21:50] <cirwin> (assuming mozilla) [23:22:16] <cirwin> so you could just do javascript:window.location.href= "http://example.com?" + en...( ) [23:22:42] <Hoosie> cirwin cant u do that in cocoa [23:23:16] <cirwin> I don't have a mac [23:24:02] <Hoosie> o i thought mac was the new 'in' thing to have [23:24:31] <cirwin> next time I might get a mac, I'm fed up of hardware issues taking so much time with linux [23:24:39] <cirwin> but for now, it's debian all the way [23:25:04] <Hoosie> are you coding for mediawiki [23:25:31] <cirwin> i have written an extension or two in php, and some javascript that runs on en.wiktionary [23:25:37] <cirwin> but not really, no [23:25:44] <wikibugs> 03(mod) Navigable TOC: Links are not highlighted when arrrow key is not released - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20569 (10roan.kattouw) [23:26:08] <Hoosie> can you write an extension so transparent proxies work appropriately [23:26:20] <cirwin> what do you mean? [23:26:45] <Hoosie> cuz mediawiki keeps logging out people that use satellite internet.. it's unbelieable [23:27:04] <cirwin> heh, no - I would not be able to do anything about that [23:27:08] <cirwin> is there a bug report? [23:27:32] <Hoosie> yes, at least 3.. they know about the problme but have no interest in fixing it..i cant even edit my mediawiki [23:28:12] <cirwin> I think it's more likely that they have problems that affect more people to fix first [23:29:19] <Betacommand> Hoosie: can you figure out what version of mw breaks the login? then we can fix the issue [23:29:20] <Hoosie> lol they've known about the problem for years [23:29:31] <ggggggggg> how do I block all ips from a region? [23:29:43] <MrZ-man> no, the problem is that its a lot more difficult for a developer to fix a problem that they can't reproduce [23:29:47] <Hoosie> every version newer than 1.13 [23:29:57] <Hoosie> which didnt cause it [23:30:03] <Hoosie> so somebody broke it [23:30:41] <ReAn> ok, i recently got hit by spambots [23:30:54] <ReAn> im looking for a way to prune all previous histories on a specific page [23:30:55] <Hoosie> well if the developer wants to come to my house i'll reproduce it 4 them [23:31:01] <ReAn> and i need REAL deletes [23:31:24] <Hoosie> i'm getting spambots on my mediawiki too .. they are writing a bunch of garbage on my talk pages [23:31:52] <Hoosie> i've had to lock the main page's talk page [23:32:24] <Hoosie> from a different connection of coursse as mediawiki 1.13+ doesnt support satellite internet [23:32:35] *cirwin detests spambots [23:32:51] <ggggggggg> I was wondering if I could block the whole world but one continent :P [23:33:22] <Hoosie> yes just do a block of all ips except .antartic [23:33:27] <Hoosie> a [23:35:08] <Hoosie> what someone has pointed out is that this issue with transparent proxies is only occuring on some mediawiki sites so something must be different [23:36:08] <Emufarmers> Splarka pointed out to me the other day that it's perfectly possible that Hughes simply got complaints from people that they couldn't log in to Wikipedia so they added an exception for it somehow. [23:37:13] <Hoosie> that's possible some other guy's personal mediawiki i was just able to lo in fine .. it's so strange [23:37:25] <Hoosie> i cant imagine a major isp is adding exceptions for all these individual sites [23:37:49] <Emufarmers> For enwp it wouldn't surprise me; if it's elsewhere too, then I guess not [23:38:01] <Emufarmers> But did you check what version he was running? [23:38:22] <Hoosie> i think the major issue i dont get is why this is only a problem with mediawiki .. no other things i have running on my site using sessions and cookies are having this problem [23:38:23] <Hoosie> same as me [23:39:01] <Hoosie> and why did version 1.14 break it.. did u do it emufarmers? did u break it? [23:39:04] <pyrak> is this the right channel to ask about SMW-specific stuff? [23:39:08] <Hoosie> tell me now! [23:39:23] <Emufarmers> Yes, it was all me. I'm a naughty boy. [23:39:26] <pyrak> i'd like to include a chunk of custom javascript in a semantic form [23:39:30] <Hoosie> haha [23:39:38] <Hoosie> ur so bad ;) [23:40:15] <pyrak> oh snap :O [23:40:30] *Hoosie gets out a wet noodle [23:41:17] <AryehGregor> Hoosie, we have not been able to reproduce the issue with satellite Internet and nobody has managed to figure out what it is. MediaWiki is free software and we have no obligation to fix it. Most of us are volunteers. The affected users will have to put in the work to do appropriate research. [23:41:35] <AryehGregor> We don't have the time to track down and fix every problem reported to us. [23:41:49] <AryehGregor> If you would like better guarantees, you can feel free to purchase software with a support contract. [23:42:00] <Hoosie> o please i've send over all the header logs.. it just be readily apparent what the problem is.. why is it that 1.14 BROKE IT [23:42:06] <AryehGregor> We don't know. [23:42:20] <AryehGregor> At least, all of us who've looked at it don't know. [23:42:31] <AryehGregor> If we could test it ourselves, we could probably figure it out. [23:42:38] <AryehGregor> Or anyone else who knows enough about this sort of thing. [23:43:21] <Hoosie> does anyone in here actually work on mediawiki or only extensions? [23:43:46] <RoanKattouw> Most folks here work on MW core [23:43:56] <Hoosie> o i see [23:44:03] <pyrak> is there a sep channel for SMW stuff? [23:44:07] <ReAn> is there a way to prune previous histories? [23:44:22] <Emufarmers> pyrak: yes [23:44:30] <Hoosie> i dunno Tim was really helpful .. i sent him all the header logs and he was going to look into it.. so i can hope i guess [23:44:30] <AryehGregor> Hoosie, at least four MediaWiki developers (who have commit access and use it for core) have spoken since you entered the room. [23:44:32] <pyrak> Emufarmers, what is it? [23:44:54] <Emufarmers> pyrak: http://semantic-mediawiki.org/wiki/Help:Getting_support [23:45:00] <pyrak> Emufarmers, thanks [23:45:05] <AryehGregor> Tim would be a good one to look into it, but he doesn't have a whole lot of time on his hands, it seems. [23:45:18] <AryehGregor> Hoosie, if you send me all the logs I could take a quick look. [23:45:40] <Hoosie> i mean i'm curious if anyone has any remote idea what could even cause a problem like this [23:45:49] <Emufarmers> ReAn: depends how much you want to prune [23:45:50] <Hoosie> okay i can email you the headers that i sent him in the .txt files [23:46:20] <ReAn> Emufarmers: i'd like to prune every Talk: page on my site 100% right out of the database [23:46:25] <Hoosie> what i did was go to my site log .. log in .. and then go to a different page and was logged back out [23:46:30] <Hoosie> he was examining that [23:46:33] <Hoosie> what is ur email [23:46:51] <ReAn> if i could do it with a SQL statement that would be even better [23:47:39] <Hoosie> ReAn dont type in DROP ALL [23:48:31] <Hoosie> AryehGregor, can u dcc? [23:48:36] <ReAn> i know SQL pretty well Hoosie, i just dont know mediawiki's db structure that well [23:49:22] <Hoosie> though email wold prolly be better [23:50:47] <Hoosie> there is a way t o prune the histories i think .. i see that on the FAQ at mediawiki.org [23:51:04] <ReAn> i think im just gonna hack @ the db till it works [23:51:23] <MrZ-man> ReAn: might want to make a backup first... [23:51:31] <Hoosie> hittin ALT-F4 might do it [23:53:18] <brion> ok svn 1.5 actually seems less pissy than 1.6 on this merge [23:53:37] <AryehGregor> Hoosie, Simetrical+faskd92 will work for my e-mail, at gmail.com. [23:53:50] <Hoosie> k [23:54:56] <Duxa> Quick question about how MediaWiki works... so are posts (actual text and everything that has to do with a page).. stored in the database? in other words... aside from uploaded files (like images and zips) do I even need my old wiki directory when upgrading? or do I just need the export/import db? [23:55:26] <brion> Duxa: yup :) [23:55:26] <brion> yo [23:55:27] <brion> ur config [23:55:27] <brion> is [23:55:28] <brion> also [23:55:30] <brion> in a file of course [23:55:43] *brion stabs mac os slowdown during heavy i/o :P [23:55:54] <Emufarmers> For now! [23:56:19] <Hoosie> sent [23:56:27] <Duxa> ok thanks brion [23:57:15] <AryehGregor> brion, I've heard Linux has improvements in that in 2.6.31. [23:57:23] <brion> :) [23:57:23] <AryehGregor> It can get really unusable at present when thrashing. [23:57:31] <Duxa> next question... when moving over the posts from old version of mediawiki to the new one, do I need to run that Installer on the new version every time I import old Db? so that it can check if it needs to change anything? [23:57:50] <brion> mac os x has always had very bad performance under heavy disk i/o, it's kind of annoying as it's otherwise my favorite desktop unix :) [23:58:13] <Emufarmers> Duxa: yes, although "every time" makes it sound as though you'll be doing it a hundred times, which you shouldn't be. [23:58:15] <brion> linux has usually been better in that regard for me [23:58:59] <Duxa> ok thanks :) [23:59:55] <Hoosie> im curious whether mediawiki has plans for any changes to the skin