[00:51:17] 03(NEW) "changes in last 1 | 3 | 7 | 14 | 30 days" accessibility - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18317 normal; Normal; MediaWiki: RecentChanges; (jidanni) [01:09:42] hello i want to change on of fawiki main pages tab , now it is artilce but it should be changed to main page , anyone can help me ? [01:11:03] There are two ways to do it. [01:11:09] :) [01:11:12] Either using ParserFunctions or using JavaScript. [01:11:38] ok , i hate js :) what is the second way [01:11:41] :D [01:12:05] ah [01:12:20] *Mard|SWMT is not familiar with both of them [01:12:26] {{#ifeq:{{PAGENAME}}|Main Page|Main Page|Article}} [01:12:55] In this page: MediaWiki:Nstab-main [01:18:58] Mard|SWMT: when you say fawiki you mean fa.wikipedia.org? [01:19:22] yes [01:20:18] i wouldn't do something like that then because afaik the server admins don't like, people have tried to do it on en.wiki several times and it's been reverted by the admins because of the processing power it uses [01:20:30] en.wiki is not fa.wiki. [01:21:25] hehe [01:24:10] 03(mod) AbuseFilter log shows the contents of deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18043 (10JSchulz_4587) [01:29:00] 03(ASSIGNED) AbuseFilter log shows the contents of deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18043 +comment (10agarrett) [01:34:50] https://bugzilla.wikimedia.org/show_bug.cgi?id=14267 :D [01:35:11] Yep. [01:35:20] :) [01:39:19] 03(NEW) Provide corresponding anchors (URL#hash_#) after editing a section that has the same heading as another section before - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18318 enhancement; Normal; MediaWiki: Page editing; (Wiki.Melancholie) [01:46:51] 03(NEW) [[Category:+]] and [[Category:*]] doesn't workin in beta compatibiliy. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18319 normal; Normal; MediaWiki extensions: Semantic MediaWiki; (martin_sasseville) [01:51:15] 03(NEW) includes MediaWiki:monobook.css on Wiktionaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18320 minor; Normal; MediaWiki: Page rendering; (Wiki.Melancholie) [02:20:19] what config folder do I extract the mediawiki tar file to on my webserver [02:21:21] It depends. [02:21:33] It needs to be in a public directory. [02:21:45] Usually /var/www/ or web/public [02:21:56] thanks [03:02:27] 03(mod) AbuseFilter log shows the contents of deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18043 (10rohde) [03:07:27] 03(mod) AbuseFilter log shows the contents of deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18043 (10agarrett) [03:16:21] Hello [03:17:10] Would anyone know where I can edit permissions so that Non-Registered users to my wiki cannot see anything or are directed to the login page? [03:18:46] $wgGroupPermissions['*']['read'] = false; [03:19:07] !userrights | HiloBoyS [03:19:07] --mwbot-- HiloBoyS: For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [03:23:19] Thanks [04:05:13] does MW require Zend? [04:09:09] Hi! [04:12:41] Is there a toolkit/bindings/whatever to automatically fetch/analyze and modify wiki content? I need to create a system where appropriately formed commit messages from git are appended to a specially designated section on a corresponding page of documentation. Maybe there're some instantly ready frameworks or smth for that? [04:26:24] AMorozov: Hmm, sort of. [04:26:37] There's an extension for appending comments for a log-type thing. [04:27:03] And there's a fully functional API, so it's trivial to create scripts in whatever language... [04:27:26] !e LogEntry [04:27:26] --mwbot-- http://www.mediawiki.org/wiki/Extension:LogEntry [04:29:47] Ok, thank you! I'm looking at it... [05:42:06] hi [05:42:26] im having ussues with my media wiki can some one help me? [05:42:54] !ask | soultaker [05:42:54] --mwbot-- soultaker: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/getting-help-on-irc > for a good explanation of getting help on IRC. [05:43:08] thankyou [05:43:22] i installe dmedia wiki and it works and i was able to move [05:43:29] localsetting to the correct location [05:43:33] and go into midea wiki [05:43:55] but how to i make areas for users to put guides and stuff? [05:44:08] i tryed loggin in as administrator [05:44:13] and i have no real options [05:44:38] To create a page, just navigate to it in the URL bar. example.com/wiki/index.php/Page_name [05:44:47] And click "edit this page." [05:44:59] Or, you can add links like [[this]] to a page and click those. [05:45:00] i tryed that also [05:45:07] it prompts a download for ie users [05:45:32] Do you have a link to your site? [05:45:54] im retrieving it 1 sec [05:47:04] atually i quicky did as u say it works now... i guess it cleared up on its own or i did somthing [05:47:08] im sorry.. [05:47:17] or perhaps i did somthign incorrect befor... [05:47:20] Great. :-) [05:48:05] one last question, how to i make categorys in the left navigation bar do i have to script those in somewere? [05:48:14] !sidebar [05:48:14] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [05:48:39] thank you [05:49:36] r [05:54:21] 14(DUP) includes MediaWiki:monobook.css on Wiktionaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18320 +comment (10herd) [05:54:23] 03(mod) Skin.php: $this->getSkinName() calls lowercase skinname.css if $wgCapitalLinks is off - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17700 +comment (10herd) [05:58:05] oh, if im logged in as admin it promps me for a file download... XD [05:58:33] it asks me to download index.php [05:59:01] on edit? [05:59:08] create and edit [05:59:19] go to Special:Preferences [05:59:21] i can edit [05:59:23] the home page tho [05:59:40] any other pages? [05:59:53] not that im aware of [06:00:01] make sure in Special:Preferences that under [editing], "[ ] Use external editor by default" is unchecked [06:00:26] im in my preferances on my admin account [06:00:30] but i dont see special [06:00:41] special pages? [06:00:50] that's the name of the page, Special:Preferences [06:00:52] you see an [editing] tab? [06:01:00] yes [06:01:24] "[] Use external editor by default" [06:01:27] is that checked? [06:01:40] yes [06:01:44] i unchecked it and saved [06:01:46] ima test [06:03:18] thank you it seems to work [06:03:57] 03(mod) Wikistats: Consider compressing with bzip2 (or even 7zip) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15623 (10Wiki.Melancholie) [06:08:50] 14(DUP) Provide corresponding anchors (URL#hash_#) after editing a section that has the same heading as another section before - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18318 +comment (10herd) [06:08:54] 03(mod) Editing pages with multiple headers of the same name - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15847 +comment (10herd) [06:21:31] 03(mod) Collapse tables on occitan wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18309 (10cvalmary) [07:10:45] http://wiki.gbatemp.net/wiki/index.php/Template:USBDevice -- why is the second row in the table messed up? [07:12:09] because you got an = [07:13:35] is that verboten in a template call or something? [07:14:09] 03(NEW) Rendering of Type:Email - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18321 minor; Normal; MediaWiki extensions: Semantic MediaWiki; (simon.giesecke) [07:15:03] well yea it's used to assign variables [07:15:09] used named paramters and you can do that [07:15:56] I see [07:16:03] how would I escape it then, without clobbering the link? [07:16:37] use named parameters [07:17:49] I'd like to avoid that if possible. Want the entries to be concise [07:25:03] Surely someone's had to deal with this before but I'm not finding any solutions [07:25:20] well, you got two choices... there has to be an equals sign earlier than the equals provided, or the equals sign has to be covered [07:25:44] {{foo|1=http://www.google.com/search?q=bar}} [07:26:06] that is the usual solution, for individual exceptions [07:26:20] for whatever reason, that doesn't work on this wiki [07:26:22] just the same result [07:27:52] the other method is to "cover" it [07:28:06] which in wiki terminology means, in [], [[]], or {{}} [07:28:36] literally [http://google.com/search?q=bar blah] etc? [07:28:36] {{foo|[http://www.google.com/search?q=bar]}} [07:28:41] oh, you're on 1.11 [07:28:44] yeah, that's not working either [07:28:47] the old preparser had different rules [07:28:57] but 6= SHOULD work, try a minimal test case [07:29:14] http://wiki.gbatemp.net/wiki/index.php/Template:USBDevice [07:29:18] testcase in the [07:29:21] no dice [07:29:34] a minimal test case, create a template that is just {{{1}}} [07:29:58] http://test.wikipedia.org/w/index.php?title=Template:Passthru&action=edit [07:30:53] that minimal testcase works [07:30:59] so, what? [07:31:04] oh, does = have a meaning in tables too? [07:31:45] not generally, except in html attributes [07:32:14] {{passthru|1=http://www.google.com/search?q=bar}} [07:32:14] {{passthru|[http://www.google.com/search?q=bar]}} [07:32:17] so those both work? [07:32:29] then with fiddling you can probably make it work for 6= in there [07:32:46] the first does [07:32:52] haven't tried the second [07:33:08] second does not work [07:34:16] *Splarka shakes fist at old parser [07:37:26] also, you can use both numbered and named parameters by having fallbacks [07:37:35] if it a url you could do the dirty and unliked method and encode the = sign in the html address (eg: google.com/search?q%3Dbar) [07:37:46] {{{p1|{{{1}}}}}} {{{p2|{{{2}}}}}} etc [07:38:43] p858snake: doesn't work [07:38:53] p858snake: the target server for the very URL that's causing me grief right now didn't take that. It just returned 404 when a literal = brought up the correct page [07:39:13] needs the literal = [07:39:56] what /does/ work is an html entity, but that is a big pain in the ass [07:40:02] {{passthru|http://www.google.com/search?q=bar}} [07:42:38] actually, no, it doesn't [07:42:59] WFM, old parser probably sucks [07:43:15] so it does work, just not in pre 1.12 [07:43:18] or, maybe it does [07:43:36] *facepalm* [07:44:52] Hi! Some MediaWiki mysql DB tables use fields with auto_increment attribute. Why doesn't MediaWiki use the code from http://www.php.net/manual/en/function.mysql-insert-id.php to protect against race-conditions? (LOCK TABLES, SET AUTOCOMMIT = 0, COMMIT, UNLOCK TABLES). Are there any caveats? I am developing my own extension with use of auto_increment fields, that's why I am asking. [07:45:40] I'm an outside observer, but [07:46:06] if a given SQL implementation cannot prevent such race conditions on its own, it doesn't belong in any production system [07:46:39] QuestPC: it's not clear what problem you're talking about, but we've never had an issue with last_insert_id returning the wrong value [07:46:52] also, locking the entire table on every update is retarded [07:47:41] I fully expect thy SQL implementation underneath me to perform proper locking on those numbers autonomously without me changing my SQL queries [07:47:45] *the [07:48:36] flyingparchment: I assume it's the race condition when two users may recieve the same last_insert_id() which then be used in further queries? [07:48:54] QuestPC: do you have any reference other than random comments on the php website? [07:50:08] roothorick, flyingparchment: Doesn't it worth any trustship? [07:50:37] people who comment on the php website are not always the most clueful, and if this were an actual problem, it should be documented elsewhere [07:51:51] culturally, PHP is similar to VB, in that both attract particularly unskilled developers that never really know what's going on [07:52:14] my extension currently uses lock/autocommit/unlock sequence but I am affraid if the some query in-between fails the table may be left locked... [07:52:40] maybe I should try catch it. or just remove locking. I don't know. [07:53:30] why don't you just use mysql_insert_id()? have you ever observed it to fail? other than one guy commenting on the php website, have you ever seen reports of it failing in this manner? [07:53:30] manually locking tables is rarely necessary [07:54:38] I am still haven't throughly tested it. It requires setup with many clients simultaneousely posting data. Ok, I've thought it's a well-known problem, but it seems like it isn't. [07:55:13] as i said: if it was a known problem, it would be documented somewhere else than the comments on the php website [07:56:56] There are such comments. The question is, are they worth to trust or not. Probably mediawiki developers should know a lot on php/mysql so I trust you, but still a bit suspicious. [07:57:23] i didn't say there weren't comments, i said if it was a problem, it would be documented *somewhere else*, not in the comments [07:57:47] ok. [08:08:03] moin [08:11:18] goooooooooooooooooood mooooooooooooornin' Vietnam [08:13:40] global Q: where/how do i send a patch that is not bug-related without svn commit privs? [08:15:51] https://bugzilla.wikimedia.org is for features too [08:17:24] oh ... hmmm ... i got stuck on the bug part of the name ... to be honest ... it's the first time i'm using bugzilla :S [08:17:36] describe it? [08:17:49] the patch that is [08:19:15] preparations for Oracle DB support ... have to recode all LIMIT keywords to DB class limitResults calls and add nextSequenceValues for all PK fields on insert [08:22:07] most of other stuff can be done within DatabaseOracle.php, but it's just too much hassle if i try to rebuild every sql query on-the-fly ... can be done tho, but i think it's just silly [08:23:48] can't be any worse then the PG hack for insert ignore :P [08:24:36] welll i managed insert-ignore on Oracle without resorting to uglyCode standards :D [08:25:00] what's wrong with pg's insert ignore? it does exactly what it's meant to: insert and ignore errors [08:25:12] just because there isn't an sql command for it doesn't make it a hack [08:25:35] freakolowsky: sounds like more than a simple patch? probably you should talk to brion about commit access... [08:26:13] not saying there's anything wrong with it, just that it shouldn't have to hack around something that evil :P [08:26:45] well i tried mailing the guy, but i get more reactions from my cat when i tell it to get the frack of the keyboard [08:33:27] AAAA KERNEL PANIC ... kernel signed off :D [08:34:50] 03(RESOLVED) Collapse tables on occitan wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18309 +comment (10ahmad.m.sherif) [08:48:45] 03(mod) Collapse tables on occitan wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18309 (10cvalmary) [09:06:08] 03(mod) Collapse tables on occitan wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18309 (10ahmad.m.sherif) [09:07:07] 03(mod) Collapse tables on occitan wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18309 (10cvalmary) [10:27:38] hi people........ having a somewhat strange problem here I think. trying to remove the "Mainpage" on another wiki. just put the following line in the main.css for monobook, but it still shows.. [10:27:44] body.page-Huvudsida h1.firstHeading { display:none; } [10:30:15] aside: don't edit main.css [10:36:03] but that should work if that class is in your tag (check) [10:59:55] 03raymond * r49147 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: Use PLURAL for $3. [11:02:03] 03(NEW) Images do not display - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18322 normal; Normal; MediaWiki extensions: ProofreadPage; (yann) [11:02:13] 03jojo * r49148 10/trunk/extensions/Collection/Collection.body.php: fix: move check to the right place [11:02:44] wait so that toolserver paid a/c thing wasn't a april fools day joke? [11:02:53] it was... [11:04:08] i thought it was but that i saw that the email thread was still going [11:04:18] s/that/then [11:06:00] because someone didn't get it [11:07:06] although i do like that quake server idea >.> [11:18:03] 03(ASSIGNED) Show move log when viewing/creating a deleted page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16950 -need-review -patch ; +comment (10church.of.emacs.ml) [11:19:32] 03(mod) textbook.wikipedia.org doesn't exist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18306 +comment (10mikelifeguard) [11:34:33] 03(RESOLVED) Enable FlaggedRevs custom configuration on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18244 +shell; summary (10happy-melon) [11:38:29] 03(mod) AbuseFilter log shows the contents of deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18043 (10mikelifeguard) [11:40:25] Hi, is here somebody that has tried mwdumper for importing a large dataset? [11:41:25] I'm trying to import the complete english wikipedia with revisiosns to an innodb db and it starts importing but after a few hours I can't se�till see any data in teh db, although seems it's writting it to disk... [11:44:05] 03(NEW) Error in SMW_DV_WikiPage.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18323 major; Normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [11:44:10] 03(mod) Add functionality to watchlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18258 (10pbirken) [11:47:10] 03(mod) Error in SMW_DV_WikiPage.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18323 (10dasch_87) [11:54:36] 03(mod) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 +comment (10herbythyme) [11:55:46] 03(NEW) duplicate fieldname in search form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18324 minor; Normal; MediaWiki: Search; (hartman) [11:59:57] 03(NEW) Adds File namespace in oc - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18325 enhancement; Normal; MediaWiki: Images and files; (cvalmary) [12:00:49] What right(s) are needed to place blocks? [12:01:15] block [12:02:15] so if you have hideuser but not block, then you can't do it, right? [12:02:42] probably not [12:03:45] k, thanks [12:03:55] why does it matter? [12:03:55] 03(mod) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 +comment (10FT2.wiki) [12:04:12] that bug :) [12:04:32] 03(mod) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 (10FT2.wiki) [12:09:02] 03(mod) Spam not being deleted from OTRS system - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18042 (10wikipara) [12:09:08] 03(mod) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 +comment (10agarrett) [12:09:15] *werdna comment'd [12:12:41] 03(mod) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 (10FT2.wiki) [12:14:22] Hello [12:16:01] anybody out here? [12:20:26] !ask [12:20:26] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/getting-help-on-irc > for a good explanation of getting help on IRC. [12:21:33] *Splarka stares at 18324 [12:21:42] okay.... https://bugzilla.wikimedia.org/show_bug.cgi?id=17161 [12:21:57] > the "fulltext" parameter in the default submit [12:21:58] button doesn't get submitted by Internet Explorer if you hit enter in a text [12:21:58] field. [12:22:00] i only wanted to chat not to ask a question stupid bot -.- [12:22:04] ack, damn bugzilla hard wrapping [12:22:42] *Splarka thinks [go] is the intended behavior [12:22:50] SG`David: So ask it [12:23:00] chat? [12:23:02] what is chat? [12:23:09] there are no felines here [12:23:33] i dont wanted to flirt only normal nice Chatting -.-- [12:23:41] How are you? [12:23:53] SG`David: I kid, but... this is not a chat channel, really. It is a support channel for the MediaWiki software. Please try #defocus [12:24:21] hi Splarka Splarka [12:24:38] okay thx [12:24:40] #defocus [12:24:49] rar Niker [12:25:00] ^nike, even [12:27:13] 03(mod) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 (10herbythyme) [12:30:38] 03(mod) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 +comment (10lar) [12:47:02] for the developer meet-up, join #wmcon [12:53:04] hi folks, is there some extension available for easy translation of content using one wiki? [12:53:42] DarsVaeda: not yet [12:53:51] is there some planning for this? [12:54:00] I'm working on one [12:54:04] something in development internal or ex... [12:54:08] cool [12:54:59] will you do it database wise or just by creating new pages like Pagename_(en) or some? [12:55:51] the idea is to split the pages to sections and use the existing infrastructure of the Translate extension [12:58:53] 03aaron * r49149 10/trunk/phase3/includes/ (LogEventsList.php specials/SpecialRevisiondelete.php): RevisionDelete log extract query optimizations [12:59:42] hi RoanKattouw [12:59:44] *Splarka springs roan trap [13:01:10] roan: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#API:_backlinks_for_several_pages_in_one_request.3F maybe you can leave a clarification there [13:09:26] 03(RESOLVED) Imagemap with an .ogg file spit outs DOMExceptions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13316 +comment (10innocentkiller) [13:09:28] 14(DUP) duplicate fieldname in search form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18324 +comment (10innocentkiller) [13:10:06] 03(RESOLVED) duplicate fieldname in search form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18324 +comment (10innocentkiller) [13:10:10] 03(mod) In [[Special:Search]], there two named "fulltext" control tags. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18316 +comment (10innocentkiller) [13:12:10] 03(NEW) Chmod error when moving images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18326 normal; Normal; MediaWiki: File/Repo; (duke33) [13:14:51] 03(mod) Date in occitan - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18308 (10cvalmary) [13:23:02] 03(NEW) Update specialpage on occitan wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18327 enhancement; Normal; MediaWiki: Special pages; (cvalmary) [13:23:59] 03demon * r49150 10/trunk/phase3/languages/messages/MessagesOc.php: (bug 18325) Add File: nameespace to Occitan language. Used old 'Imatge' as b/c redirects. [13:24:14] 03(FIXED) Adds File namespace in oc - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18325 +comment (10innocentkiller) [13:25:09] 03(mod) Adds File namespace in oc - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18325 (10cvalmary) [13:27:58] 03demon * r49151 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiPurge.php): (bug 18311) Purging images via the API now works. This is why we should use articleFromTitle() rather than new Article(). [13:28:00] 03(FIXED) purging images doesn't work. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18311 +comment (10innocentkiller) [13:34:34] How do I add 'styles' to my local mediawiki installation? For instance, if I get the source of this page: http://en.wikipedia.org/wiki/Xsd#Example, and post it to my local mediawiki, I don't see nice colors, and is not recognized [13:34:55] MmikeNekud install GeshiHighlight extension [13:35:02] !geshi [13:35:02] --mwbot-- there are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [13:36:22] 14(DUP) Update specialpage on occitan wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18327 +comment (10innocentkiller) [13:36:24] 03(mod) Update Special:Wantedpages cache on Chinese Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18178 +comment (10innocentkiller) [13:36:50] 03(mod) Update Special:Wantedpages cache on Chinese Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18178 (10innocentkiller) [13:37:18] Platonides, thnks, i'll look that up [13:37:23] :) [13:46:18] 03aaron * r49152 10/trunk/phase3/includes/specials/SpecialRevisiondelete.php: Tweak/fixes to r49149 [13:47:33] *werdna drinks about 5 glasses of fluid [13:49:38] 03aaron * r49153 10/trunk/phase3/includes/specials/SpecialRevisiondelete.php: Correct empty case for r49149 [14:02:26] 04(REOPENED) Parser Cache's {{SERVER}} becomes "localhost" with maintenance scripts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18274 +comment (10innocentkiller) [14:09:13] hello, how could I correctly change the default skin of my wiki? [14:10:46] 03(FIXED) $wgMinimalPasswordLength's default should be 1 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18222 +comment (10innocentkiller) [14:11:15] <^demon> moradan: http://www.mediawiki.org/wiki/Manual:$wgDefaultSkin [14:12:05] thanks [14:12:24] <^demon> no problem. [14:23:09] after searching mediawiki.org for some time, i can't find the answer to this simple question: how do i include the user comments (or at least some number of initial characters of it) in the title of the rss/atom feed entries for RecentChanges? [14:23:34] by default only the page title is shown. you have to open the article to see the comments. [14:46:56] 03simetrical * r49154 10/trunk/ (4 files in 4 dirs): [14:46:56] Remove superfluous border="0" from images [14:46:56] This should be (and appears to be) handled just fine by CSS. If it [14:46:56] breaks in any skins, those should have an appropriate CSS rule added. [14:53:11] dsamn, I can't let this go. [14:53:17] http://jimbojw.com/wiki/index.php?title=RegexParserFunctions [14:53:27] this extension is so close to an arbitrary remote execution vulnerability [14:53:33] trying to find it [14:54:22] This is the only validation code on a preg_replace where you can specify the pattern and the replacement [14:54:26] $acceptable = '/^([\\/\\|%]).*\\1[imsu]*$/'; [14:54:28] if (!preg_match($acceptable, $pattern)) return wfMsg('regexp-unacceptable',$pattern); [14:54:39] *werdna sneaks a /m modifier on that regex. [14:57:13] How could you possibly get a remote execution vulnerability from running a regex? [14:58:26] preg_replace( '/./e', 'User::newFromName( "Andrew" )->addGroup( "sysop" )', 'blah blah blah' ) [14:59:03] in general, the /e modifier on the search string eval()s the replacement before substituting it in. [14:59:11] It's a horrible idea. [14:59:44] the fun thing is that that extension uses a really fragile regex to validate it. [14:59:53] I'm trying to find a way around it to prove the point. [15:01:36] I thought /./e/ might work, but it turns out PHP dies when it sees the invalid modifier /, rather than just ignoring it [15:03:57] Simetrical: see what I'm talking about? :) [15:33:20] Could someone point me to an explanation of how to require login for editing access? [15:33:46] !prevaccess | Rich_Morin [15:33:46] --mwbot-- Rich_Morin: For information on preventing access to your wiki, please see . [15:34:00] tnx! [15:36:23] 03demon * r49155 10/trunk/phase3/includes/Article.php: Remove stray $wgTitle [15:39:09] Platonides, I installed geshi extension (i'm using debian, so I did apt-get install mediawiki-extensions and then added link to /etc/mediawiki-extensions/extensions-enabled), but still when I enter mediawiki just displays that tag... [15:40:46] I also installed php-geshi package, because when I enabled geshi extension mediawikis PHP complained about not beeing able to find geshi.php [15:46:34] 03rotem * r49156 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: Localization update for he. [15:57:34] !upgrade | Dr_Jekyll [15:57:34] --mwbot-- Dr_Jekyll: http://www.mediawiki.org/wiki/Manual:Upgrading [16:14:22] Hi everybody [16:14:43] Can sombody help me with Mediawiki - got some DB problems. [16:14:45] ? [16:16:16] which db problems? [16:16:33] ialex: problems. with the db [16:16:54] on some pages I got errors like that: [16:17:29] flyingparchment: very helpful... [16:17:39] http://rafb.net/p/Je8gH492.html [16:18:07] It probably has to do something with the update that i did recently. [16:18:27] But when cheking "version" of mediawiki everything is ok. [16:18:57] the wiki adress is: http://www.larp.pl/Watershed [16:19:05] Abdel: did you run maintenance/update.php? [16:19:43] yes but i got error there too [16:19:57] Error: 1146 Table 'mage1.wiki_protected_titles' doesn't exist (localhost) [16:20:19] I runned wiki installer after puting the new script on server. [16:21:07] So I think the datbase is already updated. [16:21:25] Not sure thought how to check it. [16:21:43] it's not updated [16:22:28] protected_titles was added in 1.12 and category in 1.13 [16:22:36] Hmm ok - and can you advice me if the update script is upgrading DB only from latest version ? [16:23:12] it should apply updated for all versions [16:23:56] damm then it does not work properly. I will probably have to try using update scripts one by one. [16:24:18] Thanks for advice ialex [16:24:21] the wiki seems to work now [16:24:53] some pages do work but some does not. [16:25:04] see for example: Kategoria:LARP [16:25:16] or Watershed... [16:25:18] yeah [16:25:58] Abdel: which did you use before 1.14? [16:26:21] sec. i will check it [16:29:06] got it : MediaWiki 1.11.2 [16:29:40] ok i've tried (only tried) to upgrade my wiki formerly, but now i know this channel...the first question: do i have to do something with the charset when SHOW CREATE TABLE text; tell me DEFAULT CHARSET=latin1? [16:30:02] it's german [16:30:41] the specialchars are loking strange in the sql-dump [16:31:38] ialex: Can i manualy execute some update commands ? If yes where can i find them ? [16:31:59] Abdel: you mean directly on the database or command line? [16:34:04] ialex: I don't have command line access but can upload&execute some update scripts using browser. I can also manualy do updates using phpmyadmin but to my mind it will take age's to generate all commands. [16:35:01] Abdel: see http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.14#Alternative_2:_Re-run_the_installer [16:36:23] ialex: I did it yet but can give it another try. [16:36:32] ah [16:40:38] Hmm my fault - i have not given the right prefix on installer :/ [16:40:43] Sry for taking your time [16:40:50] no problem :) [16:41:18] thx very much :) [16:43:44] *Simetrical has an interview for valedictorian in a couple of hours, ugh [16:44:16] for what? [16:47:26] For the valedictorian for the class of 2009 at City College's college of liberal arts and sciences. [16:47:33] (City College of New York, that is) [16:48:31] "Valedictorian is an academic title typically conferred in North America upon the highest ranked student among those being graduated from an educational institution." [16:48:35] can't you just get that from exam scores? [16:50:42] Well, the top handful of students get interviewed, in practice, and they pick the one they want to give the speech. Valedictorians have to give a speech, and sort of represent the college. [16:50:50] So there's an interview as well [16:50:51] . [16:53:00] so chrome on vista doesn't show the web page title in the title bar... that's rather annoying [16:53:07] (since the tab is usually too small to display it) [16:53:21] Their "only tabs" design is kind of weird. [16:53:27] I guess it gives you some extra screen real estate, though. [16:53:42] Tabs squishing down to unreadability is a definite UI problem with Chrome, though, I've heard. [16:54:06] They don't like the other solutions, like multiple rows or arrows to scroll or dropdowns. [16:54:12] Personally I like multiple rows of tabs if there are too many. [17:09:58] 03(NEW) mwdumper java.lang.IllegalArgumentException: Invalid contributor - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18328 critical; Normal; mwdumper: general; (robertb) [17:25:07] http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.14#Alternative_2:_Re-run_the_installer [17:25:38] Step 4: tells me --> To complete the installation, move config/LocalSettings.php to the parent directory. [17:26:06] how to start the installer now? [17:27:14] you need to delete the LocalSettings.php files in confg/ [17:27:18] +i [17:27:23] ahh^^ [17:27:56] thx [17:31:29] HI, I'm importing data dumps data with mwdumper to mediawiki [17:31:31] i'm not sure if i set a Database table prefix: in my original installation, could i get it from somewhre? [17:31:39] 3,617 pages (0.245/sec), 1,677,000 revs (113.631/sec) [17:31:44] is this speed normal? [17:32:36] Dr_Jekyll: In your old LocalSettings if you haven't deleted it, or you can connect to the DB by phpmyadmin and look for a common prefix of all mw tables... [17:33:13] yes i'm looking at the old localsettings but haven't found it [17:33:31] got it [17:33:39] $wgDBprefix = ""; <-- no prefix [17:33:57] then there is no :) [17:34:42] ok the charset...it's a german wiki [17:35:16] i'm not sure which charset the database is using [17:35:50] phpmyadmin shows on the database overview utf-8 and SHOW CREATE TABLE text; tell me DEFAULT CHARSET=latin1? [17:36:08] 03philip * r49157 10/trunk/phase3/ (6 files in 4 dirs): [17:36:08] 1. Rewrite code for parsing http request header to get supported language variant. Now the current code is written for every language if they do need this. [17:36:08] 2. Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-' after some parsed math syntax. [17:36:08] 3. Update the Chinese conversion table. [17:41:26] Robots.txt is a live hack for WMF wikis, right? [17:41:45] !defaultsettings [17:41:45] --mwbot-- For the current version of DefaultSettings.php, see: . [17:46:47] Marybelle: yes [17:46:58] Thought so. Thanks. :-) [17:51:24] 03philip * r49158 10/trunk/phase3/languages/LanguageConverter.php: Follow up on r49157, remove an unused variable. [18:15:26] 03(mod) AbuseFilter log shows the contents of deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18043 (10wikiwodup) [18:24:39] 03(NEW) New namespace alias in ca.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18329 enhancement; Normal; Wikimedia: Site requests; (xaviersmp) [18:26:53] update has been done - seems to be ok, but in statistics i miss around 1000 pages... [18:31:55] Try running a maintenance script? [18:32:07] There are some to regenerate stats and such. [18:38:56] Marybelle thx, is it this --> Extension:Maintenance [18:39:19] No. There's a maintenance directory inside the main MediaWiki folder. [18:39:27] With PHP scripts in it. [18:40:12] Marybelle, php, really? :P [18:40:21] *Marybelle stabs Reedy. [18:40:26] There are other languages, y'know. :P [18:40:34] ohrly? [18:41:39] Marybelle i got the right help file --> Manual:Maintenance scripts - but i'm using windows and don't know how to connect via console (cmd.com in windows?) [18:42:00] Something like that, yeah. [18:42:08] just cmd in run [18:42:29] $ ssh username@your.domain.com [18:42:37] <-- this works in windows? [18:42:48] oh [18:42:52] let me try... [18:42:53] probably not [18:43:02] First, do you have shell access to the server? [18:43:09] (ie is it linux/similar?) [18:43:09] no shell access [18:43:15] ssh wont work then [18:43:29] and windows wouldnt have it command line installed anyway [18:45:37] this means i can't get it work without shell access? [18:45:53] !maintenance [18:45:53] --mwbot-- I don't know anything about "maintenance". You might try: !adminsettings !createandpromote !shell [18:45:57] pah [18:47:14] Dr_Jekyll, you probably want to look at something like http://www.mediawiki.org/wiki/Manual:Upgrading#Alternative_1:_phpShell [18:49:03] 03(mod) New namespace alias in ca.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18329 +shell (10raimond.spekking) [18:52:30] Reedy thx i'll try phpShell [18:52:56] Simetrical: Besides rev_user_text, where else is user name stored in the DB? [18:53:53] users table? :P [18:54:01] RAWR. [18:56:22] i have to been gone - i think i killed the server :/ [19:00:18] *grml* there is no reaction from the server...time for weekend and wait for the hoster to fix this ;) [19:04:34] hi there [19:10:14] hihi [19:12:17] any tools specifically for undoing ' [19:12:30] mathmatical attack' [19:12:47] wiki got spammed... advice on mw.org is too generic. [19:15:15] hello [19:15:19] hi [19:15:32] Extension:Configure is problematic [19:16:35] is anyone able to help [19:16:40] versions plz [19:17:20] I'm on SVN build of MediaWiki, and the latest snapshot build of Extension:Configure [19:18:32] trunky trunky [19:18:41] Guest38250: trunk? [19:18:56] yes, I'm using the trunk version of MediaWiki, and snapshot configure [19:19:07] I'd suggest vershie vershie [19:19:27] If you saw your talk page I left you a message! [19:19:41] me? [19:19:56] no, ialex [19:20:00] oh [19:20:29] anyway, what's your username over at mediawiki.org? [19:20:44] Guest38250: I saw it yes [19:21:07] do you know what I need to do to fix it? [19:21:24] I locked my wiki so I can fix it! [19:22:10] can I merge anonymous edits? [19:22:26] I don't know... [19:22:29] and then undo them all in one go? [19:23:31] 03ialex * r49159 10/trunk/phase3/ (4 files in 4 dirs): Moved "successbox", "errorbox" and related CSS classes from monobook/main.css to common/shared.css so that they are available in all skins [19:26:09] is here somebody that knows about mwdumper? I'm trying to modify it so the data is written in gzip format to mysql but I can't get it working... [19:26:36] ing? [19:26:37] ialex, do you know what's gone wrong? [19:26:42] Sunwell5: I don't have a "$cache" variable in languages/Language.php on line 2389 [19:26:59] should I get the SVN build of your extension? [19:27:01] line 2389 is "$fbMemcKey = wfMemcKey('fallback', $cache['fallback'] );" in SVN HEAD [19:27:41] How does configure deal with that? [19:27:53] Sunwell5: trunk from Special:ExtensionDistributor is the same as SVN HEAD [19:28:02] I see! [19:28:53] I'm on r49159 of mediawiki [19:31:56] If I set up efConfigureSetup(); the wiki works, but if I add a value it causes the extension to crash [19:32:50] the $wgDBname param? [19:33:14] $wgDBname is metawiki [19:34:31] Notice: Undefined variable: cache in C:\www\vhosts\en.wikisite.org\languages\Language.php on line 2389 came back again when I added $wgDBname to Localsettings.php in efConfigureSetup($wgDBname = "metawiki"); [19:35:23] the error always happens [19:35:39] 03(NEW) Restore Article.php - pageCountInfo( $title ) to public access - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18330 minor; Normal; MediaWiki: General/Unknown; (michael.daly) [19:36:44] ialex, please can you tell me what's wrong? [19:37:57] I think I figured it out ialex - is efConfigureSetup('$wgDBname'); correct? [19:37:58] Sunwell5: can you paste your languages/Language.php in a pastebin? [19:38:08] Sunwell5: so [19:38:24] http://rafb.net/p/xrRJPM48.html [19:38:40] Sunwell5: that's wrong [19:38:53] What should it be then for $wgDBName? [19:39:11] efConfigureSetup( $wgDBname ); [19:39:35] ialex, that was how I had it originally [19:40:38] however, was I wrong with that pastebin? [19:41:04] Sunwell5: also yes :) I want the languages/Language.php file ;) [19:41:41] hi ialex [19:42:00] http://rafb.net/p/Veo00W28.html for Languages/language.php [19:42:19] hello Nikerabbit [19:43:10] *ialex is blind [19:43:21] *really* [19:43:23] why? [19:43:41] wasn't able to see $cache in "$fbMemcKey = wfMemcKey('fallback', $cache['fallback'] );" [19:43:42] ialex, that's the language.php file [19:43:54] *ialex stabs self [19:44:24] Notice: Undefined variable: cache in C:\www\vhosts\en.wikisite.org\languages\Language.php on line 2389 still appears [19:44:36] did you identify the cause yet? [19:44:41] whenever $wgDBName is used on its own in configure [19:44:51] Nikerabbit, haven't identified the cause... [19:46:52] you should speak something [19:46:55] Sunwell5, Nikerabbit: that's probably because $wgEnableSerializedMessages is false [19:47:06] Thanks! :)- [19:47:38] Sunwell5: this is not a problem with Configure ;) [19:47:53] Is Configure not compatible with trunk MediaWiki then? [19:48:20] Sunwell5: it is [19:48:21] 03siebrand * r49160 10/trunk/phase3/languages/messages/ (18 files): Localisation updates for core messages from translatewiki.net (2009-04-03 19:42 UTC) [19:48:37] setting $wgEnableSerializedMessages = false; would produce the same notice [19:48:53] ialex, how would I make it compatible with trunk apart from $wgEnableSerializedMessages [19:49:05] *in LocalSettings.php [19:49:24] that's what I meant... how in LocalSettings.php? [19:52:47] ? [19:54:56] Sunwell5: I mean that setting $wgEnableSerializedMessages = false; in LocalSettings would produce the same notice as the one you have [19:55:20] I set it to true; the extension partially works [19:56:03] 03siebrand * r49161 10/trunk/extensions/ (63 files in 57 dirs): Localisation updates for extension messages from translatewiki.net (2009-04-03 19:42 UTC) [20:01:30] thanks to all! [20:07:13] 03ialex * r49162 10/trunk/phase3/ (RELEASE-NOTES languages/Language.php): Per Sunwell5's report on IRC and my talk page: fixed a PHP notice when $wgEnableSerializedMessages was set to false [20:07:28] so... will the spam blacklist find offending edits, kill the users who made those edits and revert stuff... [20:08:37] that's in Spam Blacklist 2000 Gold XGC Premium Edition only [20:08:50] in Platinum it'll go to their school or place of work and harrass them, too [20:08:59] facefaceface: and make you a coffe also? :) [20:09:01] juright [20:09:08] I mean right [20:09:24] just tell me how much and I'll pay [20:09:29] *Mike_lifeguard too! [20:09:30] there is a spam cleanup script with blacklist that will retroactively blacklist newly added sites [20:09:51] 'newly added sites'? [20:09:58] newly blacklisted URLs [20:10:06] all it does is remove the offending edits or blank the pages that have them (to which they can not be re-added, being blacklisted) [20:10:37] does it do anything to the users? [20:10:42] no [20:10:46] ok [20:10:52] maybe you are thinking of Abuse Filter? [20:10:58] I'm thinking its easier to go by user... [20:11:11] Splarka: I never really did this before... lemmy check [20:12:50] oh d [20:12:50] oh d// Core stuff [20:13:06] ignore that [20:13:29] my a button is broken, so I always have to paste a's [20:13:41] really? freaky [20:13:54] and when the paste buffer has junk in it, i spout nonsense [20:14:02] ... [20:14:06] I was saying 'oh dam' [20:14:13] what OS? [20:14:24] I can actually touch type with C-v instead of a ;-) [20:14:31] Ubuntu [20:15:04] hmm, do alt+keypad shortcuts work in Linux? [20:15:11] alt+97 ? [20:15:20] I got 'character palettes' on the toolbar [20:15:36] tea+laptop != good [20:15:53] anyway, never mind my typing inadiquacies! [20:15:55] bah, laptop [20:15:59] heh [20:16:17] you have to do like FUNCTION+Alt+numbers, hate [20:16:28] for some reason Localsettings.php is locked down for this site [20:42:47] 03(mod) enable autopatrolling and improve patrolling user rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18237 +shell (10dungodung) [20:42:58] errr [20:43:06] uuuur [20:43:46] facefaceface: do you need somethin ? [20:44:02] sorry, just realised my qu was not necessary [20:44:03] an "A" key [20:44:12] and kinda going to get me into trouble [20:44:37] "can MediaWiki interface with my laptop's retracting cup holder?" [20:45:15] i.e. how to crack pwd... but I can just set myself as sysop since I have DB access [20:45:45] !passwordsql [20:45:45] --mwbot-- UPDATE user SET user_password=CONCAT(':A:', MD5('password')) WHERE user_name='John Smith'; This will reset the password for the user with user_name 'John Smith' to 'password'. [20:46:17] update user_groups ... [20:46:28] !rightssql [20:46:28] --mwbot-- INSERT INTO user_groups (ug_user, ug_group) VALUES ('1', 'bureaucrat'); Where '1' is your user ID, and 'bureaucrat' is the right you wish to apply. [20:46:32] but you can't "crack" a salted password, unless you have the help of a major world government or a major game system developer [20:46:54] or a rainbow trout [20:47:45] http://www.thinkgeek.com/stuff/41/tauntaun.html [20:47:52] ThinkGeek fails at failing, again [20:48:16] "We have this new cool product" "Nice, I want one!" "Haha, April Fools!" "nice, but I still want one" "Oh shit" [20:50:29] how does wikimedia commons accomplish their Special:Upload page? [20:50:59] it's much different from the "normal" mediawiki page [20:51:17] hrm... this dam LocalSettings.php lockdown sucks [20:51:25] mvatki: dirty hax [20:52:27] sound messy... [20:52:37] well, it isn't terribly... [20:52:51] mostly what they've done is add a lot of text to the top of the upload form [20:53:21] I'm interested in the topic of deployment testing for wikis. For example, tests that examine local content and configuration, both in raw and HTML versions, for problems. Pointers? Clues? Suggestions? [20:53:25] and then they've hidden t-upload in the toolbox [20:53:26] since LocalSettings.php is locked, how do I get an extension that it happens to include to spit out the database? [20:53:40] that way, when you go there, you only see: http://commons.wikimedia.org/wiki/Commons:Upload [20:54:05] 03(NEW) MediaWiki:Undelete-revision doesn't render HTML - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18331 minor; Normal; MediaWiki: Page rendering; (happy-melon) [20:54:14] and for each link there, you see &uselang in the URL [20:54:28] the text above the upload form is: [20:54:30] http://commons.wikimedia.org/wiki/MediaWiki:Uploadtext [20:54:47] Rich_Morin: Gerard Meijssen was working on something like that [20:54:50] but with &uselang they can change it easily, usually for translation, like say german: http://commons.wikimedia.org/wiki/MediaWiki:Uploadtext/de [20:55:02] what about the extra form fields? [20:55:18] but you can put other things besides languages there: http://commons.wikimedia.org/wiki/MediaWiki:Uploadtext/ownwork [20:55:40] that then changes the text and licenses dropdown appropriately [20:55:47] which form fields specifically [20:55:51] ? [20:56:23] facefaceface: what would be the best way to find out about that? [20:56:23] Authors, Date of work, other versions, categories, description [20:56:34] oh, that's all javascript [20:56:36] Rich_Morin: I really don't know... [20:56:40] dirty dirty hacks [20:56:41] he comes in here sometimes [20:56:46] try disabling javascript and loading http://commons.wikimedia.org/wiki/Special:Upload [20:56:51] drop him an email? [20:57:20] user GMeijssen I think [20:57:32] at? [20:57:39] this chan [20:57:53] I see none of those things when javascript is disabled. [20:58:00] google him up, I'm sure you can find some point of contact [20:58:08] so, is this done with Gadget extension? [20:59:26] mvatki: no, Gadgets does nothing but add a way to add/remove javascript in prefs [20:59:39] site and user javascript has no need of that extension, other than convenience [21:00:20] I see [21:00:37] 03(mod) MediaWiki:Undelete-revision doesn't render HTML - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18331 +comment (10alex.emsenhuber) [21:01:03] *Splarka checks their JS [21:01:07] http://en.wikipedia.org/w/index.php?title=Wikimedia_Foundation&curid=18618509&diff=281571442&oldid=281000218 [21:01:12] Err.. wrong channel. [21:01:50] mvatki: http://commons.wikimedia.org/wiki/MediaWiki:Upload.js I think [21:02:16] also: http://commons.wikimedia.org/wiki/MediaWiki:UploadForm.js [21:02:45] yikes, big and spammy [21:02:53] facefaceface: would that be gm...@irc.freenode.net ? [21:03:11] Rich_Morin: I doubt it.. /help [21:03:21] no, I assume there needs to be a channel in there somewhere... [21:03:28] wut? [21:03:32] mvatki: I do not advise copying this verbatim, this would require a group of javascript gurus to maintain safely [21:03:38] /help stuf... [21:03:46] you can look him up [21:04:10] so these pages are called from MediaWiki:Uploadtext, then. So, what should I do then? [21:05:09] no, they are called from Common.js [21:05:36] you'll probably want to ask them how to do it [21:05:38] Marybelle, user_name, rev_user_text, rc_user_text, ar_user_text, img_user_text, oi_user_text, fa_user_text [21:06:00] fa? [21:06:05] That's flagged revs related? [21:06:10] alright [21:06:17] No. [21:06:31] filearchive [21:06:40] mvatki: #wikimedia-commons [21:06:45] Psh. [21:06:58] The only real concern is rev_user_text, though. Changing user_name is trivial. :P [21:07:07] rc_user_text is finite. [21:07:14] rc is hot. [21:07:20] Possibility for heavy locking. [21:07:25] Although also fast to change. [21:07:33] archive and revision are the big culprits, though, yeah. [21:07:36] You could just skip it altogether and wait for the rows to fall off. [21:07:42] You could, yes. [21:08:02] Brion wants a self-renaming thing, which is fine, but "perfect is the enemy of done" and all that. [21:08:23] Restricting renames to bureaucrats is a bit silly. I don't see a whole rash of renamings if you give admins the ability, TBH. [21:08:49] a) too many admins :) [21:09:01] b) if you rename a more privileged person, theyre now fucked [21:09:06] Yes, but most don't do anything. :P [21:09:22] Fucked? [21:09:22] If they were faster, more easily reversible, and left cleaner paper trails for the users involved, there would be no problem. [21:09:23] c) enough admin accounts means a higher liklihood of an account falling into bad hands [21:09:35] Marybelle: cant login if you dont know your account name [21:09:41] You'd have to check the rename log. [21:09:44] grawp admin? :P [21:09:45] We do have logs for such things. ;-) [21:09:52] That's a problem for newbies, but not so much for high-privilege users, I expect. [21:09:58] doesnt help much if your name changes every second [21:10:02] *Splarka renames brion to I_get_my_nick_back_after_code_review [21:10:07] It's a real problem if your account can be arbitrarily renamed without a by-your-leave. [21:10:15] yups [21:10:27] brion, well, nor if it gets blocked every second. [21:10:28] brion: That would only happen if you had a compromised admin account, though. At which point you can do lots of other nasty things as well... [21:10:36] Adminbots are a problem regardless. [21:10:45] we have WF on en wikt and en pedia who becomes an admin at least once a year [21:10:47] as an example. [21:10:50] You could redirect everyone to evil.com if you liked, and steal all their cookies. [21:10:56] WF? [21:10:59] wonderfool [21:11:00] WonderFool. [21:11:07] blocks people, deletes the home page, etc. [21:11:08] mmm, cookies [21:11:13] If you're giving the right to trusted users, there's always a possibility of misuse. [21:11:14] after months of being well behaved. [21:11:24] But I don't see a high enough likelihood to keep renamings restricted. [21:11:25] I"m sure there are other sleeper sysops :-P [21:11:31] Simetrical: my favorite scenario is merging several thousand revisions from different articles [21:11:41] delete, move to, delete, move to, undelete all [21:11:42] I mean, it's far easier to insert nasty JS into MediaWiki:Copyright and infect thousands of users. [21:11:56] And it would be trivial to hack an admin account to further those ends... [21:12:12] But we don't require bureaucrats to edit system messages. [21:12:13] Splarka, stealing everyone's session cookies and doing nasty things with their accounts is probably worse, although a lot harder to pull off. [21:12:22] cache [21:12:36] So insert it in a system message that allows raw HTML. [21:12:55] Cache has its limits. [21:12:56] Anyway, IMO, the point is that renaming sucks as-is. If it were painless, quick, and transparent, then there'd be no big problem. [21:12:58] how many of those are left? besides, can be immediately spotted and reverted [21:12:59] Which there are still quite a few of. [21:13:11] It can only be reverted if somebody notices. [21:13:12] Splarka, not before you get hundreds of session cookies. [21:13:16] Or thousands. [21:13:23] Thousands. [21:13:28] "and do nasty things with their accounts"... like what? delete and merge articles! heh [21:13:46] Not to mention passwords. If you can add some JS to the login form through some system message . . . [21:14:01] there is, AFAIKT, no roadmap for recovery from that, other than manually checking each revision to remap them back to the original articles, or writing a maintenance script to do so [21:14:19] it depends how lagged the toolserver is [21:14:26] Gadgets load on Special:ChangePassword, Simetrical. [21:14:35] So if you have an unwatched gadgets page, it's an easy target. [21:14:40] mmm, gadgets [21:14:43] Anyway, the point is, security isn't the primary concern here. [21:14:45] but gadgets are cached [21:14:46] Or shouldn't be. [21:14:56] Using cache as a security mechanism is like... [21:15:19] No, the primary concern is the revision and archive tables. [21:15:27] Sim is talking about raw when first enabled [21:17:25] Is there a bug open about disabling all JS on Special:ChangePassword? [21:17:38] yes [21:17:40] sort of [21:17:50] https://bugzilla.wikimedia.org/show_bug.cgi?id=16805 [21:17:57] I filed it. >_> [21:18:06] splarka, thanks for the explanations. [21:18:36] http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes [21:18:48] Splarka, why are you not in berlin?! [21:18:59] rainman-sr: I am not a developer [21:19:04] hi rainman-sr [21:19:18] actually, I don't know what I am, bored I guess [21:19:46] rainman-sr: Got a second for a Lucene question? [21:20:02] rainman-sr: btw, the new search system seriously rocks, you can actually find shit now [21:20:21] hmm [21:20:26] Yeah, search is actually awesome now. [21:20:41] I found myself searching on Wikia and thought "WTF, this search sucks, it doesn't have spelling corrections". :) [21:20:42] I usually am seriously against duping up [21:21:07] Splarka: "there is a spam cleanup script with blacklist that will retroactively blacklist newly added sites [21:21:13] but this bug has much more info and discussion than yours, Marybelle: https://bugzilla.wikimedia.org/show_bug.cgi?id=18186 [21:21:28] where is that script? [21:21:42] mmm... [21:21:48] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SpamBlacklist/ [21:21:50] cleanup.php [21:21:55] tyty [21:21:55] but it looks a bit outdated [21:21:59] ohoh? [21:22:03] I wouldn't dupe up unless someone resolves FIXED the top one. [21:22:16] based on the observation that it hasn't been edited in 2 years, face [21:22:23] Esp. as I just memo'd ^demon about the lower one. [21:22:57] What was that Lucene trick you showed me? incategory: or something? [21:23:01] Marybelle: I think yours is WONTFIX, some people like JS on userrights [21:23:22] Fuck 'em? [21:23:28] or you [21:23:32] I was more concerned with Special:ChangePassword than Special:UserRights. [21:23:32] someone gets penetrated [21:23:36] heh [21:23:42] for even site-wide JS? [21:23:47] Site-wide JS is fine. [21:23:51] Gadgets and user JS is not. [21:24:07] then it is a gadget component, -> https://bugzilla.wikimedia.org/show_bug.cgi?id=18186 [21:24:52] Even site-wide JS... the use-case for JS on the page seems low enough that you might be better off just requiring client-side-only JS. [21:25:08] How many people actually use JS on Special:UserRights? [21:25:13] A few stewards? [21:25:41] wouldn't protect most people anyway [21:25:59] if you get control of their JS you can do ajax requests and screen scrape [21:26:07] you know why JS is disabled on preferences, as far as I can see? [21:26:12] The idea to not have a JS page somewhere on-wiki vulnerable to a dangerous escalation by an infected bureaucrat. [21:26:19] the preferences form, with a little corruption, can fill the prefs blob with random shit [21:26:29] Or an infected steward. [21:26:45] Marybelle: as stated, disabling user JS on one or two pages won't stop ajax vulnerabilities [21:27:06] 03(mod) MediaWiki:Undelete-revision doesn't render HTML - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18331 (10happy-melon) [21:27:09] you can just force the user to send an ajax request to Special:UserRights, get the form, scrape for token, send it back [21:27:21] however [21:27:38] disabling it anywhere the password can be entered does make sense, you can't easily sniff that without JS on the page itself [21:27:50] You've given me a headache. [21:27:54] that can be worked around (spoofing the ChangePass page via JS) but not easily [21:27:58] trying to explain [21:28:05] so it does make lots of sense to disable it for ChangePass [21:28:09] but it does not, for UserRights [21:28:23] Marybelle, yes, someone was distracting me here, shoot [21:28:39] rainman-sr: There's a way to search for pages in a specific category, right? [21:28:41] that wasn't me :) [21:28:42] how do I rollback all edits from user X? [21:28:48] Nuke [21:28:49] Marybelle, kindof [21:28:51] Does that feature support wildcards? [21:28:55] ty [21:28:56] oop, that only deletes [21:29:02] why is there no Nuke for rollback dammit [21:29:04] incategory:*stubs ? Or something? [21:29:07] oh... [21:29:12] Marybelle, no, but it could in principle [21:29:30] facefaceface: open their Special:Contributions/username with ?bot=1 parameter, go to limit=500 or however many, and open all rollback links in new tabs [21:29:31] Should I file a bug? Someone was asking about finding direct uses of stub categories. [21:29:59] Splarka: it was a big attack... like 10's of 10000s of hits [21:30:07] sorry 10s of 1000s [21:30:19] Marybelle, yeah you could open a but.. but aren't those categories added via templates? if so then incategory: magic wouldn't work [21:30:25] dunno then [21:30:38] rainman-sr: The idea was to find the ones that weren't added with a template and fix them. ;-) [21:30:42] but ... my contract!!! YOU OWE ME!!! [21:30:44] ah :) [21:30:46] I'll file a bug. [21:30:58] What's the exact parameter name? incategory: seems to not be it. [21:31:00] thanks for your help though dude - I got lots of ideas now [21:31:20] It is, I believe. [21:31:23] 03(mod) Separate privileges for redirecting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17461 +comment (10ipatrol6010) [21:31:24] it should be incategory [21:31:37] unless something is broken [21:32:01] which table logs IPs of anonymous edits? [21:32:18] Ahh, it has to come last. I was putting it first. [21:32:57] http://en.wikipedia.org/w/index.php?search=incategory%3ALiving_people+Martin&ns0=1&ns1=1&title=Special%3ASearch&fulltext=Search&fulltext=Search versus http://en.wikipedia.org/w/index.php?search=Martin+incategory%3ALiving_people&ns0=1&ns1=1&title=Special%3ASearch&fulltext=Search&fulltext=Search [21:33:13] rev_user_text? [21:33:16] 03(mod) Certain Special: pages should not import JavaScript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16805 (10herd) [21:33:35] Marybelle: just so much wrong with that bug, sorry [21:33:44] *Marybelle shrugs. [21:33:46] facefaceface, yes, also rc_user_text, and maybe the checkuser table. [21:33:52] Maybelle, yeah, it takes everything after incategory as category name, unless you specify another incategory [21:33:56] should be CSS /and/ JS, should be just for that extension, shouldn't be site JS, shouldn't be on userrights %_% [21:34:05] (so you don't need to use underscores) [21:34:11] rc_user_text - which table? [21:34:40] facefaceface, recentchanges [21:34:45] tyty [21:35:10] 03(NEW) Lucene's incategory: parameter should support wildcards - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18332 enhancement; Normal; MediaWiki extensions: Lucene Search; (public) [21:35:24] rainman-sr: now ya got me curious? what would I do in Berlin? other than pokle brion to go do code review [21:35:50] "hey, hey hey, look at this one, what do you think? hey, stop sleeping!" [21:36:20] :D [21:36:48] They have districts for people like you, I think, Splarka. [21:37:30] prostitute joke or holocaust joke? [21:37:37] Splarka, you could meet people, lots of interesting people here [21:37:39] The former. [21:37:41] the extermination camps were actually all in Poland [21:37:47] Yes, I've been. [21:38:11] IF they existed (joke...) [21:38:16] Heh. [21:38:33] you'd get arrested for that! [21:38:37] and the Russians killed just as many, but nobody cared, they were on our side [21:38:42] 03ialex * r49163 10/trunk/extensions/Configure/Configure.settings.i18n.php: Fixed $wgLocalMessageCacheSerialized's description so that it's really useful for the user :) [21:39:05] Reminds me of WP:OTHERSTUFFEXISTS ... [21:39:43] Stonehenge is not a henge, Bears do not hibernate, and these are berries: tomato, grape, lychee, persimmon, guava, eggplant, chili pepper. [21:40:01] 03(ASSIGNED) Lucene's incategory: parameter should support wildcards - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18332 (10rainman) [21:40:05] The hell bears don't hibernate? [21:40:06] Says who? [21:41:09] http://www.pbs.org/wgbh/nova/satoyama/hibernation.html [21:41:26] *This has led some biologists to differentiate between the hibernation of, say, jumping mice and the "winter lethargy" of bears. [21:41:53] > During a bear's winter sleep state, the degree of metabolic depression is much less than that observed in smaller mammals. [21:42:23] can be easily awoken, stable temperature, etc [21:42:24] IP 212.117.188.49 42,628 edits... [21:43:40] MediaWiki default | 6687 [21:44:04] so if I can hit rollback once per second... [21:44:38] I'll be back on monday morning... [21:46:10] find someone to add "mass rollback" or "rollback all" to Nuke [21:46:26] yeah, I'll have to do it [21:46:59] use blacklist to identify spam, pick up user, roll back all user edits... [21:47:13] rollback usually requires a certain amount of manual oversight, but if it was just one vandal with few people editing on top of them... [21:47:25] I'm guessing I can just hit a method to call rollback... [21:47:46] Splarka: anyone editing a page on top of this mess can goto hell ;-) [21:47:52] heh [21:48:23] that dude is just number 1, there are several more [21:48:47] oh, rollback might not work as well then, if they edited the same pages [21:48:50] number 20 = 94.102.60.15 | 1183 [21:49:08] somehow it should be 'concerted' right? [21:49:25] like the other day when I merged all the users into one spam user, then rolled back? [21:49:42] how would I merge anonymous edits? [21:49:42] yah, if that works with anon users [21:49:50] probably have to reattribute the edits [21:49:51] not through the extn [21:50:02] why are you so prone to attack? [21:50:06] heheh [21:50:15] my friend is a bit crazy [21:50:22] he made 1000's of wikis [21:50:34] Jimmy Wales? [21:50:54] none of them secure, none linked all sprawling and disorganized... he is a genius [21:51:01] see /maintenance/attribute.php [21:51:13] no idea if it works twixt anonies [21:53:00] Splarka: Use reassingEdits.php [21:54:01] where is that then? [21:54:13] maintenance/reassingEdits.php [21:54:39] oh, reassign [21:55:09] *Splarka notes there is a typo in attribute.php then [21:55:14] * Use reassingEdits.php [21:55:22] reassignEdits.php [21:55:27] 'assing' heh [21:56:09] A copy of your installation's LocalSettings.php must exist in the source directory. ? [21:56:25] how could it not? [21:57:29] *facefaceface tries an upgrade of the schema [22:06:00] 03ialex * r49164 10/trunk/phase3/maintenance/attribute.php: Typo; thanks to Splarka [22:06:07] *ialex hides [22:06:29] s/assignes/asses/ [22:08:56] *Splarka bites ialex [22:09:53] Splarka: remember http://en.wikipedia.org/wiki/Wikipedia:Do_NOT_bite_the_developers ;) [22:10:53] 03(mod) Automatic category redirects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3311 (10ipatrol6010) [22:11:21] stop making them out of meat then [22:26:13] from the installer "MyISAM databases tend to get corrupted more often than InnoDB databases [22:26:16] " [22:26:35] yeah, but when the latter gets corrupted, your really screwed. [22:27:48] I clicked 'Install' but its just sitting there 'waiting' [22:30:42] SET rev_parent_id = '39085' WHERE rev_id = '3912... I guess its taking so long to upate all the spam [22:44:35] Hello [22:44:52] I'm having a problem with my common.js script [22:45:23] http://rafb.net/p/iUQBwD38.html [22:46:15] please can someone help [22:47:18] probably someone [22:47:21] when they are around [22:47:24] maybe Splarka [22:47:46] thanks. I actually left a message on Splarka's talk page at test.wikipedia [22:48:38] Sunwell5: what do you do? [22:48:55] I teach computing for a living [22:49:01] mainly to schoolkids, sometimes to adults [22:49:03] cool [22:49:28] thought about trying to teach the geek kids mediawiki at some point [22:49:49] yup [22:50:20] I'm planning to run a semantic media wiki report design competition at some point, to encourage ppl to learn smw [22:50:34] *Splarka twitches [22:50:51] oh well [22:52:21] smw? [22:52:29] asking for help and then running off [22:52:34] gives me facial twitches [22:52:55] why>? [22:52:57] bye [22:54:03] what happens to a users revisions in the DB when I delete a page? [22:54:53] reassignEdits.php) [22:55:04] I'm doing some rolling back to kill time while the update runs (so I can hit reassignEdits.php) [22:55:30] I'm assuming reassignEdits.php failed because schema was old [22:55:57] btw... what happens when I run an old MW on a new schema? [22:56:11] In principle, it completely explode.s [22:56:12] es. [22:56:20] right... [22:56:25] er... [22:56:29] In practice, it will probably work for the most part as long as the versions aren't too different, but you may get some database errors. [22:57:32] *Mostly* we add tables/columns rather than deleting them, so it might work fine if it's 1.13 vs. 1.14 or whatever. Don't even try anything before 1.5, though. [22:59:52] hi Simetrical [23:00:05] bye [23:02:18] ;D [23:04:00] populate_rev_parent_id [23:05:45] right! I'm gonna click it again darn it! [23:05:56] (queries stopped, but still 'waiting') [23:06:36] Installation successful! [23:18:01] Does anyone know of a bug where changing the options on Special:PrefixIndex takes you to the sort-of-corresponding-but-wrong Special:Allpages? [23:18:40] for example, if I look at http://en.wikibooks.org/wiki/Special:PrefixIndex/User:Mike.lifeguard and change the namespace to user talk [23:19:04] then I get sent to "All pages (User talk namespace)" (although the URL is http://en.wikibooks.org/w/index.php?title=Special%3APrefixIndex&from=Mike.lifeguard&namespace=3 ) [23:19:26] there is something very wrong happening there [23:20:31] 03(mod) Special:PrefixIndex ignores trailing spaces (or underscores) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17094 summary (10mikelifeguard) [23:21:47] Mike: that was a fix in the bug of Prefixindex from= not paginating properly [23:22:13] you'd do Prefixindex:Foo and the "next page" link would be Prefixindex?from=Foo/bar which would be Prefixindex/Foo/Bar, not Foo from Foo/Bar [23:22:17] huh? [23:22:31] *sigh* [23:22:50] real world example, one sec [23:22:55] http://commons.wikimedia.org/wiki/Special:PrefixIndex/MediaWiki: [23:23:00] > Next page (Captchahelp-text/gl) [23:23:12] in the old method, that next link would take you to the equivalent of: [23:23:18] http://commons.wikimedia.org/wiki/Special:PrefixIndex/MediaWiki:Captchahelp-text/gl [23:23:21] which was pretty useless [23:23:24] so the from field was changed [23:23:41] yes, it is a bug that the from field only does a continuation, that was already fixed in trunk IIRC [23:24:09] ok, so I should not report it then, as it's been fixed [23:24:19] I /think/ [23:24:28] *Splarka looks [23:24:40] ok - I didn't see an open bug for anything like this in a quick search [23:24:52] but note that my example doesn't have to do with pagination [23:25:00] might still be the same cause though [23:25:10] yes, but the fix to pagination caused that bug [23:25:20] ahhhhhh, k [23:25:22] it is one of those "notice after scap" things [23:25:27] could Login successful [23:25:27] From BiO [23:25:27] Jump to: navigation, search [23:25:29] Welcome, Spammers! [23:25:42] what? [23:27:42] Mike: https://bugzilla.wikimedia.org/show_bug.cgi?id=16434 heh [23:27:45] you even commented on it [23:29:13] hmmm, but it actually doesn't seem to have been fixed [23:29:17] er, the new bug that is [23:29:34] oops [23:29:36] damn pathrev! [23:29:41] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialPrefixindex.php [23:29:56] see http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48845 [23:30:20] that uses 'prefix' in the text box, since the old behavior of 'from' was changed to the new paginating behavior [23:32:11] *Mike_lifeguard did O_____o [23:32:35] oh, but not reading it :) [23:32:49] *Splarka leaves comment there [23:32:55] 03(mod) Pagination doesn't work on Special:PrefixIndex with no prefix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16434 (10herd) [23:33:03] I don't see a bug associated with it, but the one you commented on might have been fixed by it too [23:33:32] hmm, or maybe not [23:33:48] that trailing whitespace strip is annoying, yah [23:36:13] updating the DB and running the latest reassingEdits.php worked, however, the HTML 'contents' of the wiki is broken in by the updated schema. [23:37:00] so I'll have to go back to backup... perhaps running latest reassingEdits.php on the old schema could work? [23:37:14] anyway, thanks for help... I'll keep trying [23:37:16] night [23:38:40] 03aaron * r49165 10/trunk/extensions/FlaggedRevs/ (3 files in 2 dirs): Updated PG [23:42:34] faceface1ace: there should be an old version of reassignEdits.php in whatever old version you have, or at least attribute.php [23:47:36] Howdy, all. Super-n00b question here: I can use maintenance/edit.php to *replace* a page, but what script dumps a single wikitext page? [23:48:05] I want to grab a page, change it, and post the update. [23:49:26] I read the maintenance/README, but I'm left scratching my head as to how to grab a single page and send it to stdout. [23:51:12] Is this possible without a bot extension? [23:52:39] *Splarka only knows how to do that from the front end... action=raw, Special:Export, api.php?prop=revisions, action=edit&externaledit etc [23:53:44] mwbot: Dump a page from commandline? [23:54:36] mwbot just logs and responds to a few dozen !macros [23:54:41] Splarka: there is, but it barfed with the 'where is LocalSettings.php' [23:54:48] ahh [23:55:54] A copy of your installation's LocalSettings.php must exist in the source directory. ? [23:56:21] anyway, I'm tyred now so I'm off... prepare to flynch... [23:56:57] 03(NEW) eliminate principal source of duplicated text table rows: unchecked undos - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18333 normal; Normal; MediaWiki: Database; (jidanni) [23:57:51] Splarka: Thanks, but I'm looking for something very simple, like maintenance/edit.php. Pass a username, page title, and boom, get the page contents. [23:58:01] Shell-style. [23:59:33] mwbot: ?!