[00:05:14] p858snake: Meta Admins don't have anything to do with Special:SiteMatrix - you're thinking of interwiki map [00:06:09] well i was just guessing that since it was on meta >.> [00:17:29] p858snake: it's on every wiki [00:17:31] that's the point [00:18:26] 03tparscal * r53990 10/trunk/extensions/UsabilityInitiative/ (12 files in 7 dirs): Changed references to jQuery to be compatible with the upcoming switch to js2 - also cleaned up some toolbar code, moving the majority of the code into it's own plugin. [00:22:38] 03conrad * r53991 10/USERINFO/conrad: Adding myself to USERINFO [00:23:19] *AaronSchulz wonders what the WMF electric bill are [00:23:43] how are tildes-based signatures treated when sent through the API ? [00:23:52] as if they were posted by a human ? [00:24:17] or is it necessary to put the "substed" signature in wikitext ? [00:24:30] Alphos: for page editing, they are treated as normal [00:24:36] ok :) [00:24:38] for parsing, you need to specify &pst= [00:24:48] in order to expand them, and subst: [00:24:51] i meant for page editing [00:25:13] 03tparscal * r53992 10/trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php: Fixed bug that prevented $wgEnableJS2system from being properly detected. [00:25:24] so if i send '~~~~' as appendtext, it will show as my usual signature, right ? [00:25:32] should do [00:27:09] thanks :) [00:30:49] 03conrad * r53993 10/trunk/extensions/Transliterator/Transliterator.php: Add the "answer" parameter to override, some edge-case handling [00:46:04] 03(mod) Link text shouldn't be duplicated in title attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=542 (10jchang641+bugzilla) [01:03:49] 03yaron * r53994 10/tags/extensions/Maps/: Directory for Maps extension [01:04:49] 03dale * r53995 10/trunk/extensions/WikiAtHome/WikiAtHome.sql: updated schema [01:04:56] 03yaron * r53996 10/tags/extensions/Maps/REL_0_2/: Tag for version 0.2 [01:05:52] 03yaron * r53997 10/tags/extensions/SemanticMaps/: Directory for Semantic Maps extesnion [01:06:35] 03yaron * r53998 10/tags/extensions/SemanticMaps/REL_0_2/: Tag for version 0.2 [01:24:53] 03(mod) Link text shouldn't be duplicated in title attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=542 +need-review (10jchang641+bugzilla) [01:28:33] 03(mod) Documentation is out of date, incomplete - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20000 +comment (10Emufarmers) [01:30:12] 03dale * r53999 10/trunk/phase3/js2/mwEmbed/ (3 files in 3 dirs): refactored get token to mv_embed global function [01:51:57] hi guys [01:52:06] I've been digging through code for a while.. [01:52:15] is there any tutorial on creating interlanguage links? [01:55:46] Maybe you should try digging through the documentation instead of the code [01:56:47] Emufarmers: already tried that :S [01:56:58] oh. [01:57:00] gosh. [01:57:10] maybe I should get the 'Interlanguage' extension [01:58:47] Not sure it'll help you; you probably want http://www.mediawiki.org/wiki/Interwiki#Interwiki_links_to_other_languages [01:59:51] gah [01:59:53] the only problem [02:00:01] I don't want to install multiple wikis [02:00:14] I just want like /wiki/fr:Accueil [02:00:25] not sure if that's possible with interlanguage links [02:00:37] Doesn't sound like you want interlanguage links, then; set up a namespace [02:01:21] but I want that nice convenient box :D [02:01:38] I want a pony [02:01:44] hah [02:02:08] i want a job [02:02:31] p858snake: what skills do you have? [02:05:34] cert 1 in word education / cert 2 in workplace practises / cert 1,2,3 in Information Technology (Networking) / HS / pre press management (page bleed ect) / page design and layout / basic knowledge in HTML CSS and PHP [02:06:01] and i'm currently doing my Dipolma in Information Techonogly (Networking) [02:06:10] also i suck at spelling today [02:06:10] Pre press management? [02:07:22] its to do with page management before production, eg: ensuring bleeds and margins are correct, photos are correct sizes, photos are correct formats, pages exported to correct formats and such [02:07:48] Sounds boring :| [02:08:55] i liked it because i'm more of a behind the scenes type person compared to the page design and layout type [02:15:25] rar [02:15:56] Splarka: https://bugzilla.wikimedia.org/show_bug.cgi?id=20000 [02:16:55] *Splarka wants bug #0 [02:17:05] Splarka: see my comment :D [02:17:35] 03(NEW) Zero index me baby - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=0 normal; Normal; Wikimedia: Bugzilla; (herd) [02:28:00] 03(mod) No message shown anymore (blank) after flagging [if JavaScript is disabled] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19981 (10Wiki.Melancholie) [02:40:33] hansengel: you can interlang as a loopback [02:40:51] just make all the URLs point back to your wiki, like http://yourdomain/index.php/$1 [02:41:08] ok [02:41:12] so do I need to add an interwiki [02:41:16] for each language? [02:41:17] then you can, on [[foobar]] put [[de:zis ist zas foobar!]] [02:41:29] and on there you can put [[en:foobar]] [02:41:42] well, yah [02:42:03] if you set an interwiki that matches one of the language prefixes in /languages/Names.php it magically becomes an interlang [02:42:13] you can't have namespaces matching these prefixes though [02:42:28] though one school of thought is to have subpages, like... [02:42:46] on [[Main Page]]: [[de:Main Page/de]] [[fr:Main Page/fr]] etc [02:43:18] Splarka: ok I'll try that [02:43:19] thanks :) [02:43:23] *Splarka transforms p858snake into a pony and gives him to Emufarmers [02:43:44] *p858snake stampeeds Splarka [02:43:51] How / where is information stored in the DB about where uploaded files are located? I have looked at the image table, but doesn't appear to be anything there about the location of the files. [02:43:56] what, you got a job, and emu got a pony! [02:44:15] hah [02:44:41] Reason asking, I have an issue with two files. The copies on the server are fine, if you direct a browser to the files, they display fine. [02:45:02] However, on the pages and categories that the pages are displayed on, the pages simply fail to load, you get a 500 error. [02:45:15] Dr_DBW: $wgUploadPath and $wgUploadDirectory and $wgHashedUploadDirectory determine it I'd guess [02:45:20] Seems to point to me that the DB has something messed up in it. [02:46:00] Splarka: so if I add languages into this array [02:46:08] and add a row for each language in _interwiki [02:46:16] Splarka: thanks, yes that is the directory they are located in. I mean the location of a particular file. Witihn the upload directory it is broken up into 1, 2 first level, then 11, 12 etc second level. [02:46:17] and then add [[iso:Foo]] into a page [02:46:21] it should work fine? [02:46:57] So a file may be in 9/91/Image_file.jpg [02:47:00] hansengel: dunno, give it a try, all greek to me [02:47:20] Dr_DBW: that is static based on the MD5 of the filename [02:47:27] no need to store anything but the name in the DB [02:47:36] Where in the DB is the 9/91 information stored? Ahhh, OK. [02:47:49] $md5(Wiki.png) -> bc32c4ef985f1924664e5f5c7359ef62 [02:47:51] gives b/bc/ [02:48:01] That is what I wanted to know. Makes sense now. [02:48:02] note uppercase and omission of namespace [02:48:23] So I can check the md5 for the file, check that against what is stored in the DB, and if they are the same, then that isn't the issue. [02:48:52] there are some maintenance scripts to fix db/file inconsistency issues, maybe [02:49:03] or you could just delete/undelete, or try reupload? maybe [02:49:42] Thank you very much Splarka, got a couple of things to try out now. Much appreciated. [02:49:48] rar [02:50:45] *Splarka gives p858snake a sugar cube [02:52:34] why is iw_url in the interwiki table a BLOB? o_O [02:58:02] Splarka: woo! worked. [02:58:06] thank you [03:37:46] say if you gave all users (*) the edit permission but created a second group with the edit permission, would that still create the second group that you could put people in? [03:39:48] It should. [03:55:06] I'm using javascript code in MediaWiki:Common.js to create a Date object. The problem is that when a Date object is created it's time is based of the client's system time. I however want it to use the server time. I found this possible solution but was wondering whether it'd be possible in mediawiki - http://javascript.internet.com/time-date/serverdate-to-javascript.html. Or if anyone had another solution of how to get the server time through java [03:55:06] script that'd be great [03:58:05] RichardJ87: you mean you want it to use the timezone set in $wgLocaltimezone ? [03:58:18] or UTC [03:58:46] or you want the minutes/seconds based on the server's clock, rather than the client's clock? [03:59:05] yeah I want the minutes/seconds to be based on the server's clock [03:59:17] ahh, less easy... [03:59:28] but you could make an API call like... [04:00:13] http://en.wikipedia.org/w/api.php?action=parse&pst=1&text=~~~~~%0A{{CURRENTTIMESTAMP}} [04:00:38] http://en.wikipedia.org/w/api.php?format=jsonfm&action=parse&pst=1&text=~~~~~%0A{{CURRENTTIMESTAMP}} [04:00:59] if you have parserfunctions you could get unix time... [04:01:27] http://en.wikipedia.org/w/api.php?format=jsonfm&action=parse&pst=1&text=%7B%7B%23time%3AU%7D%7D [04:01:57] create a new date object, and .setTime() it with that [04:03:10] I haven't used the API like that before, not seeing what that does exactly. Is there a guide for using the API somewhere? [04:03:23] well, haven't used the API fullstop [04:04:02] but yeah I agree with the solution, I just need to get the server time in a format that I can set the Date object with [04:13:06] 03nad * r54000 10/trunk/extensions/RecordAdmin/RecordAdmin.php: fix bug in new 'edit with form' link [04:14:31] RichardJ87: it is rather annoying to get it working from ISO8601 and signatures [04:14:57] better to use #time:U and then adjust the timezone manually (if at all) [04:18:01] 03nad * r54001 10/trunk/extensions/RecordAdmin/RecordAdmin.php: fix better [04:21:24] Is there a way to include uploaded text files inline into a page? [04:25:52] RichardJ87: http://p.defau.lt/?t_TXLj43uGEVcGHrh2nBaQ [04:26:34] this requires ParserFunctions #time, also time + '000' is because setTime expects milliseconds [04:28:14] one could, also, I suppose, set a global scoped time object when making the importScriptURI call, and check it against another when the callback activates, and find the time difference, and divide by two, and add that half difference to the setTime time, to offset for the round trip lag [04:28:44] mmm, also that is cached, hmm [04:30:12] but is it possible in Common.js javascript code to just go dateObject.setTime({{time:U}} * 1000); [04:31:36] nope, because it isn't expanded [04:31:42] javascript is loaded with action=raw [04:31:48] and is also agressively cached [04:31:58] you have to make a separate call [04:34:51] How do I do that? [04:35:04] per my last example [04:35:08] importScriptURI or ajax [04:35:11] http://p.defau.lt/?HjJlc6sVSvxiAG2v8ICezA [04:35:20] here, this one auto-calculates the round trip lag and offsets for it [04:36:16] oops [04:36:35] *Splarka fixes mistake, heh [04:36:36] http://p.defau.lt/?hrUZjazc1upsDg28wXasmA [04:36:37] there [04:37:06] ta [04:37:16] but requires ParserFunctions extension [04:37:24] can be done without, but much more raw string parsing to get a useable date [04:48:53] Great eBarrier Reef fail: http://www.news.com.au/technology/story/0,28348,25851450-5018992,00.html [04:49:07] *Splarka Nelson Muntzs that [04:53:35] http://www.oregonlibraries.net/images/pornography.jpg [04:54:21] is that nsw or qld's block? [04:54:38] awesome [04:54:55] nsw it looks like [04:55:15] oh, that last pic? I think unrelated. but funny [05:26:57] 03raymond * r54003 10/trunk/extensions/SemanticMaps/SemanticMaps.i18n.php: Follow-up r54002: Fix encoding crap introduced in r53978 [05:46:43] 03raymond * r54004 10/trunk/extensions/ (3 files in 2 dirs): [05:46:43] * Update extension credits [05:46:43] * Add to translatewiki [05:49:11] 03raymond * r54005 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: Follow-up r54004: Fix optionale message key [06:15:10] 03(mod) Change autoconfirmed settings on plwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19993 (10wpedzich) [07:07:12] 04(REOPENED) Page shown as draft after being sighted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18419 +comment (10zolithemexican) [07:09:35] Question: how do I delete (empty) a mediawiki db entirely, in order to run mwdumper and load content once more? (I don't want to delete the db, just empty it). Is there a simpler way than truncating all tables? [07:17:16] luca: if you want an empty wiki, install a new one, [07:19:02] I was trying to avoid that... [07:19:16] Oh well. [07:20:06] Because I am testing something, so I will need to repeatedly empty it I guess. I will write a script. [07:22:02] Thanks, and nice to talk to you, btw! [07:22:40] maybe it's the wrong place to ask but about mwlib, i just noticed centos can do yum install python-mwlib [07:23:36] would that install only bin, or also everything so i can make adjustments where necceary (i read mwlib are python scripts) so i don't really know what to expect. [07:36:11] phr34k: if it doesn't include the source, there would be a package called python-mwlib-src or python-mwlib-dev that does. [07:36:55] if all else fails... http://code.pediapress.com/wiki/wiki/mwlib [07:37:52] luca: install a fresh wiki. them make a database dump. then test. import dump. test. rinse, repeat. [07:38:13] luca: mysqldump is handy! [07:38:56] Good idea. But truncating tables is also easy. My only worry is if empty tables are NOT an appropriate start for mwdumper, but from other info I found, they seem to be. [07:39:11] depends on the table [07:39:21] emptying the interwiki is probablöy not what you want [07:39:26] the user table could be annoying to [07:39:47] so, get the wiki into whatever state you want, with ot without content, and make a snapshot, aka dump [07:39:54] that way, you can go back whenever you like. [07:40:19] But I would have anyway to truncate the tables before I import the dump. [07:41:32] Anyway, good idea, I will do now a dump. It's also that I have the wiki with LocalSettings.php and some files below that all ready, and installing a new wiki cleans that as well, which is not what I want. [07:41:49] I want to keep the extensions in place. [08:43:40] 03vasilievvv * r54006 10/trunk/phase3/includes/specials/SpecialVersion.php: Use $wgFileExtensions to check whether SVG is enabled [08:48:01] Could someone please give me a clue how to transclude a page from an exteral media wiki site like transcluding a defnition for some word in wikipedia in my own mediawiki site? [08:49:37] If the php code of mediawiki encounters any errors, where are they logged? [08:49:45] !wg EnableScaryTransclusion [08:49:45] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgEnableScaryTransclusion [08:49:49] luca: depends on your PHP settings [08:50:02] ? [08:50:17] Which config file? [08:51:32] Ah, I see, /etc/php5/apache2/php.ini seems to contain some configuration info...? [08:54:10] should be a very simple question; I'd like to start using the "collapsible list" template, but am unable to locate it; if anyone could shed some light, i'd owe you a metaphorical beer [09:06:30] thanks. I read up on scary transclusion, I didn't see how to transclude from a remote site though. Is it possible? [09:07:02] tbert: The show / hide thing? [09:07:26] It's JavaScript. [09:08:40] mgrant_: scary transclusion is always about remote sites. what exactly are you trying to do? [09:09:09] You have to set iw_trans in the interwiki table. [09:09:10] I'm trying to suck a page in from the ballotpedia site into another media wiki site [09:09:19] But I have no idea how to do that. [09:09:35] you do it with sql. [09:09:41] Scary. [09:09:50] that'S *not* the scary bit... [09:10:16] mgrant_: you have to set up an interwiki prefix for it. then you can just use {{prefix:pagename}} [09:10:41] ahh, ok, that makes more sense, where does one set up those prefixes? [09:10:41] You can also export from that wiki and import into your local wiki [09:10:52] !interwiki | mgrant_ [09:10:52] --mwbot-- mgrant_: 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 [09:11:14] Annemarie: I understand it's javascript, but my understanding is that it's driven by a template file [09:11:17] nice, ok, reading, thanks... [09:11:37] a file I neither appear to have, nor to know where to get [09:11:41] tbert: You need to add the JS. Then you can use a template or call the code directly. [09:11:44] Templates are pages. [09:11:49] JS is stored in pages too. [09:11:58] The show / hide is available... [09:12:40] Here: http://en.wikipedia.org/wiki/MediaWiki:Common.js [09:13:04] /** Collapsible tables [09:13:07] And... [09:13:19] /** Dynamic Navigation Bars [09:13:42] 03(FIXED) LQT threads and archives need to be nice and searchable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19339 +comment (10agarrett) [09:15:22] 03(NEW) Need to tweak thread search results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20002 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [09:15:55] 03(NEW) LiquidThreads search does not search the thread subject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20003 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [09:17:21] 03(NEW) LiquidThreads search supports only Lucene - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20004 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [09:19:28] Annemarie: 1) where does this .js need to go under my installation; 2) I'm talking about the Collapsible list template, as detailed here http://en.wikipedia.org/wiki/Template:Collapsible_list [09:21:11] tbert: The JS goes on the equivalent page on your wiki. [09:21:26] whatever.com/wiki/MediaWiki:Common.js [09:21:45] If you view the source of that template, you see