[00:04:54] 03(mod) Static HTML dumps for non-Wikipedia projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15017 +comment (10siebrand) [00:07:22] 03(mod) Mailing list for Malayalam projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15012 (10siebrand) [00:12:10] 03(mod) Redirect images not subject to Bad image list rules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15008 -easy ; +comment (10siebrand) [00:12:44] what is a good use of the rss feeds? [00:13:55] 03(mod) Enable FlaggedRevs custom configuration on Russian Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15006 +comment (10siebrand) [00:15:22] 03(mod) Enable FlaggedRevs custom configuration on Russian Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15006 +comment (10JSchulz_4587) [00:17:51] 03(mod) Redering display issues for commons and meta on Firefox/Linux - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15005 +comment (10siebrand) [00:20:00] AaronSchulz: damn that URL field. I always miss that. [00:20:19] that happened to me last time :) [00:23:19] 03(mod) Create a set of special pages for handle meta-organization of books - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15073 (10mike.lifeguard) [00:25:43] 03shinjiman * r39110 10/ (8 files in 4 dirs): [00:25:43] Update the Chinese conversion tables [00:25:43] Last minute changes for the release branch 1.13 [00:29:40] AaronSchulz, hm, this solution doesn't really work: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php?r1=39097&r2=39096&pathrev=39097 [00:30:39] because when short comments are off, wpReason isn't even submitted in $_POST, so $form->comment never get's set at all [00:30:52] should be initialized [00:31:00] 03aaron * r39111 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: $comment should be initialized [00:31:18] wow, that was fast [00:31:20] *AaronSchulz thought that was already [00:32:10] 03(mod) Redering display issues for commons and meta on Firefox/Linux - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15005 +comment (10kbblogger) [00:32:10] looking at 15106 now [00:32:53] 03(mod) Page moves no longer work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15107 (10wikipedia.kawaii.neko) [00:34:43] brion-away can you look at bug #15107 please? [00:35:01] page moves seem to be disabled on english wikipedia [00:35:32] 03(mod) Page moves no longer work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15107 (10JSchulz_4587) [00:37:14] 03(mod) Page moves no longer work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15107 (10wikipedia.kawaii.neko) [00:49:42] 03(mod) Page moves no longer work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15107 +comment (10cbrown1023) [00:50:07] 03(mod) Page moves no longer work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15107 (10brion) [00:52:48] 03(mod) Page moves no longer work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15107 (10wikipedia.kawaii.neko) [00:54:25] 03(mod) wikibits includes nonexistent stylesheet, KHTMLfixes.css - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14717 (10brion) [00:57:07] 03(mod) Page moves no longer work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15107 (10wmbugzilla) [00:58:27] *qsheets goes over to a dark corner and hides hides from wikibugs [00:59:55] 03(mod) Static HTML dumps for non-Wikipedia projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15017 +comment (10brion) [01:01:19] 03river * r39112 10/trunk/extensions/AbuseFilter/parser_native/ (8 files in 2 dirs): change from double/float to GMP arbitrary precision types. as well as increased range, this means '1.3 + 20' no longer evaluates to '21.300000000000001' [01:03:06] 04(REOPENED) Link trail uses PHP 5.1 only feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15035 +comment (10brion) [01:04:03] 03river * r39113 10/trunk/extensions/AbuseFilter/parser_native/README: add note that gmp is required [01:10:49] 03(mod) Bad regexes make the at least some of the blacklist get ignored - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15099 (10brion) [01:32:51] 03brion * r39114 10/trunk/extensions/SpamBlacklist/SpamBlacklist_body.php: [01:32:51] * (bug 15099) Bad regexes make the at least some of the blacklist get ignored [01:32:51] Lines with "\" at the end would silently break both that and the following line in the batch, without triggering the overall parse errors. [01:32:51] Added a specific check for this case to skip the bad lines when building, and to check for them and report a warning during editing. [01:33:06] 03(FIXED) Bad regexes make the at least some of the blacklist get ignored - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15099 +comment (10brion) [02:19:21] how do I change the logo? [02:19:36] I can't find '$wglogo' [02:19:47] You need to add that line [02:19:52] ok [02:19:58] where? [02:20:06] LocalSettings.php [02:20:13] at the bottom, or whereevr? [02:20:18] I know the file [02:20:21] I did that [02:20:34] but then a load of errors came up [02:20:39] such as? [02:20:48] Make sure it's after $wgScriptPath [02:20:53] ok [02:21:01] Im on my iPhone right now [02:21:04] $wgLogo = "${wgScriptPath}/skins/common/images/logo-01.png"; [02:21:05] I can't check [02:21:11] ok [02:21:30] pointing to your logo [02:23:56] which channel has a lot of people? [02:24:10] I can't use '/list' [02:26:12] #linux ? [02:38:41] is there a bug already for an enhancement to add a mechanism to automatically apply protection to pages transcluded on more than a certain number of pages? [03:27:21] 03(mod) Please add a new namespace in Persian Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15097 (10meno25wiki) [03:31:17] 03(mod) Link to home wiki in Special:GlobalUsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15078 (10meno25wiki) [03:41:49] template coding help please? [03:42:34] in IE section lines are cutting through our infoboxes at the finalfantasy.wikia.com [03:43:12] do the infoboxes have a background color? [03:43:38] can give you a link [03:43:45] http://finalfantasy.wikia.com/wiki/Template:FFTA2_character [03:44:01] bah, just a simple question (can't stand wikia's JS anyway) [03:44:38] well. yes they do. it's white....i think [04:00:39] anyone here [04:01:10] 03aaron * r39115 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: load messages here [04:11:19] 03aaron * r39116 10/branches/REL1_13/extensions/FlaggedRevs/FlaggedRevs.class.php: backport message fix [04:25:43] 03tstarling * r39117 10/branches/REL1_13/phase3/languages/messages/MessagesPl.php: Backport r39063: restore linkTrail [04:30:39] 03(FIXED) Link trail uses PHP 5.1 only feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15035 +comment (10tstarling) [04:36:07] 03tstarling * r39118 10/tags/REL1_13_0RC2/ (3 files in 2 dirs): Tagging for release 1.13.0rc2 [04:39:13] 03krimpet * r39119 10/trunk/phase3/ (includes/Title.php maintenance/Doxyfile): Updated Doxygen docs for Title.php [04:52:32] Hi, how do you choose which page will be the main page? [04:53:39] MediaWiki:Mainpage [04:53:46] what he said [04:54:07] zing... [04:54:14] creates the link to the main page for the logo, the sidebar, by default for no title given, and some other circumstances [04:54:20] ^_^ Always beating people to messages [04:54:34] heh, now to return to more mysterious murders... [04:54:41] same for all languages, unless you add it to http://www.mediawiki.org/wiki/Manual:$wgForceUIMsgAsContentMsg [04:54:50] Thank you [04:55:10] ;) Only the order is the same for all languages [04:55:13] and you can BEANS the undeletability of it by changing that message [04:55:25] If you're smart you use messages which automatically get localized [04:55:27] and if you want more information, you'll have to stab my hecklers for me [04:55:32] *drum riff* [04:55:38] hehe [04:55:39] GET A JOB SPLARKA [04:55:44] heh [04:55:45] that work? [04:56:28] Dan: well, messages in the sidebar used for links aren't in any case, unless they have the forceUI [04:56:46] ^_^ of course, localizing those would be stupid [04:56:50] just about everything that calls 'mainpage' IIRC is not localized unless forced [04:57:17] tell that to Commons [04:57:25] (where it is) [04:58:28] And since feel like saying zing again... if you use - in one of those localized messages, then the item won't show up for that language... heh [04:58:48] This is... SPLARKA!!!!! [04:59:05] commons is uncommon, you download from upload.wikimedia, and static.wikimedia keeps changing [04:59:13] *Meeso kicks OverlordQ down a well [04:59:48] stop kicking people into the pit of death, now really [05:00:31] hmmm... me tosses Splarka a POD to break his fall... [05:00:32] Meet the Spartans? [05:00:44] Meet the Splarkans? [05:00:57] Tim: what is new in rc2? (topic realignment attempt) [05:01:34] * Removed $wgForwardSearchUrl [05:01:34] * Added magic word __STATICREDIRECT__ to suppress the redirect fixer [05:01:34] * Fixed bugs 14907, 14966, 14987, 13376, 14904, 15035 and 14944. [05:02:02] Splarka: ^_^ They also removed my magical use of unicode inside the linktrails... heh [05:02:14] yeah, sorry about that [05:02:17] heh [05:02:40] I was going to say "let's just wait until more people are using PCRE 5" [05:02:46] but you know when PCRE 5 came out? [05:02:48] I heard it caused regression? [05:02:50] 2004 [05:02:51] heh [05:02:55] heh [05:02:56] ouch [05:03:37] What's the next step... store a long verbose array of all unicode letters inside of the code so it'll work? ;) I believe we do similar things elsewhere, heh... [05:04:26] Rule #59 of MW programming: If you don't like the way a core feature works... Reimplement it in PHP! zing... [05:05:25] have we tested MW in PHP 6 yet? ;) [05:05:27] s/core/php/ [05:05:51] Krimpet: There are plenty of 5.3 fixes being committed [05:06:00] Those are basically the same as any PHP6 ones [05:06:17] Also the issue of the Namespace class was solved awhile ago (It's MWNamespace now) [05:06:19] ah, yeah, I've seen a few of those fixes coming in [05:07:12] ^_^ I'd run an instance of MW with PHP6 for fun... but last time I tried compiling PHP on my own... well... that just didn't work out... [05:07:22] Heh, despite working on it for weeks [05:07:43] T_T Then again, I have the same issue with trying to get a mailserver working [05:08:18] Dantman|FS: did you check that linkTrail feature for compatibility with chinese, japanese and thai? [05:08:40] You remember poking me? [05:08:55] I coppied some stuff from the japanese WP and it didn't break anything [05:08:56] I guess Unicode will be the hairiest part of PHP 6 compatibility? [05:09:15] since MW uses Unicode throughout, but has its own ways of doing it [05:09:21] but the CJT characters all have the letter property [05:09:23] ^_^ You know, we could always do a full testcase on it [05:10:22] On another note... [05:10:37] [[Link|Display text]] anyone? heh... [05:11:33] why do you need to test it? don't you know how it works already? [05:12:36] ^_^ I'm English, I know it works... I see no issues when I throw in other languages... ;) But I'm no linquist [05:13:04] ooohhh... test engine, heh... [05:13:40] parse a few hundred random pages of different language WP's with both formats, and see if any show up different [05:13:51] And if it's a broken way they do [05:14:02] [[Link|Display text]] anyone? [05:14:08] I am happy to say that was my first stabbing [05:14:14] asking Rob about that, like 3 years ago [05:14:16] heh... [05:14:29] I'm using that syntax in one of my own projects... [05:14:34] it was right after query strings were allowed via articlepath [05:14:57] [[FooBar|edit me]] [05:15:18] Actually on that note... [05:15:29] ;) [[Special:EditPage/FooBar]] ? [05:15:58] skip action paths and go straight to action heat-death-of-the-universe [05:16:01] We have things like Special:MyPage, why not a shortcut for one of the most used uses of a local [] [05:16:07] Hi, I am trying to migrate and upgrade the old mediawiki. the old mediawiki is using charset=latin1. I think binary charset is the recommended charset and is better. is that possible to change the charset during upgrade? I checked mysqldump sql file. maybe I can edit the sql file manually by vim? [05:16:22] well, something that would be useful for that is a scriptpath 302er [05:16:38] Special:Script/api.php?foobar to -> /w/api.php?foobar [05:16:43] &action=api ^_^ ? [05:16:44] same for index.php, thumb.php [05:16:48] oh right [05:16:56] :/ They use action= as well [05:17:03] that way you could use them via interwiki without needing to refactor interwiki tables [05:17:15] &action=api&query=urlencodedquery [05:17:25] ew, well, yah, whichever [05:17:46] > print preg_match('/^(\p{L&}+)(.*)$/usD', '???') [05:17:46] 0 [05:17:48] Well... I suppose you could just rewrite a &apiaction= into an &action= [05:17:54] > print preg_match('/^(\p{Lo}+)(.*)$/usD', '???') [05:17:55] 1 [05:18:10] hm? [05:18:38] "Note: The term "L&" is used to stand for Uppercase, Lowercase or Titlecase letters (Lu, Ll, or Lt) in comments. The LC value in PropertyValueAliases.txt also stands for Uppercase, Lowercase or Titlecase letters" [05:19:05] CJT are Lo, so they're not L& [05:19:37] ^_^ Well, then I guess that's why things never broke... heh [05:21:30] any ideas to change the charset from latin1 to binary during migration? [05:22:08] first of all, is that possible? [05:23:23] run it through iconv? [05:23:33] ^_^ oh right... I did something evil... perhaps I should show Tim [05:24:01] for penance or blackmail? [05:24:07] heh [05:26:46] *Werdna waves [05:26:52] hmmm... need to iron out a few bugs [05:27:06] syli725: yes, I think it's just an ALTER TABLE [05:27:15] well, several ALTER TABLE's [05:27:17] ^_^ though, here's a scary topic... [05:28:22] Tim, guess what...... you remember your Parser rewrite, the whole preprocessor thing.... heh... you made it possible to make looping functions work with nested parser functions... and they can even access the variables of the templates they are inside of and do scary things with them..... buahahahaha [05:28:48] that's nice [05:28:56] heh [05:29:08] syli725: try it first with a single table... [05:29:17] ALTER TABLE page DEFAULT CHARSET=binary; [05:29:27] if that works, use SHOW TABLES to get a list of all tables [05:29:38] then use a text editor to make ALTER TABLE statements for each one [05:29:56] then run the whole list of queries with the mysql command line client [05:30:14] ^_^ now for my part in the evil.... I'm actually making it work...... I have a page with working loop functions, 2 of the 3 directly interact with a template's list of variables... Actually, the only bug is I don't have pfuncs working inside right, though I'm probably just expanding at the wrong point in time. [05:30:52] TimStarling, thanks a lot for the help. basically, I just need to alter all tables. is that all what to do? [05:31:27] syli725: also change $wgDBTableOptions in LocalSettings.php [05:31:31] $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; [05:31:43] {{#foreach:*|\n* {{{ $s$ }}}: $s$ }} [05:31:47] that way if MediaWiki creates more tables on upgrade, they'll be the right charset [05:31:53] TimStarling, alter all tables first. then use web interface to re-run the installer ? [05:31:56] hmm, nowait [05:32:21] syli725: are you also upgrading mediawiki? [05:32:21] {{#foreach:*|\n* $s$ = {{{ $s$ }}} }} [05:32:39] The $s$ is just a legacy thing... I'm trying to find a better sequence [05:32:45] I use {{#}} for numbers [05:32:49] hmm, time for me to fix up GlobalBlocking [05:32:57] *Werdna wonders if he tested it when he wrote it. [05:33:04] the two operations are separate, you can do them in either order [05:33:27] use ALTER TABLE to change the charsets, and then follow the usual instructions to upgrade [05:33:41] TimStarling, yeah, also upgrading mediawiki. after hearing your suggestion. my plan is 1) mysqldump the old data. 2) mysql < old.sql to new database 3) alter all tables manually 4) re-run the web installer to perform upgrade schemas and create a new Localsetting.php. is this ok and safe? [05:34:03] Oooo.... {{#parservar}} [05:34:15] heh... [05:34:23] flyingparchment: getting "parser.h:212: error: ???reduced_node_d??? was not declared in this scope" when building parser_native. Any clues? [05:34:43] TimStarling: when should TINYBLOB be used, as opposed to a varchar/varbinary? [05:36:12] When you're not limiting the size of something? [05:36:31] ie: Why can my e-mail address only have 255 characters in it? [05:36:40] TINYBLOB does have a char limit... [05:36:57] ;) Yes, but we're not setting it... [05:37:01] heh [05:37:35] "Uhm, I have an insanely long string, why it it getting truncated?", "Sorry, that's an issue with your DB" [05:37:40] heh [05:37:46] Dantman|FS: in fact, TINYBLOB is limited to 255 characters as well. [05:37:49] hence my question... [05:37:51] syli725: that's not a good idea [05:37:53] TimStarling, thanks for the help. I will try the plan I mentioned. hope it will work. :) [05:38:05] rotfl [05:38:32] lol [05:38:43] TINYBLOB sounds less like a data type, and more like something you'd find in your nose... [05:38:56] heh... [05:39:18] oooh... [05:39:56] syli725: you know he said NOT a good idea? [05:40:01] Werdna: Blobs come in handy when exporting [05:40:14] "ADD COLUMN In_your_nose_its_a blob" [05:40:15] TimStarling, sorry, why is that not a good idea? I thought I just followed your suggestion... the upgrade process is to re-run installer as mentioned in mediawiki. [05:40:26] Brion said I should change some of my TINYBLOB fields to varchar(255)s. [05:40:35] syli725: sorry, RL competing for attention [05:40:55] the point of using a binary charset is to avoid corruption during a mysqldump/reload cycle [05:41:01] OverlordQ, I just saw it. my internnet connection might be slow.... [05:41:08] ah :) [05:41:33] so it's better to change the charset before you attempt any kind of mysqldump [05:41:36] Werdna: maybe because they don't need to be all that hidden [05:43:17] TimStarling, ok. what about this plan? 1) alter all tables to be binary. 2) mysqldump the old data. 3) mysql < old.sql to new database 4) re-run the web installer to perform upgrade schemas and create a new Localsetting.php. ? [05:43:41] yes, better [05:43:58] TimStarling, thanks a lot. will do that way. :) [05:44:20] you can keep your old LocalSettings.php, as long as you change $wgDBTableOptions and any other server settings that change in the move [05:44:43] such as $wgDBserver [05:45:26] Werdna: like what? [05:45:49] ah, there was a question in there [05:46:25] on MySQL 4.1+, there seems to be very little difference between tinyblob and varbinary(255) [05:46:40] domas tells me there is some kind of storage difference, but there's no reference to it in the manual [05:47:51] as for varchar versus tinyblob: I usually use varchar when I'm storing text in some language, and varbinary/tinyblob when I'm storing data to be interpreted by MediaWiki [05:48:21] so things like timestamps and group lists are varbinary [05:48:37] and things like category names and page titles are varchar [05:48:45] TimStarling: ah, I thought it was the other way around.. oops. [05:48:56] (I thought varchar didn't support unicode or something) [05:49:23] Should I use varchar or TINYBLOB for comments/summaries/reasons/whatever [05:49:38] varchar [05:49:49] because they're in a human language [05:50:10] it should be noted, there's a significant overhead to using varchar if you index the field [05:50:24] if the user selects UTF-8 on install, the index sizes for varchar are tripled [05:50:38] and on myisam, there's a limit for index size of around 1000 bytes [05:50:38] I'm not indexing on block summaries. [05:50:46] I mean in general [05:50:58] What's indexing like on TINYBLOBS? [05:51:04] I'm not sure you can [05:51:21] but they're binary in any case, so they couldn't be tripled [05:51:41] okay [05:51:54] if you index a whole varchar(255), it contributes 765 bytes to the index limit on myisam [05:52:20] ah, and that kinda sucks [05:52:23] it's easy to accidentally break installation of mediawiki on such installations [05:53:11] hmm, vasiliev left [05:53:16] but i suspect he wasn't using boost 1.35.0 [05:54:50] hmm.. I also forgot invocation guards on most of GlobalBlocking [05:56:24] flyingparchment: that reminds me, I need to add you to the extension credits for that. [05:56:40] globalblocking? i don't think i worked on that ;) [05:57:16] no, abusefilter. [05:57:31] 03werdna * r39120 10/trunk/extensions/AbuseFilter/AbuseFilter.php: Add River to the extension credits, seeing as he pretty much wrote the native parser. [06:00:54] Werdna: i was thinking of adding a 'date' type. it would allow useful operators like 'USER_CREATION older than 100 years' [06:00:59] uh, 100 days... not years [06:01:27] (also, unrelated: http://toolserver.org/~river/cgi-bin/expr?expr=1+%2B+1) [06:01:34] ye olde tyme wikipedie by ye telegraph [06:02:02] the original rise of the semicolon [06:02:12] $5/word across the atlantic, semicolon is your friend [06:02:23] TimStarling, hi, after alter the table by using the line you suggested, I saw it only changes the charset=binary. but the columns in the table are still varchar() chacterset latin1 instead of varbinary(). is that correct? I saw binary mode would create table with varbinary. will this corrupt my installation? sorry to trouble you. [06:02:50] how could someone who is not a member and not in the accepted nonmembers list be posting out-of-office messages to mediawiki-l? [06:03:05] syli725: you'll have to change all the columns separately I guess [06:03:11] check the mysql manual [06:03:18] TimStarling: envelope sender vs From? [06:03:28] i don't know if mailman checks both for incoming mail [06:03:31] flyingparchment: that's broken... [06:03:47] would the envelope sender be logged anywhere? [06:04:05] TimStarling, hm.. ok. I may try to do it manually. [06:04:07] how is someone meant to administer a list if you can't even tell who's posting to it? [06:04:10] does mailman encode it in its rewritten sender? or does it use From for that? [06:04:17] *flyingparchment looks [06:04:25] which mail? [06:04:37] http://lists.wikimedia.org/pipermail/mediawiki-l/2008-August/028176.html [06:04:50] there's three of them [06:05:13] I've only got that list by gmane, I don't have the original list mail [06:06:17] hi [06:06:30] is TOR detection part of MW or an WMF extension? [06:06:38] subscribe:Aug 08 16:31:12 2008 (19928) mediawiki-l: deleted elizabeth.cieniewski@rrd.com; member mgt page [06:06:56] you're too late ;-) [06:06:57] root|work: extension, TorBlock [06:07:11] right... [06:07:24] TimStarling: do you know sth about it? A german WP user complains that he doesn't use TOR but gets blocked anyway [06:07:35] it might have been a bit more appropriate to use the mod flag... [06:07:48] i don't think so [06:07:49] the problem appeared at Saturday [06:07:56] posting out of office autoreplies to lists is very rude [06:08:06] but he is also blocked by Freenode out of the same reason [06:08:08] if people find they get unsubscribed when they do it, maybe they'll stop [06:08:13] how often does torblock update it's cache? [06:08:53] apparently, this person sent three seperate autoreplies [06:09:45] presumably it's a mail client issue, they don't actually know they're being rude [06:10:03] well, hopefully whoever unsubscribed them explained why it was so [06:10:29] although i probably wouldn't have [06:10:36] good thing i don't care enough to bother [06:10:41] heh [06:10:43] root|work: if it's been longer then a half hour then he's sharing an IP with somebody who's using TOR or his ISP has a caching proxy in which he's also SOL [06:11:15] root|work: what's the IP? [06:12:34] https://bugzilla.wikimedia.org/show_bug.cgi?id=14934 <-- TOR false positives [06:13:14] the problem is TorBlock uses the exit node list, which in some cases can be a transparent IP proxy with more people behind it than the IP(s) running Tor. There is an exception list available now for such IPs, pokle Werdna [06:13:16] root|work: I am the developer of the TorBlock extension. [06:13:22] Splarka: there is so. [06:13:23] there he is [06:13:30] Autoblock whitelist is applied to tor blocks. [06:13:35] following such complaints. [06:13:36] OverlordQ: according the ISP he has a dynamic IP but it shouldn't be shared [06:13:46] Werdna: hi. Do you have an idea? [06:14:13] root|work: The list we use is generated from Tor. According to them, they individually test each IP address before it is added to the list (automatically, of course) [06:14:24] ok [06:14:44] so I guess Freenode uses the same mechanism / same list to do their TOR blocking, right? [06:14:56] without the IP there's not much we can tell you I think. [06:15:01] you shouldn't list shared IP addresses in a whitelist, you should list them in the XFF list [06:15:06] It is possible that that list has false positives, but it is difficult to tell, as most tor block checkers have false negatives. [06:15:06] that's what it's for [06:15:07] and maybe the IP adress was assigned to someone else who has used TOR recently [06:15:39] Yes, IPs are held in that list for 24h after they are last seen as blocked. [06:15:57] well, it wouldn't be sensible to whitelist this IP adress as it is dynamic [06:15:59] TimStarling: I use wfGetIP() to get the IP, so presumably any XFF has already been resolved. [06:16:07] nevertheless the problem consists since Saturday [06:16:15] Werdna: the list needs to be maintained [06:16:19] 03(NEW) mediawiki:extensions-IssueTracker setup problem - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15113 normal; normal; MediaWiki extensions: AdvancedRandom; (sudheerinfos) [06:16:28] if you just whitelist these complaints instead of sending them to me, it'll never be fixed [06:16:30] the user should have got several IPs since then [06:17:23] ok, so I will tell the user to just stand by and hope that he will get a "clean" adress next time [06:17:26] 03(mod) mediawiki:extensions-IssueTracker setup problem - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15113 (10sudheerinfos) [06:17:33] root|work: that's probably a bad idea. [06:17:41] root|work: If there's an issue, we should figure out how to fix it. [06:17:44] it's hardly going to fix itself [06:17:51] if the problem persists I will request a list of IPs used and get back to you [06:17:55] If you don't mind, could I have the IP so I can ask somebody from tor? [06:18:03] *qsheets is off to bed [06:18:09] is it possible to combine a phpbb3 forum into a mediawiki installation? [06:18:14] Tim: perhaps you can periodically scan all the whitelists and move them to the XFF list (if they are trustworthy enough to) [06:18:14] Werdna: I already sent it to you and TimStarling in a query [06:18:26] depends on what you mean by "combine" [06:18:33] but in cases where it takes days or weeks for shell requests and minutes for sysop requests to a system message.. [06:18:41] well, i mean somewhat 'merge' it together, werdna [06:19:00] inside the main mediawiki format [06:20:19] where you can lock the mediawiki content but supply usernames which are merged with different access capabilities or 'roles' [06:21:34] it doesn't look like an ISP proxy [06:21:39] it looks like a dynamic range [06:22:06] plug it into: http://torstatus.cyberphunk.org/tor_exit_query.php [06:22:34] how does this tor list work? [06:23:00] the link I gave? [06:23:12] no, the extension [06:25:33] very interesting, it really reports a TOR exit node [06:25:50] but the contact information does not match the WP user [06:26:13] TimStarling: Tor gives us this list [06:26:16] https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=212.204.66.66 [06:26:23] I'm just reading the source [06:26:30] that IP is the IP for rr.pmtpa [06:27:54] I've just poked the guy who wrote the tor-side code, and we've confirmed that it does show up on the bulk exit list, but the Tor checking system which powers it gives a negative [06:29:08] sure, it's negative now [06:29:15] the guy probably restarted his modem [06:30:12] yes, that's what I figured. If you're on irc.oftc, you could join #tor there [06:30:31] oftc.what? [06:30:38] irc.oftc.net [06:33:05] there is, or at least was, a relay to there in Freenode #tor [07:12:56] [07:13:09] *Splarka ponders a bug asking for them to be sorted nicely [07:13:40] software, skin, direction, namespace, namespace type, page.. maybe? [07:21:37] 14(WFM) Redering display issues for commons and meta on Firefox/Linux - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15005 +comment (10siebrand) [07:25:11] ochoha: OMG HOW DID YOU GET INTERNAL DOMAIN NAME ON IRC [07:25:22] *domas giggles [07:25:52] ??\/(??_0)\/?? [07:25:59] Hi I just complete my migration from one server to another server. I met a problem on admin user. I don't know the previous system's admin user and pass. it seems the migrated system doesn't use the new admin. how can I reset the admin account? [07:26:09] should be in faq [07:26:10] :) [07:26:48] domas, sorry to post here. i will check faq. [07:27:10] domas: DROP DATABASE should always be a very efficient and clean way for deleting admin passwords ;-) [07:27:26] root|work: omg you are so smart [07:27:30] :-P [07:27:56] dd's better :) [07:28:03] heh [07:29:12] domas: .int is international treaty/organization [07:29:23] or divisible by 1 [07:29:36] *Splarka waits for math nazis [07:30:50] Splarka: as if I didn't know [07:30:56] who.int is the World Health Organization, isn't it? [07:31:02] I KNOW DAMNIT [07:31:08] THANKS FOR EXPLANATION [07:31:08] who? [07:31:11] as opposed to the band. :) [07:31:12] WHAT IS ALL THIS MEDIAWIKI THING ABOUT [07:31:17] TELL ME [07:31:25] Krimpet: an issue arose out of a patch you made recently. I assigned the fallout to you. [07:31:27] *Krimpet won't get fooled again. [07:31:34] siebrand, oh? [07:32:05] Krimpet: you probably got mail about it, and I forgot which issue, as I saw ~120 of them them browsing yesterday. [07:32:10] *Krimpet looks. :) [07:32:19] ohh, I see [07:32:44] I saw Brion's revert of that - I'll fix that up. [07:33:09] domas: mediawiki is a server-resource eater designed to make MySQL run slowly and make Sun look bad [07:33:26] domas, I am sorry to trouble you. but I didn't find the answer in FAQ. [07:33:57] any opinions on https://bugzilla.wikimedia.org/show_bug.cgi?id=15093 ? A user requests to add "watch" to Special:Contribs. Please add them there. [07:34:52] syli725: it's there . . . . as long as you're looking at the right one :) [07:35:43] syli725: http://bliki.rimuhosting.com/space/start/mediawiki+password+reset [07:35:48] some random google hit [07:35:54] http://kb.siteground.com/article/How_to_reset_my_MediaWiki_admin_password.html [07:35:55] ;) [07:36:12] nah, this one is bad [07:36:16] someone wrote it just to have it in KB [07:36:42] http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_reset_a_password.3F [07:36:54] oh, that one [07:37:04] we have a script nowadays [07:37:05] nice [07:37:22] I did that yesterday, I told them to RTFAQ, but then I realized it was listed on the meta FAQ and not the mw.org FAQ :( [07:37:26] domas, OverlordQ, OH. I checked again. maybe createAndPromise.php can help on this issue. I will try. thanks. [07:37:52] *OverlordQ giggles in a not so sane manner [07:38:29] domas, OverlordQ password reset help will not solve my problem. I even don't know what the admin username is. [07:38:44] select * from user_groups; [07:38:45] etc [07:38:46] :) [07:39:19] domas, OverlordQ thanks. :) i think createAndPromise.php might solve my problem as well. I will try both. thanks. [07:44:30] syli725: seriously... [07:44:43] <_wooz> lo [07:44:47] select user_name from user_groups,user where user_id=ug_user; [07:46:31] 03(mod) r37313 broke parser tests for alternative databases. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14990 +comment (10siebrand) [07:47:05] Werdna, thanks a lot. [07:49:48] 03(mod) Enable patrolling on multilingual Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14982 +shell; +comment (10siebrand) [07:51:06] Jhs: please check https://bugzilla.wikimedia.org/show_bug.cgi?id=14981 . Your input is needed. [07:54:02] 03(FIXED) An extra line in exported translations - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12956 +comment (10siebrand) [07:54:28] 03(mod) ‎ and left-to-right marker disappear when translations are exported - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12562 +comment (10siebrand) [07:59:52] any takers for https://bugzilla.wikimedia.org/show_bug.cgi?id=14980 : Merge messages 'sharedupload' and 'shareduploadwiki'/'shareduploadwiki-desc' ? [08:09:04] 03(mod) Get undefined variable:sid errors after upgrade to SMW 1.2 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14812 (10mitchell_neill) [08:09:21] adding date support to expressor was harder than i imagined [08:09:29] it needs two new types, datetime_t and interval_t [08:09:34] right [08:09:47] 03(mod) alphabetical order method for DynamicPageList - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14971 +comment (10siebrand) [08:13:01] 03(mod) Random Sort for semantic queries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14978 +patch; +comment (10siebrand) [08:15:01] 03(mod) importdump.php regular expression is too large - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14961 +comment (10siebrand) [08:18:43] Werdna: something you can do about https://bugzilla.wikimedia.org/show_bug.cgi?id=14962 ? Came to you because you appear to have committed some code to the hidden categories feature. [08:19:32] does anyone have PHP 5.1.2 or earlier handy? [08:20:29] PHP 5.2.4-2ubuntu5.1 with Suhosin-Patch 0.9.6.2 (cli) (built: May 9 2008 16:54:00) [08:20:33] sorry [08:20:33] i think so, i have centos 3.9 here [08:20:36] *flyingparchment boots [08:20:46] PHP 5.2.5-pl1-gentoo (cli) (built: Feb 5 2008 10:21:45) [08:20:51] 5.2.5 and 5.2.3 here. [08:20:52] *Werdna grumbles. [08:21:05] I want to know if this works: [08:21:08] print preg_match('/[\p{Ll}\p{Lu}\p{Lt}]/', 'a') [08:21:52] also print PCRE_VERSION, just in case [08:21:54] TimStarling: ask in #php ? [08:22:04] in theory it should be 6.2 [08:22:13] ##php? they're useless [08:22:21] TimStarling: ow :) [08:22:22] unless you're asking them how to add two numbers or something [08:22:22] I know :) [08:22:46] somebody help me, how do I make a loop? [08:22:57] I tried reading the manual but I don't understand it [08:22:59] TimStarling: goto [08:23:10] does that exist in PHP? [08:23:14] no [08:23:40] TimStarling, take out a bit of string and tie the two ends together in a knot. :) [08:23:49] TimStarling: http://rafb.net/p/YMEw1h57.html [08:24:00] ^_^ goto is an evil which makes for very good hard to spot infinite loops [08:24:04] heh [08:24:15] I made a loupe once out of a soda bottle and random lens [08:24:16] It's hard enough catching a runaway while [08:24:23] PCRE_VERSION isn't defined [08:24:46] Tim, ;) PCRE_VERSION is a 5.2 invention heh [08:24:52] thanks flyingparchment [08:25:03] That's why I never suggested using it to test [08:26:35] whoa [08:26:37] it's too early though [08:26:56] if( $wgUser->isAllowed( 'globalunblock' ) ) { $this->displayRestrictionError(); return; } [08:27:01] PHP 4.3.2 had PCRE 3.9, it didn't support \p at all [08:27:07] How did I manage that? :P [08:27:33] we really want to know if this regex works in PCRE 5.0 - 6.4 [08:28:59] PHP 4 jumped straight from 4.5 to 6.6, so it needs to be in the 5.x series [08:30:42] 03krimpet * r39121 10/trunk/phase3/includes/EditPage.php: Addressing concerns in r39801 regarding editnotices; the message names now use dbkeys instead, and wfMsgForContent is now used consistently. [08:31:03] I'll just compile it I guess [08:32:23] how to express a date? "2008-07-05"d ? [08:32:31] siebrand: what was it? [08:32:51] Werdna: what was what? [08:33:13] werdna: bug 14962? [08:35:55] siebrand: yes, never mind. [08:37:40] 03(FIXED) Allow per-article and per-namespace messages above edit form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15102 +comment (10francine) [08:38:11] Werdna, domas, OverlordQ I am sorry to ask questions again. It seems that I don't have admin user at all in the database.... In Special:ListUsers, I did see some user with (bureaucrat) words. but when I do "group bureaucrat" search, no one matched. the user who has (bureaucrat) doesn't have admin rights at all. [08:39:29] syli725: that's okay, user with bureaucrat can make another user an admin. [08:39:47] user with bureaucrat can talk like confucious [08:39:49] ;-) [08:39:51] flyingparchment: I suppose that makes sense. Or you could have a function [08:40:05] strtotime( "2007-08-10" ) [08:40:11] flyingparchment: I've been around domas too much. [08:40:17] me too [08:40:28] $alpha = '[a-z]; foreach( array( '\p{L&}', '[\p{Ll}\p{Lu}\p{Lt}]' ) as $al ) { if( @preg_match( "/$al/usD", 'a' ) { $alpha = $al; break; } } [08:40:42] what [08:40:43] where [08:40:43] why [08:40:45] why me [08:40:56] LeonWP, Dantman|FS: wanna have some parser fun? See bugzilla 14959 and 14562. [08:40:56] domas: you stole all our articles [08:40:57] Werdna, I mean no user has admin rights. it has the word (bureaucrat), but it doesn't have bureaucrat rights. [08:41:09] flyingparchment: haha [08:41:10] syli725: bureaucrat does not give admin rights [08:41:21] syli725: but the user can make himself an admin by going to Special:Userrights [08:41:34] 14(WFM) Blank site after reload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14960 +comment (10siebrand) [08:42:01] siebrand: ^_^ "Sure, how much you got for that project?" rotfl... [08:42:23] I am totally confused here. Right now, I migrate a old system. the old system is not maintained by me. All users don't have any admin/bureaucrat/sysops right. how to create a user who have all the rights from scratch? [08:42:32] Dantman|FS: just triaging and trying to get people working on open bugzillas... :) [08:42:41] heh [08:42:45] flyingparchment, it doesn't have the right. the user is not bureaucrat even if it has (bureaucrat) surrounding with the user. [08:43:00] Most of what I do nowadays is contract [08:43:04] Dantman|FS: as you ialex and Leon have recently made commits in that area, I asked you. [08:43:09] syli725: just use createAndPromote. [08:43:12] I think the system user management is just corrupted after migration... [08:43:26] siebrand: I already did my triaging a few days ago. [08:43:33] except I did all the work myself :P [08:43:41] anyway, I'm making globalblocking not suck [08:43:53] oooohh... another one of those money scam mails.... ^_^ those are fun to read.... shows you how stupid people can be... ;) and I'm not talking about the people that fall for them... heh [08:43:58] Brion found a bunch of bugs, and I've just found a bunch more, and been doing some redesigning. [08:44:11] Werdna: If I could, I would. So I'm closing where needed, assigning where possible, and whining where unavoidable... [08:44:13] Werdna, ok. I will use that script. not sure why I didn't find it at the first time. saw it now. thanks. [08:44:30] awww... that spam was so short it was boring... [08:46:25] T_T Where's a good crapflood when you need one... [08:46:38] 14(INVALID) Something about these images created by a nightly build of Inkscape prevents RSVG /MediaWiki from rendering the images properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14953 +comment (10siebrand) [08:47:04] Notice: Undefined variable: type in /home/andrew/mediawiki/includes/db/LoadBalancer.php on line 642 [08:47:07] Is that usual? [08:47:25] Werdna: never seen it. [08:47:53] ^_^ Even if it is... it's still something you can fix [08:48:02] Werdna: also, I have no "type" on line 642. [08:48:13] siebrand: extract($server) [08:48:30] Eeeeekkk... [08:48:31] hmm, I'm not at HEAD [08:48:33] Werdna: ehr, I *do* have tye where :) [08:48:42] wha? [08:48:44] yuck, bleh... eeew [08:48:45] Werdna: ehr, I *do* have type there :) (damn typos) [08:48:54] hmmm... [08:48:59] safeextract anyone? [08:49:20] And it does appear to be undefined, indeed. [08:49:21] heh, tobad scope won't let us functionalize it [08:49:50] Werdna, sorry, I just create an admin account. but the account I created still doesn't have admin rights. when I try to access Special:UserRights, I got "Permisssion Erros".... any ideas? my installation is corrupted? [08:50:01] syli725: go into mysql [08:50:11] SELECT user_id FROM user WHERE user_name='YourAccountName'; [08:50:38] INSERT INTO user_groups (ug_user,ug_group) VALUES (theuserid,'bureaucrat'),(theuserid,'sysop'); [08:50:57] foreach( array( 'var1', 'var2' ) as $var ) { $$var = isset($array[$var]) ? $array[$var] : null; } [08:51:21] Werdna, the first select query return "empty set". how come? [08:51:32] then you entered your account name wrong. [08:51:40] 03(mod) Illogical XML in sitematrix API output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14955 +comment (10siebrand) [08:51:53] fwiw, the preferences page lists your userid, so you can cut that work in half [08:53:04] *Dantman|FS wonders if he should attempt sending an e-mail for one of those Wikimedia jobs [08:53:28] Werdna, it's correct. and I used it to login successfully... [08:53:58] syli725: The name gets normalized so it can change [08:54:16] Werdna, oh, mediawiki will change the first letter of all user accounts to be capital?? admin doesn't return anything. but Admin return the id. but I created with "admin". [08:54:28] mhmm [08:54:36] yes, MediaWiki does. [08:54:40] sorry, I should have remembered. [08:54:55] Usernames are normalized with the same pattern as titles [08:55:11] (cept they are saved with spaces instead of underscores :/) [08:55:26] 03(mod) Error of Wikimedia server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14956 +comment (10siebrand) [08:55:26] A curse on the person who thought that was a 'good' idea... [08:58:07] Werdna, I am sorry that. it has the two entries. thus it's no need to insert. but the user still doesn't have the rights.... [08:58:25] Werdna, maybe my migration is corrupted? everything works fine except this point.... [08:58:48] 03(mod) Redirect parsing is over-permissive; syntactically broken redirects are parsed as redirects to the wrong place. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15053 (10bugzilla.wikimedia) [08:59:30] go into your preferences [08:59:58] it should give your user ID [09:00:18] Werdna, yeah. it's the correct one with the select query. it also has Member of groups: Autoconfirmed users, Users, bureaucrat, sysop . [09:00:47] okay... [09:02:08] so what's the problem then? [09:03:58] Werdna, the problem is the user actually dosen't have any admin rights at all. it can not delete page, it can not access special:uesrrights and get "permission denied". please let me describe my migration process if that helps... [09:04:12] tried logging out/in? [09:04:31] Splarka, I did many times already.:) [09:06:48] Werdna, my migration process might cause this problem. In the old system, the database uses latin1. I think binary is recommended. what I did is to mysqldump the data. and use vim to edit .sql file. change it to be binary. what I changed: "charset=binary" "varchar replaced by varbinary" "char replaced by binary" "removed character set latin1 .. latin_bin" etc.. everything works fine. except the power user rights so far.. [09:07:29] ... [09:07:48] I can edit any pages. I can create users. all pages are migrated successfully.... [09:08:31] well what do you mean specifically when you say that the user rights "don't work"? [09:10:05] Werdna, when I use the admin login, first, I don't see "delete" tab. thus I can not delete any pages. second, I don't see Special:UserRights under "Special Pages". If I try and force to access the page by using the link index.php5/Special:UserRights, it will give me "permissions errors" error message. in a word, the admin just got normal user rights. [09:11:21] Well, I imagine that there's some weirdness. YOu should be aware that the way you migrated your DB was the wrong way to do it. varchar and varbinary are not used interchangeably. [09:11:28] 03(mod) Image thumbs near the articles title text on browsedata page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14939 +comment (10siebrand) [09:11:36] With that said, I expect that if you remove and recreate those user_groups rows, it should work okay. [09:11:53] *Lady_Aleena glurbles and wishes edit summaries were manditory on all edits, no matter how minor. [09:12:58] 03(mod) Suggestion to allow more complex filters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12387 +comment (10siebrand) [09:13:27] Lady_Aleena: why? [09:13:31] Werdna, hm.. I can try to recreate user and user_groups table. what about other tables? is the way safe for further use? [09:13:45] 03(mod) Problem with Encoding - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13838 +comment (10siebrand) [09:13:55] Werdna, so I would know why some edits were made. I can't always tell by the diffs. [09:14:04] I can't immediately think of anything else that would be effected. [09:14:04] 03(mod) No new Filters in Subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13375 +comment (10siebrand) [09:14:13] *Werdna waits. [09:14:27] Werdna, what are you waiting for? [09:14:30] 03(mod) Wrong filter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14548 +comment (10siebrand) [09:14:43] Werdna, ok. let me try to recreate tables first.. [09:14:48] 03(mod) Sorting not always right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14915 +comment (10siebrand) [09:14:57] I mean user and user_groups tables only. [09:15:06] 03(mod) Special inclusion of browsedata on any wiki page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14940 +comment (10siebrand) [09:19:33] How do we deal with timezones right now? [09:19:44] i.e. how does one choose which timezone there wiki is in? [09:24:24] 03minuteelectron * r39122 10/trunk/extensions/LiquidThreads/LqtPages.php: [09:24:24] * (bug 15112) Fix three strict standard issues, incompatible function declerations due to incorrect default parameter values. [09:24:24] * Minor whitespace fixes on classes that had these issues. [09:25:03] 03(FIXED) Strict Standards issues in LiquidThreads - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15112 +comment (10minuteelectron) [09:26:45] 03(mod) Some SVGs render incorrectly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5163 +comment (10kjoonlee) [09:27:33] 03dale * r39123 10/branches/MetavidWiki-exp/MetavidWiki/ (3 files in 2 dirs): category fix [09:30:06] any way to modify the upload page textareas without touching the source (so that changes persist after updates) [09:30:09] ? [09:32:56] 03(mod) Global spam blacklist should have less or no lag time before taking effect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14951 +comment (10siebrand) [09:36:00] piksi: modify the relevant mediawiki messages (see Special:Allmessages) [09:36:39] oops, unless you mean the