[00:00:03] Simetrical: what's the pay like? [00:00:15] Splarka, won't work, remember? Domas is already employed by Sun. :) [00:00:20] 03brion * r36964 10/trunk/extensions/AntiSpoof/ (AntiSpoof.i18n.php AntiSpoof.php SpoofUser.php): [00:00:20] Revert r36851 for now (bug 12232 - Return more than one result on attempted spoofing.) [00:00:20] This changes the $2 parameter to antispoof-name-conflict from a single plaintext username to a comma-separated list of usernames. [00:00:20] As a result, customized text such as at en.wikipedia.org which uses the username value in links would break. [00:00:21] exobuzz, I don't know, I didn't apply. [00:00:25] It might be best to break the message up into new, smaller pieces, and build the list out explicitly. [00:00:31] he thinks the Sun shines out of his Ascii [00:00:42] That's getting m:Bashed. [00:00:48] stop reverting all the stuff i just made live on my website! [00:00:50] :) [00:01:03] exobuzz, see, only upgrade to versions Wikipedia's at. [00:01:03] *OverlordQ punches Simetrical for breaking Article.php [00:01:10] OverlordQ, when? [00:01:17] ^^ [00:01:27] flyingparchment: yeah that guy is me right now :) [00:01:37] OverlordQ, ? [00:01:52] https://bugzilla.wikimedia.org/show_bug.cgi?id=14708 [00:02:25] *Alexfusco5 wants to see the one day brion misses a fatal error and puts that code live on WM (That would be very funny) [00:02:32] XD [00:02:40] Alexfusco5: shit that happens like twice a week [00:02:42] Alexfusco5, you mean to imply that hasn't happened repeatedly? [00:02:54] Simetrical: do you know why populate parent id (populateParentId.inc) run from 1.12 to 1.13 ? [00:03:06] Simetrical: why it needs to go through all revisions [00:03:11] brion: not test.wikipedia.org the actual content wiki's [00:03:33] exobuzz, um, because otherwise the rev_parent_id column would be empty when it's supposed to contain the id of the parent revision? [00:03:35] *Alexfusco5 hasn't seen any fatal errors [00:03:40] Alexfusco5, they're fixed quickly. [00:03:46] Alexfusco5: display_errors is off on wikimedia [00:03:51] you just get a white page [00:03:57] oh [00:03:58] (we all <3 the white page) [00:03:59] flyingparchment, now you apparently get a pretty error page. [00:04:05] *Alexfusco5 has seen that then [00:04:11] Although Tim had to write a *PHP extension* to do that. [00:04:15] but you can get white pages for other reasons, too [00:04:16] Simetrical: ok so its a new field? why a parent id field now ? linked with the categories stuff ? [00:04:19] Instead of being able to, I don't know, catch an exception or something like that. [00:04:34] exobuzz, I don't know, I have no idea what the purpose is supposed to be. [00:04:45] flyingparchment: it's cause php is racist [00:04:46] But I don't recommend skipping it, because that will break *something* at some point. [00:04:50] they refuse to create black pages [00:05:00] brion, no, it's the HTML default stylesheets that are racist. [00:05:11] They should have background: black;. [00:05:23] http://en.wikipedia.org/putan&inantlinktogeterrorpage [00:05:28] And keep color: black;, also, because it's only fair. [00:05:30] the pink usericon is racist [00:05:49] the user icon dude's skin is yellow [00:05:51] Splarka, maybe it could be changed for African user languages. [00:05:55] like homer simpson [00:06:16] or at least kinda orange [00:06:32] Anyway, OverlordQ, the PostgreSQL abstraction layer should support IGNORE somehow. I'm pretty sure it's used in a bunch of places. [00:06:45] what's more, he/she has no limbs, so he/she is a shining example of a disabled person [00:06:51] http://dev.plone.org/plone/log/CMFPlone/trunk/skins/plone_images/user.gif?rev=2888 [00:06:58] that should inspire anybody [00:07:07] OverlordQ, don't blame me. It's not like I used hardcoded query( "INSERT IGNORE ..." ). I passed the IGNORE option to the abstraction layer, it can handle it how it wants. [00:07:08] brion: there was a serious discussion about user.gif being racist on en.wp somewhere [00:07:15] VP/P [00:07:28] yeah i remember [00:07:31] *shakes head* [00:07:50] *Splarka is inspired to chop off his limbs and dye skin orange [00:07:52] Simetrical: yes it ignores it [00:08:07] OverlordQ, pgsql appears to just temporarily set error_reporting to 0 if IGNORE is specified. [00:08:11] But it thusly kills the transaction [00:08:12] SQL ERROR (ignored): ERROR: duplicate key value violates unique constraint "category_title" [00:08:13] *darkcode thought the new parent id field might of been wikibooks related, wishful thinking maybe ;p [00:08:20] Hmm. [00:08:26] Well, talk to G_SabinoMullane about that. [00:08:42] erm [00:08:47] Simetrical: that sounds pretty bad [00:08:55] wouldn't it, say, fail to insert the rest of the items in the set? [00:08:59] insert ignore is pretty bad [00:09:03] stupid mysql extensions [00:09:05] brion, so what should we do? [00:09:10] Not use IGNORE? [00:09:13] *Simetrical checks how many places it's used [00:09:18] a lot :D [00:09:28] we could fix pg ;) [00:09:51] You can't blame me for using functionality exposed by the abstraction layer, if that doesn't work then don't allow the IGNORE option. [00:10:01] brion: Or you could change to only support MySQL ;-) [00:10:10] you could implement it manually by batching it into a sub-transaction or something which inserts each row individually [00:10:18] really i don't care about pg, so whatev :) [00:10:39] It seems like it's only used in Category.php, Profiler.php, LocalFile.php, ICRepo.php, BagOStuff.php, User.php, WatchedItem.php, . . . [00:10:41] oh definately. We should always fix/add new stuff to the database thingies (not sure what they're called) whenever you want to use some structure that isn't supported across all of them or some format that implements kind of weird [00:10:56] could use someone else ORM [00:11:32] In fact it's used in 30 files. [00:13:26] i saw a really nice replace icon set for the mediawiki edit page the other day, and i cant find it now. im sure it was on mediawiki.org - anyone know what it could have been ? [00:13:31] replacement [00:13:34] insert ignore can be emulated by manually checking for the presence of things before insertion, or by manually removing conflicting entries ahead of time. but eh [00:13:48] brion, kind of stinks, yeah. [00:13:55] It's useful functionality, though. [00:13:58] yep [00:14:00] Why don't more DBMSes have it? [00:15:09] you can workaround IGNORE on pgsql by creating a "rule" or so i read [00:15:28] exobuzz: that requires you actually know what you're putting into the database [00:15:35] instead of just randomly putting all kinds of crap in it like we do [00:15:39] flyingparchment: hmm [00:16:01] lol [00:16:34] although I suppose the PG 'driver' could take the queries which specify IGNORE and wrap them in a stored procedure that checks for existance first [00:17:14] flyingparchment: so even a per table rule wouldnt work ? [00:17:15] OverlordQ, for every row individually? [00:17:43] *shrug* [00:20:33] or just not use IGNORE since it's horribly MySQL specific. [00:20:53] Maybe, but it's also quite useful. [00:21:03] Hmm. [00:21:06] gotta run [00:21:10] <^demon> Simetrical: Babel is useful too ;-) [00:21:10] will poke at the rest laterz [00:21:11] see ya [00:21:22] ^demon, shush. [00:21:36] In the case of Category.php, an equivalent of INSERT ... ON DUPLICATE KEY UPDATE would work too, but I don't know if other DBMSes would support anything like that. [00:21:50] If someone would like to propose how to rewrite what I did in a way that's more portable, feel free. [00:22:20] anyone know of some replacement icons for the "edit page" on mediawiki. im sure i saw some really nice ones the other day and i cant for the life of me remember where (or relocate them) [00:23:08] exo: check the categories on commons? [00:24:23] Splarka: im there. but no luck.. [00:24:45] http://commons.wikimedia.org/wiki/Special:Prefixindex/Image:Button ? [00:25:36] there are lots of buttons there. but i saw a specific set ready made, which was really nice [00:25:44] i think it looked a bit kde ish (maybe crystal based) [00:26:29] ahh, lots of crystal-ified images on commons, might be there somewhere.. [00:27:40] checked http://commons.wikimedia.org/wiki/Mediawiki_edit_toolbar too? [00:27:49] yup [00:27:52] Argh, stupid INSERT IGNORE. [00:28:01] Splarka: but thanks :) [00:28:09] and: http://upload.wikimedia.org/wikipedia/commons/2/2e/AllButtonsEditBar.PNG [00:28:20] G_SabinoMullane, do you have any suggestions on how the effect of the code in Category.php could be achieved more portably? [00:28:22] yup. ;-) [00:28:35] Well, I guess you could just try selecting a row to see if it exists. [00:28:35] well i hadnt but those are the same old style. dont worry i will find it [00:28:37] G_SabinoMullane: heh :) [00:28:38] just matter of time [00:28:41] Update if it does, otherwise insert. [00:28:52] It would need to be SELECT FOR UPDATE, though, to ensure no errors. [00:29:11] And that can cause deadlocks, at least when it's used too much on InnoDB. [00:29:27] Tim is apparently of the opinion that InnoDB deadlocks out of spite whenever you run selects FOR UPDATE. [00:29:33] Simetrical: Yep. Maybe turn that into a method. Or as someone said above, have the non-mysql drivers do the select upsert thing. [00:30:05] The problem is that that solution presumes 'IGNORE' is used for the same purpose everywhere. [00:30:44] Well, it can fix the particular case, I suppose. [00:31:17] exobuzz: Nuvola? [00:31:35] http://commons.wikimedia.org/wiki/Special:PrefixIndex/Image:Nuvola-inspired [00:32:21] *G_SabinoMullane does a svn up and waits (it's been a while) [00:32:22] http://commons.wikimedia.org/wiki/Category:Nuvola-inspired_Edit_Bar_for_MediaWiki [00:32:32] ahaaa yes [00:32:35] thanks! [00:32:39] :) [00:32:51] http://commons.wikimedia.org/wiki/Category:Nuvola-inspired_Edit_Bar_for_MediaWiki [00:32:53] yeh.. [00:33:12] thats the sucker. [00:33:22] nice don't you think ? [00:33:43] looks fuzzy to me, I like the blue [00:33:48] :) [00:34:17] btw, found it via GIS: http://images.google.com/images?q=mediawiki+bold+edit&um=1&hl=en&c2coff=1&safe=off&sa=N&imgsz=icon [00:34:34] hmm, for some reason i read edit&um as rectum [00:34:47] you may be the only one [00:34:50] :o [00:35:12] thanks for sharing [00:35:27] Simetrical: Okay, so Category.php and the rest are just using IGNORE as a 'insert and don't worry if it doesn't exist', right? [00:35:44] can someone with commit access rename Special:Renameuser to Special:RenameUser [00:35:49] We can work around that. [00:36:07] that is a pretty major change Alexfusco5 [00:36:19] Ugh, I don't like the new 'db' directory layout. [00:36:34] Prodego: I know [00:36:37] <^demon> Prodego: It would break everything. [00:36:52] Gotta run, bbl. [00:37:08] it was bugging me that that special page isn't capitalized [00:37:20] <^demon> It is capitalized. [00:37:26] <^demon> Just not camelcased :-P [00:38:00] <^demon> Bah, why must Ctrl+E be so close to Ctrl+W. [00:38:27] ^demon: :P [00:38:37] ^demon: because of Christopher Sholes? [00:39:03] *^demon hits whomever came up with the idea for Ctrl+W to be "Close tab"....it's far too close to "Exit" [00:39:37] G_SabinoMullane, well, yeah, "insert and don't worry if it exists" is what IGNORE does. [00:47:22] 03(mod) Cortado does again not work with Java 6 on GNU/Linux - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14610 (10tstarling) [01:12:53] 03(NEW) Localsuccess message broken in some cases - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14709 normal; normal; MediaWiki: Special pages; (rockmfr) [02:46:09] <^demon> Anyone around? Just got to thinking and I think I figured out an easy way to implement the InstantCommons idea. It utilizes brion's ForeignAPIFile/Repo code. Wanted to bounce ideas. [02:46:42] <^demon> (And incidentally, form the code for an image import). [02:46:48] 03(mod) Text change for MediaWiki:Clearyourcache - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12517 (10sxwiki) [02:52:43] Anyone familiar with writing mods around to help look for some code? [02:55:52] Oh well, anyone around at all? [02:56:29] 03sql * r36965 10/trunk/phase3/languages/messages/MessagesEn.php: Cleanup MediaWiki:Clearyourcache a little bit, from r36948, remove coloring. [02:57:55] !ask [02:57:55] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [02:59:00] Alright I want to know if there is a way to get a page's redirection source without direct DB interaction. [03:00:11] 03dale * r36966 10/branches/MetavidWiki-exp/skins/mvpcf.php: updates for advanced search/basic search swap [03:00:14] you mean if you're viewing a redirect title without &redirect=no (so are actually viewing another page's content) ? [03:00:27] Nope in php [03:00:52] well, a page can have multiple redirect sources [03:01:29] #REDIRECT [[Foo]] can appear on [[Bar]], [[Something]], [[Other]] for example, which one is the source? [03:01:36] I know, I want to check if, given a page name, that page redirects to another given page. [03:01:50] oh, so you want the target [03:01:51] This isn't built in functionality as far as I know [03:01:55] Ya [03:02:10] "source" is the other direction ^_^ [03:03:49] you would still have to make a db query to get the page's content to check if it contains #REDIRECT [[Foo]] [03:03:54] hmm [03:03:56] Basicly I'm looking to see if there are any pre-made objects to help with the task. The DB structure is simple but writing a mod that directly interfaces with the DB is prone to breakage. [03:04:17] Darkcode: Redirects are already indexed in the table redirect [03:04:46] yes, but you asked if there was a way to do it without accessing the database, that would still involved accessing the database too [03:04:50] http://en.wikipedia.org/w/api.php?action=query&titles=Derailleur&redirects [03:04:57] you don't have to access the database directly [03:05:11] (see what the api does) [03:05:43] the redirect table, afaik, is not retroactive, but passively updated as old redirects get edited or touched [03:05:48] so might not be reliable [03:06:04] Splarka: That would work. I'll keep the API as a backup. [03:06:10] Darkcode: I see what you mean now sorry. [03:06:21] Yurtle: I don't mean use the API, I mean see what the API does to efficiently resolve [03:06:26] it might have a secret trick [03:07:43] http://search.cpan.org/~exobuzz/MediaWiki-API-0.08/lib/MediaWiki/API.pm [03:08:13] use the existing provided API for determining if a page is a redirect that is the only safe way to ensure any test you do won't break if the database table structure changes [03:08:54] like $foo = Title::newFromText('Foo'); $foo->isRedirect(); [03:10:51] the database is still being accessed, but the access is being taken care of for you, so you don't have to know what the current database structure is [03:11:05] Exactly what I want to do. [03:11:15] I assume that is what your concern is with accessing the database directly yourself in your code [03:12:05] Yep, its trivial to do what I'm looking for otherwise. Now on to seeing if I can use the api without making curl requests. To eclipse [03:12:43] you can use the api directly from php without calling it from querystring if the code is on the same machine [03:13:16] http://www.mediawiki.org/wiki/API:Calling_internally [03:13:22] Exobuzz: thank you [03:13:38] (from php) [03:13:44] i forgot to mention that ;-) [03:13:52] oh no i did mention it [03:13:57] bedtime. [03:33:52] Alright question regarding some output from the API under the section. Redirect is an array. Is it possible for it to have more then one value? [03:50:03] 03(mod) Unprotecting a non-protected page leaves a log entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12716 (10N/A) [03:57:24] 03(mod) Unprotecting a non-protected page leaves a log entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12716 (10sxwiki) [04:29:56] 03(mod) Unprotecting a non-protected page leaves a log entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12716 (10overlordq) [04:39:28] 03(mod) Unprotecting a non-protected page leaves a log entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12716 (10sxwiki) [05:09:19] <^demon|away> SQLDb: Ping [05:12:36] How to use the Extensions:CentralNotice ? [05:25:51] 03demon * r36967 10/trunk/phase3/ (RELEASE-NOTES includes/Title.php): bug 12716 - trying to unprotect a title that isn't protected no longer generates a log entry. [05:26:10] 03(FIXED) Unprotecting a non-protected page leaves a log entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12716 +comment (10innocentkiller) [05:30:48] 03(mod) Allow and in {{DISPLAYTITLE:}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14226 (10N/A) [05:55:13] 03(mod) Cortado is broken on Java 6 with the server VM - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14610 summary; +comment (10tstarling) [06:01:04] hey all, I'm hoping to upgrade a rather old mediawiki install to 1.6 and running into a few problems [06:01:42] I first tried to do this via an upgrade, but that didn't work too well and the CSS broke quite badly [06:02:10] I've successfully installed a fresh copy of 1.6 and imported an XML dump into it, everything about that is fine (apart from the lack of users, but that's ok) [06:02:31] I'd like to move the images into this new install too, but 1.6 doesn't seem to have an importImages.php script.... any ideas as to how to do this? [06:11:33] http://groups.google.com/group/net.movies/browse_thread/thread/4403c713ab081b8f/0198a2a9572ef57f?lnk=st&q=#0198a2a9572ef57f "Firefox Bugs" ... from 1982 (heh) [06:16:10] i don't understand why you'd want to upgrade to 1.6 when the current is 1.12 and the bleeding edge, 1.13 [06:20:37] 03(NEW) "Donate" link in sidebar of non-Wikimedia wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14710 minor; normal; MediaWiki: Page rendering; (tstarling) [06:23:39] because nothing newer runs on php4, and I don't see a need to update that component for this server yet [06:26:19] 03(mod) AntiSpoof should return more than one result - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12232 (10N/A) [06:28:43] 03mkroetzsch * r36968 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php: create internal ids also for redirected pages [06:41:35] the "Donate" link at least promotes people to look up MediaWiki:Sidebar right away, a little brokenness promotes learning [06:45:04] checkers: no support is not a reason to update? [07:10:23] 03(mod) Allow and in {{DISPLAYTITLE:}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14226 (10N/A) [07:13:39] Nikerabbit: no, it's an intranet server [07:14:52] unimportant enough that I don't mind if it breaks down, and the web accounts on it are locked down enough to not be able to do anything if it's compromised [07:16:09] checkers: well, I'd update if nothing runs on it anymore :o [07:16:59] I'd then have to move the wiki to another machine, or keep php4 and 5 running at the same time [07:17:12] the server hosts a few legacy webapps that rely on php4 too [07:17:50] so basically, it's less painful to reimport the few hundred images by hand, but I'm hoping to find an automated solution [07:37:29] 03(mod) Increase Commons file size upload limit to 40MB - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12595 (10snottygobble) [07:48:29] <[KrusheR]> hi [07:48:46] <[KrusheR]> how could I obtain the current namespace? [07:49:50] 03demon * r36969 10/trunk/phase3/ (3 files in 2 dirs): Cache foreign image descriptions in the transcache, saves an Http::get() on cache hit. [07:49:52] define current? like in the article text? [07:50:19] <[KrusheR]> i would like an extension not to work unless it's used on the MediaWiki namespace [07:50:33] ah [07:50:39] <^demon> \o/ yay for caching. [07:50:41] Can't help ya there :) [07:51:02] OverlordQ: hi, I'm using your ircbot :o [07:51:10] Eh? [07:51:22] what irc bot lol? [07:51:22] <^demon> Nikerabbit: You always enjoy picking apart my commits. Have a hand at this one ;-) [07:51:40] oh the rc feed one? [07:51:46] yes [07:52:12] it's the best to date, otoh I still want one that can 1) reconnect 2) queue [07:52:35] it's amazing how those basic things are missing form almost everything out there [07:52:47] should reconnect . . . [07:53:05] if not, it's an easy fix [07:53:28] <^demon> The transcache is now more useful than for just scary wiki transcluding :-P [07:54:02] ^demon: what? [07:54:17] does css give me a way to define blocks that are placed inline but contain nested block structures? [07:54:27] <_wooz> lo [07:54:28] kind of like what you could do with a bunch of one-cell tables... [07:54:31] <^demon> !r36969 [07:54:31] --mwbot-- I don't know anything about "r36969". [07:54:52] <^demon> Nikerabbit: See the revision mwbot knows nothing about. [07:55:02] Nikerabbit: Ah, guess I did leave that out [07:55:29] !r 36969 [07:55:29] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=36969 [07:55:33] forgot a space ;) [07:57:35] <[KrusheR]> okay, i think i found it... its $wgTitle->getNamespace() [07:58:28] <^demon> It's 4am, why oh why am I still up? [07:58:41] <[KrusheR]> nope, it doesn't work [08:02:12] Nikerabbit: I'll slap up a v2 on the same page in a bit that should reconnect. [08:03:42] 03mkroetzsch * r36970 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php: drop (uninstall) for table smw_inst2 was missing, fixed [08:04:19] OverlordQ: nice, for any reason? does it have backoff in case of network failures? [08:05:52] ^demon: well :o [08:06:24] doesn't look bad, but not my area [08:07:14] Nikerabbit: it'll check the connection every 5 minutes, if it sees it's disconnected for some reason it'll pop back on. [08:08:07] OverlordQ: ok, I'll try [08:10:00] and by queueing? you mean dont spam? [08:19:47] OverlordQ: well, you say that you didn't do message queuing to keep up [08:20:43] 03nikerabbit * r36971 10/trunk/extensions/Translate/ (TranslateEditAddons.php ffs/Gettext.php): * Bugfixes [08:21:50] there, added v0.2 and changed the disclaimer :) [08:24:00] I actually completely forgot I wrote that :-/ [08:27:02] man, i love this project [08:27:17] add a message to an extension, have it translated to dozents of languages by the next day [08:27:28] Hi for all!! [08:27:29] thanks nikerabit & other betawikians :) [08:28:53] Somebody speak russian here? [08:29:20] <[KrusheR]> is there a list of future changes in MW? [08:29:25] <[KrusheR]> like a WIP list [08:29:28] Somebody speak russian here? [08:29:40] Where to add the Meta Information about the Site for the Search Engines ? [08:29:43] Kibergod: repeating yourself one a minute will not help [08:30:33] vinodhrajan: most search engines ignore meta keywords, because they a frequently abused. mediawiki adds them automatically, i think gleaned from links or something [08:30:47] i don't think there's a way to do that explicitly. but maybe there's an extension [08:31:38] How to the Change the Title ? Is it possible [08:31:57] I mean in the Title bar of the Browser... [08:32:06] MediaWiki:Pagetitle [08:32:24] http://en.wikipedia.org/w/index.php?title=MediaWiki:Pagetitle&action=edit for example [08:32:29] $1 being the page you're viewing [08:32:39] that fills in [08:32:50] <Duesentrieb> !displaytitle too [08:32:50] --mwbot-- See <http://www.mediawiki.org/wiki/Manual:%24wgAllowDisplayTitle>. [08:33:29] <vinodhrajan> k Thanks.. [08:33:46] <Splarka> there are some <meta> tag extensions, see http://www.google.com/search?q=site%3Amediawiki.org+meta+tag+extension [08:34:10] <Splarka> [KrusheR]: there is bugzilla, showing requested changes: https://bugzilla.wikimedia.org/query.cgi?format=advanced [08:43:15] <[KrusheR]> Splarka: thx [08:51:23] <Nikerabbit> where is my array_map_recursive ffs.... [08:57:31] <CIA-54> 03mkroetzsch * r36972 10/trunk/extensions/SemanticMediaWiki/maintenance/ (SMW_refreshData.php SMW_setup.php): Extended maintenance scripts: better docu, "uninstall" function for SMW_setup.php [09:10:51] <wikibugs> 04(REOPENED) API: parse does not show revID if title (&text) is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14707 +comment (10roan.kattouw) [09:13:03] <wikibugs> 14(INVALID) API: parse does not show revID if title (&text) is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14707 +comment (10roan.kattouw) [09:39:38] <CIA-54> 03mkroetzsch * r36973 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php: corrected fname for DB call [09:41:05] <CIA-54> 03mkroetzsch * r36974 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php: [09:41:05] <CIA-54> Fixed and completed reserialisation feature for query descriptions, API-level descriptions can now be cast into normalised wiki [09:41:05] <CIA-54> syntax that will work properly in #ask. Needed for stored queries. [09:53:55] <CIA-54> 03mkroetzsch * r36975 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php: Fixed query serialisation for nested category, namespace, and property queries [09:56:42] <vinodhrajan> The Extension Instant Commons is not Working in my site.. [09:57:06] <vinodhrajan> I get Red links if add images that are available in common [09:59:31] <Raymond_> vinodhrajan: InstantCommons isn't ready for production use [10:00:26] <Raymond_> vinodhrajan: what version of mediawiki do you run? [10:01:11] <vinodhrajan> the Latest Stable Version 1.12 [10:01:17] <CIA-54> 03tstarling * r36976 10/trunk/cortado/src/com/fluendo/ (3 files in 2 dirs): [10:01:17] <CIA-54> * Fixed bug 13795 "Cortado Ogg player control bar covers some of the video". Was a bit more complicated than I expected. Requires simultaneous JavaScript update (applet height increase). [10:01:17] <CIA-54> * Tweaked AboutFrame height [10:02:00] <vinodhrajan> Is there any other way to use the Images in Common ? [10:02:31] <Raymond_> vinodhrajan: in 1.13 there is another way to use a foreign repo. [10:03:06] <vinodhrajan> But it 1.13 is still in its Alpha Stage, right ? [10:04:02] <Raymond_> yeah. running on Wikipedia :) [10:05:08] <vinodhrajan> So Instant Commons cannot be used :(. So why do they issue an Extension then, if its not working :-/ [10:06:48] <CIA-54> 03tstarling * r36977 10/trunk/extensions/OggHandler/ (4 files): Cortado update, and applet height tweak as per r36976 (fix for bug 13795) [10:07:40] <Raymond_> vinodhrajan: read http://intelligentdesigns.net/blog/?p=91 [10:16:04] <vinodhrajan> I get an Error, If cut copy paste the Code in my Localsettings.php [10:16:17] <vinodhrajan> Parse error: syntax error, unexpected ':', expecting ')' in /home2/tamilcco/public_html/buddhism/w/LocalSettings.php on line 156 [10:16:51] <wikibugs> 03(FIXED) Cortado Ogg player control bar covers some of the video - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13795 +comment (10tstarling) [10:21:30] <Raymond_> vinodhrajan: c&p from http://rafb.net/p/HBQMw618.html but you need MediaWiki 1.13. I does not run with 1.12 [10:22:02] <vinodhrajan> oh ok. It will work if I update, right [10:22:22] <vinodhrajan> But is 1.13 safe and stable ? [10:22:41] <flyingparchment> no, 1.13 is svn HEAD, and liable to break or get fun new bugs at any time [10:23:24] <vinodhrajan> hmmmmm. So how long it will take for 1.13 to become a Stable Version.. ? [10:24:57] <Splarka> as soon as it becomes outdated [10:25:29] <Splarka> (slightly safer is to run the revision on wikimedia at any given time, which is usually a few days behind and post-review) [10:29:17] <vinodhrajan> So there is absolutely no way to Use Commons in 1.12 :(. I mean I was very Happy when I saw this InstantCommons Extension. Now I know it wont work :( [10:29:52] <Raymond_> I do not know another way for 1.12 [10:30:36] <vinodhrajan> No Probs. Thanks for the Help Guys... :) [10:33:46] <Raymond_> you are welcome [10:51:32] <Ludd3> i have created wikidb database, does anyone have a simpel structure of the table that i can just run? [10:52:00] <[KrusheR]> i think the installation script creates all the necessary... [10:52:55] <Ludd3> i cant create a database in my phpmyadmin, i can only do that from another control panel, so i created wikidb but.. ye, its just a database no tables [10:54:29] <[KrusheR]> have you ran the installation script? [10:54:37] <Duesentrieb> Ludd3: the installer creates the tables automatically [10:54:53] <Ludd3> u mean /config/index.php? [10:55:00] <Duesentrieb> (provided it has the permissions, it can even create the database, too) [10:55:12] <Duesentrieb> Ludd3: yes. run the installer [10:55:30] <Ludd3> Ok, i'll try that [10:55:32] <[KrusheR]> i'm glad to see you, Duesentrieb, you have helped me a lot [10:55:48] <[KrusheR]> some time ago [10:56:21] <[KrusheR]> are you a developer of the mediawiki source? [10:57:24] <_Vi> How to use sortable tables? Should I install some plug-in into mediawiki1.7? [10:57:25] <Duesentrieb> [KrusheR]: i contribute from time to time. [10:57:42] <Duesentrieb> i wouldn't call myself part of the core team [10:57:47] <Ludd3> Thx guys ;> it worked [10:58:02] <Duesentrieb> _Vi: don't run 1.7. [10:58:15] <Duesentrieb> there's no reason to. and it doesn't support sortable tables. [10:58:15] <_Vi> What version is recommended? [10:58:18] <Duesentrieb> *support [10:58:21] <[KrusheR]> maybe he has PHP4 [10:58:22] <Duesentrieb> _Vi: 1.12 [10:58:35] <Duesentrieb> [KrusheR]: 1.7 doesn't work with php4... [10:58:49] <Duesentrieb> only 1.6 does [10:58:49] <[KrusheR]> then maybe he doesn't :P [10:59:15] <Duesentrieb> bwahaha! [10:59:15] <Duesentrieb> If you get bored, make your engineers swap code with each other...either you'll get better code out of them, or they'll kill each other...either way it should be fun to watch... ” [10:59:15] <Duesentrieb> — Darwin Programming at MemeStreams [10:59:16] <_Vi> Are sortable tables included in 1.12? [10:59:23] <Duesentrieb> yes [10:59:37] <Duesentrieb> have been since 1.10 or something. maybe before that [10:59:45] <Duesentrieb> but do run latest stable [10:59:50] <Duesentrieb> there's no reason not to [11:00:10] <[KrusheR]> anyone here know what happens with bash.org? [11:00:30] <[KrusheR]> they don't have new quotes since ages [11:09:31] <_Vi> (Downloaded mediawiki-1.12.0 sources compressed to 1.5 MB). [11:09:52] <CIA-54> 03rotem * r36978 10/trunk/extensions/CategoryTree/CategoryTree.i18n.php: Update for he. [11:10:39] <Xiong> walk into a bar and shout "i cuddle elses!" [11:10:54] <Xiong> if a fight breaks out, it's a programmer bar [11:12:40] <[KrusheR]> what does "cuddle" means? [11:12:56] <Xiong> } else { [11:13:05] <[KrusheR]> oh ok [11:13:15] <Xiong> the alternative is uncuddled [11:13:18] <Xiong> } [11:13:22] <Xiong> else ( [11:13:48] <Xiong> decide which you like better and shout it at every excuse [11:13:56] <Xiong> then you'll be a Real Programmer [11:14:36] <[KrusheR]> is there programmer bars anyway? [11:14:46] <Xiong> well there was once i know [11:15:12] <[KrusheR]> i hope the menu wasn't written in perl [11:15:18] <Xiong> when first i came out to california, i got off the freeway in cupertino, at de anza bl, as planned in pennsylvania [11:15:40] <Xiong> about the first thing i saw -- even before apple HQ -- was a bar called eli mcfly's [11:16:28] <Xiong> it served a largely apple employee clientle -- engineers hard and soft [11:16:57] <Xiong> the walls were shelved with strange, fictitious victorian electric devices [11:17:25] <[KrusheR]> steampunk? [11:17:33] <Xiong> basically, yes [11:17:42] <[KrusheR]> neat [11:17:51] <Xiong> the center was a circular bar full of neon and other glowing stuff [11:17:58] <[KrusheR]> i've never seen anything like that here [11:18:02] <Xiong> two stories tall [11:18:20] <[KrusheR]> must be expensive [11:18:24] <Xiong> electrostatic discharges etc. [11:18:26] *Duesentrieb is currently reading The Difference Engine [11:18:34] <Xiong> good one [11:19:11] <Duesentrieb> not quite convinved yet :) [11:19:15] <Xiong> they finally had to disconnect the stuff right inside the bar itself, there was too much leakage and customers were getting a jolt not from the booze [11:19:15] <[KrusheR]> has it been translated into spanish? [11:19:36] <Xiong> DE is not great literature but it has some interesting engineering in it [11:20:02] <Duesentrieb> [KrusheR]: i have no clue. it's byBruce Sterling and William Gibson [11:20:21] <[KrusheR]> i'm reading a preview in wikipedia [11:20:27] <[KrusheR]> looks interesting [11:21:02] <Xiong> eli mcfly's is gone, now [11:21:15] <Duesentrieb> Xiong: i'm not such a great fan of wither of the authors. the best gibson yet was Pattern Recognition, imho [11:21:17] <Xiong> the space is now a bland bakery/cafe [11:21:39] <Duesentrieb> he's legend, of course [11:21:46] <Xiong> trouble with gibson et al is that the science dictates the story [11:22:01] <Xiong> if you're into the science, that's tolerable and even interesting [11:22:07] <Xiong> but the plot and characters drag [11:22:35] <Xiong> tastes change, i would have liked those guys more when i was young [11:22:36] <Duesentrieb> yep [11:22:50] <Xiong> when i was a very young boy, i learned to read by reading asimov [11:22:55] <Xiong> and i thought he was god [11:23:00] <Duesentrieb> :P [11:23:05] <Xiong> now i find his writing stilted [11:23:10] <Duesentrieb> Ursula Le Guin is good for a change [11:23:21] <Xiong> an idea man -- great ideas, yes, but ideas only [11:23:21] <Duesentrieb> excellent SiFi for people who don't like SciFi :) [11:23:28] <[KrusheR]> it's seems it has been distributed in spain... [11:23:37] <[KrusheR]> gasp, 18 € [11:23:50] <Xiong> for the best blend of science and fiction, niven [11:24:29] <Duesentrieb> really? i found his characters particularly wooden :) [11:24:34] <Xiong> absolulely hard science, absolutely cool characters, constantly entertaining plot [11:24:45] <Xiong> niven? no [11:24:48] <Duesentrieb> the cast of ring world looks like your average D&D group [11:25:10] <Xiong> well, that's just what that story cycle is, isn't it? [11:25:27] <[KrusheR]> ringworld reminds me of halo [11:25:36] <Duesentrieb> or the other way around :) [11:25:46] <Duesentrieb> anyway... i like niven for the tech, not the story [11:25:54] <vinodhrajan> How to Create new Namespaces ? [11:26:03] <Xiong> !namespace [11:26:03] --mwbot-- For help with understanding and manipulating namespaces, please consult <http://meta.wikimedia.org/wiki/Help:Namespace>. See also !extranamespace [11:26:09] <Duesentrieb> !extranamespaces [11:26:09] --mwbot-- To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at <http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces>. $wgExtraNamespaces can also be used to rename the default namespaces. [11:26:18] <Duesentrieb> \o/ [11:26:30] *Xiong pwnd [11:26:57] <Xiong> one thing, vino, very important [11:26:58] <Duesentrieb> Xiong: Stephenson is cool for both - though i'd also consider him an idea person mainly. But his ideas are not so technical, they are about whacky plots :) [11:27:12] <Xiong> do all the namespace work before adding pages to the wiki [11:27:17] <[KrusheR]> are you all from the USA? [11:27:30] <Duesentrieb> [KrusheR]: nope [11:27:41] <Xiong> if you attempt to create a page in a namespace before the namespace is created, you will think you have no problem [11:28:12] <Xiong> and if you delete a namespace before moving or deleting a page in it, again, you will not see an immediate problem [11:28:17] <Xiong> but don't do either [11:28:36] <[KrusheR]> gotta go, bye [11:28:40] <Xiong> bye [11:29:49] <Xiong> now i find heinlein is the best of all [11:30:00] <Xiong> although in later years, getting a bit repetitive [11:30:24] <Xiong> clarke was always a bit too mystical for my taste [11:30:29] <Xiong> and the runner- [11:30:37] <Xiong> runner-up by a nose, bradbury [11:30:52] <Xiong> and i'm still trying to decide if bradbury was really SF at all [11:47:40] <Duesentrieb> ha, i havn't read any heinlein yet... i really should. and i think i read some clarke at some point, but can't remember. [11:47:55] <Duesentrieb> to grand masters, of course, are dick and, in his own odd way, lem [11:47:58] <Duesentrieb> anyway, time for lunch [11:48:20] <Xiong> yes, dick certainly [11:48:50] <Xiong> eat happy [11:49:08] <Zopieux> hi :) [11:49:30] <Xiong> hi [11:50:03] <Zopieux> i would like to know why wiki formatting is not activated when I include a page like myproject:image_of_the_day/date [11:50:37] <Zopieux> if I write ===title=== it is not formatted [11:50:49] <Xiong> link us [11:51:41] <Zopieux> other formatting work [11:51:48] <Zopieux> (french website) [11:51:48] <Zopieux> http://beta.wiki.alwaysdata.com/wiki/Accueil [11:51:53] <Zopieux> look "Zoom sur" [11:54:59] <Xiong> [[Zoom sur]] is the page in question? [11:55:43] <Xiong> there is no such page [11:55:48] <Xiong> where is your problem? [11:57:09] <Xiong> i see this page: [[alwaysdata:Zoomsur/2008 27]] [11:57:38] <Xiong> it contains no transclusion of any other page [11:58:15] <Xiong> [[Accueil]] transcludes [[alwaysdata:Zoomsur/2008 27]] [11:58:21] <Xiong> are you still there? [11:59:25] <Xiong> it's a double transclusion [12:00:13] <Xiong> and you are doing weird things with CSS classes, too [12:16:11] <Duesentrieb> Zopieux: the === must be the first thing on the line. there must be no markup before it, or any spaces. [12:16:31] <Duesentrieb> Zopieux: that is, it must be the first thing on the lin *after* including [12:16:40] <Xiong> i think, departed [12:17:00] <Duesentrieb> Xiong: tab completion still works, so he's still here :) [12:17:22] <Duesentrieb> anyway, if you look at http://beta.wiki.alwaysdata.com/index.php?title=Mod3%A8le:Accueil/cadre&action=edit you can see the problem [12:17:31] <Duesentrieb> bah, irc chewing urls again :/ [12:17:35] <Xiong> my client doesn't do that [12:17:40] <flyingparchment> xchat? you can disable that [12:17:48] <Xiong> shadowirc [12:17:59] <flyingparchment> no, duesentrieb [12:18:00] <Xiong> anyway, it's a terribly twisted little template [12:19:31] <wikibugs> 03(FIXED) Incorrect parameters for MediaWiki:Blockedtext - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14295 +comment (10maxsem.wiki) [12:20:35] <Duesentrieb> flyingparchment: konversation. but i guess it can be disabled, yea [12:20:47] <Duesentrieb> it's pretty xchat-ish [12:21:31] <Duesentrieb> flyingparchment: i'd do that by disablng colors? [12:21:47] <flyingparchment> dunno, should be some option about converting % to colour codes [12:23:29] <Duesentrieb> yea. well, i like to have colors for some suff though [12:23:37] <Xiong> Krispy Kreme Bacon Cheeseburgers [12:23:47] <Duesentrieb> guess you can't have both [12:23:54] <flyingparchment> Duesentrieb: i can, maybe you can't ;) [12:24:06] <Duesentrieb> uh.... how? [12:24:08] <flyingparchment> i just type ^C for colours (which is what IRC uses) [12:24:22] <flyingparchment> your client seems to convert %something into ^C, i guess because you can't type control characters on the input line [12:24:55] <Duesentrieb> hm... would be nice to be able to disable one without disabling the other... [12:25:25] <flyingparchment> you should be able to at least turn off changing % into colours without losing the abilitity to see colours [12:26:07] <Duesentrieb> that's precisely what i'm looking for. but all i see is "allow colors". [12:26:12] <CIA-54> 03rotem * r36979 10/trunk/phase3/includes/Title.php: Replacing the fix for bug 12716. [12:28:13] <wikibugs> 03(mod) API: parse does not show revID if title (&text) is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14707 (10Wiki.Melancholie) [12:32:06] <Xiong> http://www.kentucky.com/471/story/450014.html [12:57:05] <QuestPC> Hello! How can I re-enable image links in gallery with non-existant image files? The users are worried about such handy way of image uploading. They have used to make gallery, then click on links to upload actual images. Now the gallery is without links, only shows filenames. [12:57:16] <QuestPC> My mediawiki is 1.12 [13:00:26] <CIA-54> 03demon * r36980 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialBlockip.php): Bug 14088 - excessively long block expiry times no longer bork the logpage. Reject if over 50 chars. [13:00:35] <wikibugs> 03(FIXED) Excessive block expiry times cause problems on Special:Log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14088 +comment (10innocentkiller) [13:00:45] <wikibugs> 03(mod) Redirect wm08reg root to registration form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14545 15enhancement->minor (10danny.b) [13:02:00] <rzec> Does anyone here know where the creation for the wiki_session cookie(NOT the PHPSESSID) is and where it is being stored? [13:10:45] <Ludd3> how do i change so i can upload files? [13:13:18] <^demon> Set $wgEnableUploads to true in your localsettings. [13:13:26] <^demon> rzec: Setup.php has _something_ to do with it. [13:13:57] <Zopieux> Duesentrieb, okay [13:14:02] <Zopieux> sorry for the lagg :-� [13:14:03] <^demon> Line 220 sets a _session cookie, but I dunno. [13:15:13] <Zopieux> but Duesentrieb I don't really understand [13:15:24] <Ludd3> exit [13:15:26] <Zopieux> there IS nothing before === and it doesn't work [13:15:28] <Ludd3> ops [13:15:39] <rzec> ^demon: this is lines 216 - 226 : http://rafb.net/p/jLdI5g58.html [13:15:46] <Duesentrieb> Zopieux: yes there is, when it is included. [13:16:09] <Duesentrieb> Zopieux: look at http://beta.wiki.alwaysdata.com/index.php?title=Mod3%A8le:Accueil/cadre&action=edit [13:16:16] <rzec> nvm, i see it [13:16:22] <Duesentrieb> think about where the code will be inserted [13:16:23] <Zopieux> hm, how, the template [13:16:26] <Zopieux> oh* [13:16:58] <Duesentrieb> just put the {{#if... on a new line, and it should work [13:17:07] <Zopieux> hm [13:17:09] <Zopieux> strange, ok [13:17:27] <Zopieux> ho yeah [13:17:31] <Zopieux> thanks Duesentrieb :) [13:17:42] <Duesentrieb> not really strange. line breaks and whitespace is significant :) [13:18:21] <Zopieux> yeah I understand :p [13:19:26] <^demon> rzec: Of ~/includes/Setup.php? I'm looking at current trunk. [13:19:50] <rzec> it was a little above that code [13:19:56] <^demon> Ah ok [13:22:47] <vinodhrajan> How to create SQL Dumps of my Wiki ? [13:35:59] <Zopieux> guys [13:37:06] <Zopieux> if I create a "help" category, I link some articles to it, and then I rename "help" to "support", will the links be updated? [13:39:51] <^demon> No. [13:39:55] <^demon> Category renaming doesn't work. [13:40:15] <Duesentrieb> err. [13:40:21] <Duesentrieb> but the names of the pages wouldn't change [13:40:26] <Duesentrieb> so there's no need to update [13:40:37] <Duesentrieb> Zopieux: please consider the differences between categories and namespaces [13:41:18] <Zopieux> I already consider them [13:41:33] <Zopieux> there is no catergory renaming oO? [13:42:40] <Duesentrieb> no, there is not. but categories don't influence the name of pages, so the links to them will not have to be changed [13:42:53] <Duesentrieb> however, the links that are used to categorize the pages would have to be changed. [13:43:26] <Zopieux> i know Duesentrieb [13:43:28] <Duesentrieb> that'S also why there's no category renaming: it would require changing page text, in unpredictable ways [13:43:48] <Duesentrieb> unles we had category aliases. which would be nice. but it's complex, and hasn't been done yet. [13:43:49] <Zopieux> but if I start to write [[Catergory:mycat]] and then I rename delete mycat... [13:44:11] <Duesentrieb> uh, there's generally not much to "write" in a category [13:44:13] <Duesentrieb> you add pages to it [13:44:15] <CIA-54> 03raymond * r36981 10/trunk/extensions/SlippyMap/ (SlippyMap.class.php SlippyMap.i18n.php SlippyMap.php): [13:44:15] <CIA-54> * Add $wgSlippyMapVersion to help update caches when OpenStreetMap.js is changed [13:44:15] <CIA-54> * Localize button messages [13:44:16] <CIA-54> * Avoid PHP notice for depreciated parameter 'long' [13:44:16] <CIA-54> * Use class=error for errormessages [13:44:19] <CIA-54> * Kill whitespaces [13:44:41] <Duesentrieb> Zopieux: a category has two parts: the category page (head), and the category content (pages in that category) [13:44:44] <Zopieux> Duesentrieb, not in the category, in related articles :) [13:44:48] <Duesentrieb> they are only loosely associated, by name [13:45:04] <Zopieux> hm [13:45:05] <Duesentrieb> if you delete the category page, the content stays [13:45:18] <Duesentrieb> if you rename it, the content stays under the old name [13:45:25] <Duesentrieb> (which is why that option is not offered) [13:45:27] <Zopieux> how to associate an article to a given category? [13:45:42] <Duesentrieb> by writing [[Category:Foo]] into that article [13:45:47] <Duesentrieb> Category:xx links are magic [13:45:59] <Duesentrieb> [[:Category:Foo]] would be the "non-magic" version of the link [13:47:17] <Xiong> renaming a category page could be done... [13:47:27] <Xiong> with a bot that searched globally for links [13:48:19] <Duesentrieb> sure, pybot can do it [13:48:40] <Duesentrieb> no global search needed though. just look at the content, and ot whatlinkshere [13:48:51] <Duesentrieb> can still be thousands of pages, though [13:49:20] <Xiong> i made a rule on ARMS about bots [13:49:41] <Xiong> i said, a fully automatic bot must generate a log of its activity as a subpage of its own userpage [13:50:01] <Xiong> the only guy to create a bot account has not had the temerity to run it yet [13:50:10] <Duesentrieb> uh... [13:50:19] <Duesentrieb> but mediawiki already generates a report of all bot activities [13:50:27] <Duesentrieb> just look at the user contribs [13:50:31] <Xiong> right [13:50:50] <Xiong> the point being, the bot-op must make an effort [13:51:20] <Duesentrieb> the effort is snamm if you have the paghe editing code in place anyway [13:51:22] <Xiong> it raises the bar; no script kiddies using prebuilt bots [13:51:29] <Duesentrieb> and that requirement doubles the load the bot creates [13:51:35] <Duesentrieb> and the noice in RC [13:51:38] <Duesentrieb> *noise [13:51:41] <Xiong> no, it reduces the load to zero [13:51:48] <Duesentrieb> heh [13:52:07] <Xiong> i say that bot editing is a symptom of sth gone wrong [13:52:17] <Duesentrieb> well, the requirement of "give me a blowjob" would do that too [13:52:24] <Xiong> or worse, an extension of a user about to go wrong [13:52:35] <Duesentrieb> naw, bot editing is a symptom of mediawiki not supporting a lot of stuff pleole need [13:52:39] <Xiong> dus! pls! the kiddies! [13:52:51] <Xiong> need? need what [13:52:52] <Duesentrieb> bots have become essential to wikipedia. there's a lot of things that wouldn't work without them [13:53:06] <Xiong> "work"? [13:53:22] <Xiong> bots are a response to political shifts in the wind [13:53:34] <Xiong> "we must change all instances of foo to bar" [13:53:50] <Duesentrieb> category renaming is one thing. keeping interwikis up to date manually would be insane. notifiying local progjects about image deletions on commons is important to npt piss people off [13:53:51] <Duesentrieb> etc [13:54:01] <Xiong> well, i have a narrow mind [13:54:11] <Duesentrieb> and a smaller project :) [13:54:22] <Xiong> i see no point to interlanguage wikis, just as i see no point to foreign languages [13:54:38] <Duesentrieb> yea, we should all just speak PERL! [13:54:57] <Xiong> english is a more flexible language than those that have remained pure over the years [13:55:06] <Xiong> and it is widespread [13:55:20] <Xiong> intercommunication trumps cultural nostalgia [13:55:57] <Xiong> i find particularly irritating the canadian french/french and english/british english fights [13:55:59] <CIA-54> 03shinjiman * r36982 10/trunk/phase3/languages/messages/ (5 files): Localisation updates Cantonese, Chinese and Old/Late Time Chinese [13:56:33] <Xiong> great, now we have a wiki in a version of chinese nobody still uses?? [13:56:38] <Xiong> my point made for me [13:56:56] <Xiong> i oppose nationalism in all forms [13:57:50] <Xiong> time to go kill some ancient chosun :) [13:58:20] <Zopieux> ok, so we need a bot [13:58:25] <Zopieux> no problem [15:02:03] <CIA-54> 03catrope * r36983 10/trunk/phase3/includes/api/ApiParse.php: ApiParse: Don't display revid="" when there is no revid. [15:02:26] <Schroeder> ok, time for a jog...back in a couple hours [15:02:29] <wikibugs> 03(mod) API: parse does not show revID if title (&text) is given - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14707 (10roan.kattouw) [15:12:02] <rzec> are there any tutorails on how to write a custom mediawiki user authication function? [15:13:40] <^demon> rzec: Not afaik. The AuthPlugin is designed to be overridden for custom authentication. CentralAuth, LDAP and 1 or two others do it. Might check out their code to get an idea of how to do it? [15:21:50] <TheMadCow> anybody kno stwalkster? [15:25:17] <CIA-54> 03shinjiman * r36984 10/trunk/extensions/ (2 files in 2 dirs): Localisation updates Cantonese and Chinese for extension messages [15:36:15] <rzec> there is no way for me to authenicate a user by just passing a user object to a function or something simple like that? [15:43:58] <CIA-54> 03shinjiman * r36985 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Old/Late Time Chinese [15:53:40] <SQLDb> TheMadCow: yeah, I know him. [15:53:45] <CIA-54> 03guyvdb * r36986 10/branches/visual_diff/phase3/includes/Diff.php: new diff implementation framework [15:53:47] <rzec> what i need for my system is very simple. they login the main app. i check to see if there are in the wiki, if not i create the account(this portion is done and working). all i need to do is know what i need to do to authentication on mediawiki and there is no clear answer that that question. I mean if someone asked me how would i authication a user on my main app i would just say is... [15:53:49] <rzec> ..."create a md5 of the string remote_addr + username + time() and store that is the user_sessions table and then store that in a cookie called uhash alone with the user table id in a cookie called user_id" but nothing like that exists for mediawiki [15:54:24] <TheMadCow> Did you talk to him today? [15:54:33] <SQLDb> TheMadCow: no, I just woke up [15:54:41] <TheMadCow> xD okay [15:54:44] <SQLDb> TheMadCow: he's usually on IRC, off, he's not in the accounts channel [15:54:53] <SQLDb> *off/odd [15:55:08] <TheMadCow> just hes a school mate, i wanted to speak to him about gettin ubuntu on my PC [15:55:14] <SQLDb> oic [15:55:15] <SQLDb> :) [15:55:22] <TheMadCow> havnt got hes phone number tho so kinda lost [15:55:42] <SQLDb> TheMadCow: he's usually in #wikipedia-en-accounts this time of day [15:56:06] <TheMadCow> hmm [15:56:13] <TheMadCow> but he isnt, which is wierd :P [15:56:32] <SQLDb> indeed heh [15:57:43] <TheMadCow> how do u kno him? do you help him out with hes little coding projects or does he help you :P? [15:58:56] <SQLDb> he's one of the developers on a project I run. [15:59:10] <TheMadCow> 4*.*0[G][R][I][N][S]4*.* what project is it? [15:59:55] <SQLDb> enwiki account creation [16:00:07] <flyingparchment> <@ZorbaTHut> PHP: Recalling the exact syntax for the built-in stab() function, you make a sane assumption and call shoot(GUN, FOOT); The foot shoots your gun. [16:00:25] <TheMadCow> what language is it using? [16:00:28] <SQLDb> flyingparchment: lol! :) [16:00:30] <SQLDb> TheMadCow: PHP [16:00:46] <TheMadCow> I dont know any php which is a shame. [16:01:04] <SQLDb> TheMadCow: it's pretty easy. http://php.net :) [16:01:15] <TheMadCow> wat language is it simular to? [16:01:21] <flyingparchment> German [16:01:44] <TheMadCow> 4,1~0L8a9U11g13H4s0~ [16:01:54] <flyingparchment> please, less with the colours [16:02:01] <TheMadCow> :( it auto does it [16:02:46] <TheMadCow> how do i do the replie to a certian person but everybody can see it thing? [16:03:39] <Zopieux> BLACKIS [16:03:54] <Zopieux> l'est partit ce connard ? [16:04:13] <Zopieux> (oops) [16:04:36] <wikibugs> 03(mod) Block log below block form limited to 50 entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14638 (10nakonwiki) [16:05:26] <TheMadCow> 11�12SQLDb11� If you want an extra pair of hands am willing to help out on ur project (ill learn php ofc :P) [16:06:35] <SQLDb> TheMadCow: nah, we haven't had anything to do in ages now... There's little left to fix or improve at this point, until we get the 'spoofuser' table (even that, I've got 99% of the code written for on my test box) :P [16:06:47] <TheMadCow> nice [16:07:17] <TheMadCow> i thought id start gettig involved with programming some useful things, as i wanna learn more in next year and a bit before Uni. [16:08:43] <OverlordQ> go take a look at the mediawiki parser ;) [16:08:56] <TheMadCow> who oO [16:09:09] <OverlordQ> you'll probably still be trying to figure it out when school starts :P [16:10:01] <TheMadCow> can stwalkerster figure it out? [16:10:29] <OverlordQ> The last person we sent it never came back [16:10:32] <OverlordQ> *in [16:10:53] <TheMadCow> really [16:11:17] <TheMadCow> link ? [16:11:18] <OverlordQ> Yup, last trasmission we recieved said he made it to the PreProcessor [16:11:37] <guyvdb> I never understood why people take pride in writing incomprehensible code [16:12:15] <CIA-54> 03ialex * r36987 10/trunk/extensions/Configure/ (CHANGELOG Configure.php Configure.settings.php): Renamed $wgAdditionalXMLTypes to $wgXMLMimeTypes [16:16:44] <CIA-54> 03vrandezo * r36988 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_GlobalFunctions.php storage/SMW_RAPStore2.php): added rapstore2 based on sqlstore2 [16:22:16] <CIA-54> 03ialex * r36989 10/trunk/phase3/includes/db/DatabaseMssql.php: deleted svn:executable property [16:22:29] <CIA-54> 03siebrand * r36990 10/trunk/extensions/GroupPermissionsManager/GroupPermissionsManager.i18n.php: [16:22:29] <CIA-54> Localisation updates. Reduce usage of capitals [16:22:29] <CIA-54> No localisation updates needed. [16:36:24] <CIA-54> 03mkroetzsch * r36991 10/trunk/extensions/SemanticMediaWiki/ (23 files in 4 dirs): [16:36:24] <CIA-54> New Concept namespace (pages to represent queries), basis for (1) moving complex #ask queries out of pages, (2) controlling access [16:36:24] <CIA-54> to complex queries, (3) caching important queries, (4) advanced features (recursive concepts, later ...) [16:36:25] <CIA-54> Concepts are defined by #concept parser function (saving works in SQLStore2, no retrieval/use in queries yet). [16:36:27] <CIA-54> To unclutter namespaces, the obsolete Relation: namespace is removed, unless explicitly requested by config setting. [16:37:21] <Lady_Aleena> Can someone help me figure out what the #ifeq is doing on http://en.wikipedia.org/w/index.php?title=Template:Topic_co-ordination_link&action=edit [16:38:18] <CIA-54> 03jeluf * r36992 10/trunk/extensions/SlippyMap/SlippyMap.class.php: Fix for MSIE. For some reason it didn't like getElementById. This solution is cleaner, too. [16:41:11] <szunyi> hi [16:53:22] <rzec> well i finally got it to work, kinda of my fault becuase i did not even think about what session variable you might have set that i was not. [16:54:14] <Lady_Aleena> rzec, what did you finally get to work? [16:54:59] <rzec> have mediawiki authenticate the user we they login to my main application login. [16:55:11] <Lady_Aleena> Ah...okay. [16:55:56] <guyvdb> brion: what's the biggest constraint on the servers: CPU or memory? [17:16:42] <wikibugs> 03(mod) Cross-wiki API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14024 summary (10Wiki.Melancholie) [17:17:44] *^demon waves hello to everyone [17:19:17] <ialex> hello ^demon [17:19:17] <^demon> brion: You around? Wanted your input on something. [17:20:20] <^demon> ialex: Howdy :-) [17:21:32] <^demon> I've been trying to get input on my caching for image description pages. :-P [17:22:20] <^demon> (If anyone's around/interested and wants to peek at r36968) [17:23:27] <wikibugs> 03(NEW) Special:Log/... does not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14711 trivial; normal; MediaWiki: Special pages; (Wiki.Melancholie) [17:23:38] <Simetrical> r36968 is a commit to SMW . . . [17:23:52] <^demon> +1, 36969. [17:23:58] <wikibugs> 03(NEW) API: logevents do not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14712 15enhancement; normal; MediaWiki: API; (Wiki.Melancholie) [17:24:10] <wikibugs> 03(mod) API: logevents do not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14712 (10Wiki.Melancholie) [17:24:19] <wikibugs> 03(mod) Special:Log/... does not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14711 (10Wiki.Melancholie) [17:24:23] <^demon> brb [17:25:41] <^demon> ok back [17:26:45] <jimbojw> quick question - do WMF hosted wikis have a standard Terms of Service? I can't seem to find one [17:30:23] <^demon> Simetrical: It works perfectly and is pretty damn efficient. Ideal? Probably not. But I've got an idea to merge the basic ideas of ICRepo into ForeignAPIRepo to get a better imagecache solution working. [17:33:19] <wikibugs> 03(NEW) Mention titles limit for action=query in API documentation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14713 15enhancement; normal; MediaWiki: API; (Wiki.Melancholie) [17:38:04] <ialex> ^demon: why don't you use $wgMemc ? [17:38:05] <siebrand> laters [17:40:01] <^demon> ialex: what about for the users that don't have memcached? [17:40:33] <ialex> ^demon: it can fall back to the objectcache table [17:40:54] <^demon> Oh, wasn't sure how Memc worked :-) [17:41:01] <^demon> I'll take a look at that :-) [17:41:52] <ialex> $wgMemc can use memcached, php caches (APC, eAccel, ...) and database [17:42:49] <^demon> Awesome, I really didn't know how caching was done in MW yet. It's one part of the code I know nothing about (although it's not the only :-P) [17:43:44] <^demon> Can the keys in wgMemc be anything? ie: Still cache based on URL? [17:46:50] <wikibugs> 03(NEW) Stable Redirects are broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14714 minor; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [17:47:29] <ialex> ^demon: if key is not really know, generally a md5 hash is used [17:47:35] <ialex> +n [17:47:44] <^demon> So md5($url) would be sufficient? [17:47:54] <ialex> i think, yes [17:48:06] <^demon> I'll take a look :-) [17:48:39] <VasilievVV> ialex: it will fallback on just returning false, not db table [17:49:26] <ialex> VasilievVV: you can set $wgMainCacheType = CACHE_DB; (provided $wgStatsMethod is not 'cache') [17:49:49] <VasilievVV> ialex: not really. I tried, it failed [17:50:24] <ialex> and if you change $wgStatsMethod? [17:53:14] <Reapz> I'm trying to add a link (as content) on an already created page by directly adding the link to the "text" table in the Wiki's MySQL DB. I've made revision, pagelink, recentchanges, page, and text table entries/modifications. The link shows up when I go under "edit" on the page and click save, but when I first refresh the page it doesn't show up. Tried clearing the cache as well. Can anyone help? [17:53:42] <VasilievVV> ialex: anyway, using DB for main cache is very bad idea, since it's slow [17:54:43] <ialex> like transcache table [17:57:23] <mizmo> hey i am wondering what extension mediawiki.org uses for rss export of pages? [17:57:27] <mizmo> it seems to work really well [17:57:52] <VasilievVV> RSS export of pages? [17:59:09] <mizmo> VasilievVV, yeh [17:59:18] <mizmo> VasilievVV, it's actually atom it looks like [17:59:26] <mizmo> VasilievVV, eg http://www.mediawiki.org/w/index.php?title=Special:RecentChanges&feed=atom [17:59:32] <Simetrical> mizmo, that's part of the core software. [17:59:36] <Simetrical> It's not an extension. [17:59:43] <mizmo> Simetrical, ohh [17:59:47] <mizmo> Simetrical, that's only recent changes [17:59:53] <mizmo> Simetrical, i want it to have article content [18:00:59] <ialex> mizmo: there're feeds for history too [18:02:04] <^demon> I can't reproduce the fatal error on using CACHE_DB as the main cache with $wgStatsMethod = 'cache' [18:02:31] <Simetrical> mizmo, those exist too, but currently they're only linked from the history page, not the article page itself. [18:02:37] <Simetrical> Which is stupid and should be fixed. [18:03:42] <ialex> ^demon: that was before Tim changed $wgLoadBalancer to wfGetLB() [18:03:59] <^demon> So bug 12304 is fixed? [18:04:55] <wikibugs> 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 (10Platonides) [18:09:50] <Reapz> Nobody knows about modifying page content manually with the Database? [18:13:49] <wikibugs> 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 (10Simetrical+wikibugs) [18:14:34] <^demon> ialex: Reimplemented with wgMemc. [18:15:49] <^demon> Does it take care of purging expired entries automatically, or do I need to explicitly force it? I set an expiry when I did my set(). [18:16:02] <VasilievVV> ^demon: it purges automaticlly [18:16:28] <^demon> Awesome. I'll recommit. :-) [18:16:56] <VasilievVV> Don't forget to purge on changes [18:19:17] <^demon> It doesn't know if it's a new page or not yet. It's set to expire at a set time (time() + $wgTranscludeCacheExpiry) [18:19:33] <^demon> rephrase: It doesn't know when the remote page has been updated. [18:20:40] <^demon> So it just caches a arbitrary period (same issues as ScaryTranscluding). Just trying to make it _less_ scary so it doesn't Http::get() on _every_ pageload. [18:21:52] <VasilievVV> ^demon: which code/extension?\ [18:23:11] <^demon> This is for ForeignApiFile primarily, but any *File class can use it, of course. [18:23:19] <^demon> Any that use fetchDescription = true. [18:24:21] <CIA-54> 03demon * r36993 10/trunk/phase3/includes/filerepo/ (File.php FileRepo.php): Refactor caching to utilize $wgMemc rather than the transcache table. Thanks to ialex and VasilievVV. :) [18:25:48] <^demon> Less code is better :-) [18:26:54] <VasilievVV> Simetrical: (per last message on bug 13507) It won't. Otherwise we will allow bureaucrats to take control over someone's account and contributions [18:28:03] <Simetrical> VasilievVV, ah, right. [18:28:08] <Simetrical> Only if the password already matches, I guess. [18:28:21] <VasilievVV> Or email [18:28:44] <VasilievVV> Though we won't be able to check matching passwords [18:28:51] <VasilievVV> Because of salting [18:31:13] <ialex> ^demon: simply put $wgTranscludeCacheExpiry for expiry, not time() + $wgTranscludeCacheExpiry or you'll cache till some years [18:31:17] <VasilievVV> ^demon, ialex: for externally fetched things $messageMemc is usually used [18:32:03] <ialex> VasilievVV: $messageMemc is only used for message cache and recentchanges feeds, iirc [18:32:40] <VasilievVV> ialex: and by SpamBlacklist and TitleBlacklist when they fetch external data using Http::get() [18:34:53] <^demon> ialex: I'm redoing it with a configuration variable for the local cache of Repo stuff. Makes no sense to use the transclusion expiry time. [18:36:54] <wikibugs> 03(mod) Stable Redirects are broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14714 minor->04CRIT (10JSchulz_4587) [18:37:10] <wikibugs> 03(mod) Flagging revision should use AJAX - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14003 minor->15enhancement (10JSchulz_4587) [18:37:44] <CIA-54> 03demon * r36994 10/trunk/phase3/includes/filerepo/ (File.php FileRepo.php): Don't use $wgTranscludeCacheExpiry, as it's not designed for this. Make new configuration setting for $wgForeignFileRepos instead called 'localCacheExpiry'. [18:38:12] <Reapz> I'm trying to add a link (as content) on an already created page by directly adding the link to the "text" table in the Wiki's MySQL DB. I've made revision, pagelink, recentchanges, page, and text table entries/modifications. The link shows up when I go under "edit" on the page and click save, but when I first refresh the page it doesn't show up. Tried clearing the cache as well. Can anyone help? [18:39:17] <CIA-54> 03demon * r36995 10/trunk/phase3/includes/filerepo/File.php: -1 unused global. [18:53:04] <^demon> \o/ [18:53:38] <wikibugs> 03(mod) Change autoconfirmed days limit in Chinese Wikipedia. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14624 normal->highest (10alexsh) [18:53:55] <^demon> I got thumbs caching too :-D [19:01:43] <CIA-54> 03skizzerz * r36996 10/trunk/extensions/GroupPermissionsManager/SortPermissions.php: * fix so that the "add permission" box actually saves the added permissions :) [19:03:00] <CIA-54> 03demon * r36997 10/trunk/phase3/ (RELEASE-NOTES includes/filerepo/ForeignAPIFile.php): Cache thumbs from remote sources too. [19:04:25] *^demon does a little dance [19:05:18] <CIA-54> 03aaron * r36998 10/trunk/phase3/includes/Article.php: Refactor some code [19:05:55] <wikibugs> 03(WONTFIX) API: logevents do not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14712 +comment (10roan.kattouw) [19:11:23] <CIA-54> 03ialex * r36999 10/trunk/extensions/ (62 files in 12 dirs): removed svn:executable property on images, JavaScript, CSS and some PHP files [19:19:46] <Simetrical> ^demon, caching foreign files means that they may be out-of-date, right? They aren't going to be purged when the target changes? [19:20:07] <^demon> action=purge forces a re-grab from the remote wiki. [19:20:22] <Simetrical> Mm. [19:20:51] <^demon> Or not...thought it did. [19:20:52] <Reapz> I'm trying to add a link (as content) on an already created page by directly adding the link to the "text" table in the Wiki's MySQL DB. I've made revision, pagelink, recentchanges, page, and text table entries/modifications. The link shows up when I go under "edit" on the page and click save, but when I first refresh the page it doesn't show up. Tried clearing the cache as well. Can anyone help? [19:21:22] <^demon> Simetrical: Maybe try to make action=purge force it to flush the cache? [19:24:19] <atoner80> Soo.. anyone know what hook I would use if I wanted to say, trap a title/article name that is an alias for another, parse it, and load the real article? [19:27:43] <^demon> Simetrical: I'm writing up an e-mail to wikitech to summarize what I've done and what needs to be done. [19:31:32] <wikibugs> 03(mod) Special:Log/... does not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14711 +comment (10Simetrical+wikibugs) [19:38:24] <wikibugs> 03(mod) Mention titles limit for action=query in API documentation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14713 +comment (10roan.kattouw) [19:40:25] <wikibugs> 03(mod) Special:Log/... does not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14711 +comment (10roan.kattouw) [19:44:04] <wikibugs> 03(mod) Make UI easier with diff-only preference - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14581 (10pbirken) [19:50:26] <ntucker01> hi [19:50:36] <ntucker01> i have a question [19:50:41] <CIA-54> 03brion * r37000 10/trunk/phase3/languages/messages/ (15 files): [19:50:41] <CIA-54> Revert r36893 and friends ("Tweak 'previewnote' a bit: Add a handy link to the edit box. Especially useful on long pages.") [19:50:41] <CIA-54> * Mixes control link into general text, will be missing where it's customized [19:50:41] <CIA-54> * Mixes control link into text with a specific style, which is bad form [19:50:42] <CIA-54> * Behavior should be different when edit box is above the preview, but here it's hardcoded [19:50:42] <SillyNew> Hello [19:51:28] <SillyNew> go ahead with your question [19:51:48] <ntucker01> this might seem stupid, but can you use regular php codes in a MediaWiki page [19:52:01] <ntucker01> like include and such [19:52:16] <MinuteElectron> no, you can't [19:52:20] <MinuteElectron> not out of the box [19:52:29] <MinuteElectron> !e PHPLets | ntucker01 [19:52:29] --mwbot-- ntucker01: http://www.mediawiki.org/wiki/Extension:PHPLets [19:52:30] <SillyNew> I have a question too! [19:52:32] <MinuteElectron> I think that works. [19:53:03] <ntucker01> well crud thanks [19:53:23] <MinuteElectron> !ask | SillyNew [19:53:23] --mwbot-- SillyNew: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [19:53:37] <SillyNew> I have a multi-language wiki with a front page leading to all the language portals. Is there a way I can bring the article count from the different portals to that front page? Just like Wikipedia does? [19:54:52] <SillyNew> It is an html page, can be php [19:55:32] <wikibugs> 03(mod) wikibits/insertTags issue on Opera 9.5 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14585 +comment (10apper) [19:55:47] <ialex> SillyNew: it's manually updated [19:56:13] <SillyNew> you mean Wikipedia is manually updated?? [19:56:50] <ialex> you are speaking of http://www.wikipedia.org/ ? [19:56:55] <SillyNew> yes [19:57:29] <SillyNew> I manually update mine but would like to have the code that brings out of a given wiki the article count [19:58:02] <ialex> the source is here: http://meta.wikimedia.org/wiki/Www.wikipedia.org_template [19:58:03] <wikibugs> 03(mod) Special:Log/... does not have a namespace filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14711 (10Simetrical+wikibugs) [19:59:21] <CIA-54> 03brion * r37001 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialSpecialpages.php): [19:59:21] <CIA-54> Revert r36907, 36908 ("(bug 13862) Add TOC to Special:SpecialPages.") [19:59:21] <CIA-54> * I'm not sure I really like the look of the horizontal layout for this many items. [19:59:21] <CIA-54> * It reuses the "filetoc" ID, which is a poor practice as this isn't a file description page TOC. :) [19:59:22] <CIA-54> The IDs for the sections are definitely useful as link anchors, but they may be ambiguous ("user", "wiki", etc) as well [20:00:05] <SillyNew> Ok thanks [20:00:57] <mizmo> thanks for your help Simetrical [20:01:02] <mizmo> (sorry for the late reply) [20:03:16] <SillyNew> I have a globals wiki so the same images can be used across language wikis too. But the thumbnails arent seen. I have looked at all the bugs with no help. I get an openbase dir restriction. [20:07:48] <wikibugs> 03(NEW) Request for the function of flagged revisions in Classical Chinese Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14715 15enhancement; normal; Wikimedia: Site requests; (itsminecookies) [20:09:32] <Duesentrieb> SillyNew: the solution is: remove the open basedir restrictio [20:10:35] <CIA-54> 03brion * r37002 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialUserlogin.php): [20:10:35] <CIA-54> Revert r36916 for now ("(bug 14698) Make "Block account creation" work as advertised. :) ") [20:10:35] <CIA-54> This doesn't appear to be working the right way; it's finding that permission is not allowed, but then trying to ignore particular reasons why it might not be allowed. [20:10:35] <CIA-54> Correct fix should be to ensure that the correct result is actually obtained from the permission check in the first place! [20:10:38] <CIA-54> Note that the error key may have 'autoblocktext' for autoblocks, which would not match this check as written. [20:11:13] <wikibugs> 04(REOPENED) Special:CreateAccount does not respect " Prevent account creation" from Special:BlockIP - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14698 +comment (10brion) [20:12:04] <ialex> brion is in mode revert [20:12:09] <ialex> ;) [20:12:16] <brion_> >:D [20:13:20] <VasilievVV> ialex: not really [20:13:22] <CIA-54> 03jeluf * r37003 10/trunk/extensions/SlippyMap/ (SlippyMap.class.php SlippyMap.php): [20:13:22] <CIA-54> Changed the extension syntax. [20:13:22] <CIA-54> This change is not backwards comaptible. [20:13:22] <CIA-54> New syntax: [20:13:22] <CIA-54> <slippymap lat=51.485 lon=-0.15 z=11 w=300 h=200 layer=osmarender marker=0></slippymap> [20:13:35] <VasilievVV> He reverted less commits than he kept yet [20:14:11] *^demon|away cringes about potentially upcoming filerepo reverts...brion's almost caught up [20:15:49] *rainman-sr eyes r36664 suspiciously [20:17:16] <Duesentrieb> rainman-sr: heya. i saw you adding anchor words the other day. cool :) Any feedback yet? [20:20:28] <rainman-sr> yeah, well, it's not live yet, still waiting for new hardware... it certainly gives nicer results for some queries [20:21:22] <CIA-54> 03aaron * r37004 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: [20:21:22] <CIA-54> * Doc typo [20:21:22] <CIA-54> * Explicit visibility [20:25:07] <VasilievVV> brion: so many reverts... And scap expected? [20:26:23] <brion> when code review is complete [20:27:22] *^demon rushes to commit more files than brion can review, making scap impossible. [20:28:24] *VasilievVV will kill ^demon then [20:28:41] *^demon stabs VasilievVV with his ^ [20:28:43] *Raymond_ slaps ^demon [20:28:50] <brion> :D [20:29:34] <Splarka> The Real Life: SVN [20:29:46] <ialex> \o/ [20:30:44] <VasilievVV> In Soiet Russia, you revert brion :) [20:30:55] <ialex> :D [20:31:40] <CIA-54> 03siebrand * r37005 10/trunk/ (6 files in 3 dirs): [20:31:40] <CIA-54> More L10n crap from Betawiki [20:31:40] <CIA-54> * special pages and magic words updates [20:32:34] <rainman-sr> hmm, since r36664 stuff like -{test: don't convert this}- doesn't work any more (due to semicolon in -{}- tags) [20:32:46] <Splarka> VasilievVV: you left out a V, too many in your nick? [20:33:12] <VasilievVV> only 4 [20:33:49] <VasilievVV> And 3 of them are upper-case [20:33:59] <rainman-sr> VasilievVV == the triple whee \o/ [20:34:14] <Splarka> VasilievW might save space ^_^ [20:34:29] <VasilievVV> Wictor? [20:37:56] <CIA-54> 03aaron * r37006 10/trunk/ (5 files in 3 dirs): Make redirects work properly with flagging (bug 14714) [20:38:14] <wikibugs> 03(FIXED) Stable Redirects are broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14714 +comment (10JSchulz_4587) [20:41:45] <StevenW> does anyone know the hex triplet for the the default link color of mediawiki? [20:41:48] <StevenW> is* [20:42:15] <wikibugs> 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 (10Platonides) [20:42:15] <StevenW> never mind [20:42:59] <RoHawks> Where do i edit user groups? [20:43:13] <Splarka> !rights [20:43:13] --mwbot-- For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [20:44:35] <RoHawks> isnt here a page for that? do i have to edit a php file? [20:44:49] <Simetrical> !config | RoHawks [20:44:49] --mwbot-- RoHawks: All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See <http://www.mediawiki.org/wiki/Manual:Configuring_MediaWiki>, <http://www.mediawiki.org/wiki/Manual:LocalSettings.php>, <http://www.mediawiki.org/wiki/Manual:Config_script>, and <http://noc.wikimedia.org/conf> [20:45:27] <Splarka> but [20:45:36] <Splarka> if you mean change user groups for users, then you go to Special:Userrights [20:45:52] <Splarka> (although if you have nothing set up it'll be pretty basic, sysop/bureaucrat/bot etc) [20:46:27] <RoHawks> I gotta do so i must accept the changes people do before it display [20:48:04] <RoHawks> is that possible? [20:49:34] <Duesentrieb> RoHawks: in the latest version, yes. it's called "tagged revisions" aka "stable versions". [20:49:55] <Duesentrieb> RoHawks: though the afaik, the "unknofirmed" version is always available, just not shown per default [20:50:26] <CIA-54> 03brion * r37007 10/trunk/phase3/languages/messages/MessagesEn.php: [20:50:26] <CIA-54> Revert r36954 ("Change canonical name for BlockIP to BlockUser, since it's been used to block logged-in users as well as IP users since forever.") [20:50:26] <CIA-54> If we're going to change it, we should probably just make it Special:Block. :) [20:50:40] <RoHawks> not in special pages? [20:51:02] <Duesentrieb> huh? [20:51:15] <RoHawks> its first time im using this wiki [20:51:28] <Duesentrieb> RoHawks: it's quitre a complex system with lots of options. it cane be used to do what you want, i think, or at least something close to that. see http://www.mediawiki.org/wiki/Flagged_Revisions [20:52:06] <Duesentrieb> RoHawks: generally, this type of moderation is un-wiki-ish. [20:52:17] <RoHawks> :/ [20:52:21] <Duesentrieb> a wiki is a place where everyone can edit everything, right away [20:52:39] <Duesentrieb> if you want a cms, install a cms... [20:52:49] <RoHawks> Well, there is alot of people that destoy files [20:53:02] <Simetrical> brion, less explicit, I feel. "Block" can be a noun or a verb and might mean a number of things. It's not used by most web apps; "ban" or "suspend" is more common. "BlockUser" is about as clear as it gets given the constraint of using the word "block" and not a more usual term. [20:53:13] <RoHawks> i have no good cms. [20:53:26] <Duesentrieb> !cms [20:53:26] --mwbot-- Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at <http://www.opensourcecms.com/> including the possibility to try each system. For was to restrict access in MediaWiki, see !access. [20:53:38] <Duesentrieb> !spam [20:53:38] --mwbot-- For information about combating and handling spam in MediaWiki, see <http://www.mediawiki.org/wiki/Manual:Combating_spam> and <http://meta.wikimedia.org/wiki/Anti-spam_Features>. [20:53:54] <Duesentrieb> some of the anti spam features also work against vandalism [20:54:07] <Duesentrieb> the wiki way of fighting spam and vandalism is: have an active commun ity [20:54:12] <Simetrical> BlockIP is stupid in any event. [20:55:13] <derenrich> Check this link http://en.wikipedia.org/wiki/index.php?diff=163532478 and click on the article tab. Is that the intended behavior? [21:03:15] <brion> ^demon: i'm not sure i understand r36997 [21:03:56] <brion> if we've already fetched the thumbnail data from the repository, there's no significant local work done in slapping an <img> together by calling handler->getTransform() [21:04:01] <brion> what's it actually saving? [21:04:52] <^demon> The result from the transformation is what's being cached, so the actually Http::get() to grab the remote URL isn't needed. [21:05:02] <^demon> s/actually/actual/ [21:05:22] <brion> but we did $thumbUrl = $this->repo->getThumbUrl( ahead of time ... [21:05:42] <^demon> That's just getting the Url, not the resource. [21:05:44] <brion> it appears to be caching only the result of handler->getTransform(), to which we pass the thumb URL that we fetched from the foreign repo [21:05:51] <brion> which is already cached in memcached by the repo code [21:06:12] <brion> can you show me a comparison of URL fetches with and without this code? [21:06:21] <^demon> Bah, you're right. [21:06:25] <^demon> I see where I messed up. [21:10:43] <^demon> brion: I'll revert that bit. Does the description caching look ok though? [21:12:09] <wikibugs> 03(NEW) Disable rollback throttling in the Hungarian Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14716 15enhancement; normal; Wikimedia: Site requests; (gtisza) [21:12:19] <wikibugs> 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 (10Simetrical+wikibugs) [21:12:40] <brion> looks fairly sensible [21:12:45] <CIA-54> 03demon * r37008 10/trunk/phase3/includes/filerepo/ForeignAPIFile.php: Revert thumb caching because it wasn't actually caching what I thought it was. [21:12:58] <brion> might want a more explicit key though [21:13:21] <brion> an unadorned md5 hash is a bit opaque :) [21:13:45] <brion> might also consider changing the config [21:14:09] <brion> instead of useLocalCache and localCacheExpiry, perhaps just have descriptionCacheExpiry [21:14:12] <brion> if it's 0, don't cache [21:17:08] <wikibugs> 03(mod) Disable rollback throttling in the Hungarian Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14716 (10benno79) [21:18:18] <^demon> Tweaked the config and coming up with a new key. would 'foreignimgdesc-' . md5($link) be better? [21:19:21] <brion> wfMemcKey( 'filedesc', 'url', md5($link)) mebbe [21:20:01] <brion> or you could construct it manually to avoid using the wiki's prefix; that would share the cache among potentially multiple wikis on the host (but could interfere if they have different ideas of how long they coudl cache) [21:22:47] <^demon> Hmmm. [21:25:32] <CIA-54> 03brion * r37009 10/trunk/phase3/includes/api/ApiFormatXml.php: [21:25:32] <CIA-54> Have been playing with custom API modules and been a bit frustrated with the XML output mode... [21:25:32] <CIA-54> Adding pseudo-element _attribs alongside _element for XML output. There doesn't [21:25:32] <CIA-54> seem to be a good way currently to specify both attributes *and* subelements -- [21:25:35] <CIA-54> '*' lets you have text and attributes, but not sub-elements and attributes. [21:25:37] <CIA-54> Contents of _attribs will be added as attributes without disturbing the [21:25:39] <CIA-54> sub-elements. [21:33:22] <CIA-54> 03demon * r37010 10/trunk/phase3/includes/filerepo/ (File.php FileRepo.php): Simplify configuration and make a better caching key. [21:36:23] <CIA-54> 03brion * r37011 10/trunk/extensions/ (2 files in 2 dirs): fix parse errors [21:38:12] <AaronSchulz> brion: lol, not very encouraging ;) [21:39:41] <CIA-54> 03raymond * r37012 10/trunk/phase3/languages/messages/MessagesDe.php: Localisation updates German [21:50:35] <recognizer> Hi, who knows how to install mediawiki with postgresql? i get an error with the db connection in the page localhost/mediawiki-1.7.3/config/index.php and i dont know what's wrong, i have done this in my machine with apache2 and postgres8.3 any suggestion? [21:50:53] <Duesentrieb> 1.7? ugh :( [21:50:59] <recognizer> yes [21:51:06] <Duesentrieb> not that i know anything about PG support, but 1.7 is... ancient. [21:51:07] <Simetrical> recognizer, talk to G_SabinoMullane. [21:51:13] <Simetrical> Uh, and don't use 1.7. [21:51:15] <Simetrical> Use 1.12. [21:51:32] <NicDumZ> :) [21:52:05] *Lady_Aleena waves to everyone for no particular reason. She felt the need to say something since this window is open. [21:52:29] <recognizer> mmm i want to install 1.7 because i want to test the script about upgrade [21:53:43] <Duesentrieb> fair enough. bit it's possible that PG support is broken in 1.7. PG tends to break every now and then, no oine uses it anyway :) [21:56:09] <recognizer> ok you're rigth and thanks [22:02:48] <mattst88> I have the Cite and ParserFunctions extensions installed, but when rendered, {{cite web|url=...|title=...}} and similar appear as Template:Cite web. [22:02:57] <mattst88> how can I fix this? [22:03:30] <Splarka> the extension uses <ref> and <references />, {{cite}} is an optional wrapper template for it [22:03:43] <Splarka> wherever you saw {{cite}} used, go to Template:Cite [22:04:06] <Splarka> er Template:Cite_web [22:04:11] <wikibugs> 03(NEW) wikibits includes nonexistent stylesheet, KHTMLfixes.css - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14717 minor; normal; MediaWiki: User interface; (bugz-wikimedia) [22:05:59] <mattst88> Splarka, ahh, so I need to install Template:Cite_web extension? [22:06:06] <Splarka> no [22:06:10] <Splarka> you just need to copy the template [22:06:34] <NicDumZ> Thanks for your in-depth answers, Simetrical, it helps :) [22:06:52] <recognizer> i have other question, i want to install the ver 1,12,0 in postgresql with the superuser account of the bd, how can i know this password? [22:06:55] <Splarka> templates are shortcuts for repetitive wikicode, {{cite web}} calls Template:Cite_web, and does parameter replacement [22:08:13] <mattst88> Splarka, do you know a link that will show me how to do this? [22:08:19] <Simetrical> NicDumZ, where? [22:08:23] <Reapz> I'm trying to add a link (as content) on an already created page by directly adding the link to the "text" table in the Wiki's MySQL DB. I've made revision, pagelink, recentchanges, page, and text table entries/modifications. The link shows up when I go under "edit" on the page and click save, but when I first refresh the page it doesn't show up. Tried clearing the cache as well. Can anyone help? [22:08:38] <NicDumZ> Simetrical, wikitech-l, category redirects ;) [22:08:43] <NicDumZ> sorry :) [22:09:09] <Splarka> !templates | mattst88 [22:09:09] --mwbot-- mattst88: For more information about templates, see <http://www.mediawiki.org/wiki/Help:Templates>. The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions <http://meta.wikimedia.org/wiki/Help:ParserFunctions> and enabling HTML Tidy <http://www.mediawiki.org/wiki/Manual:%24wgUseTidy>. [22:09:26] <mattst88> thanks :) [22:09:52] <Splarka> Cite_web is probably a rather complex template to copy for your first time [22:10:18] <Splarka> (although you could export it with all dependencies, and import it on your wiki) [22:11:16] <NicDumZ> Simetrical, if I read you well, you suggest adding both cl_redir & cat_redir ? :) [22:12:09] <wikibugs> 03(NEW) Make Special:Log/CheckUser an alias for Special:CheckUser/ Log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14718 15enhancement; normal; MediaWiki extensions: CheckUser; (mike.lifeguard) [22:12:19] <Simetrical> NicDumZ, yes, with cat_redir being the canonical value and cl_redir being effectively a cached value. [22:13:11] <NicDumZ> understood, branching :p [22:14:05] <CIA-54> 03guyvdb * r37013 10/branches/visual_diff/phase3/includes/Diff.php: New LCS implementation - 2 to 3 times faster than diff [22:14:59] <Simetrical> Than what diff, GNU diff? [22:16:14] <guyvdb> than DifferenceEngine.php [22:16:34] <Simetrical> Well, nobody who wants anything fast uses that anyway, they use wikidiff2. [22:17:08] <guyvdb> I need to rewrite the php code anyway so I might aswell make it fast [22:17:15] <Simetrical> :) [22:17:22] <Simetrical> Planning on replacing DifferenceEngine.php or what? [22:17:31] <Simetrical> I think Tim-away wrote the current version. [22:17:52] <guyvdb> yeah I've been meaning to talk to him [22:18:01] <guyvdb> I'm a google summer of code student [22:18:05] <Simetrical> Ah. [22:18:53] <guyvdb> my project is about making a visual diff, but first I need to make the current diff more general [22:22:13] <Simetrical> Definitely talk to Tim. [22:22:16] <Splarka> one slightly annoying thing about the diffing is: http://test.wikipedia.org/w/index.php?title=Flibble&diff=61156&oldid=61155 [22:22:48] <Simetrical> There may be some characteristics of the current diff algorithm that are considered very important. [22:22:52] <Splarka> it seems not terribly hard to make it slightly intelligent in () [] {} <> priority [22:23:44] <Splarka> (but might be terribly slower, heh) [22:30:21] <Michael_M> How do I get rid of the padding above the navigation?? http://www.enworld.org/wiki/index.php/Main_Page [22:32:53] <YurtleTheTurtle> Have you looked over the CSS? [22:33:12] <Michael_M> Some. [22:33:59] <Splarka> #column-one { [22:33:59] <Splarka> padding-top: 160px; [22:34:04] <Splarka> is possibly what you're after [22:34:43] <Splarka> in monobook that sticks the navigation portlets just below the logo (everything above the generated sidebar portlets is floating: logo/cactions/personal) [22:35:15] <Michael_M> Exactly. Thanks Splarka [22:35:18] <Splarka> np [22:36:07] <Michael_M> This is moving smoothly. I'm not changing the monoblock css files - just overriding them at the end (taking advantage of the "cascading" in "cascading style sheets). :) [22:38:13] <Splarka> well, if you're making a whole new skin, you should probably overwrite them [22:38:27] <Splarka> and if not, you should do all changes to MediaWiki:Skinname.css on-site [22:38:49] <Splarka> appending to a copy of main.css just makes it harder to upgrade [22:39:16] <Michael_M> No, my changes are off in their own file that's loaded after the wiki css files. [22:39:20] <Splarka> ahh [22:39:44] <Michael_M> Actually they begin life as inline css in the header, but I move that to a file once I'm done building. [22:40:01] <Splarka> why not put them into http://www.enworld.org/wiki/index.php/MediaWiki:Enw.css ? [22:40:10] <Splarka> (that is already being loaded) [22:40:41] <Splarka> you can even test them live (if usercss is enabled) in User:Yourname/enw.css with [preview] [22:41:21] <Michael_M> I probably will. However it's a little tricky. For one there's a global style.css that has to work with mediawiki, my custom pages and vbulletin. [22:44:27] <Michael_M> Looking pretty clean at this point in FF3 [22:44:29] <Michael_M> http://www.enworld.org/wiki/index.php/Main_Page [22:47:54] <YurtleTheTurtle> Wow I hate having only a evdo internet connection [22:47:59] <wikibugs> 03(NEW) Rename Spam blacklist to "URL exclusion list" or " URL Blacklist" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14719 normal; normal; MediaWiki extensions: Spam Blacklist; (mike.lifeguard) [23:01:02] <AaronSchulz> brion: :'( [23:01:25] <AaronSchulz> the toyota corolla I was interested in was sold already [23:01:46] <brion> awww [23:01:59] <Simetrical> Surely there's more than one Toyota Corolla in the world? [23:02:44] <AaronSchulz> not for that price [23:12:18] <paulproteus> If I'm working with three other people on an extension, and we want to get it into MediaWiki subversion, should each developer have a separate ssh key in MW svn? [23:12:41] <paulproteus> Or should we instead share an SSH key between all of us, keeping it on some server, and all of us using that same key to do commits to MW Subversion? (brion?) [23:13:01] <paulproteus> The extension is SemanticTasks, an add-on for Semantic MediaWiki. [23:14:00] <Steren> (I just sent a mail to brion concerning this request) [23:14:33] <paulproteus> I ask because as I understand MW svn (reading the svn logs), each developer (i.e., human being) who works on the code should have a separate username and SSH key in MW Subversion. [23:45:11] <YurtleTheTurtle2> Splarka: who did you tell me I should talk to about that custom parser fucntion not rendering some wikitext? [23:50:54] <Splarka> Yurtle: did I? not sure, prolly tim, check the logs [23:51:04] <Splarka> http://tinyurl.com/2896ae