[00:00:11] (because all preferences are saved for all options) [00:00:13] http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions [00:00:19] ok I look Splarka , thanks [00:01:02] you might have to physically disable skins or something to force it for older users [00:10:40] 03(mod) Compare selected versions should be a link, not a button ( JavaScript) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16165 (10siebrand) [00:11:17] Mike_lifeguard: I tested the patch. Added a screenshot and comments to the bug. [00:12:09] yes... I didn't know htmldiff existed until earlier today :) [00:12:16] hehe [00:12:36] (zzz...) [00:16:02] wow, htmldiff is cool ^_^ [00:16:36] String substitution is never recursive, right? [00:16:50] (in PHP that is) [00:17:14] *davidmccabe is about to use create_function() for the first time. [00:18:16] str_replace()? no, it does a single pass [00:18:28] beware of create_function(), though, it's the devil's work ;) [00:19:42] hi brion. [00:20:17] brion_: Does anybody actually use $wgEnotifImpersonal? [00:20:32] brion_: I am greatly refactoring UserMailer. [00:20:40] Splarka , $wgDefaultUserOptions['skin'] = false; <=== ? [00:20:58] i'll kill any code containing eval() or create_function() on principle :) [00:21:13] (function() {...}) ftw! [00:21:15] brion_: There's some code that's outputting annoyingly many wfDebugs. Do I need to keep those? [00:21:22] $wgDefaultSkin = 'StellarBook'; [00:22:04] brion_: in particular: http://pastie.textmate.org/private/ejbempogmzswffknxyej6a [00:22:07] if they provide useful informtaion they shoul dbe kept [00:22:37] ok [00:24:54] Escobar: there's a maintence script to change user preferences for existing accounts as well [00:25:53] whos the script ? [00:26:05] sorry my english is verry bad [00:26:24] I think there is... [00:27:31] brion_: http://pastie.textmate.org/309945 but that's so cute, how could you oppose it? [00:28:47] oh christ, the evil :D [00:28:53] Escobar: userOptions.php [00:29:00] i love lambdas, but i hate eval()s [00:29:06] too much danger of kaboom :D [00:29:13] brion_: it is a lambda, just a really broken one. [00:29:17] hehehe [00:29:24] brion_: There's no danger if the values going in are static, not user-supplied. [00:29:38] it also memory-leaks; created functions aren't garbage collected until the php script ends ;) [00:30:12] ok MrZ-man I look [00:33:06] brion_: (intended usage, although it's not big enough of a win to get in an argument over.) http://pastie.textmate.org/private/26aw34klaisyx14cnziyq [00:34:36] eww? :) [00:34:45] putting code in strings is always nasty [00:34:53] yeah, not that big of a win. [00:34:54] fucking php. [00:35:05] :D [00:35:08] anyone here using fckeditor? [00:35:23] i've uncommented the paragraph alignment and text color [00:35:27] but i still don't get em [00:36:06] brion_: we can at least agree that this is obnoxious and some sugar should be found? http://pastie.textmate.org/private/9i3wt7tboxykt9tlujmkg [00:36:41] hmmm, actually that's a good case for horizontal scrolling. [00:39:47] *brion_ looks [00:40:36] not sure a prettier way to do that, honestly [00:40:48] i think originally it was just a big pile of ||d clauses [00:40:58] which sucked when you didn't get any mail cause it wans't clear what the fuck was happening [00:41:07] the debug messages clarify what the hell happened [00:41:08] right, I can see that. [00:41:51] looks like we're headin out [00:41:52] catch ya later [00:48:35] davidmccabe: http://img367.imageshack.us/img367/9500/evailyv5.jpg [00:52:18] 03(mod) Compare selected versions should be a link, not a button ( JavaScript) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16165 +comment (10matthew.flaschen) [00:56:15] 03(mod) Compare selected versions should be a link, not a button ( JavaScript) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16165 (10matthew.flaschen) [00:57:12] Splarka: wow, did you just make that? [00:57:34] I've never had a 'shop just for me. [01:03:42] *Splarka hides [01:09:05] 03dale * r43287 10/trunk/extensions/MetavidWiki/ (18 files in 9 dirs): more code for archive.org external repository support [01:23:36] Does anyone know of a wiki where I can test the flagged revisions extension? [01:24:21] http://en.labs.wikimedia.org/wiki/Main_Page [01:25:34] ah, forgot about that one [01:26:19] hmmm. [01:26:37] by "test", I mean do all the sighting and stuff, does that need a special user permission? [01:26:52] 03(NEW) s:cs: settings - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16277 15enhancement; normal; Wikimedia: Site requests; (danny.b) [01:27:58] oh I see, it lets you set them yourself. odd system but I guess it works [01:33:34] gurch: obviously in the deployed versions you can't set them yourself [01:34:23] yes I get that [01:36:06] dear me this is all a bit fiddly [01:36:31] and there's about a million different ways to configure it [01:36:50] yeah, how different is de.wikipedia's setup from the demonstration one? [01:37:27] even with the interface language set to english it's a little hard to grok how it works there [01:41:04] gurch: you should see it with deletedrevs [01:41:17] the UI looks like godmode_heavy (ick) [01:42:28] well fortunately I don't have to implement that [01:47:53] how do I make it so only registered users can edit/create pages [01:49:32] hmm, seems there's a "detailed" interface as well. so the one I was using was the simple one! :/ [01:51:17] !access | DrJ [01:51:17] --mwbot-- DrJ: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [01:51:34] been there, read that [01:51:36] tried that [01:51:38] didn't work [01:52:03] I added $wgGroupPermissions['*']['edit'] = false; [01:52:08] to AdminSettings.php [01:52:19] did not work [01:54:07] you don't have a LocalSettings.php ? [01:54:25] hmm, I thought it should go in AdminSettings [01:54:40] *DrJ is very new to this (only have a few hours with it thus far) [01:55:47] hmm [01:55:49] that worked [01:55:52] but one question [01:55:59] can I make it so the edit button still appears? [01:56:09] that way they can click on it and be told they need to register to edit [01:56:20] it should be there as [view source] [01:56:33] which you could just reword in the language config, see Special:Allmessages [01:56:48] hmm [01:56:56] why is it denying them from viewing the source [01:57:14] what version are you using? [01:57:44] I installed it with plesk [01:57:48] so ... not really sure [01:57:52] any quick way of finding out? [01:58:19] thanks Splarka my skin is good for default :) http://www.bullteam.net/mediawiki/index.php/Accueil [01:58:21] Special:Version [01:58:31] 03aaron * r43288 10/trunk/phase3/includes/filerepo/LocalFile.php: Make sure the top rev is not hidden [01:58:44] 03(NEW) FlaggedRevisions extension: API "sighting" of revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16278 15enhancement; normal; MediaWiki: API; (matthew.britton) [01:58:44] rar [01:59:19] 1.11.0 [02:00:54] mmm, I think at the time in that situation you couldn't view source, sort of a bug [02:01:09] if you protect the page then viewing the source becomes possible again, IIRC [02:01:27] they could also use action=raw I suppose [02:01:51] since 1.13 I think, */read = false, lets people view source: http://wikimediafoundation.org/w/index.php?title=Staff&action=edit [02:02:25] hmm, yea [02:02:30] I'll probably upgrade [02:02:32] Escobar: looks a lot like monobook, heh [02:04:33] yes just a color changes, for my users is perfectlly, begginners linux [02:07:54] if you are the skin on upload, i'm interresing [02:09:22] I little to give my official site ? [02:21:27] 03aaron * r43289 10/trunk/phase3/includes/Linker.php: Code space tweaks [02:29:55] AaronSchulz: go to bed! [02:31:58] it's not even late [02:33:38] anyone here good with php? (the people in ##php aren't very helpful) [02:36:24] What's the best way to add two special pages in an extension? [02:37:02] <^demon> chuck: Write SpecialWhatever classes that extend SpecialPage. [02:37:32] <^demon> Then add them to $wgSpecialPages :) [02:37:57] ^demon, File naming schemes though? [02:47:17] 03(mod) rcid cannot be easily retrieved - implementation seems patchy - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12394 +comment (10matthew.britton) [02:48:02] <^demon> chuck: Check out my InterwikiList extension in svn, it's a really simple example with one specialpage, nothing fancy. [02:50:28] 03aaron * r43290 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Don't bother showing notice for deleted revs [02:52:40] ^demon, I'm talking about what I should call the file names if I have more than one special page [02:53:24] <^demon> SpecialWhatever, SpecialSomethingElse, etc? [02:55:42] is there any good editing applications you can run on your computer to edit mediawiki pages [03:24:35] 03(mod) Enable Special:Nuke on en.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15783 +comment (10rjd0060.wiki) [03:24:47] hi [03:24:54] can i change the layout of AllPAge? [03:37:43] Hi gang, just a quick question: How do I (un)suppress error messages in mediawiki? [03:38:29] I've downloaded a mediawiki install for local & need to make some edits. Currently, a lot of errors bring up a blank white screen, where I could probably use some error msgs. :-) [03:41:46] thebaggage, There's a page about debugging on mediawiki.org, one mo [03:42:23] thebaggage, http://www.mediawiki.org/wiki/How_to_debug [03:42:42] Many thanks chuck - much appreciated. :-) [03:42:48] yw [03:43:35] *chuck <3 MediaWiki Profiler [03:43:44] so useful for figuring out why pages take 30 seconds to load [04:16:54] i'm trying to find smthing to convert 1436.1 minutes into 23:59:00. i try {{ #time: G:i:s | 0.00 +1436.1 min }}, but it returns odd results [04:18:05] ...like 9:25:00 [04:19:16] if i do it like 0:00 +0 +1436.1 min, i get 0:01:00 [04:26:21] harpette: seems to have probs with decimals? [04:26:51] ah, indeed, i haven't tried w/out the .1 suffix [04:27:08] silly me [04:27:30] {{#expr:{{{1]}}} round 0}} [04:27:44] oops, typo, but also a fallback is good: {{#expr:{{{1|0}}} round 0}} [04:27:57] then it should be happy [04:28:52] you mean i run the 1436.1 through your code 1st? [04:29:53] right, if it is a user-input parameter [04:30:40] but then it returns 23:56:00, which is not accurate [04:31:35] 1436.1 minutes into 23:59:00 [04:31:36] neither is that [04:32:06] how much do you get? [04:32:15] well, lets math it out [04:32:27] 86166 seconds [04:32:40] oh wait, perhaps that 56 is accurate indeed, i'm confused [04:32:55] 23:56:06 [04:33:03] {{#time: G:i:s | 0.00 +86166 sec}} [04:33:09] in fact, maybe you should do that [04:33:24] +{{#expr:{{{1|0}}} * 60 round 0}} secs [04:34:13] hmm [04:35:02] yah, that works [04:35:07] {{#time: G:i:s | 0.00 +{{#expr:({{{1|1436.1}}} * 60) round 0}} secs}} [04:35:30] Hi gang. Just wondering, is it possible to upgrade MediaWiki 1.9 --> 1.13 without command line access? (cPanel, FTP only) [04:35:51] Splarka: yes, of course. Thank you much. [04:36:35] enjoy [04:36:46] will do [04:48:26] 03river * r43291 10/trunk/tools/ts-specs/ (TSmbuffer.spec patches/mbuffer-01-destdir.diff): TSmbuffer: new spec [04:52:27] Splarka: eventual solution: http://pastie.textmate.org/private/yfbndbty4yop76lngrrnq [04:59:56] hmm [05:00:27] lemme venn diagram for ya [05:01:02] davidmccabe: http://img368.imageshack.us/img368/9282/vennsy7.jpg [05:01:25] 03(NEW) Hidden categories should appear below textarea when previewing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16279 15enhancement; normal; MediaWiki: General/Unknown; (public) [05:01:59] That bug is strange. I probably should've elaborated on it more... [05:02:02] Splarka: ah, I didn't realize that. [05:05:25] davidmccabe: I resist most urges in that vein, listening to all the devs whine about it constantly [05:05:36] fucking php. [05:05:46] which is the most common^ [05:05:56] <_mary_kate_> hmm, it's like archeology: https://wikitech.leuksman.com/view/Server_admin_log/Archive_1 [05:06:20] MZMcBride: you should have made the bug summary " Hidden categories should appear below textarea when previewing (n/t)" [05:06:47] <_mary_kate_> log entries from jwales ;) [05:07:19] Splarka: Wut? [05:07:23] Splarka: Well just so you know, this particular PHP doesn't spawn a host of diabolical fiends. [05:08:31] MZM: nt for no-text, when the whole point of the post/email/whatever is in the topic [05:08:44] Oh. [05:08:51] Splarka: I'm happy for you that you stay away from these things. Sorcery endangers the soul of the practitioner. [05:08:53] Yes, well... bug summaries change. [05:08:53] mmm, fiend_fork() [05:09:07] davidmccabe: well, think about JS for a second [05:09:29] instead of having to support a few hundred types of versions and servers... [05:09:44] Splarka: when I do that, I get the urge to kill, is that normal? [05:09:45] you have to support a billion individual browsers, configurations, operating systems, and users [05:09:57] client side execution for the pain [05:10:00] It was an elf once. Then the Dark One twisted it to his evil designs... [05:10:25] Splarka: MW should use a toolkit instead of making our own sucky mini toolkit. [05:10:52] Agh... [05:11:13] :/ That common misconception is fairly annoying [05:11:18] luckily js is usually an enhancement [05:11:38] Dantman: That we don't use a toolkit? ;) [05:11:41] A) It's not JavaScript that's the issue... it's browser side scripting, which may be either JScript or mozilla's JavaScript [05:11:43] so if it breaks in 1% of browsers to have collapsing content, they won't lose info, just have more to scroll [05:11:55] Both are dialects of ECMAScript [05:12:02] B) It's not [05:12:05] bleh [05:12:06] Dantman: Pedantics. Bah. [05:12:55] B) It's not the scripting language that causes people issues... For the most part both JScript and JavaScript 1.5 behave the same... The issue is the wide variety of implementation of the DOM [05:13:02] DOM is not JavaScript [05:13:36] Dantman: wanna help me refactor UserMailer? [05:13:52] davidmccabe: Sorry, I'm playing around with jslibs at the moment [05:14:19] ^_^ I think I'm going to try and implement the fastcgi protocol in JavaScript using jslibs and SpiderMonkey [05:15:06] My current project is helping turn JavaScript into the next booming web programming language. [05:15:19] SpiderMonkey is alright alone, but lacks libraries [05:15:45] ^_^ So I'm trying to help out on one of the projects that is building libraries to use with SpiderMonkey [05:16:05] ;) Or rather, the library is actually using TraceMonkey if you understand what I'm talking about, heh... [05:28:03] hey davidmccabe [05:28:13] davidmccabe: How's lqt coming? :) [05:40:44] werdnus: coming slow, making it shiny. [05:54:07] http://www.washingtonpost.com/wp-dyn/content/article/2008/11/06/AR2008110603948_pf.html [06:02:30] if I don't have shell access on my hosting platform, are there any other ways to run maintenance/update.php ? [06:03:07] !shell | mboman [06:03:07] --mwbot-- mboman: Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [06:03:16] !phpshell | mboman [06:03:16] --mwbot-- mboman: PHP Shell emulates shell access to a system. Read more about it and download it at < http:mgeisler.net/php-shell/ > [06:51:48] is the "did you mean: blah" feature of wikipedia a new feature of mediawiki, or an extension? [06:57:26] naught102: it's in an extension, because Wikimedia updated to Lucene 2.1 [06:57:39] I think it might exist in the default search setup. [06:57:50] werdnus: ok, thanks [06:58:45] any of you know how to setup MW to work with FastCGI? [07:13:39] vsrinivas: google is your friend. [07:13:59] Wow... that's the second coincidental topic today [07:15:03] get jslibs to work and start fooling around with cli driven js scripts... pop over here... and there is a big JavaScript topic going on [07:15:37] vsrinivas: You shouldn't need to do anything special. [07:15:46] Then, I start working on an implementation of FastCGI in JavaScript... I pop over here... and someone has a FastCGI question [07:15:46] Just set up PHP with fastcgi and MW will work fine. [07:15:57] FastCGI in JAVASCRIPT? [07:16:04] excuse me while I throw up :P [07:16:07] You might have short url issues [07:16:14] werdnus: Why's that? [07:16:27] Dantman: I hope you mean a fastcgi HANDLER for javascript. [07:16:42] I suppose... I think? [07:16:43] rather than an implementation of fastcgi in javascript. [07:17:04] You want to be able to go to http://my.site/some/file.js and have it executed server-side? [07:17:33] Well, I suppose I'd go for something more like .sjs, but something like that [07:17:43] yeah, .js would conflict. [07:18:08] I'm basically writing a bit for jslibs so that it can use FastCGI [07:19:20] Though, I'm of the party that would like to go to http://my.site/foobar and have some core .js script run and given the path info [07:19:50] I prefer web apps that handle their own paths, over a collection of scripts [07:20:21] s/, over/, rather than/ [07:20:55] *werdnus is on the opposite side. [07:21:14] well, I prefer collections of scripts to one monolith [07:21:24] but OTOH, I like the idea of a web app handling its own paths [07:21:42] Never said it would absolutely be one script [07:21:53] Just something that has a single entry point to start up [07:22:14] Similar to MediaWiki's /index.php which everything goes through [07:22:49] Cept, I prefer cleaner implementations than what PHP/apache allows [07:23:14] Mod rewrite and Aliases is yucky [07:24:01] ^_^ I like to treat MediaWiki as a whole web app, and setup fastcgi with nginx so that it runs /index.php like the entry point to a web app [07:24:26] ie: Any /wiki/ /edit/ or such request [07:24:48] I just need to figure out what the first 16 bytes of a request are [07:38:43] hello, how can I use a template and prevent it from adding the page it's being used in to a certain category? [07:38:58] did not do the job [07:45:18] How did you format that? [07:45:36] Putting the category tag inside of a noinclude is the correct way to do it [07:46:14] Dantman: What I'm doing is a templates catalogue, so when I use a say Stub template, the page get's added to the "Stub" categorie [07:46:24] I want to avoid that unwanted categorization [07:47:45] You don't want the page put in [[Category:Stub]] when you put {{Stub}} in the page? [07:47:55] 14(WFM) API needs an easier way to get section numbers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16276 +comment (10roan.kattouw) [07:48:03] Dantman: right [07:48:53] My question here is, if you are using a {{Stub}} template, what purpose do you even have for putting the [[Category:Stub]] in the {{Stub}} template at all? [07:48:55] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10cyp) [07:49:11] Dantman: http://es.gentoo-wiki.com/wiki/Usuario:TC-Rucho/CatálogoPlantillas [07:49:53] Dantman: Adding [[Category:Stub]] to the {{Stub}} template adds every page containing the stub box to the stub category which is really handy [07:51:18] Ok, this is probably a language barrier mixing up the conversation so one can't understand completely what the other is talking about [07:52:27] From what you've said I've read it as literal English and it appeared like "I want to put {{Stub}} in an article, but I don't what that article to be put in the Stub category, while I have [[Category:Stub]] inside the Stub template." [07:52:35] actually, I think you don't understand Spanish, but that's not a problem at all. I just don't want the [[Category:Stub]] in the [[Template:Stub]] to be applied to the page when using the {{Stub}} template since this is a catalogue. [07:52:55] yes, that's right [07:53:38] When users nominate an article as stub adding {{Stub}} it get's automatically included in the [[Category:Stub]] since it's _in_ the [[Template:Stub]] [07:54:40] I find it pretty convenient, but since this page is not a stub, but a templates catalogue, I need to avoid it from apearing in any template inherited category [07:54:53] ^_^ How about this... replace your [[Category:Stub]] with [[Category:Stub]] and if it turns out the way you want, then this would be categorized as a miscommunication caused by english grammar [07:55:23] ((or the fact that it's 11:55PM at night, heh...)) [07:55:23] Dantman: Actually, I've already tried but did not work [07:55:31] Oh... hmm [07:55:42] Dantman: don't worry about that 5:54 am here [07:55:51] ^_^ How about we drop out of English, and use lists... [07:55:58] 2:55 AM here... [07:56:01] you're not the only one that hasn't got enough rest [07:56:14] Dantman: uh? [07:56:54] Rather than entire English sentences, breaking this down into a case-by-case list of what is wanted vs. what is happening [07:57:13] ok, I'll give that a try [07:57:18] 1) You have a {{Stub}} template [07:57:50] 2) You want articles that users put {{Stub}} inside of to be put inside [[Category:Stub]]. (Correct?) [07:58:28] let me do the list :) [07:58:30] 1. I'm building a templates catalogue where {{TemplateX}} is in one column showing what it produces, and
{{TemplateX}}
in the other column showing the code that generates the previous cell countent [07:58:31] Ok [07:59:09] Ohwait... [07:59:34] 2. I already have [[Category:TemplateX]] inside the {{TemplateX}}'s guts [07:59:35] You have "Articles", "Template:Stub", and "A template Catalogue" [07:59:48] yes [07:59:51] kind of [08:00:32] So you want [[Category:Stub]] inside of "Articles", I don't know what you want for Template:Stub, but you don't want [[Category:Stub]] inside the template catalogue [08:00:43] 3. When users use the {{ArticleX}} template, the article is automatically included in the [[Category:TemplateX]] (which is good) [08:01:03] Dantman: seems you got the idea :) [08:01:25] Dantman: but it's still incorrect, let me finish the list [08:01:38] ^_^ the combination of things focused me on just Articles vs. Template:Stub [08:02:47] 4. This article is a templates catalogue, so using {{TemplateX}} is so that users get a nice idea of what it does, but it's not meant in any way to add the _catalogue_ to the [[Categorie:TemplateX]] [08:03:03] the game [08:03:15] I think it's clearer now, isn't it Dantman? [08:03:27] ^_^ That's basically what I just said [08:03:36] Ok [08:03:49] So this template cataloge, is it in any special namespace? [08:04:14] 5. So, what I need is to avoid the [[Category:TemplateX]] inside {{TemplateX}} from being applied to the current article (catalogue) [08:04:34] Dantman: what do you mean? [08:05:02] Sometimes people put the template catalogues inside a namespace like Template: or Project: [08:05:23] Dantman: sure, it's http://es.gentoo-wiki.com/w/index.php?title=Plantilla:Fragmento [08:05:32] it's in the Plantilla: namespace [08:05:49] well, no, sorry, misunderstood the question [08:06:05] Really, the topic here is on what conditions do we want to exclude the category [08:06:18] the catalogue it's not in any namespace right now, it's under my User page [08:06:34] Dantman: yes [08:06:58] excludes the template itself, using parserfunctions we can also exclude entire namespaces, or exclude specific pages [08:07:14] Or we can use a parameter to prevent categories [08:07:25] I thought there were some tag to avoid the category thing [08:07:53] No, all that kind of stuff is done with sticking something inside something like a parser function [08:08:16] Avoiding categories with some sort of tag doesn't really fit in with the parser [08:08:35] Well, now that you mention it, ading a parameter to the template would be good enough so that when called with |catalogue=yes the category part is discarded [08:09:04] Well, normally I see people use something like |nocats=true}} ^_^ [08:09:16] *tc-rucho checks that out [08:10:16] But all you do in that kind of case is {{#if:{{{nocats|}}}| |[[Category:Stub]]}} [08:12:31] ok, that did the trick :D [08:12:59] Dantman: thanks a ton for the help, and sorry for making you troubles with some broken statement I wrote that lead to confusion [08:13:20] I haven't slept sh*t so I'm wording things the wrong way sometimes [08:13:22] Whohoo... yay for overly long conversations about simple techniques [08:13:45] ironic [08:13:55] =/ [08:39:20] <_wooz> l [08:39:33] _wooz: what? [08:39:51] <_wooz> lo [08:40:06] <_wooz> nothing.. just hello! [08:40:12] ah [08:50:47] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10s.r.e.turner) [09:12:34] 03siebrand * r43292 10/trunk/extensions/MetavidWiki/languages/MV_Messages.php: Message update [09:42:26] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10cyp) [09:51:12] hello everybody [09:51:44] hi [09:51:47] is there a 'good and secure' way to leave an email on a page of my wiki ? to avoid spamming robots collector [09:52:06] pingouin: use builtin emailing [09:52:16] pingouin: hang, on a second [09:52:26] *pingouin stop moving [09:52:35] *pingouin stop thinking [09:52:42] *pingouin stop breathing [09:52:53] resume [09:53:12] :) [09:53:18] [[Special:EmailUser/pingouin|email]] [09:53:23] pingouin: that's what you want [09:53:32] and what I use ;) [09:54:00] hmmm miam i check that on the doc , many thanks tc-rucho [09:54:28] wtf is miam [09:55:15] :) [09:55:29] french sound for yummi/yummmy ? i guess [09:55:36] oh, I see [09:55:46] *tc-rucho is emerging wtf [09:55:53] oh yeah, i'm a frog ;) [09:56:09] if you say so... [09:56:11] :P [09:57:04] miam: nothing appropriate [09:57:08] hmm [09:57:10] lol [09:57:43] *pingouin lost the track ;) [09:57:59] !special [09:57:59] --mwbot-- I don't know anything about "special". You might try: !allmessages !bom !credit !dpl !export !extensiondistributor !import !info !interwiki !lockdown !mw !renameuser !rev !sidebar !specialpages !version [10:02:03] hi [10:02:25] could get anything briocken when I put a category in [[MediaWiki:Shareduploadconflict}} [10:14:15] Forrester: That may show a category at the bottom of the page when it's used, but otherwise I don't think so. Try it. [10:52:14] 03(NEW) Special page based on MediaWiki:Shareduploadconflict - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16280 normal; normal; MediaWiki: Special pages; (forrester.wikipedia) [10:52:32] 03(mod) Special page based on MediaWiki:Shareduploadconflict - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16280 (10forrester.wikipedia) [11:15:33] is there any good editing applications you can run on your computer to edit mediawiki pages [11:18:25] Do you know AutoWikiBrowser or what do you mean? [11:31:31] DrJ, ! [11:31:57] ? [11:32:06] hi [11:32:09] hello [11:32:25] if you use windows [11:32:32] AutoWikiBrowser would probably suffice [11:50:02] Does anyone know where the "You have got new messages"-message is built? [11:57:07] tc-rucho: do you have any links on mediawiki doc about the [[Special:EmailUser]] syntax/explanation , can't find, sorry. [11:57:30] !Emailuser [11:57:30] --mwbot-- I don't know anything about "emailuser". [11:57:41] !Special:EmailUser [11:57:41] --mwbot-- I don't know anything about "special:emailuser". [11:57:53] !Syntax [11:57:53] --mwbot-- For help with MediaWiki's Wikitext syntax, please see . For an (incomplete) formal specification, see . [11:58:21] !jr-ewing [11:58:21] --mwbot-- I don't know anything about "jr-ewing". [11:58:34] oops [12:09:00] can anyone tell me witch extension is used to make the sections (users, system administrators, developers, ...) on the frontpage of www.mediawiki.org? [12:15:35] Zenith|at|home: none. See [[MediaWiki:Sidebar]] in your wiki. [12:17:52] Zenith|at|home: oops, wrong answer. It's just a bunch of templates. See http://www.mediawiki.org/w/index.php?title=Template:Main_page&action=edit [12:18:28] siebrand> I was already puzzled ;) I'll have a look, thanks [12:18:33] Zenith|at|home: the extension ParserFunctions is used for conditionals like #ifexist. [12:23:05] 03ialex * r43293 10/trunk/extensions/Collection/collection/ (jquery.js jquery.ui.js): svn:eol-style native [12:50:48] hey RoanKattouw [12:53:22] Hey [12:59:04] Hi. In an extension I want to pass a query result to wikitext. How can I do this? http://rafb.net/p/mupQI110.html I tried a lot, but always failed. Otherwise I wouldn't ask. [12:59:36] $wgParser->recursiveTagParse( $text ) [13:00:12] Subfader: You might wanna use Database::select() to run your queries rather than building SQL manually and running it through Database::query(). select() will handle all escaping for you [13:01:08] Subfader: What currently happens? Do you get unparsed wikitext, or nothing at all? [13:01:21] RoanKattouw: he'll get unparsed wikitext. [13:01:23] It will be on Main Page with disabledCache. So as light as possible for the db is good [13:01:28] Right [13:01:40] Then you need recursiveTagParse() just like werdnus said [13:01:43] so he should use $wgParser->recursiveTagParse() :) [13:02:04] werdnus: $parser->recursiveTagParse() in this context [13:02:39] $wgParser->recursiveTagParse instead of $wgContLang->convert ? [13:03:00] No. You have to return $wgParser->recursiveTagParse($playRFile); [13:03:07] $playRfile sorry [13:03:22] And I think the quotes around NS_IMAGE don't do what you want [13:04:12] who receives mail sent to the security@wikimedia.org alias? [13:05:01] sysadmins, presumably [13:05:06] $text is returning the filenames without ns prefix just fine [13:06:18] No, I mean on line 34 [13:06:34] werdnus: who are they? [13:07:38] Roan: yes, I copied it from a special page query where it's done like that. [13:08:03] Brion Vibber, Tim Starling, River Tarnell, Domas Mituzas, Tomasz Finc, Ariel Glenn, and that new guy [13:08:10] thank you! [13:08:52] Subfader: Oh. Then maybe the pastebin's highlighting is broken. Lemme see [13:09:18] got it from SpecialMIMEsearch.php [13:09:19] 'SELECT " . NS_IMAGE . " AS namespace ... ' [13:09:37] Wouldn't that get you a literal NS_IMAGE among other things in your query? [13:09:44] yeah [13:09:46] it would [13:10:01] $playRfile .= '{{Media|$text}}'; ---> This is also broken, needs double quotes [13:10:46] as i understand NS_IMage AS namespace to remove the prefix in $title = Title::makeTitleSafe($row->namespace, $row->img_name); so i get Foo.mp3 and not Image:Foo.mp3 [13:11:32] No, that's not it. The fact that you don't get the Image: prefix is because you use $title->getText() instead of getPrefixedText() [13:11:39] The point is that the quotes are placed wrongly [13:11:50] You probably want 'SELECT ' . NS_IMAGE . ' AS namespace ... ' [13:12:17] that highlights better yes [13:12:44] Not only does it highlight better, it'll also put 6 (the value of NS_IMAGE) in your query rather than the text "NS_IMAGE" [13:13:34] And '{{Media|$text}}' doesn't do what you want, if you want $text to expand to the value of $text you need double quotes, like "{{Media|$text}}" [13:13:55] ok i have this by now: http://rafb.net/p/VRvq5y11.html and get Undefined variable playRfile in line 45 [13:14:49] You use File in one place and file in another [13:15:53] lol copy-paste error :) [13:16:35] HOLY SHIZZNIZZ. it works. now testing on server. whoa [13:16:59] tested the whole week via trial & error and posting here. damnit [13:18:51] woohoo. thank you so much!!! [13:19:06] taht's teh success i needed for the weekend to start [13:25:36] why does the copyright system message not show on special pages in the footer ? [13:25:41] and is there a switch to make it show ? [13:26:06] exobuzz: because the content of special pages is not copyrighted? [13:26:09] just a guess. [13:26:44] annoying though if you put additional text in there you want on other pages. hmm [13:27:37] and like search results.. contain abstracts from pages. which are under the site license [13:27:42] so seems silly to exclude it [13:28:18] exobuzz: it may well be a bug or accident. i was just guessing. [13:28:23] ok [13:28:28] it does seem kind of pointless indeed [13:29:06] ill open a bug [13:30:19] 14(INVALID) text does not work if used in a template - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15495 +comment (10ncw33) [13:36:31] 03(NEW) Show copyright system message on special pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16281 normal; normal; MediaWiki: Special pages; (buzz) [13:37:22] 14(INVALID) Warn when repeat occurrences of a named reference do not agree, in Cite.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14994 +comment (10ncw33) [13:53:31] !diff [13:53:31] --mwbot-- I don't know anything about "diff". You might try: !deleteuser !file !multiplewiki !rewriteproblems !shorturl [14:40:58] hi all [14:41:08] where are the elements inside created? [14:41:15] I want to add new header field [14:45:11] 03(NEW) URL of Deaths of 1925 doesn't work ( wrong file format and content?) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16282 04BLOCKER; normal; Wikimedia: wikibugs; (marcel) [14:45:42] 03(mod) URL of Deaths of 1925 doesn't work ( wrong file format and content?) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16282 (10marcel) [14:46:06] http://en.wikipedia.org/w/index.php?title=Quotation_mark&diff=250443314&oldid=249478794 <-- i'll admit i laughed but is there any basis for this rumour [14:47:11] <_mary_kate_> CharlotteWebb: i wouldn't be at all surprised to see that some web sites do it, but mediawiki doesn't [14:48:09] HardDisk_WP: depends, for non-SkinTemplate based skins, it's in OutputPage::headElement() [14:48:11] well i've heard it before actually, that the parser would do some "smart" converting of quote-marks, apostrophes, etc [14:48:23] <_mary_kate_> it would be nice if it did, and for dashes too, but it doesn't [14:48:24] at some point in the future) [14:48:28] ialex, i need something which appears in all and every skin [14:48:31] <_mary_kate_> most likely the user edited something and another user changed his quotes [14:48:49] is anyone working on anything like this [14:48:51] HardDisk_WP: use BeforePageDisplay hook [14:49:16] ialex, i dont want it for an extension [14:49:23] https://bugzilla.wikimedia.org/show_bug.cgi?id=15835 [14:50:21] HardDisk_WP: OutputPage::addDefaultMeta() [14:50:28] ok [14:50:33] where to place it? [14:50:35] i've been finding a lot of control characters in the 80-9F range that happen to *look like* quotation marks at least in windows [14:51:01] like maybe somebody edited in ms word and pasted it into wikipedia [14:51:16] HardDisk_WP: in that function ;) [14:51:21] <_mary_kate_> CharlotteWebb: 80-9F is where Windows put its CP1252 characters, like magic quotes [14:51:25] ah, ok ^^ [14:51:40] <_mary_kate_> https://secure.wikimedia.org/wikipedia/en/wiki/CP1252 [14:51:44] so these probably wouldn't show up at all for readers in a different os [14:52:04] unless changed to a unicode quotation mark or a "dumb" one [14:52:14] ? [14:52:16] <_mary_kate_> i don't think the characters are valid unicode. but i'm not certain there [14:53:20] well check this for example http://www.fileformat.info/info/unicode/char/0093/index.htm [14:53:43] i've been finding a lot of that [14:54:17] <_mary_kate_> hm, control characters [14:54:42] <_mary_kate_> perhaps some things treat that range as CP1252 for compatibility [14:55:24] ialex, thanks, patch created http://pastebin.com/m773e89f1 [14:57:36] 03(mod) Add meta Content-Style-Type tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15835 +comment (10marco) [14:58:52] would they have a conflicting appearance outside of windows [14:59:48] the cognates in this range, i guess i'd have to figure out from the context if they meant something else, hmm... [14:59:51] how can I use % sign in a db query? WHERE this LIKE %that% tried '%that%' and \'%... and "%... [15:02:51] '%that%' should work [15:05:20] \'mp3\' works for = but i need truncation using % all variations give me various errors: \'%mp3%\' makes it 'p3SING [15:06:21] LIKE CONVERT( _utf8 '%mp3%' USING latin1 ) COLLATE latin1_bin is the correct phpmyadmin query [15:06:52] but that results in LIKE CONVERT( _utf8 'p3SING latin1 ) COLLATE latin1_bin [15:06:56] that's a mysql/php problem, not a mediawiki problem [15:07:04] 03ialex * r43294 10/trunk/phase3/ (RELEASE-NOTES includes/OutputPage.php): (bug 15835) Added Content-Style-Type meta tag [15:07:17] HardDisk_WP: done [15:07:27] ok thanks. [15:07:48] 03(FIXED) Add meta Content-Style-Type tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15835 +comment (10alex.emsenhuber) [15:08:20] ialex, thanks [15:16:27] 03(mod) html entities replaced twice when displaying an e-mail error on userMailer () - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2446 +comment (10marco) [15:22:30] what part of MW is responsible for handling ?oldid=XXX queries? [15:23:04] Article class [15:23:19] ok [15:24:21] 03(mod) [[MediaWiki:History copyright]] used also at most recent revision in the footer - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4362 +comment (10marco) [15:26:15] werdnus, uh... every text on the wiki which does NOT belong to the article, but to the UI, should be visible in [[Special:allmessages]], right? [15:26:26] 03(mod) Multiple watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1492 (10jkbwiki) [15:26:35] ah, nvm, found it [15:28:31] how do I get the current revision id of an article? I need it in Skin.php:1309 [15:28:53] the stupid thing only decides over the presence of "oldid" [15:36:22] HardDisk_WP: $wgArticle->getRevision(), methinks [15:36:41] tx [15:37:02] i installed mw for the first time - the recent changes only shows user permission changes - the logs have other changes - how do i get recentchanges to show all changes? [15:37:08] getLatest() might do it, actually [15:37:15] Fatal error: Call to undefined method Article::getRevision() in C:\xampp\htdocs\mediawiki\includes\Skin.php on line 1321 [15:37:24] ah ok [15:37:35] *werdnus checked his cheat sheet [15:37:49] werdnus, thanks, works like a charm. another bug down! [15:37:56] woo! [15:38:04] *werdnus goes to bed [15:38:24] http://wilderdom.com/wiki/Special:RecentChanges [15:39:22] 03(mod) [[MediaWiki:History copyright]] used also at most recent revision in the footer - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4362 (10marco) [15:39:25] werdnus, waait [15:39:31] werdnus, please commit http://pastebin.com/m2c5e9272 for me^^ [15:41:13] what would it take to add a :R "raw" version of {{PAGENAME}} that doesnt attempt to html_encode things like ' chars into ' [15:43:59] ialex, can you please commit http://pastebin.com/m2c5e9272 for me? werdnus unfortunately went to bed :( [15:54:52] 03(NEW) Bad search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16283 15enhancement; normal; MediaWiki: Search; (subscription) [15:57:28] 03(mod) Bad search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16283 +comment (10rainman) [16:03:29] hello [16:03:38] can somebody who knows about transactiosn check https://bugzilla.wikimedia.org/show_bug.cgi?id=15430 ? [16:03:41] my patch [16:09:50] 03ialex * r43295 10/trunk/phase3/ (RELEASE-NOTES includes/Skin.php): (bug 4362) [[MediaWiki:History copyright]] no more used with most recent revision when passing oldid parameter in the url [16:10:09] 03(FIXED) [[MediaWiki:History copyright]] used also at most recent revision in the footer - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4362 +comment (10alex.emsenhuber) [16:11:23] ialex, eh.. you deleted the initializer for $oldid?! [16:11:53] ialex, please use my original patch, this one breaks, I think [16:12:21] oh, ok [16:12:22] ic [16:12:26] no error^^ [16:14:23] HardDisk_WP: I expect Article<. [16:14:27] argh [16:14:48] yeah, you went ove article::isCurrent [16:15:09] Article::isCurrent() to be correct since it's used to know if the oldid has to be passed with the "edit this page" link [16:15:54] 03(mod) Bad search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16283 (10subscription) [16:19:31] 03(mod) Bad search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16283 (10subscription) [16:20:45] 03(mod) Bad search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16283 (10rainman) [16:20:56] anyone got ideas on how to get recentchanges going on a new install - it's only showing user permission log, not other logged changes [16:21:24] http://wilderdom.com/wiki/Special:RecentChanges [16:22:04] have reported it here - http://www.mediawiki.org/wiki/Project:Support_desk/Sections/Installation#Recentchanges_only_shows_user_rights_log [16:22:20] http://wilderdom.com/w/index.php?title=Special:RecentChanges&hidebots=0&hideminor=0 [16:22:38] remove yourself from the "Bot" group [16:23:23] thanks ialex - i will try that [16:25:08] i think that's done it :) [16:40:38] 03(mod) Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5530 +comment (10marco) [16:40:58] ialex, can you please commit http://pastebin.com/m6cde421 (fixes 5530) ? [16:41:16] HardDisk_WP: ask for commit access! [16:41:18] :) [16:41:50] ialex, if timstarling or brion would be here, I would [16:42:15] tim wanted to give me svn anyway due to the SMS notifier project, but because of some staff meeting he didn't have time [16:43:24] and now, he'll be at the meetup in SF in four hours [16:43:41] hopefully he manages to enter IRC before he goes to the meetup ;) [16:46:51] 14(DUP) Spam filter message text should be changed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7576 +comment (10marco) [16:46:53] 03(mod) Spam blacklist match should show error above edit box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9416 (10marco) [16:48:41] 03ialex * r43296 10/trunk/extensions/Configure/ (7 files): Version listing on Special:ViewConfig now doesn't load the whole configuration for each version when using database handler [16:55:53] 03(mod) Don't autosummarize where a redirect was left unchanged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8345 +comment (10marco) [17:23:28] bug 5530 [17:23:31] !bug 5530 [17:23:31] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=5530 [17:24:09] <^demon> MZMcBride: I've almost got a fix to the svg thumbs issue with ApiRepo [17:24:19] \o/ [17:30:47] <^demon> Works :) [17:34:07] 03demon * r43297 10/trunk/phase3/ (RELEASE-NOTES includes/filerepo/ForeignAPIRepo.php): (bug 16265) Enabling apiThumbCacheExpiry produced invalid thumbs for things like svg that get turned to png. [17:35:04] 03(FIXED) Enabling apiThumbCacheExpiry causes SVGs to output SVG thumbs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16265 +comment (10innocentkiller) [17:36:19] 03demon * r43298 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: Remove bit of debugging. [17:37:43] <^demon|away> MZMcBride: Should be good to go now. [17:46:05] 03rotem * r43299 10/trunk/extensions/Collection/Collection.i18n.php: Localization update for he. [17:52:32] 14(WFM) URL of Deaths of 1925 doesn't work ( wrong file format and content?) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16282 +comment (10roan.kattouw) [17:53:46] 03(mod) Deleting of pages with high number of revisions makes server cry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11402 +comment (10JSchulz_4587) [18:02:56] Hi. I'm having trouble getting ParserFunctions to work correctly in Mediawiki 1.13.1, specifically #IF. Since upgrading to 1.13.1, I can seemingly no longer 'hide' pipes using the ! template. Any ideas on how to correct this without rewriting all of my templates? [18:06:09] 03(NEW) Support Linux Libertine Font for SVG rendering - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16284 15enhancement; normal; MediaWiki: Images; (martinfisch) [18:08:29] ^demon|away: :D [18:08:45] *MZMcBride will test after WMF scaps on Monday and the site doesn't break. [18:20:00] 03aaron * r43300 10/trunk/phase3/includes/specials/SpecialUndelete.php: Remove hack to check if top rev will be deleted. Just unhide top rev after restore. [18:30:17] 03aaron * r43301 10/trunk/phase3/includes/Skin.php: Fix for r43295: check if $wgArticle is set [18:56:43] 03siebrand * r43302 10/trunk/extensions/WhiteList/ (10 files): (log message trimmed) [18:56:43] Major maintenance to WhiteList: [18:56:43] * table can now be added by running update.php by using hook LoadExtensionSchemaUpdates [18:56:43] * removed uses of require_once() [18:56:43] * "Whitelist" -> WhiteList", including setting names and file names (WhitelistAuth.php to be renamed) [18:56:46] * $wgSpecialPageGroups for special pages [18:56:48] * message loading using wfLoadExtensionMessages() [18:57:48] 03siebrand * r43303 10/trunk/extensions/Translate/ (aliases.txt groups/mediawiki-defines.txt): Updates for r43302 [18:58:46] 03siebrand * r43304 10/trunk/extensions/WhiteList/ (WhiteListAuth.php WhitelistAuth.php): Follow up on r43302. Renamed from WhitelistAuth.php -> WhiteListAuth.php for consistency. [19:01:39] 03(mod) Special page based on MediaWiki:Shareduploadconflict - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16280 (10mikelifeguard) [19:05:21] 03(FIXED) Some messages in WhiteList need plural support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15290 +comment (10siebrand) [19:14:06] 03(CLOSED) URL of Deaths of 1925 doesn't work ( wrong file format and content?) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16282 +comment (10marcel) [19:31:04] 03siebrand * r43305 10/trunk/phase3/languages/messages/ (35 files): Localisation updates for core messages from Betawiki (2008-11-08 20:20 CET) [19:31:21] 03aaron * r43306 10/trunk/phase3/includes/Title.php: [19:31:21] * Add isSingleRevRedirect(). Refactor isValidMoveTarget() with this. [19:31:21] * Add getNotificationTimestamp() function [19:33:16] 03aaron * r43307 10/trunk/phase3/includes/Title.php: Fix comment [19:34:21] 03aaron * r43308 10/trunk/phase3/includes/Title.php: Fix typo [19:37:30] 03siebrand * r43309 10/trunk/extensions/ (82 files in 68 dirs): Localisation updates for extension messages from Betawiki (2008-11-08 20:20 CET) [19:38:57] 03(mod) Gender switch in user preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13040 (10danny.leinad) [19:39:59] I am just learning how to set anchors, or failing to. " /* Anchor */ " doesn't seem to work for me. Is there anyone who has more information than http://meta.wikimedia.org/wiki/Help:Redirect#Redirect_to_special_targets ? [19:41:51] 03aaron * r43310 10/trunk/phase3/includes/PageHistory.php: [19:41:51] * getNotificationTimestamp() moved to Title.php [19:41:51] * remove deprecated UI nav method [19:41:51] * Various code cleanup and style tweaks [19:42:36] /* anchor */ is the syntax used it edit summaries [19:42:49] anchors are typically given to ==headings== [19:43:09] but you can also do this via the id= attribute... will be anchor-linkable via #foo URI fragment [19:44:31] Splarka - thank you, How do I create an anchor to link to? [19:44:43] as I said, heading or id="" [19:44:56] let me experiment [19:45:00] ==Heading== [19:45:07]
[19:45:38] 03aaron * r43311 10/trunk/phase3/includes/PageHistory.php: More space fixes [19:51:04] Splarka - my apologies for not yet understanding. 1) am I setting the anchor for section "BQ" correctly? 2) how would I reference it from another page. I wrote [19:51:50] line 12
[19:51:50] line 13 ==BQ== [19:51:50] line 14 text - loren dorem ipsulum [19:53:59] 03siebrand * r43312 10/trunk/extensions/EditMessages/ (EditMessages.i18n.php EditMessages_body.php): Plural support for 'editmsg-warning-file' and 'editmsg-warning-mismatch' [19:54:36] Teloscientist: what you have there are two distinct anchors [19:54:41] one for #BQ and one for #testanchor [19:55:57] ok. That sounds promising. If the page name I am editing is "I5", how would I redirect/link to either of those anchors from another page in the same wiki? [19:56:28] [[I5#BQ]] [19:56:47] YES! [19:57:54] Thank you so much - this will mean the world to our team - we have been struggling without this. As a thank you, if you want one of my books or audio programs, goto http://MarkMichaelLewis.com and just tell me what you want. [20:00:09] all help is free [20:04:59] and so is my offer of the gift! :-) bye! [20:07:01] 03siebrand * r43313 10/trunk/phase3/languages/messages/MessagesLa.php: Localisation updates. Remove a few duplicate optionals, and one fix for Latin. [20:17:15] 03ialex * r43314 10/trunk/extensions/APC/ViewAPC.php: fix url [20:20:40] 03(mod) Global user style - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13953 (10mikelifeguard) [20:21:33] ialex, can you please commit me two last things for 2day? [20:21:38] https://bugzilla.wikimedia.org/show_bug.cgi?id=8345 (patch 1) and http://pastebin.com/m6cde421 (Bug 5530) [20:22:29] somebody should design a javascript DOM interface for wiki-text [20:22:33] HardDisk_WP: you know that you can attach a file in bugzilla instead of using a pastebin ;) [20:22:46] oh, you're right ^^ [20:22:48] sorry [20:26:38] 03(NEW) Special:GlobalBlockList should use the User@meta. wikimedia format - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16285 15enhancement; normal; MediaWiki extensions: GlobalBlocking; (mikelifeguard) [20:28:14] @Skizzerz: Are you there? [20:28:20] yeah [20:28:25] :) [20:28:48] hi - hope I didn't offend you by mentioning the s-thing ;-) [20:29:00] hmm? [20:29:19] anyway, check your pm window :) [20:29:31] well - it is practical for some purposes in the work I do ... [20:29:41] did you have some questions? [20:30:00] yeah, check your windows/tabs. I sent you a pm [20:31:01] not sure I know what you mean - i use chatzilla [20:36:35] 03ialex * r43315 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): (bug 8345) Don't autosummarize where a redirect was left unchanged [20:37:30] 03(FIXED) Don't autosummarize where a redirect was left unchanged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8345 +comment (10alex.emsenhuber) [21:00:54] ialex, what about bug 5530 / http://pastebin.com/m6cde421 ? [21:04:40] the pagename magicwords have lots of bugs [21:06:13] [[Special:Prefixindex/{{FULLPAGENAME}}|prefix search]] on [[*Foo]] in MediaWiki:Noarticletext causes: [21:06:15]

