[00:00:07] Can someone help me? I'm trying to install mediawiki on a Times Sinclair XZ81. I have the 16k memory upgrade but it keeps complaing about space. [00:00:08] ^Timex [00:00:38] haha [00:00:40] lol [00:00:51] Splarka: add more swap [00:00:59] you can attach a cassette drive [00:01:17] k, sec [00:01:23] for added capacity, try replacing the cassette with an ipod w/ a recording attachment [00:01:24] which RCA plug goes where? [00:01:33] hehe [00:01:46] you can always find some way to pervert anything more appleish [00:01:48] actually, installing mediawiki on the ipod would work better ;) [00:02:01] brion: I already have lighty on my iPhone. [00:02:03] (srsly) [00:02:03] http://www.ipodlinux.org/ [00:03:05] I wonder if one day an Ubuntu sticker won't be a sticker with the Ubuntu logo on it, but would actually run Ubuntu [00:03:36] that'd be cool [00:04:06] I'd get a MediaWiki sticker, and stick it on top of my MySql sticker, stuck upon my Apache sticker, stuck upon my Ubuntu sticker [00:04:15] or whatever. [00:04:18] I'm confusing myself [00:04:20] 'Intel install' sticker, stick it on.. 'Intel installing....' 'Intel installing...........' 'Intel inside!' [00:04:26] lol [00:05:05] werdnum, you run iPhone Linux or it's in the iPhone store or whatever sissy equivalent of a package repo they have? [00:06:32] it's in cydia (the jailbreak package repo) [00:11:08] *Simetrical has no idea what that means, does not speak Apple [00:12:33] it's just a standard APT repo. [00:30:24] 03(mod) subcat count > 0 for cats with no subcats on dewiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16614 +comment (10Simetrical+wikibugs) [00:34:51] 03vyznev * r44641 10/trunk/phase3/maintenance/cleanupTitles.php: Make cleanupTitles.php skip file pages (a bit late to fix that now, but oh well...) [00:36:55] I guess I kind of assumed that it was SOP to run cleanupImages first :/ [00:39:20] Restore from backup!! [00:40:31] I hate OpenOffice. [00:40:36] STOP TRYING TO BE INNOVATIVE WITH YOUR UI. [00:40:43] Why don't we require pages to re-render after 30 days? [00:40:45] use staroffice. it's closed source, so it must be better [00:40:47] OBEY THE UNIVERSAL STANDARDS THAT EVERY OTHER BLOODY DOCUMENT EDITOR DOES. [00:41:00] I just use actual Office. Works all the time. [00:41:00] Ctrl-I does not mean "make the last word I typed italic". It means "turn off italics mode". [00:41:21] wtf? [00:41:26] wow. [00:41:45] Anyway, page_touched can be as old as 2005 on en.wiki. So my question is, why is that a good thing? [00:42:13] because enwiki has lots of really obscure articles? [00:42:38] yksinaisyyteni, I'm amazed you don't use IpbWiki or something on the toolserver instead of that MediaWiki rubbish. [00:42:40] But what harm does the occasional purge from cache do? [00:42:43] Vyznev: ^ [00:42:54] MZMcBride, who says articles aren't occasionally purged from parser cache? [00:43:06] Simetrical: The page_touched column? [00:43:12] well, as long as it only happens when someone tries to view the page, nothing [00:43:23] but who says anyone has looked at those pages since 2005? [00:43:32] "Show us where the bad man page_touched you" [00:43:35] Does it matter if anyone has looked at them? [00:43:52] I mean, some things that don't re-render don't get put into appropriate tables... [00:44:03] Does page_touched actually reflect the last time the page's cache was in fact purged? [00:44:12] Or is it more sort of theoretical? [00:44:34] I think it's actual? [00:44:45] hmm, you do have a point... maybe it should be done as a background job [00:45:18] It doesn't necessarily need to be 30 days, but anything better than indefinite... [00:46:20] http://en.wikipedia.org/w/index.php?title=Dolores_Lake&diff=210457114&oldid=68679810 [00:46:31] Things like that... make me sad. [00:48:20] What, brion editing? [00:48:23] ugh [00:48:26] what, you think it should've DWIMed it? :) *g,d&r* [00:48:55] Reedy: Look at timestamps? [00:49:13] haha [00:49:38] two years of bleh? [00:49:39] wow. [00:49:51] How in the world do these things go unnoticed? [00:49:52] Presumably that page didn't make it into the appropriate table? [00:50:02] VartanSimonian: Because we don't force re-rendering. ;-) [00:50:08] Because nobody listens to me. :-( [00:50:19] To who? [00:50:25] I think I hear that darn wind again. [00:50:29] >_> [00:50:34] Someone close the window. [00:50:34] (sad face) [00:50:40] what, we have a table for horribly broken redirects now? [00:50:45] over and over and over again [00:51:03] Vyznev: We have a redirect table. [00:51:13] MZM: nobody listens to me either, or anybody else [00:51:24] Meanwhile, on a somewhat related rant, the categorylinks and protection tables have gone to shit. [00:51:47] But at least there are bugs filed about that, or something. [00:51:52] I want §ion=T-# links to behave like &redlink=1, I want diffs in the API to return the byte size of the diff returned, I want uploads to have SVG preview [00:52:05] "NOTE: as of August 2007, database dumps for Wikipedia and other Wikimedia projects as provided on http://download.wikimedia.org/ have incomplete data in this table: only redirect pages that have been created or edited recently are present. For older redirects, resort to using the pagelinks table." [00:52:07] well, brion listens to me, but only to my jokes [00:52:14] That's just sad. [00:52:28] I don't listen to myself. [00:52:35] Neither do I think through what I do say. [00:52:53] 00:44 < Simetrical> Does page_touched actually reflect the last time the page's cache was in fact purged? [00:52:57] 00:44 < Simetrical> Or is it more sort of theoretical? [00:53:01] Simetrical: it's used for If-Modified-Since et al. [00:53:03] More quoting. [00:53:25] [18:52] More quoting. <- QFT [00:53:40] :P [00:53:47] Splarka: WB. [00:53:59] MZMcBride: don't we have a maintenance script to fix that or something? [00:54:01] That whole 'nick collision' thang seems to be happening more often. [00:54:05] or if not, shouldn't we? [00:54:19] Vyznev: Sort of. [00:54:35] *Skizzerz wonders why Splarka has a wikia cloak [00:54:36] I mean, we can rebuild tables and things, but those scripts aren't run because they break things. [00:54:44] *Skizzerz also wonders why brion hasn't made mediawiki cloaks yet >:( [00:54:46] He's a Wikia import. [00:54:50] They don't 'break things'/ [00:54:55] Skizzerz: That's James_F's thing. [00:55:01] They just take forever to run. [00:55:10] werdnum: Tim says they break things. [00:55:14] but James_F isn't pokable at the moment :( [00:55:16] And I trust him more than you. :P [00:55:27] werdnum: Wikia breaks tons of stuff [00:55:55] plus if they enabled error_reporting, I'm sure they'd be getting tons of E_NOTICES and E_WARNINGS on each page [00:56:16] because they like to define their variables AFTER they check for them in if() statements [00:56:48] http://www.webvaluer.org/us/www.wikipedia.org [00:57:01] dang [00:57:01] Vyznev: I think something that ... runs all the time or something would be better. Is that even possible? [00:57:04] MZMcBride: The scripts or WIkia? [00:57:24] werdnum: Maintenance scripts break things. That's their purpose, according to Tim. [00:57:35] 03tomasz * r44642 10/trunk/extensions/CentralNotice/ (3 files): Renaming rights so they fit in with other extensions and for bug #16364 [00:57:43] *Splarka stabs the snow causing phone line failure [00:58:36] MZMcBride: sure, if we had an index on page_touched we could have, say, every edit also pull the oldest untouched page in the DB and reparse it, or something [00:58:56] 03(FIXED) Rights don't fit in - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16364 +comment (10tfinc) [00:58:58] Hmm. Shall I file a bug? [00:59:08] why not? [00:59:17] when in doubt, file a bug :) [00:59:29] Heh. I usually get stabbed for my bug filings... [00:59:48] MZMcBride: my dialup just died twice in quick succession, for no reason, it doesn't do that more than maybe twice a year usually [01:00:16] Skizzerz: too lazy to switch it back, also lilo had to set it specifically on me due to a really weird bug that was making it 'wikicities' all the time, long after wikicities was deprecated [01:00:28] werkd [01:00:29] so I'd feel bad getting rid of it [01:00:31] *weird [01:02:44] Skizzerz: I'm about to fire off an e-mail about the cloaks. [01:02:53] many thanks :) [01:03:53] 03(NEW) Implement mechanism to force re-rendering of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16657 15enhancement; normal; MediaWiki: Page rendering; (public) [01:03:57] Vyznev: ^ :-) [01:04:48] 03(mod) Rights don't fit in - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16364 (10matthew.britton) [01:05:06] 03brion * r44643 10/trunk/extensions/CodeReview/Subversion.php: [01:05:06] Run subversion proxy junk through PHP serialization instead of JSON... the json decoder seems a little unreliable in PHP for some inputs, like freaking out over nulls in a string. [01:05:06] Most confusing of all, sometimes it fails out by returning the raw JSON input as the result instead of failing sensibly with false or null return. :P [01:05:17] 03brion * r44644 10/trunk/tools/codereview-proxy/index.php: [01:05:17] Run subversion proxy junk through PHP serialization instead of JSON... the json decoder seems a little unreliable in PHP for some inputs, like freaking out over nulls in a string. [01:05:17] Most confusing of all, sometimes it fails out by returning the raw JSON input as the result instead of failing sensibly with false or null return. :P [01:05:34] >_> [01:05:42] A commit so nice, he did it twice. [01:06:59] 14(INVALID) Implement mechanism to force re-rendering of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16657 +comment (10brion) [01:09:08] well, that was quick :/ [01:10:39] make a bot to null edit old pages instead? [01:11:05] Well, I thought about that. [01:11:08] think how many bugs could be squished before hatching if br*on just paid attention here X_X [01:11:31] 01:10 < gurch> make a bot to null edit old pages instead? [01:11:34] ew ew ew ew ew [01:11:37] *werdnum stabs gurch repeatedly. [01:11:46] brion: Should I run a script to null edit all 11 million pages on en.wiki? :-) [01:11:54] no [01:11:58] only the old ones [01:11:59] no [01:12:09] touch.py just needs a minor modification or two... ;-) [01:12:25] gurch: I imagine I'd dump the list and work from oldest to newest. [01:12:42] MZMcBride: see my notes on the bug [01:12:58] MZMcBride: if you did that, you could quite possibly crash the site. [01:13:10] (if it was fast enough) [01:13:18] really? [01:13:30] Rendering pages *takes* *time*. That's why we cache them. [01:13:52] *gurch recommends the entire site not be crashable by a single user [01:14:04] not everyone is well-intentioned :) [01:14:12] just woke up... dreamed about ImageMagick [01:14:30] brion: I saw your notes. I want to update the links tables. Should I file a bug about running a maintenance script or two? And does it have any possibility of being resolved? :-) [01:14:37] <^demon> Mathieu1: At least you didn't dream about GD :D [01:15:27] ^demon, imagemagick is actually my nightmare these days [01:15:30] 03(FIXED) Some diffs are escaped thus appear in single line - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16643 +comment (10brion) [01:15:35] Skizzerz: E-mail sent. We'll see what happens. [01:15:40] I don't even want to think about GD [01:15:40] thanks again [01:15:45] MZMcBride: refreshLinks, or maybe something else, depending on what you're actually talking about [01:17:25] Vyznev: Still about? Is refreshLinks.php what I want? [01:17:29] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/refreshLinks.php?revision=35098&view=markup [01:17:48] MZMcBride: maybe you should describe the actual problem. [01:18:30] I did. I even filed a bug with links. [01:18:32] :X [01:18:45] 03brion * r44645 10/trunk/tools/planet/gmq/templates/index.html.tmpl: link icelandic from the english [01:18:46] Then maybe you should wait for that bug to be resolved. [01:18:54] *MZMcBride stabs werdnum in the throat. [01:18:55] 03(mod) Create Scandinavian Planet Wikimedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16511 (10brion) [01:19:06] werdnum: It was resolved, you twit. [01:19:10] MZMcBride: can you point out which one? [01:19:20] https://bugzilla.wikimedia.org/show_bug.cgi?id=16657 [01:19:20] or do you mean the vague one? [01:19:23] *Splarka eats popcorn [01:19:36] The one about re-rendering pages before the next epoch... [01:19:41] this level of slapstick is usually only seen in the Three Stooges [01:19:47] do you actually want "fully populate redirect table"? [01:19:49] MZMcBride: No, you report the problem, not the solution. [01:20:00] Splarka: Please help. :-( [01:20:15] MZMcBride: What *problem* is being caused? [01:20:21] *^demon passes Splarka a soda. [01:20:24] old pages are old, redirects aren't always redirects [01:20:28] brion: Yes. But I was told by Tim that running maintenance scripts that rebuild tables isn't really feasible... [01:20:39] Not when the tables are so large and prone to breakage. [01:20:46] and revisions and pages don't all have sizes [01:20:56] --old-redirects-only : Only fix redirects with no redirect table entry [01:20:57] werdnum: Tables aren't populated correctly. If I knew which entries, I'd play the lottery. [01:20:58] sounds feasible to me [01:21:17] Splarka: well no revisions before april 2007 have sizes because the field didn't exist then. but that's not going to change [01:21:24] at least, I assume it isn't [01:21:26] *^demon wants a more useful redirect table. [01:21:27] brion: What about other pages? I mean, we change schema and all that regularly. Do we really want pages not re-rendering for years? [01:21:43] I was told it wasn't going to change when I asked back in april 2007 :) [01:22:06] I was told there'd be no math [01:22:17] I was told there'd be no Christmas. [01:22:20] MZMcBride: refreshLinks.php [01:22:27] it ain't got nothing to do with page_touched [01:22:40] it's been run many times over the years [01:22:56] So I should open a bug to have refreshLinks.php run. [01:23:03] if you like [01:23:05] *gurch runs refreshBrion.php [01:23:11] How can it refresh the links and not touch page_touched? [01:23:18] why would it touch page_touched? [01:23:28] there's no need to force recaching of the page [01:23:34] Because it presumably has to re-render the page to check the links, no? [01:23:44] it has to parse it. [01:23:58] that has no change on externally cached resources [01:24:06] Hmm, okay. [01:25:11] page_touched is "The last time that external caches had to be purged" [01:25:20] It's mostly for If-Modified-Since, IIRC. [01:25:25] (and Last-Modified) [01:26:33] 03(NEW) Run refreshLinks.php on WMF wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16658 minor; normal; Wikimedia: General/Unknown; (public) [01:27:26] 03(mod) Implement mechanism to force re-rendering of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16657 (10brion) [01:28:18] now bug 16658 gets wontfix'd :) [01:28:37] I hope not. :-( [01:29:38] 03(mod) Run refreshLinks.php on WMF wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16658 +shell (10brion) [01:31:33] werdnum, that says twcenter.net should be getting $285 a day in ad revenue. That's like what we get a month. I call BS. [01:32:01] Simetrical: *shrug* [01:32:08] The site tends to sell for like $2000, too. Not $300,000. [01:32:27] It says that site is worth $300k? [01:35:16] 03(NEW) Prettify permalinks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16659 15enhancement; normal; MediaWiki: General/Unknown; (brion) [01:36:20] brion: ooh, can we start using $wgActionPaths on Wikimedia? [01:36:26] *werdnum <3 $wgActionPaths [01:37:57] That bug sure looks tempting, but I think I want to be able to eat in SF. [01:40:18] 03(mod) Include permalink in printable version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16428 +comment (10brion) [01:40:44] morning [01:40:50] hi tim [01:42:47] 03(mod) Run refreshLinks.php on WMF wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16658 (10brion) [01:45:14] brion: I was in contact with David by IRC before the release [01:45:31] super [01:45:46] that's where the CVEs came from [01:51:26] 03(NEW) Database table cleanup tracking bug - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 15enhancement; normal; Wikimedia: Site requests; (brion) [01:51:27] 03(mod) Phase I usernames with underscores break the system. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=323 (10brion) [01:51:31] 03(NEW) 1.13.3 Patch is Missing IEContentAnalyzer.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16661 04CRIT; normal; MediaWiki: Uploading; (joel.sherrill) [01:51:35] 03(mod) subcat count > 0 for cats with no subcats on dewiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16614 (10brion) [01:51:36] 03(mod) Corrupt protections in page_restrictions table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16629 (10brion) [01:51:38] 03(mod) Run refreshLinks.php on WMF wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16658 (10brion) [01:52:32] 03(mod) UtfNormal replacement proposal - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5303 +comment (10brion) [01:52:44] 03(mod) subcat count > 0 for cats with no subcats on dewiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16614 (10Simetrical+wikibugs) [01:52:48] :O 16660! [01:53:02] >:D [01:53:12] Assigning 16661 to Tim. [01:53:39] 03(mod) 1.13.3 Patch is Missing IEContentAnalyzer.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16661 (10Andrew) [01:55:24] <^demon> brion: What to with bugs involving the cur table? [01:56:24] *werdnum eats a Darrel Lea Christmas Nougat Pudding. [01:57:17] 03(mod) Database table cleanup tracking bug - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10public) [01:59:17] 03(mod) Tracking bug (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2007 (10public) [01:59:24] 03(mod) Special:Wanted* - purge link tables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16112 (10public) [01:59:26] 03(mod) Database table cleanup tracking bug - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10public) [01:59:55] <^demon> Splarka: I've read so many "it would be nice if..." bugs in the past few days..... [02:00:14] <^demon> Splarka: Yes, we talked about that earlier :) [02:00:36] ^demon: check if they need to be adapted to current schema or can be closed :D [02:00:36] 03(NEW) It would be nice if transcluded section edit links were hidden if user had no permission to edit , or treated like redlink=1 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16662 15enhancement; normal; MediaWiki: Page editing; (herd) [02:00:44] ^valid use [02:01:35] <^demon> brion: Referring to a non-existent query on a non-existent table in a non-existent function? [02:01:39] 03(mod) It would be nice if transcluded section edit links were hidden if user had no permission to edit , or treated like redlink=1 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16662 (10brion) [02:02:01] <^demon> *existing, rather. [02:02:29] 03(mod) subcat count > 0 for cats with no subcats on dewiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16614 (10brion) [02:02:44] ok i'm heading home [02:03:00] darn, got his penultimate comment [02:03:16] What's wrong with "it would be nice"? [02:03:46] <^demon> MZMcBride: Nothing in particular. [02:03:49] *Splarka snickrs [02:04:12] >_> [02:04:57] 03(mod) Database table cleanup tracking bug - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10innocentkiller) [02:04:58] 03(mod) Some categorized pages are (multi) listed as uncategorized - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1444 (10innocentkiller) [02:06:03] Is there a way my extension can do a search without parsing Special:Search? [02:06:05] 03(mod) Database table cleanup (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 summary (10public) [02:06:07] *MZMcBride fixed naming convention. ^ [02:06:19] trust MZMcBride [02:06:22] MZNitPicke. [02:06:25] 14(WFM) deadlock error on edit save - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1274 +comment (10innocentkiller) [02:06:59] I need to locate articles with a particaular template [02:07:05] and then parse bits out of that template [02:07:16] sprax_: [[Special:WhatLinksHere/Template:Foo]] [02:07:29] To parse bits, conditional ParserFunctions are best. [02:07:30] i have a problem... for some reason, this is malformed when used in pages: http://wiki.mobianlegends.com/wiki/Template:VG [02:08:00] {{#if:{{{param}}}|[[Category:Foo]]}} [02:08:45] MZMcBride I'm storing preferred NT ACLs in a custom template with a page for every path which is audited [02:08:59] so that ACLS/FILESERVER/E/SHARED/Accounting [02:09:06] *MZMcBride blinks. I only understand maybe half of that sentence. :-) [02:09:21] has an article with a template that has all the ACEs we went for that directory [02:09:27] yeah [02:09:29] its kinda nuts [02:09:35] my work is a special case... [02:10:05] so what I want to get a list of all the articles where the template exists [02:10:13] and parse out a specific user or group from it [02:10:30] 03(FIXED) Uncategorized images should be Uncategorized files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7793 +comment (10innocentkiller) [02:10:30] to generate a list of folders that a particular user or group has rights to [02:10:33] 03(mod) Prettify permalinks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16659 +comment (10Wiki.Melancholie) [02:10:36] like I said, it's pretty nuts [02:11:20] I already have a few parser hooks which use getContent(); [02:12:05] so if there is a function which will return an array of page names matching my query [02:12:08] it would be awesome [02:12:16] I'm rummaging about the manual now as well [02:12:35] but its not very long and my scheme is pretty hair brained [02:16:18] *Splarka ponders what else would be nice [02:18:04] Cigarettes and chocolate milk? [02:20:24] <^demon> MZMcBride: I'm there. [02:20:45] Excellent. [02:26:36] <^demon> brion: On the database cleanup...couldn't we drop cat_hidden since it's unused by everything? That info is in page_props, right? [02:26:55] He's gone. [02:27:05] <^demon> Missed that :p [02:27:45] ^demon: you don't notice that when tab-completing? [02:27:58] *MZMcBride wondered the same thing. [02:28:04] cat_hidden was added just in case. [02:28:11] werdnum, he could have started before brion left. [02:28:21] Also, brion is fast to type, maybe no need for tab completion. [02:28:22] Just in case what? [02:28:28] Just in case it was ever useful. [02:28:34] Because schema changes are like pulling teeth. [02:28:38] 3(NEW) It would be nice if MZMcBride had some cigarettes and chocolate milk - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16662 4BLOCKER; highest; MediaWiki: Excessive pedantic page deleting; (herd) [02:28:40] That's rather... [02:28:57] Splarka: :D [02:29:02] Splarka: those always freak me out. [02:29:07] Better to plan ahead and add useless fields rather than have to get sysadmins to change tables. [02:29:07] sorry:/ [02:29:11] *Splarka hides [02:29:14] Splarka, "BLOCKER" is supposed to be bold, IIRC. [02:29:22] <^demon> And red. [02:29:27] Simetrical: I think planning properly would be better... [02:29:30] is it, it is [02:29:36] Simetrical: I usually add useless fields when I create tables too. [02:29:38] MZMcBride, define "properly". [02:29:38] when was the last blocker opened? [02:29:57] Simetrical: Having a plan that will be implemented and fit the needs appropriately? [02:30:03] Fits. * [02:30:08] <^demon> Splarka: Better question. When was the last blocker opened that wasn't downgraded to at least critical within a day? [02:30:10] Splarka: when some clueless newbie thought "The second character on this page displays wrong". [02:30:17] Rather than adding random columns just to have them sit unused. [02:30:27] heh [02:30:28] MZMcBride, we're supposed to come up with plans for all possible uses of a table before we ever create the table at all? [02:30:33] MZMcBride: You should know that MediaWiki doesn't have a "plan". [02:30:49] werdnum: Yes it does. :P [02:30:56] If we had a functional process for getting schema changes approved in a timely and reasonable fashion, I wouldn't have bothered. [02:30:58] But nope. [02:31:07] Fair point. [02:31:28] But having duplicate columns / tables seems rather messy... [02:31:35] <^demon> Can I trade 1 useless field for 2 useful ones? [02:31:42] It wasn't a duplicate when I created it. [02:31:58] 138 blockers [02:32:02] Tim decided to use page_props instead of cat_hidden when he added the hidden category feature. [02:32:39] <^demon> Splarka: Only 1 is open for MediaWiki [02:32:55] latest was grawp [02:33:13] maybe because cat_hidden didn't exist at the time [02:33:17] ^demon, no, the exchange rate is one useful feature for ℵ₀ useless ones. [02:33:23] and I didn't think it was a good idea to add it [02:33:29] ^demon: https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&bug_severity=blocker [02:33:34] TimStarling, didn't exist at what time? [02:33:43] pretty red [02:33:49] It's existed since the category table has. [02:33:51] 03vyznev * r44646 10/trunk/phase3/maintenance/cleanupTitles.php: Followup to r44641: Only skip file pages that actually have a corresponding file. [02:33:55] Unless my memory is badly failing me. [02:33:58] when I added the hidden category feature [02:34:13] *Simetrical breaks out the svn blame-mobile [02:34:41] 32222 simetrical -- Reserved for future use [02:34:44] 32168 greg cat_hidden tinyint unsigned NOT NULL default 0, [02:34:56] huh, Simetrical right for once: 04CRIT->04BLOCKER [02:36:30] ah yes, indeed it has existed since the category table has [02:36:44] but of course the category table was added after the hidden category feature [02:36:56] I can't find the diff for the hidden category feature. [02:37:01] I could swear it was later, though. [02:37:32] One thing I'll say for git, blames are a headache when you don't have reasonable revision id's. [02:37:58] that clears some things up at least [02:38:31] the feature was added in r31113 [02:39:04] the page_props table was added in the main commit, the category table was added in 32084 [02:39:19] sorry 32085 [02:39:31] I thought when you added that category table you were just trying to spite me [02:39:43] Maybe I decided on the schema before you wrote the feature, and forgot about the extra field. [02:39:56] I can't remember. [02:39:59] adding a useless new field to make the point that I should have done it [02:40:00] *werdnum shrugs. [02:40:09] *werdnum spites TimStarling. [02:40:16] I get my HSC results tomorrow morning. [02:40:24] but I guess if you didn't even know the feature existed, that couldn't have been the case [02:40:36] It was a difference of three weeks. [02:40:59] It's reasonably possible I had some versions of the category table hanging around for that long. [02:41:45] hi all [02:41:57] does anyone know of APIs that can be used to parse wikitext? [02:42:29] action=parse [02:43:33] Splarka, ah thanks, Ill check it out. [02:43:56] I had another question - if I have the HTML for a page, is there a way to convert it to a format similar to Special:Export's? [02:44:01] takes raw text, page title, oldid [02:44:08] hmm [02:44:19] that involves reverse parsing, so no [02:44:47] Export exports raw wikicode, which you get with action=edit, action=raw, or prop=revisions&rvprop=content [02:44:48] why is http://wiki.mobianlegends.com/wiki/Template:VG screwing up? [02:45:18] <^demon> RingtailedFox: It's an empty page...? [02:45:28] Splarka, ah I see [02:45:53] vIkSiT: it is confusing to some that it is XML, but the XML is just a wrapper for the escaped wikitext and meta info about it [02:45:56] i mean, when i use it on other pages [02:46:09] example: http://wiki.mobianlegends.com/wiki/Sandbox/3 [02:46:09] <^demon> Why would anything show up? It's empty. [02:46:23] Splarka, yes, I've realized that. Im using lxml (py) to basicaly get everything inside [02:46:34] but now, I'd like to get sections out of the wikitext itself [02:46:56] and thus, if I can parse the markup straight-away - I can go ahead and do it [02:47:10] <^demon> RingtailedFox: Part of it is your thumbnailing is failed on the template. [02:47:15] i know [02:47:26] it is trying to load SVG files, but i don't have those enabled [02:47:58] vIkSiT: what you might do is use expandtemplates, which will give you an XML (third style distinct from raw and parsed) of the preprocessor tree, which should show you the section breaks more clearly [02:48:46] but you can get just the content of one section with &prop=revisions&rvsection=# [02:48:53] Splarka, Im having a bit of trouble with using the api though (action=parse). Could you point me to an example of using it? (I assume action=expandtemplates?) [02:49:21] http://test.wikipedia.org/w/api.php?action=parse&text=[[This%20is%20a%20link]] [02:49:24] <^demon> RingtailedFox: I'm not really sure. I'm not good with parserfunctions. [02:49:58] Splarka, ah, so it only takes text? I was trying to use title=New_York with no results.. [02:50:16] http://en.wikipedia.org/w/api.php?action=parse&title=New_York ? [02:50:36] vIkSiT: title= is the page title [02:50:39] page= is for specific pages [02:50:42] bit confusing too [02:50:52] http://test.wikipedia.org/w/api.php?action=parse&page=Foobar [02:51:15] ah gotcha, thanks [02:51:25] http://test.wikipedia.org/w/api.php?action=parse&text=This%20page%20is%20called%20{{FULLPAGENAME}}&title=File:Foo [02:51:32] you need the title for parser functions and magic words [02:52:26] I see [02:52:57] hi, All! [02:53:08] hmm, so for say the New York page - why does everything turn up in the form of "<ol" instead of
    ? [02:53:14] Splarka, ^ [02:53:42] escaped of course [02:53:48] is there a method to do the conversion through the parser? [02:53:54] grab inside and then de-escape the html entities [02:53:59] no, you should do it on the client side. [02:54:00] only <>&" are escaped IIRC [02:54:13] ah ok [02:54:13] that is because the API returns many formats, xml/php/json [02:54:17] right [02:54:19] vIkSiT: what are you doing specifically? [02:54:20] so it escapes the html [02:54:39] vIkSiT: (which programming language) [02:54:51] only in xml mode, though [02:54:53] http://test.wikipedia.org/w/api.php?action=parse&text=This page is called {{FULLPAGENAME}}&title=File:Foo&format=jsonfm [02:55:01] werdnum, essentially - fetch some pages from a mediawiki, look at the topics on that page, and then extract topic-sections and store them in a database [02:55:11] vIkSiT: which programming language? [02:55:12] (trying to convert some work wikis to structured formats) [02:55:17] werdnum, python [02:55:35] vIkSiT: there should be a python module to decode HTML entities. [02:56:09] for that matter, if you're using an XML parser, shouldn't it do the decoding for you? [02:56:12] there is, yes [02:56:26] Vyznev, hmm thats true too - haven't actually tried it [02:56:28] I want to set up a wiki on My laptop. I plan on being the only User. Where can I find accurate (and thorough) instructions on how to install MediaWiki on Mac 10.5? (The top results on Google strike Me as haphazard and incorrect for some reason.) [02:57:42] !install | xuinkrbin [02:57:42] --mwbot-- xuinkrbin: Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [02:58:24] Well, I feel stupid. Thanks, Vyznev! [02:59:38] is it possible for my wiki to render SVGs without me having root access OR X11 installed on my webhost? [03:00:39] RingtailedFox: sure, why not? just compile and install an SVG renderer under your home directory [03:01:14] not sure how easy that is, since I've never tried it, but there's no reason in principle why you couldn't [03:01:18] Is it possible to password protect pages from view? [03:01:37] !lockdown | xuinkrbin [03:01:37] --mwbot-- xuinkrbin: 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 >. [03:01:42] :) [03:02:07] Lazy mind, again. Thanks! [03:02:15] but also: [03:02:21] !secrets | xuinkrbin [03:02:21] --mwbot-- xuinkrbin: 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. [03:02:41] the thing is, all the SVG renderers i've seen require libraries [03:02:47] and those libraries require root access to install x.x [03:03:05] you can install libraries locally, too [03:03:20] really? it wouldnt' let me [03:03:45] batik whined that x11 was not present, ImageMagick whined about not being installed in /usr/bin... [03:04:10] I'm having problems where my searchindex table is getting locked during updating and bringing my whole site to a halt [03:04:12] well, no, an installer probably won't, but if you compile from source you can do it [03:04:22] are there any known issues with updating searchindex? [03:04:39] usually you need to pass some options to ./configure or equivalent to tell it where you want to install [03:04:53] and possibly where you've installed any existing libraries [03:05:49] i see [03:06:59] mind you, depending on the circumstances, it may be easier just to whine to your sysadmin until they install it :) [03:07:37] lol [03:07:47] i did, but the odds of that happening are low, as my host is www.hostmonster.com :) [03:08:22] never heard of them, but I guess the name says it all [03:08:48] actually, they're very good [03:08:54] you could try telling them they can advertise it as a feature of their hosting package [03:08:57] you might've heard of them as their alternate name: bluehost.com [03:09:08] i may [03:10:47] dotn suppose anybody know off the top of their head the magical markup which allows me to put in one of those handy dandy collapseable walls of text [03:11:17] you mean a collapsable wikitable>? [03:11:21] http://en.wikipedia.org/wiki/Wikipedia:NavFrame [03:11:23] 03(NEW) Create namespace aliase(s) in mgwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16663 15enhancement; normal; Wikimedia: Language setup; (bugzilla.wikimedia) [03:11:25] 03(FIXED) 1.13.3 Patch is Missing IEContentAnalyzer.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16661 +comment (10tstarling) [03:12:03] Hurm, bastardized navframe prolly work. [03:12:22] "the magical markup" doesn't exist [03:12:30] without a lot of borrowed css/js/template/html [03:13:06] werdnum, I've been looking around for something that can do it in python actually [03:13:14] but I still can't see something that will do entire documents [03:13:35] most things I've come across would involve going through to the entire document and doing manual replaces.. [03:14:30] i'm having a hard time with wikitables and mixed markup (specifically, wiki tables that use HTML coding) [03:14:34] python html entity decode [03:14:53] http://wiki.mobianlegends.com/wiki/Sandbox is proof of that. post that code on english wikipedia and it works. why does it fail on my system? [03:15:02] Splarka: Yea, dont really need the back end voodoo, just what div elements. Thanks :) [03:15:12] http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=python+html+entity+decode [03:15:59] cgi.escape [03:16:05] or cgi.unescape. [03:16:10] sheesh, it is only like 3 or 4 entities encoded [03:16:20] < > " & -> <>"& [03:16:30] RingtailedFox: https://bugzilla.wikimedia.org/show_bug.cgi?id=8948 [03:16:35] loading [03:16:41] i'm using version 1.13.2 of the software [03:17:22] it's still open, that means it hasn't been fixed [03:18:11] hmm [03:19:13] let me check on the status of tidy [03:20:03] I'd recommend just not doing that [03:20:13] ? [03:20:16] just not doing what? [03:20:18] use wiki table markup or HTML, but don't try to mix them [03:20:57] that way lies madness :) [03:21:39] the problem is, even pure HTML tables break under my wiki [03:21:50] are there any known bugs while updating wiki_searchindex? I'm running 1.13.2 and every now and then searchindex gets locked and brings my site down [03:22:19] RingtailedFox: examples? [03:22:42] http://wiki.mobianlegends.com/wiki/Sandbox [03:22:44] Sean_Colombo: try bugzilla [03:22:54] file one if you can't find any [03:24:48] RingtailedFox: where's the breakage? [03:24:56] other than with the mixed one, I mean [03:26:51] hmm. must be working properly now. that's odd [03:31:34] bugzilla doesn't know of the problem. [03:31:37] bummer :-/ [03:33:36] Sean_Colombo: well, file a bug on it and maybe someone will fix it [03:33:56] Vyznev: I don't think I know enough to file a bug yet... I guess I'm gonna have to just watch it [03:34:08] Sean_Colombo: it's not that hard [03:34:25] hmm, does a mw page actually have a refernce to its own URL? [03:35:06] Sean_Colombo: http://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&diff=prev&oldid=16021093 :) [03:35:33] 03tstarling * r44647 10/trunk/release-tools/make-release: [03:35:33] * diff -N [03:35:33] * Fixed i18n directory test [03:36:33] Vyznev: Thanks for the link. I've filed bug-reports for MW before though, what I meant is that I don't have enough info to make a _useful_ bug report :) [03:36:52] I'd feel rude just posting "searchindex locks... figure out what's wrong for me" ;) [03:38:04] that's good enough to report, just try to include as much detail as you can [03:38:16] at least then someone else can find it if they have the same problem [03:38:41] and it's less trouble than constantly asking on IRC :) [03:38:51] haha true [03:39:50] vIkSiT: a self link like [[Foo]] on said page is shown as instead of . Is that what you mean? [03:40:01] or maybe you mean variables like {{PAGENAME}} [03:41:09] Splarka, hmm, not sure if they are what I want. Basically, I wanted a way to figure out the URL of a page based on actually possessing the page's content [03:41:38] vIkSiT: that's gonna be tough. [03:41:47] You'll need to create an index based on a SHA1 of content, or similar. [03:42:00] hmm, I realize :) [03:42:05] an index? how would that help though? [03:44:43] Then you could actually search without checking against every page. [03:44:50] "based on actually possessing the page's content" in what form? [03:44:56] the rendered html has a 'retrieved from' URL [03:45:53] the raw has nothing at all, except sometimes a title (depending on where/how you got it) [03:55:49] Splarka, werdnum - ah, let me check. I was referring to the rendered html itself [03:59:42] it might only be in template skins *shrug* [04:00:01] [04:00:17] 03(NEW) Updating searchindex locks up database - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16664 major; normal; MediaWiki: Database; (sean) [04:00:35] 03(mod) updateArticleCount.inc. php can be made significantly more efficient - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16632 +easy (10sean) [04:04:40] ugh... why is it named "updateArticleCount.inc.php", anyway? [04:04:47] someone couldn't make up their mind? [04:06:23] 03(mod) Possibility to link to particular section of [[Special: Preferences]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16013 (10Eugene.Zelenko) [04:13:32] Splarka, oh thanks! the retrieved from url seems to work! [04:25:34] 03vyznev * r44648 10/trunk/phase3/maintenance/ (FiveUpgrade.inc updateArticleCount.inc.php): (bug 16632) Make updateArticleCount.inc.php use COUNT instead of numRows(), as suggested by Sean Colombo. [04:28:31] 03aaron * r44649 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: Limit graph title [04:28:39] 03(FIXED) updateArticleCount.inc. php can be made significantly more efficient - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16632 +comment (10nospam) [04:29:40] It was good of nospam to mark the bug as fixed for you [04:34:37] werdnum: ? [04:45:01] 03aaron * r44650 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: More title tweaks [05:05:57] 03(NEW) Add Commons as an import source for Meta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16665 15enhancement; normal; Wikimedia: Site requests; (mikelifeguard) [05:39:24] 03brion * r44651 10/trunk/phase3/ (RELEASE-NOTES includes/ImageFunctions.php): [05:39:24] * (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG [05:39:24] images which do not specify width and height attributes. [05:39:24] Examples from bugs: [05:39:24] http://commons.wikimedia.org/wiki/Image:Gcj.svg [05:39:25] http://commons.wikimedia.org/wiki/File:Providence_Metro_Area.svg [05:45:41] 03brion * r44652 10/trunk/phase3/includes/ImageFunctions.php: Follow-up to r44651 -- stay in floats until we finish the SVG size, so aspect ratios in silly tiny units are preserved better. [05:46:32] 03(FIXED) Aspect ratio broken for SVG images without size attributes ( PATCH included) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3691 +comment (10brion) [05:52:02] lo all [05:52:11] has anyone here used mwlib? [05:55:15] 03raymond * r44653 10/trunk/extensions/CentralNotice/CentralNotice.i18n.php: Follow up r44642: Rename messages too [06:07:23] 14(DUP) Allow moving the content and history of category pages to a new page title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15805 +comment (10robla) [06:07:43] 03(mod) Moving category description pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5451 +comment (10robla) [06:24:30] 03aaron * r44654 10/trunk/extensions/FlaggedRevs/ (2 files in 2 dirs): [06:24:30] *Fix XHTML (from subtitle message) [06:24:30] *Add 'view as SVG' link [06:24:30] *Add average and standard deviation to graphs [06:26:33] 03aaron * r44655 10/trunk/phase3/includes/ImageFunctions.php: Typo [06:34:57] http://www.cracked.com/article_16868_6-deadliest-creatures-that-can-fit-in-your-shoe.html <--- why are most of these in Australia.. [06:39:21] Because Australia is an uncivilized, untamed beast. [06:43:38] 03(NEW) Article on French Wikinews became inaccessible (lost?) because of namespace name change - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16666 15enhancement; normal; Wikimedia: General/Unknown; (Wiki.Melancholie) [06:44:21] MZMcBride: where do you live again? [06:44:46] Freedomland. [06:45:30] 03(mod) Article on French Wikinews became inaccessible (lost?) because of namespace name change - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16666 15enhancement->04BLOCKER; normal->highest (10Wiki.Melancholie) [06:45:48] lolfrenchwikinews. [06:48:14] 03(mod) Run namespaceDupes.php for French Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16666 04BLOCKER->normal; +shell; summary; +comment (10raimond.spekking) [06:51:14] MZMcBride: Only half of them are Australian. [06:51:20] MZMcBride: Where in Freedomland? [06:51:34] East coast. [06:53:47] oic [06:55:59] 03(mod) Run namespaceDupes.php for French Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16666 (10Wiki.Melancholie) [06:57:26] 03(mod) Special: Allpages for namespace 0 sometimes shows project namespace pages ( namespaceDupes.php?) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16514 summary (10Wiki.Melancholie) [07:12:36] okay... time for a test: "normal / 13,12WEIRD / normal" [07:13:06] please tell me if the parts that say "normal" don't look normal [07:13:21] they do look normal. [07:14:17] thx [07:16:00] 03(mod) Create namespace aliase(s) in mgwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16663 (10Wiki.Melancholie) [07:21:14] 03(mod) Create namespace aliase(s) in mgwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16663 +comment (10Wiki.Melancholie) [07:28:43] hello everybody [07:29:37] i use wikis for collection information with other people. for different projects i have now several wiki installations on my www space [07:30:01] this means i have e.g. 3 folders, each containing ALL mediawiki files [07:31:03] as i do not want to spend much time updating mediawiki or administrating the wikis at all i'ld like to move all wikis to one installation [07:31:06] is that possible? [07:31:19] running several wikis with one folder containing all the files? [07:45:56] 03(mod) formatnum should allow more formatting options - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16273 (10niklas.laxstrom) [07:48:11] is there a solution how to run several different wikis without having multiple copies of the mediawiki files? [07:51:17] derjens: I use symbolic links to do that. [07:51:44] what kind of server are you running? Linux/MacOS or Windows? [07:51:50] jelle, i have been using linux for years and know about symb. links but will i be able to create such ones via FTP? [07:52:32] probably not, but you can try to see if phpshell runs on the server, and create the links from there [07:52:43] i do only have www space - no money and time for running a complete server os [07:53:21] you can place the phpshell scripts on the webserver, and then do the shell commands from there [07:54:02] i am pretty sure phpshell will work there [07:54:09] http://phpshell.sourceforge.net/ [07:54:27] i had already found it by google. thx [07:54:47] I wrote a little script to create several wikis from one install, hold on, I'll grab it for you [07:55:12] jelle, but back to mediawiki. how do you link that stuff that most files are links but the config files are distinguishable? [07:55:22] and how do i access the wikis via HTTP? [07:56:04] you make links to most files in the wiki, but not to the localsettings and the images dir, you create those the normal way [07:59:25] jelle, do you find your script? i'ld like to use it [08:00:25] looking at it now, not sure if it will help. hold on [08:02:43] actually, take a look here: http://www.steverumberg.com/wiki/index.php?title=WikiHelp&w=myc [08:02:54] that might be more suitable for your situation. [08:04:18] please stay in the channel. i need to apply some dressing to my foot ATM... will look at your script in few mins [08:05:34] I'll be around [08:05:37] derjens, olive oil and balsamic or ? [08:05:40] :) [08:05:59] don't forget the pepper [08:07:07] medicine stuf [08:07:10] stuff [08:07:22] according to my dictionary this is the right word [08:07:34] synonym to bandage [08:07:40] well. i honestly didnt really think you were going to put salad dressing on your foot ;-) [08:15:58] jelle, this doc is very detailed.. i am pretty sure i will be able to do it although i did not read through every step right now [08:16:19] thanks in advance for your very well done doc!! [08:17:40] take a look at this as well: http://pastebin.com/d4b97774d [08:20:43] 03(NEW) some wikimedia fundraising sitenotices broken in Firefox - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16667 normal; normal; Wikimedia: General/Unknown; (brassratgirl) [08:25:11] 03(NEW) Suppoort for local differences in mathematical notation. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16668 normal; normal; MediaWiki: Page rendering; (neptunia) [08:51:26] 03aaron * r44656 10/trunk/extensions/FlaggedRevs/language/RatingHistory.i18n.php: color symbols [08:52:08] 03raymond * r44657 10/trunk/phase3/ (5 files in 5 dirs): * Add a 'change block' link to Special:IPBlockList und Special:Log [08:53:55] 03siebrand * r44658 10/trunk/phase3/languages/messages/MessagesMg.php: (bug 16663) Update namespace aliases for 'mg'. Adding them was omitted in r43599. Namespace aliases have been added based on r43633 of MessagesFr.php. [08:54:55] 03siebrand * r44659 10/trunk/phase3/languages/messages/MessagesMg.php: Fix syntax errors in r44658. [08:55:58] 03(FIXED) Create namespace aliase(s) in mgwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16663 +comment (10siebrand) [08:57:50] 03raymond * r44660 10/trunk/tools/planet/de/config.ini: Update per diskussion with Duesentrieb and Mathias. [08:58:13] 03(mod) Create namespace aliase(s) in mgwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16663 +comment (10siebrand) [09:07:43] 03(mod) Suppoort for local differences in mathematical notation. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16668 +comment (10nospam) [09:10:32] 03(mod) Support for local differences in mathematical notation. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16668 summary (10raimond.spekking) [09:22:41] 03mkroetzsch * r44661 10/trunk/extensions/SemanticMediaWiki/ (INSTALL RELEASE-NOTES): updated notes for SMW 1.4.1 (bugfix release) [09:31:42] Hello. Which version of Mediawiki should I upgrade to? I'm currently using version 1.11.0, but that seems to have some vulnerabilities. I'm not looking for any major changes--just more security. [09:33:44] mumia-w-19: I think we released a new 1.11 release. [09:34:04] Thanks. [09:50:31] Are there any major changes between Mediawiki 1.11 and 1.13? [09:50:42] incompatabilities/ [09:52:00] No, you can just update to 1.13 and run php maintenance/update.php [09:52:02] and you're done. [09:52:19] Thanks, :-) [09:52:41] I probably would have missed maintenance/update.php [10:09:54] Stupid question: what is the difference between the "Go" button and the "Search" button? [10:10:10] 'go' will take you to an article if one exists with the name of the search term you entered [10:10:13] 'search' always goes to the search page [10:10:42] ok, thanks yksinaisyyteni [10:10:56] Go is default? [10:11:17] default? [10:13:35] Hi. SVN related question: I just tried to "svn copy" a directory from http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ to http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/ [10:14:10] But the svn copy operation failed with 403 Forbidden [10:14:21] that's because you have to use svn+ssh:// to commit [10:14:32] arghh, thanks [10:14:43] ok, I should have some more coffee ... [10:15:12] also, it should be /tags/NAME_OF_TAG/extensions [10:16:05] but the NAME_OF_TAG is related to MW, not to the extension in question [10:16:40] the NAME_OF_TAG I use is under tags/extension/extensioname/ [10:28:36] I just made a blog [10:29:01] TimStarling: WHERE [10:29:13] http://tstarling.com/ [10:29:39] whoah, thats quite an entry [10:32:45] TimStarling: epic ;-) [10:35:16] I think I'll move that thing down a bit [10:36:33] 03(mod) Support for local differences in mathematical notation. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16668 (10neptunia) [10:45:43] TimStarling: cool post. [10:52:56] TimStarling: expect some visitors. :) [10:53:11] TimStarling: have you added it to planet yet? [10:53:17] no [10:54:57] planning on it? [10:55:45] could do [10:55:52] am I allowed, or is that COI? [10:56:01] you're allowed [10:56:04] hehe [10:56:14] I added my own blog. [10:56:32] someone added mine, with wrong tag though [10:56:47] 'wikitech' material doesn't always fall into what I'd like to publish on planet [10:56:50] Oops. I just upgraded from MW 1.11.0 to 1.13.3, but I forgot to do maintenance/upgrade.php first. Instead I did localhost/wiki/config/index.php. Can I do upgrade.php safely now? [10:57:10] mumia-w-19: you're supposed to do update.php after you upgrade, so you're doing it right :) [10:57:24] Good, thanks :-) [10:57:25] if you re-ran the installer, there's no point running update.php [10:57:31] the installer already did the updates [10:59:15] You mean that config/index.php does the updating? [10:59:25] yes, it does them too [10:59:38] Great. Thanks again. [11:00:37] that's assuming you actually ran it, rather than just visiting the page [11:01:00] <_wooz> lo [11:01:14] hi _wooz [11:01:22] <_wooz> hi we [11:01:38] I ran it. [11:05:36] 'David Remahl' reminds me of a Frontline episode I studied in class. [11:06:00] (One of the characters was 'David Ramaah' (or similar spelling). [11:17:17] 03(NEW) Polish grammar forms - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16669 normal; normal; Wikimedia: Language setup; () [11:26:24] 03(mod) Polish grammar forms - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16669 +comment (10niklas.laxstrom) [11:26:31] 03(NEW) input control labels should be in site language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16670 major; normal; MediaWiki: Internationalization; (krixel) [11:26:44] 03(NEW) Jesus no-show - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16671 major; normal; Wikimedia: wikibugs; (dustin.cosentino) [11:28:43] 03(mod) Polish grammar forms - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16669 normal->15enhancement; +comment (10niklas.laxstrom) [11:29:50] moin [11:36:09] 03(mod) Jesus no-show - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16671 +comment (10niklas.laxstrom) [11:38:19] TimStarling: angela's off bragging about your blog now. [11:38:19] 03(mod) input control labels should be in site language - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16670 +comment (10niklas.laxstrom) [11:44:09] we're doing PR campaign [11:45:06] 03(mod) Prettify permalinks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16659 +comment (10niklas.laxstrom) [11:45:26] it raised a good discussion all over :o [11:53:21] is there any way to upload files from URL instead of local file? [11:54:19] 03(mod) Create namespace aliase(s) in mgwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16663 (10bugzilla.wikimedia) [11:54:24] !wg AllowCopyUploads | mchelen [11:54:24] --mwbot-- mchelen: http://www.mediawiki.org/wiki/Manual:%24wgAllowCopyUploads [11:54:39] 03(mod) Subpages in MediaWiki namespace should be parsed in respective languages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16669 summary (10nospam) [11:56:55] ialex, thanks that is perfect =) [11:57:57] np :) [11:58:43] hmm [11:58:47] thanks vyznev [11:58:55] now just have to convince the fines folks at wikihow to support it :) [12:05:31] hi ialex [12:05:56] hello werdnum [12:06:14] what is uppeth, ialex [12:07:11] uppeth? [12:07:22] It's me being silly. [12:07:49] 03(mod) Pages briefly show multilingual text while loading - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16631 +comment (10niklas.laxstrom) [12:09:49] ialex: it means 'up' :) [12:10:10] :) [12:21:46] 14(WFM) Jesus no-show - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16671 +comment (10matthew.britton) [12:23:24] hi there [12:24:09] I have a problem with mediawiki: i can correctly see the index page, however if I click on 'edit' or 'history' or 'login', my webhost says that the page is not found [12:28:45] 03(mod) iPhone compatibility CSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16654 (10danny.b) [12:28:46] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny.b) [12:29:14] is this the right place for JavaScript related questions? [12:29:48] is the javascript part of mediawiki? [12:30:09] thats what i asked [12:30:14] wikimedia-tech send me here [12:31:01] just go ahead and ask, maybe someone will know the answer, no promises ;) [12:31:01] 03(mod) Database table cleanup (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10danny.b) [12:31:02] 03(mod) site_stats.ss_good_articles and site_stats. ss_total_pages not synchronized with the real count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10834 (10danny.b) [12:31:44] i'm using ConfirmAccount extension. is it possible to activate a notify email for the administrator, if a new user created an account? [12:32:07] i have a function that is working [12:32:10] function DitJaar() { addPortletLink('p-cactions', 'http://stats.grok.se/nl/2008/'+wgPageName, "stats this year", "ca-stats", "See article stats"); } addOnloadHook(DitJaar); [12:32:23] and another one: [12:32:23] function DezeMaand() { addPortletLink('p-cactions', 'http://stats.grok.se/nl/200812/'+wgPageName, "stats this month", "ca-stats", "See article stats"); } addOnloadHook(DezeMaand); [12:32:48] the problem is that I have to change the monthly and yearly links by hand [12:33:48] now I would use some variables to make it all go automatic [12:33:51] something like [12:33:52] function Test() { var maand = currentTime.getMonth(); var jaar = currentTime.getFullYear(); addPortletLink('p-cactions', 'http://stats.grok.se/nl/' + jaar + (maand < 10 ? "0" : "") + maand + "/" + wgPageName, "test stats", "ca-stats", "See article stats"); } addOnloadHook(Test); [12:34:01] but it ain't working [12:34:09] anyone know how I should get this working? :S [12:36:55] 03(mod) Install RandomRootPage on Wikibooks and Wikisources - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16655 +need-review +shell; summary; +comment (10danny.b) [12:37:54] ZilverenLepel: var currentTime = new Date(); ? [12:38:01] Hey, Having issues installing media wiki [12:38:06] Creating tables...Query "CREATE TABLE `searchindex` ( si_page int unsigned NOT NULL, si_title varchar(255) NOT NULL default '', si_text mediumtext NOT NULL, UNIQUE KEY (si_page), FULLTEXT si_title (si_title), FULLTEXT si_text (si_text) ) ENGINE=MyISAM " failed with error code "Column 'si_title' cannot be part of FULLTEXT index (localhost)". [12:38:25] Im using MySQL 5.1 [12:39:01] can I download that one for free somewhere? :P [12:39:06] thanx and i'll try :) [12:39:42] Hm, I have a MediaWiki installed, but is there any way to change it from going to en.wikipedia when you write in: Wikipedia:Something? I would like it to go to no.wikipedia.org [12:39:56] !interwiki [12:39:56] --mwbot-- Interwiki links are links between wikis. For instance, on Wikibooks, [[w:Article name]] or [[Wikipedia:Article name]] will link to a Wikipedia article. To set up interwiki links, see and . For easy configuration, use [12:40:10] 03(mod) 1.13.3 Patch is Missing IEContentAnalyzer.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16661 (10joel.sherrill) [12:40:56] hi all [12:41:05] Hi [12:41:28] i have a query regarding this page [12:41:29] http://hi.wikipedia.org/wiki/%E0%A4%AE%E0%A5%81%E0%A4%96%E0%A4%AA%E0%A5%83%E0%A4%B7%E0%A5%8D%E0%A4%A0 [12:41:38] Prom_cat: Thanks! [12:41:44] its the Hindi language wikipedia [12:41:51] Your welcome. [12:42:31] if u open this page in IE... and then if u type in search box using English characters -it automatically transliterate into Hindi [12:42:57] I wonder if this is possible via some core functionality or extension [12:43:39] *Prom_cat thinks Probably not... [12:43:48] but im not the person to ask :) [12:44:02] :) [12:44:18] so any idea how it might be done? [12:44:48] JimStar007: javascript gadget I believe [12:45:01] Google Transliteration AIP can do this job... but i dont know how to integrate this API with the search box [12:45:42] you are right Nikerabbit... but how to integrate a javascript with the search box? [12:47:12] fyi: it doesn't work me [12:47:45] it works only in IE [12:47:49] not in FF [12:48:13] see bottom of http://hi.wikipedia.org/wiki/%E0%A4%AE%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF:Common.js [12:51:50] <^demon> werdnum: Ping [12:52:06] hmm [12:52:27] they are using a function addTranslit in Common.js [13:27:11] ^demon: I'm around. [13:27:16] ^demon: what's your question? [13:29:29] <^demon> Remember when we talked about an XML class method for building a table? What do you think of http://pastey.net/104474 ? [13:30:43] That looks pretty cool, but I wonder if it wouldn't be worth introducing some way of styling individual rows/cells. [13:31:51] <^demon> I was thinking about that, but I didn't want to have too many params on buildTable. I *could* make the array of rows more complex? [13:32:38] Or add an array at the end, $classes = array( 'row1' => 'disabled', 'col1' => 'foo', 'row1col2' => 'bar' ); [13:32:50] Wouldn't be very hard. [13:32:55] <^demon> No, that could work. [13:33:11] OR [13:33:25] <^demon> I could also make the rows array associative, so you can at least specify an id per row. [13:33:31] $classes[1] = 'wholerowclass'; $classes[1][2] = 'cellclass'; [13:33:34] yes, that would also work. [13:35:32] hm... the api can oputput translated namespace names and namespace aliases. [13:35:38] how about also providing the canonical names? [13:35:55] i.e. providing canonical way to fetch all valid namespace names? [13:36:40] 03mkroetzsch * r44671 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Infolink.php: support NULL default for linker object [13:37:46] 03nikerabbit * r44668 10/trunk/extensions/Translate/MessageChecks.php: * Fix these misc checks [13:39:00] 03mkroetzsch * r44664 10/tags/extensions/SemanticMediaWiki/REL_1_4_1/ (169 files in 21 dirs): SMW 1.4.1 tag [13:39:30] 03raymond * r44669 10/trunk/phase3/ (2 files in 2 dirs): [13:39:30] * Add PLURAL support for 'undeletepagetext' [13:39:31] * Remove commented out line [13:39:31] * Add a space between input field and submit button [13:39:54] 03raymond * r44670 10/trunk/phase3/includes/specials/SpecialUndelete.php: Follow up for r44669: simplfy code. Thanks to IAlex and Nikerabbit [13:40:07] 03mkroetzsch * r44662 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: this version will be SMW 1.4.1 [13:40:14] CIA-8: you lag! [13:40:33] 03mkroetzsch * r44672 10/tags/extensions/SemanticMediaWiki/REL_1_4_1/includes/SMW_Infolink.php: late typo fix [13:40:35] Duesentrieb: ? [13:43:33] 03mkroetzsch * r44663 10/tags/extensions/SemanticMediaWiki/REL_1_4_1/: new directory for SMW 1.4.1 tag [13:43:51] Hi [13:44:37] 03tstarling * r44666 10/trunk/tools/planet/en/config.ini: Added my new blog. [13:44:47] 03ialex * r44667 10/trunk/phase3/includes/ (LogEventsList.php specials/SpecialIpblocklist.php): Fix for r44657: correct usage of SpecialPage::getTitleFor() [13:45:30] 03(NEW) meta=siteinfo&siprop= namespaces|namespacealiases should return canonical names as well - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16672 15enhancement; normal; MediaWiki: API; (danny.b) [13:47:27] How I Can add to my MediaWiki a RSS Generator? [13:47:41] 03mkroetzsch * r44665 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: version increment after release [13:50:45] <^demon> werdnum: Did a bit more cleanup: http://pastey.net/104478 [13:51:12] <^demon> $rows is now fully associative. ids at top level become row ids, ids in the array of values for a row become cell ids. [13:51:48] i'm using ConfirmAccount extension. is it possible to activate a notify email for the administrator, if a new user created an account? [13:51:50] <^demon> And if you don't have a string id, it just skips adding an id [13:52:35] 03(NEW) Login with temporarly new password fails when extension PasswordReset is installed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16673 normal; normal; MediaWiki extensions: General/Unknown; (raimond.spekking) [13:59:20] Norsys: RSS of what? mediawiki already generates "some" RSS. [13:59:42] Norsys: other than that, there'S the News extension and the PageRSS extension. And perhaps some more [14:00:09] Norsys: http://www.mediawiki.org/wiki/Category:Feed_generator_extensions [14:01:06] hm, PageRSS doesn't exist. what was i thinking of? anyway, thatcategory is for you. [14:03:10] Duesentrieb, no.. Mediawiki don't generates RSS [14:03:14] anyway.. yes [14:03:24] there are PageRSS, etc but.. [14:03:43] Norsys: sure it does. [14:03:47] I would like to have a suggestion... based on experience [14:04:11] Duesentrieb, yes, it does.. but not already [14:04:19] huh? [14:04:22] but by implementing plugins/extensions [14:04:23] it has for years [14:04:24] http://en.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=rss [14:04:30] out of the box. [14:04:49] bot only a feed of all page changes [14:05:27] Norsys: or for a sinlge page: http://en.wikipedia.org/w/index.php?title=The_Proclaimers&feed=rss&action=history [14:05:50] Norsys: or for all pages linked to a given page: http://en.wikipedia.org/w/index.php?title=Special:RecentChangesLinked&feed=rss&target=The_Proclaimers [14:06:06] Duesentrieb, mmh [14:06:11] that's the three options without any extensions. [14:06:40] If I open mymediawikiURL/index.php?title=Special:RecentChanges&feed=rss [14:06:52] I obtain: [14:06:54] XML Parsing Error: XML or text declaration not at start of entity [14:08:10] 03demon * r44673 10/trunk/phase3/includes/Xml.php: Add two new XML methods for building tables (buildTable and buildTableRow). Accepts associative arrays where the key is the row/cell id and the value is its value. Non-string keys are skipped. [14:10:19] 03demon * r44674 10/trunk/extensions/InterwikiList/InterwikiList_body.php: And here's the first working example :) Isn't that much nicer? [14:10:21] Duesentrieb: this is the error: [14:10:33] XML Parsing Error: XML or text declaration not at start of entity [14:10:33] Location: mymediawikiURL/index.php?title=Speciale:Recentchanges&feed=rss [14:10:33] Line Number 4, Column 1: [14:10:33] ^ [14:10:44] when I open mymediawikiURL/index.php?title=Special:RecentChanges&feed=rss [14:10:55] something is outputting blank lines then [14:11:02] might by your localconfig, or some extension [14:11:10] check for blank lines at the beginning or end of files [14:11:17] if you don't find any, check for BOM marks [14:11:19] !bom [14:11:19] --mwbot-- The byte-order mark (BOM) is a special character added to files by some text editors, most notably, by Notepad. It is unnecessary and breaks PHP code. You should not use Notepad to edit PHP files. Alternatives for Windows include Notepad++, SciTE, EditPlus, and UltraEdit. [14:16:53] Duesentrieb, ok but... which file? [14:18:38] Norsys: any file :) [14:18:54] start with looking at LocalSettings.php, and any file directly included by it. [14:37:06] Duesentrieb, mmh... ok... then "Line Number 4, Column 1:" is refers to a specific file? [14:37:24] no. [14:37:31] that just refers to the generated output [14:37:53] perhaps look at the html source of normal pages [14:38:01] to find out if theytoo start with blank lines [14:38:14] if not, it's specific to feeds, which limits the search [14:38:17] but i doubt it is [14:41:17] http://nl.wikipedia.org/wiki/Gebruiker:Silver_Spoon_Sokpop/test2.js can I somehow ad an if function that will only give the tab when I'm on a user-page? [14:41:59] i had the idea to put an if (gebruikersnaam[0] = "Gebruiker") before addOnloadHook(EditCounter); but that didn't work [14:42:56] ZilverenLepel: you can use wgNamespaceNumber [14:43:14] or wgCanonicalNamespace [14:43:33] before the addOnloadHook ? [14:43:57] not sure if your script is evaluated before or after those get defined... [14:44:04] inside the hook, they will definitly work- [14:44:11] ok, i'll try [14:44:13] thank you :) [14:44:31] if you look at the html of any wiki page, you can see a big block of js vars that get set wit hall kinds of usueful info for scripts [14:45:07] I see, thanx for the info :) I was allready wondering where to get all the predefined vars from :p [15:06:35] http://nl.wikipedia.org/wiki/Gebruiker:Silver_Spoon_Sokpop/test2.js I don't quite understand how to get something in the hook [15:16:03] 03(mod) Database table cleanup (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10roan.kattouw) [15:16:03] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 (10roan.kattouw) [15:17:34] 03(mod) Lift restriction on unregistered page creation in project space - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16642 (10m.s.jones) [15:24:42] 03(ASSIGNED) meta=siteinfo&siprop= namespaces|namespacealiases should return canonical names as well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16672 +comment (10soxred93) [15:28:06] 03(mod) meta=siteinfo&siprop= namespaces|namespacealiases should return canonical names as well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16672 +comment (10innocentkiller) [15:28:31] hello [15:28:52] i have a question. [15:29:38] Duesentrieb, [15:29:45] i use mediawiki in my office and my boss asked me something [15:30:12] In Firefox when I view the source of my page.. I see the code that begin late [15:30:13] [15:30:13] [15:30:15] is there a way to export the version difference pages from the wiki? [15:30:40] export? no. [15:30:54] hm [15:31:00] i'd quite like to have a plain diff... basically, a raw mode on the revision diff view. [15:31:06] but it doesn't exist [15:31:12] because our diff engine directly generates html [15:31:34] you can of course fetch the wikitext of both revisions separately into files, and then diff them [15:31:42] it's not hard, but not very fast :) [15:32:09] yeah. we need to backup the changes from time to time [15:32:30] but only the changes [15:32:56] how could i fetch the text? [15:33:04] action=raw in the url [15:33:11] mhm [15:33:22] but... you want to do differential backups? using text diffs of page versions? [15:33:27] ugh. good lock restoring that [15:33:32] it's a good idea in theory only [15:33:34] don't do it. [15:33:37] !backup [15:33:37] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [15:33:59] nice would be like an excell document with author, date, and changes done [15:34:40] so there is no easy way like the dumpbackup.php [15:35:09] hm okay [15:36:15] many thanks then duesentrieb ! [15:42:00] 03(mod) meta=siteinfo&siprop= namespaces|namespacealiases should return canonical names as well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16672 (10paul.copperman) [15:52:55] 16673 is fishy [16:02:19] Do we know what MediaWiki messages are used the most ? [16:02:36] as in being seen by actual people ? [16:03:29] GerardM-: I'd say the name of the mainpage [16:04:14] I am looking for somethink like the 500 most used messages [16:04:36] I am sure that that is one of them :) [16:05:53] GerardM-: hard to define "most used". most places in the code? visible on most pages? mutiplied by page views? [16:06:29] I am interested in the most views [16:06:51] GerardM-: Maybe http://translatewiki.net/w/i.php?title=Special%3ATranslate&task=view&group=core-mostused&language=en&limit=500 would help [16:07:16] GerardM-: well then, check the messages that are visible ona normal pageview on the main namespace. plus the one on the search page. [16:07:21] that should cover about 95% [16:07:39] sidebar messages, header/footer, search form. [16:08:09] what is seen on the edit form is important too. but if you go by page views, that's not much. [16:08:10] They are the "most wanted" messages, and they were generated in such a way.. but i wonder if there are actual statistics [16:08:24] i don'Ät think so. [16:08:28] that would be quite hard to do. [16:08:39] That is what I expected .. [16:09:15] <^demon> I suppose you could grep for most occurances in the code, but that wouldn't be accurate either. [16:11:02] I believe Domas or someone once generated a list of most-used messages. [16:11:09] You could count memcached hits or something. [16:11:26] Or add random logging to wfMsg(). [16:12:05] nah, you can just add profiling hooks [16:13:41] 03(mod) Special: WantedPages should use simpler query so it can be enabled again - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14786 +comment (10innocentkiller) [16:17:05] Duesentrieb, thank you anyway :) [16:34:39] 03(mod) Special: WantedPages should use simpler query so it can be enabled again - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14786 (10Simetrical+wikibugs) [16:37:56] 03purodha * r44675 10/trunk/extensions/UserWelcome/UserWelcome.i18n.php: The message mp-welcome-needed-points needs PLURAL. [16:53:28] hmmm, two dimensional #language... [16:57:14] Nikerabbit: has betawiki ever considered something like this? http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#ISO_language_template [16:57:28] (translating every language name to every language) [16:58:19] Splarka: yes and no [16:58:27] Splarka: we use cldr, where those should be done [16:58:35] *Splarka wonders what the latin word for Cherokee is [16:58:53] Splarka: there is even extension for it [16:59:02] heh [16:59:06] which extension? [16:59:22] Splarka: surprise: cldr [16:59:44] http://www.mediawiki.org/wiki/Extension:Babel ? [17:00:07] ahh, hmm [17:00:10] it doesn't seem to have a page there [17:00:20] but I wrote it, and it is in use at Betawiki [17:00:30] is it on svn? [17:00:48] yes [17:00:54] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/cldr/ *looks* [17:01:06] nice [17:01:08] how complete is it? [17:01:23] depends on the language, usually very incomplete [17:01:45] hmm [17:01:57] Splarka: so, can you act as an messenger to educate english wikipedians? :o [17:02:00] does it return english (or content language) on failure, or a blank? [17:02:12] Splarka: customisable [17:02:14] (I can't see where either would be appropriate, but it has to do something) [17:02:15] ahh [17:02:19] Splarka: see alse I18nTags extension [17:02:33] hmm [17:02:59] you should make a mediawiki.org page about it anyway, just for something to link uneducated wikipedians to [17:03:29] Splarka: I'd rather delegate that job :/ [17:03:56] haha [17:04:27] no, really [17:04:43] where on beta wiki is the project to fill the LanguageNamesXX.php ? [17:05:14] there isn't [17:05:31] Splarka: it is here: http://unicode.org/cldr/repository_access.html [17:06:00] ahh, you don't bother competing with them... [17:06:15] http://unicode.org/cldr/survey_tool.html here to be exact [17:06:27] Splarka: no, I don't want to complete [17:06:36] Splarka: I want that all improvements are proposed there [17:07:04] *Splarka nods [17:07:16] Okay, so as a reply... [17:09:02] *Splarka hmms [17:09:35] ::There is an extension written by [[betawiki:User:Nike]] integrating [http://unicode.org/cldr/survey_tool.html CLDR] (part of which is a project to translate every ISO 639 language name to every other language name, which is far from complete) into MediaWiki. The extension can be seen in [[svn:trunk/extensions/cldr/|/extensions/cldr/]]. ~~~~ [17:09:54] sound good? [17:11:40] i'm using ConfirmAccount extension. is it possible to activate a notify email for the administrator, if a new user created an account? [17:14:23] It should not be the problem writing something [17:14:52] Wuzur: don't know how :/ [17:15:02] kraut: Looking through it [17:16:19] easier said then it's done [17:16:29] hoped there is any ready-made soloution ;) [17:17:14] hi how i can solve bug installation Notice: Undefined variable: wikiLang? [17:17:31] hi [17:17:40] fdasf [17:17:42] :-S [17:18:14] how i can solve this bug? Notice: Undefined variable: wikiLang  [17:18:18] is on installation [17:19:18] 03soxred93 * r44676 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQuerySiteinfo.php): * (bug 16672) Add canonical parameter to meta=siteinfo&siprop=namespaces|namespacealiases. [17:19:42] 03(FIXED) meta=siteinfo&siprop= namespaces|namespacealiases should return canonical names as well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16672 +comment (10soxred93) [17:19:54] hey, is there some way to override ApiBase for all extensions? [17:21:30] Say I want to add some initialization code that should run for any API call that's defined in an extension. [17:21:56] 03ialex * r44677 10/trunk/phase3/includes/EditPage.php: Use wfGetLangObj() [17:22:25] NetHunt: not sure... does PHP have overloading? and is it OO coded? [17:23:15] faceface, is what OO coded? [17:23:20] Splarka, have a look at this http://www.omegawiki.org/extensions/Wikidata/util/collection.php?collection=450126 [17:24:28] if the API is oo code... could be overloaded... I guess [17:25:19] GerardM-: add that to http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#ISO_language_template ^_^ [17:26:49] 03ialex * r44678 10/trunk/phase3/RELEASE-NOTES: und -> and ;) [17:29:34] kraut: Ping. http://rafb.net/p/6SaJ7933.html is hacky as it uses not i18n and is untested [17:30:12] (add this to LocalSettings.php) [17:30:38] <^demon> Wuzur: Won't work. [17:30:51] Thought so [17:31:04] <^demon> $user isn't a string, it's the User object of the newly created user. [17:31:19] :( [17:31:34] is there something I can extract from? [17:32:24] <^demon> You'd need to use $user->getName() [17:33:12] thanks [17:33:35] kraut: http://rafb.net/p/v0Bd2b53.html new version [17:35:52] kraut: Forgot to add a } after the last line [17:40:53] kraut: and corrected some more mistakes: http://rafb.net/p/uzVOhL63.html [17:49:07] http://leuksman.com/log/2008/12/16/code-review-tuesdays/ [17:52:18] wheeeee [17:55:04] Wuzur: thanks [17:55:28] Wuzur: where do i need to add that? [17:56:32] kraut: Ommiting the first line ( is there a way to print a wiki page as shown (with a custom skin) rather than having it render the printable view? [18:01:06] By which I mean as rendered in a browser [18:01:38] http://www.wikidot.com/doc:listpages-module The @Url isn't very clear for me [18:01:59] in your custom skin remove the [18:02:25] (unless you just want to do it once) [18:03:30] Splarka: and if I just wanted to do it once? [18:04:11] print screen, paste to graphics program? [18:04:32] remove it and put it in there a agin *hide'n'away* [18:04:33] or save the page locally, add and remove the media="print" line, and open it as file:// ? [18:04:46] ha [18:04:47] thanks [18:04:51] or maybe your brwoser has a way to ignore media=print when printing? [18:05:20] what browser are you using, frieze? [18:05:28] Wuzur: i think i understood that, thanks a lot [18:05:39] Splarka: firefox, but I have safari as well [18:05:46] kraut: Did it work? [18:06:37] Wuzur: no [18:06:42] :/ [18:07:14] Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /var/www/wiki_denog_de/LocalSettings.php on line 155 [18:07:38] is it problem, if i added it at the bottom of it? [18:08:04] kraut: No. Just add a ; at the end of the line global $wgEmergencyContact [18:08:29] there is one! [18:08:29] # $to = new MailAddress( $wgEmergencyContact ); [18:08:39] kraut: The line before that [18:08:45] # global $wgEmergencyContact [18:08:46] yep [18:08:49] that's it [18:09:25] 03ialex * r44679 10/trunk/extensions/UserWelcome/UserWelcome.php: Per nikerabbit: fix for r44675: use wfMsgExt() rather than wfMsg() so that plural is correctly parsed [18:09:34] Wuzur: looks fine, i'll test it [18:13:43] Wuzur: Warning: Missing argument 2 for eMailAdmin() in /var/www/wiki_denog_de/LocalSettings.php on line 153 [18:13:56] and the email will only be sent, after i confirmed that account [18:14:07] but i need a notice, that someone created a pending account [18:18:32] 03purodha * r44680 10/trunk/extensions/CategoryWatch/ (CategoryWatch.i18n.php CategoryWatch.php): Date an time separated in the e-mail [18:29:34] 03(NEW) Broken revisions with rev_page=0 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16674 15enhancement; normal; Wikimedia: Site requests; (brion) [18:29:35] 03(mod) Database table cleanup (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10brion) [18:31:37] was there a maintenance script to clear the whole wiki cache? [18:31:46] 03(mod) Broken revisions with rev_page=0 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16674 (10brion) [18:35:30] piksi: just truncate it [18:35:45] or set the timestampt [18:36:01] 03(mod) Run namespaceDupes.php for French Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16666 +comment (10raimond.spekking) [18:36:04] 03(mod) Database table cleanup (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10raimond.spekking) [18:36:08] 03(mod) Special: Allpages for namespace 0 sometimes shows project namespace pages ( namespaceDupes.php?) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16514 (10raimond.spekking) [18:36:10] 03(mod) Database table cleanup (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16660 (10raimond.spekking) [18:40:11] sorry for this question of infantile simplicity, but: what extension makes the kind of category list you see here as subcategories: http://www.mediawiki.org/wiki/Category:Top_level [18:41:09] onesandzeros: http://www.mediawiki.org/wiki/Template:Languages [18:41:17] and with [18:41:24] !e ParserFunctions [18:41:24] --mwbot-- http://www.mediawiki.org/wiki/Extension:ParserFunctions [18:41:25] !e CategoryTree | onesandzeros [18:41:25] --mwbot-- onesandzeros: http://www.mediawiki.org/wiki/Extension:CategoryTree [18:41:40] heheh, thanks [18:43:56] 03brion * r44681 10/trunk/phase3/includes/ (DefaultSettings.php User.php): [18:43:56] Throw in quick hack $wgRateLimitsExcludedIPs so we don't have to do a live hack [18:43:56] every time somebody runs an exciting event where they're going to register [18:43:56] a lot of accounts. [18:43:56] Should be killed and replaced with an on-wiki system for approvals or temporary lifting of limits as a sort of anti-block. [18:45:43] 03(mod) SVGZ (gzipped SVG) support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4947 (10steveb05+wikibugs) [18:46:43] can anyone confirm that the 1.12.2 tarball is incomplete? [18:47:07] bunk: can you clarify what you mean by incomplete? [18:47:17] (it seems to miss files, and the size looks too small compared to 1.12.1) [18:48:26] e.g. languages/Language.php seems to be requiered but missing [18:48:28] languages/classes seems to be missing [18:49:37] yeah, that looks not so hot [18:54:13] http://www.wikidot.com/doc:listpages-module The @Url isn't very clear for me [18:56:32] 03(NEW) Overwriting global blocks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16675 normal; normal; MediaWiki extensions: GlobalBlocking; (mikelifeguard) [19:02:54] brion: Verdict on bug 13209? [19:04:20] brion: Also, how are those schema changes I've been asking about for as long as I can remember (bug 16012)? [19:04:32] no schema changes until schema change script works [19:05:34] I know that, but my point is that you said the same thing 3 months ago [19:05:47] Doesn't seem to be much progress there [19:06:47] how can I have multiple wikis using one codebase on the same server? [19:07:06] !farm [19:07:06] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [19:07:53] RoanKattouw: Thanks [19:08:43] RoanKattouw: what was the last URL, it got clipped off [19:08:51] . [19:09:29] oops, wrong room. [19:13:01] RoanKattouw: if you wanna bug tim, go ahead :) [19:13:25] Alright, here I go [19:13:40] Meh: CTCP time reply “Wed Dec 17 06:13:31” from TimStarling [19:14:23] brion: shall I open a bug for the wrong tarball, or is it enough that I mentioned it here? [19:14:45] bunk: i announced it's broken and mailed tim to fix and re-release when he gets in [19:14:59] thanks :) [19:15:29] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 normal->highest; +comment (10brion) [19:17:54] brion: Thanks for the bump, that'll probably speed up Tim more than my bugging would've done [19:18:11] *Splarka sends brion to Image->File purgatory: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#File:_vs._Image: (actually rather tame) [19:18:25] "wahh, why do we need File: Media: and Image: wahh" [19:18:42] Devs, need a message done [19:18:47] "The requested username is already in taken in the unified login system. Please choose a different name. " should be [19:18:56] "The requested username is already taken in the unified login system. Please choose a different name." [19:19:23] I'll slap in a BZ request. [19:20:55] 03aaron * r44682 10/trunk/phase3/includes/ (DefaultSettings.php LogEventsList.php): [19:20:55] *Add missing 'reblock' check and message setting [19:20:55] *Move right checks to typeAction to make the code prettier [19:22:50] 03(NEW) SUL encountered message grammar - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16676 15enhancement; normal; MediaWiki: User login/settings; (asenine) [19:27:42] 03(FIXED) SUL encountered message grammar - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16676 +comment (10nakonwiki) [19:28:21] Neurolysis: http://en.wikipedia.org/w/index.php?title=MediaWiki%3ACentralauth-account-exists&diff=258409753&oldid=253333674 [19:30:12] nakon: wow, i can actually get things done now [19:30:15] thanks [19:30:44] np [19:31:31] 03(NEW) Media: view URLs should HTTP-redirect to canonical File: namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16677 minor; normal; MediaWiki: Images; (brion) [19:32:14] 03(FIXED) Media: in url's - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5551 +comment (10brion) [19:32:19] yah, that is odd they don't [19:33:22] brion: did you see the horrible test page at testwiki:16474 ? heh [19:35:51] RoanKattouw: do you remember why the API userrights module was deleted in March? [19:36:23] MrZ-man|lazin: I believe it was because Brion didn't see the point, and I didn't really either [19:41:48] 03(NEW) localurl/fullurl for Media: titles should return the File: title's path - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16678 15enhancement; normal; MediaWiki: Page rendering; (brion) [19:42:11] *Splarka guesses so [19:44:24] hi there [19:44:34] hello [19:44:42] anyone could help me please? my mediawiki installation only display a page [19:44:51] a blank page? [19:44:53] if i click on history or edit, it says 'nothing found' [19:45:03] nakon: no, the first page that I've created [19:45:33] ycy_: 404? [19:45:35] so your main page shows up but any other page gives a 404 not found error? [19:45:46] yes [19:46:49] nakon: i've pm'ed you [19:47:08] checking [19:50:28] $wgEnableUploads = true; But users cannot upload images (it's a drupal style multiple wiki site and they just cannot upload on this one wiki) [19:50:35] Any idea what might be wrong? [19:51:30] !upload [19:51:30] --mwbot-- File uploads are disabled per default, set $wgEnableUploads=true to enable it. See for configuration details, and for using uploaded images and other files. [19:59:25] brion, is this a Media: bug too? heh-> http://test.wikipedia.org/w/api.php?action=query&prop=links&titles=Flibble [19:59:49] (see https://bugzilla.wikimedia.org/show_bug.cgi?id=16162 for details) [19:59:51] 03mrzman * r44683 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQuerySiteinfo.php): Fix for r44676, fix E_NOTICE from having no canonical name associated with a namespace (ns 0), move RELEASE-NOTES entry to API section and clarify. [20:00:01] Splarka: Ah, the inconsistent registration of negative namespace links [20:00:08] yep [20:00:16] 03ialex * r44684 10/trunk/extensions/I18nTags/I18nTags.php: Added link to http://www.mediawiki.org/wiki/Extension:I18nTags in extension's credits [20:00:20] but as brion is on a media: hunt now... [20:00:27] ns--1 makes some sense, of course [20:00:30] but ns--2 not so much [20:06:00] 03(mod) SVGZ (gzipped SVG) support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4947 (10brion) [20:15:39] ialex: thanks [20:16:58] np :) [20:35:43] 03aaron * r44685 10/trunk/extensions/FlaggedRevs/ (2 files in 2 dirs): u/sigma should go in a better place [20:43:15] on the first day of christmas my true love (brion) sent to me. a brand new media-wiii-kiii (1.14) [20:43:32] maybe :) [20:44:26] hah [20:44:43] buzz_: Don't count on it. Tim does the release stuff, and I'm pretty sure his wife (whom he married a few weeks ago) won't let him work on Christmas Day ;) [20:44:57] what ? how dare she ;-) [20:45:16] 03aaron * r44686 10/trunk/phase3/skins/Standard.php: (bug 16648) 'FlaggedRevs #mw-data-after-content overflows quickbar w/ standard classic skin' [20:45:20] 03(FIXED) FlaggedRevs #mw-data-after-content overflows quickbar w/ standard classic skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16648 +comment (10JSchulz_4587) [20:46:31] Of course since she runs Wikia, who's forbidding whom is an interesting question (assuming they don't spend Christmas staring at their monitors) [20:47:31] ive got to cook for 11.. i told the family they are not welcome and stop coming over. but they won't listen [20:49:08] RoanKattouw, and i assume you won't be coding up on the api on xmas day too ;-) [20:50:07] True. I'll be in Sweden for the holidays, so I won't be replying to any bugs or mailing list posts or stuff like taht [20:51:58] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 (10roan.kattouw) [20:52:00] 03(mod) Inconsistent indices on pagelinks, imagelinks, templatelinks tables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16645 (10roan.kattouw) [20:52:17] RoanKattouw, ill save em up for after ;-) [20:52:40] Ah [20:52:47] I just WHOISed you, I recognize that name :P [20:52:59] :) [20:53:00] Anyway, I'll deal with the backlog when I get back [20:53:14] Same thing happens in the summer [20:53:15] api is virtual bugfree(tm) anyway [20:53:23] virtually [20:53:29] I wouldn't be too sure of that [20:53:46] There are still filesorting queries in there, which aren't causing major issues right now but need to be fixed [20:56:59] 03(mod) Deleting of pages with high number of revisions makes server cry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11402 (10JSchulz_4587) [20:57:00] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 (10JSchulz_4587) [20:57:05] 03(mod) The logging table needs a log_user_text field so that events from anonymous users can be logged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3732 (10JSchulz_4587) [20:57:07] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 (10JSchulz_4587) [20:58:09] Hmm, we probably want to attach patches to all of the bugs tracked by bug 16012 [20:59:14] So that when that script is finally done, all those schema changes can be applied at once [21:01:00] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10JSchulz_4587) [21:01:01] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 (10JSchulz_4587) [21:01:29] Cool! I believe that's the first bug I ever reported (12701) [21:02:48] No patch on it though :( [21:03:20] :) [21:06:00] I think it should just link to history and be done with it, heh [21:06:42] *werdnum invades. [21:07:01] *Splarka puts werdna in 4 week quarrantine [21:07:15] 03(mod) Show the active users mentioned in Special:Statistics - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15456 (10JSchulz_4587) [21:07:16] 03(mod) Schema change rotation script (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16012 (10JSchulz_4587) [21:08:01] hello everyone. I'm looking at CategoryTree, but I need it for MediaWiki 1.10 if possible. I see CategoryTree versions back only to 1.11. Am I out of luck? [21:08:48] onesandzeros: http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_10_4/extensions/CategoryTree/ [21:09:14] onesandzeros: Upgrading to one of the versions mentioned in the topic is recommended [21:09:23] RoanKattouw: Thanks [21:10:26] RoanKattouw: so, I have backups of the mysql db, and I haven't modified anything in LocalSettings.php except the logo image. All my other settings are in the db, right? [21:10:36] Yes [21:10:38] !upgrade [21:10:38] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [21:10:44] RoanKattouw: thanks [21:11:09] FYI, you don't need to upgrade incrementally, you can upgrade to 1.13.3 rightaway [21:11:15] Don't forget to upgrade your extensions too [21:12:02] Roan/Aaron: https://bugzilla.wikimedia.org/show_bug.cgi?id=15824 perhaps this should be dependant on 16012, and a patch for category_random index added. [21:12:39] 03(mod) Refactor upload code to split backend and interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14925 (10roan.kattouw) [21:13:37] it is a dupe of 2170 though, sorta [21:13:46] Splarka: Possibly. You'd have to add the category_random field with index and write all the code that does the randomness, and write a maintenance script that fills cat_random (oh and keep filling cat_random for new entries) [21:13:54] So it's not a trivial patch [21:14:48] *Splarka shrugs [21:14:57] it keeps getting requested [21:15:18] Not saying it shouldn't happen, just pointing out it isn't a 5-minute job [21:16:14] hmm [21:16:46] could cat_random be the same as page_random for a given page? same 0-1 number that is, shouldn't matter [21:16:57] Splarka: How about orphans? [21:16:59] (yes yes, still needs an index) [21:17:05] Categories need not have associated pages [21:17:42] why would orphans care? they're too busy begging for gruel [21:19:08] bbl [21:36:21] Hey guys :) I just want to comment out a line if the user is not sysop... I guess I can do a test on global $wgUser , but I don't know on what member function of it.. any trick? [21:37:30] Max_-: $wgUser->isAllowed( 'protect' ) [21:38:19] 03(mod) Rename the "Image" namespace to "File" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=44 +comment (10mickewiki) [21:39:24] is the new 13.3 security update that important? sounds a bit hardcore but on the other hand if it takes an external apple guy to notice... ? [21:39:35] 03(NEW) Commons default search namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16679 trivial; normal; Wikimedia: Site requests; (matthew.britton) [21:40:03] All security updates are important, that's why they release the security update instead of waiting for the next version [21:41:09] 03(mod) Commons default search namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16679 +shell (10raimond.spekking) [21:56:58] 03brion * r44687 10/trunk/phase3/includes/DefaultSettings.php: Update $wgSVGConverters default command lines to send both width and height to ImageMagick convert [22:06:45] 03siebrand * r44688 10/trunk/phase3/languages/messages/ (65 files): Localisation updates for core messages from Betawiki (2008-12-16 22:56 CET) [22:08:31] 03aaron * r44689 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.class.php specialpages/RatingHistory_body.php): Added basic function for detailed output...more to come [22:08:49] I would like to link to different pages on my wiki togather. should i consider the second page as an external link? eg i write an article bla bla (continue: url). how can i do it [22:09:14] i would like to link two* different [22:12:08] Is there a way I can get the results of whatlinkshere or search as an array of pagenames? [22:12:34] Im trying to decipher the source code to those special pages and I think it's all stuck together [22:16:10] 03siebrand * r44690 10/trunk/extensions/ (203 files in 167 dirs): Localisation updates for extension messages from Betawiki (2008-12-16 22:56 CET) [22:19:50] sphenex: what exactly do you want to do? [22:24:06] Subfader I need a list of pages with a certain template so I can parse bits of that template out and present it in a list [22:26:32] no idea. guess you checked the extensions [22:26:54] A bit, I'll have to do some more digging [22:27:05] I wanted to see if the search was exposed in the API first [22:28:49] sprax_: look at the DPL extension [22:30:00] a monster of an extension :) [22:44:07] call_user_func($GLOBAL['WebService'][$action]['Function'], array('html', $content, 'yyy', $_REQUEST)) [22:44:40] function showLoggingIn($argFormat, $rtnResult, $argMessage = '', $argParam = '' ) [22:45:14] and yet I get this error on the browser: Warning: Missing argument 2 for showLoggingIn() in /var/www/services-1.0a/authentication.php on line 6 [22:45:37] Add getGeneralShortDesc() and the like to avoid E_STRICT instead [22:45:38] wtf? [22:46:01] The $rtnResult does not pass into the function no matter what I put there.. [22:46:18] AaronSchulz: i'm not sure what's gong on there... what's a "general" long description? [22:46:25] kinda confusing to me :D [22:46:43] the one used when a file has no handler class [22:47:31] wouldn't that just be the implementation on the default handler? [22:49:03] oh god, there's no default handler? things can not have handlers *sob* [22:49:22] Hey all. I am trying to get a thumbnail image with caption and have the thumbnail image to link externally. What is described here is not working http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Link [22:50:38] ugh [22:50:46] ok i guess there's no good clean way to do this :) [22:50:48] so yeah that'll do [22:50:59] *werdnum returns. [22:51:16] code review is Brion's favourite part of the job. [22:51:25] so says werdnum [22:51:51] you know i live for it [22:51:53] he loves sitting down and trying to figure out wtf other people are doing just by looking at their code. [22:52:29] I have to go and see if the 15 people who replied on craigslist are serial killers or not. [22:53:04] *werdnum restarts X [22:54:25] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44637#c934 [22:55:05] remember werdna|away, statistically most serial killers are white males under 30 [22:56:37] brion-codereview: thank god, you're now out of the statistical majority [22:56:49] oldie. [22:56:54] 03siebrand * r44691 10/trunk/phase3/languages/messages/ (15 files): Localisation updates from Betawiki [22:57:49] \o/ [22:57:59] now i can go on a spree and nobody'll expect it [22:58:05] woo! [22:58:25] Most of them are unmarried, too. [22:58:36] You're getting married soon, right? [22:58:41] brion [22:58:44] how are you today? [22:59:12] workin on it :) [22:59:27] do you think you can redirect http://upload.wikimedia.org/fundraising/2007/meter-en.png to the current meter? [22:59:48] shouldn't be to hard for a person with your abilities :) [22:59:57] think of it as a birthday gift to me [23:01:07] nsputnik: [[Image:Pic.jpg|link=http://google.com/]] works fine [23:01:16] NOT [23:02:17] brion-codereview / AaronSchulz: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/43283 is a commit by AaronSchulz with a fixme by brion-codereview without a comment. [23:02:18] hmh never seen that before anyway [23:02:19] hmm [23:02:19] that means it is pending methinks [23:02:19] ah yeah, that's not currently in use right [23:02:24] http://www.mediawiki.org/wiki/Extension:Icon can do [23:03:16] brion-codereview it actualy is in use [23:03:16] I am using it for example on a number of templates [23:03:16] make sure the bug for it is set to block bug 16012 (if i got the # right -- the schema switch script) [23:03:16] White_Cat: pretty sure templates can't use internal database schema indices [23:03:17] brion-codereview sure they can [23:03:18] one sec [23:03:18] Subfader: I got it to work by editing and previewing it on mediawiki.org but not on my wiki, I think it is 1.6.10 [23:03:31] would be {{#icon:Logo.jpg|Info|240|http://google.com}} [23:03:50] brion-codereview I am using [23:03:54] and [23:04:13] cool, thanks, Subfader :) [23:04:13] Just a little technical interrogation here... I'm about to configure my Lockdown extension and in the examples it goes like this $wgNamespacePermissionLockdown[NS_PRIVATE]['read'] = array('user'); If I want to specify the Special namespace instead of NS_PRIVATE, is that NS_SPECIAL or Special or 'Special' .. ? [23:04:13] these images no longer work which is a shame [23:04:44] brion-codereview I want to help the begathon on my userpages on multiple wikis [23:05:04] its a pain to update that many pages on a yearly basis [23:05:10] if work every year, I'd be a happy camper [23:05:24] not that I would camp on your lawn [23:05:41] you wouldn't want that [23:05:45] White_Cat: no, it doesn't work compatibly. [23:06:19] nsputnik: Extension ICon requires MW 1.10+ but test it [23:06:45] It looks the same as {{#img: image=image-page-name [|page=page-to-link-to] [|alt=alternate-text] [|height=height-parameter] [|width=width-parameter] [|border=border-parameter] [|title=title-parameter] [|default-image]}} which i am trying to use with image thumbnail caption http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Type [23:06:46] brion-codereview used to spawn the WMF logo [23:07:01] and the bar [23:07:21] White_Cat: those were used for a specific previous sitenotice and are not compatible with anything currently in use [23:07:37] brion-codereview is it completely imposible to make those work? [23:07:47] lemme just turn em off since they're not useful currently [23:08:17] brion-codereview that would be disapointing since I bleieve you can do anything... even back flips... [23:08:36] barrel rolls? [23:08:52] Subfader: sorry, should be without the [], like this {{#img: image=image-page-name|page=page-to-link-to|alt=alternate-text|height=height-parameter|width=width-parameter|border=border-parameter|title=title-parameter|default-image]}} [23:09:17] brion-codereview what does the current site notice use? [23:09:24] White_Cat: this year's progress bar is not a static image, thus cannot be referenced as a static image [23:09:46] brion-codereview it worked last year and it was adynamic image [23:09:52] it updated with the donations [23:10:05] updated TO A STATIC FILE [23:10:29] oh [23:10:30] how can I use this years bar? [23:10:34] not very easily [23:10:38] nsputnik: no idea. i'm off. ask some of the pro's here [23:10:50] i'm putting you on /ignore since i'm trying to do code review [23:11:00] brion fine [23:11:24] 03siebrand * r44692 10/trunk/extensions/Translate/groups/MediaWikiExtensions.php: Remove FixedImage as WMF extension [23:11:33] every time you ignore me, god kills a wikimedia employee [23:11:40] lol [23:12:26] anyone knows about referencing to the special namespace? (my little question stated above) [23:12:40] NS_SPECIAL [23:12:49] But it may or may not work. [23:12:55] Reedy do you think you can help me? [23:13:22] thanks [23:13:22] okay, I'll try... [23:13:23] White_Cat, with?? [23:13:23] Reedy: Barrel rolls. :D [23:13:23] White_Cat: Generally, people get annoyed if you address them directly for no reason. [23:13:41] MZMcBride, we should start brion versions of the chuck norris quotes ;) [23:13:58] If you ask for general help, and nobody answers, it means a) They don't want to help you; or b) They can't help you. [23:14:25] If they don't want to help you, you will piss them off. [23:14:25] If they can't help you, you're wasting your time AND their time. [23:14:26] Reedy oh that thing [23:14:45] I thought you were following :P [23:15:20] + $this->skin->link( SpecialPage::getTitleFor( 'BlockIP/' . htmlspecialchars( $row->log_title ) ), [23:16:29] this looks wrong [23:16:29] That is wrong [23:16:29] Should be SpecialPage::getTitleFor( 'BlockIP', $row->log_title ); [23:16:30] brion-codereview: want me to fix it? [23:17:18] werdnum: sure :D [23:17:29] Which revision? [23:17:48] http://shortstack.local/trunk/index.php/Special:Block/%26quot;%26quot;%C3%A9%C3%A9%C3%A9 for username '"""ééé' :) [23:17:49] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44657 [23:18:08] okay, I'll fix it up. [23:18:26] thx :D [23:18:45] *werdnum has very little to do except solicit Abuse Filter testers, feel free to send me the occasional thing to do. [23:20:21] <|X|> werdnum, how close is it to being released? [23:23:33] |X|: You mean when it will be active on Wikimedia. [23:23:43] <|X|> Yes [23:23:43] I don't know for sure, but basically when Brion's happy with it. [23:24:08] Brion's a bit busy to be looking at it, at the moment, though. So hopefully it will be done in time for me to pay my rent :P [23:24:35] *|X| wonders why the UserMerge extension is not installed [23:26:16] Because nobody's had a look at it, probably. [23:26:26] <|X|> Maybe I should bring it up on the Village Pump [23:26:39] What does it *do*? [23:28:37] <|X|> It merges user accounts [23:29:05] Okay, why do we need it? [23:29:06] What problems does it solve? [23:29:16] <|X|> On the Changing Username and ACC boards, there are constant requests to merge accounts, which cannot be done [23:30:11] The mere existence of requests does not validate the existence of an actual problem. [23:30:17] 03(mod) SVGZ (gzipped SVG) support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4947 (10Simetrical+wikibugs) [23:30:59] 03siebrand * r44693 10/trunk/wap/lang/nl/ (keywords.php phone_phrases.php translations.php): Fixes for Dutch [23:34:52] + $wgOut->addHTML( wfMsgExt( 'undeletepagetext', array( 'parseinline' ), $wgLang->formatNum( $result->numRows() ) ) ); [23:34:54] o_O [23:35:04] - $wgOut->addWikiMsg( "undeletepagetext" ); [23:35:09] ^ just add the param here, surely? [23:35:21] That would be far too sensible. [23:35:42] Your life would be far too easy if we did sensible things like that. [23:37:53] ah good someone already did it :D [23:38:10] I'll get to 44657 [23:38:17] just waiting for my working copy to update [23:38:27] it spontaneously decided to do git garbage collection. [23:39:20] garbage collection... it's great except for the 12 hours when you can't throw your trash away in the back because the trash cans are out front waiting to be picked up [23:39:39] lol, 'trash'. [23:39:45] *werdnum lols @ americanisms. [23:39:56] mmm... GC thread [23:40:12] I have to put on my broadest Australian accent and say "G'day" when I arrive in the office next year. [23:40:13] mmm... threaded wiki job que [23:40:36] http://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki&offset=44594 [23:40:38] *AaronSchulz hmms [23:40:38] I have locally changed the userOptions.inc script to take parameters enclosed in ' (e.g. --old '0'). Might this be useful for others too? [23:43:34] roli: sounds like that would break if you really want ' in your params? [23:43:45] also the shell should already be handling such quoting [23:45:04] http://en.wikiquote.org/wiki/?curid=89679 <- that's werdnum [23:46:14] brion-codereview: Go back to your code review, you bloody pelican. [23:46:14] I wanted to change searchNs2 to 1. Doesnt work when the current value is '' (say: Not set to 0 or 1). [23:46:15] *werdnum hides. [23:47:01] Is there another way to set the 'old' parameter to 'nothing'? [23:47:46] roli: can you show me the command line you're using? (also, are you on windows or unix server?) [23:48:19] Windows Server 2008. [23:48:31] General question you guys -- why isn't parsemag done by default with wfMsg()? [23:48:43] seems to me that like 99% of wfMsgExt()s could be dropped with that change :) [23:49:02] brion-codereview, because it's an ancient and fundamentally broken interface that accreted over time rather than anyone actually designing it? [23:49:11] hehe [23:49:22] php userOptions.php searchNs2 --old 0 --new 1 [23:49:23] brion-codereview: DON'T we do parsemag with wfMsg()? [23:49:30] where parsemag = 'parse magic words'. [23:49:41] See, and nobody even knows what it means. [23:50:08] I think Nikerabbit was working on a new interface but didn't finish, or it got reverted or something. [23:50:17] ^_^ but you can bet your right pinky that an extension or some piece of code uses it... heh [23:50:32] Wrappers, my friend, wrappers. [23:50:35] *werdnum bets Dantman|Work's right pinky. [23:50:44] Yours, not his. [23:50:48] He didn't say you could bet his. [23:51:05] [werdnumPinky, dantmanPinky] = [dantmanPinky, werdnumPinky] [23:51:47] Simetrical: he didn't say I could exclusively bet his pinky. [23:51:53] Only that it was possible to bet mine. [23:51:59] I didn't see a material difference. [23:52:20] It's accepted convention that you can't put things belonging to other people up for bet without their explicit permission. [23:52:25] This whole "property rights" thing, you know. [23:52:28] *werdnum shrugs. [23:52:32] IP! [23:52:57] *Dantman|Work encrypts his pinky [23:53:23] whoops, you accidentallhy did so with your private key. [23:54:00] me throws werdnum into the md5 bin [23:55:24] Mmm... Array.diff and Array.intersect [23:56:13] woo, git gc has finished [23:57:34] 03brion * r44694 10/trunk/phase3/includes/ (Namespace.php api/ApiQuerySiteinfo.php): [23:57:34] Cleanup r44683 -- fix E_NOTICE bug in MWNamespace::getCanonicalName() instead of replicating the function. :) [23:57:35] (Also note -- using MWNamespace instead of Namespace for PHP 5.3 compat.)