[00:00:03] :D [00:00:07] *brion looks at live demo [00:00:34] http://91.1.51.215/mediawiki/index.php/Special:ListTransclusions/Foo_%26_bar <- it seems, the & is not a problem ^^ [00:01:58] http://validator.w3.org/check?uri=http%3A%2F%2F91.1.51.215%2Fmediawiki%2Findex.php%2FSpecial%3AListTransclusions%2FFoo_%2526_bar&charset=%28detect+automatically%29&doctype=Inline&group=0 [00:02:18] oh, right, okay - you won ^^ [00:05:13] but why is the text already converted with setPageTitle but not with setPageSubtitle? [00:06:03] the subtitle field is used with weird links and crap [00:06:06] the title is always plaintext [00:06:09] yes it's terrible sorry :D [00:06:25] hehe ^^ [00:06:46] and I thought I could just use htmlspecialchars on my $targetText variable :P [00:07:10] :D [00:07:17] validate on input [00:07:19] escape on output [00:07:27] be very careful when escaping somewhere in the middle of your processing :D [00:07:34] *Reedy validates brion [00:07:37] best practice is to name your variables distinctly for such things -- like $encTitle [00:07:44] awww thanks Reedy [00:07:47] haha [00:08:00] I'm getting tired of unit testing people (damned coursework) [00:08:15] i'm getting tired of not having enough unit testing :) [00:08:39] it seems that addWikiMsg encodes it too, so I only need it once [00:09:07] brion, http://csharp.pastebin.com/d276d5177 look at that for a laugh [00:12:33] brion, make it a rule so people cant add new stuff without unit tests ;) [00:13:02] somebody has to make a unit test framework first [00:13:09] hm [00:13:27] phpunit? [00:13:45] Reedy: what is so funy about that, except that it generally fails at being readable? [00:14:03] werdna, being given it as a basis of a coursework [00:14:21] that is pretty funny, unless its a how not to program course [00:14:23] we currently have like 3 half-assed test frameworks :) [00:14:27] Loads of duplicate code, badly written. Generally crap [00:14:47] werdna, its a software engineering module.. We're supposed to refactor and tidy it up, etc [00:14:57] oh i see [00:15:45] fix the bugs in it.. I've reduced the number of lines by 60% by removing dupes tidying up, etc [00:16:14] brion: the new one is a nice idea, but I don't think they have the talent on the team to pull it off as well as they could. [00:16:33] It's made up primarily of non-MediaWiki developers [00:18:06] https://bugzilla.wikimedia.org/show_bug.cgi?id=17053 "Hiding log entries with RevisionDelete does not automatically hide the corresponding page history entry" <-- Closed as LATER. Ugh. [00:18:53] werdna: they're primarily targeting regression testing of extension behavior [00:19:08] *nod* but it'll juts show a blank form <- I have added a warning then, but note that Special:WhatLinksHere only shows a blank form, too :P [00:19:23] i think it's enough of a different beast that it'll be very useful for that purpose whether or not it does what we want for core [00:19:36] poke`: well that's suckage in our page too then ;) [00:19:40] :D [00:20:40] http://91.1.51.215/mediawiki/index.php?title=Special%3AListTransclusions&target=MediaWiki%3ACommon.js <- this is a bit sad now :/ [00:21:32] but I think I have fixed all your points now - I even changed those variable names ^^ [00:22:44] Have updated the download package, if you want to take another look [00:24:19] \o/ [00:27:28] Thanks for your help :) [00:32:02] :D [00:32:06] ok gotta run [00:42:04] Any MSIE6 users online? [00:42:26] if there are, we should kick them out [00:42:28] o.o [00:43:15] bitch [00:43:17] :P [00:43:27] zrh: if there were they'd tell you to upgrade to 7 or switch to firefox ;) [00:43:29] flyingparchment: :o [00:43:37] 8 is out [00:43:38] ;) [00:44:53] A friend is only able to use IE6 at work because they use Win2000 and there is no update to 7 or 8 available... [00:45:22] and alternate browsers are not allowed to be installed? )-: [00:45:27] poke`: That's the usual problem … [00:45:32] Afker: Software installation by users??? [00:45:50] Afker: some company network policies restrict software installation [00:45:53] no, you bug your IT admin until they do it just to silence you [00:45:54] Mobile Firefox might be a solution, however, it's probably a violation of the usage policy. [00:45:56] they have firefox :P [00:46:12] i got written up for having skype on my personal shared drive once [00:46:32] if your IT admin is mac-inclined, get them to install Safari on teh windows boxes instead [00:47:53] Afker: A browser without extensions, especially for ad blocking … no thanks! [00:48:09] Afker: I know, there're hacks for Safari … [00:48:26] (zrh): as an alternative to IE6 [00:48:40] Everything's better than MSIE6. [00:48:44] exactly [00:49:18] so, if your IT admin is Mac-inclined, there might be a higher success rate of getting him to install Safari in the windows boxes as an alternative to IE6 [00:52:29] zrh: IE5 ^_^ [00:52:39] *charitwo twitches [00:52:45] that is my latest IE [00:52:56] I can run 2 in a pinch though [00:53:10] Splarka: ;) [00:53:27] I hate MSIE6 and it's PNG support … [00:53:31] (pro tip: I don't use it) [00:54:13] Splarka: I don't use it either, some of my more relevant site visitors do … because they surf at work with MSIE6 … [00:54:31] you know, the single-character '...' looks really wrong in a monospace font. [00:54:43] I think it's a vulnerability to have an old IE sitting around on your comp, even if you don't use it at all [00:55:12] flyingparchment: Use another font! [00:55:46] i don't think i'm going to change irc client just so i can see your silly letters properly. ;) [00:56:40] flyingparchment: Can't your IRC client use a state-of-the-art font? … is pretty standard. [00:56:50] http://en.wikipedia.org/wiki/%E2%80%A6 [00:56:57] if I didn't use a monospace font, the ASCII cows would look really stupid [00:57:02] zrh: you can't run terminal programs with a proportional font. the character appears fine, it's just far too narrow [00:57:17] flyingparchment: Ah, I see the problem, that's a valid point! [00:57:30] TimStarling: Are you really that into ASCII cows? ;) [00:57:50] wtb monospace font that support big parts of Unicode and still looks good btw. [00:58:02] fixedsys excelsior [00:58:05] not just ASCII cows. There's also ASCII cats, and ASCII porn... [00:58:09] didn't like that one [00:58:14] then you're SOL [00:58:19] try FreeMono [00:58:41] Afker: it's on a CD on the shelf, runs right from the CD even (2.0) heh [00:58:47] it's what I use for my SSH client [00:59:15] I really like Consolas, so why can't MS make Consolas really good and add some more characters? :/ [00:59:17] (Splarka): ah I see. (-: [00:59:45] (poke`): MS can't make things really good. So... [00:59:49] poke`: i changed from consolas to dejavu sans mono. it's not quite as nice (looks cramped), but it has more characters [01:00:03] (the design is very similar to consolas, though) [01:00:06] …� shows up as "� � � �" in pre-unicode 'Courier New', heh [01:01:24] well, whenever I see some unsupported character here in xchat I just copy it and paste it in the input field (which is Arial or something similar) and can see the characters without problems.. So as long as you don't start talking japanese and I have to copy each line to read it, I'll just stick with this solution :P [01:01:47] hai, wakarimashita [01:02:19] you know that you are using romanji there? :P [01:02:32] 赤巻紙青巻紙黄巻紙 [01:02:33] 馬鹿 [01:02:56] just wait until unicode adds special codepoints for romanji [01:03:49] ... [01:04:00] 01:04 < zrh> TimStarling: Are you really that into ASCII cows? ;) [01:04:02] … [01:04:05] ascii cows are important [01:04:08] apt-get moo [01:04:08] that would destroy the sense of romanji, but okay.. :P [01:04:31] poke`: he's joking [01:04:36] my client doesn't do unicode btw, so I can only see sjis [01:04:53] I know, but still, who knows with what they will come up? :P [01:05:02] We have a uppercase � now, too.. [01:05:20] Uh, Eszett …, sorry ... of course! ;) [01:08:01] good night! [01:08:06] Good nighit! [01:08:12] Uh, night! ;) [01:16:18] all our mediawiki files (images) were wiped out.. I just restored them from backup but I get: Error creating thumbnail: Unable to create destination directory [01:16:52] solifugus: Is your destination directory writable? [01:17:04] solifugus: URL? [01:17:33] it's restricted for authenticated users only... students.. this is a university [01:17:44] let me see if i can touch a file in it... [01:18:15] nope.. cannot write to it.. [01:18:29] solifugus: OK, make your destination directory writable. [01:18:33] (tested from front-end node.. over nfs share that holds the images) [01:21:22] it's writable now.. but.. thumbnails still don't come up.. I can click the blank thumb nail areas and the full images do come up [01:21:47] I also tried closing firefox and used konqueror to ensure nothing was cached [01:21:56] solifugus: Check your logfile for error messages … and make your you don't have cached thumbnails. [01:22:04] Cached by Mediawiki, not cached by your browser(s). [01:22:11] Can you give me an URL or is it an internal site? [01:23:00] I have these in LocalSettings.php: $wgMainCacheType = "CACHE_NONE"; $wgCacheEpoch = "20090323181215"; [01:23:13] and.. i changed browsers.. [01:23:30] is there something else for uncaching thumbnails in mediawiki? [01:23:36] $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) ); [01:23:38] would be correct [01:25:35] That did it.. it's working now.. [01:25:40] ah great.. [01:25:46] I can go home..... this is great.. [01:25:52] Cool … [01:26:06] … is your wiki public? I'm also interested in other wikis which are not Wikipedia! :D [01:26:14] Oh.. one thing.. Would somebody mind checking http://wiki.wsu.edu to see if YOU can see it. [01:26:22] Sure! [01:26:24] I am behind a firewall [01:26:43] solifugus: I'm browsing your wiki right now … :) [01:27:06] solifugus: You use version 1.12.0 (r611) … have you considered an update? [01:27:37] You should at least upgrade to 1.12.4 due to many important security updates … [01:27:53] http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_12_4/phase3/RELEASE-NOTES [01:28:26] zrh: updating is a priority of mine.. [01:28:54] It's on my list.. but.. we have customizations that also need integration and testing, too. [01:29:13] and budget cuts and lost personnel.. and very overworked now. [01:29:14] solifugus: I know, I'm facing the same problems with my own wiki [01:29:24] http://www.zrhwiki.ch/ [01:29:39] upgrading from 1.12.0 to 1.12.4 is very easy [01:29:52] but you should probably upgrade to 1.13.5, which is only a little bit less easy [01:30:10] I will, soon. [01:30:58] after I finish upgrading our subversion server.. uses apache, webdav, https, and ldap. [01:31:37] heh, that's easy. just update the version number in the package spec, recompile, and install it ;) [01:32:22] oh.. and i also have to migrate it from a vmserver vm to an esx vm. [01:33:10] anyway.. thanks.. I am going home now. [01:35:12] 04(REOPENED) Allow uploading of Blender 3D or COLLADA files to Wikimedia Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1790 +comment (10barney_holmes) [01:38:33] 03(ASSIGNED) GIF scaling limit should be applied to animated GIFs only - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16451 (10Andrew) [01:49:10] I plan to use the FlaggedRevs extensions in the same way as the German wikipedia, i.e. only with flagged or not flagged as status. How can I disable the other options such as depth and readability? I've browsed the configuration options without success. [01:51:49] you could just use revision patrolling, which is a core function [01:52:06] http://www.mediawiki.org/wiki/Help:Patrolled_edits [01:52:31] that lets you mark revisions and new page creations as either "patrolled" or "not patrolled", and restrict who has access to mark them as such [01:53:06] unpatrolled new pages appear with a yellow background in NewPages: http://en.wikipedia.org/wiki/Special:NewPages [01:53:17] and unpatrolled revisions have a red "!" in recent changes [01:53:22] and that's about it [01:54:04] Oh, I've found the configuration option, it's $wgFlaggedRevTags … :) [01:54:31] Splarka: I plan to use FlaggedRevs against vandalism, e.g. the wiki remains open, however, changes have to be approved before the become visibile to the general public. [01:54:43] That's not possible with patrolled edits. [01:54:53] Right? [02:01:27] right [02:02:13] fair enough [02:19:16] OK, thanks! [02:20:03] FlaggedRevs is trickier than expected, not the configuration, rather the installation … the 'mark revision' box is shown, however, upon clicking on save, i receive an error message 'no page called' (free translation). Well, I'll figure out how it works sooner or later! :D [02:29:52] Hm, there's no easy way to distinguish between edits and moves in the API's &list=usercontribs? [02:30:22] 324: 09 00 - 0.09 sec duration [02:30:34] 09 00 represents 9 [02:30:40] then we're talking little-endian, right? [02:31:03] yes [02:31:08] lsb first [02:34:50] 03(NEW) Searching for eclipsing categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18118 enhancement; Normal; MediaWiki: Categories; (kevinjduke) [02:37:10] Pathoschild: is it even possible in the back end? [02:37:52] the null revisions associated with moves/protects/etc are kinda useless for that IIRC [02:37:56] It must be; there's a move log. [02:38:19] the log entry is a separate component IIRC [02:39:00] although it was once normal for watchlists to skip listing pages that were last "edited" by a move or protect, so there must be some difference, or was once [02:42:02] *Pathoschild nods. [02:42:21] hmm, usercontribs can't be used as a generator [02:44:21] I wonder what it should say thouggh, assuming it could... logedit="" or such? [02:45:29] hmm [02:45:57] Pathoschild: http://test.wikipedia.org/w/api.php?action=query&revids=72502|72503&prop=revisions&rvprop=ids|flags|timestamp|user|size|comment|flagged&format=jsonfm [02:46:02] they seem to be missing the "size" parameter [02:46:07] but that is true of very old revisions as well [02:47:23] *Pathoschild nods. [02:49:02] okay, file an API bug, say it should be listed if possible in prop=revisions and list=usercontribs and anywhere else appropriate? [02:49:30] *Pathoschild heads over to bugzilla. [02:57:55] Is Aaron Schulz sometimes online in this channel? [02:58:01] yes [02:58:05] Thanks! [02:58:09] why do you ask [02:58:34] werdna: FlaggedRevs doesn't work on my wiki, I always receive an error message when I try to flag a page. [03:00:36] That's the problem: http://www.mediawiki.org/wiki/Extension_talk:FlaggedRevs#Error_message:_.27You_have_not_specified_a_target_page_or_user_on_which_to_perform_this_function..27 [03:16:09] 03(NEW) Add en-ca to language list in preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18119 enhancement; Normal; MediaWiki: Internationalization; (techman224) [03:47:28] Good night! [04:14:59] 03(ASSIGNED) GIF scaling limit should be applied to animated GIFs only - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16451 +comment (10Andrew) [04:15:48] 03(mod) Add en-ca to language list in preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18119 (10techman224) [04:16:01] 03(mod) Enable AbuseFilter on Polish Wikipedia (pl.wikipedia) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18073 (10Andrew) [04:16:10] 03(mod) Enable AbuseFilter for Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18094 (10Andrew) [04:16:16] 03(ASSIGNED) Enable Extension:AbuseFilter on Swedish Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18102 (10Andrew) [04:32:57] 03(FIXED) Enable AbuseFilter on Polish Wikipedia (pl.wikipedia) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18073 (10Andrew) [04:33:02] 03(FIXED) Enable AbuseFilter for Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18094 (10Andrew) [04:33:14] 03(FIXED) Enable Extension:AbuseFilter on Swedish Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18102 (10Andrew) [04:33:41] Hi all. Is it possble to modify Special:LoginUser to display a message on login? I'd like to remind editors to include an edit summary [04:34:52] In newer versions of MediaWiki, sure. [04:35:19] The wiki is running 1.13.4 [04:35:45] Edit the page [[MediaWiki:Loginstart]]. [04:36:10] 03werdna * r48725 10/branches/preferences-work/: New branch for a slew of work I'm going to be doing on preferences. [04:38:42] Marybelle: thank you! Thats displaying on the login box :) [04:39:04] No problem. [05:00:06] werdna: you're rewriting preferences? have fun [05:01:53] MrZ-man: :D [05:02:07] I have some notes from when I was going to do it - http://www.mediawiki.org/wiki/User:Mr.Z-man/prefs [05:02:26] but it was too incredibly mind-numbing, so I sort of gave up [05:03:01] don't save defaults, but have a way to set new defaults (apply only to new users)... good luck [05:04:58] I gave up in the "identify all existing preferences" phase [05:05:11] MrZ-man: my general plan, except my plan is to use classes. [05:05:23] anyway first step is to overhaul storage [05:05:39] Splarka: the fuckers can have their preferences changed on them. [05:05:41] :P [05:05:55] how can i opt out of the new preferences system? [05:06:06] there's a preference for it [05:06:10] *werdna whistles. [05:06:14] Marybelle: where are you? [05:06:43] Haha. [05:07:01] werdna: there's a lot of preferences - http://pastebin.com/m474d6ade [05:07:45] thanks, that's helpful. [05:08:17] I think that's missing the last section or 2 [05:08:30] Yes, and you haven't finished it [05:08:34] but even so, it will be handy [05:10:48] Are you gonna re-do the database schema? [05:10:55] The user tables seem like a mess. [05:11:57] for preferences yes [05:12:02] not user table in general [05:12:40] Having a separate table for user_newtalk always seemed silly to me. Though it's probably too late to change that easily. [05:34:46] it's pretty obvious why user_newtalk is a separate table [05:53:02] Tim: It is? [05:55:12] it relates to both logged-in and anonymous users [05:56:35] I'm not sure not having anonymous users in the user table was a good idea from the beginning. [05:57:12] it's a valid design choice [05:57:23] which, once made, leads to user_newtalk [05:57:30] Fair enough. [05:58:47] And user_groups. I suppose that has to do with how they were implemented... [05:58:59] Multiple rows for a user seems strange. [05:59:28] how else would you get a list of users in a given group? [06:00:50] Couldn't it be stored in one field like sysop:true, rollbacker:true, etc.? [06:00:57] Or does that preclude getting a list? [06:01:47] you mean comma separated? yes, that would preclude getting a list [06:02:01] Interesting. [06:02:15] the list comes from the index on the group [06:02:38] So there's no efficient way to store it in a column in the user table? [06:03:23] no [06:03:57] if it were really really necessary to store it in the user table, that data would have to be duplicated to a separate user_groups table, and the two representations kept in sync [06:04:08] like what we do with pagelinks [06:04:22] it would be a cache [06:04:39] luckily it's not necessary, caches suck [06:04:58] Well, that makes more sense then. [06:06:27] Is what you've been working on still a secret? [06:07:05] the voting thing? [06:07:45] I'm not sure. I saw you synced something for the usability project today. And a few days ago you said you were creating crap new software or something. [06:08:31] not sure I would have called my own code crap... [06:09:18] the sync for the usability team was nothing to do with me, they just wanted to create a few user accounts and wanted to be rate-limit exempt [06:09:43] as for the voting project, it's like this: [06:10:06] tim only writes crappy new features nowadays [06:10:18] I think she was echoing something you said. /me shrugs. [06:10:24] the only projects I get to do these days are incredibly urgent, and each urgent task gets suspended by a more urgent task after that [06:10:52] Not sure I understand the nature of the urgency. [06:10:53] but I don't like writing quick hackish rubbish, that's not very satisfying [06:11:01] Is Wikimedia in a race? [06:11:36] 06:06 < Marybelle> Multiple rows for a user seems strange. [06:11:39] so I'm taking advantage of this particular incredibly urgent project to spend a week or so rewriting the board vote extension, making it into something more solid and robust [06:11:42] It's called normalised data. [06:11:54] Is it? [06:11:57] yes [06:12:17] as tim says, normalised data is index-friendly [06:12:20] developers work best when uninterrupted, and since this project is the most incredibly urgent thing on the planet, nothing else will interrupt it [06:12:23] http://en.wikipedia.org/wiki/Special:Search?search=Normalised%20data Clearly you're lying. [06:12:29] it's really very tidy [06:12:48] Ah, so you're (re-)writing a voting extension. [06:12:58] http://en.wikipedia.org/wiki/Data_normalization [06:13:13] it's for the CC transition vote [06:13:21] Ah. [06:13:31] Yeah, from what I hear that's gonna be a shitstorm. [06:14:06] nobody could possibly prefer the GFDL over anything [06:14:14] it's the most bizarre and stupid free license on earth [06:14:19] So just don't make that a voting option. [06:14:31] just "yes" and "don't know"? [06:14:39] it's the status quo [06:14:48] the status quo should always be included as a voting option [06:14:52] "Yes" and "Go back to writing articles, please"? [06:15:20] Maybe other people get hot and bothered about content licenses. I'm not in that group. [06:15:27] then don't vote. [06:15:38] I probably won't. [06:15:47] the reason that it's urgent is because there's a legal deadline [06:16:03] Eh? [06:16:14] not for a while yet [06:16:32] there's enough time to do the refactoring I want to do [06:16:38] BoardVote was deprecated in favor of an outside site. So we're going back to on-site voting? [06:16:51] BoardVote wasn't deprecated. [06:16:51] the outside site was running BoardVote [06:16:56] It was MOVED to the outside site [06:17:09] Well, it certainly didn't look like MediaWiki. [06:17:37] Have you considered the possible emotional impact of the name "BoardVote"? I know the word "vote" causes the Polish distress or something. [06:17:40] I don't remember, I don't think I voted. I can't vote this time around. [06:18:02] the working name for the new one is SecurePoll [06:18:21] Excellent. That'll keep the Poles are evil jokes alive. [06:19:42] it's unfortunate that these names stick. The name isn't important to the developer when they start writing code, and it's difficult to change, so it's generally just a simple NounNoun or AdjectiveNoun that seems vaguely relevant. [06:20:36] Usually a verb in there somewhere. [06:20:45] or NounVerber [06:20:54] CheckUser, RevisionDelete, Oversight, BoardVote... [06:21:02] "secure" is meant to sound good, I'm having visions of non-wikimedia use [06:21:08] so it's a bit of a marketing name [06:21:39] and "poll" is more generic than most of the other possibilities, I chose it because it should be possible to extend it to surveys [06:21:45] Is the extension being designed for major votes only? Or will it be adaptable to smaller votes as well? [06:22:12] Requests for adminship, for example. [06:22:25] it should be usable for smaller votes, maybe not quite that small though [06:23:04] we'll see [06:24:01] the GPG stuff is still integrated, if that's split off and some simpler tallying is added, then it could work [06:24:38] I found your quote, not that it matters in the slightest: unfortunately there's no time allocated in my schedule for fixing bugs, only for writing crappy new features and going to staff meetings [06:24:47] You shouldn't be so hard on yourself. [06:30:14] 03(NEW) Editing not possible when Special:OldReviewedPages included with empty list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18120 critical; Normal; MediaWiki: API; (bugreporter) [06:30:22] SVN sucks at branching [06:33:48] hi werdna [06:34:42] hello [06:35:33] Is there a way to query recursively for pages in subcategories in categories? [06:38:23] with a for loop [06:38:44] I don't think MySQL supports those. ;-) [06:42:32] Marybelle: no, but the shell does [06:42:40] 03werdna * r48726 10/branches/preferences-work/phase3/maintenance/ (archives/patch-user_properties.sql tables.sql updaters.inc): Schema change for user properties [06:43:48] 03werdna * r48727 10/branches/preferences-work/phase3/maintenance/archives/patch-user_properties.sql: Trailing newlines [06:52:20] werdna: still busy? [06:53:05] Nikerabbit: no I'm okay at the moment [06:53:13] you want me to peek at translatewiki support [06:53:44] haha [06:54:02] so I have been so annoying I don't need to even mention that by name anymore [06:54:58] peeking [06:54:59] peking [06:55:02] haw haw [06:56:07] GENDER should be able to take a User: prefix. [06:57:55] was that your opinion or just "" [06:58:55] 03werdna * r48728 10/trunk/phase3/includes/parser/CoreParserFunctions.php: Allow User: prefix in parameter to GENDER parser function [07:01:13] my opinion [07:01:38] Nikerabbit: translatewiki is sloooow [07:03:03] werdna:hmm [07:04:12] werdna: bah updatedb [07:30:59] 03werdna * r48730 10/branches/preferences-work/phase3/includes/User.php: Store user options in the new user_properties table if and only if they differ from defaults. Includes backwards-compatible code, so a user's preferences are converted on-demand the next time they log in. [07:31:44] domas: after all that, it took like 15 minutes [07:32:04] yup [07:32:08] now maintenance scripts! [07:33:29] 03werdna * r48731 10/branches/preferences-work/phase3/includes/User.php: Make sure options are loaded before saving them. [07:38:09] domas: done, committing [07:38:16] 03werdna * r48732 10/branches/preferences-work/phase3/maintenance/convertUserOptions.php: Simple script for batch conversion of user options that takes advantage of the fact that user ids are sequential. [07:38:56] domas: =) [07:41:00] domas: hooray for fifteen-line conversion scripts [07:45:30] now normalize the inputs in Special:Preferences to actually correlate to the data [07:45:42] so that Roan can implement a way to change them via API [07:45:54] and bring me some tea [07:52:21] doing that afterwards [07:55:27] 03werdna * r48733 10/branches/preferences-work/phase3/includes/User.php: Fix embarassing typo [07:56:57] *werdna sets a Marybelle trap [08:16:39] moin [09:12:28] 03(mod) Windows PHP 5.2.6 precompiled binaries and Postgresql numeric version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16937 (10etienne.massip) [09:43:51] {{SERVERNAME}} can't be used in central notice? [09:59:35] 03nad * r48734 10/trunk/extensions/SimpleSecurity/SimpleSecurity.php: 4.3.0 - fix bug in namespace protection, was using getNamespace() instead of getNsText() [10:44:37] 03midom * r48735 10/trunk/phase3/includes/specials/SpecialRecentchanges.php: change limit to reflect one in interface. :) [11:17:52] 03(NEW) deleteArchivedRevisions.php deletes even without its --delete option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18121 normal; Normal; MediaWiki: Maintenance scripts; (jidanni) [11:20:29] 03(NEW) Failed opening required 'CleanupTable.inc' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18122 trivial; Normal; MediaWiki: Maintenance scripts; (jidanni) [11:39:32] I'm thinking of writing a generic brain-dead web form system [11:39:40] so you specify inputs and their type [11:40:14] and it handles HTML and the loading of parameters from the post [11:40:24] then all you have to do is write submission logic behind it [11:40:31] what, like real webframeworks have always done? :p [11:41:13] yeah :P [11:41:44] the difficult decision is how much of the html it should handle [12:08:09] hi all, is there a more concise list of the important features/bug fixes in 1.14 than in the 1.14 release notes? [12:12:20] 03kim * r48736 10/trunk/wikiation/installer/mediawiki_installer.py: [12:12:21] Add a sys.stdout.flush() on a "please wait" message. [12:12:21] This way it shows up when using less. [12:12:21] (I should make a centralized "please wait" routine someplace.) [12:23:18] checkers: 1_14 was branched in r45547 and 1_13 in r37957 [12:23:39] hi Splarka Splarka [12:23:45] if you want super-concicity, you can check all the revisions twixt [12:23:49] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=37958 etc [12:24:13] 7590, of course, not all were to core, or even trunk [12:24:17] rar nike [12:24:18] brb [12:24:22] werdna: but you have to design the forms still? [12:25:11] Nikerabbit: for preferences or for the framework I'm writing? [12:26:09] hmm [12:27:37] checkers: you could also do this: http://www.mediawiki.org/w/index.php?title=Special%3ACode%2FMediaWiki%2Fpath&path=%2Ftrunk%2Fphase3&offset=45547&limit=1000 [12:28:19] hmm, ##php is useless [12:28:22] (repaste) [12:28:23] *Splarka tries 4000 [12:28:27] hi! is it possible to do a by-reference assignment of an array? I.e. if I have $array1 = array( 'foo' => array() ); $array2 = $array1['foo']; $array2[] = 'bar';, I want $array1['foo'][0] to be 'bar'. [12:29:05] s/##// [12:29:25] werdna: both? [12:29:36] werdna: have you considered fixing formoptions? [12:30:19] hmm, limit=4000 loads all the changes from that period, and then some [12:30:49] less than half of commits are to trunk/phase3, sad [12:31:12] what is ad in that [12:41:41] Splarka: thanks, but I was hoping for a readymade 'executive summary' [12:45:29] executives are notoriously short-attention-spanned, the summary for them is "shit got changed" [12:46:20] hmm [12:47:39] you could read the Signpost archives for that 6 month span [12:48:53] Is there an easy way inside MW code to see if a string is a URL? [12:52:24] davidt: seems to be done internally via something like preg_match( '/^(?:' . wfUrlProtocols() . ')/', $link ) [12:52:55] Splarka: Is there some kind of a global function I could use inside my own special page? [12:52:57] which are defined via $wgUrlProtocols as the acceptable protocols [12:53:53] *Splarka shrugs [12:54:11] wfParseUrl() maybe [12:54:30] see includes/GlobalFunctions.php [12:55:33] checkers: http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/Archives from July 2008 to January 2009, heh [12:58:07] 03yaron * r48737 10/trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php: Added missing global variable [12:59:36] 03yaron * r48738 10/trunk/extensions/SemanticDrilldown/ (INSTALL includes/SD_GlobalFunctions.php): New version: 0.5.5 [12:59:46] *checkers will just read the few release notes he has to [12:59:51] thanks though [13:22:30] Hello. Is it possible to completely disable guest editing as an alternative to protecting every page? [13:23:42] !prevacc | rofldaniel [13:23:42] --mwbot-- rofldaniel: For information on preventing access to your wiki, please see . [13:24:05] Simetrical: You dont think this would work as well? http://www.thejackol.com/2007/02/16/disable-anonymous-editing-in-mediawiki/ [13:24:31] rofldaniel, lots of things would work. Some work better than others. [13:24:36] hacking the source [13:24:37] 03(NEW) Make contributors available via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18123 enhancement; Normal; MediaWiki: API; (support) [13:24:40] i'll check that out [13:24:43] The feature is built into MediaWiki. [13:24:45] is a stupid idea, when there's a way to do it [13:24:49] that's built in [13:24:54] You can hack the source to re-add a feature that already exists, but there's not much point. [13:25:07] $wgGroupPermissions['*']['edit'] = false; in LocalSettings.php will do what you want. [13:25:11] And it won't break when you upgrade. [13:25:27] Also, your solution doesn't actually work. [13:25:37] 03(mod) Make contributors available via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18123 (10support) [13:25:40] It only hides the edit links. People could still type the URL directly and edit the page just fine. [13:25:46] Or get the URL from some source you didn't think of. [13:25:57] In short: reinventing the wheel is often tempting, but you normally want to check for existing solutions first. [13:26:16] yeah. i think that page you put the link to will work [13:26:23] all i'm tryiing to do is disable guests permission to edit [13:26:25] I know it will, I wrote it. [13:29:57] Simetrical: Here's a mockup of a new HTML form generation interface I've been writing and am hoping to bring into my preferences work. [13:30:00] Tell me what you think [13:30:01] http://p.defau.lt/?3BXwNEuHhpHvPr0JnM8t1Q [13:30:57] how do you layout the form elements? [13:31:00] and by "I've been writing", I mean "I've finished and just need to add more input classes to" [13:31:36] werdna, you don't seem to have support for different field types? [13:31:48] http://imagebin.ca/view/lcidxP.html [13:31:58] not presently because I haven't written the classes. [13:32:05] but you just need to change the 'class' attribute [13:32:15] Oh, so that's 'class'. [13:32:21] yes. [13:32:29] Why don't you use the same values as the type= attribute of ? [13:32:33] 14(DUP) Searching for eclipsing categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18118 +comment (10roan.kattouw) [13:32:35] 04(REOPENED) Allow searching in intersections, etc. of categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5244 +comment (10roan.kattouw) [13:32:53] HTMLTextInput, going to add HTMLSelectInput, HTMLCheckInput, HTMLOptionInput, and presumably some others [13:33:12] 03(NEW) Unify access to customized and non-customized system messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18124 enhancement; Normal; MediaWiki: API; (support) [13:33:15] I could do that yeah [13:33:20] Why not call them 'text', 'select', etc.? Seems easier to remember. [13:33:29] just add a map from those short names to the class names [13:33:53] Oh, so that's why it's called 'class'. I would call it 'type' and have the values as I describe. [13:34:05] That it's implemented using a class for each type is an implementation detail, shouldn't be part of the interface. [13:34:29] One last question. Can I rename Bureaucrats and Admninistrators [13:34:30] Other than that, looks good. [13:34:43] fair enough, except I still want to let people using it define their own classes and pass those to the class attribute, so I'll accept both types of input. [13:34:48] rofldaniel, you mean the groups? Yes, there's some message you have to edit. [13:35:07] werdna, well, you could just add a hook. That seems like a cleaner way to do it. [13:35:28] rofldaniel, look at Special:AllMessages for a list of all messages, you should be able to find the group name ones. [13:35:35] *werdna shrugs. [13:35:39] werdna, I can't think of many use-cases for such flexibility anyway. [13:35:57] werdna, no defensive shrugging, you asked for my comments. :) [13:36:17] I'm pleased that I've written this, though. The same submit-form-success code is duplicated almost everywhere in MediaWiki, and it'll be nice to stop having to rewrite it. [13:36:21] Simetrical: fair enough :P [13:36:32] werdna, yeah, it seems like a good idea. [13:36:40] hopefully I can bend it enough to make it usable for preferences. [13:36:42] 03(WONTFIX) Make contributors available via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18123 +comment (10roan.kattouw) [13:36:48] rofldaniel, edit the pages: MediaWiki:Group-sysop, MediaWiki:Group-bureaucrat [13:37:27] werdna, I believe we actually used to have a framework for this, but it was evil and I deleted it. :) [13:37:37] It was only ever used for one page. [13:37:43] UserRights, I think. [13:37:54] maybe we should agressively replace old code with the new interface :P [13:38:06] 03greg * r48739 10/trunk/phase3/includes/db/DatabasePostgres.php: We can rely on usesuper and not just usecreatedb here. [13:39:14] werdna, too bad we don't actually have a test suite to stop that from completely wrecking everything? [13:39:25] We can't do much aggressive refactoring except in the parser. [13:40:06] just test manually [13:40:29] Good luck not breaking stuff. [13:40:30] werdna: maybe you can prettify the javascript too [13:40:55] and give each fieldset a numerically incrementing ID (right now they're generated through a mix of literal html and xml classes, ick) [13:41:14] then people with JS can link other people to specific sections, whether they have JS or not [13:41:14] Is there an extension for date arithmetic, or even something native? Like showing the date which is x number of days/months/quarters from today? [13:41:40] cornell_w, ParserFunctions #date works. [13:42:12] #time [13:42:21] Is that what it's called? [13:42:22] http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time: [13:42:27] some#times [13:42:33] Funny. [13:42:36] Anyway, it will do what you want. [13:42:38] basically a shell for strtotime [13:42:53] That also does formatting. [13:42:58] {{#time: Y-m-d|5 days from now}} [13:43:15] "12 fortnights hence at midnight" [13:43:54] Cool, thanks [13:43:56] werdna: https://bugzilla.wikimedia.org/show_bug.cgi?id=16013 <-- this works (you can try it on test.wp), but it would be nice to have an ID implicit in each fieldset already [13:44:33] 03(mod) Make contributors available via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18123 (10support) [13:44:33] and it is tempting to give them the ID as a name, but numerically it is bulletproof from locolocalisations [13:44:46] And Splarka the fortnights comment, reminded me of how we used to deal with requests that didn't specify units. Our "standard" unit of velocity was furlongs per fortnight [13:45:01] yah yah, and energy measured in barnyard atmosphere [13:45:13] everyone saw that "crazy units" page in 1998 ^_^ [13:45:29] Well, we were doing it in 75 ;-) [13:45:58] And... #time does anything strtotime does, as it's a shell for strtotime, right? [13:46:13] hmm, you're about three times older than the median Mediawiki dev age then, heh [13:46:29] I'm about three times older than... most folks ;-) [13:46:44] what's that in planck time? [13:47:08] When people discuss age, I can assert that I'm the oldest in the room... I'm almost always right ;-) [13:47:09] or Zetayoctoseconds [13:47:12] cornell_w, yeah, basically the second argument is just passed to strtotime() in your PHP version, so whatever that does is what you get. [13:47:20] Not sure that's good ;-( [13:47:41] Cool thanks Simetrical and Splarka [13:47:47] fun can be had with {{#time:U}} and {{#expr}} [13:48:43] http://test.wikipedia.org/wiki/User:Splarka/sand [13:48:44] hmm, what other types of fields do we need? [13:48:51] checkboxen, selects, textboxen? [13:48:54] what else? [13:49:07] radio radio! [13:49:18] ah yes [13:49:22] and multi-select :O [13:49:25] [13:49:38] and button|submit [13:49:47] and