[00:09:34] w00! modified DeleteBatch to do searches. :) [00:16:56] oi. how that [00:17:23] so you can del a batch of search results? [00:23:42] yup :) [00:33:38] can you post it on the talk page of the extension? [00:34:26] when I'm done with it :) [00:35:31] *CaT[t3] is currently trying to find the methods that are attached to $wgOut but is failing. :/ [00:41:06] CaT[t3]: It's in OutputPage.php IIRC [01:01:58] what's the most efficient way to monitor a user's contribs without manually refreshing? [01:03:44] in core, probably $wgUsersNotifiedOnAllChanges (very spammy though) [01:04:35] but do you mean on-site (javascript for example) or off-site (rss/email/irc)? [01:05:31] hm, both if possible [01:05:58] I'm getting "MySQL returned error "1146: Table 'wikidb.user' doesn't exist (localhost)"" from migratePass1.php because it's not using the mw_ database prefix [01:06:03] How can I make it use that prefix? [01:06:45] Mentifisto: http://www.mediawiki.org/wiki/Manual:IRC_RC_Bot is how WMF watches all the changes live, pretty much [01:06:55] hi,all. [01:07:02] pfruan: which plugin? [01:07:44] external AuthPlugin [01:08:38] i have to use some external AuthPlugins.but none worked for me [01:09:07] Splarka: and onwiki? [01:09:41] hmm, thinking... [01:09:45] ? [01:09:54] pfruan: please be patient [01:10:10] ok [01:10:11] if someone can answer your question then they will do so eventually [01:10:23] probably a javascript that would, while you're on Special:Contributions/User, would check the API action=query&list=usercontribs&ucuser=User every minute, and refresh the page if there was a new contrib [01:13:03] they say edit LocalSettings.php ,add something like this would do the right work [01:13:13] include_once( 'extensions/IntelliAuthentication.php' ); [01:13:43] $wgAuth = new IntelliAuthenticationPlugin(); [01:13:44] i tried.but no effect on my mw site [01:14:49] 03(mod) Use database instead of filesystem for updateSearchIndex.php position record - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11654 (10jidanni) [01:15:34] Splarka: is that usable in a monobook.js? [01:15:57] should be [01:16:08] any guy would kind to give some suggest? [01:18:28] 04(REOPENED) updateSearchIndex.php assumes it is the writing for the only wiki using the disk - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11654 +patch; summary (10jidanni) [01:19:31] 03(mod) Indicate in output whether an interwiki link is marked local - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18562 +comment (10public) [01:33:20] 03(mod) Watchlist: Say what "time period" you are talking about when days=0 ("All") - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17867 (10jidanni) [01:39:20] In OutputPage, there doesn't seem to be a way to create an extension to replace the existing keywords for the page, or even prepend to them (since the first keywords get most precedence) [01:39:29] is there some trick to this? [01:40:18] Mentifisto: btw, there are also rss and atom feeds on Special:Contributions [01:43:14] yeah but ff doesn't have as efficient a reader as I'd like... do you recommend any? [01:43:39] google, heh [01:43:44] (as in google for one) [01:43:51] *Splarka writes an experimental javascript [01:48:18] nevermind, lolz. mKeywords isn't private, I can just mess w/it [01:49:01] 14(DUP) parser function to query the name of enclosing sections: {{#section-name:
}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9240 +comment (10jidanni) [01:49:02] 03(mod) [[Section::...]] variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10jidanni) [01:54:18] 04(REOPENED) Watchlist: Say what "time period" you are talking about when days=0 ("All") - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17867 +patch (10jidanni) [01:54:42] is anyone familiar with DPL? How can I disable the "&" operator? I just don't believe it really can't find e.g. category=AT&T [01:57:08] tried AT%26T and/or AT&T ? [01:58:01] both work in links at least: [[AT%26T]] [[AT&T]] [01:59:32] tried %26, .26. & gives me a heavy error :) [02:27:18] 03(mod) [[Section::...]] variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 +comment (10jidanni) [02:31:22] hi,all [02:31:34] who know how to use external authplug? [02:32:40] Hello everyone, I have a user, Redirect_fixer, that is kind of causing some havoc on my site. Is this some kind of built in script? [02:52:44] pfruan: which one are you trying to use again? [02:53:57] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10dj.bauch) [02:56:22] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10dj.bauch) [02:58:09] eghjaytee: yes, and we disabled it for the same reason [02:58:49] I'm not sure how that's done though :\ [03:07:31] eghjaytee: there's a config setting [03:25:50] How is postgres support in MediaWiki? [03:33:34] chuck: far from perfect [03:34:39] a lot of extensions are broken, several core mediawiki features are broken, and we often have new issues and regressions after new releases [03:34:58] Eh.. that's too bad [03:35:46] Somebody here who use Extension:Semantic Forms? [03:36:47] I'm going to branch 1.15 based on the current wikimedia version [03:37:01] TimStarling, No chance for this one for 1.15 then ? https://bugzilla.wikimedia.org/show_bug.cgi?id=16129 [03:37:05] driving me mad that one :) [03:37:14] we can't really release a month of unreviewed, untested changes [03:37:15] if there were somebody working full-time on other database support it'd be different [03:37:36] it's not a full-time job [03:38:23] can 1.16 be 2.0 instead? *bounces* [03:38:24] but there could be a few months of work in it, I guess [03:38:28] I'd fix bug 16129, but I'm packing at the moment [03:38:46] also I have no idea what the problem is. [03:38:58] werdna, off somewhere nice, or you mean you have a gun? :) [03:39:16] Tim: gonna at least backport a few things like broken deletion of old images? [03:39:18] buzz_: is the fix in svn? [03:39:33] TimStarling, no. it is unfixed as of yet. [03:39:35] i think [03:39:40] Splarka: is old image deletion broken on wikimedia right now? [03:39:49] buzz_: then no [03:39:54] *Splarka looks [03:40:05] its a nasty one though. broke my entire front page for a day until i worked out what was cuasing it [03:40:07] Tim: ues [03:40:13] Yes, even, sigh [03:40:14] with the help of werdna [03:40:25] TimStarling: http://www.mediawiki.org/wiki/File:Wiki.png [delete] -> http://www.mediawiki.org/w/index.php?title=File:Wiki.png&action=delete&oldimage%5B%5D=20050906184215%21Wiki.png [03:40:35] that %5B%5D breaks the delete URL (trivial workaround) [03:42:07] I search a form extension, where it is possible to use dropdown selection and a user who use the form can add a value to the dropdown when it is not in the list [03:42:19] Splarka: is there a bug report for it? [03:43:43] somewhere [03:43:49] it was fixed, but I believe the fix was reverted [03:44:43] https://bugzilla.wikimedia.org/show_bug.cgi?id=18171 [03:44:57] faster than my dialup [03:45:26] Seems to be fixed ok [03:45:39] hmm, would you also backport the live hacks? that is, "current wikimedia version" would include those? [03:46:34] yes [03:47:13] 04(REOPENED) Image Revision [oldimage] Deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18171 +comment (10tstarling) [03:47:13] werdna: ahh, okay, the status is now 'okay', it was 'fixme' for a few weeks [03:47:38] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48837#code-changes [03:48:30] but brion didn't comment on why it is now 'okay', hmm [03:50:20] 03(NEW) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 enhancement; Normal; MediaWiki: General/Unknown; (tstarling) [03:50:47] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10tstarling) [03:51:00] 03(mod) Image Revision [oldimage] Deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18171 (10tstarling) [03:51:45] I would also like to see 16129 fixed before release, but it seems a doozie (mostly because if it was easy it'd probably be fixed by now, heh) [03:55:43] really, the problem there is that we use the same object for configuration as for parse context [03:56:10] we should create a parse context object at the start of each parse, but use the same configuration object each time [03:57:51] do you have a list of backports started? (example: r49775 ) [03:58:05] (and if not, should we add them to that tracking bug as comments?) [03:58:16] you can put them on the tracking bug if you like [03:59:00] what is the bugzilla magic for linking to revisions: r##### or rev##### or rev ##### or something? [04:00:07] r#### seems to work [04:01:11] *Splarka makes a little list [04:02:42] 03(mod) Message handling in parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17329 +comment (10tstarling) [04:02:49] *werdna starts transcoding about 60 GB of dvds [04:03:23] It's about 8 DVDs, so it'll take probably <10 GB once compressed [04:03:29] way easier than taking 8 DVDs overseas [04:04:43] werdna: 49685 and 49730 backportable? two live hacks from last week [04:04:52] "fix silly typo" "* Fixed unblocking of hidden names (bug 18543) * Added permission check" [04:05:23] ask aaron [04:05:30] I just checked them [04:05:46] and tested them [04:06:07] I don't remember the impact, but it seemed important enough to live-merge. [04:07:28] seem a bit Wikimedia specific but were changes to core [04:07:53] I can't parse that [04:08:55] 03tstarling * r50059 10/branches/REL1_15/: Branch for MediaWiki 1.15 [04:09:04] *Splarka explodes that-> "They seem a bit edge-cased to Wikimedia's specific setup, but were changes to core files" [04:09:13] two more: r49222 r49191 [04:11:12] hmm, domas did a lot of live hacking to recentchanges and watchlists, optimizing them so they didn't kill everything when you tried to load 5000 [04:11:23] but that's probably more a feature than a bug/regression [04:11:53] 03tstarling * r50060 10/branches/REL1_15/phase3/: Branch for MediaWiki 1.15. Copying from the version currently deployed on Wikimedia: r48811. Will backport important fixes committed since then. [04:12:11] like http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=48983 [04:12:38] TimStarling: At some point I need to check if I've fixed all the change tags filesorts [04:12:45] those are fixes that should probably be backported [04:13:50] > 17:43 brion: live-merging r48923 to make CURL timeout for upload-by-url configurable [04:13:52] feature, heh [04:14:12] ok, you'd better add a comment to the tracking bug if you find any that need to be backported [04:14:55] I have a list of 8 so far... [04:15:54] * 22:45 logmsgbot: brion synchronized php-1.5/includes/specials/SpecialBlockip.php 'to r48899 - fixes for hiding' [04:16:22] 03tstarling * r50061 10/branches/REL1_15/extensions/: Branch for MediaWiki 1.15 from trunk r48811. [04:16:30] I am not sure what he meant by this, the latest rev on that one was http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=48892 [04:21:38] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 +comment (10agarrett) [04:25:57] *Splarka leaves a big comment [04:26:03] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10herd) [04:26:12] that's all I could find interesting [04:26:14] thanks [04:27:00] np [04:28:11] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10agarrett) [04:28:57] I think Brion and I stopped fixing things and went to sleep at r48825 [04:29:03] damn, aaron is the king of "live sync this so I can test it" [04:49:32] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10tstarling) [04:49:44] 03(mod) lighttpd + sqlite installation failure - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17611 (10tstarling) [05:06:22] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10tstarling) [05:07:28] /* feed links */ [05:07:28] -a.feedlink { [05:07:28] +a.feedlink, a.feedlink { [05:07:55] does that change specificity? [05:08:33] 14(DUP) New variable {{SECTIONNAME}}, analogous to {{PAGENAME}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12434 +comment (10jidanni) [05:09:03] *werdna grabs luch [05:11:04] maybe they meant #feedlinks a ? [05:11:29] er.. no.. hmm [05:12:24] TimStarling: where is this revision/patch? [05:12:44] wikimedia live copy [05:12:55] that shouldn't actually end up changing anything, unless there is another non-comma-delimited selector before it [05:13:14] skins/common/common_rtl.css [05:13:18] like say you had #bodyContent\na.feedlink {} then it would change something [05:14:27] ahh [05:14:28] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/common_rtl.css?r1=46474&r2=46488 [05:14:30] it was fixed [05:14:45] but not live merged since it isn't broken [05:14:51] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=46488 [05:17:15] is it possible to place a leaderboard size iframe at the bottom of monobook skin? [05:18:09] http://www.mediawiki.org/wiki/Manual:Hooks/SkinAfterBottomScripts ? [05:18:56] thanks... [05:19:14] im reading that now [05:21:35] just commtting a few things that are sitting around in my working copy [05:21:41] 03tstarling * r50062 10/trunk/phase3/includes/Status.php: Sanitize cleanCallback on wakeup. Extra security check for APIs like SecurePoll/auth-api.php. [05:23:31] sorry but where can i browse the mediawiki source online? i can never find it with google when i forget the URL [05:23:38] 03tstarling * r50063 10/trunk/phase3/includes/db/Database.php: Log function name for SHOW PROCESSLIST query in getLag(). [05:25:06] hippietrail: bookmark http://www.mediawiki.org/wiki/SVN [05:25:44] "You can browse the code structure using the [http://svn.wikimedia.org/viewvc/mediawiki web interface]" [05:25:48] 03tstarling * r50064 10/trunk/phase3/includes/api/ApiQuerySiteinfo.php: Add lots more information to the siteinfo query. Based on the JS variable list. [05:25:59] thanks splarka. sometimes i change browsers or reinstall or etc etc etc [05:26:09] k, just remember: mw:SVN [05:26:29] or !svn on mwbot [05:26:31] aha easy [05:28:17] 03tstarling * r50065 10/trunk/phase3/index.php: Commit master changes on all ajax requests. There's no reason that this should be the responsibility of the callee. Causes annoying bugs when omitted. [05:29:34] 03tstarling * r50066 10/trunk/phase3/config/index.php: Don't double-escape RootPW error. [05:30:27] there's a link from svn.wikimedia.org [05:31:53] most software-related things are under mediawiki, some like bugzilla are under wikipedia and svn is wikimedia [05:32:33] bugzilla is wikimedia.org [05:32:47] the only thing at mediawiki.org is the website [05:33:01] we could easily add some redirects though [05:33:54] must be getting old [05:34:41] yeah there is a redirect for bugzilla from wikipedia to wikimedia. for some reason i always remembered it at wikipedia and it worked. maybe there's a link from some page [05:35:03] 03tstarling * r50067 10/trunk/phase3/includes/RefreshLinksJob.php: Wait for slaves after each page (from live patch). [05:35:52] wanted to see how sitematrix is implemented to know whether to get that info from the db on toolserver or via the api [05:36:07] it's from the configuration [05:36:10] not the DB [05:36:49] aha so api is always the best way [05:37:23] depends on what information you want, and what you're using it for [05:37:27] im about to file a feature request to be able to ask for partial sitematrix via the api for say just wiktionary or just one language [05:37:49] im using it to find out which language codes have wiktionaries [05:38:32] you can just get all.dblist from noc.wikimedia.org [05:38:50] in translation tables we link to the native wiktionary of foreign terms, if they have a wiktionary [05:38:51] http://noc.wikimedia.org/conf/all.dblist [05:39:33] nocnocnocnocnoc ? (-: [05:40:22] WHO's there? [05:41:06] so what is noc? [05:41:24] a noc is a small furry animal [05:41:37] it is named after its call [05:41:51] network operations center :P [05:41:53] it can be heard in the morning, calling for mates, "nocnocnocnoc" [05:42:19] *werdna wonders if TimStarling was out too late last night [05:42:41] *hippietrail pours TimStarling another drink [05:43:13] http://web.archive.org/web/*/http://noc.wikimedia.org/ [05:43:19] it's hardly a new joke [05:44:58] So apparently it's been there since July 2006 [05:46:13] funny ... for me it looks like a defacement ... but i guess its the original content [05:46:37] larousse went down, we didn't have backups of the old website [05:47:07] with http://noc.wikimedia.org/conf/all.dblist it might not be trivial to tell which prefixes are languages and which are special... such as specieswiki [05:47:44] hippietrail: if you just want to look for wiktionaries, egrep '^\w+wiktionary$' [05:48:00] and then chop off the 'wiktionary' and you have the ISO language codes [05:48:35] werdna yes but some few are not iso codes such as 'tokipona' and 'basic' [05:48:44] TimStarling: I don't know about others, but I usually use svn merge -c, not svn up (with reference to https://bugzilla.wikimedia.org/show_bug.cgi?id=18629#c4) [05:48:55] no simplewiktionary ?? [05:49:03] hippietrail: well, I'm sure somebody of your skill and experience can find a workaround :) [05:49:08] *Splarka wants dumbed down word defitions [05:49:10] simple not basic sorry [05:49:22] oh, there is [05:49:44] svn up is probably better, if there are no intervening changes [05:50:14] because you don't get conflicts, and it's obvious where the change came from [05:50:26] swine flu mostly concerns me because I suspect the UK will prefer citizens over noncitizens in medical care :/ [05:50:33] (random comment) [05:50:39] I'm currently analysing the diff for merges [05:52:38] 03tstarling * r50068 10/trunk/phase3/ (4 files in 4 dirs): Assorted minor live patches to command-line scripts. [05:52:51] morning [05:53:13] hi Nikerabbit [05:53:49] hey [05:53:57] yo [05:55:24] hey AaronSchulz [05:57:21] AaronSchulz, when you have some free time: https://bugzilla.wikimedia.org/show_bug.cgi?id=18629#c2 [05:59:42] *hm* offtopic, werdna ... but its better to be foreign and pay cash than to wait, when I recall medcare in uk [06:00:15] 03tstarling * r50069 10/trunk/phase3/includes/ExternalStoreDB.php: Small-scale data loss logged on Wikimedia along these lines: invalid URL written to old_text with the user thinking their edit has succeeded. This change should prevent that scenario. [06:01:28] kraehe: hmm, travel insurance would cover it I assume [06:02:56] they had a simple system for seeing doctors when I was in the UK [06:03:34] you dial the doctor's number at 7:55am, get answering machine [06:03:39] you hang up, hit redial [06:03:59] at 8:00am, you start getting engaged signals instead, continue redialling [06:04:20] then with a bit of luck, you connect to the receptionist before the appointment book for the day fills up [06:04:26] the open hours for appointments are necessarily very narrow, so they can claim to accomodate "everyone who called" [06:05:01] then when I went there, they didn't even ask me for ID, they just treated me as an NHS patient [06:06:16] the Australia/UK reciprocal health care agreement allows you to be treated by the NHS in the UK, but they didn't actually bother to confirm that I was australian [06:07:01] *Splarka makes note to adopt australian accent when visiting UK and sick [06:07:16] in Australia, UK citizens can apply for a reciprocal health care card, which I believe works like a medicare card [06:07:26] but Angela has never bothered [06:08:00] she could apply for expenses on a case-by-case basis if she had to go to hospital or something [06:08:50] yay, laptop now in INDIANAPOLIS, IN [06:11:20] [obligatory] http://xkcd.com/281/ [06:11:52] AaronSchulz: wait, wasn't it in Alaska yesterday? [06:12:13] yep, china -> alaska -> indiana [06:12:28] that's an odd route [06:25:24] if it was good enough for the native americans, it should be good enough for your laptop [06:40:21] headesplode! http://en.wikipedia.org/wiki/Exploding_head_syndrome [06:41:08] http://tvtropes.org/pmwiki/pmwiki.php/Main/YourHeadASplode [06:44:54] AaronSchulz: setUsernameBitfields looks kind of scary [06:45:24] like break the whole site and leave nothing but a smoking mess scary [06:45:51] I always thought it was "smoking crater" [06:45:56] have you discussed it with Brion or anyone? [06:46:26] *Splarka prefers glassy fields [06:48:04] hello? [06:50:08] mmm, there was some interserver lag for a sec there [06:50:15] *AaronSchulz was looking through codereview [06:50:40] well, it was OKed a while back [06:53:22] do you think it's a good idea? [06:55:51] already heavily used by oversights [06:55:53] 06:15 < TimStarling> the Australia/UK reciprocal health care agreement allows you to be treated by the NHS in the UK, but they didn't actually bother to confirm that I was australian [06:56:04] Does it work for people on youth mobility visas, though? [06:56:09] have you ever tried it with a user with 3000 edits? [06:56:11] seems fine [06:56:19] surely it'd cause tens of seconds of replication lag [06:56:47] wouldn't be much worse than renameuser [06:56:53] yes it would [06:56:57] because renameuser does it as a job [06:57:08] instead of doing three thousand in one go [06:57:09] no, not until there are 10000 edits [06:57:11] renameuser is f***ed up [06:57:20] renameuser still does it in batches, right? [06:57:24] that's no reason to commit more crap code [06:58:53] renameuser can and does cause problems [06:58:55] werdna: no batches for < 10000 [06:59:32] in any case, I assume that hiding users isn't used for users with more than a few hundred edits [06:59:39] perhaps it would be prudent to enforce that in code [07:00:06] and then if it needs to be done, somebody can contact a shell user [07:00:34] what number? [07:02:01] I don't know, make it configurable [07:02:15] ugh [07:04:01] RenameUserJob needs to be rewritten [07:05:03] we're talking about having non-MySQL job queue systems [07:05:18] network based daemons [07:05:28] it's not really appropriate to have job types that let you destroy the whole database [07:05:43] what if someone accidentally forgot to firewall the job queue system? [07:06:39] Q Wanted to make my 'welcome template' work for all users, so put "please drop me a line some time on [[User talk:{{REVISIONUSER}}|my own talk page]]. [07:07:19] ^obv problem I realise *now* {{REVISIONUSER}} is last editor; no way to put the person making the page in permanently? [07:07:50] {{CURRENTUSER}} will likely never be core or enabled on WMF [07:08:05] but you can fake it with javascript or one of several extensions [07:08:51] if however, you mean the opposite... {{REVISIONUSER}} for hte one making the revision, just subst it [07:09:02] [[User talk:{{subst:REVISIONUSER}}|my own talk page]] [07:10:20] Splarka yes, I mean the user subst'ing the template onto the talk page; so yes, I see - subst the var and when the template is subst'd the 'poster' will be in there permanently, yes? [07:10:29] yah [07:10:38] it is very similar to ~~~, though not auto-linked [07:11:03] you could have a parameter where the editing user inserts their name [07:11:14] yep makes sense; I use ~~~~~~ [07:11:16] ...for the sig [07:11:19] {{User:Chzz/welcome|me=Tim}} [07:11:57] or isn't that cool enough? [07:12:10] but users are stupid! [07:12:16] less thinking = better, or some such [07:12:16] TimStarling thx yes, an alternative; but trying to keep it simple/short etc. I think the above is neater - automatic = less chance of typo [07:12:24] however, http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48149 revisionuser is 1.15+ [07:12:40] I'll grant you automatic, but neater? [07:12:42] chzz: with tim's method, no subst is needed [07:12:52] a compromise would be: [07:13:01] I would say ugly and impossible for anyone to understand [07:13:28] {{subst:User:Chzz/w}} which contains {{User:Chzz/welcome|me={{subst:REVISIONUSER}}}} [07:13:28] Splarka well, we'll always want to subst the welcome anyway - we want the new user to see the code of the welcome, not some transcluded template. That's the policy on en, anyway [07:13:44] ahh, alwayssubst, gotcha [07:15:00] I'm assuming even the thickest users know how to type their own name [07:15:05] so your 1st answer looks fine I think; just {{subst:REVISIONUSER}} in the template [07:15:10] maybe that's not true, eh? [07:15:26] TimStarling Nah, def not. [07:15:43] do both [07:16:01] I just answered a helpme in a section entitled "== What is X ==" - which is the sample given in the 'how to ask for help' instructions [07:16:17] {{{mysig|[[User:{{{me|{{subst:REVISIONUSER}}}}}|{{{me|{{subst:REVISIONUSER}}}}}]]}}} [07:16:39] ah yes [07:16:48] make it so that anyone can use your welcome template [07:16:58] yes [07:17:06] but nobody can alter it and adapt it as their own without making their eyes bleed [07:17:19] good plan Splarka [07:17:34] *Splarka wonders who invented this syntax [07:17:34] well; actually I encourage ppl to copy it and make their own version [07:17:47] ...all the more reason to make the coding good [07:17:54] I just invented it, I didn't think you'd be compelled to actually use it [07:17:56] Splarka somebody with braces? [07:18:02] :-) [07:18:03] I thought users would stop and think... [07:18:18] "hey, maybe it isn't such a good idea to fill up this screen with braces and " [07:19:51] *Splarka snickers [07:20:07] it's called job security [07:20:13] 03aaron * r50070 10/trunk/ (2 files in 2 dirs): Tweaked account hiding & renaming limits [07:20:29] make end-use easy, and the backend a nightmare [07:20:30] job security through obscurity, eh? [07:20:47] though it doesn't really make sense for volunteers eh [07:22:03] ty Splarka / TimStarling - I'll use that. Now I can go back to c# parsing XML from the API which, by comparison, should be a doddle :-) [07:22:52] "MediaWiki syntax: 8 years of inspring people to go learn C derived languages instead" [07:23:25] {{{{{{fact}}}}}} [07:23:58] now see, parameter name based on the parameter value of parameter named 'fact' [07:24:13] Splarka: http://en.wikipedia.org/wiki/Double_standard <--way too short for a basic article :( [07:24:40] {{sofixit}} [07:24:47] hehe [07:24:53] NOTDIC ? [07:25:27] *Splarka is reminded of.. Random != funny And who wrote RandomSelection? >_> [07:26:48] http://farm1.static.flickr.com/119/294168009_b25decaddf.jpg [07:28:58] needs a catch [07:30:03] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10tstarling) [07:34:51] 03(mod) Indicate in output whether an interwiki link is marked local - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18562 (10happy-melon) [07:38:05] werdna: http://en.wikipedia.org/wiki/User:Voice_of_All/General_Bullshit_Defense [07:38:11] one more til I hit 20 :) [07:41:36] #20: Assuming that anyone that uses a very common logical logical trap or fallacy is automatically wrong. Not everyone is completely cogent in... saying stuff. [07:42:04] oop, logical trap/logical fallacy, not logical logical [07:42:07] sounds like ad logicam [07:42:08] (proof) [07:42:13] Already mentioned [07:42:20] tldnr [07:43:05] but not exactly the same [07:43:49] it would boil down to "using lists of general bullshit defense to defeat any argument" [07:51:22] Splarka: depends what you mean by "defeat" :D [07:51:55] isn't that the chewbacca defense? [07:52:42] no, though taken to an extreme, it would be a clintonian defense [07:53:32] "It isn't my fault, I was bookended by 12 years of bush" [07:54:24] Splarka: though that gives me an idea of what to add [07:55:50] skipping logic steps can be misinterpreted as fallacies [07:59:51] AaronSchulz: "Show your work" ? [08:05:32] Hey, I found out that Semantic MediaWiki is what I've been looking for since a long time... :) Would people that know about these things rather recommend to install standard SMW or SMW+ ? [08:05:49] aka, what are pros and cons? [08:08:25] you might try #semanticmediawiki [08:36:10] is it possible to define a template with variable number of arguments? [08:40:09] kraehe: the number of arguments is not fixed or limited. however, there is no way to loop over arguments. [08:40:44] I search a form extension, where it is possible to use dropdown selection and a user who use the form can add a value to the dropdown when it is not in the list [08:41:03] so its not possible to display/expand the variable number of arguments, Duesentrieb ? [08:41:25] there are some parser function extensions that implement looping... but eek, scary [08:41:35] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 +comment (10roan.kattouw) [08:41:52] look for 'foreach' and 'loop' on http://www.mediawiki.org/wiki/Extension:Parser_function_extensions [08:41:59] kraehe: not per default or with standard extension.s yes, htere are extensions that allow it, to warying degree. [08:42:13] kraehe: be warned that this effectively makes templates a programming language. [08:42:37] this is... scary... [08:43:03] kraehe: perhaps you would be better of writing a simple extension to do what you want [08:43:12] *Splarka pokles TimStarling who enjoys saying how apocalyptic this is [08:44:09] http://wiki.kephra.de/extensions/SecondSettings.txt <- btw extension ... my shameless plug on progress of (ab)using mediawiki as a cloud database for secondlife [08:44:41] noob need some help with updating a wiki page with a program [08:44:51] !bots [08:44:51] --mwbot-- I don't know anything about "bots". [08:44:56] bah, solly bot [08:45:04] !api [08:45:04] --mwbot-- The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at . For client libraries in various languages, see . [08:45:14] Mio: see there [08:45:40] !bots alias api [08:45:40] --mwbot-- Successfully added alias: bots [08:46:06] I think !bots would be better aliased to !bot [08:46:19] which links to http://en.wikipedia.org/wiki/Wikipedia:Creating_a_bot and such [08:46:38] the API and bots are not synonymous [08:46:42] !bot [08:46:42] --mwbot-- A bot is an automatic processes which interacts with MediaWiki as though they were human editors designed to make easier automated actions which are arbitrary to make manually. For an overview how to create a bot and a list of known frameworks can be found on http://en.wikipedia.org/wiki/Wikipedia:Creating_a_bot [08:47:00] theres also a pywikipedia entry for that bot framework [08:47:03] Splarka: yes, true, though api clinet code is very very closely related to bots :) [08:47:09] !bots del [08:47:09] --mwbot-- Successfully removed keyword: bots [08:47:14] !bots alias bot [08:47:14] --mwbot-- Successfully added alias: bots [08:47:31] *kraehe wonders, where I could find better documentation of the $action part of userCan hook ... I think some $action like 'raw' or 'submit' do not exist ... how is the url action mapped into $action of userCan hook [08:47:31] I've never used the API code with a bot, heh [08:47:44] well, that's wehat it's there for [08:47:45] "so what, who are you?" [08:47:51] but that's also the problem with the huge bot püage: [08:47:53] false! [08:48:01] it doesn't even seem to have a link to the api clinet code page [08:48:02] your not one of the ones that scrape the html are you? [08:48:06] it is there for many things, a subset of which are bots [08:48:08] which should be the primary way to build bots. [08:48:38] Splarka: well, the edit api is for bots. queries cane be used for many things [08:48:42] I've written dozens of javascript features that use it [08:48:53] and many of those use api write [08:49:23] I've also submitted 18 bugzilla bugs concerning the API [08:49:37] driven purely from the POV of javascript ^_^ [08:51:00] 03(mod) Problem in edit with form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18621 (10nahidshahin) [08:51:47] Splarka: OK, you are right, JS stuff too. that's quite close to bots though. [08:52:08] *Splarka bites Duesentrieb with his metal aperature [08:52:20] 03(mod) Watchlist: Say what "time period" you are talking about when days=0 ("All") - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17867 +comment (10jidanni) [08:53:18] -Duesentrieb :) look where ?? [08:53:36] hmm, really? no link to the api at all there? [08:53:48] *Splarka looks [08:53:49] Mio: and [08:54:58] 03(mod) $wgRCLinkDays perfect for SpecialWatchlist.php too - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17867 summary (10jidanni) [08:55:10] hmm [08:56:53] oop, you added it [08:57:33] [mw] User [[mw:User:Duesentrieb]] used edit summary "\b(excellent|wonderful|useful|keep up|go on|favorites|unknown)\b" [[mw:API]] (+54) Diff: http://www.mediawiki.org/w/index.php?diff=252373&oldid=242049 "/* Useful Links */ [[w:Wikipedia:Creating_a_bot|Creating a Bot]] howto" [08:57:34] haha [08:57:59] Splarka: hm? [08:58:13] Splarka: yea, i cross-linked them [08:58:30] the cvn bots flagged on your edit because it contained 'useful' [08:59:26] wtf is cvnbot? [09:00:16] *Mio raises his hand :) anyone have any SxWiki code examples [09:01:26] *Mio started installing mediawiki monday and started php coding yesterday so feeling a little lost :) [09:01:37] Duesentrieb: http://meta.wikimedia.org/wiki/Countervandalism_Network [09:02:01] the crazy people who watch all the IRC changes [09:02:07] Mio: so don't use php, it sucks for bots anyway :) [09:02:21] it actually sucks for most things [09:02:35] Splarka: oh, the vandal fighters. [09:05:02] can i have a quick example sql query to show the titles of pages in a given category please? [09:05:08] Duesentrieb :) it bots that I want to lookinto :) [09:05:57] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 +comment (10nospam) [09:06:08] hippietrail: select page_namespace, page_title from page join categorylinks on cl_from = page_id where cl_to = "SomeName"; [09:07:59] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10roan.kattouw) [09:08:58] "SomeName" being the name of a category or? [09:10:35] got it thanks Duesentrieb ! [09:11:43] I have this rule in my httaccess (RewriteRule ^[^:]*\.(php|src|jpg|jpeg|png|gif|bmp|css|js|inc|phtml|pl|ico|html|shtml)$ - [L,NC]) for short urls [09:12:10] Im trying to block hotlinking of images and I think because of this short rewite rule the blocking of hotlinking images does not work [09:12:24] hmm, ahh, Roan suggests the proper api userrights be backported... [09:16:30] 03daniel * r50071 10/trunk/WikiWord/WikiWordBuilder/src/main/ (4 files in 4 dirs): encapsulate patricia trie [09:23:43] hey guys, can anybody tell me how i can disable the timezone in my sig "~~~~"? [09:24:10] ~~~ [09:24:40] i nedd time and date, but no timezone ... [09:24:44] need [09:25:06] http://www.mediawiki.org/wiki/Help:Magic_words#Date_.26_time [09:25:49] how will people know when or where the time refers to? [09:26:36] {{subst:CURRENTTIME}}, {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}} [09:26:52] it is a company internal wiki [09:27:19] i try to edit the Parser.php [09:27:33] but no effect in the wiki [09:27:49] ouch [09:28:22] ouch? [09:28:31] editing core files makes upgrade harder [09:28:41] you can change the timezone used in signatures via $wgLocaltimezone [09:29:31] so that all times would be relative to your company [09:29:39] but even then you still get the (TZ) [09:29:51] what does 'deferred' mean ? [09:30:07] ThomasV: in Special:Code it means "I don't care" I think [09:30:12] like for extensions not used on WMF [09:30:20] :-) [09:31:27] there's plenty of them [09:32:30] $d = $wgContLang->timeanddate( $ts, false, false ) . " ($tz)"; [09:34:05] i try to uncomment $d, but no effect in the wiki [09:34:08] ??? [09:34:55] well, I hate php and all that it stands, for, but it looks like if you removed that end bit it'd do what you want: . " ($tz)"; [09:35:12] (and replaced it with a semicolon) [09:38:21] hmmm, this function (pstPass2) will never be called, but an exit; there but no effect [09:48:39] 03(mod) Enable NewUserMessage extension on Arabic Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18194 (10meno25wiki) [09:49:56] 03(mod) Enable NewUserMessage extension on Arabic Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18194 (10meno25wiki) [10:21:29] 03(ASSIGNED) UserManagement: Anonymous Account not create-/delete-/edit able , but it is visbile in user list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16487 (10karun) [10:28:46] TimStarling: has aqnyone looked into testing frameworks for use with mediawiki? i'm thinking of trying phpunit and selenium. [10:34:10] Gerard! [10:36:38] 03(ASSIGNED) MySQL-specific queries in /profileinfo.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6802 (10karun) [10:37:59] Domas ... got a moment? [10:39:26] freakolowsky: a bit busy, why? [10:41:00] oh ... nevermind then ... i was told you're the resident DB wiz-kid on the block ... and was thinking if you could take some time and have a look at that Oracle SS abstraction i posted on bugzilla .... but no rush ... just need to know that it will be done sometime this year (note the sarcasm) [10:45:50] heh [10:45:57] April 1, 2008: http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20080401.txt [10:46:03] [06:39:42] domas: that was not a sockpuppet announcing that Wikimedia is going to start using Oracle? [10:46:04] [06:39:56] siebrand: that was me [10:46:14] [06:40:53] well, we will be forking off 'opensource mediawiki' [10:46:14] [06:41:03] mediawiki lite [10:50:54] freakolowsky: now that I work for oracle, I have to?!!? :) [10:50:59] *domas giggles [10:51:50] 03(NEW) profileinfo.php not under GPL licence - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18630 normal; Normal; MediaWiki: General/Unknown; (karun) [10:52:01] 03(NEW) English doesn't show number of categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18631 minor; Normal; MediaWiki: Internationalization; (jidanni) [10:52:24] though I don't have too much of Oracle knowledge [10:57:57] 14(INVALID) profileinfo.php not under GPL licence - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18630 +comment (10domas.mituzas) [10:58:12] 03(mod) Localized namespaces for mt.wp (2) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18498 (10djchris_portelli) [11:01:11] 04(REOPENED) profileinfo.php not under GPL licence - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18630 +comment (10karun) [11:02:43] meh [11:06:21] flyingparchment: ---^ [11:11:28] domas ... u work for oracle i work on oracle ... welcome to the battle m8 [11:12:08] 03(mod) profileinfo.php not under GPL licence - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18630 +comment (10daniel) [11:12:35] *freakolowsky likes when the whole office is on vacation ... Spor-BrickBeats+woofer@max&volume@plenty ... mwahahahahahahah [11:12:53] 14(INVALID) profileinfo.php not under GPL licence - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18630 (10daniel) [11:13:48] @domas .... oh now i got the joke ... mysql now owned by oracle ... [11:15:25] *Splarka would ask for a receipt first, personally [11:18:40] 03(mod) profileinfo.php not under GPL licence - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18630 (10karun) [11:26:05] Hi there! [11:26:08] I have some problems with translation. I want to change the message which goes under the name of [hide/show]. [11:26:22] You can find them once you add two templates at the end of the page. Especially collasible templates! [11:26:46] Duesentrieb: i don't use the GPL, it's too restrictive [11:27:19] Muddyb_Blast_Pro: sounds like you have to edit the javascript [11:27:22] which wiki? [11:27:39] Yep [11:27:43] SWWIKI [11:27:51] The Swahili Wikipedia [11:28:11] But I don't know how to change them anywa [11:28:17] flyingparchment: i know. i often uses bsd or mit myself. but it does cause confusion sometimes. just wanted to make you aware of the report, in case you want to clarify. but i think i killed it :) [11:29:08] Muddyb_Blast_Pro: http://sw.wikipedia.org/wiki/MediaWiki:Common.js?action=edit [11:29:12] var collapseCaption = "hide"; [11:29:13] var expandCaption = "show"; [11:29:23] Hey, I want to change from being ENGLISH to SWAHILI. For instance, HIDE to FICHA. SHOW to ONYESHA. [11:29:48] so... just edit that page? [11:29:53] Duesentrieb: and i don't see any point in dual MIT/GPL [11:30:07] change the text inside tue quotation marks there, being sure to keep the quotes [11:30:10] flyingparchment: the only point is not confusing people [11:30:25] I'll be thankful if one of you can change it for me! [11:30:30] but i don't mean you have to do anything [11:30:36] just a heads up [11:31:08] *Splarka licenses his edits under APD, implicit cascading public domain, teeehee (yes yes, nonsense) [11:31:25] No. for my people, I don't think if they'll be confused, no. [11:31:55] *Splarka wonders if anyone around has global editinterface [11:32:22] i don't understand it [11:32:42] that page is protected, only local sysops can edit it, or global stewards/staff/editinterface [11:32:43] Muddyb_Blast_Pro: i don't think anyone here has admin rights on that wiki [11:32:45] so it's funny to change them into my native language? [11:32:55] funny? no, why? [11:33:12] we were talking about license stuff, that had nothing to do with you. [11:33:14] I'm an administrator on the Swahili Wikipedia. [11:33:23] so you can change it [11:33:27] That is why I came over to ask such help [11:33:39] and you got all the hel we can give: telklking you what to ewdit [11:33:47] *telling you what to edit [11:33:50] http://meta.wikimedia.org/wiki/Special:GlobalUsers/editinterface hmm [11:34:43] let me try it [11:35:43] var collapseCaption = "ficha"; [11:35:44] var expandCaption = "onyesha"; [11:35:56] just replace the two lines with that, and it should work [11:45:20] Muddyb_Blast_Pro: http://sw.wikipedia.org/w/index.php?title=MediaWiki:Common.js&diff=225820&oldid=118021 [11:45:38] correct, now you must just purge your browser cache (ctrl+R or [reload]) to see the new text [11:47:16] How do I make a "notice" on a specific namespace? [11:49:19] MediaWiki:Editnotice-0 MediaWiki:Editnotice-1 MediaWiki:Editnotice-2 etc [11:49:26] done [11:50:45] Now it's changed to our language! Thanks again and again. [11:52:14] enjoy [12:22:42] 03jojo * r50072 10/trunk/extensions/Collection/README.txt: added note to set $wgEnableWriteAPI to true for MW <= 1.13 [12:33:10] Splarka: Is it also possible to have a page notice (without having to click edit first)? [12:34:15] heh, put a template at the top of the page [12:35:57] Yeah, that's what I did, Splarka. ;-; [12:36:06] But for every page in the namespace? ;-; [12:36:15] Let's hope I won't write a lot then. [12:37:20] svip: MediaWiki:Sitenotice and css [12:37:40] [12:37:56] body.ns-1 #something {display:inline !important;} [12:38:05] You are so wise. [12:38:26] arguable [12:39:34] is there a way to request the fallback language of a wiki ($fallback) [12:42:17] request? [12:42:47] via api or whatever [12:42:55] ahh [12:42:58] http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&format=jsonfm [12:43:18] is also in the source of every normal page as wgContentLang [12:43:41] but thats not the fallback language, that the first language used [12:44:38] ahh, right, some languages have a tertiary fallback between english and the content language [12:44:39] e.g. "nds" has fallback "de" (http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/messages/MessagesNds.php?revision=49558&view=markup) [12:45:30] i know that when nothing exists en ist used [12:47:01] the fallbacks are defined in the language files which are not generally edited by end users, so I suppose one must assume they are the same as the source code on svn for a given version... hmm [12:53:37] Merlissimo: I don't see it exposed anywhere, someone else might though [12:54:13] When upgrading from 1.13.5 to 1.14.0, how do I update the DB tables? [12:54:29] by reading the upgrade instructions [12:54:30] detection fallback with my bot by scanning svn would be very complex (e.g. MessagesAls->MessagesGsw->MessagesDe->Message) [12:57:21] 03shinjiman * r50073 10/trunk/extensions/ (2 files in 2 dirs): Localisation updates Cantonese and Chinese for extension messages [13:26:36] i want to use a parser tag inside a template. it should create an inputbox, but everything i see is {{{1}}} instead of the value I correctly pass to the template. any workaround? [13:28:20] #tag [13:29:03] parser tags generally do not respect internal wikicode as they each can have a custom parser, but #tag will pre-parse input as wikicode and pass it to the parser tag after [13:32:01] 03(NEW) Unwanted Arabic > Roman transliteration prevents page creation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18632 enhancement; Normal; MediaWiki: Redirects; (erdal.ronahi) [13:32:09] Ah, bugged me for a while. testing [13:32:38] this is not a perfect solution, not all parser tags can be passed information correctly via #tag [13:34:00] where to include it? on the page or in the template? dunno where to find documentation about #tag. hard to search :) [13:37:22] https://bugzilla.wikimedia.org/show_bug.cgi?id=2257#c56 <-- here is where it started [13:37:40] e = m c^2 -> {{#tag:math|e = m c^2}} for example [13:40:05] some documentation here: http://www.mediawiki.org/wiki/Help:Magic_words#Miscellaneous [13:40:15] ah. found it here as well http://www.mediawiki.org/wiki/Manual:Tag_extensions#Extensions_and_Templates [13:40:56] the extension and core feature are subtly different [13:41:17] for example the extension uses {{#tag:xmltag|attribute|attribute|inner content}} [13:41:29] while the core feature does: {{#tag:xmltag|inner content|attribute|attribute}} [13:42:01] simple test works now :) http://www.mediawiki.org/wiki/User:Subfader/1 [13:43:09] thanks. that will save me lot of repeating code [13:43:56] rar [13:44:01] how can i list all templates? [13:44:12] [[Special:Prefixindex/Template:]] [13:44:31] eg: http://en.wikipedia.org/wiki/Special:PrefixIndex/Template: [13:44:38] also Special:Allpages [13:45:07] ta [13:48:12] 03(NEW) Unwanted automatic transliteration into Arabic letters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18633 enhancement; Normal; MediaWiki: Categories; (erdal.ronahi) [13:48:52] 03(mod) Unwanted Arabic > Roman transliteration prevents page creation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18632 15enhancement->normal (10erdal.ronahi) [13:49:08] 03(mod) Unwanted automatic transliteration into Arabic letters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18633 15enhancement->major (10erdal.ronahi) [14:04:30] Is it possible to protect a namespace from being viewed without a certain right, Splarka? [14:05:18] !morbo [14:05:18] --mwbot-- http://img514.imageshack.us/img514/330/morbomediawikiaf9.jpg [14:06:09] see also !worstcase !secrets !cms and if you aren't scared enough, !lockdown (which is not supported or advised, the only way to read-restrict is a separate wiki) [14:09:08] ;-; Splarka, teasing me with Futurama. [14:09:10] That's rough. [14:09:24] but true [14:09:42] It still lacks the important part of the quote; "Good night". [14:10:31] heh [14:10:36] Thanks for correcting me Splarka, that's how I learn. [14:10:46] I believe that was the signoff of that episode [14:11:02] Splarka is our resident time traveller from the 1990s [14:11:08] :o [14:11:12] Really? [14:11:13] dialup, javascript, futurama and imageshack [14:11:14] avar: wat [14:11:17] werdna: wat [14:11:19] That episode aired in 2002. [14:11:25] hi avar [14:11:27] at least I don't use geocities, wippersnapper [14:11:39] Only season 1 and 2 aired somewhat in 1999, werdna. [14:11:49] Unless you consider 2000 part of the 1990s. [14:12:07] Also, ImageShack did not exist in the 1990s. [14:12:09] might as well be [14:12:19] maybe I should have said "early 2000s" [14:12:22] hey, 2000 was part of the second millennium, and the 19th century, according to Clarke [14:12:24] Yeah, maybe. [14:12:29] either way, it's all pretty old ;) [14:12:31] er, 20th century [14:12:34] Merlissimo: Splarka told be you wanted to get the fallback chain for a language through the API. What do you need that info for? [14:12:35] but anyway, heh [14:12:35] Er. [14:13:03] RoanKattouw: What language a bot should write summaries in? [14:13:17] There can be plenty of things. [14:13:36] svip: But basically you just want to know the content of a message in a certain language, right? [14:14:02] I think he just wanted the chain, not for individual messages, but for a given language [14:14:29] I get that, but if the aim is to fetch message content somewhere along the way, transparent fallback handling should be good enough [14:15:08] also, how is it handled with user lang and uselang? [14:15:35] Same way: transparent fallback [14:15:40] That's baked into wfMsg() [14:15:50] *werdna bakes a RoanKattouw pie [14:15:59] assuming for example, content lang: als->gsw->de->en, user lang: vls->nl->en, and uselang: shi->ar->en [14:16:21] is it shi->ar->vls->nl->als->gsw->de->en or shi->ar->als->gsw->de->en or something else? [14:16:23] *RoanKattouw goes to Scandinavia for the winter to cool down a bit [14:16:36] Oh, that [14:16:38] I have no idea [14:16:42] heh [14:16:49] so this information would be interesting to see [14:17:13] But wfMsg() and wfMsgForContent() have some way of handling that, and since those functions are used everywhere, fallback is handled consistently [14:17:25] Also note that some messages are in content language, others in user language [14:18:10] 14:25 < Splarka> is it shi->ar->vls->nl->als->gsw->de->en or shi->ar->als->gsw->de->en or something else? [14:18:14] What do you mean? [14:18:34] For UI messages it's shi->ar->en (from uselang) [14:18:34] werdna: lets say a wiki is set language code als [14:18:45] gfor content messages it's als->gsw->de->en [14:18:49] that's it. [14:18:53] and user lang is set to vls, and they request a page with &uselang=shi [14:19:11] I don't understand why you think it'd go into one big chain. [14:19:32] it has to be some chain [14:19:51] eg, does $fallback in &uselang language have precidence over $fallback in content language? [14:20:07] if it's a UI message it uses the UI fallbacks. [14:20:13] Splarka: fallback is a property of the language [14:20:15] If it's a content message, it uses the content fallbacks. [14:20:22] not the wiki as a whole [14:20:50] if you set uselang, the interface language is ignored, and everything is displayed according to uselang [14:21:17] uselang replaces the UI language, it's not added to the chain [14:21:27] hmm [14:21:49] Meh. [14:21:55] I'll just create a mailing list instead then... [14:22:23] I guess that makes sense [14:22:51] so it shouldn't be hard to expose this for a given content language in the API (not that anyone should need it) [14:30:14] 03(NEW) add language fallback informations - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18634 enhancement; Normal; MediaWiki: API; (bugreporter) [14:31:00] Splarka ^^ [14:31:25] RoanKattouw ^^ [14:31:48] ;-) [14:33:29] Yeah, saw it already. I ping on "API" :) [14:33:41] 03(FIXED) A problem in the combination DPL 1.7.4 and MW1.13 using Chinese interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16576 +comment (10shinjiman) [14:34:17] that's why i only pinged S. [14:34:43] and I $fallback'd to Roan [14:34:56] Merl->Spl->Roan [14:34:59] it what a quick solution by me. [14:35:40] i don't know if fallback information should by hided if the is no one [14:37:01] hey hey brion [14:37:05] ...and/or should it be available for userlang/uselang? heh, if so, probably shouldn't be a property of siteinfo [14:37:07] what ap [14:37:28] nothing much [14:37:36] got to use the phrase "See you in London" today [14:37:42] :p [14:38:48] \o/ [14:38:48] *Splarka gets the clockwork-orange style code review machine ready [14:38:48] brion: hey how. say... have you ever looked into unit testing for mediawiki? I want to require test cases for contract jobs... [14:39:02] Indeed, this shouldn't be in siteinfo, it should be queriable per language [14:39:02] Duesentrieb: we have a couple of half-done crappy unit test attempts [14:39:15] *avar is responsible for the crappiest one [14:39:19] :D [14:39:23] yay :) [14:39:33] needs more lovin' [14:39:34] But the concept was the bestest, TAP FOREVAH [14:39:37] home brew, or phpunit, or what? [14:39:44] one phpunit [14:39:45] Duesentrieb: Seen AmiDaniel's work on that? [14:39:47] *RoanKattouw finds it [14:39:49] and one using that other weird thing [14:39:54] RoanKattouw: no. [14:40:07] I wrote one using TAP - The Test Anything Protocol [14:40:09] RoanKattouw placing on siteinfo/gernal was just an idea [14:40:15] something that supports TAP would be good. [14:40:19] The plan was to write tests in .php, and perl, and C and whatever [14:40:20] Duesentrieb: He called it FuzzTester, can't find it offhand though [14:40:24] have been bugging GerardM- to support that [14:40:27] http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2009/04/28/BU8E17A0ON.DTL [14:40:55] RoanKattouw: ah right... didn't Tim play with that? [14:40:56] Duesentrieb: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/fuzz-tester.php?view=log [14:41:09] hrm, where's Test.php in SVN now? [14:41:24] ah, right, it's not, probably [14:41:36] Duesentrieb: http://search.cpan.org/~avar/Test.php-0.13/Test.php [14:41:39] RoanKattouw: ah, it's for the parser. ok [14:41:41] Hmm I swore that was amidaniel's baby, apparently it's not [14:41:45] fuzz tester is mostly Nick Jenkins' work [14:41:52] Duesentrieb: API also [14:41:55] Possibly more [14:42:02] This was mine, I was also going to write TAP tests with WWW::Mechanize to test the web UI directly [14:42:49] brion: btw are there lingering issues with prefs? [14:42:52] GLORIOUS PLANS, NOT A LOT OF IMPLEMENTATION [14:43:08] that doesn't sound like avar ;) [14:43:19] Duesentrieb: Also a test for Special:Listusers, there's lots more than just parser [14:43:42] hi mdale [14:43:55] werdna: dunno offhand, depends how much got fixed yesterday while i wasn't looking :D [14:43:59] RoanKattouw: i was just reading the description, which sais it works be generating nasty wiki text [14:44:07] brion: heh [14:44:19] ah, but `make test' still works [14:44:27] brion: well everything you've posted in a comment on codereview has been fixed as far as I can tell [14:44:38] RoanKattouw: hm, looks like specific tests rather than a framework to me... [14:44:41] Duesentrieb: That's just the first class in the file, there's lots and lots more, grep "class" [14:44:51] heh... http://www.wikihow.com/Prevent-and-Prepare-for-Swine-Flu [14:44:52] ick. nasty [14:44:58] they should be split :) [14:45:15] but i'll have a look [14:45:17] hey [14:45:32] if that could be made TAP compliant, it might be useful [14:45:53] oh, btw: anyone seen ialeex around lately? [14:45:59] *ialex [14:46:16] brion: well if it goes pandemic at least I don't have to stress about not being able to go to work [14:46:25] :p [14:46:41] brion: Advice #2 conflicts with reports of people dying from cytokine storm [14:46:43] see there's always a silver lining [14:47:02] that ain't a silver lining [14:47:17] o_O [14:47:22] cytokine storm just doesn't sound good [14:47:23] silver lining = something good happening, not something bad not happening [14:47:28] Duesentrieb: But TAP or not, the real problem is that the developers don't write tests:) [14:47:28] avar: yeah Iwas gonna say that [14:47:38] RUN DOWN YOUR IMMUNE SYSTEMS GUYS [14:47:47] avar: because screenscraping tests suck [14:47:55] should be fixed when people start using my HTMLForm interface [14:48:04] turn swine flu into music: http://stephan-zielinski.com/dwa/2009/04/28/swine-flu-ha-as-ambient-music/ [14:48:08] which has a sexy separation of business logic and UI [14:48:12] I clearly made the most awesome test framework ever conceived by man, but people still didn't use it [14:48:13] It's not screen-scraping to just check the HTML output. [14:48:47] ..clearly [14:48:47] Duesentrieb: wow that's awesome [14:48:49] avar, that's because we didn't have a fat guy named Bubba sitting in front of the commit command with a loaded shotgun, asking you in a threatening voice, "Did you write tests for that?" [14:48:56] . . . [14:49:03] I see [14:49:08] *RoanKattouw buys Brion a shotgun [14:49:14] But really, if it's not required and people aren't stabbed for not committing tests, of course we won't write them. [14:49:35] RoanKattouw: dude I have to see brion next wednesday [14:49:38] People just have to just start wholesale reversion of any commit to core that doesn't include adequate tests. [14:49:38] don't do that :P [14:49:56] and I just finished rewriting a whole bunch of code and messing stuff up :DD [14:49:59] y'all gonna write tests for that? [14:50:10] Simetrical: right ;) [14:50:10] Well it's really about what the project makes easy though, MediaWiki is pretty hard to test in general, being somehat unmodular and unfunctional [14:50:10] *brion *ka-click* [14:50:36] Well, you can always do unit tests. [14:50:48] Of course, if we had any reasonable-sized test suite, we'd need test servers to run the tests for us. [14:51:10] you guys ever heard of Selenium? [14:51:21] supposedly it can do html/http based testing nicely [14:51:22] Parser tests have okay coverage for one tiny slice of the code, and they take a minute or two to run. Good coverage for everything would probably take an hour or more to run single-threaded. [14:51:25] but i only glanced at it [14:51:27] Simetrical: I think someone who says "You can always do unit tests" for MediaWiki hasn't tried to do unit tests for mediawiki :) [14:51:28] Vaguely, just from Gerard [14:51:31] Duesentrieb: some folks interested in poking it yes [14:51:36] dunno if anyone's actively doing so yet [14:51:46] but it would be good to have some client-side interaction tests :) [14:51:49] avar, well, what's the problem? You'll have to build up and tear down all the globals on every call, of course, if the function touches globals. [14:52:38] Mainly that it's a lot of work to write tests, but also that it's all pretty monolithic [14:52:39] unit tests are only really useful on nicely isolated logical units. [14:52:50] and what Duesentrieb said [14:52:59] writing good tests takes as long as writing the code in the first place... [14:53:08] Well, honestly all I care about is getting some good UI tests so we can do refactoring of UI code without breaking everything. [14:53:24] that's kind of tough [14:53:29] Simetrical: perhaps give selenium a glance then [14:53:32] I changed the preferences UI in lots of subtle ways [14:53:36] Then you should look into adding some UI scaping to t/www :) [14:53:52] I.e. making a web spider with mechanize that would click through the site [14:53:53] It does seem kind of extreme how people like Mozilla or Chromium do it, with everyone having to scramble to fix random test failures all the time. [14:54:19] brion: that pun on my facebook status is TERRIBLE [14:54:35] *werdna resigns in protest. [14:54:41] ? [14:55:02] " Andrew Garrett got to say the phrase "See you in London". Two days to go." [14:55:09] Brion Vibber at 00:52 on 01 May [14:55:09] im in urope, traveling in ur capitals [14:55:31] http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Testing.pod#ADDING_YOUR_OWN_TEST_SCRIPT <- Anyway, this was basically the sort of stuff I briefly hacked on getting for MediaWiki [14:55:41] werdna: "I'm in ur ope"... [14:55:49] oh yea... [14:55:53] uh... [14:55:53] yes that's the joke [14:55:54] >_< [14:56:00] Basically making a bunch of web spiders, one which clicked through history, others that tried r/w operations and so on [14:56:03] meh:) [14:56:44] 03(mod) add language fallback informations - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18634 +comment (10roan.kattouw) [14:56:52] :) [14:56:59] dearie me, it's pun-demonium. [14:57:12] *werdna dishes out some pun-ishment. [14:57:23] careful, it might become a pun-demic [14:57:31] What was that site that tracked journeys again? [14:57:37] I signed up there, but forgot its name [14:57:39] Get thee to a punnery! [14:57:41] dopplr [14:57:44] dopplr & tripit seem to be the biggest [14:57:45] Right, thanks [14:58:05] http://doihaveswineflu.org/ [14:58:12] seeeeeen it [14:58:14] :P [14:58:42] brion: hey what desktop twitter/identica client do you use? just identica's xmpp? [14:59:01] atm i mostly just use the web interface :) [14:59:07] sometimes use the xmpp interface [14:59:16] also been playing a little with gwibber on linux [14:59:35] I've been using Nambu, which used to be stable [14:59:35] GNU [WV]ibber ? [14:59:46] then they started rewriting it [14:59:55] and I can't get access ot the stable version [15:00:07] it doesn't suppot anything other than twitter, breaks randomly, etc. [15:00:31] you can connect to identi.ca via jabber [15:00:32] Pretty app, but they're just releasing their work branch. [15:00:52] I now recall that XMPP == Jabber [15:00:56] *avar shuts up [15:01:03] :( [15:01:15] http://dullestblog.com/ [15:03:00] hehehe [15:03:19] :) [15:05:00] oh crap, there was a meeting in cambridge two days ago and no-one told me :( bah [15:12:43] how can i run #if inside #tag ? [15:13:15] 03shinjiman * r50075 10/trunk/extensions/DynamicPageList/DynamicPageList2.i18n.php: Follow up r50073, merge localisations fr, id, sr-ec and sr-el for DPL2. [15:13:37] with braces [15:13:40] hey RobH [15:14:16] Heya [15:14:33] buenos dias [15:14:42] ok i'm packing off to the office [15:14:46] {{#tag:math|2^2 + {{#if:1|2|3}}}} {{#tag:math|2^2 + {{#if:|2|3}}}} [15:17:33] ���� ������. ����� �� �������� �������� ���������?:) [15:18:13] PhantomSL: If that was supposed to be Russian or something, it came out all ugly [15:18:16] Âñåì ïðèâåò. Ìîæíî ëè çàùèòèòü ñòðàíèöó ó÷àñòíèêà?:) [15:19:18] ?? [15:19:44] looks good with a cyrillic encoding (rather than unicode) [15:19:49] Hmm [15:19:58] Looks very weird to me (ChatZilla) [15:20:01] I just see a bunch of accented characters. [15:20:04] Yeah [15:20:07] the first word looks like anal [15:20:07] xchat doesnt like it either [15:20:08] lol [15:20:12] Anai ioeaao etc. [15:20:45] yah, same until I switched to Cy [15:20:57] I am understand. Bot config settings after selebration 1 may. Senks [15:21:22] celebrating may 1st? [15:21:26] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10shinjiman) [15:21:34] Frenchies will go on strike [15:21:41] but there's nothing to celebrate here [15:21:48] it's just "business" as usual [15:21:51] http://img99.imageshack.us/img99/2861/38002168.gif [15:21:54] Yes. By-by [15:22:28] Here neither; we had Queen's Day today, and some crazy guy decided to attempt to drive his car into the bus carrying the Queen, driving into 23 people and killing 4 [15:23:19] walpurgis night for eastern/northern europe [15:24:04] 03(mod) Release MediaWiki 1.15 (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18629 (10shinjiman) [15:24:24] > "Hey all. Is it possible to protect the user page" [15:24:32] according to goog/tran [15:25:04] it was holiday on the 29th here... Showa no hi [15:25:22] http://www.google.com/search?hl=en&q=%D0%92%D1%81%D0%B5%D0%BC+%D0%BF%D1%80%D0%B8%D0%B2%D0%B5%D1%82.+%D0%9C%D0%BE%D0%B6%D0%BD%D0%BE+%D0%BB%D0%B8+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D1%8C+%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D1%83+%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA%D0%B0 <- unicode [15:25:32] 03siebrand * r50076 10/trunk/extensions/Click/: [15:25:32] Remove obsolete extensions after branching of MediaWiki 1.15 [15:25:32] * Click [15:26:04] *Splarka wonders what that question had to do with may/bot/walpurgis [15:26:31] or showa emperor. [15:28:10] Can't get the if working here http://www.mediawiki.org/wiki/User:Subfader/1 [15:31:31] Subfader: you're not using #if right [15:31:40] #if only checks for nullity, so you always need a fallback [15:31:49] {{#if: {{{XX}}} | {{{XX}}} | {{{ID}}} }} should be {{#if: {{{XX|}}} | {{{XX}}} | {{{ID}}} }} [15:31:56] otherwise it does nothing (nothing to do with #tag) [15:32:31] never understood the | inside {{{param}}} :/ [15:32:59] if the parameter is undefined, then it returns what is to the right of that parameter [15:33:25] {{foo}} containing {{{1}}} returns "{{{1}}}", {{foo|bar}} containing {{{1}}} returns "bar" [15:33:40] {{foo}} containing {{{1|fallback}}} returns "fallback", {{foo|bar}} containing {{{1|fallback}}} returns "bar" [15:33:56] you need null fallback in #if, if you want to check if a parameter is undefined [15:34:08] {{foo}} containing {{{1|}}} returns "" [15:34:51] need to rethink that twice. thanks for clearifying :) [15:37:50] so I need {{{param|}}} in #if only if I need a false other than "" [15:45:58] Subfader: you always need | in #if, except in one or two very esoteric cases [15:46:34] like if you want to check if a parameter is defined as null, vs defined unnull or undefined [15:46:38] heh, confusing though [15:49:53] ok {{#if:{{param}}|{{param}}}} always returns {{param}} [15:50:29] too confusing for me not to talk bullshit ;) [15:50:49] *AaronSchulz gets everything set up [15:50:54] 03(NEW) Allow to use User pages as OpenIDs even if user is using OpenID already - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18635 enhancement; Normal; MediaWiki extensions: OpenID; (sergey.chernyshev) [15:51:05] i'll keep it in mind though [15:51:11] thanks [15:53:57] Subfader: {{{param with three braces [15:54:16] yep forgot when typed [15:55:09] **leaves in shame [15:55:16] noobs, heh [16:20:40] werdna: when user A registers another user B, in AbuseFilter user_name == accountname == 'B', can this be fixed? [16:36:17] 03(mod) New function that determines whether a string is an IP address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15352 +comment (10happy-melon) [16:54:26] 03(mod) Create a maintenance script to convert oversighted content to suppressed with revision deletion, and the corresponding log entries too - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18598 +comment (10happy-melon) [17:03:30] 03(mod) Problem with Interface translation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18578 (10happy-melon) [17:06:22] www.LinuxCAD.com looking for Linux consultant 80k/year [17:06:24] www.LinuxCAD.com looking for Linux consultant 80k/year [17:31:47] 03(mod) New function that determines whether a string is an IP address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15352 (10matthew.britton) [17:43:06] 03(mod) New function that determines whether a string is an IP address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15352 (10happy-melon) [17:43:39] hi all [17:46:08] !ask | evanpro [17:46:08] --mwbot-- evanpro: 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. See also: !gethelp [17:46:33] charitwo: thanks [17:46:44] Is it OK if I say hi to my friends here? [17:47:13] I think you're supposed to ask if you can ask that question first :-P [17:47:16] (sorry, feeling punchy) [17:47:23] :< [17:50:51] I do actually have a question, which is not only stupid but also off-topic [17:51:05] How's that for awesome? [17:51:55] brion: ping [17:52:08] My problem is that I started a big Web site using PHP and MySQL called Identi.ca [17:52:15] Open Source, Open Content [17:52:35] I've been having problems with multi-byte chars [17:52:59] And I think I can solve it by calling "SET NAMES 'utf-8'" right after making a new DB connection [17:53:04] yo evanpro [17:53:09] However, I haven't been doing that since things started [17:53:24] And now I've got like 3.5M records with heaven knows what kind of data in them [17:53:27] ah welcome to multibyte hell [17:53:57] step 1: let's double-check what charset your tables think they're using [17:53:57] ISTR that something similar happens with MW and WP [17:54:18] Well, I think they think it's utf-8 [17:54:56] what sort of problems are they giving you (so we have an idea)? [17:55:25] http://identi.ca/db/laconica.sql <-- we use CHARACTER SET in the DB setup script [17:55:59] atglenn: I've got a fixed-size column (140c), and it looks like it's truncating at 140b instead of 140c [17:56:18] ugh I see [17:56:51] 03(mod) Problem in edit with form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18621 (10yaron57) [17:57:12] atglenn: weirdly, I'm not sure [17:57:21] you're not sure? [17:57:44] er, what do you see and what do you expect to see? maybe we can get at it that way [17:58:06] Yeah, the DB seems to show that it knows the full byte-length of entries in that column, which can be >>140c, but it only returns 140b, truncating the data [17:58:12] It's all very head-spinning [17:58:38] this is from mysql at the command line if you look at one of the entries? [17:59:32] Right [17:59:34] Hold on [18:00:43] so we pre-render these 140c messages into HTML, and store that as a text field [18:00:54] And the text field and the html field differ [18:00:57] See here: http://identi.ca/notice/3726013 [18:01:03] That's the rendered text [18:01:59] how can I check that mediawiki is using memcached? i have the instance running, have setup LocalSettings.php, but /var/log/memcached.log hasn't been modified in a year [18:02:07] But here's the output from mysql: http://pastebin.ca/1408684 [18:02:27] prefrontal: is it running really slow? It's probably not using memcached [18:02:49] You can also turn on the very verbose option on memcached to get logging of each request [18:02:57] oh man. yeah that looks like truncation all right [18:03:06] atglenn: so check this out [18:03:48] So, if I use "SET NAMES 'utf8'", all is well [18:03:55] Things store correctly and don't get truncated [18:04:28] 03(NEW) Allow inline style declarations to be post-applied onto eventual upload-protected SVG images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18636 enhancement; Normal; MediaWiki: Images and files; (azatoth) [18:04:29] However my OLD messages get all mucked up [18:04:44] which means there is something borked about them somehow. [18:04:46] urk! [18:04:59] RoanKattouw: please implement https://bugzilla.wikimedia.org/show_bug.cgi?id=18636 for me ツ [18:05:23] http://pastebin.ca/1408689 [18:05:33] atglenn: yeah, there is definitely something borked about them [18:06:07] AzaTht: That's a pretty big feature :P [18:06:22] heh, you have one hour, starting now... [18:07:29] atglenn: the whole reason I'm in this mess is that I didn't want to goof around with MySQL charset nightmares [18:07:42] well you were going to have to anyways [18:07:49] So as long as my stuff was coming in and out OK, I just waved my hands and hid my eyes and pretended that it was fine [18:08:11] My only guess as to what happened is this: [18:09:00] MySQL thought it had a Latin 1 data coming in (default, unless you call SET NAMES) [18:09:34] 03raymond * r50077 10/trunk/phase3/languages/messages/ (50 files): Localisation updates for core messages from translatewiki.net (2009-04-30 17:55 UTC) [18:10:23] It thus took its input of UTF-8 data, treated it as if it was Latin 1, and then converted that to UTF-8 to store in the DB [18:10:36] It does a reverse process on output [18:11:19] oh ewww [18:11:22] Yeah [18:11:45] I seem to remember that MW kind of does the same thing [18:12:07] when you set names utf and dump prexisting data [18:12:13] what does it look like ? [18:12:21] utf8 that's been double converted? [18:12:34] cause that would be the nail in the coffin [18:14:28] 03(NEW) Gadget not shown. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18637 critical; Normal; MediaWiki extensions: Gadgets; (bugzilla.wikimedia) [18:15:19] atglenn: it looks like http://pastebin.ca/1408689 [18:16:16] I think I can fix the problem by having two connections, reading out data as Latin 1, then writing it back on a connection with SET NAMES 'utf8'; [18:16:17] ok, now I have to remember which form of garbled that is [18:16:48] yeah, you're going to have to dump it with the existing setup first, then make the change and shove it back in [18:16:58] ho way around it unfortunately [18:17:00] *no [18:17:00] I might also be able to fine-tune it [18:17:49] http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html <-- "SET character_set_client = 'utf8'; SET character_set_results = 'latin1';" [18:18:13] i.e. "I will send you UTF-8, you send me latin 1" [18:18:26] hmm [18:18:36] I dunno [18:18:39] I guess you can test it [18:18:43] Yeah, I have to [18:21:06] Obviously [18:21:10] B-) [18:22:09] yeah I got it [18:22:17] echo 'میگن گشتهای پلیس' | iconv -f iso8859-1 -t utf8 [18:22:21] میx8c;گنx86; گشتهx87;ایx8c; پلx84;یx8c;س [18:22:29] that's totally what's going on [18:23:00] evan!! [18:23:05] evanpro, i verified it was working with a memcached instance that I started. but I am trying to use an instance that is already running on my system, so I can't add -vv to the flags. any advice on checking that this thing is working? [18:23:06] (sorry if I borked someone's irc client) [18:27:23] where was i [18:27:28] oh good, atglenn's on the case :D [18:27:31] 03raymond * r50078 10/trunk/extensions/ (46 files in 44 dirs): Localisation updates for extension messages from translatewiki.net (2009-04-30 18:10 UTC) [18:27:33] was afraid i'd forgotten you evanpro :D [18:27:45] nah, I live in unicode hell, remember? [18:27:58] hey guys im trying to add a contents menu for an article and I cant figure out how to do it :( I always thought it was automatically done.... but I guess not >_> [18:27:59] comes of using a multibyte character set every day, I find *all* the bugs :-( [18:28:33] prefrontal: I think if you turn debug logging on, there's some output about whether memcache is being used [18:28:47] atglenn: heh [18:29:23] Anyways I think I'm just hosed [18:30:28] SET character_set_results didn't get it? [18:30:41] 03ialex * r50079 10/trunk/extensions/ (7 files in 5 dirs): svn:eol-style native [18:35:14] atglenn: well, I'm going to check that out [18:35:28] ok [18:35:34] I think what I'll do... [18:35:48] ...is copy out my notices to a backup table [18:35:51] ...convert that table [18:36:16] ...turn on SET NAMES [18:36:29] ...copy the new values back to the old table [18:36:38] And then fixup the stuff that's happened in between [18:36:53] cant you [18:36:58] copy the notices [18:37:05] turn on set names on the old table right after the copy [18:37:13] (how much can get in between the copy and the conversion?) [18:37:20] not much [18:37:22] then the resst can take as long as it needs... [18:37:26] Right [18:37:31] er unless there are a bunch of updates ot those entries [18:37:32] Except old notices will be unreadable [18:37:42] yes, for 5 minutes or whatever [18:37:51] Well, assuming the conversion goes OK [18:37:57] perhaps that's a bad attitude on my part [18:38:12] I mean, assuming the conversion goes fast [18:38:17] right [18:38:19] if it is that fast, I'd just do it in-place [18:38:22] how many entries? [18:38:30] any notion? [18:38:44] 3.5M [18:39:17] 3788072 [18:39:20] To be exact [18:39:40] IWBNI there was a fast way to do this [18:40:18] Like convert the contents of the table into raw binary, then convert the raw binary into UTF-8 [18:44:29] that I don't know, sorry about that [18:47:39] morning [18:47:39] Yeah [18:47:48] I might be able to do it with mysqldump using hex output [18:49:28] dump, iconv, import? [18:50:40] if you mysqldump with charset set to latin1 you may be able to just adjust the charset settings in the sql file and read it back in to a fresh copy intact [18:50:41] hopefully :D [18:51:07] true, but should make sure everthing is sane first :D [18:52:03] well that was the SET character_set_results option [18:55:21] 03yaron * r50080 10/trunk/extensions/ReplaceText/SpecialReplaceText.php: [18:55:21] Inputs for strings now textarea, to allow multi-line values; various bug fixes [18:55:21] and improvements [18:55:33] 03yaron * r50081 10/trunk/extensions/ReplaceText/ (README ReplaceText.php): New version, 0.5.1 [18:56:04] brion: you were talking about dopplr earlier... care to friend me there? [18:58:26] sure :D [19:00:49] looks like i've got a pile to approve ;) [19:01:36] ugh my computer hates me today [19:01:43] activity monitor and terminal are hanging o_O [19:06:22] bah. ok i'm rebooting this thang [19:06:39] I didn't even get time to say "have a nice trip" [19:14:24] wb [19:34:13] 03(mod) Problem with Interface translation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18578 (10niklas.laxstrom) [19:45:25] 03(mod) English doesn't show number of categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18631 (10niklas.laxstrom) [19:46:34] hello, how do i get the string of the title? i am trying to do the comparison like this: $wgArticle->getTitle()!="Main Page" and that doesn't work [19:47:02] getTitle() returns a title object [19:47:23] can i get a string of the title out of it? [19:47:23] you would need to call getPrefixedText() on that [19:47:41] hi Duesentrieb [19:47:53] hey Nikerabbit [19:50:19] 03(mod) Create a maintenance script to convert oversighted content to suppressed with revision deletion, and the corresponding log entries too - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18598 +comment (10FT2.wiki) [19:50:29] 03(mod) Remove "hiderevision" permission from the Oversight group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18511 (10FT2.wiki) [19:51:00] 03(mod) Suppression log filtered by "offender", as Oversight log can be. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18472 (10FT2.wiki) [19:51:30] 03(mod) add language fallback informations - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18634 (10niklas.laxstrom) [19:51:33] 03(mod) Create a maintenance script to convert oversighted content to suppressed with revision deletion, and the corresponding log entries too - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18598 (10FT2.wiki) [20:04:58] 03(mod) add language fallback informations - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18634 (10bugreporter) [20:14:16] Could anyone help me set up my mediawiki site? I'm trying to add a few plugins and need some help. [20:14:54] You mean extensions? [20:14:58] is there any existing solution for exporting the contents of a particular namespace- in this case the MediaWiki namespace [20:15:01] yeah, sorry i meant extensions [20:15:01] KingAztech_: if you ask a concrete question, someone might help you [20:15:24] TrevorParscal: i think someone added that feature to Special:Exportm but it got reverted. [20:15:38] TrevorParscal: pretty sure dumpBackup.php can filter by namesapce [20:15:41] Duesentrieb: Thats the thing. I need help setting up a few extensions: My Blog, irc, gallery, fckeditor, etc. [20:16:09] huh? there'S an IRC extension? [20:16:25] Duesentrieb: Yeah, i believe so [20:16:25] anyway: try to install them. when you run into trouble, ask [20:16:28] Duesentrieb: how long ago? [20:16:31] !extensions [20:16:31] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [20:16:38] TrevorParscal: how long what? [20:16:54] did that feature get added/reverted (if you recall) [20:16:59] Duesentrieb: http://www.mediawiki.org/wiki/Extension:IRC_Chat [20:17:46] Duesentrieb: http://www.mediawiki.org/wiki/Extension:My_blog#Making_.22Most_Recent_Blogs.22_in_the_Navigation_Menu How can i get to Mediawiki:sidebar on my site? [20:18:00] KingAztech_: Visit "MediaWiki:sitebar" as if it were the name of a wiki page [20:18:10] KingAztech_: by following the instructions? [20:18:11] (or just type it into the search bar) [20:18:33] !sidebar [20:18:33] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [20:18:35] TrevorParscal: Export by namespace was reverted because of performance concerns [20:18:40] The API can sort of do it though [20:18:50] so can dumpBackup [20:18:52] like this RoanKattouw ? http://kingaztech.com/index.php?title=Mediawiki_sidebar [20:19:04] Yeah, except with a : between the two words [20:19:14] http://kingaztech.com/index.php?title=MediaWiki:Sidebar [20:19:56] oh kk thanks [20:23:17] RoanKattouw: http://www.mediawiki.org/wiki/Extension:My_blog#Add_Extensions_to_your_LocalSettings.php where do i have to paste this? at the bottom? [20:23:31] Yes [20:25:10] dumb question for today - "Error creating thumbnails, unable to run external programs in safe mode." Is this something I can fix in localsettings.php? [20:25:21] Probably not [20:25:23] !safemode [20:25:23] --mwbot-- safe_mode is an ill-concieved, broken-by-design setting in PHP that is supposed to make broken scripts safe. It was deprecated in PHP5 and removed in PHP6. MediaWiki can run with safe_mode enabled, but many of the advanced features will not work or need additional configuration (image thumbnailing using ImageMagick, for example). See http://www.mediawiki.org/wiki/Safe_mode for more information. [20:26:57] Sweet, that is easy to fix [20:26:59] Thanks [20:28:20] I've got this error: http://kingaztech.com/index.php?title=Special:ListAllBlogs/ [20:28:31] it's already turn true in localsettings [20:30:31] could someone please take a look? [20:30:33] http://kingaztech.com/index.php?title=Special:ListAllBlogs/ [20:34:05] anyone? please [20:34:49] KingAztech_: looks like that extension is broken. [20:35:25] oh [20:35:29] crap [20:35:36] Mediawiki isn't noob friendly :( [20:35:57] Perhaps i should look for someone who is willing to set this site up for me in exchange for free hosting or a small fee [20:36:09] or go to a wiki hosting site. [20:36:13] or use a different wiki engine [20:36:18] or don't use bropken exiensions [20:36:24] or don't try to turn a wiki into a blog... [20:36:29] your choice :) [20:37:02] heh, i've tried different wiki engine none of a have a extension list [20:38:16] my site is mainly wiki but needs a blog... dont need two different sites [20:39:13] there are lots of wiki engines with lots of extensions [20:39:22] turning mediawiki into a blog is possible, but not very nice. [20:39:35] also... you can install multiple apps on the same site, see? [20:40:12] *brion recommends using wordpress for blog and mediawiki for wiki :) [20:42:20] brion: what about drupal for everything :) [20:46:49] drupal? fuck, just use emacs [20:47:15] :D [20:48:19] would anybody have a look on https://bugzilla.wikimedia.org/show_bug.cgi?id=18207 [20:52:58] brion: +1 [20:53:04] (really, +20 :-P ) [20:57:50] AhmadSherif: i'll take a peek in a sec [21:11:11] hi [21:11:59] is it possible that ONE MW installation can handle more than one database? So I have 4 Wiki databases for 4 wikis on one server but I only want the Wiki Package once on the Server [21:12:29] 03(mod) Strange spacing before [[irc:...]] links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18207 +comment (10brion) [21:13:49] Danwe, yes. All the several hundred Wikimedia projects run off one copy of MediaWiki. [21:13:59] 03(mod) Strange spacing before [[irc:...]] links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18207 +comment (10brion) [21:14:02] (copied out to several hundred Apaches, actually, but that's immaterial) [21:14:10] !farm [21:14:10] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [21:15:21] great, thank you [21:15:38] Do you know if it's possible to have 2 databases which should get mixed in one wiki? [21:16:03] I'd like to have one database only for Template Namespace which should be accessable for multiple wikis [21:16:23] But I don't like the Interwiki concept for this [21:16:52] That's not really doable. [21:17:21] You have to use interwiki stuff, pretty much. [21:17:51] but I hate those prefix you have to use because nearly ALL templates which are used will be in the shared database [21:20:24] how difficult would it be to create an extension which can handle multiple Wikis with two DBs like that? [21:23:06] Danwe: well, you could basically reimplement interwiki templates [21:24:23] what do you mean by reimplement them? aren't they in the newest MW version? [21:24:38] Or do you mean to rewrite the functionallity of them? [21:30:34] Anyone available for a moment to help fix short URL issue with a new install of Mediawiki? [21:31:29] ^ a short URL issue [21:34:21] brion: why irc links have "extiw" class, isn't it for interwiki? [21:34:34] some of them probably are interwiki links [21:34:46] [[irc:mediawiki|#mediawiki]] for example [21:34:50] 03(mod) MySQL Connection dies with error 61 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18626 (10seth) [21:35:00] !ask | bradbeattie_ [21:35:00] --mwbot-- bradbeattie_: 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. See also: !gethelp [21:35:09] 03(mod) MySQL Connection dies with error 61 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18626 major->04CRIT (10seth) [21:35:31] AhmadSherif: those are interwiki links [21:38:01] I have a freshly installed copy of MediaWiki and I've followed the steps as per http://www.mediawiki.org/wiki/Manual:Short_URL. While I can correctly navigate to http://example.com/wiki/SomePage, all red links (non-existent URLs) generated in that page are of the form http://example.com/w/index.php?title=Foobar&action=edit&redlink=1. Is this expected behaviour? [21:38:39] red links should open to an edit window, yes [21:38:41] 03yaron * r50082 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_tw.php: Added translations by Roc Michael Chang [21:39:09] atglenn: Agreed. But shouldn't the URLs be http://example.com/w/Foobar&action=edit&redlink=1 ? [21:39:23] ^ /wiki/, not /w/ [21:40:15] bradbeattie_: No, links will go to /w/index.php?title=Blah&action=edit&redlink=1 by default. [21:40:39] I'm pretty used to seeing index.php in the link name. [21:40:59] (for things that require an action, such as edits, diffs, etc.) [21:41:01] bradbeattie_: If you don't want that, you can use action paths, which will let you do stuff like /view/Foobar, /edit/Foobar, etc. [21:41:05] Ah, thanks guys. Just seemed odd to me, but if it's expected behaviour, it's expected behaviour. [21:42:06] !wg ActionPaths | bradbeattie_ [21:42:06] --mwbot-- bradbeattie_: http://www.mediawiki.org/wiki/Manual:%24wgActionPaths [21:42:18] chuck: Reading that right now, yeah. :) [21:44:58] Installed MediaWiki for the first time and getting an error... can anyone help? [21:45:07] !ask | CheechInNYC [21:45:07] --mwbot-- CheechInNYC: 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. See also: !gethelp [21:45:28] CheechInNYC: Any errors? :P [21:45:34] (that you can paste for us, I mean) [21:45:49] Thanks in advance... this is the error i'm getting. Fatal error: session_start() [function.session-start]: Failed to initialize storage module: files (path: ) in /Library/WebServer/Documents/uscwiki/includes/GlobalFunctions.php on line 2581 [21:46:07] I assume it's a PHP issue, but I'm somewhat clueless [21:46:40] CheechInNYC: Hrm... http://forum.mamboserver.com/showthread.php?t=38856 [21:46:44] It's a PHP error, for some reason the path to the session store for PHP isn't configured [21:47:10] CheechInNYC: In that link, someone writes "hi try changing your current php settings for session.save_handler user files to session.save_handler files. shouldnt this be just either user or files?" [21:48:47] Hmmm.... [21:49:15] 03(mod) Strange spacing before [[irc:...]] links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18207 +comment (10ahmad.m.sherif) [21:50:25] the error only appears when I define the open_basedir = in the php.ini file.. if I leave that blank it seems to work fine. [21:51:00] CheechInNYC: well, are you sure you want to use open_basedir stuff? (or safe_mode?) it does not really work good for many apps [21:51:18] 03(mod) English doesn't show number of categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18631 +comment (10innocentkiller) [21:51:26] Maybe the open_basedir option extends to the session save path location? [21:52:26] i only did so in order to enable the file upload functionality in mediawiki.... as per the directions for doing so. [21:52:42] Chuck, I'm not sure I follow. [21:53:33] It's just a random thought, not sure if it's true or not, but maybe PHP's open_basedir option (which I assume you understand if you're using it) will prevent access to a path outside of the base directory even if it's the session store? [21:54:34] I cant say I fully understand it, but I did follow the directions on the mediawiki site.... [21:55:07] Do you have users that you don't trust on your server? [21:55:12] *using PHP on your server [21:55:24] No, no one... its on a local machine... [21:56:43] Like I said, I only define the open_basedir in the php.ini file, because the mediawiki.org instructions for enabling file uploads said it was necessary.... if there's another way to do that, I'm more than glad to comment that line out of php.ini... [22:01:40] !ask [22:01:40] --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. See also: !gethelp [22:07:23] 03(mod) Unify various deletion systems - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18493 +comment (10happy-melon) [22:08:18] brion: are you here? [22:09:09] oy [22:09:30] would it be possible to get a dump of the Template: namespace in enwiki? [22:11:06] didn't find it on the wikimedia db download page, and there are too many templates for Special:Export to be effective [22:15:32] Skizzerz: you could pull the content one and just filter out everything that's not a template :) [22:15:49] yeah... but how? :P [22:16:01] I thought of that initially, but the file is too large for me to do anything with [22:18:05] mwdumper will happily filter by namespace and produce you a filtered dump file [22:18:26] ok, I'll try that :D [22:18:41] *Skizzerz didn't think mwdumper worked with the newer schemas since the docs are so outdated [22:20:30] oh, --format=xml [22:24:13] 03yaron * r50083 10/trunk/extensions/ReplaceText/SpecialReplaceText.php: Fixed moving pages when target string contains spaces [22:25:02] 03(mod) English doesn't show number of categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18631 (10jidanni) [22:35:07] 03(mod) Activate Extension:Collections on nowiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18618 +comment (10a_larsen79) [22:41:42] 03(mod) Activate Extension:Collections on nowiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18618 (10brion) [22:46:52] <^demon> WTF? [23:06:21] first there was 1.17 now theres 1.93, i think brion is holding out on us >.> [23:08:44] heh [23:08:46] 03(mod) Local evaluation of magic words for commons files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18616 +comment (10happy-melon) [23:08:49] the cabal is hard at work but [23:08:54] if we told you we'd have to kill you [23:19:41] 03(mod) Gadgets with names containing non-ASCII characters are not displayed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18637 summary; +comment (10happy-melon) [23:22:18] 03(mod) Local evaluation of magic words for commons files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18616 +comment (10innocentkiller) [23:36:20] anyone know how to dump to xml just a particular namespace? [23:36:36] maybe using a plugin with dumpBackup.php ? [23:38:19] 03(mod) Please enable transwiki-imports to English Wiktionary from other Wiktionaries. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18519 +comment (10m.hamm.1) [23:40:52] 03dale * r50084 10/branches/new-upload/phase3/ (9 files in 6 dirs): [23:40:52] * added background shell task starter. [23:40:52] * added session state updates for downloads [23:40:52] * minor case fix for upload.js [23:40:52] * removed PEAR Http_Request2 class in favor of local version [23:40:53] ** too many upstream patches to deal with a async downloads and session state updates [23:41:17] 03dale * r50085 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (3 files in 3 dirs): uploader interface updates [23:46:39] is it ok here to ask a syntax question ? Im trying to get two .jpg shown on my MediaWiki ... [23:52:31] 03(mod) Please enable transwiki-imports to English Wiktionary from other Wiktionaries. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18519 (10ran.arigur) [23:52:32] <^demon> !ask | simNIX [23:52:32] --mwbot-- simNIX: 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. See also: !gethelp [23:53:22] <^demon> simNIX: The bot was supposed to say, "Don't ask to ask a question, go ahead and ask it anyway." [23:54:47] <^demon> simNix: You can't display arbitrary images (unless you enable that feature). The [[File:Someimage]] syntax works for uploaded files only. [23:55:25] ok - ill lookup how to enable eather - tnx for clarifying [23:56:40] <^demon> simNIX: No problem. The setting you want is documented here: http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages [23:57:04] <^demon> Or for uploading, http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads