[00:16:40] 03david * r24570 10/branches/liquidthreads/extensions/ (LqtExtension.php LqtModel.php): archive placeholders [00:27:24] hi for all how can I change the things in the mainpage footer for example I want to add there a note... [00:29:52] n8 [00:33:15] I mean at bottom of the page how can I chage footer [00:43:19] 03david * r24571 10/branches/liquidthreads/maintenance/lqt.sql: new columns for history info [00:57:18] emrezer, u get your question answered? [01:03:56] no [01:04:16] timlaqua do you have any idea? [01:05:58] no easy way [01:06:00] that I can see [01:06:20] skins/MonoBook.php - search for id="footer" [01:06:33] I don't see any var calls in there for replacable text [01:06:44] okey [01:06:52] but you could always just hack MonoBook.php [01:06:54] ;-) [01:07:01] that'll do the trick for sure. [01:07:33] okey ;) [01:07:59] and do you have any idea how to use $wgUseTeX = true; [01:08:08] when I set this true it doesnt works [01:08:24] do I need to do anything more than making it true? [01:08:48] ummm... upload your LocalSettings.php? [01:08:50] ;-) [01:09:27] To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package) [01:09:51] how can I do that? [01:10:01] I am stuck at that point :( [01:10:16] Please see math/README for more information [01:11:00] I looked there and downloaded a latex folder and dvipng [01:11:38] and I installed objective caml [01:11:59] wow, this looks complicated. [01:12:15] and readme says Run 'make' (or 'gmake' if GNU make is not your default make). This should [01:12:15] produce the texvc executable. [01:12:33] wat does it mean :S [01:13:31] ummm... I think it means you gotta compile it [01:13:36] u have shell access? [01:13:41] to your web server? [01:15:21] emrezer, yup, you need shell access to compile texvc [01:15:34] I am using my localhost on my pc [01:15:41] windows? [01:15:45] yes [01:15:45] or the linux? [01:15:52] windows [01:16:39] http://www.megashear.org/wiki/index.php?title=Help:Running_MediaWiki_on_Windows#Texvc [01:16:46] yikes. [01:17:25] okey thank you very very much [01:17:42] np [01:18:45] emrezer, Better source: http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows#Mathematics_Support [01:23:11] has anything happened with external link heuristics since nofollow was activated on enwp? [01:32:17] timlaqua: thank you very much [01:32:28] anytime. [02:06:49] Is there anyone available to answer a question about a new wiki install? [02:07:47] I installed the wiki to an add on domain on my hosted account. But for some reason the wiki is only accessible via the main account address [02:07:58] I've searched through the local settings.php file [02:08:03] and can't find anything [02:09:11] As well I wanted to change the logo but the $wgLogo is nowhere in the loca settings file [02:09:15] local* [02:10:41] which hosting service [02:10:46] hasweb [02:10:51] nikki: Did you install it into the folder for the main domain, or addon domain? [02:11:22] the doamin I wanted it under is myldsstuff.com/wiki, but it's showing under ldscafe.org/myldsstuff/wiki [02:12:19] hmm weird [02:12:23] now it doesn't even show there [02:12:36] indeed [02:12:56] http://www.ldscafe.org/myldsstuff/wiki/wiki.phtml is the full path [02:12:59] now I have an error [02:13:08] I'm tryign to think if what I've changed since i last checked [02:13:12] Sorry for not being prepared better [02:13:27] and my typos are not making me look terribly smart... [02:14:11] so how do you upload stuff to myldsstuff.com? [02:15:33] through frint page or the file control panel [02:15:35] front [02:15:38] my gosh... [02:16:20] how'd it get to /myldsstuff/wiki? [02:16:33] through front page [02:16:46] can anyone offer me a good hosting site? [02:17:06] I am using mediatemple and wat can you say about it? [02:17:50] nikki, which version did you download? Which MediaWiki version? [02:17:53] the file was uploaded to work for myldsstuff.com/wiki, instead the root domain which the hosted account is using is only showing the file at root/myldsstuff/wiki [02:18:04] the latest version [02:18:16] and you configured it? [02:18:16] 1.10.1 [02:18:36] the files were loading and working as I believed they should [02:18:56] the DB files are correct, and the other configs were working without issue. It was just not loading under myldsstuff.com domain [02:19:17] hmm.. well I get 404 errors on all of those addresses [02:20:42] http://www.ldscafe.org/myldsstuff/wiki/index.php?title=Main_Page [02:21:03] that is the weird thing, it is there, but for some reason not loading [02:21:14] that loads [02:21:21] http://myldsstuff.com/wiki/index.php?title=Main_Page [02:22:03] it looks like index.php isn't set to be a default web page [02:22:22] and when you installed, you installed from ldscafe.org [02:22:29] well going straight to index.php without the ?* still shows 404 [02:22:35] true [02:22:47] is there not a default view? [02:22:59] oh there is [02:24:16] try now [02:24:37] it seems to now work and I didn't change the page. Iknow the server supports .php as a default page as I use it elsewhere [02:24:44] ok [02:25:29] nikki, somethin' wierd w/ your host. maybe replicating/copying or somesuch nonsense. [02:25:36] either way, it's workin now. [02:25:42] yep, thx [02:26:11] $wgLogo = "{$wgStylePath}/common/images/wiki.png"; [02:26:19] fyi. ;-) [02:26:30] just add it to LocalSettings.php. [02:27:12] thx [02:27:30] Do you know how I can combine the logins with phpbb? [02:27:36] is it an addon module? [02:28:06] http://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration [02:28:16] thx [02:28:21] you have been a huge help! [02:28:29] gl. ;-) [04:13:18] hi, is there any alternatives to sajax_do_call() other than writing my own version of it? [04:19:03] ? [04:19:10] DFRussia, alternative? [04:19:45] DFRussia, what doesn't sajax_do_call() handle properly? [04:39:06] TimLaqua, it does not work well with objects [06:00:16] if I wanted to make an a patch of ajax.js, how would I go about it? [06:00:30] (like if I wanted to submit a patch of ajax.js) [07:33:21] hey guys: [07:33:22] http://abstractdesigns.info [07:33:24] 1) How do I get another section on the side bar, underneath "Navigation"? I've edited MediaWiki:Sidebar but it's not showing up...( http://abstractdesigns.info/wiki/MediaWiki:Sidebar [07:33:25] 2) How do I get the sidebars and the links up the top to look like this: http://it.wikipedia.org/wiki/ [07:33:27] I've copied their Common.css and their Monobook.css but it didn't work.. [07:48:34] hey guys: [07:48:36] http://abstractdesigns.info [07:48:37] 1) How do I get another section on the side bar, underneath "Navigation"? I've edited MediaWiki:Sidebar but it's not showing up...( http://abstractdesigns.info/wiki/MediaWiki:Sidebar [07:48:39] 2) How do I get the sidebars and the links up the top to look like this: http://it.wikipedia.org/wiki/ [07:48:41] I've copied their Common.css and their Monobook.css but it didn't work.. [08:13:54] 03(mod) $wgLoadBalancer has wrongType - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10796 (10at_mediawiki) [08:37:24] 03(mod) $wgLoadBalancer has wrongType - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10796 (10at_mediawiki) [08:49:29] hey guys: [08:49:31] http://abstractdesigns.info [08:49:33] 1) How do I get another section on the side bar, underneath "Navigation"? I've edited MediaWiki:Sidebar but it's not showing up...( http://abstractdesigns.info/wiki/MediaWiki:Sidebar [08:49:34] 2) How do I get the sidebars and the links up the top to look like this: http://it.wikipedia.org/wiki/ [08:49:35] I've copied their Common.css and their Monobook.css but it didn't work.. [08:51:34] never mind #1 [08:52:09] see http://www.mediawiki.org/wiki/Manual%3ASidebar [08:53:53] no i got the sidebar working [08:54:00] hence "never mind #1" [08:56:14] hi brion [08:57:24] 03(NEW) Talk pages are blank in the Latin Wikipaedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10797 04BLOCKER; normal; MediaWiki: General/Unknown; (hglahgl) [08:57:25] how is taiwan^D^D^D^D^D^D the rebel province of the people's republic of china? [08:58:22] other than the oppressed workers who have yet to throw off the chains of their oppressors, it's pretty cool [09:00:22] 14(DUP) Talk pages are blank in the Latin Wikipaedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10797 +comment (10brion) [09:00:23] 03(mod) Missing SVG image causing fatal errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10795 +comment (10brion) [09:04:47] 03(mod) Missing SVG image causing fatal errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10795 (10brion) [09:07:18] 03(mod) Mass deletion of images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8527 (10wikipedia.kawaii.neko) [09:22:59] 03(NEW) Remove MediaWiki namespace as an option in Special: Protectedpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10798 15enhancement; normal; MediaWiki: Special pages; (meno25bugzilla) [09:26:07] 03(mod) Enable sending e-mail attachments using Special:Emailuser - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9201 summary (10meno25bugzilla) [09:26:11] 03(NEW) Dropdown box with predefined reasons for deleting and protecting pages. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10799 15enhancement; normal; MediaWiki: User interface; (achates) [09:28:38] hi there, I'm looking for a tool that converts a word tabel into a simple table in MediaWiki-syntax. I've found a way to do it via save-as-html and then convert it to MediaWiki syntax, but the endresult is, although it looks nice, very ugly to edit [09:28:56] 03(NEW) formula spacing in PNG mode is inconsistent - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10800 minor; normal; MediaWiki extensions: texvc; (Graf.Zahl) [09:29:38] I already tried some of the word-macros that are provided on meta.wikimedia.org but no luck so far in installing them [09:33:58] well, the lights are on but there seems to be nobody at home here [09:34:51] it usually takes a while for someone that knows something to respond Tdevries [09:34:55] don't give up :P [09:35:02] Okay :-) [09:35:32] I'd help out, but I have no idea about Word to MediaWiki converting [09:36:00] I would just try handing it over as HTML... since MediaWiki does fine with HTML and most people can read table HTML [09:37:04] I've already found a way to save it as HTML and then convert it to mediawiki syntax. The result looks okay, but the source is horrible, no-one will be able to edit it :-S [09:37:05] see http://nl.wikipedia.org/wiki/Gebruiker:Tdevries/tabeltest [09:38:09] hi every body some one is french ? [09:39:13] 03(NEW) Displaying images used in pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10801 15enhancement; normal; MediaWiki: General/Unknown; (meno25bugzilla) [09:40:39] Duesentrieb: would it be difficult to modify CategoryTree so that it displays transclusions? [09:43:22] 03(NEW) Displaying top contributions in Special:Contributions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10802 15enhancement; normal; MediaWiki: Special pages; (meno25bugzilla) [09:59:11] TheWoozle: whot? [09:59:30] err, sorry, that was for ThomasV_... [10:13:20] Tdevries, instead of converting the tables from HTML to MediaWiki Syntax... just leave the tables as HTML, that might make them a lot more readable (in the source) and MediaWiki will process them properly and most editors will understand it is html [10:13:39] you are using HTML in there anyways (in the form of the spans) [10:28:06] 03david * r24572 10/branches/liquidthreads/ (3 files in 2 dirs): change type works and is shown in history [10:49:23] 03brion * r24573 10/trunk/ (2 files in 2 dirs): Move $wgAlternateMaster to core DefaultSettings.php from MakeSysop, since it's used now in some more maintenance scripts and will be used by other extensions soon [11:26:30] http://commons.wikimedia.org/wiki/Commons:Categories_for_discussion#Listing_a_category_on_.22Categories_for_discussion.22_page [11:26:43] do any of you guys know how to make magicwords work? [11:29:57] whats up with this ? http://www.google.co.uk/search?q=mediawiki-l&hl=en&meta= [11:30:12] top link takes me elsewhere [11:30:21] http://www.zeropaid.com/ ? [11:31:48] facefaceface: the top link is "pagebang.com/cgi/nph-proxy.cgi" "http/lists.wikimedia.org/mailman/" is only part of the path they use on their page. It's just a linkfarm using copyied of wikimedia stuff to baite google. [11:32:07] horrible! [11:32:07] you can report them to google, if you like. [11:33:03] you could also send them a cease & desist / DMCA takedown, because of copyright violations. but i doubt that'll help much [11:34:01] <_wooz> lo [11:34:05] hahah [11:35:44] We will use your responses to help us in our never-ending quest to improve the quality of Google search. [11:37:19] Cometstyles: rar [11:37:26] rar [11:37:36] stop following me :P [11:37:40] XD XD [11:38:26] I was here before you :P [11:39:27] how do i see a full list of ALL articles made on my mediawiki? [11:40:01] Special:Allpages [11:41:24] you rule [11:41:39] <3 [11:42:16] O_O [11:43:13] how do i change the default 150 by 150 emblem [11:43:17] in the upper left corner? [11:44:50] either you define $wgLogo in LocalSettings.php or use a CSS trick to change the logo [11:44:51] Sonjaaa: change the logo, or the size? [11:45:22] the logo [11:45:23] Sonjaaa: changing the size is a bit tricky, you'll have to overwrite a couple of fixed sizes in css, and deal with the special cases for MSIE... [11:45:26] i think the size is uschangable [11:45:41] Sonjaaa: err, the default logo tells you to set $wgLogo, right? do that, then. [11:45:46] ok thanks! [11:45:53] you guys are so smrt! [11:45:55] set it to a full url. [11:56:50] 03(mod) Show images used on the page in editor - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10801 summary (10robchur) [11:57:40] 14(DUP) Displaying top contributions in Special:Contributions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10802 +comment (10robchur) [11:57:41] 03(mod) Provide support in Special:Contributions to show only "current" contributions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4597 +comment (10robchur) [11:58:52] 03(mod) Add a predefined list of delete reasons to the deletion form - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9633 (10robchur) [12:00:10] 03(mod) Provide a list of predefined reasons in the protection form - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10799 summary; +comment (10robchur) [12:06:40] Hey brion. :) [12:07:01] hey jp [12:07:17] rar [12:08:27] zip? [12:11:49] *robchurch zips brion into a proprietary compressed archive, copies him onto an old 3-inch disk, deletes the original and the archive, throws the disk into a Microsoft Windows 95 package and locks him in a safe [12:12:10] D'you reckon Richard Stallman would melt if someone did that? [12:12:45] oh man, remember the install disks for windows 95? they used a non-standard track format so they held an extra 200k per disk and you couldn't copy them with regular diskcopy [12:13:00] Not really, we were lucky; we had a CD. [12:13:15] remember when 680 megabytes sounded limitless? [12:13:30] you could store a *whole encyclopedia* on one disc! crazy shit! [12:13:41] Shit, that was an MS Windows disc, right? Not a GEM floppy? [12:13:51] I mean, I didn't mean for you to get all nostalgic and shit. [12:13:55] or play 'sherlock holmes: consulting detective" with 40-pixel-wide video clips [12:14:10] ah, GEM [12:14:14] \o/ [12:14:16] *sigh* [12:14:34] the mac finder clone for the pc of the 1980s :D [12:14:41] I had an old Amstrad with GEM on it. [12:14:41] it rocked man [12:15:00] It had this awesome huge mouse, it was like dragging a little box around your desk. [12:15:01] you crazy brits with your crazy british computers [12:15:18] I had this massive printer for it too, an old Epson. [12:16:04] I'll have you know, brion, if it weren't for my crazy British computer with a C compiler and editor (that I took to be a word processor with an attitude problem, when I was about 8), I might never have gotten into programming. [12:16:09] (And the world would have been a better place.) [12:16:31] aww [12:17:07] That editor hated me. It always moaned about my syntax if I accidentally hit F5. [12:17:46] tsk tsk [12:18:48] Special:Protectedpages is gross. The UI is disgusting and the code is horrible. [12:20:54] 03robchurch * r24574 10/trunk/phase3/ (3 files in 2 dirs): [12:20:56] * (bug 10798) Exclude MediaWiki namespace from filtering options on Special:Protectedpages (implicit protection, doesn't make sense to have it) [12:20:59] * Introduce a fourth evil parameter to Xml::namespaceSelector() to exclude namespaces. Pure coincidence, not at all related to the above... [12:21:01] 03(FIXED) Remove MediaWiki namespace as an option in Special: Protectedpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10798 +comment (10robchur) [12:23:52] What on Earth is $includehidden in Xml::namespaceSelector for? [12:24:31] Hello. How am I supposed to run that config-thingie... if my webserver filters every */config/ and points me to the webconfig-tool? [12:25:21] robchurch: apparently useless as the value is not used ;) [12:25:30] brion: Hence the WTF? moment. [12:27:55] friedrich: Rename the config directory [12:27:58] Hello! Does anyone here have experience with the EditOnlyYourOwnPage extension? Some help would be greatly appreciated :) [12:28:23] robchurch: Maybe for hiding namespaces. But as far as I know there is no feature to do it. [12:28:39] No, indeed. [12:28:56] brion, you have *got* to lock up your crack more safely [12:29:07] Someone has been at your stash. [12:29:29] sorry i can't [12:29:35] it's cc-by-sa crack [12:30:22] Goddamn righteous hippie Mac users. [12:30:57] robchurch: Hey! [12:30:57] *robchurch wonders if it was ever actually used [12:31:26] I use it because I love unix-based stuff, but dislike the better versions of linux [12:31:35] brion http://commons.wikimedia.org/wiki/Commons:Categories_for_discussion#Listing_a_category_on_.22Categories_for_discussion.22_page [12:31:41] What, $includehidden? [12:31:44] do you know how to make magicwords work? [12:31:56] Duh. Everyone knows how magic words work. [12:32:02] It's like, well, it's magic, isn't it. [12:32:09] robchurch wel; [12:32:14] they arent working [12:32:19] huh? [12:32:22] not being rendered [12:32:34] just spits out {{CURRENTYEAR}} and etc [12:32:38] uh, magic words generally arn't rendered... [12:32:53] ah, you mean they arn't parsed as magic [12:32:58] yes [12:33:01] White_Cat: In the input box? [12:33:06] robchurch yes [12:33:16] Yeah, it probably doesn't do any of those. I reckon there'll be an open bug about it somewhere. [12:33:45] *White_Cat watches robchurch reckon for bugs [12:34:04] So tha'll be wanting some programmer to wade into t'shite, eh? [12:34:15] There are bugs for everything, most are user mistakes. [12:34:35] all bugs are user mistakes. the question is, which user, using what? [12:34:41] robchurch I would not oppose someone fixing it, indeed [12:34:56] Duesentrieb: Let's play...find the scapegoat! [12:34:57] User or dev, bugs are mistakes in the coding, by someone [12:35:02] Duesentrieb it would be much easier if users werent involved :) [12:35:12] Spin that wheel, and see which ethnic minority we're blaming it on this time! [12:35:17] Computers work perfectly (except for some celerons), its coding mistakes. Sometimes even PHP issues. [12:35:28] robchurch lets blame it to the native hawaiians [12:35:36] TheFearow: Bugs are where developers make mistakes. Users are unable to make mistakes, by nature of systems design. [12:35:39] *brion always blames the mormons, they're too nice to complain about it [12:35:55] If a user does something, and the system does not respond in the manner in which they expected or were led to believe, then someone cocked up. [12:36:05] *White_Cat watches brion blame mormons [12:36:13] robchurch: SOmeone misspelling a template and blaming the devs isnt a dev mistake. [12:36:21] Holy effing shit. [12:36:27] Which ive seen on bugzilla [12:36:51] effi-shi-te? [12:39:06] 03robchurch * r24575 10/trunk/phase3/includes/SpecialProtectedpages.php: [12:39:07] *chat-de-plafond tickles brion and robchurch [12:39:08] This is a public service announcement. When using entities, failure to terminate [12:39:10] them in a semi colon will result in XHTML validation errors. Can all developers [12:39:12] please do us the basic favour of a bit of XHTML validation on their generated [12:39:14] markup? This has been a public service announcement by the Frobozz XHTML [12:39:16] Validation Company. Reach out and specify somebody. [12:39:45] *brion giggles and lightly stabs chat-de-plafond [12:39:55] oww! [12:40:07] it was only a play stab :( [12:40:22] *chat-de-plafond regarde masterbez-vous [12:40:32] o_O [12:40:49] php coding is a lot like masturbation, but less fun [12:41:03] I got my userCan changes in, finally [12:41:16] i haven't reviewed them yet [12:41:19] brion: Did you ever get a chance to look at that category counter thingie I sent you? [12:41:20] but i see they're in there [12:41:26] *chat-de-plafond giggles and waits to be stabbed for messing up the codebase [12:41:26] robchurch: nope! it's on my list [12:41:36] i'll try and get to it when i'm back from taipei [12:41:40] okies [12:42:11] conference ends on the 5th, don't it? [12:42:34] yes, tomorrow's the last day [12:42:43] brion: Is it better being there? I've been watching on the streams for the more interesting sessions. But it isnt that good, especially the ones with bad camerapeople. [12:42:49] we're flying back on monday through tuesday [12:43:11] *shrug* [12:43:16] robchurch: where in the UK are you, anyway? [12:43:17] some sessions better than others, as any conf :D [12:43:33] I think I told you already that I'm in the UK 1-10th of December. [12:43:36] The great thing about Wikimania is that it usually happens from about the first to the sixth/seventh August. [12:43:40] The reason I want to become either an official dev/sysadmin/arbcom/steward/etc, is that the foundation encorages me to come. So I can actually afford it. [12:43:50] and asia is wacky fun outside the conf :) http://flickr.com/photos/brionv/ [12:44:00] Im actually planning to persuade them to organise it closer next year [12:44:12] And as we all know, that period coincides with the dearest anniversaire of my birth. :) [12:44:24] happy birthday, robchurch. [12:44:25] chat-de-plafond: I have absolutely bugger-all idea what I am going to be doing in December. [12:44:31] It's not my birthday [12:44:33] london 2008 would be nice :D [12:44:37] 03(NEW) Grammar error in MediaWiki:Category-empty - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10803 15enhancement; normal; MediaWiki: Categories; (nilfanion) [12:44:44] robchurch: well, for when it is :P [12:44:52] and/or was [12:45:03] If Wikimania 2008 is in London, I might think about coming. ;) [12:45:22] though after this year i'm hoping for someplace in southern hemisphere so it's fucking WINTER [12:45:26] if they make it november/december 2008, I might think about coming. [12:45:34] brion: dude, you DON'T want it to be winter [12:45:41] it's actually hotter and more humid here than florida [12:45:45] hah [12:45:49] *chat-de-plafond had to call off a date with his girlfriend tonight, because of the flu. [12:46:01] Dude, London doesn't have a concept of heat. [12:46:05] You'll be bloody freezing. [12:46:08] I said it should be in europe/england! [12:46:16] 03(mod) Grammar error in MediaWiki:Category-empty - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10803 +comment (10wikipedia.kawaii.neko) [12:46:26] Wikimania 2008 should be in Iceland. Then we can all go get high with avar. ;) [12:46:29] For some reason, rob objected when I brought it up many weeks ago. I assume he was joking. [12:46:30] *rainman-sr votes istanbul [12:46:39] Iceland=green nation. Greenland is the ice one. [12:46:41] *chat-de-plafond votes Sydney [12:46:58] AND ZE VINNER ISS.. SYD-ON-NEE [12:47:04] LIES [12:47:08] *Jack_Phoenix votes London [12:47:15] It should be in the middle of southern africa. Less locals with PCs, so better connection quality. [12:47:16] *Wikipuppy votes London [12:47:27] robchurch: either my apple weather app is lying or it's hot in london [12:48:11] Brion, I hate to say this, but Apple have been consistently lying to you for some time. [12:48:12] 03robchurch * r24576 10/trunk/phase3/languages/messages/MessagesEn.php: (bug 10803) Grammar error in "category-empty"; what Brogmid wrote this? ;) [12:48:41] aha, they are lying [12:48:44] I'd love it if it was in Australia, mind; I might even consider coming - Australia's one of the places on my list to visit. [12:48:47] now that iset it right it looks nice [12:49:06] robchurch: Don't tempt me to stalk you. [12:49:35] brion: Is it a shiny weather app? [12:49:53] sydney looks nice right now. similar temps to a california winter [12:50:10] Mine too. If its late 2008, I could possibly even fly there. But it's a good excuse to go there. [12:50:55] 03robchurch * r24577 10/trunk/phase3/includes/Xml.php: Rewrite Xml::namespaceSelector() before it drives me to totemize somebody. [12:51:09] brion: it's cold! [12:51:10] freezing! [12:51:19] chat-de-plafond: you have no idea how good that sounds right now [12:51:24] White_Cat: By the way, categories don't contain "galleries"; the gallery is the automatically-generated representation of the images and media in it. [12:51:25] 10 degrees FFS [12:51:42] nope [12:51:48] robchurch I confused it [12:51:52] ;) [12:51:57] on commons all articles are called galleries [12:52:04] Fair does. [12:52:05] I though that bug fix was commons related [12:52:16] 03(FIXED) Grammar error in MediaWiki:Category-empty - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10803 +comment (10robchur) [12:52:16] apperantly it is more general [12:52:58] Now, then...this horrible argument. [12:53:02] winter is full of flus [12:53:55] robchurch do you think you can fix the magic word thing as fast? [12:54:02] White_Cat: P'raps. [12:54:02] 10C == put on a jacket [12:54:17] 34C == sweat like a damn pig [12:54:21] brion -272Cs? [12:54:23] Meanwhile, brion peels off another layer of skin. [12:54:53] 34C is "take off your clothes and go to the fucking beach" [12:55:08] 283K's [12:55:10] they have a special beach for that? [12:55:19] yea [12:55:19] yep [12:55:25] the 34Cers beach [12:55:41] brion: Wear a fridge. I saw a really nice looking outfit someone made that had a backpack with the compresser etc in it. YOu just had to wheel around a generator or a car battery with you [12:55:48] <3 [12:55:50] tempting [12:56:07] It was about 50K, custom-made [12:56:11] Get a white one and call it an iFridge. [12:56:12] brion you into fridges? [12:56:15] Which makes it less tempting [12:56:15] iFreeze [12:56:30] White_Cat: brion's into all sorts of shit, the kinkier the better. Fridges are pretty tame. [12:56:37] They have iEverything [12:56:41] yea [12:56:50] We need iWiki. A new name for mediawiki! Planning any name changes? [12:56:51] :) [12:57:01] robchurch I'd have thought brion would be into lesser tame stuff [12:57:17] like mushrooms or girls [12:57:50] Stand back. [12:57:54] I am going to open includes/Parser.php. [12:57:59] Wow, I love these prompt emails from service monitoring companies. I just got an email: "Your server has been down for 32 hours". Very prompt contact. [12:58:01] Eek! [12:58:05] *White_Cat ducks behind the table [12:58:33] *chat-de-plafond puts a shirt on [12:58:37] robchurch: O_O [12:58:39] *brion flips on his code-fragment-protecting-goggles [12:59:07] *chat-de-plafond spilt 1mol/L sulphuric acid on himself on friday [12:59:18] at 80C [12:59:33] mehehehe [12:59:38] "The general U.S. population, however, remains more accustomed to the Fahrenheit scale, which is therefore the only scale that most U.S. broadcasters use in weather forecasts. This has caused some confusion in the weather of Canada. When some Americans hear 32°, they think Fahrenheit, which leads to the assumption that Canada's weather is freezing at best." [12:59:54] crazy canadians [13:00:04] Never even bring their guns to the mall... [13:00:40] *brion is tempted to add a 'citation needed' template, but holds his tongue [13:01:00] *chat-de-plafond adds a [brion neeeded] template [13:01:02] brion [13:01:06] brion: can I redo blocking? [13:01:15] {{brion says}} ? [13:01:36] {{brion was here}} [13:04:26] WAS is about here [13:04:29] brion is no longer here [13:05:21] *brion is still with you in your hearts [13:06:00] brion: as I asked, can I redo blocking? [13:06:06] I want it to be sexy [13:06:22] brion you'd make great promotional mateiral [13:06:27] like with some naked ladies on it? [13:06:30] *White_Cat wants a brion action figure [13:06:40] *White_Cat wants a brion plushie doll [13:06:41] "click here to block" mmmmm [13:07:06] *White_Cat would squeeze the plushie doll making it squeek [13:08:41] as long as it comes with 'developer-stabbing action' [13:08:59] chat-de-plafond: i guess we need something of the sort? [13:10:18] brion you want to stab a pussy (cat)? [13:10:43] *brion gasps [13:10:48] such cruelty [13:11:32] brion: :P [13:12:09] brion: I want it to be flexible enough to resolve the "block uploads" bug, replace protection, and resolve the "single-page block" bug, too. [13:12:32] hmm [13:12:45] i don' really like the idea of restraining orders within the wiki community [13:12:47] kick the fuckers out [13:13:19] I like the idea of "block this range from this page" [13:13:29] so if we have anon vandalism to a single page... [13:13:47] I like how the InputBox extension has a brazen disregard for the whole "don't touch $wgUser" thing. [13:14:03] (When the option in question isn't varied in the rendering hash) [13:14:24] robchurch btw [13:14:31] will the nuke thing be enabled for commons? [13:14:45] Ask a systems adminstrator. [13:14:48] *administrator [13:15:02] *brion hmms at chat-de-plafond [13:15:33] 03(NEW) Add spacename in $wgNamespacesToBeSearchedDefault to fr. wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10804 minor; low; Wikimedia: Site requests; (crochet.david) [13:15:40] *White_Cat drags brion [13:15:44] Trying to get ConfirmEdit to work on a personal wiki. Everything works fine, with the exception of the $wgCaptchaTriggers['badlogin'], which I can't get to trigger. Anyone has any idea why that might be, or should I file a bug report about it? [13:15:50] brion "will the nuke thing be enabled for commons?"? [13:16:13] Dirigible: What version of MediaWiki? [13:16:30] White_Cat: special:nuke? not sure offhand if it works for images [13:16:42] robchurch: 1.10.0 [13:16:51] brion does it? [13:16:54] Dirigible: It's possible the required hook isn't in 1.10.0. [13:16:57] Dirigible: i think i made a shortcut so it onl works if memcached (or another low-level data cache) is set up [13:17:25] ah [13:17:26] as a temp hack, maybe try changing $wgMemc to $messageMemc in there [13:17:28] brion Special:Nuke in meta is as useful as nuking alaska [13:17:32] there isnt much to nuke [13:17:41] White_Cat: you never played SimEarth? [13:17:50] throwing comets at your planet was the best part [13:17:56] brion SimEarth ? [13:17:57] O_O [13:18:06] stop throwing me >:( [13:18:13] *brion hefts Cometstyles and takes aim [13:18:19] O_o [13:19:15] brion: the idea is to be able to specify one or more of "user, ip range, page, permission" [13:20:02] and then it blocks all with that combination [13:20:08] so as wide as "all uploading" [13:20:31] or as narrow as "this user moving this page" [13:21:44] General purpose permissions aren't blocks, though. [13:22:10] hmm? [13:26:28] peraps [13:26:33] Night [13:26:54] i'm not sure how hard i want to think about blocking tonight, i'm poking around with sul stuff before my demo tomorrow morning :) [13:27:14] Pfft, you think you've got problems. [13:27:17] I'm rewriting InputBox. [13:27:22] :D [13:27:51] you poor doomed fool [13:28:14] I can see several arbitrary HTML injection vulnerabilities, by the look of it. [13:28:24] well, it's kind of weird [13:28:29] it escapes on input instead of on output [13:28:57] which is kind of lame [13:28:58] and fragile [13:29:17] Hello. How am I supposed to run that config-thingie... if my webserver filters every */config/ and points me to the webconfig-tool? [13:30:46] friedrich|: rename the directory ... :P [13:30:55] might have to poke something in there to rename 'config' also [13:31:29] if that works.. thank you. [13:34:42] 03brion * r24578 10/trunk/extensions/CentralAuth/CentralAuthUser.php: Make use of $wgAlternateMaster for grabbing the remote dbs [13:36:30] *robchurch works out the best place to do a quick hack for White_Cat's request, with a view to finishing the rewrite later [13:37:03] *Jack_Phoenix wonders when CentralAuth is complete... [13:39:25] *White_Cat watches robchurch work out the best hack from the ceiling [13:39:36] Hack, not whack. [13:39:40] oh [13:39:49] darn. [13:40:05] minor W diference [13:50:46] 03(mod) Search namespaces 106 and 108 by default in French Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10804 minor->normal; low->normal; +shell; summary (10robchur) [13:52:02] getBoxOption 26 1.745 0.067 [13:52:03] getBoxOption 26 0.081 0.003 [13:52:09] oooh [13:54:17] 03robchurch * r24579 10/trunk/extensions/inputbox/inputbox.php: getBoxOption() speed-up: Parse all options in one go and thereafter do a simple lookup [14:12:59] hey, is there any easy way to fetch all the registered users of the wiki? (to include in an extension that needs to list all users) [14:13:26] or do I just do a db query for it? [14:13:34] that'd be the easy way :) [14:14:11] 03robchurch * r24580 10/trunk/extensions/inputbox/inputbox.php: Make that last commit less fragile; ditch getBoxOption() in favour of passing the whole blob to an Inputbox::extractOptions() method. Also replace all variables in the input text. [14:14:40] \o/ [14:14:50] (Same principle, but on reflection, having multiple calls seemed a bit stupid, and if $input changed, then theoretically the whole thing would fuck up.) [14:16:05] Is anyone familiar with the error Fatal error: Call to a member function on a non-object in ObjectCache.php on line 409? [14:16:19] so there is no prebuilt object that already has methods for fetching all the users brion? (other than the userlist special page class) [14:16:40] DFRussia: not that i know of, no [14:16:43] it ain't that hard [14:17:05] MikeloVatiki: what's line 409 in your copy? [14:17:16] I'll have to check [14:18:12] brion: ya, I know (I've been creating some custom tables for this extension so I got the whole query thing down more or less) but I was just hopeful :D [14:18:15] I haven't touched the code for months [14:18:29] no uploading or anything [14:19:20] http://mediawiki.pastey.net/71787 -- get all users, do stuff to them [14:21:29] the line is " $this->table = $dbw->tableName( $this->table );" [14:21:47] in function getTableName() [14:21:59] o_O [14:22:16] MikeloVatiki: ah ok, i think this is a side effect of some error conditions [14:22:32] database connection fails in some way, but something else tries to load from cache which then dies [14:22:41] ok [14:22:54] what is causing the connection to the database to fail? [14:22:59] dunno :D [14:23:23] I haven't done anything to cause this... [14:23:49] practically nobody has used the wiki in the last few days [14:24:24] thanks robchurch [14:24:55] brion:is there a way for me to force a reconnect to the mysql? [14:25:23] it connects on every script run [14:25:36] your job is to find out why [14:25:41] try connecting manually, see what you get [14:25:45] are your database tables there? [14:25:49] are they accessible? [14:25:53] anything in the rror log ont he sever? etc [14:26:03] ok [14:26:11] I'll look into those things [14:28:35] The domain is hosted and it seems that all mysql databases are not able to be connected to. [14:30:10] suspicious [14:30:16] 03robchurch * r24581 10/trunk/extensions/inputbox/ (InputBox.i18n.php inputbox.php): [14:30:18] * Move error output to Inputbox::render() [14:30:20] * Split error condition into "no type" and "bad type" [14:30:22] * Appease the i18n team with a messages file [14:30:24] * Update credits per comments [14:31:16] I surmise then that it is not my fault =P [14:31:29] good call. ;-) [14:31:37] \o/ [14:36:05] 03robchurch * r24582 10/trunk/extensions/inputbox/inputbox.php: Use Titles to get search URLs and keep $wgUser out of parser hooks [14:36:22] That's all I'm going to do for now. I don't want to get contaminated. [14:37:00] hehe [14:37:02] thanks [14:37:47] If it weren't for the fact that InputBox is in incredible use, I'd rip it out and replace it with something better thought out. [14:37:51] hi [14:38:01] As it is, I'll just have to check for feature parity thoroughly if I do complete a rewrite. [14:39:47] I need to fetch the page_id, rev_id or old_id in an extension, how can I do that? [14:40:24] Of what. [14:40:32] the tag gets replaced by an external link which needs that id [14:40:34] of the page [14:40:36] i.e. which do you want, and where is the information coming from [14:40:47] of the page the tag is in [14:41:05] So you want the page identifier of the title being parsed? [14:41:24] hmm [14:41:26] You need to decide; page_id, rev_id and old_id are...well, different things. ;) [14:41:29] 03brion * r24583 10/trunk/extensions/CentralAuth/ (CentralAuthUser.php central-auth.sql sample-data.sql): [14:41:33] Add localnames and globalnames tables to give me more warm fuzzies, to more cleanly handle the optimized lists of existing accounts. [14:41:36] Lazy init just has to check globalnames, and localnames lists *all* whether attached or not. [14:41:49] okay basically [14:42:12] the tag gets turned into a link which can be clicked, the link leads to a script that extracts a part of the source of that page [14:42:15] *confused* [14:42:53] so the rev_id is ideal but probably not achievable because you only know it after you created that revision.? [14:43:00] page_id is fine too :p [14:43:09] 03robchurch * r24584 10/trunk/extensions/inputbox/inputbox.php: Fix up regression in box width validation ;) [14:44:01] If you want to extract the source of the particular revision being rendered at that moment (if any) you'll need a rev_id, which would be in $parser->mRevisionId, where $parser is the Parser passed to your callback function. [14:44:35] If, however, you want the page_id of the currently parsing title, which makes more sense, then that's usually $parser->mTitle->getArticleId(). [14:45:10] I just have $input and $argv in my function? [14:45:20] ah I got it [14:45:27] global $wgParser; [14:45:29] that's the one? [14:45:31] No. [14:45:37] Accept a third parameter, $parser. [14:45:57] (It will usually be the same object as $wgParser, but not necessarily, and portable code is good.) [14:46:13] what's the m prefix stand for in instance variables? [14:46:17] Member. [14:46:37] mRevisionId [14:46:39] lovely! [14:46:42] thank you very very much [14:46:56] hmm... [14:47:29] See docs/design.txt, ~ line 107. [14:47:44] best practices, I assume? [14:48:16] Well, I have to admit it's the one thing I tend not to do. :P [14:48:37] I'm just trying to get a handle on how you guys are doing things. [14:48:57] It's particularly helpful for newbies, including PHP newbies, because it means you can spot something like a missing $this quite quickly. [14:49:32] oh, like when they attempt to directly access mXxx inside a method sort of thing? [14:51:18] No, like when you do, for instance, function foo() { $baz = new Baz(); $baz->bat( $bar ); } [14:51:32] i like {# [14:51:34] (where foo() is a method of a class with a member $mBar) [14:51:57] PHP would see $mBar and create a local copy without further thought, when what was meant was $this->mBar. [14:53:17] I don't see $mBar in your example. ;-) [14:53:30] 03brion * r24585 10/trunk/extensions/CentralAuth/CentralAuthUser.php: poke [14:54:24] Yep, see how easy it is to forget these things? ;) [14:54:51] ya, I see what you're gettin' at. [14:55:17] is that generally a PHP best practice? or just something you guys started sticking to? [14:55:45] Some convention whoever started doing it liked. [14:55:45] brion, thanks for your diagnosis. [15:08:55] robchurch: thanks again, very helpful channel.! [15:16:52] 03brion * r24586 10/trunk/extensions/CentralAuth/ (CentralAuth.php CentralAuthPlugin.php CentralAuthUser.php): fixups for migration add [15:21:03] hi @ll [15:43:54] 03brion * r24587 10/trunk/extensions/ (3 files in 2 dirs): [15:43:54] Some interaction between Special:Renameuser and the CentralAuth system: [15:43:56] * Prevent renames of attached local accounts [15:43:58] * Update migration records when renaming an unattached account [15:45:52] \o/ [15:45:59] yay, CentralAuth \o [16:06:41] 03(NEW) Fix undo link for ?diff=0 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10805 major; normal; MediaWiki: History/Diffs; (kalan.001) [16:34:37] 03brion * r24588 10/trunk/ (5 files in 2 dirs): [16:34:39] Clean up autocreation a smidge... let the auth plugin know whether the user [16:34:41] you're setting up was created manually or by the autocreation path, and have the [16:34:43] CentralAuth plugin know whether it should be attaching (for autocreate) or not [16:34:45] (for non-autocreate) [16:36:39] 03brion * r24589 10/trunk/phase3/includes/AuthPlugin.php: update prototype [16:40:43] Hi, can anyone ask [[ca:User:Lohen11]]Hello! Can you have a llok to http://ca.wikipedia.org/w/index.php?title=Especial%3ALog&type=block&uselang=en ? Why I can't edit Wikipedia if Lohen11 unlocked my bot? [16:44:09] 03(mod) Mass deletion of images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8527 (10cbrown1023) [16:44:25] 03brion * r24590 10/trunk/extensions/CentralAuth/SpecialMergeAccount.php: tweak [16:50:09] 04(REOPENED) Use Arabic numerals for the Malayalam language - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10591 summary; +comment (10shijualex) [16:56:53] 03brion * r24591 10/trunk/extensions/CentralAuth/ (CentralAuth.i18n.php CentralAuth.php SpecialMergeAccount.php): dry run mode for demoing and live testing [17:20:26] 03brion * r24592 10/trunk/extensions/CentralAuth/WikiMap.php: fix for non-local server settings [17:20:43] Is there a way to restore the whole wiki to a state it was in 2 days ago? [17:20:56] Without backup and restore of the database? [17:21:08] nope [17:21:27] Would make dealing with large scale vandalism easier :( [17:31:09] Al: I wrote a patch for that, it is in bugzilla, you could vote for it and write a comment [17:33:01] 03brion * r24593 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: trim this ftm [17:39:21] 03brion * r24594 10/trunk/extensions/CentralAuth/WikiMap.php: space->underscore [18:34:13] 03(FIXED) Use Arabic numerals for the Malayalam language - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10591 +comment (10shijualex) [18:48:59] 03(mod) Fix undo link for ?diff=0 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10805 major->normal (10robchur) [18:53:48] anyone worked w/ adding hooks before? I'd like to add a hook to Skin::outputPage, but I'm not sure what the argument I should pass wfRunHooks. Like, would wfRunHooks('SkinBeforeBodyClose', &$out) be acceptable? [18:54:55] Or is something like wfRunHooks('SkinBeforeBodyClose', array($this, &$out)) more desirable? [18:55:46] hi there [18:56:27] hi [18:57:24] is your MW browsing is slow like me ? my firefox take 7 secondes to show my wiki page... [18:57:42] on mw.org? [18:57:54] no on my own web site [18:58:23] sounds like a problem w/ your host, your connection, or your install. 7seconds is like forever. [18:59:17] I have a svn & webdav, showing pages in 1 seconde* [18:59:27] on the same host [18:59:33] hmm [19:00:07] If it's public, I can take a look from here. [19:00:19] no sorry, it's not :/ [19:00:24] ;-) [19:00:53] is there any debug mode ? [19:00:57] ya [19:01:18] http://www.mediawiki.org/wiki/How_to_debug [19:01:40] it gets REAL big REAL fast. especially if you have an active user base. [19:01:51] perhaps my images is decrease the speed [19:02:12] *decreaseing* [19:03:43] *decreasing* [19:03:44] :) [19:04:00] ( my english sucks ) [19:06:13] Is there a way to rotate uploaded images in Mediawiki? [19:06:30] when you tag them in a page [19:07:01] like for example [[Image:whatever.jpg|Rotate ]] [19:12:55] 03rotem * r24595 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Update for he. [19:14:23] rotate, huh? [19:15:05] anyone worked w/ adding hooks before? I'd like to add a hook to Skin::outputPage, but I'm not sure what the argument I should pass wfRunHooks. Like, would wfRunHooks('SkinBeforeBodyClose', &$out) be acceptable? [19:15:12] Or is something like wfRunHooks('SkinBeforeBodyClose', array($this, &$out)) more desirable? [19:15:31] 03robchurch * r24596 10/trunk/phase3/ (RELEASE-NOTES includes/DifferenceEngine.php): [19:15:34] * (bug 10805) Fix "undo" link when viewing the diff of the most recent change to a page using "diff=0" [19:15:36] * DifferenceEngine::loadRevisionData() wasn't updating $mNewid when loading the newer revision, which doesn't make too much sense if it ends up left as 0 (which is impossible) [19:15:39] You don't generally pass objects by reference any more, unless there's a specific reason for it. [19:15:52] just wondering what is preferred. [19:15:54] ;-) [19:16:06] don't wanna mess up the MW mojo. [19:16:42] 03(FIXED) Fix undo link for ?diff=0 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10805 +comment (10robchur) [19:17:20] Isn't Skin::outputPage() overridden by SkinTemplate, and probably again by at least MonoBookSkin? [19:17:45] good question... [19:17:50] *TimLaqua goes to look [19:17:52] robchurch, thank you! [19:18:18] 03(mod) Sidebar doesn't exist in Nostalgia skin - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10794 normal->low; summary (10robchur) [19:18:22] No problem. [19:18:45] but it seems to be not applied to wikimedia projects (enwiki and ruwiki at least) [19:18:52] some hours/days, I guess? [19:18:58] I didn't want to duplicate things in the undo code, though; if anything's unclear, then it should probably bail. [19:19:04] That's correct, changes don't immediately go live. [19:19:33] Probably the next big update will be after the conference, but you'll have to check with Brion on that one. [19:20:40] 03(mod) $wgLoadBalancer has wrongType - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10796 (10robchur) [19:20:57] TimLaqua: I build a fresh install of last MW 1.10 . I think my old MW is configured without cache. that can explain the slow process , no ? [19:21:20] SkinTemplate::outputPage overwrites Skin::outputPage, but SkinMonoBook only appears to overwrite SkinTemplate:initPage [19:21:22] robchurch, is test.wikipedia.org updated manually as well? [19:21:48] Indirectly; test.wikipedia.org runs off the copy of the code that's checked out before it's all synchronised live. [19:22:13] nocache sounds like it would slow things down. I'm not too familiar with the cache process. ;-) [19:22:14] TimLaqua: The ideal situation would be for skin developers not to have to worry about arbitrary hooks at all. [19:23:26] robchurch, So if I wanted a hook for script injection just prior to body tag close (which is in SkinTemplate::outputPage() from my current understanding) - how would I make it portable? [19:23:56] Well, now, there's the sixty-four million dollar question. [19:24:01] How to make our skins not suck. [19:24:33] you confound me, robchruch. ;-) [19:25:19] robchurch, the best way is to disable anything except myskin... [19:25:34] and monobook, of course. [19:27:35] hmmm... could it be assumed that all skins would (should) have a call to Skin::bottomscripts() ? [19:42:25] Question: Is it ok to enable a specific file extension upload, then if later, the file uploads cause too much bandwidth issues, to not allow that specific file upload? [19:43:06] (Ie, will it cause mediawiki to do anything weird, such as not letting people access extensions .zip even though they were uploaded when it was allowed) [19:43:35] i want to enable a couple extensions, but i am not sure if they will cause too much bandwidth, but i don't want to cause problems down the road if i have to disable it [19:46:40] Leefmc: As far as I know, the whitelist is only checked on upload; existing files will be rendered/mangled just fine. [19:46:50] ty :) [19:50:11] 03(mod) Interface links should always be configurable via their own messages ( as sidebar etc.) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10703 (10robchur) [20:48:07] is there any way I can get all mediawiki functions available in - in this case Skin.php - a test file? [21:22:56] valhallasw, sure, install MediaWiki on your computer. ;-) [21:23:02] yeah [21:23:05] and require(lots) [21:23:09] windows? [21:23:12] it's working now ^_^ [21:23:14] nah, linux [21:23:25] the linux is mad fast for LAMP+MW. ;-) [21:23:57] you posted in Support desk too, right? [21:24:04] eh? no [21:24:36] someone else was asking about a Skin testing platform. [21:24:46] figured if it was you, I could archive the question. [21:24:49] ah [21:24:57] so you're writing a new skin? [21:25:03] no [21:25:07] well [21:25:08] that, too [21:25:13] just hackin' it. ;-) [21:25:15] but rewriting buildSidebar() first [21:25:22] to allow for nested links [21:25:40] and while doing that, cursing if (wfEmptyMsg($line[1], $text = wfMsg($line[1]))) $text = $line[1];-constructs [21:26:33] both the link and the title of links in the sidebar are translated through MediaWiki: [21:27:02] darn that compatibility stuff. ;-) [21:27:14] not sure if it's compatibility [21:27:17] but it sucks anyway :D [21:27:25] isn't it for language compatibility? [21:27:34] yeah, probably extension compatibility [21:44:05] hi [21:44:40] hi [21:47:28] I'm using mediawiki 1.9.3 and I'm trying to write a template page that uses parser functions. in particular i want to use #if like this: {{ #if: {{{slides|}}} | Slides: {{{slides}}} }} [21:48:00] but my mediawiki installation doesn't seem to evaluate that code at all [21:48:10] download ParserFunctions extension [21:48:35] http://svn.wikimedia.org/viewvc/trunk/extensions/ParserFunctions/ [21:48:38] bah [21:48:40] bad URL [21:48:42] a moment please [21:48:55] *Duesentrieb thinks parser functions should be installed per default, just to give us some peace [21:48:58] oh.. didn't know that was an optional feature, thx :) [21:49:13] Duesentrieb: agreed, very good idea :-) [21:49:29] phil_fry: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ParserFunctions/ [21:54:34] hmmm.... what are allowed usernames for MediaWiki? [21:55:08] do they have to start with an alphanumeric, or can I have a name like !pilo? [21:57:29] I guess I can have a name like !pilo [22:07:30] okay [22:07:52] first steps at the recursive sidebar made :) [22:10:49] supporting more than one * level? [22:10:52] yes [22:11:04] thanks for cleaning up my crappy code:) [22:11:14] heh, that code is yours? [22:11:20] pssht, use comments :D [22:11:41] heh, yeah [22:11:46] it's very hackish [22:12:07] especially the message inclusion :P [22:12:20] *TimLaqua never noticed that it didn't support multiple levels. [22:12:37] still a few things to solve though [22:12:43] what to do with constructs like [22:12:44] ** boo [22:12:47] **** boo [22:12:56] you gonna throw dhtml dropdowns and flyouts and what not? [22:12:59] ;-) [22:13:12] that could be implemented in a skin then, yes [22:13:27] this is purely the backend :) [22:13:45] it's all the same end. MW feels pretty darn flat to me. [22:14:34] valhallasw: I had actually planned to use the license seloctor code I wrote later for the sidebar at some point, so you might want to look at that to see if it's usable [22:14:40] it handles arbitary nesting stuff [22:14:42] avar: [Menu][0][0][0] or [Menu][0][Children][0][Children][0]? the latter is probably easier to parse in the frontend [22:14:45] :O [22:15:22] where can I find that code? [22:16:08] includes/License.php iirc [22:16:11] it even has tests! [22:16:17] $ make test :) [22:16:20] omg [22:19:29] except that I use a regexp to count asterisks, that pretty much is the same setup [22:20:01] I use a regexp that just throws out stars, text and title [22:21:42] avar: if I understand correctly, it would render **test\n****test2 as if it were **test\n***test2? [22:22:27] oh hey avar! good to see you around :) [22:23:12] Duesentrieb: same:) [22:23:22] Hi avar. :) [22:23:22] valhallasw: Probably, I don't understand it:) [22:23:29] avar: *grin* [22:23:29] I just wrote it ! [22:23:33] :] [22:24:01] avar: have a peek at Extension:Gadgets, if you like. I'm curious what you think of it. [22:24:32] (and it uses a similar type of menu-shit encoded in system message) [22:24:40] Is there a way to upload mass images? [22:24:55] I have 40 images for a tutorial i need to upload, and doing one by one is painful [22:25:12] im browsing mediawiki but mostly i am finding experimental extensions [22:25:26] Extension:Multiple Upload [22:25:38] or use an image uploader bot [22:26:02] http://www.mediawiki.org/wiki/Extension:MultiUpload [22:26:12] or use image import from the command line [22:26:20] Duesentrieb: is it in svn? [22:26:45] avar: sure. I wan't even hoping you'd look at the code, though :) [22:27:01] heh, url then?:) [22:27:13] Jack_Phoenix: i saw that one, but its in the "unknown" status, doesn't that mean it is, in theory, beyond unstable? [22:27:19] I don't even use beta extensions [22:27:21] no [22:27:29] it means that it's status is unclear [22:27:30] but [22:27:35] avar: http://www.mediawiki.org/wiki/Extension:Gadgets [22:27:37] I'd say it's pretty stable since Wikia uses it [22:27:42] avar: you havn't been around for a while :) [22:27:49] true:) [22:28:11] Jack_Phoenix: From the looks of the image its still one image by one image, is this true? [22:28:29] guess so [22:28:32] ah [22:28:57] oh cool, you can add preferences now:) [22:29:44] avar: i added the hooks especially for that. was pretty simple, why the fuck did no one do it earlier? http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialPreferences.php?r1=24477&r2=24476&pathrev=24477 [22:30:01] Duesentrieb: How does the "command line" work for mediawiki? [22:30:04] cuz that no one guy is a lazy fuck [22:30:08] :) [22:30:15] Leefmc: like it works for any other program? [22:30:39] ah, i have no experiences with command line php, i'll look into it [22:30:49] Leefmc: it has nothing to do with php [22:30:57] sql? [22:31:00] well, you tell php to run the script on the command line, yes [22:31:03] direct to db? [22:31:10] no, it's php [22:31:20] but... [22:31:25] well, all you do is run it, see? [22:31:30] heh [22:31:31] sure thing [22:31:35] php maintenance/importImages.php whatever [22:31:40] ah [22:31:41] gotcha [22:31:42] :) [22:31:58] i'll look into that, thanks :) [22:34:20] Duesentrieb, when you threw those hooks in, how did you decide which arguments to pass wfRunHooks? [22:35:16] TimLaqua: well, two criteria: what do i have, and what do i need? But usually, it's just $this plus the parameters of the function you call wfRunHooks from. [22:35:37] ok [22:36:32] so as a dev, you just throw hooks where you need them? [22:43:41] any strict 80-chars-wide rules for mediawiki? [22:45:52] TimLaqua: more or less. if it makes sense (tm). [22:46:50] TimLaqua: more hooks are good, but their semantgics should be clear, and the code shouldn't be completely swamped with them. Also, performance has to be considered - calling hook functions in code that is called a *lot* can slow things down [23:01:03] has anyone successfully used the API to login and retrieve a watchlist? [23:01:16] avar: 'active' should be true if the page linked is the same as the current page I suppose? [23:01:55] as that has not been implemented in your version yet :D [23:02:35] hm, not very useable when cached though [23:02:52] or does some later parser function insert the data? [23:03:07] avar: any thought on the gadgets thingy? If yo have a good suggestion, i'd like to get it in before brion reviews this baby :) [23:12:33] 03(mod) Template parameters unavailable to parser tags - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2257 (10Betlista) [23:15:00] woot [23:15:03] it's working :D [23:17:43] avar: http://arctus.nl/~valhallasw/mediawiki/qravel/MediaWiki:Sidebar the first five-level-test fails, but the others are working :) [23:19:36] *avar yawns [23:19:38] sleep:) [23:19:42] gn :) [23:19:44] Duesentrieb: I still have no idea what it's actualyl about:) [23:21:35] there [23:21:36] fixed :) [23:21:47] only some unneeded
    s to clean up [23:25:21] Is the 'patrol' right default in MediaWiki?