[00:05:51] <^demon> "The server at localhost is taking too long to respond." [00:05:56] <^demon> :( [00:06:08] 03(mod) Totally overhaul the FlaggedRevs configuration variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17285 (10JSchulz_4587) [00:09:30] ^demon, "The server at localhost is refusing to serve your pages quickly so that it can lure you into upgrading it with new and expensive hardware. To achieve better performance, threaten to unplug it and lock it in a cupboard for five years if it doesn't behave." [00:09:51] <^demon> Hehe. [00:09:55] uuuh [00:09:56] <^demon> Apache wont start :-\ [00:10:06] needs more coffee? [00:17:44] 03aaron * r46668 10/trunk/extensions/FlaggedRevs/language/FlaggedRevs.i18n.php: depreciated -> deprecated [00:17:53] 03(FIXED) MediaWiki:review-logentry-dis probably incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17290 +comment (10JSchulz_4587) [00:18:54] awwww [00:41:51] What skin file can I edit to change the icons on the bottom of mediawiki pages and the links they point to? [00:42:02] th banners on either side of the bottom of the page [00:42:08] the mediawiki logo, etc. [00:43:03] 03(mod) Navigation headings should not be lower-cased in German - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1553 (10Simetrical+wikibugs) [00:43:58] lymeca: Monobook.php [00:47:27] cirwin: Not in there it seems. [00:47:44] well, the logo is a configuration option [00:48:03] the top-left one [00:48:49] Ah, meant the bottom ones [00:50:35] function getCopyrightIcon() and function getPoweredBy() in Skin.php [00:51:04] you can see what configuration controls them there too [00:51:15] like $wgCopyrightIcon [00:56:16] 03siebrand * r46669 10/trunk/extensions/MetavidWiki/languages/MV_Messages.php: Remove 'mv_match', 'mv_match_text', 'mv_match_text_one' because unused. Could not find these in sources. [00:59:34] <^demon> Out of curiosity, I wonder why $wgRightsText isn't i18n'd. [01:00:23] *Splarka belatedly points lymeca to Skin.php [01:04:53] Whoa, svn:externals looks freaky. [01:05:02] *werdnum waves [01:10:06] geshi.css [01:10:14] !geshi.css [01:10:14] --mwbot-- I don't know anything about "geshi.css". [01:10:22] :? [01:10:48] 03siebrand * r46670 10/trunk/phase3/languages/messages/MessagesEn.php: Correct special page in 'accmailtext' [01:10:53] !botnoob [01:10:53] --mwbot-- I don't know everything about everything. I am mostly for lazy experienced users to echo quick answers to very common mediawiki questions. Please don't randomly experiment with me for help. Everything I know is at http://tools.wikimedia.de/~amidaniel/botbrain.html and you can visit #mwbot or privately message me. [01:11:03] DeSian, did you have a question about Geshi.css? [01:11:03] !rar | Simetrical [01:11:03] --mwbot-- Simetrical: rar [01:11:11] Simetrical: yes [01:11:25] (translation: that's my most popular bot alias <3) [01:12:19] DeSian, then you should probably ask it. [01:14:47] i need a bot linking my wiki with requests with article names on irc channel [01:15:14] That sentence made no sense to me. [01:15:17] bahaa2008: huh? [01:15:19] like unilinky on #wikipedia-ar [01:15:23] ah [01:15:34] ask it's owner for the code [01:15:47] or I can give you a module for the phenny python IRC bot that does it [01:15:56] it's related to wikimedia [01:16:12] yes [01:16:19] that's what i need [01:16:30] ok [01:16:37] !love [01:16:37] --mwbot-- I love MediaWiki, and I love you too. [01:16:38] i have supybot [01:17:07] bot written on python to [01:17:15] *Simetrical gets "I Love You" from Barney the Purple Dinosaur in his head [01:17:23] *Simetrical is distressed that he still remembers it [01:17:30] i can run any bot that have such plugins [01:18:17] bahaa2008: http://pastebin.com/m4a5d32cd [01:19:25] thanks [01:19:39] but how to use it as a plugin [01:19:43] is it easy [01:19:52] I don't know, that is a module for the phenny bot [01:19:54] as I said [01:20:05] i have bot that accepts plugins [01:20:08] thanks [01:20:16] i'll give it a try [01:20:17] the chances are they use different plugin formats [01:20:20] ok [01:20:50] Hey guys, maybe I'm just stupid, but I am new to Mediawiki and I want to put a language bar on the pages in my wiki, like the one on the pages of mediawiki's wiki. I was reading Template:Languages, but I don't understand what I have to do. from what I understand I have to add that template to my wiki, but how do I go about doing that? [01:21:54] cirwin, how can i test it as python script [01:22:01] sorry [01:22:03] bahaa2008: you can't [01:22:20] what do u mean ? [01:22:31] it does not work [01:22:36] unless you have phenny [01:22:49] you can steal the code from it to make a plugin for your bot [01:22:55] i mean how to test it [01:23:04] download phenny [01:23:11] and read the instructions provided [01:23:24] Nappz: can you link to an example? [01:23:42] Splarka: you mean of the language bar? [01:23:54] I believe it is on every mediawiki page [01:24:10] why her is JAVA code with background and border but the C# cod not? http://www.chawg.org/wiki/index.php?title=CSS [01:24:10] It says Languages, and has a picture of a mini-globe on it [01:24:46] is it here? http://www.mediawiki.org/wiki/Special:BlankPage [01:25:10] Splarka: No. [01:25:20] please link to a page it appears on then ^_^ [01:25:34] If you go to http://www.mediawiki.org/wiki/MediaWiki you will see it near the bottom [01:25:44] Nappz: I think you mean the "interwiki" links/ [01:25:50] right, just a simple template [01:25:51] the box with the "languages" heading? [01:26:05] any idea? [01:26:08] Yeah, but where do I get the template code for it? [01:26:09] *cirwin shuts up [01:26:21] http://www.mediawiki.org/wiki/Template:Languages [01:26:44] Already read that page, but I don't see any copy&paste code for the template [01:27:43] it is a bit specialized to that wiki [01:28:24] Yeah, is there anywhere I can find it where it is not specialized to a certain wiki? [01:28:29] what it does, at a quick glance, is check the current page name for subpages of valid language codes [01:28:51] so if Page/fr exists, it creates a link to it and titles it Fran�ais [01:28:56] well [01:29:01] 03(NEW) MediaWiki:Dberr-usegoogle requires html markup - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17296 15enhancement; normal; MediaWiki: Internationalization; (bugzilla.wikimedia) [01:29:09] Templates aren't standard, each wiki creates their own for their needs [01:29:19] Ah, I see [01:29:32] Alright, thanks. [01:29:33] that box was manually constructed from wikicode, html, and parserfunctions [01:29:53] you can copy the style and image, but you might not have need of all the automated page checking inside it [01:30:13] Heh, Google is turning Firefox into Chrome? http://googleblog.blogspot.com/2009/01/google-toolbar-in-firefox-personalized.html [01:30:19] cirwin, is this normal http://pastebin.com/m1f85daef [01:30:43] yup [01:30:47] Which code would I use to copy and modify to my needs? The part under the sourcecode of Template:Languages under == Template == [01:30:47] Nappz: do you need to be able to put a template on your pages, that will then check for subpages of that page automatically to link to translations? [01:30:51] but if I were you, I'd disable most of the modules [01:31:10] Splarka: Yes, thats what I am looking for [01:31:25] cirwin, you replayed on me ? [01:31:33] then you'll wanna export that template with all dependencies, and images, and install/enable ParserFunctions [01:31:34] bahaa2008: yes [01:31:39] ok [01:31:47] !mw.ask [01:31:47] --mwbot-- I don't know anything about "mw.ask". [01:31:59] Ok, I export it from Special:Export? [01:32:07] oh so mwbot is back >.> [01:32:10] *Splarka checks the dependencies [01:32:15] the entire Template:Languages page? [01:32:18] bahaa2008: in my default.config I have enable = ['startup','wikilink'] [01:33:55] hmm [01:34:43] cirwin, it keeps trying to connect [01:34:55] cirwin, but nothing happen [01:34:59] Nappz: looks like you just need http://www.mediawiki.org/w/index.php?title=Template:Languages&action=edit and http://www.mediawiki.org/w/index.php?title=Template:Languages/Lang&action=edit [01:35:08] and then ParserFunctions extension, and that image [01:35:14] and maybe some site-wide CSS [01:35:21] bahaa2008: probably not configured correctly [01:35:58] http://www.mediawiki.org/wiki/MediaWiki:Common.css -> /* Language template */ [01:36:08] cirwin, can u help me with configuration or u r busy now? [01:36:52] bahaa2008: come to #phenny [01:37:09] Ok [01:37:17] Thanks : Sparkla [01:37:24] err Splarka* [01:37:44] Sparkplug. [01:39:58] And, where would I put the CSS? [01:40:25] in your own MediaWiki:Common.css page [01:43:15] Ok [01:47:00] Splarka: Thanks alot, it works great :D [01:47:04] rar [01:48:37] cirwin, thanks very much [01:48:44] no problem [02:16:36] MediaWiki isn't a Web 2.0 thing, it's a Web 1.10 thing. [02:18:05] werdnum: I woudl have thought it was a Web 1.15alpha thing [02:26:26] werdnum, wikis are like the essence of Web 2.0. [02:26:42] why isn't MWNamespace part of the Doxygen docs? [02:27:45] how can i get the Handler Class for a namespace? [02:28:39] Simetrical: True, but in MediaWiki's case, it's like 1.5. It rounds up to 2, but certainly falls short in certain areas. [02:31:48] 03(mod) Navigation headings should not be lower-cased in German - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1553 +comment (10rememberthedot) [02:39:55] 03(mod) Navigation headings should not be lower-cased in German - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1553 (10Simetrical+wikibugs) [02:47:35] Splarka : Are you still on by any chance? [02:48:19] bit [02:51:49] oh [02:51:50] Hey [02:52:54] Theres a slight problem with the language bar. from the english version, if I click say... the japanese version, the language bar on the japanese version only shows the language English and it is already bolded and slectected tso you cant click it [02:53:02] so* [02:53:30] can someone tell me if a namespace class handler exists or ever existed? [02:53:37] handler class [02:54:31] Splarka probably can, if Splarka is still here [02:55:29] Nappz: hmm [02:56:58] I think they cheat [02:57:38] *Splarka checks some other pages [02:58:11] oh [02:58:11] How so? [02:58:15] right [02:58:18] ? [02:58:19] lol [02:58:33] subpages, heh [02:58:44] Mhm. ? [02:59:01] http://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages [02:59:11] you have to put any namespaces you want that template to work with, into that array [02:59:40] or alternately, you might be able to just pass the base page as a template parameter [02:59:49] like {{Languages|Main page}} should work, in theory [03:00:18] Ok, ill the second sugguestion [03:00:59] {{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} |  • {{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}|}} [03:01:02] That did the fix [03:01:09] Thanks again lol [03:01:19] if the parameter exists, then it uses that.. [03:01:23] else it goes by the current page name [03:01:32] Yeah, Thanks [03:01:36] but in order to work with the current page name on the non-root page, it needs to know the BASEPAGENAME [03:01:43] but that magic word only works with subpaging enabled in main namespace [03:01:53] otherwise it'll always think it is in english [03:01:59] (or rather, contentlanguage) [03:02:33] Mhm =) [03:04:01] Prodego: http://img368.imageshack.us/img368/9282/vennsy7.jpg [03:04:02] has anyone ever seen this warning 'The file is corrupt or has an incorrect extension. Please check the file and upload again.' [03:04:05] when uploading an image? [03:04:34] Splarka: I thought you knew everything about everything :) [03:04:41] maybe just in comparison to me [03:09:48] 03(mod) 1 year's worth of tickets missing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17279 (10tstarling) [03:22:33] 03(NEW) Add margins to printable css style - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17297 15enhancement; normal; Wikimedia: Usage Statistics; (spidermannequin) [03:35:50] i guess no one ever got that file upload error [03:36:18] hmmmm? [03:39:04] has anyone ever seen this warning 'The file is corrupt or has an incorrect extension. Please check the file and upload again.' when uploading any file? [03:39:22] I'm sure people have seen it [03:39:27] maybe you should ask your real question. [03:41:23] um...the question is...HOW DO YOU GET AROUND THAT [03:41:36] how do you fix it? if indeed it is a bug [03:41:39] You upload it with the right extension. [03:41:41] It isn't a bug. [03:42:33] ok it's the right extension [03:42:46] that's not the problem here [03:42:51] i think it's a mime problem [03:42:54] What extension is it? [03:46:03] png [03:46:37] go to the support page on MediaWiki and seach for 'Uploading of 'corrupt' files' [03:47:11] the explanation they are providing sounds like it's for linux [03:55:14] A more specific error should probably be provided in this case. I've seen this problem before. [03:55:20] I can't remember the solution(s), though. [03:56:25] 03rarohde * r46671 10/trunk/extensions/ParserFunctions/Expr.php: [03:56:25] Adds explicit round-off checking to operations that are sensitive to floating point vs. integer round-off errors. [03:56:25] Where applied, it assumes that any floating point number that is an integer to within one part in 10^10 should be replaced with that integer. [03:57:34] In mediawiki, e^pi-pi really is 20. [04:01:57] pi := 3.1 [04:02:47] why would a page keep having the wrong information for a Widgets extension widget even after I remove the Smarty compiled templates and run ?action=purge on it [04:06:10] hmm maybe it's using memcached [04:06:37] anyone know how to clear that? [04:06:53] Restarting memcached would probably work. [04:06:56] I dunno. [04:07:16] I tried that earlier today, but it did not work, because I wasn't logged out (sessions are in memcached) [04:31:18] Hello all. I'm looking to modify the recent changes to pull the RC list from multiple wiki's... first question is.... is there an easy way to do this/has it been done? if not how hard would it be to do? [04:33:31] Is there any way one can disable MediaWiki's behaviour of changing & to &? [04:34:02] for what purpose? [04:35:45] chuck: Where does it change & to & [04:36:15] werdnum: in the Widgets extension [04:36:34] I'm not sure if it's MediaWiki or something inside of that extension [04:36:51] MW changes & so it displays properly where it is nessary [04:45:52] werdnum: It's just adding them with $parser->insertStripItem(), is that the problem? [04:47:11] *werdnum doesn't know parsers. [04:48:17] sounds like double-escaping to me, though. [04:48:45] protect function fixed? [04:49:09] Should be. [04:52:08] werdnum: looks to me like it's only escaping once [04:55:16] 03aaron * r46672 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: Use rev timestamp for autoreview [04:57:43] chuck: & in display, or & in HTML sauce? [04:58:05] & in output [04:58:35] it's & in the source that it's trying to output [04:59:35] so & is displayed? [04:59:49] yes, & is in View Source in my browser [05:00:09] oh so & is in the SOURCE? [05:00:12] that's... normal? [05:00:16] What's the context? [05:00:42] werdnum: It's the Widgets extension, you can put HTML into Widget:Whatever, then display it in a page like {{#widget:Whatever}} [05:00:51] so it's useful for stuff like Twitter feeds, etc [05:00:56] Okay, so what is the particular context of what you're doing here? [05:01:06] you mean the code I'm trying to display? [05:01:22] yeah [05:01:32] one sec [05:01:38] http://pastie.org/376452 [05:02:03] and then http://test.yourwiki.net/wiki/Hagger is an example of the output (search for "openx" with your browser to find the part in question) [05:02:35] Which & are being escaped? [05:03:23] document.write ("?zoneid=13578&target=_blank&charset=ISO-8859-1&withtext=1"); [05:03:26] ?? [05:03:30] all of them [05:03:34] Because those ampersands are *supposed* to be escaped. [05:03:41] You're supposed to escape ampersands in URLs. [05:03:58] no, look at that line closely [05:04:07] it's supposed to be a regular & to separate GET request values [05:04:29] Yes, so? [05:04:35] You are supposed to escape those ampersands, too. [05:04:42] in HTML, yes. [05:04:57] I don't think so [05:05:07] Yes you are. [05:05:11] Definitely. [05:05:16] when I replace & with &, the code works, but when I leave it as &, it does not work [05:05:23] Run unescaped and escaped versions through the w3c validator, and see what happens. [05:05:32] so, document.write is not what you're supposed to do [05:05:39] You should never use document.write in new code. [05:05:56] you can't escape ampersands in URLs, the web server wouldn't know how to separate the GET values [05:05:58] *Splarka is not sure if it is still the case, but with raw html there is/was an escape issue: [05:06:00] s/so/also/ [05:06:25] http://meta.wikimedia.org/w/index.php?title=Main%20Page&action=edit [05:06:32] werdnum: ^ [05:06:48] then replace & with & [05:06:58] chuck: that's in a *URL* [05:07:08] that document.write up there is a URL [05:07:10] in a URL which is put into HTML, you have to escape them. [05:07:13] or it's for a URL i mean [05:07:14] No, it's a URL inside HTML [05:07:29] it's a src="" for