[00:00:24] <^demon> AaronSchulz: Working perfectly now :-) [00:00:49] 03brion * r35831 10/trunk/extensions/UniversalEditButton/UniversalEditButton.php: $skin param on the hook isn't needed, and is new in 1.13. just take it off so it doesn't whine in 1.12 :) [00:01:40] ^demon: did you do $oldTime properly? [00:01:52] brion, is it ok that i commit that fix for icons then you revert it? or i should refrain from committing it? [00:02:10] it should be using time() - (some global) and using db->timestamp() and stuff [00:02:13] like recentchanges [00:03:49] alnokta: wait till after tim scaps at least ;) [00:04:10] alnokta, everyone sometimes commits things that break. They get reverted. [00:04:28] alnokta, it's best with CSS things to check in all the major browsers before committing. [00:04:31] 03siebrand * r35832 10/trunk/extensions/NewUserMessage/ (NewUserMessage.class.php NewUserMessage.php): [00:04:31] * add hook code to class file [00:04:31] * move 3 globals into class method. Could get rid of another ($wgNewUserMinorEdit) if renamed and default false. Would break backward compatibility, though [00:04:31] * fix big in 'description' in credits (page would never exist) [00:04:32] * bump version and date [00:04:35] Although I wouldn't have thought this would be a problem, geez. [00:04:47] I wonder what went wrong, exactly, with the background image. [00:04:53] I can't believe IE and FF where messed up [00:05:04] Does FF2 not support left-aligned background images on inline elements or something? [00:05:07] usually it's Safari or Opera or some browser nobody uses [00:05:10] :p [00:05:38] Well, Firefox 3 works, and I guess everyone was using that. :) [00:05:48] puh, silly devs [00:05:54] always using new beta software [00:06:01] It's the default on Hardy Heron! [00:06:02] Simetrical, i meant so not to annoy him, [00:06:04] *AaronSchulz is using FF 3 too [00:06:09] (although I was using it before then) [00:06:10] Heh. [00:06:16] so I can't really talk ;) [00:06:52] it looked like a problem with the padding to me [00:06:57] i didn't fiddle in detail [00:07:13] *Dantman|FS had issues with FF at one point and ended up upgrading to FF3 when he made a new profile [00:07:39] can someone comment on the actual benifit of a change like I made in r35832? Why are fewer globals a good thing, and does taking bytes from the file that loads when an extension is not used only save memory, or more? [00:08:20] brion, the padding looked correct to me, but in Fx2 the icons were on the wrong side. [00:08:49] I couldn't test properly because of course I would have to reinstall Firebug and set up a new profile etc. etc. etc. [00:08:51] Sigh. [00:08:57] (and I was too lazy, of course) [00:09:03] siebrand: you've made it vulnerable to register_globals exploits [00:09:31] brion: right. What does that mean, and how do I fix it? [00:09:34] you should always, *always* pre-set any global you use to ensure it can't be set by an attacker on sites with register_globals enabled [00:09:48] revert r35832 and you'll be safe again :) [00:10:10] good: $wgNewUserMessageEditor = 'Admin'; [00:10:14] brion: so I should not have taken the globals out of NewUserMessage.php, but splitting off the hook code is OK, or both are bad? [00:10:16] bad: not setting $wgNewUserMessageEditor [00:10:27] yes to 1 [00:10:31] and to 2 [00:10:37] splitting off code is usually good :) [00:10:45] though honestly i don't see a lot of code there [00:10:59] dunno if that one's worth the effort :) [00:11:09] siebrand, splitting things into files that are loaded only as needed saves not just memory but processing time, at least if no opcode cache is used. [00:11:18] brion: doing it with more code would definately had added a pointy hat to my collection:) [00:11:21] (Not sure if function declarations take up any processing time if an opcode cache is used.) [00:11:22] <^demon> AaronSchulz: $oldTime = $dbr->timestamp( strtotime( "-" . $wgActiveUserDays . " days" ) ); [00:11:24] ^_^ Though it's probably worth effort to fix SF [00:11:38] Eeek... short-circuted extension message loading [00:11:59] ^demon: I'd just rip of recentchanges.php [00:14:25] 03tstarling * r35833 10/trunk/phase3/includes/GlobalFunctions.php: Fix and revert revert of 35819. is_writable() should apply to the parent, not the nonexistent new directory. [00:16:24] <^demon> AaronSchulz: Did it. Also, got confused because UTC time just clicked past midnight, so I was wondering why my last 30 day edit count had gone down :-P [00:16:48] 03aaron * r35834 10/trunk/phase3/languages/messages/MessagesEn.php: Tweak message [00:19:03] 03(NEW) Activate Extension:NewUserMessage on nds.Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14400 15enhancement; normal; Wikimedia: General/Unknown; (wiki) [00:19:08] What should I be using to test rtl stuff on my demo wiki? [00:19:43] Dantman|FS, all the major browsers. [00:19:45] Dantman|FS: a wiki set for an rtl language, like hebrew or arabic :) [00:19:53] and yeah... every browser you can find :P [00:19:54] Or "en-rtl". [00:19:55] good luck.... [00:19:57] I think that works. [00:20:18] 03siebrand * r35835 10/trunk/extensions/NewUserMessage/ (NewUserMessage.class.php NewUserMessage.php): Fix on r35832. Re-add pre-set of globals to prevent register_globals exploits. Thanks brion. [00:20:32] I have FF2, IE7, FF3, Opera, and Safari... For the most part I'm covered [00:21:22] I've tried &uselang=en-rtl, en_rtl, and enrtl but it doesn't seam to ever look different [00:21:43] 03aaron * r35836 10/trunk/phase3/includes/DefaultSettings.php: special page group tweak [00:23:16] <^demon> AaronSchulz: Here's the new pastebin. I think I've got it right now :-) [00:23:17] <^demon> http://pastey.net/88897 [00:23:24] Oh right... ^_^ I have Amaya to... though lolifox doesn't count.... hey wait... Lolifox is based of FF2... sweet, I don't have to go and screw arround with icky FF stuff to test FF2 and FF3 at the same time [00:23:47] Dantman|FS, you could also use an older version of Epiphany, or anything that uses Gecko. [00:24:21] Dantman|FS, try setting $wgLanguageCode or whatever it is in LocalSettings. You want to change content language for this testing, not just interface language. [00:24:34] Mhmm... [00:25:01] I'm probably going to add a little domain tweak to my demo wiki... Probably http://rtl.dev.wiki-tools.com will show a rtl version [00:26:49] Awww crap... [00:26:56] ^demon: looks ok [00:26:59] damn disk space on the portable drive [00:27:55] how can i make certain pages (or an entire wiki) private? [00:28:25] !e LockDown [00:28:25] --mwbot-- http://www.mediawiki.org/wiki/Extension:LockDown [00:28:34] !secrets [00:28:34] --mwbot-- MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. [00:28:34] thanks [00:28:36] Windopain: $wgGroupPermissions['*']['read'] = false; [00:29:02] and also [00:29:13] $wgGroupPermissions['*']['edit'] = false; [00:30:43] 03(mod) New #lastedit parserfunction - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14384 +comment (10tstarling) [00:32:15] Dantman|FS: [00:32:15] if(queryString('rtl') == '1') { [00:32:16] document.getElementsByTagName('html')[0].setAttribute('dir','rtl'); [00:32:16] importStylesheetURI(stylepath + '/' + skin + '/rtl.css?150'); [00:32:16] } [00:32:29] bah [00:32:39] (with the queryString function I use) [00:33:00] http://p.defau.lt/?MMd_V8VGIHE1ZQr6qPdYEg [00:33:03] If I did anything like that .... It would be a $_GET in localsettings [00:33:30] WFM [00:34:33] the problem is, $align is set in so many places... [00:35:03] http://www.google.com/codesearch?num=100&q=package%3Asvn.wikimedia.org%2Fsvnroot%2Fmediawiki%2Ftrunk+align+rtl [00:35:38] though I guess you could have isRtl() do a $wgRequest override check [00:35:49] (in fact, why doesn't it have that?) [00:43:48] $wgNamespacePermissionLockdown['*']['*'] = array('sysop'); does that restrict access to pages in all namespaces to everyone but admins? [00:45:28] 03nad * r35837 10/trunk/extensions/EmailArticle/ (EmailArticle.php EmailArticle_body.php): 1.1.0 - problem in group query [00:45:51] Windopain, you don't need to use Lockdown if you want to restrict all namespaces at once. Lockdown is only useful for per-namespace restrictions. [00:46:07] ah. [00:46:23] so $wgGRoupPermissions is the way to go then? [00:46:51] Windopain: yup [00:47:03] !wgWhitelistRead [00:47:03] --mwbot-- I don't know anything about "wgwhitelistread". [00:47:31] how do you link those again [00:47:37] !link wgWhitelistRead [00:47:37] --mwbot-- You shouldn't do this, but since you asked: [00:47:45] !wg WhitelistRead [00:47:45] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgWhitelistRead [00:47:56] Simetrical: thanks [00:48:44] Windopain: you might also want to see that [00:49:29] !manual Preventing Access [00:49:29] --mwbot-- An introduction to using MediaWiki is at , see for information about copying it to your own wiki. More technical information for MediaWiki administrators is at . For an introduction on programming with MediaWiki, see . [00:49:39] *Alexfusco5 shoots mwbot [00:49:49] ok, thanks again [00:50:21] np :) [00:50:23] !preventingaccess [00:50:23] --mwbot-- http://www.mediawiki.org/wiki/Manual:Preventing_access [00:50:41] i'm slowly learning here... i've found the learning curve of mediawiki to be much sharper than i expected. i probably would have given up if not for #mediawiki [00:50:44] Simetrical: once again, thanks [00:54:16] ahh need to see the login page eh [00:55:45] i haven't set wgWhitelistRead yet but i can still read the login page when logged out... I'll keep reading :) [00:58:24] 03(WONTFIX) New #lastedit parserfunction - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14384 +comment (10tstarling) [00:59:50] Windopain: if you set $wgWhitelistRead = ('Special:UserLogin'); and $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['*']['edit'] = false;$wgGroupPermissions['*']['createaccount'] = false; it should work :) [01:01:09] i have all of those set excep for $wgWhitelistRead = ('Special:UserLogin'); and it seems to be working [01:01:18] Mkay... http://rtl.dev.wiki-tools.com/wiki/Special:SpecialPages [01:01:48] TimStarling: whats the default setting for $wgWhitelistRead? [01:01:53] 03(NEW) Hotkeys in Safari Mac - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14401 minor; normal; MediaWiki: General/Unknown; (hartman) [01:02:28] Alexfusco5: false [01:02:41] thanks :) [01:02:44] *sigh* I really wish people would make an attempt to fix an extremely simple thing, before they go and make a large revert [01:02:46] hmm [01:03:09] Dantman|FS: what revert? [01:03:38] Dantman|FS: the link above it backwards, why? [01:03:44] maybe it has something to do with an extension that is installed [01:03:49] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialSpecialpages.php?r1=35670&r2=35787 [01:04:15] The issue seams fixed simply by putting a float: right; in place of the float: left; for rtl.css [01:04:44] revert the revert then [01:04:47] Dantman|FS: so r35787 reverted? [01:04:50] it doesn't take long [01:05:00] heh... for you... [01:05:03] *AaronSchulz braces for commit wars :) [01:05:15] Revisions aren't my thing in svn [01:05:20] let's see... [01:07:20] ok, where's this float? [01:08:33] 03(NEW) Allow noncritical and possibly repetitive API queries to be cached by &maxage URI parameter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14402 15enhancement; normal; MediaWiki: API; (herd) [01:08:39] 03(mod) Hotkeys in Safari Mac - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14401 (10Simetrical+wikibugs) [01:08:49] I suppose that's your job, but the revert didn't take long in my working copy [01:08:57] what svn client are you using? [01:10:48] Heh... TortoiseSVN... I use cli over ssh... but I don't do much, especially when it comes to reverts [01:11:03] I opened up a console in jEdit [01:11:53] well, to revert in TortoiseSVN, you go to the log page for the file in question, right click on the revision, and click "revert all changes from this revision" or words to that effect [01:12:19] O_O It actually has the ability to do that [01:12:21] to revert in plain subversion, you use: [01:12:31] svn merge -c -35787 SpecialSpecialpages.php [01:17:48] T_T I need a better computer [01:24:21] 03(mod) Hotkeys in Safari Mac - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14401 (10hartman) [01:27:32] O_o wft [01:27:34] wtf* [01:27:47] ack [01:27:50] Is "$user->getOption( 'showonline' )" the way to see if someone is online or not? [01:44:49] 03tstarling * r35838 10/trunk/phase3/includes/Database.php: Capture PHP errors from mysql_connect(). Apparently this is the only place connection errors are available in PHP 5.2.6. [01:47:14] 03tstarling * r35839 10/trunk/phase3/maintenance/commandLine.inc: Use --wiki to specify the wiki ID (database name). Similar to the Wikimedia hack but applicable to all farm installations. Requires special handling in LocalSettings.php to transfer the MW_DB through to $wgDBname. [01:47:43] 03tstarling * r35840 10/trunk/phase3/maintenance/getSlaveServer.php: Special-case debugging hack [01:48:38] 03tstarling * r35841 10/trunk/phase3/maintenance/ (dumpBackup.php dumpTextPass.php): Don't break vim syntax highlighting [01:57:44] 03tstarling * r35842 10/trunk/phase3/ (3 files in 2 dirs): Disable hooks display in Special:Version by default. It's unnecessarily technical, usually useless, and may cause unintended leakage of information about anti-spam measures in use. [02:01:55] TimStarling: What about extension functions to? [02:07:13] I'm not too concerned about them [02:07:30] Is "$user->getOption( 'showonline' )" the way to see if someone is online or not? [02:15:12] where did you get that from? [02:15:26] Extension:OnlineStatus [02:16:03] so do you mean if it's installed, is that how? [02:16:18] or just generally? [02:16:49] Generally [02:17:02] I'm trying to make a parserfunction [02:17:10] no [02:17:19] there's no way to do it without an extension [02:17:33] How so? [02:17:41] MediaWiki is built to be scalable [02:17:59] what do you mean how so? it just isn't in there [02:18:32] Hmm [02:18:39] It doesn't have native functionality to track that kind of stuff because that would require every single request go through the script, and have extra queries for that data retrieval on every view [02:18:39] I'm trying to figure out how that extension does it [02:19:00] Probably just the normal way on page views [02:19:29] *Splarka hints that 14402 would do it pretty nicely, client-side via soft cached API queries [02:19:58] Splarka uses the third person just a little bit too much [02:20:11] *Splarka doesn't do that, that isn't something Splarka does [02:20:36] watched too much Bob Dole impersonation on SNL I guess [02:20:41] Interesting idea splarka [02:20:54] was discussed in -tech earlier [02:20:57] Though, you don't really even need the api js stuff [02:21:13] well, that would be a happy medium between 2 week caching and no caching [02:21:22] No I mean [02:21:50] yes, you could do it with or such, but the JS allows it to not even need an extension or parserfunction [02:22:26] we could write the script right now, but it would hit the backend API every page view for every user using it (ack) [02:22:45] All you'd need is some include into the page whatever you use, probably some link or something... And that's pointed at a lolcation with no-cache, which has the soul purpose of doing the tracking... it has no real content being passed arround, does extremely little, and everything else is cached... [02:22:54] so a &maxage=900&maxlag=5 would make it nice and safeish [02:23:38] ;) If you do it a special way... You can kill the need to connect to MW to do it all [02:24:00] That'll save a whole load of initialization time [02:24:57] eg, any page in ns-2 or ns-3 with getElementsByClassName(docObj,'span','user-status-indicator') array returning >0 would load a script to hit the API ucuser=a|b|c (all IDs, with a limit of say 50) and calculate their last contrib time, indicating in the span [02:25:18] eg [02:25:30] hmm, what location? [02:25:50] location? [02:35:31] can pages in namespaces that are protected with $wgNamespaceProtection be transcluded? [02:38:58] |Cobi|, Soxred93: how about an extension that adds a parser extension tag, like with whatever parameters... this then generates an tag, which is cached of course, for up to 2 weeks.. however, it calls in the src="" a script in the scriptpath/extensions, which generates the image (color based on last edit, no detailed math, just rough >1 hour, >1 day, >1 month time or such) [02:39:15] Cobi has already done it [02:39:17] the image tag could then have cache control headers of say, 15 minutes, and be more live updated than the page [02:39:26] But only for last edit [02:39:37] isn't he working on a parser function or such? [02:40:09] the results of a parser function are cached (as said) up to 2 weeks on wikimedia, barring &action=purge or edits [02:40:34] removing the live status' reliability on wikicode would prevent unneeded purging [02:40:54] It's in CoreParserFunctions [02:41:13] right [02:41:18] but #lastedit will not update every 15 minutes [02:41:26] it will update every 2 weeks, every purge, or every edit [02:41:37] is there any way to stop a page from being transcluded? [02:41:51] in a specific namespace (namespace wide)? [02:41:51] Smaug: by removing edit rights [02:41:59] to any user who doesn't have permission [02:42:15] Sox: but an embedded via extension *could* update more often, using custom cache control headers [02:42:27] i just tested a normal user on one of my wikis, and the account was able to transclude a Mediawiki: message [02:42:30] then the default 2 week squid cache would not be broken, but would also not apply [02:42:31] That is included, I believe [02:43:00] he's not still trying to have #lastedit return a timestamp? [02:43:09] Splarka: does $wgNamespaceProtection count as not having edit rights? [02:45:47] Splarka: if i $wgNamespaceProtection a namespace, and set a user's rights for editing that namespace to false, can they not transclude it? is that what you are saying? because I tested a normal user on one of my wikis, and the account was able to transclude MediaWiki:Mainpage [02:46:22] *my wiki (not one of my wikis. i have only one for now) [02:47:11] mediawiki doesn't yet allow that type of protection without a fragile extension [02:47:44] your best bet, if you want a lot of pages to be read-protected, is to make a second wiki that has no read or edit access at all, except for sysops, and give sysop status to those you trust [02:47:59] you can share user databases and installs, just have a separate LocalSettings [02:48:23] the namespace protection is only useful for restricting edit access [02:48:56] ok. can i have a separate wiki with a shared user database, where some namespaces are protected, and in the second wiki transclusions are completely allowed? [02:49:04] tranclusiosn compeltely disallowed [02:49:07] i mean [02:49:22] no, in the second wiki, you have all read and edit restricted [02:49:33] so that people can only see the main page, and login page [02:49:43] if they can't edit, they can't transclude [02:49:57] http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_viewing_of_all_pages [02:50:04] yeah............but not alloweing them to edit defeats the purpose [02:50:33] "If you need per-page or partial page access restrictions, you are advised to install an appropriate content management package. MediaWiki was not written to provide per-page access restrictions, and almost all hacks or patches promising to add them will likely have flaws somewhere, which could lead to exposure of confidential data. We are not responsible for anything being leaked, leading to loss of funds or one's job." [02:50:35] if i use one of those extensions that does per-ns read rights, will it disable trancludes for users who cannot read those nses? [02:50:40] then MediaWiki is not what you want [02:51:02] for read access, it is all or nothing [02:51:30] IIRC, there _are_ extensions that will disable transclusions from protected namespaces, but there are a dozen other ways to get such data [02:51:44] like what? [02:51:57] preload, editintro, search, export, API, diff, redirects, etc [02:52:02] http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [02:52:45] Splarka: ty [02:52:48] feeds [02:53:40] indeed, feeds [02:53:52] mediawiki is made to be open ^_^ [02:53:56] i know [02:54:30] but i would like openness and closeness. i'm willing for multiple wikis, not for mult types of wikis [02:55:12] for the transclusion, i guess $wgNonincludableNamespaces works [02:55:14] right? [02:55:21] i'll have to investigate the other issues [02:55:48] well, the only "secure" way in mediawiki to protect data is to disable all search/api/export/feed/blahblah by restricting read to non-anonmyous (and restrict user creation) [02:56:12] this method used by a few Wikimedia wikis with critical data, IIRC [02:57:05] A trusted group works to [02:57:13] +shared db [02:57:32] do you think i could disable search, export, etc. and still allow users to just freely join. basically i want to be able to have a lot of secure groups, and don't want to make a new wiki for each one. [02:57:36] let's say i disable all the stuff [02:57:40] but allow users to join [02:57:49] then add them to either group A or group B [02:57:56] well [02:58:00] group A has read, edit access to A ns [02:58:03] B to B ns [02:58:05] you could have a shared user database across all your wikis [02:58:07] but each does not to the other [02:58:18] and then restrict read access on the secure ones to ['sysop'] instead of user [02:58:27] as well as edit access [02:58:28] does that seem to present problems? [02:58:44] then they'd exist on the secure ones, but could not access them unless you sysopped them there (in theory) [02:59:20] that's the kind of functionality i would like, except on a single wiki so that I don't have to install kbs of redundant files each time i want to do this. [02:59:23] but I don't know anything about per-namespace read protection other than you shouldn't try it [02:59:29] yeah......... [02:59:32] that's what i hear [02:59:35] you don't have to install [02:59:40] WikiFarm ftw [02:59:40] !farm [02:59:40] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [02:59:51] hmmmmmmmmmmm [03:00:04] "You can also have multiple wikis using a single installation" i shall look into that [03:00:14] Splarka: you are helpful [03:00:20] rar [03:01:06] is that an acronym or a growl? [03:01:14] just a grunt [03:01:18] ok [03:01:20] heh [03:01:32] just making sure there wasn't some new internet slang i was unfamiliar [03:01:33] with [03:01:37] heh [03:01:40] usually i can figure them out pretty quickly [03:01:44] Is anyone in here using varnish instead of squid for caching? [03:02:14] *Splarka points to crucially [03:02:19] eghjaytee: Artur from Wikia is working on it [03:02:34] I was using it for a while but I upgraded to arnish trunk [03:02:42] and I dont think that things are purging correctly [03:02:53] it is pretty trick though [03:03:29] Dantman|FS: is Arthur's code in svn or anthing that you know of? [03:03:44] Artur=crucially [03:03:55] ok [03:04:02] I don't know if he committed the http2varnish code yet [03:04:30] crucially: have you commited any varnish code yet? Is there anything that you feel like sharing? [03:05:31] He's offline on skype... so he's probably away [03:05:40] word up [03:06:23] *JSharp nods [03:06:27] nighttime for him right now [03:06:46] all of that code should be being published soon if it's not now [03:13:24] 04(REOPENED) Mass deletion of images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8527 +comment (10mike.lifeguard) [03:17:00] 03(mod) Mass deletion of images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8527 (10wiki) [03:18:33] 03shinjiman * r35843 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Old/Late Time Chinese [03:28:39] Hi [03:28:54] Hi [03:30:13] Is there any way to get an updated list of articles that haven't been edited for a long time? [03:30:17] Is there any way to get an updated list of articles that haven't been edited for a long time? [03:30:42] I'm from Thai Wikipedia, and we are thinking about cleaning up really old articles [03:30:49] you mean Special:AncientPages ? [03:31:04] to bring them up to the today's standards [03:31:09] yeah something like that [03:31:25] well, that special page exists, but it isn't updated very often [03:31:33] on the en.wp it hasn't been since 2006 [03:31:38] the last time it was updated was like almost a year ago [03:31:44] so it's kinda useless right now [03:32:03] you could ask for a toolserver query to generate a list [03:32:08] 03tstarling * r35844 10/trunk/phase3/includes/DifferenceEngine.php: Reverted r35829, breaks the suppression of the "next diff" link ("newer edit" on wikipedia) when viewing a diff to the current revision. [03:32:17] 04(REOPENED) "current revision" link leads to latest flagged revision instead of current - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14395 +comment (10tstarling) [03:32:21] where can I ask? [03:32:45] #wikimedia-toolserver [03:32:56] ok thanks [03:33:02] or try #wikimedia-tech and ask for AncientPages to be updated (they might say yes...) ^_^ [03:33:07] do you know why aren't these get updated? [03:33:14] too expensive in processor time [03:33:17] they should update like 4 times a year [03:33:29] on small wikis they update with every edit [03:33:34] that assumes it takes less than 3 months to update the bloody thing [03:33:40] but things like Special:Wantedpages on en.wp can take days to update [03:33:45] ok [03:33:46] hehe [03:33:53] we only have 30k+ articles or so [03:33:56] so shouldn't be that bad [03:34:01] comparing to English, I can't imagine [03:34:14] Tim: is Ancientpages anywhere near as bad as Wantedpages? [03:35:07] they're probably pretty similar [03:35:13] ouch [03:35:31] both join a medium-sized table (page) to a big table (pagelinks and revision), and examine every resulting row [03:35:52] the worst ones are the ones that examine every row of a big table, like Mostlinked [03:37:22] ok [04:06:01] 03aaron * r35845 10/trunk/phase3/includes/DifferenceEngine.php: Add oldid like r35829, except without random unrelated change [04:06:39] 03(FIXED) "current revision" link leads to latest flagged revision instead of current - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14395 +comment (10JSchulz_4587) [04:12:54] *Splarka watches T*m and A*ron play svn/bugzilla ping pong [04:17:21] heh [04:17:49] *AaronSchulz should learn C# [04:31:09] Hi, is it possible for a wiki to disable the move feature for all users except for privileged users? and I don't mean by autoconfirmation [04:32:48] BoL: yes [04:32:59] is there an extension for it? [04:32:59] $wgGroupPermissions['user' ]['move'] = false; [04:33:07] thanks [04:33:07] $wgGroupPermissions['autoconfirmed' ]['move'] = false; [04:33:09] ! [04:33:10] ok [04:33:19] $wgGroupPermissions['sysop' ]['move'] = true; [04:33:30] (might be redundant, sysop should have move by default, but just in case) [04:33:30] ok [04:33:32] thanks [04:33:34] heh [04:33:35] np [04:33:38] see http://www.mediawiki.org/wiki/Help:User_rights for more details [04:46:27] <_overflow_> Hi all. If I want to modify the pager code is a hook or any other workaround to do this? [04:53:37] i wonder if roan means %2b when he talks about encoding problems on the list [04:53:51] he keeps saying %28, which is the '(' character... doesn't seem very problematic [04:54:23] is that a setup for a "%2b or not %2b" joke? [04:56:04] o.o [04:56:09] Omg ... [04:56:13] *amidaniel smacks Splarka [04:56:33] ow [04:57:17] oops [05:02:57] http://rafb.net/p/UV7mez60.html – Rollback diff doesn't work? [05:03:12] does anybody have an example of a sql statement that will search the latest revision of all pages in the wiki? I think i'm trying to do a search on text.old_text, but that column appears to be encoded. [05:04:51] have you looked at whatever /includes/SpecialAncientpages.php does? [05:05:09] nope, but I will. thanks [05:08:15] jdownie: you might find the searchindex table useful [05:09:35] thanks, i'll have a look at that now, the other suggestion didn't have what I'm looking for. [05:09:41] thanks anyway Splarka [05:10:01] *Splarka pouts [05:12:47] whoa flyingparchment! bingo [05:12:48] thanks! [05:13:06] sorry splarka [05:13:31] *Splarka grins [05:15:46] <_overflow_> Should I need to patch mediawiki code or is there anything that let me change the paging ? [06:04:27] 03werdna * r35846 10/trunk/phase3/ (docs/hooks.txt includes/Autopromote.php): Add GetAutoPromoteGroups hook, which was in my working copy but not committed yet (core change for TorBlock extension) [06:09:16] I just installed mediawiki on my mac.. now what? [06:09:40] I guess, where do I look to find out what to do with the $wgLogo to put up something in that corner? [06:10:23] and how do you set which users are power users? [06:10:33] but more importantly, where do I go to read about this stuff? [06:10:50] http://www.mediawiki.org [06:10:52] www.mediawiki.org :) [06:11:01] yeah.. I just found that :) [06:11:02] thanks [06:11:11] !faq | xaxxon [06:11:11] --mwbot-- xaxxon: Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [06:11:15] first search then ask :) [06:12:42] err, don't have a wglogo in my LocalSettings.php ? [06:13:53] put it there [06:13:56] search FAQ [06:14:39] oic. thank you [06:22:26] 03rotem * r35847 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [06:23:32] hrm... how can i tell a bot to show a bug? [06:23:38] !bug 14257 [06:23:38] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=14257 [06:23:42] ah :) [06:23:58] could somebody have a look into it? [06:24:11] or at least tell me what i can do to solve it? [06:24:42] mmmm broke? [06:25:41] this bug is perfectly reproducable for me - i even did a complete reinstall of my system and it's still the same [06:25:59] so analyzing it might be a piece of cake [06:29:11] actually including whatever trace might help so people dont have to download a 1 gig DB dump to reproduce [06:29:33] okay so explain what i have to do to produce such a trace [06:30:22] Oh, i was assuming you already had one from: "as you can see i installed xdebug to get a trace" [06:30:39] haha [06:30:44] i also wrote [06:30:51] that unexpectedly i get no trace [06:30:55] even with xdebug [06:31:10] xdebug was useful to solve other issues i had [06:31:16] andgave good traces [06:31:20] but not this time [06:31:25] it outputs nothing [06:33:33] ah i see i forgot to mention that i do not get a trace from xdebug [06:33:46] *shrug* might try with gdb [06:34:05] is gdb helpful to fix this? [06:34:52] might actually get a stack trace [06:36:27] can you give me a quick introduction how to use gdb for this? [06:36:49] cd to your wiki dir [06:36:53] $ gdb php [06:37:13] at gdb prompt [06:37:22] (gdb) run maintnence/refreshLinks.php [06:37:35] 03(mod) Filter entries in Special:Log/ newusers by type of account creation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14334 summary (10titoxd.wikimedia) [06:37:38] with my startid [06:37:46] yea [06:37:58] okay is this enough? [06:39:04] should run till it segefaults again, you'll get the gdb prompt back, type in bt [06:40:00] OverlordQ: okay thanks - i will add the info from gdb then [06:41:04] 03(mod) Unified Login: Accounts were attached yesterday, but today they are unattached - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14309 +comment (10titoxd.wikimedia) [06:48:58] 03werdna * r35848 10/trunk/phase3/includes/SpecialMovepage.php: Apply the rate-limiter to subpage moving [06:52:40] 03werdna * r35849 10/trunk/extensions/TorBlock/ (TorBlock.class.php TorBlock.php loadExitNodes.php): [06:52:40] TorBlock extension updates: [06:52:40] * Some code quality stuff. Merge some functions, fix up some vertical whitespace, use real methods instead of obsolete ones. [06:52:40] * Add the maintenance script described in the TorBlock.php file. [06:52:40] * Try to avoid DoSing tor with a race condition upon exit node list expiry. [07:02:50] 03werdna * r35850 10/trunk/extensions/TorBlock/ (TorBlock.i18n.php TorBlock.php): Fix Tor exemption. user is a group, not a permission key. [07:09:11] 03werdna * r35851 10/trunk/extensions/TorBlock/TorBlock.i18n.php: Fix PHP error in last commit. [07:28:42] LeonWP, ping [07:42:24] 03siebrand * r35852 10/trunk/extensions/TorBlock/ (TorBlock.class.php loadExitNodes.php): Remove trailing whitespace introduced in r35849 [07:53:46] 03siebrand * r35853 10/trunk/extensions/Translate/Translate.php: Reorder way in which message groups are displayed [08:04:01] <_wooz> lo [08:04:21] wooz [08:04:45] _wooz [08:04:50] eghjaytee: morning [08:13:56] 03werdna * r35854 10/trunk/extensions/TorBlock/ (TorBlock.class.php TorBlock.php): Fix block overriding [08:14:36] TimStarling: when you get a chance, can you resync those two files? [08:15:57] which one first? [08:18:46] doesn't matter. [08:19:23] one is actually defining a hook that I didn't [08:19:31] previous ly define (but that is used) [08:19:31] one is a small chiange to that hook [08:20:01] is that a delete character? [08:20:14] how odd [08:21:31] stty erase [08:21:43] eh? [08:23:11] werd: he means your client is sending ascii 127 literally [08:23:15] you sent "previous ly define (but that is used). one is a small chiange to that hook" [08:23:36] that's weird. [08:23:49] wow [08:24:01] so's your faceyah, weird [08:24:23] if you're using a unix-like OS, then setting your backspace key with stty may help [08:24:55] I'm using gentoo through putty on vista [08:25:10] so that's probably the problem [08:25:29] a lot of our fedora servers are the same way, I never worked out how to configure them [08:25:36] I just used the stty thing every time [08:25:49] interesting. [08:26:06] those angle brackets are the keys you press, they're not literal brackets [08:26:15] anyway, I've got a 4-unit test tomorrow, got to go brush up on my integration techniques [08:26:19] TimStarling: I figured. [08:36:42] 03(mod) Mass deletion of images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8527 (10Bryan.TongMinh) [10:01:03] 03rotem * r35855 10/trunk/ (2 files in 2 dirs): Update for he. [10:20:39] 03(mod) robots.txt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14393 (10chris_yo) [10:46:59] WYSIWYG ? i need a one for my mediawiki [10:47:04] im using the latest version [11:09:10] 03(mod) Error while loading a spanish database dump with mwdumper - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14379 (10sco_scam) [11:11:40] Extend: FCKEditor [11:15:48] k [11:17:32] thanks alot Werdna [11:59:17] 03(NEW) automatic created accounts do not appear as conflict when trying to remerge after unmerge - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14403 15enhancement; normal; MediaWiki extensions: CentralAuth; (spacebirdy) [12:19:21] how can I transfer my wiki data from PostgreSQL 8.1 to 8.3 I keep fighting with the tsearch2 module [12:51:54] off [12:54:07] 03aaron * r35856 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Rename vars [12:55:58] Simetrical, can we add a file for firefox fixes in monobook style folder? [12:59:56] 03(NEW) {{int:X}} respects user-defined interface language, breaking link tables etc. (aka {{USERIFCODE}} strikes back) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14404 normal; normal; MediaWiki: Page rendering; (mormegil) [13:00:14] 03(mod) Variable {{USERIFCODE}} (user interface language code) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2085 (10mormegil) [13:15:15] 03demon * r35857 10/trunk/phase3/ (RELEASE-NOTES includes/DefaultSettings.php includes/User.php): Implement User::isUserActive(). Potentially very useful for bugs 13225 and 13585. Thanks to Aaron for his help on getting this right. [13:16:13] <^demon> AaronSchulz: And it's in. :-) [13:17:05] rumrows? [13:17:22] <^demon> Blah, fixing. [13:17:26] rumours? [13:18:11] User::isActiveUser sounds a little double to me [13:18:18] 03demon * r35858 10/trunk/phase3/includes/User.php: Typo in previous commit. [13:18:19] wouldn't User::isActive suffice ? [13:18:48] "sees" :o [13:18:56] <^demon> I thought that, then I didn't know if isActive might be a bit ambiguous. isActive() might mean "is the user we're talking about the currently active user?" [13:20:03] $dbr->timestamp ( <- why space? :o [13:20:17] hmm [13:20:40] 'isactive' isn't a very descriptive name... what does it do? [13:20:58] <^demon> Nikerabbit: No particular reason. I typically space things out nicely for readability. That one was unintended. Feel free to fix it though. [13:21:13] <^demon> flyingparchment: I mean it like "does this user actively edit?" [13:21:33] ^demon: i can't [13:22:29] <^demon> flyingparchment: From release notes, The User class now contains a public function called isActiveUser. Figures out if a user is active based on at least $wgActiveUserEditcount number of edits in the last $wgActiveUserDays days. [13:22:32] ^demon: "SELECT 1 FROM `revision` WHERE rev_user_text = 'WikiSysop' AND (rev_timestamp 20080505000000 ) LIMIT 30 " [13:22:49] you are probably missing some <> [13:23:15] <^demon> Bryan: Blah. I had to retype it from a different file, because I had an "inconsistent line endings" issue. It was perfect last night. [13:23:30] (note that maintenance/eval.php is very useful for testing single functions) [13:23:34] ... [13:24:16] <^demon> Fixed now. [13:24:25] 03demon * r35859 10/trunk/phase3/includes/User.php: And a missing > helps too. [13:25:12] also, return $dbr->rumRows($res) == $wgActiveUserEditcount ? true : false; [13:25:22] that's kinda double ;) [13:25:22] <^demon> Yes, what about it? [13:25:34] rumrows? ;) [13:25:42] == will always return a boolean [13:25:42] ==? [13:25:43] <^demon> rumRows says numRows() now. [13:26:33] it reminds me of something VasilievVV}NA did some time ago :) [13:27:00] <^demon> calling it rum or making a redundant bool check? [13:27:21] the boolean stuff [13:27:37] he implented a function to determine whether something is true I think [13:28:32] +function boolval( $val ) { [13:28:33] + return $val ? true : false; [13:28:35] +} [13:29:49] <^demon> Hehe [13:30:07] <^demon> Ok, given the obvious code issues fixed. Thoughts on the usefulness? [13:30:36] <^demon> Bugs 13225 and 13585 come to mind offhand. [13:31:06] with the cost of extra query? mm [13:33:28] <^demon> Nikerabbit: Well, for the "hide active users on RC" bug, you wouldn't run isActiveUser() on each result. We'd need a schema change to add a column similar to rc_bot. [13:33:43] örgh [13:33:56] nope [13:34:11] rc_bot doesn't change.. isactive does [13:34:17] <^demon> True. [13:35:23] <^demon> Nikerabbit: No it doesn't, actually. When the *edit* was made, they were considered an active user. [13:35:43] <^demon> So rc_activeuser would remain the same, because when *that* edit was made, they were active. [13:36:10] <^demon> Similarly to how if someone had a bot flag and then it was removed, their old bot edits would still be flagged with rc_bot in RC. [13:38:13] 03(mod) Hotkeys in Safari Mac - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14401 +comment (10hartman) [13:38:55] ^demon: so if inactive users starts editing again... only the N'th change would be marked as an active user? [13:40:50] <^demon> Nikerabbit: Right, because they're not considered active yet. By default, it's set to at least 30 edits over 30 days (so 1 edit/day). [13:41:13] that doesn't make any sense [13:41:24] have to go -> [13:45:02] (" ) ( ") [13:45:18] *Filnik tries to ping TimStarling for alleborgo's svn key... :) [13:50:19] 03(mod) Text change for MediaWiki:Clearyourcache - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12517 (10innocentkiller) [13:52:38] 03nad * r35860 10/trunk/extensions/TreeAndMenu/TreeAndMenu.php: 1.0.2 - parse root node as wikitext [13:57:19] 03nad * r35861 10/trunk/extensions/TreeAndMenu/TreeAndMenu.php: oops, remove old lines [13:59:14] hi!!! i'm developing an extension that has to send an e-mail when a user reach a certain number of edit, but i don't know how is the code to send mail.. someone can help me in thia way? [14:00:20] anyone knows how to convert this to a wiki list? # [[]] http://stats.grok.se/ar/top [14:01:59] alnokta: use regular expressions [14:05:23] Is it possible to create a full backup from mediawiki via mediawiki self ? [14:07:17] special:export [14:07:19] :) [14:07:53] maybe i'm dumb but the text says "range of pages" [14:08:06] and docs aren't clear on how to export "all" [14:08:13] Do i get articles, revisions, and media from there [14:08:19] Xiong: no way [14:08:38] Use dumpBackup.php [14:08:50] well right now i'm using what the host provides [14:08:53] dumpBackup give articles and revisions no media [14:09:10] or users [14:09:14] i can dump everything in my account, the DB itself, the document tree [14:09:38] don't know how well that would work, importing in to a fresh install of MW [14:09:53] but okay for a complete restore of the current install [14:10:17] host has its own control panel thingumy for backing up [14:11:00] there is exactly one niche unfilled [14:11:27] and that is Special:Dump the whole bloody wiki in an install-neutral format [14:11:58] and for convenience's sake, yes, Import on that same page [14:12:18] You got my vote :) [14:12:29] we're not alone [14:12:35] friend [14:21:49] nobody helps me on email function? thanks [14:24:15] Rave21: you could use EmailForm if you want to send to one specific user [14:24:26] look in SpecialEmailuser.php [14:26:05] when did api.php?action=query&list=blocks break for range blocks? [14:26:16] [14:27:36] I think http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiQueryBlocks.php?r1=33276&r2=33908 [14:28:53] can we get this fixed then? [14:29:05] it renders my rangeblock-checking tool useless [14:30:23] bryan, i need to send an automatic mail like "Congratulations you reached 100 edits, bla bla bla".. suggestios? [14:30:48] Rave21: yes use the functinos provided in SpecialEmailUser.php [14:30:50] woo, editcountitis! [14:30:53] *SerajewelKS hides [14:31:08] 03bartek * r35862 10/trunk/extensions/EditSimilar/ (. EditSimilar.i18n.php EditSimilar.php): bringing in a new EditSimilar extension from Wikia [14:31:51] something like (new EmailUserForm( $user, $text, $subject, false ))->doSubmit(); [14:32:17] SerajewelKS: file a bug in bugzilla; I'll probably going to be offline the coming few days [14:37:03] 03(NEW) API block query no longer accepts CIDR - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14405 major; normal; MediaWiki: API; (cdhowie) [14:37:07] https://bugzilla.wikimedia.org/show_bug.cgi?id=14405 [14:37:14] *SerajewelKS pats wikibugs [14:58:28] VasilievVV, could you help ? i get messed up text in np++ [14:58:57] 03siebrand * r35863 10/trunk/extensions/EditSimilar/ (EditSimilar.i18n.php EditSimilar.php): [14:58:57] * updates to messages for consistency [14:58:57] * indentation and consistency fixes [14:59:16] alnokta: Ctrl+Z? [14:59:18] Change encoding? [15:00:06] VasilievVV, not encoding , i cannot make a regex [15:03:31] is there a way to link to parent page in the wiki syntax? ie. i have SomePage and SomePage/Foo and I want to add link to Foo without explicit linking [15:04:03] you mean you want to link to SomePage? [15:04:45] just write "/Foo"? [15:05:21] i know /Foo works in SomePage [15:05:31] but the other way around? [15:05:34] just wondering if there's some way to it otherway around [15:05:36] yeah [15:05:57] hm, I dunno [15:06:29] alnokta: \d+]+>([^<]+)(\d+) => # \1 \2 [15:07:28] bebraw: The wiki does it in some ways, so I reckon it must be possible [15:07:59] if you are, for exampel, in your sandput, it will give you a link to your user page in the top [15:08:25] EivindJ, alright. it's not a big issue. i can manage with explicit links :) [15:08:41] so there is some function there ... [15:08:46] Ok :) [15:08:57] I wouldn't figure it out anyways [15:09:24] *mogra crais.... [15:09:39] question: The parser function #expr: ... is that something one must install on one's own wiki? [15:09:40] The company installed Sharepoint Wiki... [15:09:42] :( [15:10:35] i resolved the problem for sending mail (thanks to Bryan).. now i've a question: is possible to send an attachment with the mail? [15:10:51] probably if you hack the backend functions [15:11:08] you need to encode the message in base64 and create a multipart message... not nice [15:11:15] VasilievVV, thank you. when applying this to html src, not working, wouldn't it be easier if it is applied to what you get when you copy the page to a text file? it is like that 989 أبو جعفر المنصور 1850 [15:12:07] I copied from "View source" to np++ [15:12:08] The parser function #expr: won't work on my wiki :S [15:23:43] VasilievVV, # خاص:بحث 972202 <--output [15:24:20] Yes [15:26:56] VasilievVV, thanks, just added [[]] around \1 :) [15:32:05] 03(NEW) Some long pages are broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14406 normal; normal; Wikimedia: General/Unknown; (conrad.irwin) [15:34:12] 03(mod) Some long pages are broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14406 (10conrad.irwin) [15:46:34] 03yaron * r35864 10/trunk/extensions/SemanticForms/includes/SF_FormInputs.inc: Replaced '$this' calls with static 'SFFormInputs' calls [15:53:22] 03(NEW) Centralauth forgot Wikispecies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14407 minor; normal; Wikimedia: General/Unknown; (andrewcleung) [15:54:15] wikispecies? does that still exist? [15:55:01] flyingparchment: yes [15:55:10] that was a rhetorical question [15:55:15] specieswiki_p [15:55:29] sorry, haven't understood [15:57:40] brion, thanks! [15:58:02] it shouldn't need a separate cookie if there's already a wikimedia.org cook [15:58:05] maybe tim did something funky [15:58:11] brion: no [15:58:28] iirc Tim removed *.wikimedia.org because of Toolserver [15:59:06] you mean timbot? [15:59:52] AaronSchulz: Tim Starling is not a bot, or we had all our bugs fixed or wontfixed :) [16:05:00] 03mkroetzsch * r35865 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_DataValueFactory.php SMW_GlobalFunctions.php): relabelling of new constant, add SUBCLASS_OF relations from parserOutput [16:05:59] 03mkroetzsch * r35866 10/trunk/extensions/SemanticMediaWiki/includes/storage/ (SMW_SQLStore2.php SMW_SQLStore2_Queries.php): [16:05:59] update for new storage engine: full support for category and property hierarchies in queries; new store [16:05:59] almost ready now ... [16:22:51] 03(mod) php5 segfaults for refreshLinks.php and dumpHTML.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14257 (10j.schauer) [16:26:56] i now added a proper gdb trace [16:27:03] it looks very interesting [16:27:10] !bug 14257 [16:27:10] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=14257 [16:27:25] could it be that my nesting level is still too low? [16:34:58] i changed my cat sorting rules. i define them in localsettings. but i have an charset problem telling it | > u| | > e| etc. atm is sorted as ae, as ue etc. what is the best way to do so? [16:38:52] i mean i could tell it ü > u or ü > u but what is the correct way? [16:39:36] ** or Unicode indexes like 00E0 [16:41:34] <^demon|powerfail> Power failures at work are always fun... [16:45:55] nobody? [16:49:14] MONK3000: i guess that's up to you and your custom code which you've created, so nobody else can possibly guess how it works [16:49:48] '/[]/' => 'u', in localsettings makes = ü in table categorysort [16:56:44] 03brion * r35867 10/trunk/phase3/ (RELEASE-NOTES includes/DefaultSettings.php includes/User.php): (log message trimmed) [16:56:44] Revert r35857, 35858, 35859 for the moment. Some notes: [16:56:44] * Calling $user->isActiveUser() looks a bit redundant. :) Consider either shortening it to isActive() or changing the last word to be clearer, say $user->isActiveEditor() [16:56:44] * $wgActiveUserEditcount <- consider fully casing here; "editcount" isn't a word. :D -> $wgActiveUserEditCount [16:56:47] * $oldTime is dumped into SQL without any escaping or quoting. This will happen [16:56:49] to work on MySQL but will fail on PostgreSQL, and is generally a bad practice. [16:56:51] Use addQuotes() to ensure the formatted timestamp string is escaped and quoted [17:02:12] <^demon> Ah, gives me something to work on now, given the power issues at work. [17:02:21] <^demon> Half the servers are still down. [17:10:58] 03(mod) Text change for MediaWiki:Clearyourcache - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12517 (10s.vanslyck) [17:11:05] 03(mod) password on automatic created accounts does not work after sul deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14330 (10brion) [17:11:22] 03(mod) Unified Login: Accounts were attached yesterday, but today they are unattached - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14309 (10brion) [17:11:37] 03(mod) Can't delete images with postgres backend - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14337 (10brion) [17:12:17] 03(mod) SpecialUserlogin:: onCookieRedirectCheck misses obscure case when using CentralAuth - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14347 (10brion) [17:13:33] 03ialex * r35868 10/trunk/extensions/Configure/ (CHANGELOG Configure.php Configure.settings.php): Added $wgSpecialVersionShowHooks [17:13:49] brion: everything is old in the internet world it seems ;0 [17:18:15] 03(mod) Hotkeys in Safari Mac - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14401 +need-review +patch (10raimond.spekking) [17:18:27] 03(mod) Error while loading a spanish database dump with mwdumper - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14379 (10brion) [17:19:21] 03(mod) Activate Extension:NewUserMessage on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14400 +shell (10raimond.spekking) [17:20:23] 03(mod) Centralauth forgot Wikispecies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14407 +shell (10raimond.spekking) [17:22:08] 03(mod) New #lastedit parserfunction - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14384 (10brion) [17:25:41] 03(mod) Database prefixes not added - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14392 (10brion) [17:29:49] I want to change the catorder and changed the code so that i can define own rules. eg '/[]/' => 'a', but when i look at table categorylinks i see that is changed to ä in cl_to and aa in cl_sortkey. any idea how i need to define the special chars so it works? [17:30:39] MONK3000: use the 'u' format modifier on your regex [17:30:52] /[àáâãäå]/u [17:31:19] without that it doesn't know you're using utf-8 and matches every individual byte of your characters, hence the 'aa' instead of 'a' [17:31:41] so adding /u behind it? '//u' => 'ss', ? [17:31:43] the 'ä' is due to the way you're connected to mysql [17:31:58] don't worry about that one for now :) [17:32:01] but it also doesn't sort correctly ;) [17:32:19] then i guess you're screwed :D [17:32:48] *Charitwo wonders where tim snuck off to [17:33:31] 14(INVALID) New Special:SpecialPages layout issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14394 +comment (10brion) [17:33:50] 04(REOPENED) $wgRateLimitsExcludedGroups should be replaced by 'noratelimits ' right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12859 +comment (10brion) [17:34:05] probably bed, Charitwo... it's 3:30am [17:34:22] oh bother [17:34:41] ok thanks anyway [17:35:29] nothing too pressing, just looking for a local boredvote wiki sysop to delete an off topic page :) [17:37:01] 14(DUP) Can't delete images with postgres backend - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14337 +comment (10greg) [17:37:08] 03(mod) IF () calls do not work for Postgres - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11598 +comment (10greg) [17:37:49] 03(mod) automatic created accounts do not appear as conflict when trying to remerge after unmerge - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14403 (10brion) [17:40:20] I have two wiki's and I use the autoauth hook to log them in. After my checks to make sure they're really them I use $user->setName($username) and $user->setId($user->idForName()); this works all fine and they can work normally on wiki1; however, when they go to wiki2 and try to edit they get session errors. Is there anything else I should be doing besides setName and setId? or should I be using something else to log them in? [17:46:44] Hi, I got a problem configuring a family of wikis, when I loads the virtual directories (createad as softlinks, as explains in http://www.steverumberg.com/wiki/index.php?title=WikiHelp_-_Method_Two) it returns a 500 error (Internal Server Error) loged as "Premature end of script headers" [17:46:52] Someone can help me? [17:47:31] Check the error logs and find the real error. [17:48:10] I think it's a permissons problem, the softlink has a 0777, but I can't change it, only the original file [17:49:01] hi [17:49:07] I am unable to save pages on wikipedia [17:50:01] How can I change the permissons of the softlink (the original file has 0577 and the softlink 0777) [17:50:56] 03siebrand * r35869 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): [17:50:56] * add support for EditSimilar [17:50:56] * add TorBlock to WMF extensions [17:50:56] * align $wgTranslateAC [17:52:08] any update on this? [17:52:26] I get stuck with the &action=submit form [17:55:29] 03brion * r35870 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialMovepage.php): * (bug 14386) Fix subpage namespace oddity when moving a talk page [17:55:54] Anyone can helpme? In the error log says "Premature end of script headers", but it's not a script problem (the original works, the softlink don't). [17:56:01] ... [17:56:03] lrwxrwxrwx 1 user user 24 Jun 4 14:39 wiki.phtml -> ../../wikisrc/wiki.phtml* [17:56:04] [~/www/cultural/wiki]# chmod 0755 * -R [17:56:06] [~/www/cultural/wiki]# ls -l [17:56:07] ... [17:56:09] lrwxrwxrwx 1 user user 24 Jun 4 14:39 wiki.phtml -> ../../wikisrc/wiki.phtml* [17:56:10] [~/www/cultural/wiki]#ls -l ../../wikisrc [17:56:13] ... [17:56:13] -rwxr-xr-x 1 user user 88 Mar 20 19:09 wiki.phtml* [17:56:16] [~/www/cultural/wiki]#chmod 0777 wiki.phtml [17:56:17] [~/www/cultural/wiki]#ls -l ../../wikisrc [17:56:18] ... [17:56:20] -rwxrwxrwx 1 user user 88 Mar 20 19:09 wiki.phtml* [17:56:27] Eloy_SL: pastebin [17:56:34] How can I change the permissons of the softlink to 0755 [17:56:35] ?? [17:56:57] Eloy_SL: please dont paste large amounts of text to the channel, use something like http://rafb.net/paste/ listed in the /topic [17:57:06] 03(FIXED) "Move subpages" option moves pages into wrong namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14386 +comment (10brion) [17:57:13] you dont set permissions of softlinks [17:57:19] you set the permissions of the files they point to [17:57:22] iirc [18:02:41] recursiveTagParse doesn't work anywhere near how i would expect it to [18:04:13] it seems to only recurse to the first hook tag it encounters, then completly back back out [18:06:03] Hi, I have some trouble upgrading from 1.6 to 1.12 [18:06:59] I get the error message: 1146: Table 'xxxx.page_restrictions' doesn't exist (localhost). [18:07:08] (xxxx being my db) [18:07:54] 03(mod) Special:UncategorizedPages at English Wikibooks is missing M-Z - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14170 (10raimond.spekking) [18:07:55] hi [18:08:16] <^demon> brion: The issue with database prefixes is on trunk. [18:08:41] who knows something about the directories mw uses? Please reply at http://www.mediawiki.org/wiki/Project:Forum#Directories [18:09:02] (host decided to upgrade PhP to 5) [18:09:48] Guido: did you run update.php [18:09:48] ? [18:09:52] yes [18:10:30] this table should be added with that script... [18:10:48] that is, I hope it ran, it's sever-side [18:10:51] If I want to auto authenticate a user is there a specific function I should be using? At the moment I'm just using $user->setName() and $user->setId($user->idForName()) [18:10:52] server-side [18:11:46] what do you mean hope it ran? you run it from the console, so you should know or not wether or not it ran. [18:12:24] I don't know how to know that it ran [18:12:51] I riht-clicked on the file and ordered execute [18:13:26] and no output ? [18:13:44] what happaned was that the php file was opened [18:14:00] no output on my screen [18:14:45] I am trying to create a template similar to Template:Infobox_Software but I am having an extremely difficult time figuring out the syntax. Is it better to use that format or can I just write CSS straight into the Template? [18:16:19] bye bye [18:16:21] Could it be a lack of permission? [18:22:30] Maxed chmod, no difference [18:26:35] BradJ[work] : if you find it easier, write css.. but note that there are a small amount of css stuff that won't work.. such as background-image for instance. [18:26:59] In short, it appears that I am unable to actually run update.php [18:27:55] 03ialex * r35871 10/trunk/phase3/languages/messages/MessagesEn.php: Changing the url of job queue documentation to http://www.mediawiki.org/wiki/Manual:Job_queue [18:28:30] ör [18:28:40] ialex: better yet, why not to put it into a variable [18:29:42] Nikerabbit: it shouldn't change often [18:30:20] ialex: well.. it did [18:30:46] didn't Simetrical have a good word on mixing linguistic and non-linguistic content :o [18:31:13] only pro to keep it is that translatos can change it to point directly to the localised version... [18:32:13] Anyone? [18:33:14] Anyone have any idea why CategoryTree can't seem to find any category I pass to it? For example, if I use the tag: Hosts, I receive Category Hosts not found... even though the Hosts category exists and is populated with pages [18:33:37] Guido: ugh.. can you run any command line php program? [18:35:05] Yes, but I don't need to run it on my pc, it needs to run on the server [18:35:12] at the host [18:35:44] what? [18:35:53] AFAIK [18:36:08] MAybe I;m wrong [18:36:23] Guido: On the server itself... can you run any command line php program? [18:36:27] No [18:36:40] I thought I could, but it doesn't work [18:37:04] What would be the normal way to do this? [18:37:59] to do... what? [18:38:01] I tried right-clicking on the file and then ordering execute [18:38:20] To run update.php [18:39:10] Or do I need to enter the url? [18:39:21] 03rotem * r35872 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [18:39:40] uhhuh [18:39:40] Guido: it doesn't work with web interafce [18:40:32] So how does it work (url failed) [18:40:55] flyingparchment: what is the TS fingerprint? [18:40:55] Guido: by running it from a shell [18:41:07] AaronSchulz: fingerprint of what? [18:41:14] Can I create a shell? [18:41:26] Guido: What operating system are you using? [18:41:26] host public key [18:41:32] AaronSchulz: ssh? [18:41:34] Guido: or you can re-run config/index.php [18:41:43] flyingparchment: yeah, I'm logging into the new domain [18:41:48] since it said not to use the old one [18:41:53] I need to keep the existing database [18:42:14] Guido: yes, it can also update the datbase :) [18:42:17] AaronSchulz: you can just copy the known_hosts entry from the old one. but: dsa 5e:fb:e7:61:99:77:f2:3e:02:07:f4:ee:94:a5:95:8c, rsa a9:59:82:a6:63:46:65:07:f9:08:0b:51:2e:21:52:b7 [18:42:37] ok, so I need to ditch the LocalSettings then? [18:42:48] Guido: just change its name [18:43:05] Thanks, I'll give it a try [18:43:47] and enter the same things you entred the first time, especially database config [18:44:08] Do I keep the AdminSettings.php? [18:44:15] flyingparchment: what is this "xikag-..." stuff? [18:44:51] Guido: http://www.mediawiki.org/wiki/Manual:Upgrading#Alternative_2:_Re-run_the_installer [18:46:00] brb [18:46:29] ahh [18:53:43] 03ashley * r35873 10/trunk/extensions/EditSimilar/ (EditSimilar.i18n.php EditSimilar.php): [18:53:43] EditSimilar: [18:53:43] *standard coding style [18:53:43] *remove some unused globals [18:53:43] *tweak extension credits [18:53:44] *add Finnish i18n [18:54:47] 03(mod) Centralauth forgot Wikispecies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14407 (10danny_b) [18:58:08] I'm installing a wiki family (using this tutorial: http://www.steverumberg.com/wiki/index.php?title=WikiHelp_-_Method_Two) and the virtual wikis gives me the error 500. [18:58:09] In the error log only says "Premature end of script headers" [18:58:22] I get access denied for the database user [19:00:32] The files are ok (the original version runs ok, and in SSH runs ok), but when I load it trought html (using subdomain or subdirectory) gives me the error [19:00:39] anyone can help me? [19:04:25] Before running 1.12 insists on the prefix, after running it does the opposite [19:06:26] And the update.php still won;t run [19:17:04] is Extension:AutomaticREMOTE_USER the best way to trust the authentication from apache basic auth? [19:26:37] I am working on a page that has several sections. However, I am not getting the table of contents. I have each section header like "== Header ==" but don't know why I don't get the contents. Why? [19:27:21] is there more than four? is there __NOTOC__ somewhere? [19:27:37] Check your preferences under 'Misc' to make sure you have ToC's turned on [19:30:39] tekmosis: ToCs show up on other pages and I can't see that they have anything special other than the "== Header ==" format. [19:31:27] Nikerabbit: I have three sections so far on the page in question. [19:31:33] Nikerabbit's suggestion is the most likely case in this scenario, then either there isn't enough headers to trigger a TOC or there's a __NOTOC__ [19:31:56] try adding another header, do a preview and see if the TOC comes up with the fourth new header [19:31:58] So I have to have 4+ sections? [19:33:05] yea, you need 4 or more for the TOC to show up [19:33:28] or __TOC__ :o [19:34:03] Yep, adding the fourth section triggered the ToC. Thanks! [19:39:17] __TOC__ is sufficient? I thought you need __FORCETOC__ ? [19:41:29] 03siebrand * r35874 10/trunk/extensions/EditSimilar/ (EditSimilar.i18n.php EditSimilar.php): Add descriptionmsg and bump version [19:42:17] 03siebrand * r35875 10/trunk/extensions/EditSimilar/EditSimilar.i18n.php: Fix syntax error [19:44:05] __TOC__ only specifies where the TOC should be placed, so __FORCETOC__ is needed if you want to have the TOC with less than 4 sections. [19:46:31] 03vasilievvv * r35876 10/trunk/extensions/CentralAuth/CentralAuthPlugin.php: [19:46:31] * (bug 14403) automatic created accounts do not appear as conflict when trying to remerge after unmerge [19:46:31] May also require rebuilding localnames table on Wikimedia [19:47:34] Hello [19:47:48] I would like toknow which wikipedia dump has the 'category' table in it [19:48:32] norton: there is no such table. [19:48:51] norton: do you want the category pages, or the information about which pages are in which category? [19:48:52] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/tables.sql?view=markup [19:49:00] it's listed in that page [19:50:04] I want to know which categories are hidden [19:50:10] norton: huh, you got me there. it must be very new then (i'm a bit out of the loop). It's likely thjat it's not dumped yet. [19:50:36] 03(FIXED) automatic created accounts do not appear as conflict when trying to remerge after unmerge - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14403 +comment (10vasilvv) [19:50:44] norton: http://en.wikipedia.org/wiki/Category:Hidden_categories [19:51:00] ialex: but that's only per convention, right? [19:51:08] Duesentrieb: no, automatic [19:51:09] ialex: and not on all wikis? [19:51:26] hm? really? how does that work? sounds...confusing [19:51:39] VasilievVV|Devel: + $cental->addLocalName( wfWikiID() ); [19:51:40] ialex: if you add __HIDDENCAT__, it gets categorized? [19:51:46] Duesentrieb: yes [19:51:50] o_O [19:51:54] wtf? [19:51:57] looks like a type: "cental" w/o "r [19:52:18] that does seem like an extremly bad idea. but whatever. [19:53:14] Duesentrieb: Parser.php, lines 3368-3377 [19:55:43] *Duesentrieb cries [19:55:46] why oh why? [19:58:36] Would upgrading to MediaWiki 1.12 work if I download the database, do it all locally and then upload the lot? [20:00:16] If I auto authenticate users based on a 3rd party cookie (my own sites, not mediawiki's) and using the AutoAuthentication hook, after validating them would this be the correct steps to logging them in?: http://rafb.net/p/wlOIow62.html [20:08:09] 03demon * r35877 10/trunk/phase3/ (RELEASE-NOTES includes/DefaultSettings.php includes/User.php): Recommitting User::isActiveUser() as User::isActiveEditor() per suggestions from Brion. [20:13:44] Would upgrading to MediaWiki 1.12 work if I download the database, do it all locally and then upload the lot? [20:14:08] 03siebrand * r35878 10/trunk/phase3/languages/messages/ (227 files): [20:14:08] Localisation updates for core messages from Betawiki (2008-06-04 21:52 CEST) [20:14:08] * additionally processed r35871 for remaining localisations (documentation moved from meta: to mediawiki:) [20:14:08] * rebuilt all language files [20:14:10] Getting desperate [20:14:31] \o/ siebrand :) [20:16:57] Guido_live: what's the problem? [20:19:39] Guido_live: it should work. though problems may arise in transferring the data. [20:20:49] update.php won't run on the host [20:21:37] installing new ('alternative 2') doesn't work either [20:22:16] (it won't recognize the db-user) [20:23:23] 03siebrand * r35879 10/trunk/extensions/ (77 files in 73 dirs): Localisation updates for extension messages from Betawiki (2008-06-04 21:52 CEST) [20:24:36] Duesentrieb: what kind of problems? [20:25:10] Guido_live: messed up encoding (during export, import or transfer), or timeouts (if you use http for uploading) [20:25:33] I'm using WS_FTPLE [20:25:33] if you use ftp, make sure it's in binary mode [20:25:54] for dumping the database, see the backup instructions for dealing with mysql's charset quirks [20:25:54] (is in binary mode) [20:25:56] !backup [20:25:56] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [20:26:13] but generally, yea, it should work. [20:29:09] ok, thanks [20:29:49] 03vasilievvv * r35880 10/trunk/extensions/CentralAuth/CentralAuthPlugin.php: [20:29:49] * Change user local password to a global one on login and account autocreation. Fixes bug: [20:29:49] ** (bug 14330) Password on automatic created accounts does not work after SUL deletion [20:31:00] 03(FIXED) password on automatic created accounts does not work after sul deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14330 +comment (10vasilvv) [20:31:22] 03siebrand * r35881 10/trunk/extensions/ (10 files in 10 dirs): Localisation updates. Move some messages from 'ku' to 'ku-latn' (remove duplicate/outdated/obsolete) [20:32:46] ^demon: any reason to round the cutoff time out to the previous UTC midnight? in isActiveEditor()? [20:33:03] hi bri [20:33:04] VasilievVV|Devel: + $cental->addLocalName( wfWikiID() ); "cental" looks like a typo [20:34:11] heh [20:34:47] <^demon> brion: No /particular/ reason. I borrowed that from Recentchanges. [20:36:41] Raymond_: omg [20:36:54] no.wikipedia: Is there any way to make an image a link - we are using a tiny coat of arms on some road-number-templates, and want the image to link to the same article as the rest of the (tiny) template [20:37:03] I use two seperate working copies to fix CA bugs [20:38:17] 03vasilievvv * r35882 10/trunk/extensions/CentralAuth/CentralAuthPlugin.php: I'm not a Tim Starling, so developing at 0:00 AM is a bad idea. [20:38:40] <^demon> brion: Also, when you've got spare time (this is purely spare-time material, don't even think about it if you're busy :-P), I posted a link on [[mw:Talk:Wikipedia_data_size_test]] that may or may not be of some use for the animated gif issue. [20:39:15] VasilievVV|Devel: :D [20:39:35] what would be the most efficient way to create a list of pages without an interlanguage link? i wrote a script that does it using an XML dump, but on larger Wikipedias it takes hours [20:39:49] (you can see the source here: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Interlanguage_Links/Ideas_from_the_Hebrew_Wikipedia/prepare_noiw_list.pl ) [20:39:50] even if I wake up at 12:30 :) [20:40:01] <^demon> aharoni: [[Special:Withoutinterwiki]]? [20:40:18] ^demon: on the linked page i saw something for checking whether a gif was animated or not; might come in handy for doing conversions or something, dunno? [20:40:33] Special:Withoutinterwiki is usually limited for several thousand pages [20:40:39] in practice there are many more such pages [20:40:41] aharoni: you'd want the list of page titles and the sql dump of interwiki links [20:41:15] <^demon> brion: Yeah, something like that. Either for detection/conversion or outright blocking, whichever was wanted. [20:41:15] brion: exaclty, today i noticed that thing called langlinks.sql.gz [20:41:30] but i'm not sure what to make of it ... [20:41:59] <^demon> brion: $wgBlockAnimatedGifUpload? Hehe, I'm kidding. [20:42:08] Time to sleep... [20:42:27] INSERT INTO `langlinks` VALUES (161285,'aa',''),(5316,'aa','Abatasa') - this means that page ID 5316 has a link to aa:Abatasa? [20:44:15] brion: domas disabled checks for userCan("read") for public wikis (no whitelist) in 1.12, to boost performance. This breaks a couple of extensions, with no good way to fix them -- would an option like wgStructUserCanChecks be ok to solve this? [20:44:30] stuct? [20:44:39] *struct [20:44:55] Duesentrieb: permissions are additive; if ['*'] is true, there's no need to look further [20:45:02] that's a correct optimization for our permissions model [20:45:25] aharoni: yep [20:45:54] Duesentrieb: this was modified in 1.13 [20:46:22] now hook is performed before that check [20:47:21] !bug 12345 [20:47:21] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=12345 [20:47:26] err. [20:48:09] brion: but permissions for "read" were not checked at all. if there was no whitelist, reading was simply allowed. but ialex said it changed, i'll look [20:48:24] ialex: uh... i thought the point of the optimization was not to run that hook? [20:48:33] well, at least aprtly [20:48:44] *partly [20:49:47] !r 32354 [20:49:47] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=32354 [20:55:05] ialex: thanks for the info, will look into it. [20:55:57] i am interested if $wgParser->setHook can use any parameter for defined element. [20:56:37] and how can i get these parameters on callback. [20:58:24] no.wikipedia: Is there any way to make an image a link - we are using a tiny coat of arms on some road-number-templates, and want the image to link to the same article as the rest of the (tiny) template [20:58:35] 03raymond * r35883 10/trunk/extensions/FCKeditor/fckeditor/editor/lang/ (de-formal.js de.js): Localisation updates German [21:01:53] 03brion * r35884 10/trunk/extensions/CentralAuth/CentralAuthPlugin.php: [21:01:53] Revert r35880 for the moment: [21:01:53] First, it looks like it'll attempt to re-set passwords much more frequently than necessary, and by calling $user->setPassword() it will be re-setting the password on the global account as well. [21:01:53] Second, it can't accomplish the general goal of always setting the local [21:01:54] password for autocreated local accounts, since they may be created when no [21:01:56] plaintext password is available (eg from an open session, which has only session [21:01:58] tokens available, not passwords). [21:03:22] If I auto authenticate users based on a 3rd party cookie (my own sites, not mediawiki's) and using the AutoAuthentication hook, after validating them would this be the correct steps to logging them in?: http://rafb.net/p/wlOIow62.html [21:04:05] any help? [21:11:45] <^demon> Where's the documenation on {{#tag}}? [21:14:03] what makes you think there's documentation? ;) [21:14:33] <^demon> Wishful thinking? [21:15:16] <^demon> I suppose to expect documentation is asking for bug 1 to be fixed? [21:15:26] brion, any insight as to if I'm properly logging users in for the auto auth? Trying to avoid sessions errors between wiki's on second level domains :O [21:16:34] tekmosis: honestly, couldn't say. the auto autnetication stuff is a bit wishy-washy and has recently changed entirely, iirc [21:17:38] brion: whats the link for the configuration setting that allows upload of other file types? [21:18:11] can somebody help me, if is possible to use with setHook in $wgParser and access parameters in callbac function? [21:18:24] Are there anything in particular I should be running, though? I use setName, setId, setToken, SetupSession and then setCookies (all from the $user obj) [21:18:26] i hope i wrote it clearly. [21:18:35] I'm unsure if that's enough to avoid session errors [21:19:19] tekmosis: whats the link for the configuration setting that allows upload of other file types? [21:19:24] Galiman: you'll get the attributes passed to your function as the seconds parameter (or third?) [21:20:04] is anyone going to answer? [21:20:36] Duesentrieb: thx, i found it :).. [21:21:10] Alexfusco5, sorry, I'm not knowledgable on that topic :O [21:21:25] tekmosis: thanks [21:21:43] !filetypes | Alexfusco5 [21:21:43] --mwbot-- Alexfusco5: http://www.mediawiki.org/wiki/Manual:%24wgFileExtensions [21:22:07] Duesentrieb: thanks :) [21:23:44] hey Splarka [21:33:15] 03demon * r35885 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialUserlogin.php): Fix bug 11771: Signup form now not shown if in read-only mode. [21:33:30] 03(FIXED) Display message on user registration form if database locked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11771 +comment (10innocentkiller) [21:48:50] 03(mod) Category usage counter seems broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14361 (10wikipedia.kawaii.neko) [21:55:11] 03kim * r35886 10/trunk/extensions/Wikidata/util/voctrain/ (10 files in 3 dirs): i18n stage 1, now to actually get users their preferred language at login [21:56:58] aloha! [21:59:40] 03brion * r35887 10/trunk/phase3/languages/messages/MessagesEo.php: Fix regression from 35745 -- extra bogus empty 'thumb' magic word causes parser failures [22:08:01] 03kim * r35888 10/trunk/extensions/Wikidata/util/voctrain/i18n/messages/ (Messages_eng.php Messages_nld.php): +bit more documentation, +complete translation to dutch. [22:16:03] one question :) [22:16:06] Is it possible to integrate wikicalc with other pages of mediawiki? [22:17:05] 03brion * r35889 10/trunk/backup/worker.py: Use the new standardized --wiki=%s param for passing the wiki to command-line scripts. [22:19:26] is there someone to test or use Wikicalc? [22:20:52] wiki calc? Adeene ? [22:21:23] alnokta, hi, yes, wikicalc is a web application [22:22:04] Adeene, i can test [22:23:18] alnokta, I have installed the aplicacion in mediawiki but [22:23:47] I wish to know if wikicalc can integrate with other pages in mediawiki :( [22:24:51] if i use tag hook in parser, what should i use to produce output in the exact point in wikitext? cause $wgOut gave output at first place of article. [22:31:31] wb fire [22:49:59] Heh, I should have known that my "atrocious hack" would cause problems. :) [22:53:18] 03(mod) Allow modification of a block without unblocking - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10080 (10innocentkiller) [23:07:53] 04(REOPENED) password on automatic created accounts does not work after sul deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14330 +comment (10brion) [23:09:25] 03aaron * r35890 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Proper initialization [23:22:04] 03brion * r35891 10/trunk/extensions/CheckUser/install.inc: don't abort all _other_ updates being run just because recentchanges was empty. [23:24:37] 03aaron * r35892 10/trunk/phase3/includes/api/ApiQueryBacklinks.php: Title may come in as an empty string, which is not null, so the previous fails and lets a bad title slip in, which can make errors [23:36:15] 03brion * r35893 10/trunk/phase3/ (includes/DefaultSettings.php skins/monobook/main.css): [23:36:16] Login & signup form float fixes: [23:36:16] * right float for RTL [23:36:16] * clear floats for the post-form text! [23:36:16] The float is only used to get the box to size nicely, as far as I can tell. [23:36:16] There ought to be a nice clean way to get boxes to auto-size nicely without making them tables or floats. [23:36:27] 03kim * r35894 10/trunk/extensions/Wikidata/util/voctrain/ (8 files in 3 dirs): [23:36:27] Added language selection at login. [23:36:27] (Note that this changes the database schema!) [23:38:16] AaronSchulz: "0" is a legitimate title, but evaluates to boolean false [23:38:25] *Simetrical groans [23:38:35] hehe, so it's still lame [23:38:55] brion: I guess newTitle and THEN a null check is in order [23:39:06] "0" really should not be false though [23:39:08] welll [23:39:15] check for != '' to see "is it empty" [23:39:25] but then something should be checking for "is it valid", i hope :) [23:41:33] "0" is false as a consequence of numeric strings and numbers being compatible [23:42:43] one of those php things that saves you a couple seconds semi-frequently, then looses you hours when you go mad trying to find the mystery bug :D [23:43:02] integers and strings really are different things [23:43:20] I know it is weakly typed, but some equivocations should be left alone [23:44:26] 03aaron * r35895 10/trunk/phase3/includes/api/ApiQueryBacklinks.php: '0' is a title [23:45:04] 03kim * r35896 10/trunk/extensions/Wikidata/util/voctrain/i18n/messages/Messages_nld.php: slight tweak [23:45:14] 03simetrical * r35897 10/trunk/phase3/includes/SpecialMovepage.php: (log message trimmed) [23:45:14] Revert r35848 per Brion's WONTFIX of bug 14536: "This would just mean that there's no practical way to move pages with their subpages." [23:45:14] Rate limits should be applied per user action, *not* based on how large the [23:45:14] effect of each action is. Note that moving a page with its talk page only [23:45:16] counts as one move for rate limits; this is the same principle. The only point [23:45:18] of rate limits (as far as I can think of) is to prevent unauthorized automated [23:45:20] scripts from creating a mess in 30 seconds that it will take 10 hours to clean [23:45:49] ah, nice call [23:47:12] Which, r35897? [23:47:47] yeah [23:48:51] 03kim * r35898 10/trunk/extensions/Wikidata/util/voctrain/i18n/messages/Messages_nld.php.old: No longer needed [23:48:53] AaronSchulz: 35895 will show "missingparam" error when 'title' param is provided but invalid [23:50:32] http://www.theonion.com/content/news/liberty_city_police_face [23:50:51] Werdna: poke [23:51:00] grr [23:52:41] brion: why does it have two checks? [23:52:48] ugh [23:53:52] 03(NEW) No more working redirection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14408 15enhancement; normal; Wikimedia: DNS; (arno.raymond.lagrange) [23:55:14] wait, there is was no validity check [23:55:31] brion: hehe, so if I don't validate there it still dies on 111 [23:56:11] ok, an error message tweak will do then [23:59:51] 03(mod) No more working redirection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14408 (10brion)