[00:12:53] 03mrzman * r48976 10/trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php: add option to search by filter ID to be consistent with UI, and change param descriptions to be less ambiguous [00:17:13] I have a question about the installation of MediaWiki, is this the right place to ask for help? [00:17:32] ya [00:17:35] yeah, just ask [00:17:41] Awesome [00:18:03] Ok, the issue likely has less to do with MediaWiki and more to do with my lack of familiarity with web-development in general. [00:18:29] I've installed MediWiki without problem, and am able to get to it at my site [00:18:56] the bit after the root url is /invictawiki/index.php [00:19:00] whil is all well and good [00:19:05] however, when I simply go to /invictawiki/ [00:19:20] I get the same message I got when I installed MediaWiki in the first place [00:19:26] hang on I'll quote it directly... [00:20:05] MediaWiki 1.14.0 Please set up the wiki first. [00:20:17] did you copy the LocalSettings.php after the installation? [00:20:32] yeah I moved it to the root as instructed [00:20:37] was I supposed to move it somewhere else? [00:21:04] no, that's correct [00:21:09] Did you delete the config directory? [00:21:20] Oh, no I didn't. [00:21:27] then do that and it should work :) [00:21:40] Excellent, I probably just missed that somewhere. [00:21:51] I'll try it get back to you momentarily... [00:22:58] It looks like that worked! Thanks. If I have more questions I know where to look now. [00:24:47] Hello. I have a question about catagories. Say I have a page, Network Equipment, and another page Computer Equipment. I have 2 categories, Network and Computer. Under each category, I'd like to do something like [[category:Computer Equipment|Equipment] and have the category name show up in the Computer category page as Equipment rather than Computer Equipment. I know the | changes the sort, but it doesn't let me effective [00:24:47] ly soft-label the page. [00:24:57] Is there a way to do what I'm looking for that I'm not seeing in the help? [00:25:49] You can only specify the order of the page inside of the category, but you cannot change the page's name with it [00:26:14] It seems like it's be really useful if you could. [00:26:28] but it wouldn't really make sense [00:26:46] because you categorize a page [00:27:00] Well, having 'Computer Equipment' sorted under the 'E' tag isn't very intuitive either. [00:27:02] if that page is then displayed as something completely different you can't really identify it then [00:27:26] I can see your point. OTOH, it seems the only alternative is to use name spaces. [00:27:36] Is it possible to automatically generate a list of categories (for say, the main page)? [00:27:54] You can also create another category "Equipment" then [00:29:04] chris__: You might be interested in the DPL extension [00:29:04] But that's not relevant to the pages. The problem is that I have may have pages like 'Computer Equipment', 'Network Equipment', 'HVAC Equipment', and the category is the first part. But now I have no way to customize the category. [00:29:34] Something like [[category:Network||Equipment]] would allow customizing the category page. [00:29:50] poke`: Awesome, thanks! I'll look into it. [00:31:10] Ultiamtely, if all the computer pages start with 'Computer' and the network pages with 'Network', and HVAC with 'HVAC', the category becomes almost useless, since they're all prefixed by 'Computer', 'Network' or 'HVAC'. [00:31:46] Then why don't you name it completely different? [00:32:19] Because it doesn't fit in with the naming structure. [00:36:11] Here's my opinion. People only really care about the actual name/URL of a page when the book mark it. When you're in the category (or index page, if you will), people are looking for keywords. When you're in the HVAC category, you know you're there. Now you're looking for Equipment, Pricing, Manuals, etc. Almost no one cares that when they click the 'Manuals' link in the HVAC category that they're going to the 'HVAC Manua [00:36:11] ls' page. The sorting is of limited value. Being able to soft-label it allows changing the sort order AND customizing the appearance. [00:37:11] You might prefer a sematic wiki then.. (see the extension) [00:38:33] If it means reworking the 723 pages I already have, then I probably don't. [00:38:49] Generally speaking, I'm quite happy with the model as it is. I just want soft labels in categories. [00:43:17] Hrmn. DPL is proving to be pretty confusing. [00:58:20] yeah, it is really complex [00:58:31] but getting a list of pages in a category is rather simple [00:58:43] {{ #dpl: category = categoryname }} [00:58:46] and you get a basic list [01:05:45] I think my problem is the extension isn't loaded.. is there a way that I can see which extensions are detected/loaded? [01:05:59] Special:Version [01:09:23] Hmm, it just shows MediaWiki, PHP, MySQL [01:10:39] Ah hah! [01:10:40] I got it. [01:17:27] I decided to go with CategoryTree instead - but it can't seem to find any of my categories - haha. [01:52:10] 03(NEW) Large problem with vandalism patrolling because restriction Special:Recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18241 major; Normal; Wikimedia: General/Unknown; (lolsimon) [02:00:23] 03(mod) Large problem with vandalism patrolling because restriction Special:Recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18241 normal->high (10lolsimon) [02:02:08] We need a "make RC efficient" day. [02:09:20] *uberfuzzy mumbles maybe a whole week [02:10:01] 03philip * r48977 10/trunk/phase3/includes/ (4 files in 2 dirs): Update the Chinese conversion tables. [02:10:46] Simetrical: or just chain werdna to computer and make him do it >.> [02:14:36] I was thinking of doing it. [02:14:47] It shouldn't take more than a couple of hours. [02:18:46] Hi [02:19:22] Say, I want to write an extension that pulls Category links from a page. [02:20:08] Certainly I can pull the list from Parser, or I can pull it from Output. But on an efficiency standpoint, which is better? [02:24:40] It's probably most efficient to query the categorylinks table, unless the page happens to be parsed anyway on that page view. [02:24:44] Parsing is really expensive. [02:26:20] well, parseroutput could be cached, but if there's categories added by templates and a job queue > 0, it could potentially be outdated [02:26:38] Yeah, that's always a risk with categorylinks. [02:26:46] But at least you'll be consistent with the category page! [02:28:55] Even I use catlinks table I still need to pull the article ID from parser though? That's not dangerous? [02:33:29] Why would you need to pull the article ID from the parser? [02:33:36] What sort of extension is this? [02:34:10] Well, I mistook. I can just pull that from Articles. [02:34:26] Or Title. [02:34:38] Yeah. [02:45:15] 03purodha * r48978 10/trunk/extensions/Maintenance/Maintenance.i18n.php: [02:45:15] "..." replaced by "int:ellipsis" as of request at [02:45:15] http://translatewiki.net/wiki/Support#maintenance-stats-update.2C_maintenance-move.2C_maintenance-re-re [02:53:06] 03nad * r48979 10/trunk/extensions/RecordAdmin/ (RecordAdmin.php RecordAdmin_body.php): bug fix: pipes in fields breaking recordtables [02:56:18] are all of you applying for GSoC this year? [02:56:57] there is a submission [02:57:04] i do belive they need mentors though [02:58:07] http://www.mediawiki.org/wiki/Summer_of_Code_2009 [03:01:13] I want to apply to be a student [03:01:20] having trouble starting my proposals though... [03:02:22] best bet would wait till either Brion or TimStarling is around or post to the mediawiki mailing list if you need help [03:03:06] what time do they usually come on [03:03:07] *Wikitech-l mailing list [03:03:25] thats a good question, i've never really noticed [03:04:14] ah, are you applying to be a mentor? [03:09:16] 03(NEW) Restore revision numbers in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18242 enhancement; Normal; MediaWiki extensions: General/Unknown; (bugzilla.wikimedia) [03:11:35] 03(mod) Restore revision numbers in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18242 +comment (10Simetrical+wikibugs) [03:31:10] Gofishus: no, i'm no where near smart enough for code stuff [03:58:53] 03(mod) Restore revision numbers in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18242 (10bugzilla.wikimedia) [04:23:35] 03mrzman * r48980 10/trunk/extensions/AbuseFilter/ (AbuseFilter.php ApiQueryAbuseFilters.php): (bug 18063) Add API module to list filter information. [04:24:27] 03(FIXED) API for AbuseFilter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18063 +comment (10mrzmanwiki) [04:29:27] 03mrzman * r48981 10/trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php: add option to see IP addresses in list=abuselog if user has 'abusefilter-private' right [05:12:01] 02:17 #mediawiki: < p858snake> Simetrical: or just chain werdna to computer and make him do it >.> [05:12:19] that's a grounding strap [05:12:35] made of patent leather and chrome chain... and fuzzy velvet, with a stainless lock.. [05:13:25] Is there a way to set the DATABASENAME_session cookie from a UserLoadFromSession hook? [05:30:51] You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data [05:30:57] anyone know how to do that on my server? [05:32:42] it depends, which is why it doesn't just tell you [05:33:09] you need to know your uid, and the uid php runs as. if they're the same, you can probably use mode 700. if not, you'll probably need 755, with world-readable passwords [05:33:42] just chmod the file to 755? [05:34:06] only *if* you considered your uid, and the uid that php runs as, and you determined that they're different, then yes, chmod 755 [05:35:46] 03(NEW) Upload via URL: More meaningful error messages when HTTP error encountered - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18243 enhancement; Normal; MediaWiki: Uploading; (sco_scam) [05:36:51] ok [05:36:52] thanks [05:36:59] one more quick question [05:37:07] how can i make the admin (me) approve all new user registrations [05:37:17] im looking [05:37:44] i see ways to restrict access to a page [05:39:45] there's an extension for that I think [05:39:54] $wgGroupPermissions['*' ]['createaccount'] = false; [05:40:23] well, yah, depends on how you want them to request... by email, by form, by contacting you, etc [05:40:38] !userapproval | CorpX [05:40:38] --mwbot-- CorpX: To require approval before accounts can edit, see . Alternatively, remove edit rights from all users, and create a new user group like "approved" with edit rights; a bureaucrat can then assign users to the "approved" group to allow them to edit. For more information about the alternative, see hahai just found it [05:40:51] like 2 secs bfore [05:40:57] thanks though :) [05:41:02] p858snake: not quite the same thing [05:41:39] Splarka: confirm account does the "approve all new user registrations" afaik [05:41:44] but eh, whatever keeps em happy [06:27:22] are there any extensions that makes mediawiki honor normal line breaks [06:29:35] what's wrong with paragraphs? [06:32:08] , heh [06:43:16] i'm going to have noobs editing it [06:43:30] and you can't teach them to press enter twice? even wikipedia editors manage that [06:43:51] wikicode is a mishmash of word processor and html [06:44:08] line wraps are ignored in html, and semi-ignored in wikicode [06:45:12] exceptions are: two newlinews are turned into a paragraph break, line starting with a block level wikicode formatter (#:;* {| || |- | etc), and lines in a tag extension (like
 or 	and a few other cases, like rendering user/site css/js
[06:46:08] 	tidy will even strip them from the source in many cases, so you can't do 
foo\nbar
[06:51:31] 03nad * r48982 10/trunk/extensions/RecordAdmin/RecordAdmin_body.php: last bug fix prevented ^$ from matching empty fields, fixed. [07:30:00] ok, first of all, ChangesList->insertRollback is idiotic [07:30:12] yes we know [07:30:19] stab aaron [07:30:20] :)) [07:30:35] werdna: ~midom/rc.out.gz has profile for RC view [07:30:39] werdna: for kcachegrind [07:30:47] on zwinger? [07:31:01] oh yeah, home is on nfs [07:31:01] ye [07:31:08] http://www.fark.com/cgi/comments.pl?IDLink=4295212&cpp=1 "Foreigners give us a perspective that we overlook on our own, and Americans need to realize that not only do we seem like inexplicable prudes to the rest of the world, but inexplicable prudes with a gun fetish" [07:32:28] hold on, I'll export image [07:33:50] domas: insertRollback does an extra query per page on RC :)) [07:35:34] doesn't it do it per /row/ ? [07:35:47] so if a page has 10 edits, 10 checks for insertRollback? [07:36:38] *domas points to http://flack.defau.lt/rccg.png [07:37:15] 10 edits in the RC view you're viewing, I mean [07:37:20] not 10 revisions total [07:38:56] lol, most of rollback link is in wfMsg [07:39:08] for group page [07:39:09] ;-D [07:39:22] wait, what? [07:39:41] why does getUserPermissionsErrorsInternal need to call makeGroupLinkWiki? [07:39:44] check thick black line on the graph [07:40:25] what the fuck [07:40:27] some stupid extension intercepting that? :) [07:40:30] no [07:40:35] it's my fault [07:40:38] years ago [07:40:44] I'll fix it at some point soon [07:40:54] It's in generating the actual error message [07:41:12] ? [07:41:27] like, now? [07:41:34] no I have to go to dinner [07:41:43] going out for dinner and drinks and stuff [07:42:37] how do you make those images? [07:42:52] lol, userToolLinks -> userTalkLink 20% [07:42:53] hahahaha [07:42:55] dudes! [07:42:59] WTF! [07:43:11] Mike_lifeguard: you should make some of those for typical pageviews, edits and stuff [07:43:15] parse operations too [07:43:21] and that was to domas obviously [07:43:27] I meant to type midom [07:43:49] "smart" tab complete failure? heh [07:44:36] heh, nice [07:44:45] "logged in users? more like CLOGGED in users" [07:46:10] Mike_lifeguard: kcachegrind + xdebug [07:50:19] *Splarka plays with a simple ajax RC fiddly thing [08:04:22] *Splarka ponders if a comment parser module would be worth building into the API [08:28:27] 03midom * r48983 10/trunk/phase3/includes/Title.php: [08:28:27] I'd love not to do such fixes: [08:28:27] * Avoid calculating expensive group error pages (this strips e.g. 25% off Special:RC) [08:32:47] *domas kicks Linker::link [08:32:50] *domas keeps kicking [08:38:35] domas: https://bugzilla.wikimedia.org/show_bug.cgi?id=18229 are you fixing this or just doing random kicking? [08:39:18] who reads bugzilla [08:39:40] are you waiting for the movie? [08:39:51] \o/ [08:39:52] [0839][midom@zwinger:~/php/includes]$ svn merge -c 48983 Title.php [08:39:52] U Title.php [08:47:17] 1415 queries! [08:47:38] lol [08:47:38] 0.032802 903 - wfNoDeleteMainPage [08:48:36] who writes this stuff [08:55:58] 03philip * r48984 10/trunk/phase3/ (5 files in 4 dirs): Add group convertsion support for LanguageConverter. New magic word "{{GROUPCONVERT:xxx}}" enabled for this new feature. You can set related conversion rules in [[MediaWiki:Groupconversiontable-xxx]]. [09:10:30] http://upload.wikimedia.org/wikipedia/test/b/bf/Ajax_recent_changes_test.gif am I trying to hard to recreate the UI? I'm skipping some silly stuff like (talk|contribs|block) and [rollback], and not gonna do "enhanced", heh [09:10:44] *Splarka works on log entries [09:20:24] 03philip * r48985 10/trunk/phase3/RELEASE-NOTES: Follow up on r48984, RELEASE-NOTES modified. [09:41:45] Splarka: do it in a sexy table view >.> [09:42:49] ew [09:43:04] tables are for cattle and loveplay [09:43:09] the slow blade penetrates the recent changes [09:59:08] Splarka: who needs recentchanges? http://toolserver.org/~river/recentchanges/ [10:00:11] https://bugzilla.wikimedia.org/show_bug.cgi?id=18241 [10:00:25] they want the *old* ones [10:11:27] hehe [10:11:32] 03midom * r48986 10/trunk/phase3/includes/ChangesList.php: don't do custom number formatting for bytes changed in misermode [10:14:51] Hey guys [10:15:00] How do I do a global announcement thingy on the wiki again [10:15:06] [[MediaWiki:Sitenotice]] [10:15:09] Thanks [10:22:44] domas: that's what I was going to do anyway [10:24:41] werdna: but you didn't [10:26:42] I'm fixing now stupid permission loads for rollback links [10:26:51] who wrote rollback? [10:27:07] rollback or rollback links on rc? [10:27:13] rollback links on rc [10:31:26] *domas eyes Aaron [10:33:23] *Splarka throws http://en.wikipedia.org/wiki/User:Splarka/ajaxrecentchanges.js at domas' chicken hearts [10:36:23] Aaron must be very productive person [10:36:31] to have introduced so much of bad code besides probably not bad code [10:36:31] :) [10:39:53] 03(FIXED) Allow sysops to edit abuse filters on dewiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18223 +comment (10Andrew) [10:40:02] aaron wrote that. [10:40:50] yeah, I checked the annotations already [10:40:56] :)) [10:41:09] aaron does write a hell of a lot of code [10:45:37] domas: do you want a visit in .lt :) [10:48:20] 03aaron * r48987 10/trunk/phase3/includes/filerepo/FileCache.php: Support caching of old versions [10:52:27] omg! hide! werdna is coming! [10:52:51] http://noc.wikimedia.org/cgi-bin/ng/report.py?db=enwiki :( [10:53:35] someone decided to break profiling, yes [10:53:35] :) [10:53:45] domas: you didn't answer my question :P [10:53:51] werdna: sure, when/forhowlong? :) [10:54:09] dunno [10:54:12] like novemberish [10:54:13] I think [10:54:20] you don't have that warm clothes [10:54:22] =) [10:54:30] after I get back from wikimania I think my gf and I are going to be travelling through europe and such [10:54:38] and maybe I'll get around to .lt [10:55:02] werdna: Saw your comment, you're probably right about local userrights logging to the global log. The irony of all this is that an upgrade to PHP 5.3 and changing two instances of self:: to static:: would've solved the whole thing [10:55:10] yeah [10:55:14] I know :(( [10:55:55] Wait a minute, CentralAuth always changes rights on a CentralAuthUser, rather than a User/UserrightsProxy, right? [10:56:16] hey Roan, what do you think of a comment parser module (or switch for action=render) ^_^ [10:56:31] Splarka: What do you mean? :P [10:57:06] /* This is a section */ This is an edit summary, that is impossible to [[parse]] correctly [10:57:19] Oh, an edit comment parser [10:57:30] RoanKattouw: It uses a CentralAuthGroupMembershipProxy [10:57:34] right, in the API you simply call them "comment" [10:57:46] Splarka: If you can find the method that parses that stuff, I'll integrate it [10:57:46] (or someone does) [10:58:01] werdna: Right, longest classname ever, now I remember [10:58:24] hehehe ) [10:58:26] :) [10:59:55] Linker::formatComment ? [11:02:00] 03catrope * r48988 10/trunk/extensions/CentralAuth/CentralAuthHooks.php: CentralAuth: Fix regression from r48971, breaking core userrights logging when CentralAuth is installed [11:02:23] werdna: That should do it. Could you test this? I don't have a CentralAuth setup on this box [11:02:29] 03midom * r48989 10/trunk/phase3/includes/ (ChangesList.php specials/SpecialRecentchanges.php): [11:02:29] fix some of RC rollback madness: [11:02:29] * Avoid extensive permission checks, just rely on User::isAllowed("rollback") [11:02:29] * Preload page_latest data in initial RC query, no need to run thousands of queries afterwards [11:02:42] let me see [11:02:49] AaronSchulz: ^^ [11:04:15] now, how to fix the Linker code there [11:04:33] 03ialex * r48990 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): [11:04:33] Fixes for r48930: [11:04:33] * Use user's language since it falls back to content if the message wasn't modified in user's language [11:04:33] * Fix a typo in RELEASE-NOTES [11:04:40] looking AaronSchulz [11:05:05] werdna: on another hand, jwales was in November! [11:05:27] jwales was what in november? [11:05:33] in Vilnius [11:05:35] few years ago [11:05:36] :) [11:05:39] he survived! [11:06:21] domas: why didn't you use rc_cur_id ? [11:07:47] RoanKattouw: regular userrights works, but nothing happens when changing global rights [11:08:06] *sigh* [11:08:19] AaronSchulz: why didn't you? :))) [11:08:27] werdna: You mean the log entry isn't added? [11:08:34] AaronSchulz: I followed current behavior [11:09:06] mm what [11:09:22] performance is more important than i18n? [11:09:26] RoanKattouw: I mean the rights aren't changed [11:09:41] wtf, it did do that for me [11:09:53] I can try again if you like [11:10:08] global userrights are broken still from one of my changes [11:10:11] hihi [11:10:12] but not critically [11:10:15] AaronSchulz: you think rc_cur_id=page_id would be stable? :) [11:10:27] I read a lot about stopping spam, but which extensions help me clean up after a major spam attack? [11:10:35] i.e. lots of user accounts editing lots of pages? [11:10:39] more so than title [11:10:40] facefaceface: Extension:Nuke [11:10:46] werdna: With r48988 and no local changes, at least *that* should work. It worked for me before (except for the log thing) [11:10:50] hehe [11:10:51] maybe [11:10:54] thanks werdna, that isn't listed on the MW spam pages [11:11:05] !e Nuke | facefaceface [11:11:05] --mwbot-- facefaceface: http://www.mediawiki.org/wiki/Extension:Nuke [11:11:13] thanks guys [11:11:19] RoanKattouw: still doesn't work for me [11:11:50] hmm... I was thinking 'mass undo edits' rather than mass delete... should I keep reading? [11:11:52] Dammit, I'll set up my own CA thing then (again) so I can see what the hell's going wrong in there [11:12:41] rar Nikerabbit, hey.. is there any consensus on how javascript localisations should be used? I usually just use an associative array object (lazily)-> var usI18n = { 'error' :'Error: ', 'noedits' :'User has no edits.', 'sinceedit':'User last edited ', 'sincelog' :'User last performed an action ', 'sinceago' :' ago.'} [11:12:48] 03ialex * r48991 10/trunk/phase3/RELEASE-NOTES: break lines at 80 chars [11:12:53] you are australian when your response to seeing a spider on the wall is "Oh, hello mr. spider" [11:13:17] facefaceface: Special:Contributions?bot=1 hold ctrl, click every [rollback] link ^_^ [11:13:32] even on dialup you can do about one per second [11:13:34] Splarka: where? on gadgets? on mediawiki scripts? [11:13:49] Splarka, I'll have a look [11:13:52] Nikerabbit: in a gadget, yah [11:13:55] domas: should it also check for the message value being just $1? [11:14:04] Splarka: no best practises that I am aware of [11:14:08] facefaceface: ?bot=1 marks them as bot edits (and the edit they're rolling back) [11:14:20] 03midom * r48992 10/trunk/phase3/includes/specials/SpecialRecentchanges.php: Aaron is lazy, but right :) [11:14:38] Nikerabbit: which one? [11:14:39] and it cascades to rollback links generated on the page if used as a parameter on Contribs [11:15:05] old install ... no Special:Contrib [11:15:15] domas: the formatSize thingie [11:15:22] werdna: poisonous? [11:15:36] no [11:15:38] just a huntsman [11:15:41] Nikerabbit: I like it disabled! :) [11:15:55] you would [11:15:57] http://www.flickr.com/photos/werdnum/3386915773/ [11:16:01] ^_^ [11:16:02] that little fellow :P [11:16:04] domas: yeah but then those who don't run misermode would see the speedup in most cases too [11:16:21] sorry, I see this message You have not specified a target page or user to perform this function on. [11:16:48] facefaceface: Special:Contributions/Username [11:16:58] ahhh [11:17:08] so I do this once per spam account? [11:17:10] yes [11:17:11] yah, I meant add a ?bot=1 to the end of the URL to the contribs page [11:17:22] I'm planning to merge the spammers into one account, then I'll hit this [11:17:28] ty [11:17:30] Nikerabbit: *shrug* [11:17:33] note that rollback doesn't work well with some mass attacks, where the spammers edit the same pages with differnet names at high speeds [11:17:39] I have enough of trouble to think about misermode user [11:17:41] heh, well, then it would work ^_^ [11:17:49] cool [11:18:09] thanks again guys [11:18:11] there might be a Special:Nuke for rollback, or even one built into delete&merge [11:18:24] seems a common enough scenario [11:18:39] UserMerge doesn't and I didn't read that there is one for nuke... [11:18:42] but I could be wrong [11:19:11] but unless it is over a few thousand, it is probably more trouble to write such an extension than to just do lots of clicking [11:21:43] holy hell [11:21:52] looks like enwiki is getting flaggedrevs after all [11:22:46] :-( [11:22:57] ugliii UI [11:23:35] can't there be like an opt out pref: "I don't give a crap, don't let me see any of the ugly interface, old versions, rating boxes, or recent changes smeg" [11:23:45] werdna: 11:23, 29 March 2009 Catrope (Talk | contribs | block) changed global group membership for User:Catrope from steward to steward, bureaucrat, sysop ‎ (test) [11:24:11] And rows added in the global_user_groups table [11:24:12] hm [11:24:14] So it works for me [11:24:30] It does return to a completely borked page, but it does update stuff [11:25:21] hmmm [11:25:28] borked page is me :) [11:25:41] Yeah, core userrights redirects to Special:Whatever/Username [11:25:44] you're not the only dev who doesn't test minor changes against subclassers. [11:25:45] which drops wfKnownWiki [11:25:52] hehe [11:27:14] The redirect sucks dev-wise, BTW, because PHP warnings resulting from the rights save don't show in the browser [11:27:38] Of course that's not terrible, but it's kinda weird until you realize what's going on [11:27:47] RoanKattouw: enable $wgDebugRedirects? [11:28:14] Wow, that's cool :) [11:28:39] Didn't know that one; I withdraw my objections : [11:28:51] dam... wiki is too old to work with usermerge [11:28:57] !wg DebugRedirects [11:28:57] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgDebugRedirects [11:29:01] Call to undefined function wfLoadExtensionMessages [11:29:21] facefaceface: Aren't there older versions of usermerge available? [11:29:35] lemmy see... [11:29:57] yo G [11:32:13] facefaceface: what version of MW are you on? [11:32:21] 1.8! [11:32:26] :O [11:32:28] RoanKattouw: hmm, still not work for me [11:32:47] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_8/phase3/ [11:32:53] branched in 16914 [11:33:06] Its a customized thing that I'm trying to despam for a friend [11:33:10] 1.8.2 [11:33:20] Whoa we didn't even branch extensions yet back then [11:33:23] features aren't backported, so 1.8 is the critical one [11:33:39] They built FCK integration, so I'm not sure if I can just upgrade the thing [11:34:10] I'll try an upgrade... [11:34:14] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/UserMerge/?pathrev=16914 [11:34:18] 03werdna * r48993 10/trunk/ (2 files in 2 dirs): Fix regression whereby you were shown an error message after submitting GlobalGroupMembership form [11:34:24] and there was nothing in that extension folder that long ago [11:34:27] RoanKattouw: ok fixed that stupid big [11:34:47] it didn't exist until r25065 on svn [11:34:53] so if there are older versions they're not on svn [11:35:02] Ah, a non-hacky fix :) [11:35:22] Splarka, wow thanks dude! [11:35:27] I'll let you know if it works!!! [11:35:41] RoanKattouw: I think the best solution for userrights would have been to make it nonstatic and just instantiate the damn object in the API [11:35:50] much less evil than hooks and such [11:35:59] *werdna calls RoanKattouw a hooker for adding hoooks [11:36:13] werdna: I can't, that'd call the SpecialPage constructor which does evil stuff [11:36:20] bah [11:36:35] facefaceface: I was telling you you were out of luck actually [11:36:41] then move it into the UserrightsProxy/User object [11:36:53] unless you know where it was before svn [11:37:02] Oh wait, actually it's not that evil [11:37:14] I guess I was looking at CA's Userrights constructor, which does do evil stuff [11:37:37] and for an encore, Prefs via API! [11:37:37] Of coruse, I mean the best solution other than complete refactoring into a proper separation of business logic and UI :) [11:37:55] domas: patrolled revisions for that flaggedrevs proposal looks like a mess [11:37:58] Yeah, that's a phase4 dream :P [11:38:18] people seem to also be voting without reading stuff [11:38:24] Splarka: by hook or by crook that will be fixed up [11:38:24] Splarka: You'll get your API prefs as soon as Werdna finishes his prefs rewrite [11:38:27] AaronSchulz: that's normal [11:38:38] AaronSchulz: but at least we're getting SOMETHING live, eh? [11:39:28] *Splarka doesn't really care about API prefs or user rights, thinks the UI is spooky enough [11:40:34] brion's away this week [11:40:37] werdna: I guess moving UserrightsForm::doSaveUserrights() to User would make sense [11:40:40] I guess that means personal project time [11:40:55] RoanKattouw: we need something in between backend and business logic [11:40:59] *RoanKattouw throws the preferences-work branch in werdna's face [11:41:06] RoanKattouw: owww [11:41:19] yeah i had to help with code updates and stuff last week [11:41:28] this week will be pretty much just personal projects \o/ [11:42:12] You know the difference between you and Brion is that you actually hang out here and even do some stuff on Sundays :) [11:42:28] that's because brion would be deluged if he did [11:42:41] also it's the work from home v. work from office thing [11:42:45] True, the guy deserves a break [11:43:18] Speaking of which, where the hell is home for you? IIRC, you're Australian, worked at the SF office for a bit, and now you seem to be in the UK based on your timezone [11:44:18] no that's just my retarded sleep schedule [11:44:21] oh no [11:44:23] CTCP TIME [11:44:26] my server is on UTC [11:44:36] I'm in AU still [11:44:39] Right [11:44:44] but I'm in the UK in a month [11:44:48] and a bit [11:44:49] 14 may [11:44:55] Will you be in Berlin next weekend? [11:45:15] no unfortunately :( [11:45:20] family thing on [11:45:26] my grandpa's 80th. [11:46:30] bring him along! [11:46:46] heh [11:46:49] sounds espensive [11:46:49] I know the feeling, I once had an event conflict with my grandma's 75th [11:47:49] werdna: But ah, back to business :D how about the userrights thing? IMO moving that method to User would be best [11:48:12] Another thing that bothers me is that UserrightsProxy doesn't subclass User [11:48:36] (or any kind of class/interface linking the two) [11:49:10] *werdna shrugs [11:49:26] Doesn't matter much in PHP of course [11:50:34] indeed [11:50:37] \o/ weak typing [11:51:42] I think we need a common interface for each API/UI pair [11:51:45] but it's work of course [11:52:14] so we have an ActionUserrights class, and then UserrightsForm and ApiUserRights both are just skeletons which call methods on that common underlying class [11:53:01] break the UI bits of EditPage into an EditPageForm and then ApiEdit and EditPageForm call the same methods [11:54:26] that's a kinda pie in the sky dream :P [11:55:04] hmm, how is one supposed to tell, via the API, if an unpatrolled revision that generates a valid patrol token and has an rcid, is patrollable? like, what if revision patrolling is disabled on the wiki in question, or you don't have permission... [11:55:30] Splarka, oh... I'll try an update [11:55:51] for example: http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcprop=user|comment|flags|timestamp|title|ids|sizes|redirect|patrolled|loginfo&rctoken=patrol&format=jsonfm [11:56:08] I am pretty sure most of those edits aren't patrollable, but aren't patrolled either, but I get a patrol token for them [11:58:40] btw, that question is aimed at you RoanKattouw ^_^ [12:00:01] on en.wp I shouldn't get a patrol token for edits because it isn't enabled, on test.wp I shouldn't because I don't have permission to patrol (or at least, I am not an editor/reviewer) [12:01:01] (or should get an indicator whether I can patrol it or not I guess, "patrollable":"") [12:01:11] Is there a way to easily get in code all the pages that transclude a particular page? [12:01:41] inline? no... you'd need an extension, like DPL [12:01:58] but you can link to it [12:02:01] *domas eyes http://flack.defau.lt/linker.png [12:03:11] {{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hideredirs=1&hidelinks=1}} [12:04:04] 03aaron * r48994 10/trunk/extensions/FlaggedRevs/ (3 files in 2 dirs): Prevent rating chart overflow [12:04:14] *Splarka wonders how long until some up-shot aaron-come-lately dev makes WhatLinksHere transcludable [12:04:44] aaron-come-late? up-shot? how long? [12:04:56] *werdna extracts mind from gutter. [12:05:23] domas: [main] is only 41% [12:06:14] werdna, it is Linker-centric [12:06:27] above linker percentages are how much of above execution Linker is [12:06:34] something like that [12:06:53] bah [12:07:47] Splarka: IIRC, when patrolling is disabled on a wiki, you shouldn't be getting any patrol tokens [12:08:12] werdna: hehehe, still, kind of fun to spend 50% formatting links :) [12:08:51] 03aaron * r48995 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: Moved @ modifier for write-errors [12:09:01] domas: I imagine it's dominated by existence checks [12:09:08] I don't know if we even batch the damn things. [12:09:09] Splarka: From the token function for patrol: if(!$wgUser->useRCPatrol() && !$wgUser->useNPPatrol()) return false; [12:09:22] werdna: we do [12:09:31] werdna: query wise this is quite efficient code now [12:09:36] (after I fixed Aaron's stuff ;-) [12:09:43] hehe [12:09:53] then where's all the damn CPU going? [12:09:56] and this is CPU profiling [12:09:57] :) [12:10:00] well, you have the graph [12:10:01] werdna: Yeah, such an interface would be nice, good starting point for phase4 I guess :) [12:10:19] we can do it incrementally [12:10:24] do what? [12:10:50] hi, i wonder how to remove EL "arrow"? [12:11:02] domas: Title->getLocalURL doesn't seem to add up [12:11:08] Aleenf1: class plainlinks [12:11:25] [http://myurl my link] [12:11:38] well, is that anyway to remove foe whole wiki? [12:11:44] *for [12:11:52] it's done in css [12:12:06] Roan: tell me what you see when logged in then: http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcprop=user|comment|flags|timestamp|title|ids|sizes|redirect|patrolled|loginfo&rctoken=patrol&format=jsonfm [12:12:28] I see patroltokens [12:12:34] right, for edits [12:12:39] patrolling is only enabled for new pages [12:12:47] Yeah well the API isn't *that* smart [12:13:00] werdna: css? [12:13:13] Although maybe it could be, it does get a RecentChange object after all... [12:13:23] Aleenf1: yeah [12:13:34] but how? [12:14:16] Aleenf1: it's done in monobook.css [12:14:20] hmm, well, it would be nice to know if the user has permission to patrol, too [12:14:27] hmm [12:14:31] I don't know how to override oit off the top of my head [12:14:49] werdna: i done it, is not work [12:15:00] Splarka: I'm on it [12:15:05] ta <3 [12:15:09] *Splarka gives Roan cookie [12:16:18] Splarka: Already done, will test after getting a bite to eat [12:16:25] k, no prob [12:16:37] brion gone for a week, no scap tuesday unless werdna feeling adventurous [12:17:06] haha, no :P [12:18:37] 03aaron * r48996 10/trunk/extensions/FlaggedRevs/maintenance/updateStats.inc: Start at P35 for time table [12:19:26] http://en.wikipedia.org/wiki/Special:BlankPage?ajaxrc=true -> javascript:void(importScript('User:Splarka/ajaxrecentchanges.js')) [12:19:37] if anyone wants to see this monstrosity [12:20:39] http://en.wikipedia.org/w/index.php?title=Talk:Global_warming&curid=454409&diff=280369702&oldid=280368154 [12:20:43] hehe [12:21:50] 03philip * r48997 10/trunk/phase3/includes/ (4 files in 2 dirs): Update the Chinese conversion tables. [12:22:04] other plants besides trees, too [12:22:26] AaronSchulz: of course, neither of those are really practical large-scale, right? [12:23:35] I think you can use an ionizer scrubber too, probably more practical on extremely large scales [12:23:38] All we need to do to kill global warming is release a bunch of sulfur particles into the air. [12:23:47] Proven lots of times by volcanic eruptions. [12:24:03] I vote nuclear winter [12:24:05] We can lower temperatures by multiple degrees Celsius overnight, for vastly less money than trying to cut CO2. [12:24:14] Of course, you'll increase lung disease and so on, but oh well. [12:24:32] Better than everything getting flooded, amirite? [12:25:28] well, it's only a stop-gap [12:25:35] is there any people from poland? [12:25:50] you'd have to keep releasing more and more S particles until eventually the lung disease rate would be intolerab;e [12:25:58] S ain't cheap either [12:26:09] is there any people from poland? [12:26:14] Sulfur is dead cheap. [12:26:19] TOmasz, but it's the weekend there. [12:26:19] And the stuff does fall out of the atmosphere. [12:26:26] *Splarka resists bad-taste joke [12:26:37] well yeah, but launching it into the atmosphere isn't [12:26:37] So we'd have to replenish it to keep it at a constant level, that's all. [12:26:45] Cheaper than cutting CO2 massively, and it actually works. [12:26:49] no because you wouldn't stop the actual problem [12:26:51] Unlike cutting CO2 emissions massively. [12:27:15] the CO2 emissions would still be occurring, [CO2] would still be increasing, and the enhanced greenhouse effect would still be increasing. [12:27:17] Well, we'd have to add more sulfur to the atmosphere as CO2 levels rose, sure. [12:27:29] But it's not like we're going to cause those to rise forever. [12:27:55] So basically you'd still have to cut CO2 emissions, you're just buying time while people die of lung disease [12:28:11] 03ashley * r48998 10/trunk/phase3/maintenance/renameDbPrefix.php: renameDbPrefix.php tweaks: corrected script name in help message (this is not updateSpecialPages.php ;) + added spacing [12:28:38] seems like there are better options if we could actually have a unified front on the issue. [12:28:49] eventually we'll have enough satellites in orbit to block enough of the sunlight, although this will reduce photosynthesis which will reduce the ability of 'tree' to reduce CO2, and as well, they would also collect some heat and radiate it as a lower energy infrared towards us, unless we made them very shiny [12:29:30] This is all assuming that warming is primarily caused by CO2 emissions, of course. I don't trust any scientist who's saying something that will get them more grants unless they have concrete results I can understand. [12:29:59] Scientists always make things sound more cool and/or dire than they actually are. Half of research science is obtaining money. [12:30:03] check the 2 billion year trend, we're way cooler and very low in CO2 ^_^ [12:30:15] Simetrical: sounds to me like an argument from motive [12:30:34] werdna, and? Are you suggesting that every taxpayer is supposed to get a Ph.D. in climatology to properly assess the issue? [12:30:42] heh [12:30:45] You have to evaluate things based on available evidence. [12:31:06] right [12:31:07] werdna, I guess your argument is an argument from authority. :) [12:31:15] yes, but it's valid authority. [12:31:19] werdna: you just reminded me of a book I want to get [12:31:32] an expert speaking in their area of expertise is a decent authority [12:31:33] werdna, says who? [12:31:38] we could go to hydrogen, except it would mostly be produced from fossil fuels for the next few decades (methane is too cheap) and after by electricity from coal-fired plants in the US until peak coal (~2150) [12:31:39] Who says they're a valid expert? [12:31:48] What about homeopaths on homeopathy? [12:31:54] plus it leaks horribly, is very inefficient to store, and depletes the ozone layer [12:32:02] werdna: well, a bunch of them is better :) [12:32:06] lots of cranks out there [12:32:07] of course, conflicts of interest need to be evaluated, but unless there's compelling evidence to the contrary, I'll go with the scientific establushment. [12:32:08] The only credentials they have is the fact that some other climatologists gave them a Ph.D. [12:32:20] Who decides what's part of the scientific establishment? [12:32:37] Does mere presence in the science department in a university convey that, or do you actually have to use the scientific method? [12:32:50] Because AFAICT, climatologists are light on actually validating their models. Seems to be mostly retrofitting. [12:32:59] Not many easily-checkable short-term predictions. [12:33:01] *VasilievVV thinks that global warming is not more worthy of believing than aliens and worldwide cabals [12:33:12] can you help me? [12:33:19] ?? [12:33:25] Lots of long-term predictions that are hard to check until you've already paid trillions of dollars on emissions cuts. [12:33:28] VasilievVV, I wouldn't go that far. [12:33:31] cysioland, with what [12:33:32] ? [12:33:46] upgrade of mediawiki without command line [12:33:53] Simetrical: I'd go with national academies of scientists and stuff [12:33:55] 1.6.10 to 1.14 [12:33:56] Simetrical: global warming is a red herring, we need a sustainable energy carrier cycle even if it is totally false [12:34:09] http://www.newscientist.com/article/dn11462 is an interesting guide on the subject [12:34:12] ^still need [12:34:27] I want to use preprocessor for MediaWiki code [12:34:27] Splarka, agreed, but that doesn't have to come now. [12:34:29] Only eventually. [12:34:34] france is toying with creating hydrocarbons from atmospheric carbon via nuclear power, that is the way to go [12:34:47] Particular to your arguments, http://www.newscientist.com/article/dn11649 http://www.newscientist.com/article/dn11653 [12:34:47] you can't help me? [12:34:48] make stuff like wfRunHooks preprocessed [12:34:50] werdna, a better argument. [12:35:00] Most legitimate scientists do believe in climatology. [12:35:09] petroleum is one of the most perfect balances of efficiency, stability, availability, usability, and safety in a chemical reaction [12:35:26] ? [12:35:35] !upgrade | cysioland [12:35:35] --mwbot-- cysioland: http://www.mediawiki.org/wiki/Manual:Upgrading [12:35:39] A particular callout, "Climate scientists point out that if they were after a bigger chunk of that money, their best bet would be to stress the uncertainties of climate change and call for more research, rather than call for action." [12:35:55] it don't help me [12:36:20] there's also the precautionary principle, which doesn't prove anything, but is a reasonable mandate for action. [12:36:44] werdna, contrary to the precautionary principle, you can argue that technology improves over time and it will be cheaper for future generations to deal with. [12:37:06] In any event, even according to the climatologists, cutting CO2 emissions right now to zero won't stop warming. [12:37:08] Only slow it. [12:37:18] So it's not a full solution regardless. [12:38:08] yes that's true, but I think a sensible step towards solving a problem is to stop causing the thing [12:38:08] damn sulfur hexafluoride [12:38:14] http://rafb.net/p/pBZxBW37.html [12:38:18] I'm happy to support initiatives that reduce CO2 emissions if they don't cost much or do other good things as well, like improving renewables, but I'm not a big fan of spending huge amounts on stopping CO2 per se. [12:38:19] my errors [12:38:28] can u help me? [12:38:29] Splarka: This probably looks weird, but it's what you'll get: http://rafb.net/p/rqIZA822.html [12:38:36] werd: http://www.eagle.ca/~gcowan/boron_blast.html interesting read, bit crackpotty [12:38:49] cysioland, not sure, sorry. [12:38:58] Splarka: You'll get patroltokens for new rcs only, along with a warning that 'patrol' isn't allowed for you if there's a non-new rc in there [12:39:00] The installer needs more helpful error messages . . . [12:39:18] you can't help me? [12:39:20] Simetrical: An excellent demo of the problem was driving down a CA highway [12:39:23] around LA [12:39:43] thousands and thousands of cars, one person each, usually in some big ugly truck [12:39:54] And these people bitch about petrol prices? [12:40:01] cysioland: "Your session.save_path value (/var/lib/php5) appears to be invalid or is not writable." [12:40:16] werdna, meh, I read that New Scientist article. I wasn't impressed. I don't think it's a conspiracy, just a large group of people who are biased in favor of their own self-interest. As for the predictions, I've looked at some of them and they seem to have been incredibly weak. [12:40:19] hint: Your pretrol prices are half ours, and if you cared that much you'd buy a car that got more than 10mpg [12:40:20] cysioland: Try setting your session.save_path in php.ini to a dir that PHP can write to [12:40:24] The postdictions aren't even worth talking about. [12:40:43] werdna, hey, I live in New York and my family doesn't drive, don't complain to me. [12:40:48] We use public transit. [12:40:57] LA needs better public transit, is all. [12:40:58] Simetrical: making general complaints :)) [12:40:59] RoanKattouw: hmm, yah, I'd trust the lack of 'patroltoken' most I guess [12:41:05] i'm not owner of server [12:41:11] i'm using free hosting [12:41:19] http://rafb.net/p/dl8N1L24.html [12:41:37] RoanKattouw: oh, is the warning meant for edit and new? [12:41:43] can i delete default messages on my own? [12:41:54] cysioland: Fatal error: Maximum execution time of 2 seconds exceeded in /var/www/virtual/walkthrough.cba.pl/includes/db/Database.php on line 1292 [12:42:00] werdna, of course, higher MPG has disadvantages too. Lighter cars means more fatal accidents. [12:42:12] cysioland: That means you have fascist hosting [12:42:13] WTF, 2 second max execution time? [12:42:27] very free hosting [12:42:34] werdna, then again, if we cared much about car accidents we'd require driving at 10 MPH on highways. [12:42:39] Splarka: It's a warning that's thrown whenever it runs into a token it can't give you [12:43:10] Simetrical: maybe you'd actually teach your drivers to drive before letting them go on highways by themselves [12:43:13] ahh, that is a bit vague, because some actions there are patrollable [12:43:17] Google says: 10 miles per gallon = 4.25143707 kilometers / l [12:43:23] What the hell [12:43:28] but I guess it works [12:43:52] Our (petrol) car does 37.5 mpg, and our previous (diesel) car did 42 [12:43:56] werdna, so anyway, I'm not saying climatologists are entirely wrong, but I'm not a fan of nonsense like Kyoto that costs a huge amount if it's meaningful at all, and at best marginally slows warming. Better to use the money for other purposes and be richer in a few decades when we understand the problem better. [12:43:56] http://www.lightfootcycles.com/engine.php 250mpg [12:44:06] Of course, maybe by then it will be harder to reverse, but . . . c'est la vie. [12:44:08] *Simetrical shrugs [12:44:12] http://rafb.net/p/fCpszQ50.html [12:44:21] there aren't config file [12:44:51] cysioland: What do you mean? [12:44:52] RoanKattouw, 10 MPG is pretty low for American cars too. Ours does a lot more than that (not that we use it). [12:45:06] My licensing process: 12 months, 120 hours behnd the wheel accompanied. 40 minute driving test. One year with 90kph speed limit and zero alcohol, no more than 2 passengers over 21 after 11pm. Hazard perception test. Two years with 100kph speed limit and zero alcohol, knowledge test. [12:45:13] installer tell this [12:45:16] http://rafb.net/p/fCpszQ50.html [12:45:23] werdna: Holy hell [12:45:34] but there isn't file LocalSettigs.php [12:45:42] cysioland: It's in the config/ directoryt [12:45:51] it isn't [12:46:05] werdna, we tend to have fairly strict licensing in big cities, but very lenient licensing out in low-population places where you have to drive to get to school or the grocery store. [12:46:10] I'm almost finished my first year of being a Provisioonal driver (the one year with 90kph speed limit etc) [12:46:13] werdna: you mean "Road Warrior" isn't a documentary? [12:46:16] is only my old file named LocalSettings.old.php [12:46:21] i'm getting away [12:46:24] 03ashley * r48999 10/trunk/phase3/includes/ (Skin.php SkinTemplate.php): [12:46:24] Skin.php/SkinTemplate.php: cleanup, spacing tweaks, double quotes to single [12:46:24] quotes where appropriate, changed $fname to __METHOD__, broke up some long [12:46:24] lines, converted raw SQL queries to use Database class, marked visibility of [12:46:24] certain functions that were marked as /** @public */ [12:46:26] Also, you guys have a speeding culture [12:46:35] werdna: Over here in NL there's a lowered alcohol limit and a three-strike-out policy for the first 5 years, that's all. No speed limits, just 120 kph right off the bat [12:46:38] over here most people don't speed to nearly the same extent as I do. [12:46:41] In Europe they don't have to drive nearly as much, so they don't care as much about fuel prices and are stricter with licensing and whatever. [12:46:46] werdna, lol. [12:46:57] as you do** [12:47:04] Oh, I thought you were serious. :( [12:47:06] Oh well. [12:47:15] oh and for the first year it's one speeding ticket = 3-month license suspension. [12:47:36] Simetrical: How far would that school and grocery store be away? If it's less than 5 mi people are just being pussy ;) [12:47:42] NSW has among the strictest driver licensing laws in the country, but it shows in the accident rate. [12:47:43] Most people here speed every day and never get a speeding ticket. You have to go in the right lane if you don't speed. [12:48:13] werdna, in a large part of the US, if you don't have a driver's license you'd starve to death. [12:48:37] RoanKattouw, what, walk ten miles to get to a grocery store and back? And carry all the groceries? [12:48:44] That's what, five hours walking? [12:48:50] five hours? [12:48:58] cysioland: That might be caused by the chdir() failures and open_basedir restrictions [12:49:01] you'd have to be pretty slow [12:49:04] 2 MPH is reasonable walking speedc. [12:49:05] d. [12:49:08] Maybe three or four, whatever. [12:49:10] *RoanKattouw was talking bikes [12:49:12] Hmm. [12:49:18] Something is wrong here. [12:49:19] 5 mi by bike is about 24 mins [12:49:21] No, wait. [12:49:22] Bleh. [12:49:31] How many groceries can you fit on your bike? [12:49:35] I guess people could bike more. [12:49:39] . . . anyway, I really have to go. [12:49:49] I can carry plenty, got those attached bag thingies [12:50:04] okay see you Simetrical [12:51:52] 03catrope * r49000 10/trunk/phase3/includes/api/ApiQueryRecentChanges.php: API: Don't give patrol tokens for non-new RCs if only NP patrol is enabled [12:52:54] \o/ [12:59:31] *Splarka cheers belatedly [13:13:01] Domas: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Rollback [13:15:56] eh :) [13:16:04] *Splarka still sees them though, heh [13:16:09] I see them too! [13:16:12] maybe it was during the scapup? [13:16:17] no idea [13:16:26] or maybe they do mean [rollabck] [13:16:27] ohwell, I didn't check watchlist [13:16:34] ahh, heh [13:16:51] murderer [13:16:54] but those are spooky anyway [13:17:25] *Splarka has: body.page-Special_Watchlist .mw-rollback-link {display:none;} [13:17:52] it just doesn't go to check page_latest, so as it doesn't know it, doesn't show the link [13:18:09] is a dumb place for rollback links anyway [13:18:24] you should really check the diff itself, or the user's contribs, or the page history [13:21:46] stupid rollback links [13:23:17] why the heck are we looking for interwiki links at every goddamn Title object? [13:23:49] it shows up on profiling! [13:23:49] who needs rollback links on special:recentchanges, honestly? they're annoying...and in most cases, quite damn useless too [13:24:02] where are those links useful? :) [13:24:09] diff view? :D [13:24:15] they are useful in recent changes [13:24:27] [citation needed] [13:25:02] blatent vandalism shows up in auto edit summaries [13:25:22] sometimes I wish there was a delete link there too: (diff) (hist) . . N! MONKY MOO - (mark?‎; 13:05 . . (+128) . . 62.72.33.29 (Talk | block) (Created page with 'UMONKY MOO A SPECIES OF DONKEY POO THAT SHOUTS OOGLY GOOGLY OCTOPUS FART AT NEAR BYE CALCULATOR WIELDING WATERING CANS') [13:25:52] well yea, true, but sneaky vandalism doesn't...and most vandals aren't stupid enough to leave the edit summary blank, heh [13:26:20] hey auto-edit-summaries are my feature [13:26:24] don't knock em [13:26:52] werdna: I was praising them [13:26:56] yay [13:27:27] also, do we need phase3/skins/Skin.sample? it's not very helpful... [13:27:44] no [13:28:02] though that comment should be preserved somewhere [13:28:07] *VasilievVV tries to fix image moving [13:28:26] they are most useful in diff views and Special:Contributions [13:28:39] *ashley was thinking of deleting Skin.sample as it's not really useful anymore [13:28:40] in Contribs you can &bot=1 and ctrl-click like mad (as mentioned to facefaceface) [13:42:53] 03vasilievvv * r49001 10/trunk/phase3/ (6 files in 3 dirs): [13:42:53] Improve image moving error handling: [13:42:53] * Do image moving before page moving. That will allow to avoid situations when image page is moved, while image itself isn't. [13:42:53] * Add safeguard code that checks all files before moving them [13:42:53] * More debug logging [13:50:35] The problem with rollback links on RC is, last I checked, they were running like one query per row. [13:51:23] to check page_latest? [13:51:37] Yeah, or something like that. [13:53:10] . . . anyway, I really have to go. [13:53:13] *Splarka pokles simmy [13:53:19] I went and returned. [13:53:24] Morning prayers only take forty minutes or so. [13:53:27] ahh, wb then [13:53:36] Now I have to eat breakfast and do homework, though. [13:53:44] Number theory, differential geometry, and quantum mechanics. \o/ [13:53:51] I think that was the point of domas' edits and fixes and https://bugzilla.wikimedia.org/show_bug.cgi?id=18229 in general? [13:57:37] 03(mod) Recentchanges for logged-in users uses way too many queries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18229 +comment (10Simetrical+wikibugs) [14:00:02] 03(mod) Restore revision numbers in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18242 (10Simetrical+wikibugs) [14:03:17] hello [14:03:41] i need help [14:04:01] i'm upgrading mediawiki from 1.6.10 to 1.14. [14:04:03] http://rafb.net/p/fCpszQ50.html [14:04:12] cofig file isn't present [14:04:29] only old config file named LocalSettings.old.php [14:05:33] EDIT: Wiki works [14:05:42] cysioland, look in some other directories. [14:05:50] It looks like it couldn't change directories for some reason. [14:05:50] wiki works [14:05:52] wait, [14:06:13] 1.14 [14:06:15] SUCCESS!!! [14:06:19] Goodnight xD [14:06:31] heh [14:19:12] 03midom * r49002 10/trunk/phase3/includes/specials/SpecialWatchlist.php: fix rollback links in watchlists, use a join'ed `page` for that [14:24:28] 03siebrand * r49003 10/trunk/extensions/Translate/ (aliases.txt groups/mediawiki-defines.txt): Add support for SecurePoll messages and special page aliases [14:25:27] 4 PHP Fatal error: Call to a member function matchStartToEnd() on a non-object in /var/www/w/includes/parser/Parser.php on line 2741 [14:25:58] inconsistent state? [14:26:14] Anybody had any experience with external storage for old revisions? [14:26:20] sure [14:26:23] werdna: yep. Not an issue, indeed. [14:27:07] werdna: Is it possible to tell MW to store old revisions in an external DB from a certain point on, and leave all the older revisions in the regular DB? [14:27:19] that's the default [14:27:24] oh, ok, cool [14:27:32] So it first checks in MW, and then the external storage? [14:27:33] unless you run a migration script [14:27:44] no the reference is left in the text table [14:27:45] it puts an entry in the text table saying it's stored in ES [14:27:55] Oh, cool [14:28:00] so instead of putting the text in the text table, it leaves a reference to ES [14:28:02] werdna: Does a migration script come with it? [14:28:38] sure, in maintenance/ [14:28:43] no idea what it's called [14:28:48] you know how to set up ES, right? [14:28:54] 03siebrand * r49004 10/trunk/extensions/Translate/groups/MediaWikiExtensions.php: Add Secure Poll to Wikimedia extensions [14:28:58] werdna: Not yet, but I'll read about it. [14:29:34] werdna: Got any links handy? [14:30:44] I'm not sure how complete the documentation is. The basic summary is: In the external DB, source blobs.sql from maintenance/; $wgExternalStores = array( 'DB' ); $wgExternalServers = array( 'cluster1' => array( 'master-server', slaves ) ); [14:30:57] $wgDefaultExternalStore = 'DB://cluster1'; [14:31:07] werdna: How do I setup the DB? A regular MySQL DB? [14:31:11] yes [14:31:36] with the same username and password unless you use an LBFactory_Multi and have templateOverrides / ExternalLoads set up correctly. [14:31:55] werdna: ExternalLoads? [14:32:54] if you don't have a complicated multi-database/multi-wiki setup, and/or have separate usernames and passwords for different DB servers, and/or are doing development and need testing, and/or have a replicated MySQL setup, don't worry. [14:33:13] Just make sure that the username and password is the same on the external storage. [14:33:24] the DB name has to be the same as the wiki's DB name [14:33:33] werdna: ... I do, I have a different DB per language, but I didn't set it up. [14:35:00] ok, try setting it up, let me know how you go [14:35:39] werdna: cool, thanks. I'll try it. [14:36:24] Tim-away: could it be 'securepoll-not-started' is unused? [14:37:51] moin [14:38:52] !es [14:38:52] --mwbot-- I don't know anything about "es". You might try: !answer !bizzwiki !bundels !cms !cookies !csv2wp !domdocument !extranamespace !hosting !install !morbo !multiplewiki !mysql !paranoid !passthru !renameuser !rewriteproblems !suggest !webrequest !wptemplates [14:39:00] !es is http://www.mediawiki.org/wiki/External_Storage [14:39:00] --mwbot-- Successfully added keyword: es [14:39:09] !es | davidt [14:39:09] --mwbot-- davidt: http://www.mediawiki.org/wiki/External_Storage [14:39:53] werdna: cool, thanks a lot [14:40:45] werdna: shouldn't that page be in the Manual namespace? [14:40:52] maybe [14:40:55] feel free to move it [14:41:11] I just whipped it up in case people want to know how to work it :) [14:41:55] can i install extension flaggedrevs without access to command line [14:41:57] ?? [14:42:21] maybe [14:42:38] i have 3 commands [14:42:47] Run maintenance/archives/populateSha1.php. [14:42:56] Run maintenance/update.php [14:42:59] only necessary for older wikis [14:43:02] (the first) [14:43:05] Run FlaggedRevs/maintenance/updateAutoPromote.php. [14:43:08] the second I don't know how to work around [14:43:12] the third too. [14:43:17] !shell [14:43:17] --mwbot-- Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [14:43:20] i have wiki 1.14 [14:43:36] on free hosting [14:44:09] *werdna shrugs, wanders in the direction of bed [14:44:24] can i use mediawiki? [14:44:29] without it [14:44:45] flaggedrevs is answer for my problems [14:44:48] as it said, some things work, but we haven't gone out of our way to support non-shell users [14:46:17] well,i can't use extensions [14:46:33] backup = phpMyAdmin Dump + Download from FTP [14:46:48] upgrade = backup config and run installer [14:46:57] thkx :(( [14:58:12] what font(s) does LaTeX use? [14:58:25] 03(mod) Large problem with vandalism patrolling because restriction Special:Recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18241 (10herd) [15:00:15] Nihiltres: by default "Compter modern" [15:00:25] *computer [15:01:48] 03ashley * r49005 10/trunk/phase3/skins/CologneBlue.php: cleanup to CologneBlue.php [15:02:00] 03(mod) Large problem with vandalism patrolling because restriction Special:Recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18241 +comment (10domas.mituzas) [15:02:21] bunch of whiners [15:02:26] why nobody offers fixing code instead?! [15:02:42] *Splarka did, by throwing javascript at it, ha [15:03:10] domas: did you raise the limit again on WMF? [15:03:21] yep [15:03:31] oh, I thought you just meant in mediawiki, misread [15:03:59] guess you could close the bug then [15:10:17] does MW store external links in table externallinks if link points to wiki itself (ie. if I use under fiwp article link [http://fi.wikipedia.org/wiki/Foo Foo], will this link end up to externallinks table)? [15:11:03] Agony, it should, yes. [15:13:11] http://en.wikipedia.org/w/index.php?title=Special:LinkSearch&target=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMain_Page [15:13:29] *Splarka wonders again why there is no interwiki (not interlang) table [15:13:46] *Splarka wonders if interwikis could just be stored in the externallinks table [15:14:21] [[mw:foo]] could be treated like http://www.mediawiki.org/wiki/Foo [15:14:24] better'n nothing [15:16:12] Simetrical: ok, then I must have bug with my query (because I don't believe I just fixed fiwiki last four fi.,wikipedia.org/wiki/ links from article namespace) :) [15:18:16] *sigh*, el_to is quite bad key compared with page_id... nevermind my question :) [15:20:47] 03(mod) provide a way to specify what text/statement is supported by a block. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18231 (10virtueller_andy) [15:22:28] hi, is anyone interested in cortado online? [15:28:05] 03siebrand * r49006 10/trunk/extensions/SimpleSecurity/ (SimpleSecurity.i18n.php SimpleSecurity_body.php): [15:28:05] * allow for restriction type localisation in 'security-desc-LS' [15:28:06] * comment out message for commented out use of 'security-desc-CR' [15:28:28] I'd like to finish dirac-in-cortado (my last year SoC project) and implement it for mediawiki [15:28:32] Can I change the colour of a visited link with inline CSS? [15:29:47] 03ashley * r49007 10/trunk/phase3/skins/ (Chick.php MySkin.php Nostalgia.php Simple.php Standard.php): further cleanup to skins. instead of referring the user to docs/skin.txt, why not to include the skin descriptions on the actual files? :) [15:38:00] 03simetrical * r49008 10/trunk/phase3/includes/ChangesList.php: [15:38:01] Remove some makeKnownLinkObj() invocations in RC [15:38:01] Was being called for all rows, then thrown away for any rows that [15:38:01] weren't normal edits (logs, etc.). [15:46:03] cirwin: that was exactly what I was looking for, thanks [15:57:22] 03siebrand * r49009 10/trunk/extensions/Translate/ (SpecialLanguageStats.php Translate.i18n.php): Suppress table header if there is nothing to report on, and show a message to encourage users to start review. [15:58:13] Whoops, my last commit was garbage. [16:02:30] 03simetrical * r49010 10/trunk/phase3/includes/ (ChangesList.php Linker.php): [16:02:30] Use link() instead of make*Link*() [16:02:30] Preparatory to some optimization work. Also fix a bug in last commit, [16:02:30] so if this causes problems, revert that one too. [16:05:44] bugs of a feather rollback together [16:07:52] 03siebrand * r49011 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: Fix typo in 'abusefilter-edit-builder-misc-tern' [16:12:36] 03(FIXED) Localize "namespace" or "category" in MediaWiki:Security-desc-LS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18238 +comment (10siebrand) [16:19:10] 03ashley * r49012 10/trunk/phase3/includes/Interwiki.php: minor coding style tweaks to Interwiki.php [16:39:56] 03catrope * r49013 10/trunk/phase3/ (3 files in 3 dirs): [16:39:56] Remove ugly userrights-CentralAuth hack introduced in r48970 and friends: [16:39:56] * Make UserrightsForm::doSaveUserGroups(), addLogEntry() and helpers non-static again so CentralAuth can override them; remove the short-lived UserRightsLogEntry hook [16:39:56] * Let UserrightsForm::fetchUser() return a WikiErrorMsg on failure [16:39:56] * In ApiUserrights, use an instance of the UserrightsPage class rather than calling its methods statically. This also enables interwiki userrights in this module [16:40:01] * Add some messages to ApiBase::$messageMap [16:40:44] 03catrope * r49014 10/trunk/phase3/includes/api/ApiBase.php: Followup to r49013: forgot to commit ApiBase.php [16:42:27] 03catrope * r49015 10/trunk/extensions/CentralAuth/ (3 files): CentralAuth changes for r49013 [16:44:15] werdna: r49013-15 should make you happy [16:48:14] werdna, does the userrights api module work? [16:49:28] techman224: Yes, it does [16:49:38] (as of 5 minutes ago :P) [16:49:45] Not sure whether the scapped version works [16:49:56] Can it create accounts? [16:50:11] Why would a userrights module want to create accounts? [16:50:29] For http://stable.toolserver.org/acc/? [16:50:46] If there was a way for the tool to do a "dry" run [16:50:58] OK, I understand that you *want* to create accounts through the API, but that doesn't belong in action=userrights [16:51:03] <^demon> userrights != createaccount [16:51:47] Hmm because action=userrights broke CentralAuth werdna removed it yesterday (or the day before), so action=userrights is not currently live [16:52:03] It will be at the next scap, which won't be until Brion gets back from Berlin [16:58:44] 03siebrand * r49016 10/trunk/phase3/ (186 files in 2 dirs): [16:58:44] * remove unused 'logouttitle' [16:58:44] * rebuild all messages files [16:59:08] RoanKattouw ... you will be in Berlin as well ? [17:10:01] 03simetrical * r49017 10/trunk/phase3/includes/ (ChangesList.php GlobalFunctions.php): [17:10:01] Remove a couple of link() calls in enhanced RC [17:10:01] diff and cur links are now created using raw HTML instead of link(), [17:10:02] which they didn't really need anyway. I didn't see any other obvious [17:10:02] candidates for conversion to raw HTML, since other things tend to need [17:10:02] fancy classes and have lots of other logic. It's possible link() could [17:10:05] be made faster, too. [17:13:26] 03simetrical * r49018 10/trunk/phase3/includes/ChangesList.php: Pass query directly to getLinkUrl() [17:14:29] Simetrical: hmm [17:15:26] Problems? [17:16:47] 03siebrand * r49019 10/trunk/phase3/languages/messages/MessagesEn.php: Replace tree dots by ellipsis [17:16:55] Simetrical: how comes link() is slow? [17:17:06] Nikerabbit, it's not, really. But for 500 links on RC, it's called something like 5000 times. [17:17:14] Nikerabbit, http://flack.defau.lt/linker.png [17:17:44] mmm [17:17:59] Language::hasVariants is 1.45% there, BTW, why isn't it an immediate return for most languages? [17:18:14] Simetrical: could you look up if CleanChanges extension needs also fixes? [17:18:35] Anyway, you have stuff there like wfUrlencode() taking up >1%, when it's just one urlencode() and one str_ireplace(). [17:18:37] CleanChanges? [17:19:37] Simetrical: yeah, the extension [17:19:42] Never heard of it. [17:19:59] we use it at translatewiki.net, I wrote it [17:20:10] What kind of fix would it need? [17:21:28] similar to what you did? [17:21:43] It's just a performance optimization. [17:22:12] so? [17:22:20] not worth it? [17:24:35] Well, you can do it if you like. [17:37:35] Simetrical: I don't know if it needs it [17:45:24] GerardM-: Yes. I won't be coming in the car with you and Siebrand, though, I'll be coming by train [17:45:48] <^demon> I'll be there once I perfect my teleporter :) [17:45:53] :) [17:45:54] hi RoanKattouw [17:46:13] Hi Nikerabbit [17:47:28] How evil is this SQL query? http://rafb.net/p/Z5P1xp45.html [17:49:27] anomie: It's OK, doesn't filesort or scan lots of rows [17:49:34] hi all [17:49:57] RoanKattouw- That's what I thought, but I wanted to ask those more experienced with MW queries than I before I wasted time on it [17:49:59] thanks [17:50:12] As long as that LIMIT 5000 doesn't become higher; 5k should really be only for privileged users [17:50:20] A la API [17:54:46] RoanKattouw, about the API... [17:55:15] I found when I log in as a bot, the edits are not 'hidden', however, when a non bot user re-edits the page, they become hiden [17:55:18] hidden [17:55:31] I'd expect bot=true to be set for edits made by a bot user. [17:55:55] Hidden where? RC or hist? [17:56:29] The API doesn't automatically set the bot flag for edits made by a bot user, you have to explicitly add &bot to your request [17:57:30] that's still a bug in my opinion [17:57:33] rc [17:57:42] me too [17:59:01] First post to this chat channel. Reading the FAQ. Want to use MediaWiki to support a group of researchers, with their results. [17:59:28] Don't know what it means to register the nickname. [17:59:45] Doing a lot of reading, and some testing. [17:59:55] Replies are welcome, as are suggestions. [18:00:02] Thanks for all help offered. [18:00:04] RoanKattouw: ok. [18:00:12] cirwin, facefaceface: It's not a bug, it's documented behavior. Besides, there has to be a way for bots to do non-bot edits [18:00:24] RoanKattouw: ?bot=false [18:00:54] bot edits done through the UI are marked [18:01:00] cirwin: Boolean parameters don't work that way in the API. They're either present (true), or absent (false) [18:01:03] Guest35031: feel free to ask questions [18:01:10] So the default value must be false [18:01:10] RoanKattouw: yuck... [18:01:11] ?nobot=true [18:01:22] I am certainly not shy about asking questions. [18:01:29] Yes, nobot would be possible [18:01:43] Just so people know who I am, my name is William R. Buckley. [18:01:47] RoanKattouw: you are violating POLA :-) [18:01:51] One question, how is the real wikipedia.org real mysql setup? Do they use the same db schema mediawiki uses? Do they use some kind of distributed database setup? [18:01:55] it seems strange that the bot would want to make nonbot edits [18:01:57] at all [18:01:58] Principle of Least What? [18:01:58] I am on this chat channel in case I have questions. [18:02:04] never mind by default not [18:02:04] RoanKattouw: astonishment [18:02:07] oh, ok nice to have you Guest35031 [18:02:09] For the time being, I will simply monitor the discussions. [18:02:19] you might want to try "/msg nickserv help" [18:02:29] antiPoP: Same schema, but with a master DB server and multiple slaves [18:02:49] facefaceface: just because it's the API doesn't mean that it's strictly bots editing through there so forcing bot by default is silly [18:02:49] Guest35031, monitor this!!!!111oneone [18:02:49] You can find some references to my work by Googling my name in quotes. A good example is the Wikipedia article Von Neumann Universal Constructor. [18:03:04] OverlordQ, and if I'm logged in as a bot? [18:03:13] what do you expect then? [18:03:28] Right. Well the thing is, we've got &bot which is perfectly clear in what it does, and I'm not gonna break BC for cosmetic reasons [18:03:40] BC? [18:03:45] Backw. compat [18:03:45] and how is the salve setup? They have big tables (ie. revsions) splitted or do they have all teh same data and they just do load balancing? [18:03:54] The latter [18:03:57] Hello [18:03:59] Define POLA [18:04:06] RoanKattouw, so defaults can never change and thats that? [18:04:29] facefaceface: Defaults can change if there's a compelling reason for them to. But this is not worth breaking BC IMO [18:04:31] why would a bot want to make a non-bot edit? can you give a use case? [18:04:31] facefaceface: no, it'd cause everyone who's written stuff already to need to change code [18:04:35] how can i add links to the site menu on the left side of the screen? [18:04:39] RoanKattouw- it's for the API, actually; i'm looking at a pair of bugs in generator=backlinks and handling gblredirect that way might help me fix it. I should try to construct a new sample query to illustrate it, the one I had last week doesn't trigger it anymore [18:04:44] CrushKing: [[MediaWiki:Sidebar]] [18:04:55] facefaceface: some bot tasks are required to not mark there edits as a bot [18:05:00] *their [18:05:00] I'm thinking not - no change would be necessary, because no bot ever needs to make a non-bot edit [18:05:04] <^demon> Wow, #mediawiki is awfully active for a sunday :p [18:05:11] nickserv register wrbuckley [18:05:12] OverlordQ, can you give an example? [18:05:24] cirwin: Thanks [18:05:27] facefaceface: That's not true, bots that update stuff sometimes need to have their edit visible [18:05:37] when is that? [18:05:40] facefaceface- ClueBot [18:05:42] hi -- i just did a fresh install of mediawiki. i followed thru the procedures. when it brought me to Main_Page, it looked very plain (no image/css/skin). is this by default, or i missed something? [18:05:52] And no matter what the use case is, it has to be *possible*. The UI is very bad at that currently [18:05:55] anomie, what is ClueBot? [18:06:11] If you login as a bot user, you can't make non-bot edits through the API, end of story. And that's bad [18:06:13] Vandalism bot [18:06:25] marckie: Link? [18:06:29] facefaceface- a bot that reverts vandalism on enwiki and doesn't flag the warnings it gives users with the bot flag, so people can actually see them with normal settings [18:07:07] RoanKattouw, localhost. im just trying mediawiki out [18:07:07] nickserv group [18:07:11] OK, so there are usecases... but Its the difference between the UI and API defaults that's confusing. But I'll stop talking now [18:07:33] Guest35031: /msg [18:07:49] the API uses sane defaults, it assumes that if you want special behaviour you ask for it instead of forcing it [18:08:24] It generally uses sane defaults, but for bots sane defaults are less important anyway [18:08:43] Well, I've only started the FAQ. So, for a little time, I'll sit silently, and observe the exchange of posts. [18:08:47] Adding &bot to 90% of your requests is a pain in the ass if you're a human, but painless if you're a bot [18:10:05] RoanKattouw: except that every bot author has to remember to add it on every request [18:10:28] That's a one-time thing an author finds out about when reading the docs [18:10:40] I'll make it extra explicit in the API docs then I guess [18:10:41] RoanKattouw: no it's not... even if you know about it, it's still easy to forget [18:10:50] because it's not something you would expect to be required [18:11:29] Making &bot the default would require apps like ClueBot and AutoWikiBrowser to think about *unsetting* the bot flag [18:12:33] those bots are by far the minority [18:12:40] nickserv myaccess [18:13:56] new installation, mediawiki is not picking up the skin. where can i check? [18:14:03] ooooh, /me just saw prependtext option to action=edit [18:14:26] Possibly, but they would be affected by such a change in a bad way [18:14:44] And still, there's always other wikis out there running old versions of MW, so even bots gotta do some BC-stuff [18:15:05] I don't understand the point about selecting a permanent nickname. I thought this was done when FreeNode let me create the names William William_ and (IIRC) William__ [18:15:20] And, nickserv says I'm not logged in. [18:15:27] Guest35031: you need to /msg nickserv [18:15:34] you've been talking into #mediawiki [18:16:03] /nick cirwin2 [18:17:02] Good, a change the nickname. However, the FAQ shows a form different than whay cirwin suggested. Clearly, I have much to learn. [18:21:18] cirwin, thanks. I got the name wrbuckley registered. [18:28:08] One hurdle down; millions to go. [18:47:59] hello [18:49:56] hi Nikerabbit [19:28:09] is there a way to retrieve the implicit groups for a user from the API? (eg autoconfirmed) [19:28:31] stwalkerster: I don't think so, lemme check [19:30:15] stwalkerster: No, it's not possible [19:30:35] gah. oh well, thanks anyway [19:38:26] If I purge a page, will it purge the transcluded templates (causing the new version of the template to appear everywhere)? [19:38:50] cirwin: No [19:38:56] To do that, purge the template itself [19:39:05] thought so, just confirming, thanks [19:40:43] RoanKattouw-AMS: I added a couple API modules to abusefilter, you might want to take a look to make sure I didn't do it too wrong, I mostly just used other modules as a template [19:41:45] MrZ-man: Yeah, was planning to do that, in the middle of the Wikimania 2010 bid meeting right now ;) [19:41:57] I took a quick look and spotted some minor things already [19:49:32] 03vasilievvv * r49021 10/trunk/phase3/includes/filerepo/ (FSRepo.php LocalFile.php): Fix a typo in the function name [20:21:37] 03(NEW) Flagged Revisions for en please :-) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18244 major; Normal; Wikimedia: General/Unknown; (thepmaccount) [20:23:48] 03(mod) Flagged Revisions for en please :-) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18244 +comment (10stwalkerster) [20:30:06] 03simetrical * r49022 10/trunk/phase3/includes/ChangesList.php: Remove unused var [20:53:45] Reedy: You also might wanna join #wikimania-lounge [20:53:57] as #wikimania is moderated [20:54:05] Ahh, cheers [20:54:22] I wish XChat would fix the bug with the no of characters it will store for favourite channels :( [20:54:46] Does anybody know a german translation of http://www.mediawiki.org/wiki/Manual:Extensions? [20:55:27] Dr_Jekyll, http://translate.google.com/translate?prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FManual%3AExtensions%3F&sl=en&tl=de&history_state0= would be a very crude one [20:55:33] nicht zu viele gut [20:56:53] thx Reedy but than i try to understand the english version [20:58:12] or does anybody an extension which let me include my own php or html-files? ...i couldn't believe that it's not have been already made but i can't find one [20:58:26] !e HTMLets | Dr_Jekyll [20:58:26] --mwbot-- Dr_Jekyll: http://www.mediawiki.org/wiki/Extension:HTMLets [20:59:40] RoanKattouw ok i see, it was not the first request :/ [21:00:24] good evening [21:00:37] hello ? [21:00:45] i have a question regarding the API [21:01:43] ask away! [21:01:53] hi folks [21:02:01] does anyone know of a plugin to organize wiki content in chapters? [21:02:06] ala-book style? [21:02:08] well my Question is following: [21:07:53] http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png [21:07:53] Splarka: oh, cool, so that's where the hash comes from [21:07:53] md5sum <(echo En-us-prosperity.ogg) [21:07:53] afc07e3380edb7e69a47a26af90a8b64 [21:07:53] it is the hash of the exact normalized title [21:07:53] the first letter then the second two leters [21:07:55] *Splarka forgets if it uses spaces or underscores, thinks underscores [21:07:59] but you shouldn't need to worry about that [21:08:02] http://upload.wikimedia.org/wikipedia/commons/5/51/En-us-prosperity.ogg [21:08:03] there are like 10 ways to get the filepath [21:08:22] $md5(En-us-prosperity.ogg) 515e86776295fdcd155ea1269091d092 [21:08:27] one that work scorrect for all files is enough but which ? [21:08:31] the md5 is DEFINITELY NOT [21:08:35] tis [21:08:39] WFM [21:09:05] here is another: http://en.wikipedia.org/wiki/Special:FilePath/Wiki.png [21:09:15] And the API of course [21:09:31] http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&iiprop=url&titles=File:Wiki.png [21:09:56] yep, and the API [21:10:08] but the md5 of En-us-prosperity.ogg is NOT startign with 515........... [21:10:22] 515e86776295fdcd155ea1269091d092 [21:10:24] yes it does [21:10:30] it is the hash of the exact normalized title [21:10:36] it is of the filename by the way, NOT the contents [21:10:56] so no newline at the end ? [21:10:59] just a min [21:11:05] no newline [21:11:08] $md5(En-us-prosperity.ogg) [21:11:18] MD5 ("En-us-prosperity.ogg") = 515e86776295fdcd155ea1269091d092 [21:11:20] no namespace, uppercase first letter (for those wikis with that requirement) [21:11:33] and spaces changed to underscores [21:11:54] En-us-prosperity.ogg [21:11:57] md5sum [21:12:00] yields [21:12:10] afc07e3380edb7e69a47a26af90a8b64 [21:12:14] on my machine ???????????? [21:12:19] you're doing it wrong then [21:12:20] how are you calling md5sum ? [21:12:26] eitzenbe_: you are inputting an extra newline [21:12:30] nope [21:12:37] thats why i place it into a file with vi [21:12:38] what command are you using? [21:12:42] conrad@mendelssohn:/0/wt/mwclient/trunk$ md5sum <(echo -n 'En-us-prosperity.ogg') [21:12:42] 515e86776295fdcd155ea1269091d092 /dev/fd/63 [21:12:43] conrad@mendelssohn:/0/wt/mwclient/trunk$ md5sum <(echo 'En-us-prosperity.ogg') [21:12:43] afc07e3380edb7e69a47a26af90a8b64 /dev/fd/63 [21:12:44] md5sum md5.txt [21:12:55] most files have a trailing newline [21:12:56] http://www.md5.rednoize.com/?q=En-us-prosperity.ogg&s=md5 [21:12:57] thanx conrad :O) [21:13:06] there, 5 sources, claim 515 [21:13:17] 555. [21:13:42] also see: http://test.wikipedia.org/wiki/16474 [21:14:15] I STAND CORRECTED [21:14:21] echo -n "En-us-prosperity.ogg" | md5sum [21:14:25] returns 515........... [21:14:31] hmmmmmmmmm [21:14:41] so this spec is VALID [21:14:44] ??!! [21:15:01] if the wiki is using the hashed upload directory schema [21:15:08] cause then I add this to parley and people will be able to hear the voice files [21:15:13] well its wiktionary [21:15:21] and cirvwin mentioned it to be valid [21:15:26] http://www.mediawiki.org/wiki/Manual:$wgHashedUploadDirectory [21:16:31] so its "/" + md5[0] + "/" + md5[0:1] [21:16:34] CORRECT ? [21:16:40] http://en.wikipedia.org/wiki/User:Dragons_flight/oops [21:16:54] Rawr. [21:17:01] eitzenbe_: Yes [21:17:35] I think that list is incomplete too. :-/ [21:18:00] Thanx for teh support [21:18:12] I still need to think about how to make it sound technical solution [21:18:26] either going via API or just plainly doign the md5 discofox :O) [21:18:32] hit the API, that tells you all the juicy data [21:18:41] all the best and thanx / good night [21:18:51] eitzenbe_: Special:FilePath might be worth investigation [21:19:21] Special:FilePath is the canonical way of getting a file>'s url given the name. well, that and the API [21:19:33] Special:FilePath is nice because it does a http redirect [21:19:38] so you can use it as the URL directly. [21:26:52] If I found a bug and made a proposed fix, should I still post to Bugzilla first? [21:27:03] Whats the bug? [21:27:34] To an extension. Normal class. [21:27:41] *Normal severeity [21:27:57] If you want to log one, put it on with keywords patch and needs-review [21:28:05] SamCurt: what do you mean by "first"? [21:28:08] before doing what? [21:28:18] Nothing. [21:28:48] well then - put that patch on bugzilla, that's what it's for ;:) [21:28:51] I know a fix needs review (esp when I'm a newbie in all this) [21:29:02] Its standard keywoards ;) [21:29:17] Thank you! [21:29:46] e [21:42:50] 03(mod) Flagged Revisions for enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18244 major->15enhancement; summary; +comment (10mrzmanwiki) [21:46:07] 03(mod) Flagged Revisions for enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18244 +comment (10dgerard) [21:57:55] does anybody an extension which let me include my own php-files? htmlets doesn't work for my needs... [21:58:40] !html [21:58:40] --mwbot-- For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [21:59:24] 03(mod) Set user rights via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15935 (10pathoschild+wmbugs) [22:00:43] hi there [22:03:58] Hi guys. I'm using 'Special:UserMerge' to try and sort out a serious spamming problem on a friends wiki [22:04:22] I found that there are 646 users who have made zero edits, and I was wondering how I can blitz them? [22:04:26] Why? [22:04:34] that's a weird way of handling spam [22:04:44] just block them [22:04:45] I have installed a captcha that requires users to solve it before signing up [22:05:16] Mike_lifeguard, that's one solution, however, I want to revert all their edits... hmm... they make zero edits... [22:05:27] if they haven't edited... [22:05:40] Mike_lifeguard, it would reduce the database size, and give me a more accurate picture of the number of users if I trash them [22:05:53] if they have, then there's a maintenance script to clean spam (& of course you can do it easily enough manually or with a script/bot) [22:05:56] Marybelle i've tried SecureHTML and SecurePHP already but it's not what i want - for example i have a form which uses php and sql in background i just want to show this form like a origin wiki-site and after submit i want to show the result [22:05:58] It wouldnt save that much space [22:06:11] reducing db size is a silly reason to do that [22:06:12] facefaceface: If you haven't got the Newuserlog extension installed and they didn't edit, it should be safe to just remove their rows from the user table in the DB [22:06:23] facefaceface: maintenance/removeUnusedAccounts.php [22:06:23] Reedy, no, but its nicer to see 50 users instead of 700 650 'fake' [22:06:24] if i try to upload an image i get an error (but in fact it is uploading). see http://pastebin.com/m84b25e0 (german). [22:06:38] RoanKattouw, right, that was just what I was thinking [22:06:49] pit: you may need to update your database [22:06:51] cirwin, looks interesting :-) [22:07:07] RoanKattouw, what table will show if NewUserLog is installed? [22:07:09] RoanKattouw: I think newuserlog was merged into core at some point [22:07:10] cirwin: i don't understand a lot about mysql. how to do so? [22:07:18] MrZ-man, it has been [22:07:19] php maintenance/update.php [22:07:30] but all these happened before we were on that version [22:07:30] but take a backup first (just in case) [22:07:49] funny that the spammers use the same email ;-) [22:07:54] cirwin: is there an update script beeing part of mediawiki? [22:08:00] pit: yes [22:08:03] sorry, backup script. [22:08:04] pit: maintenance/update.php [22:08:11] maintenance/dumpBackup.php [22:08:21] cool. i'm gonna try! [22:10:03] looks like i have to change permissions first ... [22:10:11] cirwin, looks like that just does ... OK, it does some cleanup too [22:10:39] 06(LATER) Flagged Revisions for enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18244 +comment (10cenarium.sysop) [22:12:08] 03(NEW) AutoCreateCategoryPages unable to detect category links embedded in templates that depends on template parameters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18245 normal; Normal; MediaWiki extensions: Uniwiki; (conanchristie) [22:12:36] cirwin, RoanKattouw thanks [22:13:42] heh... it missed one! [22:15:28] Hey guys - is there an extension I can use so that I can stick ?section=6 at the end of my link to go to the section with ID 6? [22:15:46] DarkGryphon: No, but you can stick #Section_title at the end of the link [22:16:06] DarkGryphon, and you can also insert 'Tags' [22:16:13] Anchors I mean [22:17:19] facefaceface, what syntax do I use to do that? [22:24:37] Oh, I see - http://meta.wikimedia.org/wiki/Help:Anchors - never saw that, sorry [22:24:38] DarkGryphon, I than wrapped that in a template to make it easy [22:24:38] 03siebrand * r49023 10/trunk/phase3/languages/messages/ (27 files): Localisation updates for core messages from translatewiki.net (2009-03-29 22:17 UTC) [22:24:38] i.e. you could type {{Anchor|6}}, and it would add the syntax necessary [22:26:28] 03siebrand * r49024 10/trunk/extensions/ (43 files in 36 dirs): Localisation updates for extension messages from translatewiki.net (2009-03-29 22:17 UTC) [22:27:13] Ah, that does seem useful