[[Special:Prefixindex/

[21:06:15]
    [21:06:15]
  • Foo|prefix search]]
  • [21:08:07] *{{#ifeq:{{PAGENAME}}|Foo&Bar|yes|no}} {{#ifeq:{{PAGENAME}}|Foo&Bar|yes|no}} [21:08:08] *{{#ifeq:{{PAGENAMEE}}|Foo&Bar|yes|no}} {{#ifeq:{{PAGENAMEE}}|Foo%26Bar|yes|no}} [21:08:13] returns: no yes\n no yes [21:08:23] which is confusing [21:08:38] for page [[Foo&Bar]] [21:09:11] (although at least it is consistent) [21:20:00] *CharlotteWebb thought * only became
  • after \n (oops) [21:20:24] magic words that return it beg to differ ^_^ [21:44:00] 03(mod) Special page based on MediaWiki:Shareduploadconflict - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16280 +comment (10innocentkiller) [21:44:00] 03(mod) More efficient batch lookups in foreign repos - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15690 (10innocentkiller) [21:56:12] 03(mod) Upload more than one file at a time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=488 +comment (10nathanlarson3141) [21:57:15] . [22:03:39] I am trying to get a tab to appear only on pages contained within a user defined name space. I've defined the name space in localsettings.php and have tried adding a conditional statement in the group of tab definitions in StylesTemplate.php however if I write: if ($ns==100) { ... } then the tab doesn't appear anywhere, and if i write: if($ns==NS_MAIN){...} it, obviously, appears on every... [22:03:41] ...page. I'm sure the solution is staring me directly in the face, can someone point me in the right direction? [22:05:17] Candi_2: are you sure that $ns is defined? [22:06:12] 03(mod) Upload more than one file at a time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=488 +comment (10mikelifeguard) [22:06:18] I defined $ExtraNamespaces[100] in localsettings, if that's what you mean? [22:09:06] Ahh, ok I see what you mean - you're right then, $ns is not defined in StylesTemplate.php.. so how do I define it to be the current namespace then? [22:09:45] Candi_2: StylesTemplate.php doesn't exist, do you mean SkinTemplate.php? [22:09:57] Yea, sorry. [22:10:45] Candi_2: use $this->mTitle->getNamespace() [22:11:59] Perfect, thank you very much! :D [22:12:18] no problem ;) [22:12:39] 03(mod) Upload more than one file at a time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=488 +comment (10siebrand) [22:13:06] hi [22:13:38] im searching for an hour but i cant find the text/content of the articles in the database [22:13:48] <_mary_kate_> HERZOG: text table [22:13:49] even in the table "text" i cant find it [22:14:19] unless you use external storage, it is in that table [22:15:40] in "old_text" i just can see things like [BLOB - 501 Bytes] [22:15:49] HERZOG, that's them. [22:15:50] that's it [22:16:02] <_mary_kate_> HERZOG: that's not the content of the field, that's the lame GUI you're using displaying it wrongly [22:16:17] <_mary_kate_> the field actually contains 501 bytes of article text [22:16:34] oke, and where i can find these 501 bytes? [22:16:47] <_mary_kate_> work out how to make the GUI you're using display the actual content of the field [22:17:00] <_mary_kate_> the contents are there, just the GUI isn't letting you see them [22:17:07] :< [22:17:09] HERZOG: if you use PhpMyAdmin, set $cfg['ShowBlob'] = true; in config.inc.php [22:17:25] ok thanks [22:17:30] does it change anything for the wiki? [22:17:34] no [22:17:39] ok [22:17:40] thanks! [22:20:36] 03demon * r43316 10/trunk/phase3/ (5 files in 2 dirs): [22:20:37] * Redo thumb caching and make it a part of the default /thumb/ structure with hashes as needed. [22:20:37] * Move the generic getHashPath accessor up a level to the FileRepo. [22:20:53] <^demon|away> \o/ [22:22:12] 03siebrand * r43317 10/trunk/extensions/MetavidWiki/ (2 files in 2 dirs): [22:22:12] * change 'mv_stream_addedd' to 'mv_stream_added' [22:22:12] * minor consistency changes in the messages file [22:23:11] 03siebrand * r43318 10/trunk/extensions/MetavidWiki/languages/MV_Messages.php: Fix on r43317. Forgot to change for Dutch, too. [22:23:15] okay a last question - where can i find the config.inc.php file? :x [22:24:21] 03(mod) New tool to delimit scientific notation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=15677 (10Greg_L_at_Wikipedia) [22:31:54] AaronSchulz: you can probably mark http://www.mediawiki.org/wiki/Special:Code/MediaWiki/43234 resolved. [22:37:44] hmm, by now, i used the table pagetitle to display some random article (names) [22:38:13] HERZOG: To pick random articles, you can also use the page_random field [22:38:27] but in many cases, the pagetitle doesnt have a content [22:38:29] its empty [22:38:36] so which table can i use instead? [22:38:44] What's the pagetitle table? MW has no such table AFAIK [22:39:30] ah srry i mean page_title in page [22:40:03] what's the page_random field? i suggest i can only use this in the wiki, can't I? [22:40:23] i want to display random articles on another website [22:40:36] page_random contains a value between 0 and 1, different for each page [22:40:41] Oh [22:40:46] Hmm that's harder [22:40:52] Is that other website also a wiki? [22:40:59] i've written it in php with sql [22:41:07] it isnt a wiki [22:41:12] Ah [22:41:23] Do you have a list of pages you want to pick from? [22:41:36] Oh wait [22:41:50] http://nopaste.org/p/a3hSuXl6bb [22:41:52] You want to display random articles *from* a wiki *on* a non-wiki website. Did I get that right? [22:41:55] i use this actually [22:42:02] YES [22:42:05] right ;D [22:42:06] Ah [22:42:26] Well how about http://en.wikipedia.org/w/api.php?action=query&list=random&rnlimit=50 [22:42:39] Oops [22:42:42] Well how about http://en.wikipedia.org/w/api.php?action=query&list=random&rnlimit=max [22:43:55] oO [22:44:00] i dont want to use api [22:44:05] Why not? [22:44:08] it's nearly perfect now [22:44:13] the only problem is [22:44:25] siebrand ^demon: http://watchthesimpsonsonline.com/movie/128-The_Simpsons_1904_I_Don039t_Wanna_Know_Why_the_Caged_Bird_Sings.html [22:44:30] are you making sure to limit to the main namespace? [22:44:34] go to 11:12 :) [22:45:04] that a lot of random pages dont have content, although there is a page title [22:45:17] Empty pages [22:45:20] yes [22:45:23] Hmm [22:45:25] it could be MediaWiki namespace pages polluting it? [22:45:40] Possibly [22:45:41] they have titles and default content, but not actual content, so it can be weird to work with them [22:45:46] try limiting to NS_MAIN? [22:45:54] Yeah. Try adding AND page_namespace=0 [22:46:16] (although, do mw pages without pageid have page_random ?) [22:46:42] Splarka: He wouldn't get those pages, as he's querying the page table [22:46:49] ahh k [22:46:52] Not even using page_random though, he's using ORDER BY RAND() [22:46:54] and they have no entries there? [22:46:58] heh [22:47:00] Not that I know of [22:47:27] And using ORDER BY RAND() isn't bad, it's just not as blazingly fast as Domas would like stuff to be, that's why we use page_random [22:47:39] AaronSchulz: me like Simpsons :) I still have about 300 episodes on CD somewhere. [22:47:44] *werdnus waves. [22:47:52] on CD? that must be a lot of CDs [22:48:16] Even if he does mean DVDs, that's a lot of DVDs [22:48:19] Splarka: 70 [22:48:50] is there a different between page_title from table page and page_title from table pagelinks ? [22:48:56] No [22:49:04] But why would you want to use pagelinks for this purpose? [22:49:50] siebrand: low quality? heh [22:50:26] nevermind [22:50:28] hmm [22:50:47] so, how i can get pagetitles which have content? [22:51:22] HERZOG: You probably wanna filter by namespace [22:51:39] page_namespace=0 or something like page_namespace IN (0, whatever) [22:51:47] 0 is the main namespace, 1 is talk, etc. [22:51:49] pl_namespace? [22:51:55] page_namespace [22:52:02] Again, why use the pagelinks table? That makes no sense? [22:52:13] Hmm forget that last '?' :P [22:52:51] unless you were asking if that was the reason to use it, _because_ it makes no sense [22:53:09] then the last '?' is appropriate, heh [22:53:23] i think it doesnt make a different whether i use pagelinks or page [22:53:32] in both table is page_title [22:53:55] Yes, but only pages which have links pointing *to* (not from) them are in pagelinks [22:54:00] And quite possibly multiple times [22:54:50] ah bla what am i talking about, i use table page [22:54:54] not pagelinks [22:54:55] srry [22:54:59] was kinda stupid [22:55:51] so why i should filter by namespace? [22:56:04] Because some namespaces are more likely to have empty pages then others [22:56:14] And you probably don't want stuff from the Talk or User namespaces anyway [22:56:16] 03(NEW) Stale thumbnails for recently reuploaded image, purging doesn't help - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16286 normal; normal; Wikimedia: General/Unknown; (nospam) [22:56:18] there a articles with namespace 0 and articles with namespace 2 or 6 and both of them have content [22:56:28] Much less descriptions of categories :P [22:56:37] 0 = main, 2 = User, 6 = Image [22:56:37] 03(mod) Stale thumbnails for recently reuploaded image, purging doesn' t help - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16286 (10mikelifeguard) [22:56:40] RoanKattouw: pages with links pointing FROM them *are* in pagelinks. [22:56:52] werdnus: Not in pl_title [22:56:56] 03(mod) Special page based on MediaWiki:Shareduploadconflict - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16280 (10forrester.wikipedia) [22:56:59] RoanKattouw: yeah, but you didn't say that :P [22:57:23] Oh wait, more: stuff in pl_title isn't even guaranteed to actually *exist* [22:58:07] what is "1"? [22:58:20] Talk [22:58:28] Let's see how much I know :P [22:58:52] 0 = main, 1=Talk, 2=User, 3=User talk, 4=Project?, 5=Project talk?, 6=Image, 7=Image talk [22:58:57] Err [22:59:03] ah oke [22:59:33] I think that's right. [22:59:36] http://svn.wikimedia.org/doc/Namespace_8php-source.html [22:59:39] There it is [22:59:43] From -2 to 14, in that order [22:59:54] 15 sorry [22:59:59] ok thanks :) [23:00:50] and anything 100+ is custom [23:01:10] Yup [23:01:11] and 200+ is from an extension [23:01:30] unless you specifically want to include random image descriptions, talk pages, user pages, category descriptions, etc... you're best to restrict to main [23:01:52] or at least content namespaces [23:02:10] $wgContentNamespaces [23:02:34] (default is just NS_MAIN) [23:03:15] hey can someone help me out? i've added this http://www.mediawiki.org/wiki/Extension:Link/Link.php but the usage isnt working [23:03:28] if you return just the text of an image or category page that happens to exist, it won't contain the image or category members [23:04:30] 03(mod) Special:GlobalBlockList should use the User@meta. wikimedia format - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16285 (10Andrew) [23:04:39] http://en.wikipedia.org/wiki/Snake_(The_Simpsons)#Snake_Jailbird [23:04:53] ...Snake is back in jail (he memorably says in this episode that he wants the person who keeps changing his Wikipedia entry "murdered") but he is out again by "Sex, Pies, and Idiot Scrapes", where he is seen with Gloria, who is now pregnant. [23:05:14] i've named it right under extensions and added an include once under localsettings (which i did test to see if altered would it fail and it did so i know at least that its picking up the file) i have \\domain\o\file.txt [23:07:05] 03(mod) Special page based on MediaWiki:Shareduploadconflict - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16280 (10innocentkiller) [23:07:17] can anyone point me in the right direction i've checked out google and the wiki and the faq but cant seem to figure it out [23:09:58] wolfric, that extension isn't officially supported. It might just not work. [23:10:23] are there any extensions you'd know offhand that can link to a local share? [23:12:15] I only want a specific paragraph of text to wrap around this image and not the next one as well, how do I, "partition" it? [23:13:31] weredragon: introduce a clearing object below the paragraph [23:13:55] see http://en.wikipedia.org/wiki/Template:- [23:14:08] wolfric, I'm not familiar with Windows-speak. What's a "local share"? Would a file:// URL work? [23:14:43] weredragon: also http://en.wikipedia.org/wiki/Template:Clear [23:14:50] im pretty sure unix systems have them too [23:15:00] eg,
    or
    [23:15:02] they just use something different from samba afaik [23:15:21] a networked shared folder over netbios i assume file:// would use http [23:15:35] wolfric, no, http:// uses HTTP. file:// accesses the filesystem. [23:15:57] Seems it's the Windows equivalent of NFS. [23:16:08] oh yeah i think i saw a thread on that where someone sugested to a guy to use the file extension [23:16:10] hold on [23:16:23] I'm not sure you need an extension. [23:17:06] ok let me try file and see if it works anyway [23:17:29] wolfric, have you tried just allowing file: URLs with $wgUrlProtocols and using those? http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols [23:17:38] Random stuff on mediawiki.org is usually going to be broken. [23:17:40] hey Simetrical [23:18:07] Simetrical: I've managed to figure out how to get branches going in git :) [23:18:20] werdnus, I never actually used branches yet. I've only used rebasing. [23:18:45] rebasing == svn up? [23:19:27] nah [23:19:36] something different [23:19:45] werdnus, no. Doesn't exist in SVN. [23:19:47] navigating between releases [23:20:13] Simetrical: Well, you can't use 'git rebase' if you don't have branches, IIRC [23:20:18] werdnus, rebase = take my patches to one place, and apply them to another, creating new commits that are postdated to my old patches. [23:20:18] I was thinking of 'git svn rebase' [23:20:23] why doesn't wikimedia use git, btw? its web interface is waaaaaaay coooler [23:20:26] git svn rebase does a fetch followed by a rebase. [23:20:30] yeah [23:20:36] but it's the equivalent of svn up [23:20:40] No. [23:20:40] The rebase is a no-op unless you have local patches. [23:20:55] as it is with svn.. [23:20:57] 03leon * r43319 10/trunk/phase3/ (RELEASE-NOTES includes/Title.php): * (bug 5530) Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}, patch by HardDisk [23:21:12] So if you commit a patch, then do git svn rebase, it 1) undoes your patch, 2) updates to the origin, 3) re-applies your patch, creating a new commit. [23:21:27] No, SVN re-applies local *changes* to the working copy. [23:21:33] Rebasing re-applies local *commits*. [23:21:44] In fact, rebasing won't even work if you have changes to the working copy, you have to commit them first. [23:21:47] Yeah, but I think it's reasonably equivalent because in svn there's no such thing as a local commit. [23:21:51] 03(FIXED) Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5530 +comment (10marco) [23:21:55] That's why I said there is no equivalent. [23:22:06] Consider the case of maintaining a patch set to third-party software. [23:22:21] true [23:22:27] You want to track your patches in a version control system, and when upstream releases a new version, you want to upgrade and then apply your patches. [23:22:31] *werdnus shrugs. [23:22:32] That's one of the things I use git for. [23:22:37] Not possible with Subversion. [23:22:42] mmm [23:22:44] It's really awesome, incidentally. [23:22:50] heh :) [23:22:51] Previously I was literally applying all my changes by hand. [23:23:18] well yeah, I'm impressed at how ridiculously easy it is to update to the latest trunk in my group_rights branch. [23:23:22] Now I just copy to another directory, git fetch, git rebase, resolve any conflicts, and copy back. [23:23:54] Rebasing is kind of like merging, but there are no merge commits. History gets rewritten so your patches are on top of the new version. [23:24:03] yeah, so I read [23:24:07] Which is necessary if you want to actually commit the changes at some point, I think. [23:24:26] Although in git circles they tend to use fancy patchset-management stuff like quilt, which I haven't looked at. [23:24:48] I'm trying to figure out how to commit my group_rights branch to the group_rights directory on svn. [23:24:49] Rather than committing it to the central repository in whatever haphazard manner they developed it. [23:25:02] *Simetrical has no idea how to get git svn to work with branches, hasn't tried [23:25:23] There's a git svn branch command... [23:25:42] Probably :D [23:25:54] well, the man page says so :P [23:26:31] sorry but i've added $wgUrlProtocols[] = "file:"; to localsettings can someone point me to the page which documents file:// im only getting mediawiki_file_usage which just says where uploaded files are located [23:28:34] Simetrical: http://www.jukie.net/~bart/blog/svn-branches-in-git [23:28:36] looks like it [23:29:52] wolfric, try typing [file://xxxxx], where xxxxx is whatever the place you want to link to is (I don't know the syntax for Windows network shares). [23:30:07] *Simetrical is trying to decide what computer game to try to get working in Wine [23:30:30] *Simetrical never finished Oblivion, should maybe try starting a new game of that and actually doing the main quest this time. Apparently rated gold in Wine. [23:32:07] so for example [file://insider/o/file.txt]? [23:32:25] comes out plaintext [23:33:25] you probably have to add file: to http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols first [23:33:59] (unless Sim was suggesting you try it in your browser location bar) [23:34:43] Is this bug complete BS or what? https://bugzilla.wikimedia.org/show_bug.cgi?id=15835 [23:34:48] *Simetrical stabs the W3C through the neck [23:35:01] Simetrical: how big is your .git for mediawiki? [23:35:31] werdnus, for all of trunk/ (with branches and tags in there somewhere, I think), 421M. [23:35:43] hmmm [23:35:53] *werdnus ponders checking out the whole / [23:36:04] yeah splarka i added $wgUrlProtocols[] = "file:"; [23:36:18] I need to be able to commit to my group_rights branch from the git group_rights branch [23:36:33] werdnus, I don't think you can check out svnroot/, it should be only one repo at a time. Checking out mediawiki/ sounds wrong, you should be checking out trunk/ and letting it automatically get the branches and tags. [23:37:19] Simetrical: I think you check out mediawiki/ and tell it which directories are the branches and the tags [23:37:47] werdnus, well, whatever, I can't remember how I did it. [23:39:23] so you definitely pulled branches and tags? (type git branch -r) [23:41:16] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 +comment (10Simetrical+wikibugs) [23:41:36] If I have an apostrophe in a section heading I cannot link to it as an anchor. Is that just the way it is, and I should create an 'id=' anchor, or is there some trick I can do to make it work? [23:42:34] .27 should work [23:42:54] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 (10siebrand) [23:42:59] [[#Foo.27]] [23:43:00] ==Foo'== [23:43:20] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 (10siebrand) [23:43:38] you can also use {{anchorencode}} [23:43:42] [[#{{anchorencode:Foo'}}]] [23:45:25] Sparka, when ever I enter those codes, like {{Clear}} or {{-}} it dislays as a template link O.o [23:46:06] Splarka* my bad [23:47:24] weredragon: you have to copy or create such templates locally [23:47:35] all templates are user-created in mediawiki [23:47:55] oh, huh [23:48:10] That's interesting. I'm obviously kind of new to this [23:48:47] if you don't wanna template it, try
    after the paragraph [23:49:04] [[floating image]] \n paragraph \n
    [23:52:34] Thank you Sparkla! [23:52:44] Splarka... :-) [23:52:48] rar [23:58:35] lol btw guys thanks for the help i really appriciate it what i didnt realise is that you werent supposed to include the require once before the default ones (yeah i know pretty stupid) [23:59:43] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 (10Simetrical+wikibugs)