[00:01:05] TimStarling: thanks hugely, that's working great! [00:05:05] 14(WFM) named reference no more functionning - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13199 +comment (10innocentkiller) [00:07:17] does anyone know how to change the doctype declaration MW outputs in a skin? In 1.15/1.16 I mean, it's been moved "somewhere" and one cannot edit it directly in the skin template [00:07:57] jd_, it's probably in OutputPage.php, why? [00:08:34] 03brion * r55218 10/trunk/extensions/FundraiserPortal/Templates/loader.js: and.... gratuitously different 'body' class for Vector compat [00:08:44] 03(mod) Blank toolbar. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19847 (10hartman) [00:08:54] Simetrical, it outputs a bare which causes jQuery to fail, for example [00:09:07] jd_, what outputs a bare , and how does that cause jQuery to fail? [00:09:10] 03mrzman * r55219 10/trunk/extensions/Makebot/migrateBotlog.php: add a maintenance script to migrate the bot status log to the user rights log [00:09:12] seems weird to me it's outputs such a minimalist doctypee, though [00:09:34] On trunk, by default, we've switched to an HTML 5 doctype, which is . [00:09:39] This should be causing no problems. [00:09:45] Simetrical, when selecting Monobook or any other skin, that's the doctype you'll get, on my MW version at least [00:09:46] If it is, please say what they are so we can fix them. :) [00:09:48] <^demon> TimStarling: Quick question...$wgThumbnailEpoch seems unused since you merged filerepo. Was that on purpose (in which case we can document it as not used)? Bug 20159 is about this. [00:09:53] Simetrical, ha [00:10:11] question - if i am getting several strings passed to cdata variables via SimpleForms, how do i concatenate that into a single string and pass that to the new page that clicking submit creates? [00:10:40] any pointers would be a huge help [00:10:57] jd_, you can set $wgHtml5 = false; for now to go back to the old doctype (and disable some HTML 5 features), but please say what the problem is, since we don't want stuff to break by default. [00:11:17] I'm not an expert with that part of the web, but it seems when I activate my jQuery functions, firefox reveals a bunch of identical errors related to a "syntax error" on this very first line, doctype à la HTML5 [00:11:48] What version of Firefox? Where did you get the functions? Does setting $wgHtml5 = false; fix it? [00:11:53] Simetrical, I'll try that one, and try to figure out what's the real issue underneath. [00:11:54] What version of MediaWiki? [00:12:02] Is it available online somewhere? [00:12:09] Simetrical, just a few minutes please ;) [00:12:14] Sure. :P [00:14:18] hum, I've just realized there are broken path towards my jquery libs with the new skin template version :D [00:14:28] there *may* be no pb ;) [00:15:04] I'd think not. [00:15:28] Simetrical: sitespecific hack landed in webkit i see. [00:15:38] weird all of a sudden {{CURRENTTIMESTAMP}} is giving the same time stamp over and over [00:16:29] thedj, yep. pkasting wanted to know when it would be removed. dhyatt says he's fine with keeping it forever, pretty much; and that if it's removed, it should be because they have data from actual deployment profiling that shows that their users are never hitting it. [00:16:42] Apparently we're quite special, and they add like <1 fix/year like this. \o/ [00:16:57] wow [00:17:14] He pointed out that we only added the stylesheet in the first place to work around their bug, so they should be nice to us. :P [00:17:36] <^demon> Are that many people affected? I mean, who actually /uses/ Mediawiki? [00:17:46] . . . um . . . is that a serious question? [00:18:01] Like half the wikis I see on the web are MediaWiki. [00:18:19] <^demon> :p [00:18:37] (Wikimedia doesn't count, because we have a fix out anyway.) [00:18:38] the problem is of course that the layout is SO messed up after this webkit fix, that they would get a LOT of complaints. [00:18:44] it's a very visible issue. [00:18:48] Yes. Not unreadable, but pushed down a ton. [00:19:33] 03(mod) Extension Makebot is obsolete; should be removed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14156 -need-review -patch +shell; +comment (10mrzmanwiki) [00:21:50] Simetrical, seems like cleaning paths did the trick. I however have a question: my local MW is installed within /mediawiki/, but the online wiki I'm actually updating has its root as /wiki/. Yet, I defined my paths like this: "/wiki/skins/bepo/jquery-enhancements.js" (using wiki not mediawiki) and it does work locally. Is it a bug or a feature (ie. wiki is a general purpose alias for the root)? [00:22:14] the install path does not, and can not, match the file path [00:22:21] jd_, I'm not clear what your question is. [00:23:20] <^demon> MrZ-man: <3 r55219 [00:24:21] well, basically, my local MW should require me to use "mediawiki" as it's base url, but it seems writing "wiki" also works. That's cool but I wondered wether this is really a MW feature. [00:24:26] :) [00:24:45] don't know if I'm clear on this actually… [00:25:26] <^demon> MrZ-man: First non-core script to use the new class :) [00:25:37] whee [00:25:57] I think its also the first maintenance script I've ever written [00:26:01] <^demon> Heh [00:26:13] jd_, I'm not at all clear what you're saying. Please try to be clear about the difference between web paths and filesystem paths. [00:26:55] Simetrical, I don't want to bother you, that's not really important anyway :D [00:29:48] 03demon * r55220 10/trunk/extensions/Makebot/migrateBotlog.php: eol-style [00:30:50] 03brion * r55217 10/trunk/extensions/FundraiserPortal/Templates/loader.js: Add missing div.pBody which was confusing the styles in monobook [00:33:40] mm, it helps if enable-auto-props is set to "yes" [00:35:01] <^demon> mmmm, auto-props [00:36:25] Simetrical, if you're willing to btw, http://bepo.fr/wiki/Utilisateur:Jd/tmp is an attempt at describing my question better ;) [00:40:28] 03brion * r55221 10/trunk/extensions/FundraiserPortal/ (13 files in 2 dirs): [00:40:28] More cleanup... Implement some of the fixups we haven't got round to on CentralNotice yet to try them out: [00:40:28] * Split CSS templates from the HTML templates so we can insert them in where they belong [00:40:28] * Use background loading of the portal def .js so the browser doesn't hang on it [00:40:28] * Move loader scripts into the background bit rather than on every page, so we'll be able to actually update it [00:41:24] Simetrical, forget about my question, I found the answer [00:41:39] should go sleeping for a while ^^ [00:41:50] yikes - http://en.wikipedia.org/wiki/User:BeliX [00:41:56] UNIQ27fd1acd69a560e5-h-0--QINU [00:42:06] triggered by the presence of transcludable special pages, it seems [00:42:55] special pages are transcludable? [00:42:56] if a transcluded special page returns an empty set it causes that [00:43:08] zocky: https://bugzilla.wikimedia.org/show_bug.cgi?id=16129 [00:43:39] <^demon> puzzlet: Some are. [00:44:12] zocky: it also happens when some of the results contain tags, apparently [00:44:29] bah, it's all too hairy [00:45:06] brion, make tim fix 16129, kthx [00:46:29] "(Tag: new article with no mention of title)" [00:46:31] hmm [00:47:29] definitely tags causing it there [00:48:29] 03(mod) Transcluded Special:Newpages and Special:Newimages expose strip markers and desanitize html when returning zero results or a tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16129 summary; +comment (10herd) [00:52:02] scarrrry [00:53:28] 03shinjiman * r55222 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Literary Chinese [00:54:40] I think to not confuse it with a non-existent adjective for 'scar' (to be filled with scars, or to scar over? dunno actually) you should draw out the a instead of the r... "scaaaaaary" [00:55:03] unless you're stabbing, then scar{2,}y is appropriate [01:02:02] 03simetrical * r55223 10/trunk/phase3/includes/Html.php: [01:02:02] Make element() escape input like in Xml [01:02:02] Added rawElement() to allow unescaped input (like Xml::tags() but [01:02:02] better-named :) ). This makes sure the easier case is the safer one as [01:02:02] well, and trades a risk of XSS for a risk of double-escaping. After [01:02:03] discussion in #mediawiki a few days ago. [01:05:11] *^demon dreams of a day when our output is generated with Html and HtmlForm classes [01:06:54] Heh, so now Chrome has a higher version number than Firefox? After less than a year? [01:07:27] Hi [01:07:35] AOL version logic [01:07:38] I am new to Mediawiki [01:07:50] And was wondering if anyone can tell me how to restore pages that disappeared [01:07:57] only the first number changes, it is always "point oh" [01:07:59] after I made some changes to the LocalSettings.php file [01:09:05] It's been years since I used IRC...is anyone getting this? [01:25:35] 03jeroendedauw * r55225 10/tags/extensions/SemanticMaps/REL_0_3_1/ (19 files in 4 dirs): Tag for version 0.3.1 [01:33:23] soooo... SimpleForms [01:33:30] anybody use that? [01:46:18] {{Special:Newpages/username=asdf}} and
{{Special:Newpages/username=asdf}} are still fun, yay [01:51:58] http://en.wikipedia.org/wiki/User:Tyw7 Heh [01:52:54] I like how he has the American flag, even though he says he's British [01:55:19] Emufarmers: Could that be an user page, or am I mistaken there? [01:55:34] JeroenDeDauw:ot [01:55:36] er [01:55:41] *Emufarmers spanks his enter button [01:55:55] it's the user page of somebody who was being annoying in here before [01:56:16] :O there's no transparency on that flag! I must be angry! [01:56:35] Hey, this is America, pal! Go back to Russia with your transparency! [01:56:42] ;_; [01:57:00] *sroracle picks up Indiana and carries it back to Russia [01:57:47] How come the Arizona flag gets special treatment? There's only sand there >:O [01:58:29] Although there's only farmland here... [01:59:08] The Arizona flag reminds me of the flag of Japan [01:59:22] Er, the old Japan [01:59:22] Land of the rising Sun. [01:59:24] *Emufarmers waves his cane [01:59:24] Clever. [02:00:15] Tuch`e Arizona. [02:00:24] But I still don't forgive you for John McCain. [02:01:54] blame Panama, blame Panama, they're not even a real landmass anyway [02:02:02] :O [02:05:18] So did webkit add a fix for compatibility with 1.15? [02:31:18] Emufarmers: looks like it [02:31:23] http://trac.webkit.org/changeset/47383 [02:31:50] if (url.endsWith(slashKHTMLFixesDotCss) && sheetText == mediaWikiKHTMLFixesStyleSheet) { ... m_styleSheet->deleteRule(0, ec); [02:31:57] hax [02:32:03] Is it better to store revisions compressed, or store them uncompressed but use InnoDB page compression? [02:32:15] *Splarka stores GreenReaper compressed [02:32:34] My vwls! [02:33:59] Wohoo. Hey at so late time ;) [02:34:39] Cuz MediaWiki logins are casesensitive and I did not find any way to disable it... only way is to edit MW code? [02:38:25] I don't think you can disable it, though maybe you can prevent spoofing with the Antispoof extension, or use an external authorization extension (disabling creation locally), with http://www.mediawiki.org/wiki/AuthPlugin, or maybe you can use the title blacklist to just restrict all names to all lowercase (except the first letter) [02:40:15] Can't use AuthPlugin, MW is the authorization center = drupal use it ;) [02:41:08] is your goal to prevent spoofing or allow lazy cases when typing? [02:41:35] how do you turn of user registration? [02:41:59] <^demon> $wgGroupPermissions['*']['createaccount'] = false; [02:42:07] <^demon> ^ Put that in LocalSettings [02:42:09] great, thanks [02:42:12] .php [02:42:25] Splarka: Mostly to prevent spoofing [02:42:37] Is it possible to prevent the contents list being printed? [02:42:47] Splarka: I will look at Antispoof ext~ but I guess it will be missing something ;D [02:43:01] <^demon> Kampling_Kaiser: Add __NOTOC__ to a page [02:43:23] ^demon: so i either have to have it on print+web, or i have to disable it completely? [02:44:06] Let's give a try, it looks nice. [02:44:22] JabLuszko: the problem is, if you wanted complete insensitivity, like [[User:FOO]] would normalize to [[User:foo]], you'd have to rewrite much of the title and link logic [02:44:41] due to the nature of handling usernames as a subset of page titles [02:45:10] Nono, to be honest I do not need links [02:45:10] but preventing spoofing should be doable with title blacklist and antispoof, somewhat [02:45:32] or you could restrict registration [02:45:39] Links are not important, I am more thinking about creating just one account with letters 'JabLuszko' [02:45:51] not JabLuszko Jabluszko, JaBlUszko etc [02:46:03] http://www.mediawiki.org/wiki/Extension:AntiSpoof [02:46:13] http://www.mediawiki.org/wiki/Extension:Title_Blacklist [02:47:01] hi/re [02:47:31] I need only AntiSpoof If I not wrong. [02:47:36] I hope it gonna work :) [02:47:38] I try to upgrade to 1.16alpha but I encounter the following error when launching update.php: Warning: Invalid argument supplied for foreach() in /home/dvorak/bepo.fr-web/htdocs/wiki/includes/LocalisationCache.php on line 612 [02:47:38] Fatal error: Unsupported operand types in /home/dvorak/bepo.fr-web/htdocs/wiki/includes/LocalisationCache.php on line 400 [02:47:54] well, with title blacklist you could also restrict any name containing your own, for example [02:48:08] for more fine-grained antispoofing of yourself and other admin [02:48:32] It's a small community, I guess noone will be playing such funny things [02:48:47] More is to prevent some ppl from creating 2 or 3 accounts with the same name [02:49:25] They are lazy sometimes and it will be easier for them to create new account with uppercases letters than use "Rembeer password on e-mail" function [02:49:29] 'fairnuff [02:50:04] Ok, dumping databaase :) [02:52:38] Is there a method to escape something with backticks for use in raw queries? [02:53:06] where can i get the extended editing options like wikipedia has? [02:53:07] Kamping_Kaiser: put a rule in your print css file [02:53:50] and should I use sprintf for putting variables into queries, or should I concat. [02:56:56] like the option at the bottom of this edit page over at wikipedia : http://en.wikipedia.org/w/index.php?title=Wikipedia:IPA_for_English&action=edit [02:57:02] Kamping_Kaiser: it should be something like ".toc {display:none}" in your [[Mediawiki:Print.css]] page, but double check with someone like Splarka since they are the css kunfugians around here [02:57:06] where you can choose from teh drop down box, for easier editing options [02:58:11] !charinsert | newrkv [02:58:11] --mwbot-- newrkv: CharInsert is an extension that enables the creation of JavaScript links which, when clicked, insert predefined text into the text box. These links are usually used in the "MediaWiki:Edittools" interface message. For more information, see < http://www.mediawiki.org/wiki/Extension:CharInsert >; for example usage, see < http://en.wikipedia.org/wiki/MediaWiki:Edittools >. [03:00:24] thanks [03:00:33] newrkv: the dropdown stuff is just javascript to split it into multiple pages (see MediaWiki:Common.js and probably a subpage called /edit.js or such) [03:02:37] Splarka: [[Mediawiki:Edittools]] and [[Mediawiki:Edittools.js]] appears to be where its at [03:03:31] p858snake: thanks, I'll investigate it [03:04:43] Splarka: Mmm.. do you know if AntiSpof change behaviour of User::newFromName()? Nothing changed after installing it :P Tables in database (no records inside) [03:05:07] no idea [03:05:33] *Splarka summons ^demon to do your bidding [03:06:32] <^demon> AntiSpoof just hooks into account creation and does an additional check against existing usernames. [03:07:21] So I failed somewhere ... [03:07:55] does it show on Special:Version ? [03:08:03] Yeah [03:08:05] <^demon> You were able to spoof an existing username? [03:08:29] To be honest I am using part of createAndPromote code from maintance directory [03:08:52] <^demon> That won't check the hook I believe. [03:08:55] probably exempt from such checks [03:08:56] <^demon> It's much more low-level. [03:08:59] as sysops are [03:09:07] Mmm... Ok ok [03:09:13] ....or that [03:09:14] So I need to find something else :) [03:09:27] try Special:UserLogin/signup while not logged in? [03:09:48] The 'normal' Signup should be blocked [03:10:00] Any of you guys know how to escape a string with backslashes for use in a query? [03:10:33] what kind of query? [03:11:04] Splarka: The idea is to show user a form with login and server fields. After filling them the activation e-mail will be send to login@server [03:11:26] Splarka: CREATE DATABASE [03:11:31] Splarka: If they will not click on it, drop account. If they will = full members [03:11:31] <^demon> $db->addQuotes( $someUnquotedString ); [03:11:36] if i need to add about 200 categories to my site, am i just screwed or is there a fast way to do that? [03:11:39] not quotes, backticks [03:12:17] <^demon> Oh hm [03:12:34] JabLuszko: dunno then, server side voodoo interaction between different products [03:12:38] good luck ^_^ [03:13:50] Thanks ;) Just wanna avoid editing MW code - it could be harder to update later [03:19:01] p858snake: \o/ your toc change appears to be working. Thank you! [03:19:11] Yay! \o/ [03:25:36] any ideas on mass creation of categories? [03:26:07] i created a dummy page that belongs to all of them (about 200), but apparently i have to edit them for them to exist? [03:26:52] anyone know a good place to copy some mediawiki:edittools code from? [03:26:55] you could create a bot to do it [03:26:59] that actually works [03:28:00] how do you do that? [03:28:34] wikipedia, you need [[Mediawiki:Edittools]] [[Mediawiki:Edittools.js]] (and i'm pretty sure the extenstion we mentioned earlier) [03:31:53] edittools.js? [03:31:57] hotchip: you don't actually have to have a category description page exist to use a category (though it is more convenient) [03:32:25] you can just leave them red and let users create them as needed if you're lazy [03:33:09] you could even leave a note on MediaWiki:Newarticletext with instructions, heh [03:34:54] well apparently dpl doesnt believe they exist unless they are edited [03:38:57] then dpl sucks (more), heh [03:39:48] yeah i'm not too thrilled with it so far [03:40:33] basically i'm trying to constrain users to a large pre-set range of categories that they can select from a menu [03:40:34] pywikipediabot, autowikibrowser, or just a script to post to the api, should do it quick [03:40:49] dpl? [03:40:57] !dpl [03:40:57] --mwbot-- The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [03:41:18] thx [03:41:37] http://www.mediawiki.org/wiki/Extension:DynamicPageList_%28third-party%29 [03:42:19] and of course there are 3 confusingly titled branches of it [03:42:27] with 3 confusingly similar but not identical syntaxes [03:50:27] Can I just do $wgSharedTables = array(); $wgSharedDB = "the_database_name"; $dbw->sourceFile("tables.sql"); to source a file without mediawiki messing with where the tables are created? [03:55:25] $res = $dbr->estimateRowCount('user', '*', 'user_name LIKE '.$dbr->addQuotes($login)); [03:55:35] I guess I failed at something very easy, an ideas:D? [04:06:59] 03(mod) Enable the Incubator-specific extension on the Wikimedia Incubator - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18788 +comment (10pablo.manzano) [04:47:25] I'M ON A BOAT! [05:00:09] 03(mod) IE7 in RTL languages does not display the enhanced toolbar - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20293 (10nkomura) [05:57:10] i have a question that im a little confused about [05:57:31] is the new "beta" acai available in the latest stable release [05:57:31] ? [05:57:40] 1.15.1 [05:59:12] you mean the "Try Beta" thing on Wikipedia? no, it requires many core adjustments that were made to 1.16 for it (even though it is currently an extension) [05:59:31] *Splarka thought acai were palm trees [05:59:44] they are a type of tree [05:59:53] i have one in my facebook farm [06:01:28] ahh so its not for use yet Splarka? [06:01:50] well, you can use it of course, it will just be a bit broken as it is in progress [06:01:58] cool [06:02:01] brb [06:02:04] (and you have to run trunk) [06:02:07] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/UsabilityInitiative/ [06:02:14] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/ [06:02:40] or run trunk as it was when WMF wikis last branched, whenever that was X_X [06:02:58] since trunk is kind of broken due to massive branch merges and lack of code review [06:27:55] Splarka: any idea when finished results will be released [06:28:04] 03(NEW) Changing SITENAME of ckbWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20295 enhancement; Normal; Wikimedia: Site requests; (aso.mehmudi) [06:28:24] needhelp1: "when it is done" is usually the answer:/ [06:28:29] lol [06:28:50] i wish there was a way to suggest feature requests [06:28:57] bugzilla [06:29:14] what feature(s) do you have in mind? [06:29:14] 03(mod) Changing SITENAME of ckbWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20295 +comment (10p858snake) [06:29:51] lots of improvements to a backend... [06:29:58] backup and auto update in core [06:30:32] some type of user management [06:30:48] i'd be suprised if no one has requested backup [06:31:19] ahh, general vagueness, heh [06:31:37] there not "that" vague .. [06:32:01] backup? all files? or db? [06:32:07] most of those shouldn't be in core tbh :runs: [06:32:45] i would disagree p858snake for various reasons [06:32:46] Add stuff to bugzilla [06:32:53] elaborate on "user management" [06:33:03] you'lll either be told you wrong, or itll be reassigned [06:33:10] lol [06:33:13] most of user rights can already be done in core afaik execpt the creation of groups [06:33:19] Reedy: don't bite so much [06:33:22] ;) [06:33:38] p858snake: the configure extension stuff should fix that [06:33:41] but biting is fun [06:33:47] *Reedy concurs [06:33:59] and there are some manipulatable groups in Central Auth's steward tool extensionlets [06:34:14] (wat) [06:34:34] i try to be extremely careful when using extensions [06:35:19] when/if configure gets depolyed to the wmf wikis, random groups with little reasoning will start to appear everywhere [06:35:48] even with select people having permission to do it [06:36:56] what would you all like to see added to core? [06:37:36] i'm the one that wants everything moved to extenstions [06:37:46] thats a bad idea [06:37:50] imo [06:37:52] should is ay [06:37:54] *say [06:37:57] its easier to secure something that you have add things to compared to removing things [06:38:31] third party extensions are notoriously insecure [06:38:57] the core stuff wouldn't be third party.... [06:39:10] there are plenty of "official" extensions [06:39:20] but if you removed a bunch of stuff it would force users to use extensions [06:39:26] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ [06:39:30] lots of people refuse to use extensions [06:39:45] http://www.mediawiki.org/wiki/List_of_extensions_to_be_merged_to_the_core [06:40:17] last time someone looked at the extenstions alot of them were secure, it was just a few obsoulate and unmaintaned ones that wern't [06:41:50] im interested in what i would consider basic additions to core. [06:42:33] s/basic/necessary [06:43:14] nothing is really necessary since everyone uses it differntly [06:43:48] improvements to UI and user management to me is necessary [06:44:57] media management.. dealing with spam [06:45:28] web 2.0 theme ... which i think is being addressed [06:49:25] 03(NEW) Language::getMagic() expected to be a reference - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20296 minor; Normal; MediaWiki extensions: DynamicPageList; (kapplet) [08:03:37] 03(mod) E-mail notification (ENotif) user options are shown in preferences even when ENotif is disabled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19700 (10mail) [08:04:47] https://bugzilla.wikimedia.org/show_bug.cgi?id=20281 marked INVALID? [08:04:50] Scandalous. [08:31:56] hello, I found a (small) bug on the mediawiki running fr.wikipedia.org, I'm not sure it has not been reported already. Am I at the right place to ask? [08:32:49] Plyd: yes [08:33:07] the bug is in redirect list http://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial:Pages_li%C3%A9es/France&hidetrans=1&hidelinks=1 [08:33:20] there are pages that have never redirected to the page [[France]] [08:33:29] 03siebrand * r55226 10/trunk/extensions/Cite/cite_text-de: Fix potential capitalisation issue in message reference [08:34:19] like [[Portail:Géologie]] that is also reported on http://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial%3APages+li%C3%A9es&hidetrans=1&hidelinks=1&target=Royaume-Uni&namespace= [08:36:15] should I report that on bugzilla? [08:37:55] hmm [08:39:15] funny that [08:39:46] how can so many pages claim that page as a redirect [08:40:41] oh, hmmmmm [08:40:49] I wonder [08:41:22] *Splarka tests [08:42:41] 03siebrand * r55227 10/trunk/phase3/ (192 files in 3 dirs): [08:42:41] * remove unused Skin::copyrightLink() [08:42:41] * remove now unused 'copyrightpagename' ('copyrightpage' is used elsewhere) [08:42:41] * rebuild core messages files [08:42:41] yes, that does seem to be a bug [08:43:10] ok [08:43:10] Plyd: the reason is, if the page is a redirect, for some reason, all normal links on the page are being registered as redirects [08:43:18] so for example [08:43:22] Simetrical: so, may we use HTML5 now? [08:43:24] #REDIRECT [[Foo]] [08:43:25] [[Bar]] [08:43:38] will register that page as a redirect on the backlinks of both Foo and Bar [08:43:45] rather than a redirect on foo and a page link on bar [08:44:02] good find [08:44:07] I wonder if it is an open bug [08:44:35] Plyd: you can "fix" it by removing everything from the page except the redirect line [08:44:40] so if I remove the text after #redirect[[page]] the problem won't appear anymore? [08:44:42] ok [08:44:44] :) [08:44:48] http://fr.wikipedia.org/w/index.php?title=Portail:G%C3%A9ologie&diff=42864311&oldid=36044171 [08:44:49] yah [08:44:55] I am guessing so anyway [08:45:36] http://test.wikipedia.org/w/index.php?title=Foo&diff=76713&oldid=76663 -> http://test.wikipedia.org/wiki/Special:WhatLinksHere/Fish [08:46:25] and yes, you can open a bug for that, probably best as Product: MediaWiki, Component: Redirects [08:46:47] it works :) [08:47:01] ok [08:47:46] *Splarka checks for dupes real quick [08:48:18] oop [08:48:18] > Redirect page with additional normal wikilinks shows up as redirect on every linked page's "what links here?" [08:48:28] looks like it's been reported Plyd [08:48:38] my bad, didn't think it was such an old issue [08:48:52] where? [08:49:03] https://bugzilla.wikimedia.org/show_bug.cgi?id=7304 [08:49:07] thanks [08:49:41] 3 years:/ [08:50:42] I am not sure actually if that is the same issue, here is the duped bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=12971 [08:51:14] annoying [09:08:12] 03dale * r55228 10/trunk/phase3/js2/mwEmbed/ (25 files in 6 dirs): [09:08:12] * initial import "kaltura skin" (yaron.s) [09:08:12] * basic hook into js system for new k-class names [09:08:12] * menu items remain to be filled in. [09:10:03] hmm, weird, my usabilitywiki account had to be manually migrated to my SUL account; is it the expected behaviour ? [09:19:11] guillom: What do you mean manually migrated? [09:20:37] I had to open my preferences, « manage my global account » and re-enter my password in the page that lists all my accounts [09:20:55] Hm [09:21:08] Could it be that you unified your accounts before usabilitywiki was created? [09:21:27] Although actually, that shouldn't be a problem [09:21:33] It worked just fine for me [09:21:40] well, definitely, I unified them when SUL was enabled [09:21:44] Hm [09:22:08] Did you create an account at usabilitywiki or did you just login with your existing SUL account? [09:22:14] (when you first went there I mean( [09:23:02] don't remember; perhaps I created an account instead of logging in; but I shouldn't have been able to create an account there, since there was already a SUL account with the same name, should I? [09:23:22] SUL wasn't enabled on usabilitywiki right from the start [09:23:25] RoanKattouw: usability wiki wasn't in the SUL managed set when it was first setup. [09:23:27] That could be the cause [09:23:29] ah, ok [09:23:38] that must explains it [09:23:39] thanks [09:23:49] *ialex also had to merge his account manually ;) [09:24:30] There is another issue with SUL and usability/strategywiki though: https://bugzilla.wikimedia.org/show_bug.cgi?id=20251 [09:26:03] RoanKattouw: they need to be added to Central Auth's config in CommonSettings.php [09:26:16] since there's no cookie on .wikimedia.org [09:26:26] ialex: I concluded that myself, read on [09:27:40] yeah ^^ [09:28:29] diminishing returns for the zillions of little wikis on that domain [09:28:39] (okay, not zillions, but like a dozen or two) [09:29:30] one cookie (wikimedia.org) gets you 90% of all traffic, another three get you 99%, another three get you 99.9%, after that you're just adding nines [09:35:02] 03(mod) Install Extension:Transliterator on en.wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20246 +shell (10alex.emsenhuber) [09:37:43] 03(mod) Extension Drafts for cs.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19909 +shell (10alex.emsenhuber) [09:39:38] Splarka: Are there really dozens of SUL-enabled wikis on .wikimedia.org ? *wonders which ones* [09:42:12] RoanKattouw: all of them are SUL-enabled [09:42:27] Except some which are seperated from Wikimedia installation [09:43:41] Even the private ones? [09:43:51] *RoanKattouw tries to remember whether he had to create an account on collab [09:44:10] not privante and fishbowl [09:44:14] -n [09:44:25] 03(mod) Add "hide placeholder" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20290 (10FT2.wiki) [09:44:27] Nope collab doesn't have SUL [09:45:01] well, lesse, there is (or was) advisory, beta, commons, incubator, meta, species/nostaliga (actually on wikipedia.org domain tho?), quality, wikimania2006, 2007, 2008, 2009, 2010... [09:45:24] beta is on wikiversity [09:45:34] hmm, right [09:45:54] but there are also loads of non-wiki domains doing stuff [09:46:00] And strategy and usability have joined [09:46:02] Aye [09:46:05] Lots of chapters [09:46:09] But they don't have SUL [09:46:50] *ialex just logged in nlwikimedia [09:47:19] lol yeah that one also has SUL [09:47:30] *RoanKattouw wonders whether ialex can even read any content on nlwikimedia [09:47:33] hi [09:47:42] have a few qs about imagemaps [09:47:47] RoanKattouw: yes [09:47:56] is it a problem not to set a size of image to imagemap? [09:48:00] RoanKattouw: it's not private or fishbowl [09:48:12] ialex: I meant like understand the language :) [09:48:16] I mean, if I use just "image:example.jpg" and no other attributes it work. But in the guidelines it is specified that it should go to [[]], but if I set it to brackets it generates an error [09:48:19] *vvv is in ruwikimedia [09:48:25] RoanKattouw: ah :D [09:48:26] the example might be found here: http://cs.wikiversity.org/w/index.php?title=Slune%C4%8Dn%C3%AD_soustava/Zem%C4%9B_je_kulat%C3%A1&action=edit [09:48:47] *file:example.jpg [09:48:58] and the statement "All coordinates are according to the full-size image, not the visible image." source:http://www.mediawiki.org/wiki/Extension:ImageMap is wrong, the coordinates works for all image sizes [09:49:15] omit the brackets, just use pipes [09:49:23] and that text is correct [09:49:29] pipes? [09:49:30] all coordinates refer to the full sized image [09:50:05] [09:50:07] Soubor:Rotating earth (large).gif|100px [09:50:08] etc [09:50:19] see http://www.mediawiki.org/wiki/Extension:ImageMap#Syntax_example [09:50:20] Splarka: what about not using px? [09:50:34] if you don't use px it isn't a valid size [09:50:45] and will get parsed as the alt text or something [09:51:09] so I should set a size, right? can I use ems or %? [09:51:17] you can't use em or percent, only px [09:51:25] ok [09:51:45] you don't have to set a size, but you can [09:52:09] I see [09:52:19] you must map out all the shapes according to the dimensions of the orignal image [09:52:33] say your image is 500x500, and you define: rect 0 0 100 100 [[Foo]] [09:52:42] and then size the image to 250px [09:52:48] that square will be resized to be 50x50 [09:52:49] if I dont use the size, the size is default? like in the case "[[file:splarka.jpg|thumb]]"? [09:52:54] yes [09:53:15] this means, you can map out a complex imagemap, and change the thumbnail size at will without messing up the map [09:53:30] but this also means, every time you reupload an image, if you change the size you must redo the map [09:53:44] but it also works if in Mozilla you zoom in/out [09:54:35] Splarka: well, how I can get noticed that someone reupload image I am using ? [09:55:36] watchlist ^_^ [09:56:00] hmm, I wonder if there is a template [09:56:23] good point, I will register a new user commons:user:^_^ to have separated watchlist [09:57:51] umm, thats probably all, I needed to understand [09:57:56] k [09:58:33] Splarka: thx [09:58:37] rar [09:59:16] *Juandev wonders to seek for developers abrev talk [10:07:23] I need a parsers function to determine if an article is in a specific category, is there any such thing? [10:07:29] 03raymond * r55229 10/trunk/extensions/ (4 files in 2 dirs): [10:07:29] Use the new i18n system for magic words [10:07:29] Add extension to translatewiki [10:07:29] Make 'transliterator-prefix' optional [10:09:24] http://www.mediawiki.org/wiki/Extension:HasCategory [10:09:38] http://www.mediawiki.org/wiki/Extension:CategoryFunctions [10:09:46] http://www.mediawiki.org/wiki/Extension:CategoryTests [10:09:58] You're my idol, Splarka [10:10:06] dpl can probably do it too [10:10:12] but those all look a bit old [10:10:27] wouldn't they also break the cache as well? [10:10:44] p858snake: people that ask for insane parser functions usually don't care about cache ^_^ [10:10:59] there are several {{USERNAME}} extensions after all, and random selection [10:11:46] Meh, I just wanted to add something to talkpagetext that could describe if the article page was of a "class we determine" and if so display the name of said class [10:16:15] HuggleAway: use namespaces [10:16:30] HuggleAway: if the "classes" you want don't frequently change [10:16:46] namespaces are less flexible, but more tightly integrated [10:18:51] It's like featured article, good article, those types [10:19:13] The best thing I can think of it if it has the template or category for the page [10:19:41] btw, one more q [10:20:21] if I want to move page from "A" to "A/init", what does it mean the third option "move subpages"? [10:21:20] does it mean that if I have there "A/dog" and "A/dog/gray dog" it will move to "A/init/dog" and "A/init/dog/gray dog"? [10:24:38] hi [10:24:47] hi sebmol [10:25:06] Well, thanks Splarka :D [10:25:27] hi guillom [10:25:35] i have a new mediawiki installation and i need some help [10:25:48] backlinks on subpages aren't showing up :( [10:25:52] hi sebmol [10:26:10] sebmol: Make sure that the parent pages all exist [10:26:11] rar [10:26:36] they do [10:26:36] e.g. if you have A/B/C , make sure A and A/B exist too [10:26:36] hi guys [10:26:41] And make sure you have $wgNamespacesWithSubpages[NS_MAIN] = true; set in LocalSettings.php [10:26:43] Juandev: yah, should do that [10:26:47] yes, have that too [10:26:52] this is for a page in project NS [10:26:53] Splarka: cool, thx [10:26:54] is there such a thing in wikipedia that hides all info for people who aren't logged in? [10:26:55] not sure if it applies to moving pages to subpages of itself, though [10:27:01] s/wikipedia/mediawiki/ [10:27:09] sebmol: Then use NS_PROJECT [10:27:09] gamla_kossan: yes, sort of, but it is all or nothing [10:27:17] !prevacc | gamla_kossan [10:27:17] --mwbot-- gamla_kossan: For information on preventing access to your wiki, please see . [10:27:20] Splarka: sure, that's exactly what I want [10:27:26] Splarka: thanks =) [10:27:38] Splarka: well, I will try and we will see. from the time I am there an admin - things goes better:-) [10:28:06] gamla_kossan: http://board.wikimedia.org/wiki/Main_Page (an example) [10:28:30] ah [10:28:32] thanks [10:29:19] Splarka: theres a bug [10:29:23] hmm [10:29:25] Roan: is it a "usability" issue that some projects want page-specific subpaging? heh [10:29:34] Juandev: there are 20,000 bugs [10:29:49] not working :( [10:30:09] Splarka: Wiki configuration is not part of usability as far as our project scope is concerned :) [10:30:19] sebmol: Can you link to your wiki? [10:30:21] sebmol: go to [[Project:Foo/bar]], click edit, type in a-{{SUBPAGENAME}}-b, click preview, what does it show? [10:30:46] RoanKattouw: no, I mean like __FORCESUBPAGE__ or __NOTSUBPAGE__ overrides per-page [10:30:47] it moved "A/init" to "A/init/init" with the conntent of "A" page. "A/init" was nonexisting page. thats a wierd [10:31:11] Splarka: a-Foo/bar-b [10:31:17] Splarka: Aah. {{sofixit}} [10:31:22] sebmol: subpaging is not enabled [10:31:23] you need better pesticides guys [10:31:28] re-try config [10:31:35] sebmol: Then you should set $wgNamespacesWithSubpages[NS_PROJECT] = true; [10:31:44] At the *bottom* of LocalSettings.php [10:31:55] hmm [10:32:27] isn't that the default value? [10:32:59] no, it's not [10:32:59] nm [10:33:01] thanks [10:33:32] vvv, you can use HTML 5 if ( $wgHtml5 ). Otherwise, no, since technically we're still supporting the option for XHTML 1.0 Transitional. Also, you still have to output well-formed XML, unless $wgWellFormedXml is false (but it doesn't have to be valid XML, if $wgHtml5 is true, only well-formed). [10:33:59] sebmol: only user, and ns-8, and all talks [10:35:10] > Moving a page with subpages to be a subpage of itself causes it to be moved twice [10:35:18] https://bugzilla.wikimedia.org/show_bug.cgi?id=14817 [10:35:29] Juandev: please compare your results to that bug report and see if it is the same issue? [10:35:34] That sounds like my fault. :D [10:35:44] Splarka: thx for the link [10:36:06] Let me see if I can fix that quickly. [10:36:17] and then wait 3 months for a scap ^_^ [10:36:31] You people need to CC me on bugs that are my fault so I can fix them. [10:36:44] Nobody wants to fix bugs, but it's more likely if they feel guilty. :) [10:36:47] well, lets blame everything on you [10:37:14] are you peripherially responsible for rewriting the script/style includes? [10:37:43] (Well, I guess it's not fair to say it's my *fault*, as though it was a regression. I just added the feature in the first place.) [10:37:45] eg: gadgets is appending wgStyleVersion to the query string with a second question mark and thus invalidating the mime type [10:38:01] Invalidating the MIME type? [10:38:23] script type="text/javascript" src="/w/index.php?title=MediaWiki:Gadget-rightsfilter.js&action=raw&ctype=text/javascript?233zz1"> [10:38:36] invalid ctype parameter [10:38:41] Heh. [10:38:45] Isn't Gadgets Duesentrieb's fault? [10:38:52] Someone didn't use wfAppendQuery(). :) [10:39:07] no, someone rewrote script loading [10:39:12] and now it always appends the styleversion [10:39:18] They did? When? [10:39:20] it wasn't broken until the last scap [10:39:27] dunno, someone somewhere did something! [10:39:32] not the gadgets' fault [10:39:45] so I blame you so you feel guilty and will fix it ^_^ [10:39:51] Content-Type: text/x-wiki; charset=utf-8 [10:39:54] Fatal error: Call to a member function timestamp() on a non-object in /var/www/git-trunk/phase3/includes/Title.php on line 2860 [10:39:57] *Simetrical frowns [10:40:23] It's rather inconvenient to do development on broken trunk, isn't it. [10:40:25] hi [10:40:28] heh [10:40:32] Splarka: yes it is the bug, so I will wait 3 month, let me count [10:40:34] alright, so the subpage thing works now [10:40:39] got another problem though [10:41:06] Simetrical: $dbw is defined 4 lines later :) [10:41:11] Yeah, I noticed. [10:41:14] Simetrical: https://bugzilla.wikimedia.org/show_bug.cgi?id=19852 seems to have been marked as fixed, doops [10:41:19] maybe I can reported there to, or is it useless, when you know it? [10:41:20] when I use [[/test]] as a link on a page, it doesn't link to "{{PAGENAME}}/test" but rather "/test" [10:41:24] same problem? [10:41:41] but still shouldn't be appended to gadgets, or any scripts/styles other than in /skins [10:41:42] sebmol: Yes, that page needs to have subpages enabled [10:41:44] or /extensions [10:42:59] *Splarka stops bugging Simetrical [10:43:28] $wgNamespaceWithSubpages[100] = true; [10:43:29] it does [10:43:34] oh [10:43:35] sorry [10:43:37] 03simetrical * r55230 10/trunk/phase3/includes/Title.php: [10:43:37] Fix fatal on every move over redirect, from r53659 [10:43:37] Best not to call methods on variables until after you initialize them. [10:43:37] :) [10:43:37] doesn't [10:43:38] an s missing [10:43:39] damn it [10:44:22] MrZ-man, ^^ [10:45:05] More testing plz. [10:45:53] Hmm [10:46:17] Is there any way I can get SpecialWithout:Interwiki to show more than 1000 results (it seems capped) [10:46:54] Oh, great, it looks like someone reimplemented this as Title::moveSubpages() and then left all the code duplication rather than porting SpecialMovepage? [10:47:02] I'm betting API people. [10:47:04] Thanks, API people. [10:47:19] let he who is without blame cast the first knife [10:47:32] Simetrical: Me [10:47:45] HuggleAway: this page is cached with 1000 [10:47:47] Simetrical: I tried to get you to do the porting but you were lazy and I didn't feel comfortable doing it [10:47:53] I even said the latter in the commit summary [10:48:01] Okay, so how about I fix the bug in my code, you check if your code has the bug and fix it if it does, and both of us don't bother to merge them together? [10:48:10] hah [10:48:25] HuggleAway: if you want more result, ask someone on the toolserver to run the same query but without the limit [10:48:25] ialex, Any way I can up that? [10:48:36] HuggleAway: no [10:48:48] Moving a page with subpages to a subpage of itself moves itself twice, that's the problem. [10:49:11] maybe it should move the subpages first, heh? [10:49:15] *Simetrical thinks it's the responsibility of the person adding the new code to refactor it so there's no code duplication [10:49:25] Simetrical: what about using Web Forms 2? Should I use browser checks or not? [10:49:25] Yeah that's true [10:49:29] On the other hand, I added the code duplication first. \o/ [10:49:33] I should port movepage [10:49:57] vvv, you mean the new HTML 5 input types and so on? Those should all fall back gracefully, or almost all. Just add them, and non-conformant browsers will ignore them. [10:50:02] If and when I have time, which will probably be a while [10:50:28] RoanKattouw, on the other hand, I actually copy-pasted the code from Renameuser (which I had written) to Movepage first. :D [10:50:34] Yeah [10:50:37] But come on, two uses aren't enough for refactoring, only three uses. [10:50:45] And IIRC that code was hella ugly [10:51:38] Well, not *hella* ugly. Just . . . fairly ugly? [10:51:42] Oh that's right, it mixed UI and DB code all over [10:52:02] Yes, but that doesn't count as ugly in MediaWiki, that's normal. [10:52:07] After looking at that I was very tempted to do a wikitech post citing that rev and begging people not to do that again [10:52:32] I've refactored most write operations apart from edit to not do that [10:52:33] Normal MediaWiki developers don't pay attention to you crazy API users. [10:52:39] :) [10:52:42] Sadly [10:52:46] :) [10:52:59] But the least we can do is try to avoid these things in the future [10:53:06] Yeah, I know. [10:53:22] I don't add many new features like that anyway, really. [10:53:35] No worries man [10:54:02] It's just that I looked at the code and started screaming, so I decided to reimplement it as a proper backend function, but then I was too scared/confused to port stuff [10:59:17] *Splarka gives Roan a candy cane [11:00:09] *RoanKattouw repurposes Splarka's candy cane as gratitude for all the JS work he's been doing and accept it [11:05:39] I think I just found a totally different bug. [11:06:00] Try moving Foo -> Foo/Bar -> Foo -> Foo/Bar with subpages each time, if it has subpages. [11:06:28] Then you get a fatal error because it's trying to move one of the subpages and doesn't expect the redirect to be there or something. [11:07:03] perhaps just restrict the feature to only allow it when moving a base page to another base page [11:07:17] User:Foo to User:Bar, okay, User:Foo to User:Bar/foo, not okay, etc [11:07:22] That seems too restrictive. [11:07:22] the main use is renaming users, no? [11:07:28] No, that's totally different code. [11:07:29] they'll live [11:07:31] Because I duplicated it. \o/ [11:07:40] Originally it was only for renaming users, now it's for generic renaming. [11:07:42] sheesh [11:07:50] then it is a silly feature ^_^ [11:07:56] I added the generic feature at the request of Wikibooks people, IIRC. [11:07:59] Not so silly for them. :) [11:08:04] yah, but they suck [11:08:04] 03ialex * r55231 10/trunk/extensions/Configure/ (4 files): * (bug 19058) Added configure-old-summary-datetime message for better date and time localisation in configure-old-summary message [11:08:20] Dang, still a fatal erro. [11:08:22] error. [11:08:41] 03(FIXED) Add date, time, User-name parameters to message Configure-old-summary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19058 +comment (10alex.emsenhuber) [11:09:18] http://en.wikibooks.org/w/index.php?title=MediaWiki:Common.js/RandomBook.js&oldid=1340003 [11:09:43] Hey, wait, I already handled this case. [11:09:46] Why is it not triggering? [11:10:12] http://en.wikibooks.org/w/index.php?title=Wikibooks:Alphabetical_classification&action=edit [11:10:41] ^ that was their "random book" javascript, scrape a page's html with ajax, the page containing category = Alphabetical/A .. category = Alphabetical/B ... [11:10:53] wikibooks = silly ^_^ [11:12:10] 03ialex * r55232 10/trunk/extensions/Translate/ (check-blacklist.php groups/mediawiki-defines.txt): update Translate per r55231 [11:14:50] Yikes, I have to get going. Why did I think this would be a quick fix? [11:32:18] <^demon> werdna: Can you possibly sync a regression fix from your preferences rewrite? Bug 19468, r52762. It's been waiting for over a month now and I've already got 2 dupe bug reports on it. [12:02:08] 03demon * r55233 10/branches/new-installer/phase3/includes/installer/WebInstallerOutput.php: Show ltr/rtl class in , based on chosen installer language. Fixes link spacing issue. [12:04:49] <^demon> Emufarmers: Fixed in the branch now :) [12:07:26] Does someone have a good tutorial for modifying MediaWiki with CSS ? [12:07:37] It's very confusing and not detailed that much :S [12:08:07] I know how CSS works... just can't find good reference on how to use it properly with MediaWiki [12:08:28] 03(NEW) toolbar does not load on Safari 2 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20297 minor; Normal; MediaWiki extensions: UsabilityInitiative; (hartman) [12:09:29] lawrey: what do you want to do ? [12:10:21] How to modify the look of the pages in general... and how to add ID and classes to content in articles so I can modify them in the CSS [12:10:45] lawrey: in wiki content, or in the interface ? [12:11:10] ah, you already said content. [12:11:12] both [12:11:47] like now I'm just ttrying to modify the "sidebar" with the help given on the wiki help and I can't get it to work [12:11:49] lawrey: the interface should already have all the ids and classes you need. in content, just use
and . [12:12:11] custom CSS can be added to MediaWiki:Common.css [12:12:18] Where can I find those "ids and classes" for the interface? [12:12:28] in the html source code [12:12:44] And does I need to "true" something in the PHP to be able to use div and span in my content? [12:12:47] firebug is recomme3nded [12:12:51] lawrey: you use firebug or Safari WebInspector, or Opera. [12:12:58] okk! [12:13:07] !html [12:13:07] --mwbot-- For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [12:13:09] lawrey: no, "simpel" htmlk is always allowed in wiki pages [12:13:27] lawrey: note that there should be no leading space in your wikitext though - that triggers pre-formatting [12:13:43] thedj: that's misleading [12:13:59] you only need that for or or