[00:00:34] Where's the morebots sauce? [00:00:43] *werdnum prods domas [00:03:29] I haven't quite figured out what Twitter is. [00:03:42] It seems like I'm going to have to at some point. [00:03:59] (Not to say use it, just know what it is. I'm still not a member of any social networking site.) [00:04:01] Simetrical: Twitter is fun [00:04:05] (And I don't own a cell phone. Hah!) [00:04:42] I thought "this is stupid" [00:04:44] I'm really bad a posting (and, for that matter, coming up with funny posts xD), but it's kind of fun to login to twitter and see all of the updates from friends and various "famous twitterers" [00:04:56] and then I joined identi.ca and set up XMPP notification and got kinda hooker. [00:04:59] HOOKED [00:05:10] Quick question, I just restored a wiki from an XML dump, but all the external links no longer work, any idea why? (eg [http://url.com link text] ) [00:05:44] Brion, when I get an engine to convert from one script to another script, how do I use this for localisation ? [00:06:37] brion: I don't seem to have access to wikitech.wikimedia.org, which is, I'm told, where morebots is run, and the source on SVN is out of date. [00:06:41] werdnum: what is identi.ca like? basically just twitter? [00:06:50] chuck: Yeah, with some trinkets -- it's an open source version [00:07:20] ah, yes, that Laconica thing [00:08:00] well I guess i'll register one for yourwiki so no one else nabs it [00:08:52] werdnum: last update locally is feb 14. where's the svn copy? [00:13:31] brion: let me see.. [00:15:13] brion: Jan 29 [00:15:26] oh wait [00:15:29] October 29 [00:15:47] Any idea why external links wouldn't work on a fresh mediawiki install restored from an xml dump? (eg [http://url.com link text] ) [00:15:51] What identi.ca name should I register? [00:15:55] i have this template: http://pastebin.com/m587d299 [00:16:10] f I uncomment lines 10-18 it crashes the design, although the lines seem fine to me [00:16:14] kaoticsnow: maybe something broke something :) [00:16:19] why it crashes the design? apparently, it adds a few


\n

in the html where it shouldn't [00:16:33] werdnum: linky? i could update it in svn if i knew where it was :D [00:16:41] its strange cuz I don't get any errors but external links only display plain text [00:16:43] izua: That code makes me cry [00:16:50] brion: Careful, the password is hard-coded. [00:16:53] kaoticsnow, do you have a link? [00:16:55] bah [00:17:11] 03(mod) special:export exports two copies of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17374 (10ssanbeg) [00:17:12] its an internal site unfortunatly. [00:17:12] trunk/tools/adminlogbot [00:17:25] http://www.mediawiki.org/w/index.php?title=Special%3ACode%2FMediaWiki%2Fpath&path=%2Ftrunk%2Ftools%2Fadminlogbot [00:17:26] werdnum, why? [00:17:35] izua: Because it's ugly :) [00:17:40] what's ugly about it? [00:17:43] werdnum: werdnum? [00:17:51] oh, for the WMF [00:17:53] "wikimedia" [00:18:14] <^demon> brion: fwiw I found a php xmpp class on Google Code the other day. Didn't get a chance to try it out yet. [00:18:37] i have each infobox item on its line, and except the last one which mixes table with a tr, looks pretty decent to me. [00:18:48] 03(mod) special:export exports two copies of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17374 (10ssanbeg) [00:18:55] but then again, i'm not sure howto write nice code [00:19:03] ^demon: got link? [00:19:07] chuck: hat's me. [00:19:25] <^demon> Danny_B: http://code.google.com/p/xmpphp/ [00:19:27] i was responsing to your identi.ca name question [00:19:27] Simetrical: Internal site so its not accessable outside our lan [00:19:29] izua: Too many braces, it's a template-syntax problem :) [00:19:39] chuck: yeah, for the server admin log [00:19:49] name it wikitech or wikimedia or something [00:19:54] and make a twitter too? :P [00:20:01] you think you can help me spot it? [00:20:11] i recently started toying with wikimedia [00:20:11] werdnum: if you get more than one social network, try ping.fm, it's nice for posting to more than one social network at once, and it has an API [00:20:17] name it soemthing general, and then you can run multipul services to it [00:20:32] 03(NEW) Correct Tongan language native name to "lea faka-Tonga" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17546 15enhancement; normal; MediaWiki: Internationalization; (bugzilla.wikimedia) [00:20:32] <^demon> Danny_B: I'll do a svn co and give it a try. [00:21:13] 03(mod) Correct Tongan language native name to "lea faka-Tonga" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17546 (10bugzilla.wikimedia) [00:21:21] werdnum: well no substantive changes to adminlog.py, just fiddling the settings [00:21:32] and another python file... hmm :) [00:22:08] werdnum: there's an application that will post to twitter, identi.ca, and/or ping.fm if you provide it a link to an RSS feed, maybe you could generate a feed from the admin log [00:22:50] brion: got my pm by any chance btw? [00:23:22] 03aaron * r47402 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.hooks.php FlaggedRevs.php): (bug 17545) Allowing sighting of a page with null edit & the review checkbox [00:23:23] 03(FIXED) Consider allowing to sight a page with a null edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17545 +comment (10JSchulz_4587) [00:23:53] 03dale * r47403 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (8 files in 5 dirs): [00:23:53] stubs for mvwScriptLoader [00:23:53] * (minimized script and swap language messages from message vars) [00:24:29] <^demon> Danny_B: Breaks terribly if you don't have mod_ssl on :p [00:25:18] ^demon: file a bug?;-) [00:25:28] <^demon> Hehe, I shall. [00:25:57] there's jaxl too - did you try that? http://code.google.com/p/jaxl/ [00:28:32] 03dale * r47404 10/trunk/extensions/MetavidWiki/ (3 files in 2 dirs): [00:28:32] stubs for mvwScriptLoader [00:28:32] * (minimized script and swap language messages from message vars) [00:29:07] <^demon> Danny_B: Hadn't seen it. But their "latest issue fixed" is my issue :p [00:29:27] see? they saved your work ;-) [00:29:41] 03purodha * r47405 10/trunk/phase3/languages/Names.php: Correct Tongan language native name to "lea faka-Tonga" (Bug 17546) [00:29:52] <^demon> Meh, I have mod_ssl in apache, just not in php.ini [00:30:44] do external links have to be enabled? [http://url.com text link] prints out in plain text and not a link on my wiki [00:31:12] 03(FIXED) Correct Tongan language native name to "lea faka-Tonga" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17546 +comment (10bugzilla.wikimedia) [00:32:37] !protocols | kaoticsnow [00:32:37] --mwbot-- kaoticsnow: To allow additional protocols (prefixes) for urls ("free links"), see [00:32:44] check that setting ^ [00:33:04] thanks [00:33:15] 03purodha * r47406 10/trunk/phase3/languages/messages/MessagesKsh.php: Linktrail extended for ksh. [00:35:03] hmm, Mike_lifeguard stoled my bug... [00:35:53] :o [00:37:44] <^demon> Mike give it back. [00:39:16] <[mdevilz]> Hi I was wondering with the LdapAuth extension does the group or user auth settings go first? [00:39:30] [mdevilz]: what do you mean? [00:40:53] <[mdevilz]> I am trying to use this extension http://www.mediawiki.org/wiki/Extension:LDAP_Authentication I got the user part of it working, now I am trying to only allow certain groups to login and use the wiki, but I am having trouble doing this. I was wondering if it was because I am authenticating the user first and then checking the membership of being in the group [00:41:25] ^demon: what bug? [00:41:48] <^demon> Mike_lifeguard: I dunno, but Danny said you took it. [00:42:00] Danny_B: what bug? [00:42:06] *Mike_lifeguard is lost [00:43:00] <^demon> Anyone: What's faster? A switch or if-elseif (x18)-else [00:43:02] Mike_lifeguard: you filed the "give the patches back to us!" or not? [00:44:17] yeah, I did that one [00:44:19] ^demon: 18 elseifs sound way so ugly nasty hackish,bluerh,i wouldn't want to read that code ;-) [00:44:29] ^demon, speed isn't relevant there. [00:44:39] Switch is probably nicer. [00:44:57] switch is (usually) faster anyways [00:45:10] ^demon: What performance-critical section of the code are you in? [00:45:41] werdnum: to be or not to be or to not not to be or ... [00:45:56] <^demon> Collection's specialpage::execute(). Line 51-203. [00:46:13] <^demon> If $par == '', elseif $par == '', etc etc. [00:46:18] ^demon: I asked what performance-critical part of the code you were in. That code is not at all performance-critical. [00:46:47] <^demon> I wasn't saying it was. You assumed it was :) [00:47:34] ^demon: So don't worry about performance unless it actually matters :) [00:47:47] Clear logic is much more important than 0.0001% of cluster CPU [00:48:29] <^demon> In which case switch() is nicer. I just wanted to make sure switch() wasn't X times slower and would be a *bad* choice. [00:48:52] 03brion * r47407 10/trunk/phase3/includes/ (DefaultSettings.php specials/SpecialExport.php): [00:48:52] Followup to r46951 and friends: add $wgExportMaxLinkDepth, defaulting to 0. [00:48:52] If set to non-zero, this specifies the maximum link depth that will be followed for exports. Remember "6 degrees of separation", this could easily kill on a site like Wikipedia. :) [00:50:17] Does anyone know how to configure $wgConf for centralauth? [00:50:40] So far, I've got $wgConf = new SiteConfiguration; [00:50:40] $wgConf->wikis = $wgLocalDatabases; [00:50:56] and $wgLocalDatabases [00:56:52] * Special page transclusion [Introduced between 29-Jan-2009 01:19:44, 1.15alpha (r46501) and 17-Feb-2009 06:08:41, 1.15alpha (r47355)] [00:56:52] * Special page transclusion twice (bug 5021) [Introduced between 29-Jan-2009 01:19:44, 1.15alpha (r46501) and 17-Feb-2009 06:08:41, 1.15alpha (r47355)] [00:57:16] looks like a change in styles in prefixindex, test cases need fixin' [01:00:37] Hi [01:01:01] How is here the master developer? [01:01:07] What? [01:01:14] I have a question about customizing the layout [01:01:24] 03purodha * r47408 10/trunk/phase3/languages/messages/MessagesEn.php: English version of message badsiglength did not exactly conform with program code. [01:01:29] I want to integrate mediawiki in to my site [01:01:41] but I don't know if it is possible [01:01:47] ok. fuck [01:01:54] my mediawiki officially crashed [01:02:08] i toyed with the design posted above a bit more [01:02:18] and now it won't show me any page except the main one [01:02:20] When I search for users who uses mediawiki they use a seperate domain [01:02:26] it keeps lagging [01:02:32] and nothing.. [01:02:37] is this something common? [01:02:56] 03(mod) New:=?UTF-8?Q?=20Transfer=20of=20Mot=C3=AE?=: lemmata from wa.wiki to wa.wikt - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17547 (10N/A) [01:03:03] some other stuff like 'what links here' and 'special pages' is still working. [01:03:13] (everything is installed under xampp, xampp and phpmyadmin are also working) [01:03:24] but it gets stuck when i try to request any article/page [01:03:43] what'd you change again? [01:03:58] fabian3294823948: so what exactly do you need? [01:04:08] hi Danny [01:04:20] i had this template: http://pastebin.com/m587d299 [01:04:27] and i kept toying with it because it wouldn't render right [01:04:32] I want to use mediawiki for my site but I want it integrated into my website [01:04:46] toying as in saving changes, checking how changes apply on another page, that used the template. [01:04:49] not use it fullscreen [01:05:07] fabian3294823948: yes, i read that, but what exactly do you mean by "integrated"? [01:05:16] ah.. no. the main page/special pages don't work either. [01:05:18] it was because of the cache [01:05:22] Can I customize the layout so it will fit into my website [01:05:25] oke sorry [01:05:32] !skin | fabian3294823948 [01:05:32] --mwbot-- fabian3294823948: Overview: . Skin usage: . Gallery of CSS styles: . Writing your own: [01:05:46] Oke so it is possible [01:05:47] 03demon * r47409 10/trunk/extensions/Collection/Collection.body.php: [01:05:47] Code style tweaks: [01:05:47] * Call parent::__construct(). It looks nicer than SpecialPage::SpecialPage(). [01:05:47] * Use switch() rather than if-elseif(x18)-else. We're doing a equality comparison at each step and this is easier to follow. [01:05:54] fabian3294823948: read the stuff above [01:06:01] I read thx [01:06:11] Great news [01:06:16] Thank you I will read it [01:06:22] np yw [01:06:52] uuuh... hello? [01:07:01] can I at least get a link or some info about this? [01:07:14] i'm sure i'm not the first one to experience such a weird thing [01:07:16] hello [01:07:17] izua: if you're not using it on every page, but every page is slow, then likely your server just sucks [01:07:38] no dude. [01:07:43] I'm really new to the wiki api but i don't see anything from the doc talking about querying an article [01:07:49] no page loads, if it's slow it wouldn't be a problem. [01:08:08] sounds unrelated to the template [01:08:13] everything related to wikimedia just hangs [01:08:18] well.. that was my last change [01:08:28] had over 50 changes in a few hours [01:08:32] thought it might bug it [01:08:47] 50 changes in an hour isn't much :) [01:09:55] <^demon> !api | caribou| [01:09:55] --mwbot-- caribou|: The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at . For client libraries in various languages, see . [01:10:02] my wikimate told me about weird behavior of his freshly instaled wiki - any file he uploads is properly uploaded (log shows properly, file is physically on the server), but when he tries to go to the hiswiki.com/wiki/File:whatever.png it redirects to the main page. same with any file extension. where to look for what to set? [01:10:06] would you be so kind and tell me if izua.ath.cx works? [01:10:54] yea [01:11:10] ^demon, yes i come from there, so either i'm blind either i'm stupid :| [01:11:36] Danny_B: does he have some weird mod_rewrite rules? [01:11:45] it works? hmm [01:11:51] i don't get it. [01:11:56] izua: works fine for me [01:12:13] if i ipban myself somehow, i get a message, or the connection will hang? [01:12:22] meh. weird. [01:12:27] i can't access it anywhere in the network [01:12:36] OverlordQ: he claimed not to have any .htaccess nor any known sitewide settings (direct linking to images elsewhere works properly) [01:12:37] gonna power everything down. [01:12:41] You can still use the wiki as normal when IP-banned. [01:12:42] thanks, anyway! [01:12:48] <^demon> caribou|: api action=help should give you a better idea of all the available params and how they interact. Most of what you'll want is action=query&prop=something [01:12:50] In fact, if you're a sysop you can even unblock yourself. [01:13:05] ^demon, thanks i'll have a look at it [01:13:57] <^demon> np [01:14:06] I know, or I could just drop the db entry [01:14:33] well, there is no entry in ipblocks.. [01:15:20] blocking wont prevent you from accessing the site [01:15:24] just editing [01:17:30] how hard would it be to modify export/import to include images? [01:17:33] <^demon> if there's no entry in ipblocks, you can't be blocked :) [01:17:44] <^demon> Betacommand: The code is kinda halfway sorta there. [01:17:57] Betacommand: the format currently has some provisions for image data, but it's not used in the special:export/import yet [01:18:02] as for "how hard" well that depends :D [01:18:06] <^demon> ^ That [01:18:15] ^demon: can I bribe you to get it all the way there? [01:18:58] <^demon> Eh :-\ [01:19:03] <^demon> I'd rather not. [01:19:22] who do I need to bribe? [01:19:32] :) [01:19:41] <^demon> brion: Speaking of...I was able to confirm that the libexpat workaround for importing when libxml is broken does in fact work around the problem. [01:24:16] woot [01:24:30] good to know :D [01:26:34] brion: re your comment - so changing of ugly nasty skin files is possible? making them more legible and less redundant? [01:27:24] It has been tried numerous times... [01:27:51] really? it doesn't look so... :-/ [01:27:59] It's been talked about numerous times. [01:28:04] I don't think anyone's ever done it. :) [01:28:06] Well, numerous being two or three. [01:28:16] Duesentrieb has a branch. [01:28:17] Simetrical: yeah, that sounds more probable ;-) [01:28:23] TimStarling: goodmorning [01:28:27] There are some patches on bug reports. [01:28:41] AFAICT nothing that integrates cleanly on current trunk though. [01:28:49] hi [01:28:56] TimStarling: I'm about to head home, but I committed the fixes you suggested earlier today. [01:28:59] hey tim [01:29:04] all the skinning is pretty ugly atm and unnecessarily difficult [01:29:22] I think we all agree on that. [01:29:58] At the moment you have to change at least two files in almost identical ways to get a single change to appear on all skins - and that's just for simple things. [01:30:17] correct [01:30:24] I've looked into reforming skins [01:30:42] it's quite complicated, it's not really obvious how to do it right [01:30:48] could I get SVN access to the global blocking extension directory in SVN? or could someone who has access throw some id's onto the form fields for scripting goodness [01:30:59] Seperation in to seperate layers would be a start. [01:31:09] At the moment logic and templating is heavily mixed. [01:31:10] you can go template-based, but then you need patching [01:31:14] chuck: file a bug,provide a patch [01:31:34] Is something wrong with this line: {{#if:{{{iolines|}}}|}} ? [01:31:35] or you can go with dynamic modification, but then to write skins you need to be a programmer [01:31:51] I want to show the number of io lines inside an infobox if such a parameter is provided [01:31:51] and either way, your skins are going to be broken by major upgrades [01:31:58] is this the way I should do it ? [01:32:20] cause i'm definitely doing something wrong - my pages fsuck up every time there's a single parameter missing - i always have to provide all the parameters! [01:32:22] TimStarling: The way that Drupal have done it is quite interesting, you can "plug-in" different templating engines - that way you have a choice. (and template engines can be as programatical or otherwise as the developer chooses). [01:32:23] izua: if the entire infobox iswritten in html and not wikitext then yes, else no [01:32:58] yes, everything is html. what is wrong with it? [01:33:40] this is the entire infobox: http://pastebin.com/m31b1c5b3 [01:33:52] izua: nothing. i was just pointing to themost usual cause - mixing wikitext table with html table [01:34:16] well.. something is wrong somewhere with my infobox [01:34:22] TimStarling: It also means that pre-existing solutions can be reused, to encourage interoperability and reduce duplication. [01:34:31] izua: how do you call the ib? [01:34:34] if i don't give it all the parameters, it adds


\n

inside my table, seemingly at random [01:34:45] ah right [01:34:47] howdy TimStarling [01:34:49] On the other hand, maybe that isn't what Wikimedia needs right now. [01:34:52] brion! [01:34:55] izua: don't wrap lines [01:34:55] Anyway, goodnight. [01:35:02] fancy seeing you here [01:35:05] 03(mod) special:export exports two copies of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17374 (10innocentkiller) [01:35:15] Danny_B: http://pastebin.com/m341f4134 [01:35:57] do i manually linewrap somewhere? [01:36:06] izua: don't go ... [01:36:06] }}{{#if:... but ... [01:36:06] }}{{#if:... [01:36:07] :) [01:36:43] wait [01:36:43] if you won't provide two params it will result in two enters -> paragraph [01:37:03] you have to count with whitespaces you have there [01:37:04] So i need to write everything as one long freaking paragraph?! [01:37:10] nope [01:37:22] sorry. [01:37:24] i don't get it. [01:38:04] wrap eg after {{#if:whatever goes here}}{{#if:anything else goes here... [01:38:29] god.. [01:38:37] is there a way to retrieve an article content from a article_id with the api ? The doc is quite weird [01:38:40] yeah, it works as one big freaking paragraph :) [01:38:46] well, thanks [01:38:49] i think that's the problem [01:38:57] izua: http://pastebin.com/m48e714fa check first few lines [01:39:10] can I wrap between
IO lines{{{iolines|}}}
and first {{if}} ? [01:39:25] thank you! [01:39:36] izua: simply do not wrap between }} and {{#if: [01:39:48] you can wrpaprettymuch anywhere else [01:40:56] Hi [01:40:57] 03(NEW) Global Blocking Form should have id attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17548 15enhancement; normal; MediaWiki extensions: GlobalBlocking; (charlie) [01:41:49] Is there a way to link to a page like "index.php?title=Special:Statistics&group=sysop" ? [01:41:49] Danny_B: done [01:41:59] werdnum: just trying out the bulk-change... sweet :D [01:42:00] speaking about this, TimStarling,did you ever think about some parser feature like ... which would allow people to write nice wikitext and parser not to add

's? [01:42:13] chuck: umm, done what? [01:42:13] need a 'select all' js button tho :D [01:42:21] 20:31:14 < Danny_B> chuck: file a bug,provide a patch [01:42:27] ah [01:42:54] sweet, it's workin' right on an author view and everything [01:43:27] grr, damned, stupid patches downloading :-/ [01:43:28] brion: has there been any progress of the "wikipedia usability initiative" front? [01:44:17] who can configure bugzilla? [01:44:29] chuck: http://blog.wikimedia.org/2009/02/12/attention-mediawiki-developers/ [01:45:04] cool, thanks [01:45:10] Or even better is there a way to make a *redirection* to a page like "index.php?title=Special:Userlist&group=sysop" ? [01:45:32] TimStarling: got an idea what we can do to make bugzilla attachments viewable inline again without being as insanely insecure as before? :) [01:45:57] what's the history of this? did you disable it? [01:46:08] wasn't me; i figured you did during the security update [01:46:18] well, probably upstream then [01:46:27] i peeked at the release notes and didn't see anything about it in 3.0.8... hmm [01:46:37] I didn't do it deliberately [01:46:40] :) [01:46:54] it seemed like the sort of thing you would do; upload security and all :D [01:47:11] I'll fix it [01:47:13] let's check those upstream release notes again... [01:47:14] thx [01:47:41] *brion smacks self [01:47:43] right at the top [01:47:46] http://www.bugzilla.org/security/2.22.6/ [01:48:28] oooh we can set it up to view attachments on a different domain, thereby avoiding xss-stealin' attacks. cute! [01:49:50] TimStarling: also there's some otrs email notification issue which i've forwarded to you; the mail wasn't very specific but apparently it's a known problem? [01:50:04] yes, known [01:50:34] is it fixable, or are we waiting on something to be set up or fixed upstream? [01:51:03] it's not isolated, I had a crack at it but didn't work out what was going on [01:51:13] :( [01:51:17] and I did have about a hundred other things to do [01:51:45] i know the feeling :) [01:51:54] basically some people are reporting that they're not getting notification emails at all [01:52:03] but we know that outgoing mail works, because the admin notification feature works [01:52:12] hmmmm [01:52:20] and presumably replies work as well [01:53:54] about having attachments on a different domain: interestingly, that would still leave us vulnerable to a "cookie DoS" that I was reading about on the weekend [01:54:16] heh [01:59:11] brion: http://www.suspekt.org/2008/10/01/php-53-and-delayed-cross-site-request-forgerieshijacking/ [01:59:35] see the cookie DoS section, we're vulnerable to that [01:59:54] Why does the web suck so much? [01:59:59] werdnum: PHP fatal error in /usr/local/apache/common-local/php-1.5/extensions/CodeReview/CodeRevisionListView.php line 269: [02:00:00] Call to undefined method SvnRevTablePager::getRowClass() [02:00:01] bah [02:00:27] 03demon * r47410 10/trunk/phase3/includes/specials/SpecialBooksources.php: Call static isValidIsbn() statically. Not sure why E_ALL | E_STRICT didn't yell at this. [02:01:25] Simetrical: It was intended as a mechanism for science nerds to send each other text? [02:01:39] And somebody decided to use it for 1,000,000 other things? [02:01:59] TimStarling: hehehe [02:02:06] No, it was always intended to be a universal way of sharing information. [02:02:25] Which is great until you want to do online banking. ;-) [02:02:33] And suddenly you don't want the information to be universal. [02:04:15] Touche. [02:05:35] hmm, nice, downloading patch from bugzilla just made my comp hard restart :-/ [02:07:09] how do I work with checkboxes in WebRequest? [02:07:59] <^demon> getCheck() [02:08:01] TimStarling: thanks for fixing the jobqueue have you made any more progress? [02:09:16] Betacommand: well, the job queue size is still shrinking on enwiki [02:09:57] I have to wait for the current svn to go live before I can see if my other changes will help [02:10:25] yay [02:10:51] tomasz is working on tweaking the queue table/arch so we can get decent stats out of it in future and tell wtf is going on in it :) [02:11:29] Danny_B: ouch [02:15:29] 03(FIXED) Image directories vulnerable to other local users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11209 +comment (10innocentkiller) [02:20:24] i've been wondering, how many history entries are kept for a given page? [02:20:54] i'm working on an electronics site - only I and two other people I know will be editing it.. [02:20:57] 4 billion [02:21:11] An infinite number, given enough space. [02:21:22] I'm not sure I will need all individual revisions, since we'll also be doing a lot of learning on the live thing. [02:21:33] you'd have to change the schema once you got past 4 billiion [02:21:40] ah, right, upgrade :P [02:21:46] or go 64 bit. [02:21:51] You can delete the old revisions and permanently delete them with a maintenance script if you're worried about space issues. [02:21:53] that's what the founders of wikipedia thought [02:21:56] But it really shouldn't be a big deal. [02:22:13] and now we're missing the first 12 months of wikipedia's history because it was all deleted [02:22:14] ah, so they can be deleted? [02:22:24] good, that's what I wanted to know [02:22:30] Can be? Sure. But there's usually no reason to. [02:22:30] no, mediawiki does not have that capability [02:22:32] :) [02:22:35] they were using usemod [02:22:41] anything left in the wayback machine that we haven't reintegrated? ;) [02:22:53] Tim, you are becoming annoying :P [02:22:54] MediaWiki can permanently delete things with maintenance scripts, no? [02:22:56] they only crawled like once every 6 months [02:23:03] :( [02:23:10] well, if wiki deletes it, google will cache it [02:23:13] so it's still not gone [02:23:22] Of course... [02:23:39] brion: Image moving? :-) [02:23:52] Or is this "I'm busy it's code review Tuesday" time? [02:24:27] izua, only very briefly. [02:25:03] i'm busy it's code review tuesday [02:25:09] 03brion * r47411 10/trunk/phase3/includes/parser/CoreParserFunctions.php: [02:25:09] Revert r46628, r46639 for now "Don't allow padding parser functions to be used to truncate strings." [02:25:09] Doesn't seem to be a compelling reason to add this special-case restriction at this time, and there appear to be ways to work around it anyway, so let's not play the arms race. :) [02:25:09] it's also dinnertime [02:25:16] i'll be back in a bit :) [02:25:40] Well, I'll be waiting here when you return. [02:25:44] To continue nagging. [02:25:48] So no worries. [02:38:04] Anyone here ever heard of edits just completely disappearing on a MySQL database? [02:45:13] how to link external URL from an external image on the page [02:46:36] ok i'm gonna try an update on test [02:46:45] 03(mod) Use Sessions instead of cookies for Login - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17422 low->highest; +comment (10tim987) [02:48:35] how to link external URL from an external image on the page [02:49:37] brion: A full SVN up on test? [02:51:03] brion: how about setting the advanced search link on test to get some feedback? [02:51:29] 03(WONTFIX) Use Sessions instead of cookies for Login - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17422 +comment (10brion) [02:51:57] Danny_B: if you ask me to do anything other than svn up, test it, and fix regressions, i ain't gonna do it or even consider it today :) [02:52:40] brion: the only what i ask is to set one boolean variable on testwiki ;-) [02:53:08] see what i wrote above [02:53:44] "just set one boolean variable" [02:54:04] "to enable 100 controversial lines of code and possibly break the wiki" [02:54:41] sounds like that easy shell request to just enable an extension [02:55:12] 03demon * r47412 10/trunk/phase3/includes/filerepo/ForeignDBFile.php: Use accessor hasSharedCache() rather than calling the param directly. [02:56:47] <^demon> brion: Before you svn up, see the note on r46666. [02:56:48] brion: oopsies [02:57:04] Break the wiki. Heh. [02:57:07] hmm, one simple if construction to display link instead of button can't break anything, but whatever... however, hard to get the feedback without demo though :-/ [02:57:25] I think it's live on Wikitech? [02:57:30] It's not very attractive. [02:57:51] ^demon: the rev # matches with your name ;-) [02:58:04] It looks like what happens when an image fails to load and all you get is the blue alt text... [02:58:14] 01:59 < brion> werdnum: PHP fatal error in /usr/local/apache/common-local/php-1.5/extensions/CodeReview/CodeRevisionListView.php line 269: [02:58:17] 02:00 < brion> Call to undefined method SvnRevTablePager::getRowClass() [02:58:18] *werdnum copies down. [02:58:20] And the text nearly hits the buttons. [02:58:37] And, of course, there's still the issue of having a "Go" and "Search" button. [02:58:43] Which nobody understands still. [02:58:43] Marybelle: that's old version which has been rewritten [02:58:55] Oh. Well, okay then. [02:59:01] ^demon: we never had geshi libs there, we had em in another dir [02:59:07] brion: How can I reproduce that error? [02:59:09] Do you have a current demo somewhere? I'm always happy to criticize. :-) [02:59:26] werdnum: have updated codereview but 3-week-only trunk? [02:59:31] -week-old [02:59:36] brion: Yes, that would do it [02:59:40] I added that method in Pager.php [02:59:46] werdnum: the value is never used, i'd just remove the line ... [03:00:01] brion: I didn't add that line :P [03:00:03] but yeah, I'll do that [03:00:06] :D [03:00:15] <^demon> brion: Ok. [03:00:23] do you want me to sync it once I fix it? [03:00:25] Just curious: How significant are the differences in code between the versions of mediawiki that are released to the public, and what runs on en.wikipedia? [03:00:28] <^demon> Marybelle: localhost/phase3 [03:00:34] Marybelle: nope :-/ got no wiki to show it on. was hoping testwiki one day will have the privilege to show it ;-) [03:01:08] What's the variable to enable it? [03:01:20] <^demon> $wgUseTwoButtonsSearchForm = false; [03:02:27] All these damn language files... [03:02:27] ^demon: from this point further i pronounce you being my secretary ;-) [03:02:30] werdnum: no worries, it's worked around or obsolete now :) [03:02:39] <^demon> Danny_B: Salary? [03:03:18] brion: Okay, will be committed in a sec, will update that file only and sync it. [03:03:39] http://pruebita.com/wiki/Main_Page [03:03:40] 03werdna * r47413 10/trunk/extensions/CodeReview/CodeRevisionListView.php: Remove spurious line which breaks when trunk is older than 3 weeks. [03:03:44] Still looks a bit wonky. [03:03:49] Better, though. [03:04:24] <^demon> Not a fan, imo. [03:04:58] ^demon: several bad souls weekly. other benefits: hot environment, invisible coat and bottomless sack [03:05:59] <^demon> Invisible coat as in its invisible, or invisible coat as in it makes *me* invisible? [03:06:04] <^demon> All the difference in the world. [03:07:34] the latter. in cs we call it "invisible coat" [03:09:16] Marybelle: yeah,but there's no way in monobook to do it better. on the other hand *this* is commonly well known search form interface, not the two buttons we use atm which confuse 8 of 10 people [03:09:31] Yeah, the two buttons suck. [03:09:52] There's an ancient bug filed about them. [03:09:59] is it? [03:10:17] let me know the # so i can add a memo about this feature there [03:10:23] if applicable [03:10:46] https://bugzilla.wikimedia.org/show_bug.cgi?id=577 "Go and search button are confusing" [03:12:40] 03aaron * r47414 10/trunk/phase3/includes/Xml.php: Fixed E_NOTICE [03:13:18] 03aaron * r47415 10/trunk/extensions/CodeReview/CodeRevisionListView.php: Fixed broken XHTML from r47395 [03:14:14] yay for fixing things [03:14:28] boo for breaking things [03:15:48] 03(mod) Go and search button are confusing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=577 +comment (10danny.b) [03:15:49] r47414 also fixes XHTML due to id="" messes [03:16:00] Marybelle: thx [03:16:17] that is way so ancient [03:22:39] 03werdna * r47416 10/trunk/phase3/maintenance/archives/patch-change_tag.sql: Ending newline [04:04:50] werdnum, one the test wikipedia, only admin can edit filters, right? [04:05:54] yeah [04:06:01] werdnum, are you going to add an 'abusefilter' group [04:08:17] techman224: Would you like +sysop? Someone in here can do that... [04:08:26] yes [04:10:16] Your username? [04:10:21] Marybelle, Techman224 [04:12:16] Done. [04:12:21] Thanks [04:13:49] lies, kylu isn't "in here" [04:15:09] anybody knows how to resolve "XML Parsing Error: XML or text declaration not at start of entity [04:15:10] Location: http://asianmediawiki.com/index.php?title=Special:RecentChanges&feed=rss [04:15:10] Line Number 2, Column 1:" [04:15:59] luna6: remove the extra whitespace from the end of your LocalSettings.php or other file you've edited or customized such as an extension or skin [04:16:39] is ?> ever actually required in php? [04:16:59] if you want to stop your code and have some raw output in the middle sure :) [04:17:00] at the end no [04:17:22] right [04:17:26] brian extra whitespace is what exactly? a blank line? (sorry if it is a super basic question) [04:17:41] luna6: usually yes [04:17:45] spaces, tabs, newlines, combination thereof [04:17:55] BOM? [04:18:55] <^demon|dinner> I have a friend named Bom. [04:27:50] brion could you look at http://pastebin.com/d1f6f6161 and tell me is you see any white spaces? [04:28:08] I am sure it started to occur after I modified that extension [04:30:45] I'll look at it [04:31:04] luna6: remove the ?> from the end of the file [04:34:02] so, like ZEND, does mediawiki officially prohibit the "?>" closing tag? I see several witch hunts to remove them over the years [04:34:11] (eg http://news.php.net/php.general/280796 ) [04:34:14] heh [04:34:27] (from end of file in pure php files, of course, not inline) [04:34:38] ((parenthocracy)) [04:37:51] (((Oh my.))) [04:40:08] 03werdna * r47417 10/trunk/phase3/includes/ChangesList.php: Implement tag display for EnhancedChangesList -- TODO implement the CSS styling of tags for EnhancedChangesList. Incidentally, why do we have two methods for formatting a diff for EnhancedChangesList? [04:42:35] !?> [04:42:35] --mwbot-- The PHP closing tag "?>" is never required at the end of a pure-code php file, and mediawiki developers actively remove it, as it often causes problems related to trailing whitespace, and "headers already sent" errors. See also http://news.php.net/php.general/280796 and !bom [04:42:54] ((((^rephrase and alias as needed)))) [04:43:19] Haha. [04:45:05] *Time_vampire wonders if its possible to make a recursive mwbot response [04:45:12] O.o [04:45:40] It isn't. [04:45:43] I've tried. [04:45:55] heh [04:46:00] Some sort of protocol where it can't respond to itself or something. [04:49:38] 03werdna * r47418 10/trunk/phase3/includes/LogEventsList.php: Partial revert of r47192 (* removed DefaultQuery cruft) -- That cruft was kinda important. [04:58:01] hack teh gibson and make mwbot capable of it >.> [04:58:06] would be possible if you could get unilinky to exclaim [05:12:15] 03werdna * r47419 10/trunk/extensions/ParserFunctions/Expr.php: Handle precision=0 correctly in bcround (it's the default anyway!) [05:12:49] brion: seems like lots of stuff still is unreviewed [05:13:22] Aaron|away: haven't gone over everything in complete detail [05:13:30] best way to flush out the remaining ones is to put them live :) [05:14:00] Edit summary (Briefly describe the changes you have made) [05:14:09] bah [05:14:55] I'm on that one [05:15:05] brion: http://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki/releasenotes&startrev=46425&endrev=&path=/trunk/phase3 :) [05:15:22] awesome :D [05:15:33] *brion feeds Aaron|away teh cookiez [05:16:12] a few items are noise though [05:16:30] such as reverts of stuff that never made it [05:17:23] 03werdna * r47420 10/trunk/phase3/includes/EditPage.php: Fix accidental regression of 'summary' message to text-only. [05:18:48] werdnum, it's still broken? [05:19:17] doesn't work for me [05:19:47] Yes I haven't synced it yet [05:20:10] 03werdna * r47421 10/trunk/phase3/includes/EditPage.php: element->tags [05:20:11] to wmf? I have synced that to my wiki [05:20:18] ahh, that [05:20:19] try that now [05:20:26] works [05:23:58] 03aaron * r47422 10/trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php: Fix to 'all' filter [05:24:08] brion: can you sync that? [05:24:09] 03brion * r47423 10/trunk/extensions/ParserFunctions/Expr.php: fix regression -- bc compat check was reversed; attempting to call bcpow() when no bc :) [05:24:41] sec [05:29:25] 03werdna * r47424 10/trunk/phase3/includes/api/ApiPageSet.php: Fix logic error from bad casing [05:31:44] sorry for redirect loop on bugzilla [05:31:49] will be fixed shortly [05:34:14] 03aaron * r47425 10/trunk/extensions/FlaggedRevs/maintenance/updateStats.inc: Sanity check namespace here too [05:34:39] brion: plz sync that too (same issue) [05:36:52] AaronSchulz: It's maintenance. [05:36:58] Let's focus on live site issues for now [05:37:08] 03werdna * r47426 10/trunk/extensions/ParserFunctions/Expr.php: Fix division by zero handling for BC -- 0 != "0.00" [05:38:42] you do know that query runs every 2 hours? [05:42:25] thanks werdnum (just came back from an errand)...still have that problem and looking at other files [05:46:25] 03aaron * r47427 10/trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php: Actually fix it this time [05:46:32] brion: can you sync that, r47422 didn't do it? [05:48:47] *Splarka thinks AaronSchulz needs sync access on test.wp so he stops bugging brion [05:49:02] test.wp ? [05:50:16] the test wiki [05:50:33] yes I know that [05:50:50] that just wouldn't help much [05:50:55] well, not for this [05:51:47] your code only works/breaks on the live site? [05:52:17] what? I have a test wiki [05:54:13] werdnum: can you go ahead and either revert Expr.php in SVN or make it disablable? otherwise i'm going to keep re-enabling it every time i svn up [05:55:11] brion: Yeah, I'm going to revert in svn for now [05:55:16] tx [05:57:50] 03werdna * r47428 10/trunk/extensions/ParserFunctions/Expr.php: Revert Expr.php to r40762 for now -- still some errors that need tracking down and fixing. [05:58:35] tx werdnum [05:58:45] anything else? [05:59:56] wanna check PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in /usr/local/apache/common-local/php-1.5/extensions/ExtensionDistributor/ExtensionDistributor_body.php on line 38 ? :D [06:01:30] brion: anything I can do before I get a quesadilla ? [06:02:26] brion: looking [06:03:07] :D [06:03:17] i think we've hit the high points :D [06:04:21] 03tstarling * r47429 10/trunk/phase3/includes/api/ApiQueryImageInfo.php: Don't give a warning if there are no files in the page set. [06:22:51] 03brion * r47430 10/trunk/phase3/includes/Skin.php: Fix borkage with variant links in old top links [06:35:02] Hello. No mater what I set $wgMaxUploadSize to it always says 200 B on the upload page and all upload seem to be having problems (just returning to special:upload) [06:35:23] might be a php limit [06:36:13] I changed it in php.ini (and phpinfo reflects it). however the image I'm trying to upload is <1MB [06:36:44] the site is established, the uploads worked earliertoday wi ha 2MB limit displayed [06:38:26] Hmmm okay. apparently mediawiki didn't like m deff in php.ini [06:40:41] 14(DUP) index.php downloaded on edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16881 +comment (10tstarling) [06:40:43] 03(mod) Cannot edit whole pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2760 +comment (10tstarling) [06:42:39] Okay didn't like the " = 200MB" deffination [06:45:31] next question.... when i'm uploading and svg file... some parts are not rendering properly. [06:46:07] any ideas why the image are not converting properly? [06:51:29] 03(mod) Add magic word __NONEWSECTIONLINK__ - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16335 (10carlin-public) [06:54:26] PsiPro: what library are you using for svg rendering? [06:54:55] Time_vampire: Can you peek at 16335? Pretty please? :-) [06:57:27] 03(mod) Turn off zlib.output_compression for 304 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17537 (10edwardzyang) [07:10:11] 03raymond * r47431 10/trunk/extensions/ (2 files in 2 dirs): Follow up r47389: Make message optional for Translatewiki [07:54:12] 03(NEW) Special:BrokenRedirects SQL query broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17549 15enhancement; normal; Wikimedia: General/Unknown; (bugzilla.wikimedia) [08:05:12] 04(REOPENED) Consider allowing to sight a page with a null edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17545 +comment (10Wiki.Melancholie) [08:17:07] Morning people [08:21:39] 03aaron * r47432 10/trunk/extensions/CodeReview/CodeReleaseNotes.php: [08:21:39] * Support use of release-notes tag [08:21:40] * Tweak heuristics [08:25:19] 03raymond * r47433 10/trunk/phase3/languages/messages/ (10 files): Follow up r47392: Rename magic word for existing translations too [08:35:29] 03tstarling * r47434 10/trunk/phase3/includes/Title.php: [08:35:29] Fixed Title::getBrokenLinksFrom(), totally broken by r47374. Caused breakage of [08:35:29] Special:BrokenRedirects on Wikimedia. Removed $options parameter, it was not [08:35:29] used anywhere and definitely should never be used anywhere due to the risk of [08:35:29] breaking the wiki. Brought the coding style into this century. [08:42:26] 03aaron * r47435 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: Fix for r47402: make sure the rev is also mark patrolled [08:42:29] 03(FIXED) Consider allowing to sight a page with a null edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17545 +comment (10JSchulz_4587) [08:44:14] 03(FIXED) Special:BrokenRedirects SQL query broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17549 +comment (10tstarling) [08:44:58] Why block cannot be modified without changing duration of block? [08:51:18] 03aaron * r47436 10/trunk/extensions/FlaggedRevs/maintenance/updateStats.inc: Fix stupid bug; add the time not the total to the array! [08:51:35] TimStarling: would you sync that? [08:51:50] *AaronSchulz was wondering why there were ridiculous medians [08:58:31] 03purodha * r47437 10/trunk/phase3/languages/messages/MessagesEn.php: Correct apparent typing error in message shareduploadwiki-desc introduced with revision 47394. [09:04:46] 03(NEW) File description page should have rel="canonical" link tag if file is transcluded from Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17550 15enhancement; normal; Wikimedia: General/Unknown; (Wiki.Melancholie) [09:05:16] 04(REOPENED) Upgrade to the latest version of GeSHi (1.0.8) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10967 +comment (10raimond.spekking) [09:06:41] 14(INVALID) File description page should have rel="canonical" link tag if file is transcluded from Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17550 +comment (10Wiki.Melancholie) [09:09:53] Agony: Did you file a bug about that? It seems like it's a regression in the software. :-) [09:15:24] Is Newuser account creation details is hidden by default in Recent Changes? [09:15:43] I don't believe so. [09:16:43] Where can i get help related to this settings? [09:17:08] Which settings? [09:18:14] hi, is the installiation package, multi langauge? [09:18:59] MediaWiki comes with all supported languages [09:19:02] can we have the installed MediaWiki to shw up in any language we want? [09:19:06] oh cool [09:19:11] thanks [09:19:39] Sadik_Khalid: what version are you using? [09:19:42] Thanks Marybelle, let me read http://meta.wikimedia.org/wiki/Help:Recent_changes :-) [09:20:13] http://www.mediawiki.org/wiki/Extension:Newuserlog [09:20:24] it is an extension prior to 1.14 [09:21:02] can we also change the MediaWiki theme to look like our website? [09:22:39] if you like playing in CSS, and/or PHP [09:24:05] needs a lot work? [09:24:08] here is what the default html looks like: http://en.wikipedia.org/wiki/Special:BlankPage?useskin=myskin and here is what just some CSS does to it: http://en.wikipedia.org/wiki/Special:BlankPage?useskin=monobook [09:24:14] or easy to understand [09:24:41] so if you can work with that plain html and make it look like your site with just CSS, it is pretty easy [09:24:58] if you wanna get more complex... [09:25:01] !skins | sa3er [09:25:01] --mwbot-- sa3er: Overview: . Skin usage: . Gallery of CSS styles: . Writing your own: [09:29:39] thanks [09:35:59] hey is ther a light version for ppl who doesnt need this much features? [09:36:20] a too simple version [09:36:27] perhaps [09:36:28] yes, edit MediaWiki:Monobook.css on your wiki, change the background colors and borders and stuff [09:37:24] 03siebrand * r47438 10/trunk/extensions/Review/Review.i18n.php: Phrase 'review_sidebar_explanation' more RTL friendly. [09:40:05] hmm the symbols option below the edit box on the wikimedia wikis (aka en.wiki) should also have the → and ← arrows [09:41:40] They do already? [09:42:13] "... ÷ ← → · § " [09:42:34] Oh, I see what you mean. [09:44:32] WTF [09:44:54] is there a BOMB here? [09:44:57] lol\ [09:46:07] netspilt [09:46:25] oh yea [09:57:10] 03siebrand * r47439 10/trunk/phase3/includes/specials/SpecialMovepage.php: Format number, and allow use of plural for 'move-subpages' and 'move-talk-subpages'. This allows for "(up to $1 {{PLURAL:$2|page|pages}}" or whichever construct is required for a correct message in a language. [09:57:25] Marybelle: this is what i see http://localhostr.com/files/90312a/Editing%20Wikipedia%20talk-WikiProject%20Biography%20new%20section%20-%20Wikipedia%20the%20free%20encyclopedia_1234950219712.png [10:03:24] p858snake: Those arrows are available under "Insert". [10:04:03] bah, who's silly idea was that >.> [10:04:24] MIne, maybe. [10:04:28] I can't remember. [10:07:16] 03ialex * r47440 10/trunk/extensions/Configure/ (5 files): Added $wgAPIMaxResultSize, $wgShowDebug, $wgPreprocessorCacheThreshold and $wgExportMaxLinkDepth [10:14:59] Hi guys, is there a problem with downloading extensions at the moment? [10:16:37] you mean the "download by snapshot button" [10:16:52] that'll be the one [10:17:04] hmm... your right [10:17:56] so it's not a known problem then (yet)? :) [10:18:20] it's about to be [10:18:31] i'm submitting into bugzilla [10:21:52] 03(NEW) Extension download via "Download snapshot" not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17551 15enhancement; normal; Wikimedia: Site requests; (p858snake) [10:21:56] ah ha 17551 [10:22:01] dang too slow [10:26:43] 03(mod) Extension download via "Download snapshot" not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17551 (10overlordq) [10:27:13] meh, that probably coulda stayed [10:27:57] oh so its a extenstion, i just grabbed one that sounded half decent [10:29:27] *shrug* it's kinda both :P [10:30:52] it would be nice if all the wikimedia sites standardize some things like [[MediaWiki:Edittools.js]] =( [10:33:48] 03(mod) Extension download via "Download snapshot" not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17551 +comment (10overlordq) [10:33:49] meh I changed it back with a comment lol [10:34:45] 03mkroetzsch * r47441 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageDe_formal.php: very short class for core "de-formal" messages (simply inherited from "de") [10:47:53] Hi all, [10:48:29] I have the problem that one of my sites is not indexed by the search, I changed the min. word length of my.conf and rebuilded the index [10:49:11] but when I try to find any word on that page i receive no answer, it is not depending on any word on the page [10:49:40] for example I can use a word with 3 letters or one with 8, I never receive a search result [10:51:53] 03ialex * r47442 10/trunk/extensions/Configure/translateSettings.php: Removed "[Setting] is already translated" since it's flooding the output now :) [10:53:45] 03jojo * r47443 10/trunk/extensions/Collection/Collection.body.php: do not use Ajax callback to clear collection to prevent wrong "add link" (i.e. "Add wiki page" instead of "Add category") [10:54:37] what does a snapshot of an extension usually contain? is it unlikely that its only a single php page ? [10:54:54] the one im looking to test, SimpleSecurity, cant be found in the list when I click on download snapshot [10:55:28] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SimpleSecurity/ [10:55:46] so it IS just a single file, right ? [10:55:54] yes [10:56:13] contrast to: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/FlaggedRevs/ [11:00:57] Grudgie: many are a single file. it's recommended to have three files (hook-up, implementation, and ionternationalization). Some extensions also have additional css and js files. some complex extensions have many more files. [11:03:31] some extensions need no internationalization [11:07:08] true [11:11:47] Splarka: i wrote an extension like that and someone still i18n'd it [11:11:54] Splarka: they translated the extension name for Special:version [11:12:01] hah [11:12:23] /mediawiki/trunk/extensions/goggles/DoNothing.php [11:24:53] 03ialex * r47444 10/trunk/phase3/includes/EditPage.php: Tweak for r47202: readd a space between the "summary" message and the input just after it [11:44:39] 03siebrand * r47445 10/trunk/extensions/SpamRegex/ (SpamRegex.i18n.php SpamRegex.php SpecialSpamRegex.php): [11:44:39] * merge messages 'spamregex-log-1' and 'spamregex-log-1' into 'spamregex-log' to allow better localisation [11:44:39] * split time and date to allow better localisation [11:44:39] * removed obsolete messages [11:44:41] * bump version [12:13:35] is there a plugin for showing latest changes in named category(s) on page? (I think I asked already yesterday, but missed possible answer) [12:16:38] 03jojo * r47446 10/trunk/extensions/Collection/Collection.body.php: refacotred getPortlet(). fix hiding of portlet when on Special:Book (w/out subpages). show help link when on saved book page. [12:26:37] hey, there's some plugin on Wikia that gives recommendations of other articles to edit, like this: "Thanks for your edit. Can you improve any of these related articles? ARTICLE1, ARTICLE2, and ARTICLE3." [12:26:52] does somebody know which extension does something like that? [12:27:46] ah, got it, http://www.mediawiki.org/wiki/Extension:EditSimilar [12:28:56] i wonder how it figures out what is "similar" [12:29:42] I don't care, it might work wonders to raise the number of edits in any case [12:33:13] hi fuesentrieb [12:34:14] hi Nikerabbit [12:40:32] 03(NEW) Empty lists are shown as null - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17552 15enhancement; normal; MediaWiki: API; (tstarling) [12:41:43] 03tstarling * r47447 10/trunk/phase3/includes/api/ApiResult.php: Proposed fix for bug 17552. Also the name of the function should be changed, because there's nothing internal about it. [12:44:15] 03(mod) Empty lists are shown as null - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17552 (10tstarling) [12:47:25] 03(mod) Fatal Error in ThreadPermalinkView.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17553 normal->high (10dasch_87) [12:47:25] 03(NEW) Fatal Error in ThreadPermalinkView.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17553 04CRIT; normal; MediaWiki extensions: LiquidThreads; (dasch_87) [12:49:49] Anyone here have a recommendation for an extension to try out in order to make single pages available to unregistered users (the public) and to restrict others (by default) to registered users only (our people) ? [12:50:13] I've found several and its hard to figure out which one might be worth trying [12:50:41] Is there some kind of functionality that would allow me to add a certain word to be automatically linked to a certain page? For example "Dev team" would be a link to that arctile without manual linking. [12:53:38] 03(NEW) Special:IMport should optionally set timestamp and summary comment - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17554 15enhancement; normal; MediaWiki: Export/Import; (mediawiki) [12:53:55] TimStarling: since you seem to be awake *poke* https://bugzilla.wikimedia.org/show_bug.cgi?id=17551 [12:55:18] Grudgie: http://www.mediawiki.org/wiki/Manual:$wgWhitelistRead [12:55:41] that functionality is built in, you shouldn't need an extension [12:56:08] be careful not to give edit permission to the read-blocked viewers though, they could transclude other pages that way [12:56:48] req^: http://www.mediawiki.org/wiki/Manual:Hooks/ParserBeforeStrip [12:56:57] Thank you [12:57:03] if you regexed your phrase /dev team/ with [[$1]] it should do that [12:57:14] bit hacky though, heh [12:57:29] That works for me just fine ;) [12:57:55] if you use a later hook you can do more customized html, but that there is the rawest page text, so you'd use wikicode IIRC [12:59:41] Splarka while that does what I need, its a bit hard to have to edit files on the server each time we want to make another page publicly available [13:00:00] so thats why I went looking for an extension, to make it more userfriendly for the wiki admin [13:00:19] !morbo | Grudgie [13:00:19] --mwbot-- Grudgie: http://img514.imageshack.us/img514/330/morbomediawikiaf9.jpg [13:00:48] eventually you'll whitelist too much and leak sensitive inforation [13:00:54] inforMation even [13:01:54] when using an extension you mean ? [13:01:59] yes [13:02:06] the only core-supported method is to set up a separate wiki [13:02:10] which is easy [13:02:19] you can use the same install and same user database [13:02:29] see http://www.mediawiki.org/wiki/Manual:Preventing_access for why [13:02:38] yep I've read that [13:02:56] then you noticed the bright pink warning box under "Restrict viewing of certain specific pages" [13:02:56] when using a duplicate wiki installation, how would you go about specifying which pages to make public ? [13:03:10] that's easy, there are only 2 choices [13:03:19] all public, or nothing but one or two pages public [13:03:36] anything in between is not supported, unless you only want to pretend to have security ^_^ [13:03:43] (which several extensions provide) [13:04:02] see: !secrets !worstcase etc [13:04:02] so basically, if we make a page that we want to make public we'd have to copy/paste it into the "public" wiki ? [13:04:09] yah [13:04:13] right [13:04:18] !cms [13:04:18] --mwbot-- Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [13:04:37] what you want is totally not what MediaWiki was ever designed for [13:04:38] !access [13:04:38] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [13:05:10] I'm aware of that, I do read the warning messages on the extension pages ^^ [13:05:20] hehe, goodgood [13:05:27] however we've already implemented it so I'll have to work around it [13:05:31] so you can do like the foundation does [13:05:42] they have private wikis, like board.wikimedia.org [13:06:16] and copy/paste public stuff when they need to, to public wikis, mailing lists, etc [13:06:45] they disable 'read' and 'createaccount' on said wikis, and set the main page and login page in whitelistread [13:07:07] 03(FIXED) Extension download via "Download snapshot" not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17551 +comment (10tstarling) [13:07:42] on the private wiki you mean [13:08:14] 03tstarling * r47448 10/trunk/extensions/ExtensionDistributor/ExtensionDistributor.php: Configuration warning [13:08:21] "like board.wikimedia.org" [13:09:16] anyway, !lockdown describes probably the most advanced CMS extension for MediaWiki, but I wouldn't trust it with anything except say, spoilers or cheat codes to video games [13:09:29] !lockdown [13:09:29] --mwbot-- Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [13:11:11] right [13:12:40] "$wgSpecialPageLockdown allows you to specify for each special page which user groups have access to it." [13:12:46] isn't that what rights are for? [13:13:29] $wgActionLockdown is pretty trivial as well [13:13:46] Tim: read rights [13:14:18] that would be the "view" permission, right? [13:14:21] the rest was probably written before namespaceprotection [13:14:46] $wgGroupPermissions['*']['read'] = true; [13:14:55] I think you mean 'read'? [13:14:58] yeah, that [13:15:33] guess I'll suggest making a 2nd wiki and manually copy/pasting everything [13:15:41] unless something has changed, then core still absolutely doesn't support granular read permissions, other than removing 'read' and adding single pages to $wgWhitelistRead [13:15:52] if they choose to ignore the security issues, ill just throw on some kind of extension [13:16:15] I think it'd be a suitable feature for inclusion into the core [13:16:24] obviously a lot of people want it [13:16:30] !secrets | TimStarling [13:16:30] --mwbot-- TimStarling: MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. [13:16:40] http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [13:16:57] yeah, it's nonsense though [13:16:59] you've got more important things to do [13:17:04] heh [13:17:13] we've been using it for air-tight restriction against unauthorised access for years [13:17:28] for the foundation's private wikis [13:17:32] sure, but as soon as you give someone 'edit' access and mix it with denying them access to some pages.. [13:17:47] if it was a core feature it could be done [13:17:58] obviously if it's an extension, then core changes are going to keep breaking it [13:18:00] then you're totally going against the assumptions everyone has made about mediawiki up to that point [13:18:15] yep [13:18:17] well, there are some core concessions to it, like $wgNonincludableNamespaces [13:18:36] standard dogma, mediawiki is insecure [13:18:43] reality: mediawiki is more secure than most CMSes [13:18:47] but then you've got to deal with preloading, export, search, rss, diffing, api, action paths, section edits, redirects.. [13:19:15] I think securing reading is pretty easy compared to what we've already achieved [13:19:24] and all the extensions written, on SVN and off, that always assumed binary 'read' restrictions, and might include back doors to accessing content [13:19:30] on a per-namespace level [13:19:39] or even per-page [13:20:32] you can't check every extension ever written and make sure they can't accidentally show page information around granular 'read', can you? [13:20:41] really considering the amount of interest, we should have seen patches already [13:20:48] other than, say, changing ownership of the database based on read permission, heh [13:21:05] you can't check every extension ever written to make sure it doesn't run arbitrary PHP code, unauthenticated and unvalidated, from web input [13:21:11] some do, some don't [13:21:30] the general idea is to only use the extensions written by people with a clue [13:21:32] ahem, not topical [13:21:40] and the people who wrote these had a clue [13:21:43] but then you're changing the clue [13:21:46] wrote what? [13:21:56] and all the extensions written, on SVN and off, that always assumed binary 'read' restrictions, and might include back doors to accessing content [13:22:28] it won't be their fault if suddenly someone upgraded to 1.25.0 and turned on new CMS features, but the old extension they had allowed a way around that [13:22:40] it'll be your fault for introducing those features [13:23:06] Revision.php already allows per-page view restrictions on a per-user basis [13:23:13] when the extension, at the time, could have been written perfectly in-clued for the situation and mediawiki assumptions at the time [13:23:24] the interface is already there [13:23:37] as long as the extensions go via Revision, then there's no problem already [13:23:43] you mean oversighted/hidden/deleted? [13:23:56] yes, that's the UI side [13:23:58] bye all [13:24:02] it's quite general though [13:24:25] well, except for a few SQL-based hacks [13:24:37] 03siebrand * r47449 10/trunk/extensions/SocialProfile/UserGifts/ (5 files): Put link from 'g-back-link' in code. Taken out of the message. [13:24:42] but I don't think the liability angle is a particularly convincing one [13:24:57] we can put a warning in DefaultSettings.php [13:25:12] nobody reads that anymore, heh [13:25:21] hmm [13:25:42] well, obviously it will be on mediawiki.org as well, if the settings are documented there [13:26:07] I think a more non-drastic solution would be a better interwiki transclusion and/or commons system between private and public, like you could set a namespace on the private to automatically show as default pages on the public [13:26:52] interwiki transclusion is not simple [13:26:59] _or_ [13:27:09] I don't mean scary [13:27:36] instead of a namespace, it could be a magic word, {{PUBLICSHARED}} or something stupid, too, heh [13:28:23] one thing that could be done, is much greater power on $wgWhitelistRead, allowng arrays and regex, that would still be somewhat secure, and solve 90% of the requests for 'mediawiki CMS stuff' [13:28:34] as long as those being blocked from 'read' don't have any 'edit' [13:29:00] hmm [13:29:09] speaking of, Tim, since you actually have an interest in this now, heh [13:29:19] what happens if you $wgWhitelistRead Special:ExpandTemplates on a private wiki? [13:29:29] can you {{:Page name}} anything to see it? [13:29:36] or does it fail if you have no 'edit' right? [13:30:10] not sure [13:30:21] but the scenario is not exactly one that happens every day [13:30:33] is there a private wiki where you want to have this feature? [13:30:42] board.wikimedia.org! hah, no, not really [13:30:56] but it is a /potential/ leak hazard, no? [13:31:05] like say, if you whitelistread-ed all special pages [13:31:12] and happened to have that extension [13:31:28] yeah... [13:31:53] if you installed all extensions in the repository and then whitelisted all special pages, I imagine you'd have some security issues [13:32:17] subst/all/one/g [13:32:21] I don't think that's a threat to the idea of a private mediawiki though [13:32:27] if that's what you're saying [13:32:57] no, it is a threat even now, but it just becomes more of one as you increase levels of privacy [13:33:04] albeit small, heh [13:33:43] yes it is possible to creatively shoot yourself in the foot [13:34:04] *Splarka accidentally got into staff.wikia because they had a shared user database with shared rights [13:34:18] but there will be better configuration tools in the future which will make the direction of your foot less obvious when you're busy shooting randomly [13:34:44] *Splarka also expost a weakness in a wiki using Lockdown-type extension, simply by {{:Page name}} a supposedly hidden page.. (I wish I could remember which, I think it was a Something-Com on en.wp) [13:34:56] right, but configuration isn't everything [13:35:50] hmm [13:35:56] I've noticed a trend [13:36:40] Me: "Please?" Devs: "No." Someone else: "Please?" Me: "Devs said no." TimStarling: "Why not?" [13:36:50] do you feel when you're in agreement with me that you must be wrong? ^_^ [13:37:39] of course not [13:38:28] I do tend to take the contrary position in any argument, if it's a reasonable one [13:38:55] but if I didn't do that it wouldn't be an argument would it? [13:39:05] pointless [13:39:40] devil's advocate, eh [13:40:07] there's no point in discussing something with someone else if all you want back is your own opinion reflected [13:40:30] sure, but there is no need to start a discussion if none is actually warranted in the situation [13:40:46] I mean, you didn't have to talk about this, unless you were bored, and wanting something to do other than fix mediawiki [13:40:58] I think MediaWiki should be more corporate-friendly [13:41:18] if we're nice to them, they might repay us with some development effort [13:41:23] besides, I remember you being derisive towards several people having this same argument, like a week or two ago [13:41:38] I don't think so [13:41:47] sigh [13:41:50] *Splarka goes to the chanlogs [13:42:02] sorry, I know the one you mean [13:42:04] not to either opinion in general, just to having the discussion [13:42:13] it was a very long discussion though [13:42:16] heh [13:42:35] I'm done with this one, I'm not going to beat you about the head with it for another 2 hours [13:42:35] http://en.wikipedia.org/wiki/Hypocrite [13:42:47] well, it was getting fun, and a bit productive [13:43:05] but I still think most people just want an expanded wgWhitelistRead, and the other 10% can use two wikis [13:43:10] is it possible to make the whole wiki read only? [13:43:17] yes [13:43:20] oh lord [13:43:36] the new installer will have a box you can click on for that [13:43:40] TimStarling: is there a manual for that? [13:43:51] $wgGroupPermissions['*']['read'] = false; [13:43:57] but I need some artwork to go with it [13:44:04] http://www.mediawiki.org/wiki/Manual:Preventing_access [13:44:19] because I think the metaphor of a fishbowl is very cute [13:44:26] heh [13:44:54] I'd probably go with an open book and a closed book with a keyhole [13:45:31] http://www.usemod.com/cgi-bin/mb.pl?FishBowl [13:45:43] which is timing out for me but it should be in the internet archive or something [13:46:00] Splarka: thank you...i think that will solve it [13:46:15] arr [13:46:21] archive.org is nice and all.. [13:46:54] you know we have fishbowl.dblist on wikimedia with a list of them [13:47:02] but I still have gripes with them, heh [13:47:37] (6 month lapse time, and robots.txt should be era'd by domain owner, not by current owner) [13:48:00] maybe I just need a photo of a gnome in an aquarium [13:48:08] preferably a product shot, on a white background [13:48:28] http://web.archive.org/web/20080103035256/http://www.usemod.com/cgi-bin/mb.pl?FishBowl [13:48:37] (also, they are so damn slow) [13:49:32] archive.org is nice and all.. never said my gripe list was complete ^_^ [14:18:44] 03(mod) Empty lists are shown as null - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17552 +comment (10roan.kattouw) [14:19:35] mmm some French users say that &from= on a category page doesn't work anymore, is this intended ? :) [14:21:07] it should be localiazed language afaik [14:24:29] 03(FIXED) Empty lists are shown as null - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17552 (10roan.kattouw) [14:47:37] well &from is broken I'd say. [14:49:36] <|Zil|> NicDumZ, on others wikis also like en ? [14:52:04] |Zil|, http://en.wikipedia.org/w/index.php?title=Category:All_non-free_media&from=Bo does work :( [14:52:33] Hiya, i am trying to find server stats for MediaWiki = i.e. how many users it can handle on certain hardware [14:52:38] |Zil|, http://fr.wikipedia.org/w/index.php?title=Cat%C3%A9gorie:Image_CC-BY-SA-1.0&from=Fichier%3AClaude+Caill%C3%A91.JPG works while http://fr.wikipedia.org/w/index.php?title=Cat%C3%A9gorie:Image_CC-BY-SA-1.0&from=C doesn't [14:52:48] so we can analyze the kind of servers we should get [14:53:01] Does anyone happen to know anywhere i can read up on this? [14:56:55] TimStarling: If you're still there: that API fix you made earlier looks good to me [14:59:35] |Zil|, you could open a bug I guess, I can't find anything related. [14:59:59] <|Zil|> NicDumZ, ok. [15:00:03] oh, p858snake , any more precisions about "localized" &from= ? I can't find anything, nor in code, nor in doc. [15:01:11] <|Zil|> NicDumZ, and the issue about the mandatory title in new section on talk page ? [15:01:38] hello [15:01:46] 03(mod) Automatic category redirects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3311 (10catlow) [15:03:23] I could not find a way to do Active Directory auth for mediawiki, do you know any howto? [15:03:51] (hosted on windows 2003 and IIS) [15:05:17] grzechu, ldap [15:05:18] !ldap [15:05:18] --mwbot-- http://www.mediawiki.org/wiki/Extension:LDAP_Authentication [15:05:42] mmm, haven't asked here about it. [15:06:42] Reedy: I started from that howto, but failed [15:07:07] Any leads about a recent behavioral change on the creation of new sections? I think we were able to submit new section without title, and use == == to specify one (or a template). But it seems that this is not possible anymore. Ideas ? :) [15:13:58] 03(NEW) The &from sort option in categories doesn't work on fr. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17555 minor; normal; MediaWiki: Categories; (verszil) [15:14:44] <|Zil|> Well, NicDumZ, as you could see I open the bug. [15:18:22] 03(mod) The &from sort option in categories doesn't work on fr. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17555 +comment (10nicdumz) [15:22:48] 03(NEW) RSS user contributions feed attribute is incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17556 normal; normal; MediaWiki: General/Unknown; (tbertels+bugzilla) [15:22:49] 03(mod) RSS, Atom, XML syndication feeds (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3646 (10tbertels+bugzilla) [15:23:54] 03(mod) RSS user contributions feed attribute is incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17556 +easy (10tbertels+bugzilla) [15:26:25] 03catrope * r47450 10/trunk/phase3/ (3 files in 2 dirs): [15:26:25] * API: (bug 17529) rvend ignored when rvstartid is specified [15:26:26] * To fix this, make the prop=revisions query slightly less performance-zealous and allow WHERE rev_timestamp <= 'foo' when sorting and rangescanning by rev_id [15:26:26] * Make adding ORDER BY in ApiQueryBase::addWhereRange() optional [15:26:26] * Move a RELEASE-NOTES entry to the right section [15:26:47] 03(FIXED) rvend ignored when rvstartid is specified - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17529 +comment (10roan.kattouw) [15:29:15] Reedy: did it! proxy agent was needed and tsl instead of ssl [15:29:21] Reedy: thank you anyway :) [15:29:36] heh, cool [15:31:21] hi there. We are already using mediawiki as "knowledge base" for the it division of our company. now some other divisions want a wiki too, to document their stuff. is there a way to seperate usergroups in mediawiki, so that one group can only access and/or e.g. pages starting with "O:", another one only pages with "QS:" and a third group can see both? [15:32:21] dieck, mediawiki is not designed to hide groups of pages [15:32:29] ok, so I thought [15:32:32] (restrict editing per namespace is easy though) [15:32:39] although there're some extensions for that [15:32:41] !lockdown [15:32:41] --mwbot-- Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [15:32:59] you can create another wiki [15:33:17] I think another wiki would be the best solution [15:33:28] the managers will simply have to search both then ;) [15:35:38] !morbo | dieck [15:35:38] --mwbot-- dieck: http://img514.imageshack.us/img514/330/morbomediawikiaf9.jpg [15:36:16] (bit belated, creating a farm is the solution yes) [15:37:22] Splarka: http://content.humorpix.com/images/2366/p001.jpg :) [15:42:52] dieck: http://www.myconfinedspace.com/wp-content/uploads/2006/06/fry-see-what-you-did-there.jpg [15:44:53] how can i disable KHTMFixes.css being included from the javascript for my skin. Looking at the javascript, it doesnt seem to be something you can selectively disable, but I didn' really want to disable core stuff [15:45:10] 03rotem * r47451 10/trunk/ (7 files in 6 dirs): Localization update for he. [15:45:20] surely the javascript should check specifically for the monobook skin for this ? [15:46:56] same for the opera6 and opera7 css fixes [15:47:42] it is a bit annoying there is no simple way to disable it as it is a directly executed statement in the second to the headers [16:04:56] is it something the "generic" code even needs to handle ? [16:05:01] heh [16:05:11] well, it could be _gag_ yet another js global in every page load [16:05:18] like breakframes [16:05:24] What I think would be the best solution if every skin had /skins/skinname/main.js [16:05:26] *Splarka closes his dozen tabs [16:05:36] i.e. would be *required* to have it, even if it's empty [16:05:42] 14 dependencies is already too many [16:05:45] So you could just unconditionally include that file [16:06:16] "&& skin == 'monobook'" and fixed... [16:07:50] i have my own .js for my skin. i just include it manually [16:08:09] so why not just leave it to the skin creator ? [16:29:40] 03dale * r47456 10/trunk/extensions/MetavidWiki/includes/MV_MagicWords.php: fixed join type of magic words search digest query [16:32:40] Crap, bugzilla.wikimedia.org is repeatedly timing out for me [16:33:59] 14(INVALID) The &from sort option in categories doesn't work on fr. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17555 +comment (10roan.kattouw) [16:34:11] 03(mod) wikibits includes nonexistent stylesheet, KHTMLfixes.css - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14717 +comment (10roan.kattouw) [16:34:18] Yay, back up [16:41:41] 03(mod) Multiple rows created in pagelinks table for a redirect page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7304 (10yishaig) [16:45:11] got a problem with internal links. i added file:// as a protocol, so that mediawiki can handle that, if i link to e.g. Z:\Folder\Sub\file.pdf i can only download the link in IE, FF ignores the link completely (also right click + save file as.. doesnt work). does anyone know how to fix that problem, anything i need to activate in the about:config or something? [16:45:21] Simetrical: What happens if I run CREATE UNIQUE INDEX bar ON foo (bar); where foo is a pre-existing table with duplicate values for foo.bar ? [16:46:20] Administrator_: file:///Z:/Folder/Sub/file.pdf should work in most browsers [16:46:25] use forward slashes, even in windows [16:47:47] ok i use that wiki system on Win Server 2003 btw, but file:///Z:/Folder/Sub/file.pdf does not work to download in my FF (3.0) [16:48:02] doesn't? hmm [16:48:18] no thats my problem, but it does work in IE [16:49:02] 03(mod) RSS user contributions feed attribute is incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17556 +comment (10innocentkiller) [16:49:05] not a mediawiki prob then ^_^ [16:49:24] unless file:///Z:/Folder/Sub/file.pdf works for you in a plain html file [16:50:07] http://www.google.com/search?hl=en&safe=off&q=%22firefox+3%22+%22file+protocol%22&btnG=Search [16:50:17] Simetrical, could you look at the proposed patch at bug 1061 if you got a second. thanks [16:50:54] i have to check that when i am back in the company. i need to link to internal files cause i use mediawiki as a intranet page and i dont want to reupload all files also to avoid redundance [16:52:02] thanks for the link. guess i typed in the wrong phrases in google ^^ [17:01:18] can you configure mediawiki to not show content unless your logged in? can I configure if a user can edit pages based on their ou in ldap? [17:04:34] 03(mod) Block IPs abusing password reminder feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 +comment (10fr33kman) [17:22:12] Question: I'm trying to access Special:Statistics, and it's telling me a database query syntax has occured, Mediawiki 1.14rc1. MySQL returned error "1054: Unknown column 'ss_active_users' in 'field list' (localhost)" [17:22:33] did you run update.php? [17:24:25] nope, will give that a try. [17:26:36] that did it, thanks! [17:27:23] just integrated with ldapauth mod and thought I broke something, didn't check the page since migrating to 1.14rc1 [17:54:00] 03(NEW) Add links to Help pages in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17557 15enhancement; normal; MediaWiki: Special pages; (bugzilla.wikimedia) [17:55:49] 03(mod) User contributions feeds attribute is incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17556 summary; +comment (10tbertels+bugzilla) [17:59:58] hello [18:00:41] 03(mod) Add links to Help pages in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17557 +comment (10Platonides) [18:04:09] 03(mod) Block IPs abusing password reminder feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 (10tbertels+bugzilla) [18:10:35] 03(mod) Block IPs abusing password reminder feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 +comment (10public) [18:10:47] morrrrnin [18:12:17] 03(mod) Add links to Help pages in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17557 (10bugzilla.wikimedia) [18:13:43] <^demon> Good morning Brion. [18:14:45] 03(mod) Add links to Help pages in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17557 +comment (10innocentkiller) [18:15:01] buzz_: sic em^ [18:20:15] brion, can something be done about the KHTMLFixes.css being included from the javascript wikibits.js ? I read your comments on a reverted patch http://www.mediawiki.org/wiki/Special:Code/MediaWiki/37067 . if other skins wanted to include such fixes, they could easily implement that themselves. the problem is for skins which dont want the fix. Better to fix it now, and worry later about "skins which might want some common function for including k [18:20:16] htmlfixes etc". [18:20:55] meanwhile common/wikibits.js includes files which are not currently common files, but are specific for monobook [18:21:37] a big annoyance for me, and anyone else who creates their own skin [18:23:51] <^demon> Roan had a good idea of how to do that. [18:23:55] <^demon> (On the bug) [18:24:56] 03(mod) Fatal Error in ThreadPermalinkView.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17553 (10davemccabe) [18:25:44] Brion, I have written a bash script .. would you believe it .. to install the Wikiation software [18:26:04] it is tough to be a developer [18:26:21] ^demon, his fix would satisfy me i guess. although is there a need to force such a file? i mean why does this need to be in the core of the skin functions. if a specific skin needs extra javascript is it trivial to include it in the Monobook.php or whatever the skin is [18:29:29] <^demon> buzz_: What we really need is a PHP class that handles browser/version detection. [18:30:48] 03(mod) wikibits includes nonexistent stylesheet, KHTMLfixes.css - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14717 +comment (10buzz) [18:30:53] caribou|: You had an API question earlier? [18:31:04] RoanKattouw, yes [18:31:24] RoanKattouw, this is like there is no doc about querying an content article, i begin to believe that it's not possible [18:31:54] caribou|: api.php?action=query&titles=Page1|Page2|etc&prop=revisions&rvprop=content [18:32:19] I know the API docs aren't very friendly to newbies, I intend to add a tutorial to them when I have time [18:32:41] RoanKattouw, they are more friendly than some of the doxygen api documentation :) [18:32:56] buzz_: You mean the former actually exists while the latter doesn't? :P [18:33:06] caribou|: More extensive docs for this particular query at http://www.mediawiki.org/wiki/API:Query_-_Properties#revisions_.2F_rv [18:33:08] yes [18:33:09] :) [18:33:33] buzz_: I've been improving docs for some of the core classes like ApiBase, ApiQueryBase and ApiResult lately [18:34:31] RoanKattouw, i wasnt actually referring to the documentation for your code in medawiki, but rather than the more common stuff. such as the XML class and the other stuff which is handy for special pages [18:34:41] Ah, right [18:34:41] RoanKattouw, but its good to know you are also improving the docs :D [18:34:55] <^demon> Whoo, I love 10k revision old patches :) [18:34:58] Yeah, had nothing to do and they had free wireless internet on the train [18:35:15] *RoanKattouw loves people like ^demon, who keep them up to date with HEAD [18:35:33] <^demon> I'm trying to apply rd_interwiki to head :p [18:35:44] buzz_: I may have e-mailed you about this already, but if you'd like to have SVN commit access, you have my support [18:35:44] <^demon> With all the recent redirect changes, it's impossible :) [18:35:51] RoanKattouw, tss i might have skipped this revision thing thinking i would just have a specific version of the page... anyway thank you [18:35:57] GerardM-: :D [18:36:03] RoanKattouw, my second problem was to retrieve a page from the article ID :x [18:36:04] I was looking at the p-cactions stuff earlier. im convinced there is a way of doing it which is simpler, and cross browser friendly without requiring "as many" workarounds [18:36:04] AaronSchulz: poke poke [18:36:08] ^demon: I think the problem is that that rd_interwiki patch was partially implemented by me? [18:36:26] <^demon> You extended my work on it, yeah. [18:36:28] caribou|: Instead of &titles=Foo|bar|etc use &pageids=123|456|etc [18:36:44] ^demon: No, I mean that I applied part of it to trunk IIRC [18:36:45] RoanKattouw, thanks. well first I should submit patches etc. ive not really contributed much to mediawiki apart from complaints ;-) [18:36:52] <^demon> Not afaik. [18:36:52] and praise too :) [18:37:42] RoanKattouw, http://en.wikipedia.org/w/api.php?action=query&pagesids=355679&prop=revisions&rvprop=content [18:37:53] buzz_: You submitted two patches which were just fine (even though I WONTFIXed the second one, it was good) and made suggestions that I copied almost literally ;) [18:38:16] RoanKattouw, are you sure? i dont remember submitting any patches. you not got me confused? :) [18:38:24] buzz_: Quite possibly :P [18:38:31] caribou|: pageids , not pageSids [18:38:42] *RoanKattouw goes to see who submitted those patches [18:40:10] buzz_: Ah, it seems I'm confusing you with Brad Jorsh [18:40:11] sch [18:41:06] RoanKattouw, i spent hours finding how to do this stuff and it was in the doc as usual, anyway this revision thing was confusing, this is working. Thank you [18:41:36] caribou|: Yeah, I can see that. People who have worked with MW longer have gotten used to the idea that even the current version of a page is also a revision [18:42:15] oh yes x_x [18:42:51] <^demon> RoanKattouw: Sadly, the redirect code has gone crazy since :p [18:42:56] buzz_: lol, I've confused you with Brad Jorsch on *all* accounts, and I even sent *him* an e-mail saying he could apply for commit access if he wanted. I guess there are just too many API-poking Brits out there :P [18:43:41] *^demon is API poking, but not Brit [18:44:30] RoanKattouw, I apologise for any confusion caused :) [18:45:20] ^demon: Yeah, but you're actually a dev :P none of those Brits have SVN access, and some of them don't even have a clue about PHP [18:45:28] buzz_: Fault's all mine [18:46:01] RoanKattouw, my only contribution regarding api, is a perl based interface to your api.php [18:46:24] Oh right, you're the MediaWiki::API guy [18:46:27] yeh [18:46:30] Now I know who you are again :P [18:47:40] ^demon: Has the redirect code really been changed that much? [18:47:44] *RoanKattouw goes to see how old that patch is [18:48:12] August 2008 ... [18:48:14] <^demon> Yes. [18:48:20] <^demon> All this multi-redirect stuff. [18:48:33] Oh right *that* [18:48:37] <^demon> Btw in Article, you're checking if rd_interwiki and rd_fragment are null. If null, do an update then return. What happens if the row is right but there's just no iw prefix or fragment? Then you're still doing an update but you don't need to. [18:55:42] ^demon: IIRC, they should be "" (empty) and not null in that case [18:57:21] ^demon: Surely the Title.php part and a few hunks of the Article.php part should apply cleanly? [19:00:43] <^demon> The Title part did. Article doesn't apply at all :p [19:00:44] are there any docs that teach how to create background jobs? [19:01:24] !class Job | chuck [19:01:24] --mwbot-- chuck: See http://svn.wikimedia.org/doc/classJob.html [19:01:43] chuck: Hmm, I guess http://svn.wikimedia.org/doc/group__JobQueue.html is better [19:02:24] <^demon> RoanKattouw: The @@ -114,48 +122,31 @@ bit is what breaks. All the changes to followRedirect() and followRedirectText() I suppose. [19:03:27] 03werdna * r47457 10/trunk/phase3/includes/EditPage.php: Fix regression in r47202, which stopped wpAutoSummary from being written to the output. [19:03:44] brion: ^^ [19:03:46] <^demon> Ah I see what you were doing with the is_nulls(). Makes sense now. [19:03:48] Yeah that should be the only hunk being rejected, right? [19:04:03] <^demon> Yeah, that's the only part I can't apply automatically. [19:06:40] RoanKattouw: I still can't figure out how to create a new job from those docs :P [19:06:51] werdnum: tx [19:06:57] oh wait [19:07:03] chuck: Do you want to add an existing type of job or create a new type? [19:07:04] i just have to add it to $wgJobClasses first of all [19:07:09] RoanKattouw: creating a new type [19:07:25] chuck: Create a new class that subclasses Job [19:07:35] Yeah, and add it to $wgJobClasses I guess [19:08:17] After you've done that you can schedule jobs by creating a corresponding FooJob object and calling $job->insert() [19:09:06] Creating a job seems to be done cleanest with Job::factory [19:10:00] chuck: Does that help you? [19:10:14] yes, still a little confused though [19:10:34] Well basically, in your new Job subclass, you override run() [19:10:44] And that function will be called when your job is run [19:10:50] brb [19:11:02] i.e. when it's popped from the job queue and gets to do its magic [19:11:59] So all you really have to do is create a subclass of Job that overrides run(), then in another place schedule such a job to be run by creating one with Job::factory('commandname', ...) and calling $job->insert() on it [19:12:18] RefreshLinksJob is a nice example [19:13:55] chuck: Oh wait, http://svn.wikimedia.org/doc/EmaillingJob_8php-source.html is probably the cleanest example you're ever gonna get [19:16:26] <^demon> RoanKattouw: Fully applied and new schema in place. Gonna test it out :) [19:16:41] Cool [19:16:58] You do know, though, that you can't commit this yet until Tim's finished his schema change thingy? ;) [19:17:08] (can't hurt to bring this patch up to date, of course) [19:19:30] Tim-away: Is that schema change rotation script thing (see bug 16012) gonna be a priority some time soon (after the 1.14 release of course)? I've been waiting for that to happen for 9 months now [19:20:06] 03(mod) Fatal Error in ThreadPermalinkView.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17553 (10dasch_87) [19:22:44] <^demon> RoanKattouw: But other people do schema changes without the magic script thingie :p [19:23:53] ^demon: Yes, but WMF would like to be able to svn up from trunk too [19:24:21] And Brion's been keeping schema changes that modify existing tables out until Tim finishes that script [19:25:00] (I'm assuming that adding that tag-related table was done because it's cheap to add a brand new table) [19:26:19] 03(mod) Add rd_interwiki colum to redirect table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14418 +comment (10innocentkiller) [19:26:26] <^demon> ^ Done. [19:26:40] brion: What's that live hack in the categorymembers API that you mentioned on the server admin log? [19:27:52] RoanKattouw: http://rafb.net/p/kHVusp92.html [19:28:18] *sigh* [19:28:29] Does WMF have *any* indexes *at all*? :P [19:28:32] hah [19:28:48] UNIQUE KEY `cl_from` (`cl_from`,`cl_to`), [19:28:48] KEY `cl_sortkey` (`cl_to`,`cl_sortkey`), [19:28:48] KEY `cl_timestamp` (`cl_to`,`cl_timestamp`) [19:28:55] i'm not sure what's at issue here exactly? [19:29:08] Err, nothing? :P [19:29:20] A range scan on cl_from should be fine here, right? [19:29:32] -- We always sort within a given category... [19:29:32] CREATE INDEX /*i*/cl_sortkey ON /*_*/categorylinks (cl_to,cl_sortkey,cl_from); [19:29:56] RoanKattouw: presumably not, or it wouldn't have got commented out after numerous times catching categorymembers api calls stuffing up the db [19:30:03] OK that's a discrepancy but it shouldn't be breaking that code fragment [19:30:08] *brion pokes domas [19:30:25] Oh wait I see now [19:30:27] is it bad to global $wgEmergencyContact or $wgPasswordSender to use in userMailer() ? [19:30:34] Yes, that's exactly the discrepancy that's killing it [19:30:47] The FIXME comment could be clearer, by referring to the right index for instance [19:30:57] Oh wait it does [19:31:08] :) [19:31:24] *RoanKattouw goes to file a bug as a blocked to 16012 and slaps Tim... again [19:33:30] 03ialex * r47458 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php: [19:33:30] Fixes for PostgreSQL: [19:33:30] * automatically update the smw_ids_smw_id_seq sequence after the installation, largely inspired from http://semantic-mediawiki.org/wiki/PostgreSQL#Installation [19:33:30] * always use $db->nextSequenceValue(), on mysql it will return null, so no need to check for $wgDBtype [19:33:32] Also break some long lines. [19:34:43] 03tparscal * r47459 10/civicrm/utilities/: [19:34:44] 03(mod) Using single quotes (for content) inside single quotes doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13227 summary; +comment (10innocentkiller) [19:34:49] 03werdna * r47460 10/trunk/extensions/AbuseFilter/ (AbuseFilter.class.php Views/tools.js): Fix some silly bugs in reautoconfirmation [19:34:58] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 (10roan.kattouw) [19:35:01] 03(NEW) WMF servers missing part of cl_timestamp index, live hack breaks list=categorymembers&cmsort=sortkey - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17558 normal; normal; MediaWiki: API; (roan.kattouw) [19:35:23] 03tparscal * r47461 10/civicrm/utilities/scripts/: Initial import. [19:36:11] 03tparscal * r47462 10/civicrm/utilities/scripts/ceanup.user.js: Initial import. [19:37:37] 03demon * r47463 10/trunk/phase3/includes/Article.php: Just do a selectRow(). We're only returning 1 row anyway. [19:37:52] <^demon> TrevorParscal: ceanup or cleanup? [19:38:12] :( [19:39:06] *TrevorParscal fixed it... [19:39:11] 03tparscal * r47464 10/civicrm/utilities/scripts/ (ceanup.user.js cleanup.user.js): [19:39:14] <^demon> I mean, if you're ceaning up that's fine :p [19:40:06] *TrevorParscal thanks ^demon for noticing the typo [19:41:49] <^demon> s/noticing the typo/idling in #mediawiki all day [19:41:52] <^demon> No problem :) [19:42:22] 03werdna * r47465 10/trunk/extensions/AbuseFilter/AbuseFilter.parser.php: Add rmwhitespace function [19:43:24] 03(mod) Web source in user contributions feeds is missing parameters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17556 summary; +comment (10brion) [19:43:47] Who wants that? Should be a quick fix, hopefully. [19:44:02] jdelanoy [19:44:05] some random enwiki admin [19:44:10] *werdnum shrugs, he's helping out with testing [19:44:43] <^demon> brion: Now that I know *what* it means :p [19:45:05] I'm currently having problems with SVG renders from ImageMagick not returning transparency. Any idea what might be causing this? [19:46:07] ScarredSun: ImageMagick sucking, probably :P [19:46:13] or else you're viewing in IE 6 [19:47:15] <^demon> brion: Do we want to use Special:Contributions/name or index.php?title..etc? [19:47:24] pretty urls, always :) [19:48:55] pretty might be nice :) [19:49:34] Ah, I figured it probably just came back to ImageMagick being crap (As I'm on Ffx 3) [19:52:40] 04(REOPENED) File description page should have rel="canonical" link tag if file is transcluded from Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17550 +comment (10brion) [19:54:44] Hi, are logged in / logged out users logged? [19:54:47] If I see in my httplog something like "16/Feb/2009:03:00:17 +0100] "GET /mediawiki-1.13.4/index.php?title=Special:UserLogin", can I find out who it was? How? [19:55:55] 06(LATER) File description page should have rel="canonical" link tag if file is transcluded from Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17550 +comment (10brion) [19:56:18] Eeyore: not very easily, no [19:56:41] Oh, ok. [19:57:28] My wiki is only readable by logged in users and I think someones account was compromised. [19:57:37] heh [19:57:38] "RevisionDeleted fails on deleted revisions " [19:57:43] 03(mod) Web source in user contributions feeds is missing parameters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17556 (10brion) [19:58:02] brion: :) [19:58:44] Eeyore: there is checkuser extension that can be used for issues like that [19:59:01] I see. But then I should have installed that before, I guess. [19:59:02] *ST47 suggests not deletion deleted revisions. [19:59:12] but must be installed prior to the incident [19:59:28] how do I run a job? [19:59:46] just one? [19:59:56] I see. So now there is no way to find it out? [20:00:00] yes, just one job [20:00:18] 03demon * r47466 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialContributions.php): (bug 17556) parameters in Special:Contributions feeds (RSS and Atom) now point to the actual contributors' feed. [20:00:20] Hmm. [20:00:32] run runJobs.php and stop it really quickly [20:00:35] 03(mod) RSS s should be from /, not http:// - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17538 +bugday +easy; +comment (10brion) [20:00:39] whee ^demon :D [20:00:49] 03(FIXED) Web source in user contributions feeds is missing parameters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17556 +comment (10innocentkiller) [20:01:03] flyingparchment: bah, i wasn't very clear [20:01:06] Does this line need escaping? [20:01:06] [ $(svn info /home/wikipedia/common/$FILE | grep 'Revision') ] && { [20:01:13] how do I add a job to the queue, is what I meant to ask [20:01:23] (don't worry, I'm working on a deactivated copy of sync-common-file in my home dir.) [20:02:00] I get this error [20:02:01] ./get-revision: line 24: [: Revision:: unary operator expected [20:03:01] what is a place in a code that will add a job to the queue? [20:03:19] RenameUser, refreshLinks, ... [20:03:20] werdnum: remove the [ ] [20:03:25] Aah, the user made an edit, Stupid user. :) [20:03:29] werdnum: and the $() [20:03:47] werdnum: assuming you're trying to check the exit status of 'svn | grep', anyway [20:04:12] flyingparchment: Does grep return nonzero if it didn't find anything? [20:04:18] yes [20:04:42] but use grep -q, or grep >/dev/null if you want to be portable [20:06:48] yeah, just did that :) [20:07:24] 03(WONTFIX) Purge link - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17499 +comment (10brion) [20:08:38] <^demon> \o/ [20:08:47] <^demon> I was waiting on that WONTFIX from somebody :) [20:10:01] hi demon [20:10:31] 03(mod) New 404 error page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17316 +comment (10brion) [20:12:46] <^demon> Hi Nikerabbit :) [20:19:16] wow, the job queue rocks [20:19:38] now I can just add a wiki to the wiki farm without having super long load times while it populates the database and stuff :P [20:20:04] ialex, rapport au bug https://bugzilla.wikimedia.org/show_bug.cgi?id=16762 , ça te dérangerait de reviewer le patch de manuel http://mmenal.org/~mmenal/mw-list-subpages et si c'est ok de le commiter? [20:21:17] *MrZ-man puts chuck into the job queue [20:21:46] hi guys [20:21:50] first time here [20:22:27] welcome for the first of many times then ;) [20:22:47] I know I'm in late, but I just find out that MediaWiki is a great thing ;) [20:22:57] ehehh thank you Laaknor [20:26:38] anyone know how to use the [[svn:]]-markup to link to a specific version? I tried [[svn:47447]], but that doesn't work very well... [20:29:07] in what? [20:29:41] I know that CodeReview comments will link r12345 to viewvc [20:30:11] Tubarao: use [[rev:47447]] [20:30:48] MrZ-man: mm.. I can live with that.. thanks.. [20:34:28] 03raymond * r47467 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialListusers.php): [20:34:28] * Special:ListUsers: Sort list of usergroups by alphabet [20:34:28] * Add an ID to the inputform [20:34:28] * Use specific Xml::fieldset function [20:36:01] do any of you guys know where wfGetDB is? [20:36:04] *is defined [20:38:52] chuck: GlobalFunctions.php [20:40:59] chuck: and more generally: grep -r 'function NAME' includes/ [20:48:16] 03(mod) Special:ListUsers should not fetch user groups itself - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15807 +comment (10raimond.spekking) [20:49:23] guys , anyone knows if there is "something" to give read access just to one user group ? [20:50:00] do I *have* to run freeResult on a result? [21:00:27] Would an extension of MediaWiki that includes software that is under the LGPL be acceptable ? [21:08:27] GerardM, yes [21:08:30] 03(mod) Change rate limit for mailpassword for IPs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 +shell; summary; +comment (10mikelifeguard) [21:08:32] LGPL is upgradeable to GPL [21:09:08] GPL is the less permissive license right ? [21:09:53] <[KrusheR]> i think plain and old copyright is [21:11:11] yes [21:11:24] GPL is stronger copyleft [21:11:35] what djatoka does is give more control over pictures that are downloading... a picture can be anything up to 100 MB and that is a long wait [21:12:10] it uses jpeg 2000 [21:12:26] and can use other formats as its input [21:13:01] <[KrusheR]> is jpeg2000 supported in mainstream web browsers? [21:13:43] It is used by archives ... so I think it is [21:13:53] internet archive uses it [21:14:02] that is how I got at them [21:14:08] "JPEG 2000 is not widely supported in web browsers" -- http://en.wikipedia.org/wiki/JPEG_2000 [21:16:20] <[KrusheR]> thx [21:20:53] the objective is to make life easy for the people that restore pictures [21:21:22] for them to use Firefox would not be a hardship [21:21:47] that is FF3 [21:22:35] the biggest picture is atm 680 MB\ [21:27:16] Anybody got a current IE8 beta sitting around to test? [21:27:44] 'nite [21:31:22] brion: re IE8 stuff: was thinking of adding a component like "output compatibility" to the MediaWiki product in bugzilla. Desc: Bug reports related to use cases that do not display as expected in output devices like web browsers. [21:31:31] brion: any suggestions for refinement in there? [21:31:43] 03(NEW) MediaWiki:Shareduploadduplicate stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17559 minor; normal; MediaWiki: Images; (maarten) [21:32:11] siebrand: mmmm [21:33:01] 03(mod) MediaWiki:Shareduploadduplicate stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17559 +comment (10Platonides) [21:36:50] Siebrand, Brion would problems with fonts that are browser specific also apply in this category ? [21:37:38] 03(mod) Fatal Error in ThreadPermalinkView.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17553 (10dasch_87) [21:38:42] !class USer [21:38:42] --mwbot-- See http://svn.wikimedia.org/doc/classUSer.html [21:38:45] oops [21:39:35] Regarding bug 17487, the limit is 5 per hour for shared IPs. [21:43:25] 14(WFM) Misaligned form fields in MSIE 8 beta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13362 +comment (10tfinc) [21:43:48] 03werdna * r47468 10/trunk/extensions/AbuseFilter/Views/AbuseFilterViewHistory.php: Always include afh_pattern in the fields to select. [21:43:58] 03(mod) Change rate limit for mailpassword for IPs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 (10public) [21:46:50] 03ialex * r47469 10/trunk/phase3/ (CREDITS RELEASE-NOTES includes/specials/SpecialMovepage.php): (bug 16762) Special:Movepage now shows a list of subpages when possible [21:47:54] :O [21:48:24] 03(FIXED) Show subpages on page move - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16762 +comment (10alex.emsenhuber) [21:50:16] brion: https://bugzilla.wikimedia.org/show_bug.cgi?id=13363 - looks normal to me [21:52:32] MrZ-man: Can you please review the patch here: https://bugzilla.wikimedia.org/show_bug.cgi?id=16335 ? [21:52:36] is dbsource() available from inside of MediaWiki? [21:52:55] ooh, view source on IE8 has syntax highlighting and line numbering [21:53:29] Fancy. [21:53:59] 03(NEW) Half-broken deletion moved image files to deletion archive without updating DB - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17560 major; normal; MediaWiki: File/Repo; (brion) [21:55:15] MrZ-man: Actually, the patch has been reviewed. Can you commit it? :-) [21:56:26] MrZ-man: thx :D [21:57:47] anyone know? :P [21:59:09] chuck: if instal-utilis.inc is loaded, yes [22:00:29] ialex: Want to commit a patch that has been reviewed? :-) [22:01:14] install-utils.inc, not instal-utilis.inc :) [22:01:21] Marybelle: not now [22:01:39] All right. [22:02:06] 03(FIXED) Overprinting of checkbox text in MSIE 8 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13363 +comment (10brion) [22:02:50] *MrZ-man clicks on random stuff in IE8 [22:04:22] 03(FIXED) Fieldset legend is placed incorrectly in MSIE 8 beta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13364 +comment (10brion) [22:06:09] chuck: nope, only available in maintenance scripts [22:06:19] chuck: but you can load that file if you want [22:06:29] require_once( "$IP/install-utils.inc" ); [22:07:31] hmm, references aren't showing up as superscript in IE8 [22:10:32] IE8 doesn't seem to like putting links inside s [22:11:02] funky :) [22:11:05] bugreport it dude :D [22:12:00] brion: any hints as to how i should interprete your 'mmmm'? ;) [22:12:55] 03(mod) Allow a rate limit for mailpassword on the user for which the request is being made - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 summary; +comment (10mikelifeguard) [22:13:34] siebrand: multitasking... swapping a bit ;) i'll peek again in a sec [22:14:04] brion: no prob. I'll do something. Just kick me if you disagree :) [22:16:46] Where would I be without Wikipedia's [[Output_device]]. [22:16:59] <^demon> Stuck with input you can't get rid of? [22:17:18] *siebrand nods sadly. [22:18:32] ^demon, there's always the null device [22:18:39] siebrand: maybe a tracking bug rather than a component [22:18:44] though... component ain't bad [22:18:45] brion: created component "Device compatibility" with desc "Issues related to use cases that do not give expected output for MediaWiki pages on output devices like web browsers, printers, or speakers." [22:18:51] :D [22:18:55] wfm [22:19:25] wee [22:20:52] why is dbsource returning true when I pass it a file with blatant errors in it? :< [22:21:57] even wfGetDB(DB_MASTER)->sourceFile returns true when I give it a file with bogus content [22:22:02] cuz it hates you [22:22:03] <_Maru_2> hi, I was wonder how I can make a section show/hide [22:22:59] brion: but I never did anything mean to it :'( [22:23:05] * Read and execute SQL commands from a file. [22:23:06] * Returns true on success, error string or exception on failure (depending on object's error ignore settings) [22:23:14] 03(NEW) user-list parameter "emailable" stopped giving results on no.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17561 15enhancement; normal; MediaWiki: API; (stigmj) [22:23:18] are you checking for 'evaluates to true' or for === true ? [22:23:29] error will give you a string or exception, which is non-false [22:23:41] <^demon> chuck: Some things will hate you regardless. Dbsource, the parser, your mother in law. [22:24:15] brion: I'm doing this in the eval.php console: ar_dump(wfGetDB(DB_MASTER)->sourceFile($IP . '/test.sql')); [22:24:21] and it returns bool(true) [22:26:34] don't know what to tell ya dude [22:26:49] you'll probably want to check what it's actually doing to the db and see :) [22:27:26] O_o [22:27:39] okay well I put *actual* SQL in the file, and suddenly it reports errors correctly :P [22:28:33] <^demon> brion: Re: bug 17570 You mean we delete the file before we complete the transaction? o_O [22:28:42] ^demon: looks like! [22:28:48] kinda... scarry? :D [22:29:04] this was on the 16th, so before the update yesterday [22:29:44] <^demon> Should be simple enough to throw some begin/commit/rollbacks into the filerepo. [22:31:53] what happens if a user terminated a request while a job is being executed? [22:32:00] 03catrope * r47470 10/trunk/phase3/includes/api/ApiQueryUsers.php: API: (bug 17561) Recommit r44231 ("Added usprop=emailable to list=users"), which was accidentally undone by r46845 [22:32:07] *terminates [22:32:10] <^demon> Aren't jobs done at the end of the request? [22:32:14] 03(FIXED) user-list parameter "emailable" stopped giving results on no.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17561 +comment (10roan.kattouw) [22:33:49] 03(mod) Internet Explorer 8 (MSIE8) issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13361 (10mrzmanwiki) [22:33:52] 03(NEW) superscripts with formatting don't work in IE8 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17562 15enhancement; normal; MediaWiki: Page rendering; (mrzmanwiki) [22:34:18] ^demon: well i'm adding a potentially long job to the queue that involves creating a database and populating it [22:34:27] maybe I won't have the queue run every request [22:34:51] *chuck|busy wonders how the WMF runs jobs for every site they host [22:35:13] ^demon: oh i wish it were simple. if it were simple it would have been done right the first time ;) [22:35:28] brion: http://test.wikipedia.org/wiki/IE8_superscripts [22:35:48] brion: what is your cronjob like for running jobs? [22:36:03] <^demon> brion: I'm knee deep in LocalFile, and I'm dying inside :) [22:38:06] moin [22:38:07] 03(mod) WMF servers missing part of cl_timestamp index, live hack breaks list=categorymembers&cmsort=sortkey - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17558 +comment (10roan.kattouw) [22:38:45] chuck|busy: cronjob? i think we just run an infinite loop :) [22:38:57] tx MrZ-man [22:40:24] <^demon> :-\ why do we cache image redirects in $wgMemc? We don't do that for normal redirects... [22:40:35] 03(mod) Allow a rate limit for mailpassword on the user for which the request is being made - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 (10Platonides) [22:41:03] brion: lol, well what *script* are you running, and how? [22:47:11] brion: hallo? [22:47:25] chuck|busy: runJobs.php [22:47:28] from... the command line [22:48:03] paperweight: changed root password on all servers to 'web20rox' [22:48:06] lulwut? [22:48:17] werdnum: but how does that run jobs for every single wikimedia language and site? [22:48:51] chuck|busy: Well, presumably it's done for all wikis? [22:50:30] werdnum: i understand that much, but *how* is it done for all wikis? :P [22:51:03] ... with a for loop? [22:51:28] just a very simple shell script [22:51:41] is there any way you can pastie it, out of curiosity? [22:51:52] I don't know where it is. [22:52:07] It'd be something really simple... [22:52:35] like for wiki in ` php runJobs.php --wiki $wiki [22:52:43] done [22:52:45] that'd be it. [22:52:49] 03demon * r47471 10/trunk/phase3/includes/filerepo/ForeignAPIFile.php: Use $this->mInfo, not $info. Hopefully now we can actually get correct Mime info rather than guess-and-hope on the local install. [22:54:45] 03demon * r47472 10/trunk/phase3/RELEASE-NOTES: RELEASE-NOTES for last commit. [23:03:04] Hi all, how can I place a .conf file in mediawiki? [23:03:53] I'm trying to install this extension http://www.mediawiki.org/wiki/Extension:GlobalUserrights but I don't get what they mean with step 3. How do I apply the .sql path to $wgShaeredDB? [23:04:31] in refering to $wgSharedDB, they are refering to the database that stores the shared information [23:04:52] do you use phpmyadmin? [23:04:58] yes [23:07:13] @tekmosis: are you familiar at all with mysql? [23:07:41] I am, yes. If it's just running the sql file that's not a problem. I just wasn't sure if that was what they meant [23:07:53] yes, however you may need to edit the file [23:08:01] do you define $wgSharedPrefix? [23:08:15] ie: do the tables in your shared database have a prefix? [23:10:06] Yea, they do; I've ran the query without any problems. I was just unsure about their instructions :S thanks for the clarification [23:10:27] if you use $wgSharedPrefix, make sure the script modified the right tables [23:11:09] the sql script doesnt have a way to check if you defined $wgSharedPrefix, so you have to edit it into the file yourself or it wont be able to find the correct tables (as they wont have the prefix) [23:11:39] <^demon> There's a regression in the foreignapirepo :( [23:16:10] ^demon: PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/w/includes/Exif.php on line 1084 [23:16:22] <^demon> Yeah, I'm working on that. [23:16:27] ^demon: at least, I assume that's yours. [23:16:43] <^demon> It looks like the metadata array that is returned has changed. :-\ [23:17:22] ^demon: gotta mind those BREAKING CHANGEs by catrope/Roan Kattouw [23:19:14] is this page an extension? http://www.mediawiki.org/wiki/Special:ListGroupRights I'm using MW 1.12 but that doesn't exist for me and I would like it available [23:20:39] @tekmosis: go to Special:SpecialPages, under the section titled "Users and Rights" its called "User group rights" [23:21:31] slithytove2006 http://gta.neoseeker.com/wiki/Special:Specialpages it's not listed in there [23:22:01] Unless Special:ListGroupRights is a 1.13 feature [23:22:08] 03demon * r47473 10/trunk/phase3/includes/filerepo/ForeignAPIFile.php: Fix regression in ForeignAPIRepo because somebody changed how the API returned data :) [23:22:10] <^demon> siebrand: WFM ^^^ [23:22:41] ^demon: great. We'll see in a bit if that's :) [23:24:38] @tekmosis: http://www.mediawiki.org/wiki/Release_notes/1.13 its a 1.13 feature [23:24:51] ahh ok darn :( thanks for that [23:25:13] @tekmosis: why not upgrade? [23:25:29] we have a lot of custom code that makes upgrading difficult [23:26:24] @tekmosis: if you use SVN, it would make it a lot easier to upgrade. svn will recognize edits to files and do its best to merge them, or it will ask how to solve the problem [23:26:39] 03(mod) Transcluded Special:Newpages and Special:Newimages expose strip markers and desanitize html when returning zero results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16129 +comment (10public) [23:28:46] <^demon> !botbrain [23:28:46] --mwbot-- http://toolserver.org/~amidaniel/botbrain.html [23:33:09] 03werdna * r47474 10/trunk/extensions/AbuseFilter/Views/AbuseFilterViewHistory.php: Silly syntax error [23:36:19] 03(WONTFIX) MediaWiki:Shareduploadduplicate stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17559 +comment (10innocentkiller) [23:37:04] bye byes