[00:01:15] werdnum: heard of Synaesthesia? http://en.wikipedia.org/wiki/Synaesthesia [00:05:48] You guys need to get a client that colors names. [00:06:38] irssi can probably do it [00:06:51] "Make pageCond() use PK is ID is already cached" ? [00:07:17] *werdnum pokes AaronSchulz at brion-codereview [00:07:26] Simetrical: http://p.defau.lt/?a_QeTtpHxWeAKOEYFDC00g [00:07:40] change looks fine i just don't understand the commit comment ;) [00:08:49] brion-codereview: I think what he's saying is that, to load page, the condition should use the public key where available (i.e. when the ID is available). [00:08:58] for some performancy reason. [00:09:38] ah, primary key! [00:09:40] now it all makes a sense [00:09:41] *is->if [00:09:41] :) [00:09:52] Simetrical: whee, /scriptassist install nickcolor fixed that up for me :) [00:10:06] Simetrical: html version, for mwbot logs: http://files.jaesharp.com/ircsynaesthesia.html .. try pasting from http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20081210.txt for example, assigns random HTML colors based on the MD5 of username (and sanitizes them for a white background) [00:11:34] unfortunately, Splarka and Sparkie produce: 5727a02c7b20b91a30defd199291eeab 672a9bcb25dfbb731dc3b1f3b35f5ea0 which is almost the same damn color! [00:12:07] holy crap, that is pretty close. [00:12:10] WHY? [00:19:52] tanks ppl [00:23:59] AaronSchulz: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44328#c882 ? [00:28:22] 03dale * r44436 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (mv_embed.js timedTextLibs/mv_timed_text.js): fixed rewrite error that was happening with some ROE files. [00:29:50] 03brion * r44437 10/trunk/phase3/includes/Wiki.php: [00:29:50] Revert r44335 "Tweak profile calls" [00:29:51] Let the doUpdates() func get counted even when it has nothing to do; otherwise stats will be skewed to only times when there are multiple updates. Or.... hmmm. bleah. [00:30:46] morning tim [00:31:26] "DB layer compatibility with MySQL 5+ - allow both >Exec_master_log_pos and ->Exec_Master_Log_Pos in SHOW SLAVE STATUS." [00:31:28] ugh :) [00:31:30] i hate mysql sometimes eh ;) [00:31:52] *cough* /nick brion-codeREVERT [00:32:03] brion-codereview: yeahhhh :P [00:32:21] I had that as a live hack on my install for a while, and then I asked domas and he said it changed in mysql5. [00:33:07] morning [00:35:41] mornin TimStarling [00:41:16] anyone have any idea why thumbnails would be fucked up for .svg's? [00:43:03] 03brion * r44438 10/trunk/phase3/includes/ (Article.php Title.php): [00:43:03] Revert r44365 "Cleanup Title::getTouched()" [00:43:03] Rather than a cleanup, this rev seems to be adding a per-Title-object cache of page_touched. I'm a little leery of adding extra caches like this, particularly since it's not clear that it'll get consistently updated. [00:47:26] dragonfly6-7: for you or for someone else? [00:47:30] oh, you're gone [00:47:54] brion: see -tech [00:54:34] 03brion * r44439 10/trunk/phase3/includes/Wiki.php: [00:54:34] Revert r44381 "Remove noisy profiling" [00:54:34] We... like profiling? :D [00:55:16] i wonder how many :D are in the svn commit reasons to date [00:58:18] more than >:(s i hope [01:05:15] Only 65 :Ds, sadly. [01:06:08] check how many /(rollback|revert|backing out)/ [01:07:30] don't forget rolling back, pulling out, backed out, rolled back.... :D [01:07:45] that's what SHE said [01:08:11] 329? [01:08:32] And since we have a feature called 'rollback'... [01:08:45] That just MIGHT be slightly inflated [01:09:03] Depending on how many devs actually mention what part of the program they changed [01:09:12] (What? That's what svn diff is for!) [01:13:42] AaronSchulz: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44433#c888 [01:17:08] 03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10N/A) [01:17:29] 03aaron * r44440 10/trunk/phase3/includes/parser/CoreParserFunctions.php: Fix this broken crap some more [01:18:13] AaronSchulz: might be cleaner to just use $title->getLatestRevId() here [01:18:26] rather than loading the extra revision record [01:19:43] ok my eyes are glazing over [01:19:50] and it's about time to get leavin :) [01:20:02] brion: my eyes would glaze too :P [01:20:11] Configure tomorrow, maybe? :) [01:20:26] as time permits [01:20:31] yeah, fair enough. [01:20:52] Should I have a look over abuse filter or something? [01:28:50] 03aaron * r44442 10/trunk/phase3/includes/Revision.php: May as well set article ID in title [01:33:40] 03aaron * r44443 10/trunk/phase3/includes/parser/CoreParserFunctions.php: Reduce queries for pagesize thingy [03:33:28] is there a way to tell mediawiki to preserve spacing on bullet lines? [03:35:47] ? [03:36:08] say I want something like * Foo Bar [03:36:12] and I want it to show up that way [03:36:14] not Foo Bar [03:36:25] You should use a table instead. [03:36:29] is there some kind of encapsulation I can do of that line to make it keep the space [03:36:29] s [03:36:33] " " [03:36:44] yuck to   [03:36:44] hehe [03:36:46] i guess a table [03:37:46] You *could* use [03:37:53] but that's kinda made of fail :) [03:38:00] the best thing to do is use a table. [03:38:00] werd: IIRC tidy strips spaces outside parser tag extensions [03:38:04] even with white-space defined [03:38:14] bleh tables look so messy, oh wel [03:39:02] a s d f [03:39:02] a s d f [03:39:06] yah, fail [03:39:59] (might not be tidy, but something does it before it reaches your browser) [03:40:32] hey how do I get a table of contents kind of thing for each page at the top [03:40:41] i remember that happening when I used certain types of head tags or somethig [03:42:07] __TOC__ [03:42:18] weird [03:42:19] one page has it [03:42:21] one page doesn't [03:43:03] 03(mod) Update to cite.php refs: ids fixed, footnotes, globbed links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16294 +comment (10ncw33) [03:43:18] does the page in question not have any, yknow, headers? [03:43:34] also, depending on your settings, pages with 3+ headers will get one automatically [03:45:21] ah [03:45:22] 3 + [03:45:23] that's why [03:46:30] 03(mod) Update to cite.php refs: ids fixed, footnotes, globbed links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16294 +parsertest (10ncw33) [04:33:49] hiya [04:34:46] hi [04:53:08] so my newest extension is call FBConnect and integrates Facebook Connect into mediawiki [04:53:16] i thought it sounded like a good idea [04:53:43] what do u guys think? [05:04:47] Hi guys [05:05:10] heya [05:05:33] So let's say I have a category and it's [[:Category: US States]] and I want to display all of the articles that are included in that category, under a ==See Also== section on [[United States of America]] [05:05:35] is that possible? [05:06:05] When I do {{:Category: United States of America}} it just lists the description from the category. [05:06:41] !dpl [05:06:41] --mwbot-- The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [05:07:30] Splarka: wow, you guys have pretty much everything memorized, it is amazing. [05:07:33] Thanks! [05:08:02] Hey Splarka: you interested in doing an extention modification for me (a real easy one) [05:08:41] Splarka doesn't code. [05:08:43] he only writes templates. [05:08:45] *werdnum gags [05:08:49] Prom_cat|STEAM: http://img368.imageshack.us/img368/9282/vennsy7.jpg [05:09:06] haha [05:09:13] werdnum do you code? [05:09:15] and werdna doesn't think, he only codes [05:09:57] Splarka: He doesnt need to think for this one [05:10:08] its real easy, im just nub [05:10:20] Splarka, what would happen if you learnt PHP [05:10:41] you don't "learn" php [05:10:55] as far as I can tell, one day you get hit on the head and suddenly you can speak it [05:10:58] like French [05:11:46] srsly, how many commit messages do you see here that indicate a love for PHP? [05:12:07] werdnum: Bascially need the log for the following extension to only be accessible to users with a right such as [activitylog] , http://www.mediawiki.org/wiki/Extension:UserLoginLogoutLog [05:12:18] It seems like such an elementry thing, I know [05:12:26] brion * r12345 /trunk/phase3/ (includes/User.php): Easy fix with logical solution. Thank god this isn't Ruby or Perl. Phew! [05:12:38] Splarka: i have a giant mallet, i'll just wait for you to fall asleep [05:12:39] ^ that never happens [05:13:18] more often is a vernacular directive to aural fornication [05:13:44] Prom_cat|STEAM: I have other work to do. [05:17:21] whats the best IDE for php? [05:17:37] cuz i was using notepad until about half my hair fell out [05:22:07] gbruin: I use a programming editor called KATE [05:25:42] Aural fornication? You sure know how to talk dirty... [05:27:01] when editing a page, is there a way to offer "Save and continue editing"? [05:27:27] Hmmm. That's an interesting idea. [05:27:31] I was trying to talk clean... grep the code for "Fuck you php, fuck you right in the ear" [05:27:50] i'd find it useful when creating large new pages [05:28:15] I do 'save' [back] (be careful with things like sigs and subst though) [05:54:06] how do you bold something? [05:54:33] '''bold''' [05:54:41] that's three single quotes. [05:55:36] ah, thanks [05:55:47] !cheatsheet [05:55:47] --mwbot-- http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet [05:56:03] k-man: ^ [05:57:17] thanks MZMcBride [05:57:27] MZMcBride: if you want it to direct someone to something you can go ! | command [05:57:29] eg [05:57:39] That's not even true. [05:57:40] !MZMcBride | cheatsheet [05:57:40] --mwbot-- cheatsheet: I don't know anything about "mzmcbride". [05:57:50] And I'm familiar with how the bot works, thanks. ;-) [05:57:59] other way around >.> [06:00:06] !MZMcBride | p858snake [06:00:06] --mwbot-- p858snake: knows me in the biblical sense. [06:03:09] !MZMcGroom [06:03:09] --mwbot-- Have you seen my wife? I heard something about rogue adminbots [06:04:11] !botabuse [06:04:11] --mwbot-- I don't know anything about "botabuse". [06:04:46] !ignorethis [06:04:46] --mwbot-- [06:05:16] *MZMcBride pets mwbot [06:46:10] Hellow all ) Can someone tell me wich forum more workable on wiki with postgre? [06:46:55] After including dplforum, i even cant understand is it work? because i couldn't find it ))) [06:48:41] And how about AWC forum? does it works with postgre? [08:40:23] <_wooz> lo [08:40:59] hi [09:03:54] 03(NEW) subcat count > 0 for cats with no subcats on dewiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16614 major; normal; Wikimedia: General/Unknown; (bugreporter) [09:57:48] hi. what search engine is mediawiki using? [09:57:50] lucence? [09:58:55] mysql [09:59:06] there's an extention to use lucene [09:59:09] pure fulltext search? [09:59:17] extension in mysql? [09:59:26] no, a mediawiki extension [11:17:10] 03demon * r44444 10/trunk/extensions/ContributionReporting/ContributionHistory_body.php: [11:17:10] * Remove useless if (true is always true :) [11:17:11] * Use SpecialPage::getTitleFor() to get the localized specialpage name [11:38:44] hey folks. i'm getting a whole bunch of errors when i try to upload an XML file to my wiki. a couple of hundred of these... "Warning: xml_parse() [function.xml-parse]: Unable to call handler () in /home/....htdocs/includes/XmlTypeCheck.php on line 47" -- and then some headers already sent warnings. any idea what's wrong? [11:45:03] 03ialex * r44445 10/trunk/extensions/Configure/ (CHANGELOG Configure.php): [11:45:04] CHANGELOG entry and bump version: [11:45:04] * Reverted CHANGELOG part of 44430, added a note that it was removed [11:45:04] * Required core version is now 1.14 (for SetupAfterCache hook, plus some JS incompatibilities already present :P) [11:46:51] ^demon: I hate you. [11:46:56] You got r44444 [11:48:19] <^demon> werdnum: I try ;-) [11:50:58] 03ialex * r44446 10/trunk/phase3/docs/hooks.txt: document SetupAfterCache hook ;) [11:51:11] oh yeah i forgot that [11:51:14] *werdnum was naughty and lazy [11:51:18] :D [11:51:40] ialex: I *guess* I can fix that IE JS, but what else needs doing? [11:52:30] no idea atm ;) [11:52:49] Does anything else stick out? [11:55:52] mon soeur va aller au geneve a prochain an :) [11:57:33] *ialex slaps werdnum with a french dictionary :D [11:57:42] which word did I get wrong? [11:57:46] prochain? [11:57:51] (I had to look that one up) [11:58:23] "ma soeur va aller à Genève l'année prochaine :)" [11:59:05] why annee, not an? [11:59:27] also ma soeur [11:59:30] I always make that mistake. [12:02:18] you can also say "l'an prochain" [12:02:19] silly french :) [12:02:29] o rly [12:02:36] <^demon> I'm done studying french :) [12:02:47] <^demon> I've already started forgetting it. [12:02:49] *werdnum waits for ialex to fart in his general direction. [12:03:27] i speak it and write it, i'm not french however =) [12:03:29] werdnum: I'm trying to figure out how to say this in English [12:03:34] :) [12:03:48] ialex: to say what? [12:03:53] (say it in french) [12:04:26] "ma soeur" s'accorde avec "soeur" et non "moi" [12:04:52] which is the opposite of English [12:05:20] "ma soeur" agrees with "soeu", not "moi" [12:07:12] I know, I just always forget [12:07:28] I get everything else right, but I say 'mon soeur' for some reason. [12:08:04] hey. is there any way to set mediawiki to return 404 when there's no article on a certain title? [12:08:17] Why? [12:08:18] I see that by default it returns 200 "OK" [12:09:01] returning 200 when nothing is found is not a good web practice. [12:09:13] There's a bug about it. [12:10:07] But, 'good web practice' aside, the problem is that most browsers do their own 404 pages [12:10:17] which isn't good if we want to let them create an article. [12:13:17] browser aren't a good web practise [12:13:43] <^demon> The web is a fad :) [12:17:33] werdnum: "most", that is IE. [12:17:57] werdnum: and IE does that only if the 404 page returned by the server is under 1024 bytes or so. [12:20:00] ^demon: yeah, people will eventually return to gopher. [12:20:49] <^demon> bogdan: Oh why not? ;-) [12:21:15] <^demon> https://bugzilla.wikimedia.org/show_bug.cgi?id=2585#c9 - starting with Brion's comment for a discussion of why it broke last time trying 404s. [12:21:27] bogdan: ie is "a lot" for all practical circumstances [12:21:29] can you use spaces in file names for links? say, {{doc|foo/bar baz quux.pdf}} or similar? [12:21:57] or does one ave to escape the spaces using %20 or some other such means? [12:22:35] <^demon> ams: Spaces are turned to underscores. [12:22:44] <^demon> Spaces/underscores are interchangable in titles. [12:24:15] ^demon: hm, strange the linkt hat was produced was broken... [12:28:22] bogdan: at least Chrome does the same thing. [12:28:49] anyway, there are reasons for rejecting that proposal in core. [12:40:38] <^demon> Oh wow. CNN says Luke's lightsaber from the original movies is going to be available (contest? for sale?) [12:56:21] hey again ialex [12:56:29] hello werdnum :) [12:56:39] You're the ghost of ialex, who killed the real one :) [12:57:00] werdnum: xD [13:20:07] 03ialex * r44447 10/trunk/extensions/Configure/ (11 files): [13:20:07] * Added basic support for $wgAutopromote (i.e. one level only) [13:20:07] * Rewrote some part of the java script [13:20:07] * Splitted row generation for $wgAutopromote and $wgGroupPermissions in static method so that they can be used for Ajax stuff [13:20:30] and forgot to mention that API stuff will come later :P [13:21:37] werdnum: someting to fix: "Reason" filed is blank after clicking "Show changes" [13:22:38] ah, whoops. [13:25:14] 03ialex * r44448 10/trunk/extensions/Configure/Configure.obj.php: oops :) [13:37:46] ialex: I think we should snapshot configuration in LocalSettings.php, not in the hook. [13:37:59] werdnum: hmm? [13:38:00] Some stuff that's set up in Setup.php is creeping into configuration, which isn't supposed to happen I think. [13:38:29] in extract(), we record the state of globals, so we know what defaults are. [13:38:58] Now that I deferred to after memcached for DB handler, the recording has some stuff that is set up in Setup.php [13:39:16] like AutoPromote, namespace protection. [13:39:49] werdnum: split WebConfiguration::initialise(), call one part first time of efConfigureSetup(); and delay the other part? [13:40:14] well, the snapshot is done in extract() [13:40:42] but I think I should move it to efConfigureSetup() [13:40:59] sorry, have to go :( [13:41:05] okay :) [13:53:55] can i see registered user email address in the frontend (1.6.10) ? [13:56:22] Richlv: no [13:57:01] werdnum, thanks [13:57:09] db it is then :) [13:57:21] yeah. [13:57:25] there might be an extension, OTOH [13:58:55] nah, db was faster ;) [13:59:10] =) [14:09:29] Hi, can anyone here help me setup sounds on aMSN, please? [14:36:01] 03aaron * r44450 10/trunk/phase3/maintenance/rebuildFileCache.php: Add a script to filecache content pages on the wiki [14:44:30] Aaron|away: first commit of the day eh? [15:28:28] 03werdna * r44451 10/trunk/extensions/Configure/ (5 files): [15:28:28] Configure extension updates: [15:28:28] * Retain 'reason' when 'showing changes'. [15:28:28] * Change strict comparisons for radio buttons to explicit string comparisons, was causing problems on re-save. [15:28:28] * Fix a few problems with the wgAutopromote selector, including lack of proper diffs, fatals requiring DB manipulation when no conditions are set, a few other related things. [15:28:33] There's a recent problem with array inputs not showing blank lines, which I'm investigating. [15:32:04] werd: how goes the IE JS for it? [15:38:19] Splarka: eek! [15:38:22] I have to fix that at some stage. [15:38:33] 03werdna * r44452 10/trunk/extensions/Configure/ (Configure.diff.php Configure.page.php): Fixes for r44451... I must have forgotten to test this. [15:41:15] can anyone look at bug 16614? my bot is running into trouble because of these inconsistent WP-data. [15:41:36] the category-member counts suck [15:42:54] why does a purge not fix it? [15:44:36] it might work to find the subcat that was removed and null edit it, but then again it might not [16:11:34] 03(mod) Update to cite.php refs: ids fixed, footnotes, globbed links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16294 +comment (10b-jorsch) [16:12:15] I like this talkback thing displaying stuff on the recentchanges, can I use something similar to display warning messages when somebody tries to edit a page that has a specific criteria of my choosing? [16:12:52] EditNotices? [16:13:59] does anyone know of an extension where if your wiki is limited to only certain users, and users have to be logged in to go beyond the first page, that the extension will redirect a URL to the login screen and then redirect to the page after logging in? [16:14:32] BLTnoTomato: It's a built in feature [16:14:39] !userrights | BLTnoTomato [16:14:39] --mwbot-- BLTnoTomato: 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 >. [16:14:58] i wonder if I've just tried locking things down too far [16:15:02] wait, I'll built you something together [16:15:06] it doesn't work on mine... [16:15:24] !editnotices [16:15:24] --mwbot-- I don't know anything about "editnotices". [16:15:29] ;( [16:16:03] thanks, though, werdnum [16:16:10] looks exactly like what I want [16:16:21] lch: http://en.wikipedia.org/wiki/Special:PrefixIndex/MediaWiki:Editnotice [16:17:03] haha [16:17:04] http://en.wikipedia.org/wiki/MediaWiki:Editnotice-0-Proposal_of_marriage [16:18:03] that one is being copied under different names a dozen of times :) [16:18:51] BLTnoTomato: http://pastey.net/104174 add this to the bottom of LocalSettings.php Noone execpt sysops can create accounts anymore and reading is only allowed by account owners [16:21:57] wuzur, thanks. i have that included in there already. the whitelist I have has a bit more in it [16:22:15] BLTnoTomato: Does it not work? [16:22:54] the restriction works [16:23:41] but when a url to an entry is put in without having the user logged in, it redirected to a 404 [16:24:19] the time I tested it, it worked, but this has been now months ago [16:24:29] Are you using the current version [16:25:33] ^^ 1.13.2 [16:26:36] the page is redirecting to: /special:Userlogin [16:32:23] ah, i figured it out. [16:32:50] I was also running the NoAnonymous extension. once i disabled that, the redirect works [16:49:48] 03(mod) Install hanp extension parser function on Korean Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13712 (10camway) [17:08:26] bye [17:35:11] hi, I have a page object from the API, is the 'redirect' flag set? [17:35:16] else I can re-query [17:35:19] (using perl) [17:36:01] *faceface dumps [17:36:33] aparently not [17:37:38] 03ialex * r44453 10/trunk/extensions/Configure/ (Configure.diff.php Configure.page.php): [17:37:38] Fixed bug while importing $wgAutopromote from request [17:37:38] Note: it seems that I forgot to commit Configure.diff.php in r44447, sorry werdna :( [17:38:15] hmm... my dump looks like this... 'ns' => 10, [17:38:20] 'title' => 'Template:NARDatabase:Ciliate IES-MDS database', [17:38:42] does that mean I'm actually querying a page in the main namespace with a title 'magically' like "Template:"? [17:38:58] what is ns=> 10? [17:39:33] ns=> ist the namespace [17:40:02] OK, sure [17:40:07] but what is ns 10? [17:40:29] template namespace [17:40:30] cus I'm trying to look up a Template page using the API, and a bit confused about how ot do that [17:40:41] OK, thing is it says that 'redirect' => '', [17:40:47] but that page is a redirect page [17:40:57] redirects can exist in any namespace [17:41:07] wtf [17:41:08] redirect [17:41:10] http://pastebin.com/d51346d4c [17:41:13] HardDisk_WP: ping [17:41:28] http://pastebin.com/d6d466540 [17:41:34] Splarka: thats the code and the output [17:41:43] the redirect flag is NOT set, but that page is a redirect [17:42:16] perhaps the api call is being redirected? [17:42:33] http://biodatabase.org/index.php?title=Template:NARDatabase:Ciliate_IES-MDS_database&redirect=no [17:43:05] um [17:43:06] 03demon * r44454 10/trunk/phase3/ (RELEASE-NOTES includes/RecentChange.php): (bug 14843) IRC should flag redirects with "R" like it does with bots, etc. [17:43:12] "redirect": "" [17:43:15] that means it is a redirect [17:43:19] if that is missing, it is not a redirect [17:43:21] 03(FIXED) IRC rc bot should send an 'R' flag if the page is a redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14843 +comment (10innocentkiller) [17:43:47] oh, ok, thanks Splarka, I was looking for a great big redirect => "YES DAMIT!!" [17:43:53] compare: http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Foo|Foobar&format=jsonfm [17:44:10] *Splarka shrugs [17:44:25] Roan adapted much of this from yurik's code, and it is odd at times [17:44:29] Splarka: how come a page object (page query) doesn't include the redirect flag if it is one? [17:44:30] just takes some smart parsing [17:44:32] just curious [17:44:41] where doesn't it? [17:44:43] OK [17:44:55] different query, lemmy paste [17:45:09] btw: http://www.mediawiki.org/wiki/Manual:Namespaces#Built-in_namespaces [17:45:34] http://pastebin.com/d1da96a58 [17:46:13] what is the API query that produces? [17:46:26] not sure [17:47:22] that looks like data for a revision (or rather a top revision), rather than a page [17:47:29] Splarka: its a 'page' query, not an info query like yours [17:47:39] well, gimme the API query that got that [17:47:45] and then I can debug ya ^_^ [17:47:46] yeah, its a 'top revision', the benifit being it gives you text [17:47:50] well [17:47:51] right [17:47:57] revisions aren't redirects [17:47:59] Splarka: not sure how to get that out of teh Perl api [17:48:05] OK, me fused [17:48:08] they might contain text that indicats should be a redirect [17:48:11] like #REDIRECT [17:48:24] tanks for the info about ns [17:48:26] but a revision isn't a redirect, a page is, if the current text contains such a thing [17:48:53] I thought I was getting a 'page object' [17:48:58] my bad [17:49:13] in the same way, for example, a revision can contain [[Foo]], but there is no backlink on the Foo page to that revision, unless the revision was the top one for the page, as that data is stored for the page object [17:49:22] or something [17:49:26] however [17:49:33] er... [17:49:34] hehe [17:49:35] it might be possible if you can tell me the API query you're using to get that [17:49:50] and what xxprop= parameters it uses [17:50:08] or maybe Roan recognizes it offhand *poke* [17:50:13] the MediaWiki::API starts out with showing the 'specia' get_page function because people want to see that they can grab content quickly, but its a 'special' query really... I stick to the property query [17:50:24] nice link above [17:50:44] Splarka: its a revision query for the latest revision [17:50:49] iirc [17:50:54] http://search.cpan.org/~exobuzz/MediaWiki-API-0.23/lib/MediaWiki/API.pm [17:50:59] *sigh* [17:51:08] http://en.wikipedia.org/w/api.php [17:51:10] Splarka: its no longer a problem! [17:51:13] bah [17:51:16] no need to debug! [17:51:19] lol [17:51:22] thanks for help [17:51:54] I didn't *adapt* stuff from Yuri's code, Yuri wrote the API and I took over its maintenance [17:52:14] well your doign a good job damit! [17:52:55] faceface, Splarka: When using prop=revisions, you don't get to see whether a page is a redirect AFAIK. Use prop=info|revisions if you're interested in that [17:53:07] thanks RoanKattouw [17:53:36] any cgi interfaces to WP built using MW::API yet? [17:53:43] seems some nice apps could be put up... [17:53:45] Dunno [17:53:56] There are some nice apps out there that use the API [17:54:07] But those I know of are written in Javascript [17:54:37] A friend of mine smug "the problem with wikipedia is..." (you know somethign racist is coming) "the problem with MW is ... the page about a popular WW2 game has a bigger article that WW2" ... balls I replied [17:54:48] js? [17:54:50] why js? [17:55:09] monobook scripts and such [17:55:13] so I wanted ot build a 'page ranker'. it would be fun to do that [17:55:24] faceface: the ones he knows of are JS... because JS is easy to see [17:55:25] a webpage that gives you some meta data about wp pages [17:55:32] ing? [17:55:40] why not use PERL CGI ? [17:55:47] thats easy to write! [17:55:49] people pollute their User/monobook.js with it, while perl/python/cgi scripts aren't made so public by default [17:55:55] *faceface hides [17:56:00] ysee? [17:56:03] no [17:56:13] I'm talking about websites with query interfaces to WP [17:56:25] it is like asking why people wear more pants than underwear, because you see more pants, than underwear [17:56:47] I have no idea how this converstaion relates to the real world [17:56:55] js what now? [17:56:58] But those I know of are written in Javascript [17:57:04] OH... [17:57:07] the javascript aps using the API are numerous [17:57:12] and almost all publically viewable [17:57:15] I thought he said, nothing in JS [17:57:25] cool [17:57:29] where? [17:58:03] i.e. are there any apps that ... Theres certainly nothing in js !!! <- my bad [17:58:19] hmm.. [17:59:17] http://en.wikipedia.org/w/index.php?title=Special%3ASearch&ns2=1&ns3=1&ns4=1&search=api+monobook.js&fulltext=Advanced+search [17:59:20] etc [18:00:19] most use the API as an easy-to-parse ajax (or script src callback) to get info that isn't available on the current page being viewed... before the api and query, they had to scrape the pages fetched via ajax, nasty [18:01:11] for scripts like semi-automated editing (one-click templating, categorization, redirecting), meta information (show which links are redirects or disambiguations), debugging (show page limits and server), etc [18:01:32] OK, is that the way the extension that gives you search tips works? [18:01:43] cool [18:01:55] well, it is a core feature now, but yah [18:02:07] so it parses the page using JS and makrs it up according to API results [18:02:18] Splarka: is the layout of that feature core? [18:02:40] when I enabled the 'default ajax search tips' it was kinda ugly, the version on MW.org is very nice [18:02:48] well, it checks your input in the search box, and runs a prefixindex (sort of, it is a stripped down version for the search) and gives you some matches [18:02:50] is that version 'core' [18:03:04] they both are, or at least, there have been two [18:03:13] the first sucked, the last is very new, made a few months ago [18:03:27] ajaxsearch and mwsuggest, I believe [18:03:27] cool, I'll enable it and see if it flies [18:09:14] 03(mod) Category listings are not updated when deletion of or edits to a template change the category membership of transcluding pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5382 minor->major; +comment (10marcin.cieslak) [18:12:16] 03(mod) Category listings are not updated when deletion of or edits to a template change the category membership of transcluding pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5382 (10mikelifeguard) [18:14:38] 03(mod) Category listings are not updated when deletion of or edits to a template change the category membership of transcluding pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5382 (10public) [18:17:54] hello Splarka [18:18:02] rar Nike [18:32:01] 03(mod) Category listings are not updated when deletion of or edits to a template change the category membership of transcluding pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5382 (10marcin.cieslak) [18:35:50] I noticed this instruction to search for category intersections: https://secure.wikimedia.org/wikipedia/en/wiki/Wikipedia:Category_intersection#Using_MediaWiki_search_to_find_category_intersections [18:36:02] Is there a similar way to search for category unions? [18:38:20] 03brion * r44455 10/trunk/phase3/maintenance/rebuildFileCache.php: Some more verbose output and fix infinite loop if you make the block size small :) [18:45:05] 03brion * r44456 10/trunk/phase3/ (RELEASE-NOTES includes/RecentChange.php): [18:45:05] Reverting r44454 "(bug 14843) IRC should flag redirects with "R" like it does with bots, etc." [18:45:06] This doesn't work as intended; when editing existing articles, this'll pull the [18:45:06] *previous* redirection state of the article, rather than the current state, so [18:45:06] it's wrong whenever a page is changed into, or away from, being a redirect. [18:45:23] 04(REOPENED) IRC rc bot should send an 'R' flag if the page is a redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14843 +comment (10brion) [18:48:04] 03(mod) Special:Import does not consider XML namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4520 (10brion) [18:48:05] *Aaron|away saw that coming [18:49:48] I installed the math package and built texvc and when I preview an edit everything seems to work. When I save teh page I get the raw text generated as an image. I have followed http://meta.wikimedia.org/wiki/Troubleshooting_math_display_errors but no jot. Any ideas? [18:53:52] *^demon is confused By the time RC is being updated, wouldn't the title object have updated with the new information by now? Or are is it a cached object still? [18:54:13] <^demon> scratch the "are" [18:56:00] is it itchy? [18:56:29] hah [18:57:14] <^demon> Excema :) [18:57:44] hi ^demon [18:58:17] <^demon> Howdy Nikerabbit. [18:58:43] wau [18:59:25] 03aaron * r44457 10/trunk/phase3/maintenance/rebuildFileCache.php: [18:59:25] *Disabled hit counter [18:59:25] *Added 'overwrite' option [19:01:03] Splarka, pong [19:01:24] Splarka, unilinky issue again? i didnt have time to put fix live unfortunately [19:02:15] atglenn, ping [19:02:55] ow [19:02:57] hey [19:03:09] 03nikerabbit * r44458 10/trunk/extensions/MetavidWiki/maintenance/scrape_and_insert.php: * Removed something that doesn't seem to belong here [19:04:06] 03brion * r44459 10/trunk/extensions/CodeReview/ (CodeReview.php CodeRevisionView.php SpecialCode.php): (log message trimmed) [19:04:06] Revert r43991 "(bug 16049) Editable stylesheet location for CodeReview" [19:04:06] This doesn't seem to do what was requested in the bug -- the bug asked for an on-wiki editable CSS page, like the GeSHI syntax highlighting extension has. [19:04:07] This is providing a LocalSettings.php-level override for the location of the [19:04:13] extensions directory where the CSS and JS files are to be loaded... which [19:04:13] shouldn't be needed, and if it were it should be a general system for all [19:04:13] extensions to be able to use (eg to pull extension styles from a static server, [19:04:15] 03dale * r44460 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (25 files in 8 dirs): [19:04:17] * library paths re-organization for sequencer and remote search [19:04:28] 04(REOPENED) Editable stylesheet location for CodeReview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16049 +comment (10brion) [19:05:05] * mv_remote search updates [19:05:05] * some multi-language planning / stubs [19:05:05] * external_media_wizard.js mediaWiki user script external repository searching [19:05:49] ^demon, ialex have some time? [19:05:58] yes [19:06:06] Nikerabbit: why? [19:06:13] <^demon> Sure. [19:06:14] 03(mod) User editable stylesheet location for CodeReview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16049 normal->lowest; summary (10JSchulz_4587) [19:06:15] <^demon> What's up? [19:09:18] the following files might not be utf-8: ./includes/api/ApiQueryBase.php: ./extensions/DynamicPageList/DynamicPageList2.i18n.php: ./extensions/DynamicPageList/DynamicPageList2Include.php: ./extensions/DynamicPageList/DynamicPageList2.php: ./extensions/geo/geo.php: ./extensions/Randomrootpage/Randomrootpage.php: ./extensions/FlaggedRevs/phplot-5.0.5/phplot.php: ./extensions/SemanticGoogleMaps/SGM_QueryPrinter.php: ./extensions/Call/Call_body.php: [19:09:19] 03(mod) Make CodeReview stylesheet URL user editable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16049 summary (10JSchulz_4587) [19:09:36] hmm, it probably didn't all fit in [19:09:51] 04(REOPENED) please add info if accounts are not sul accounts to cu results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16445 +comment (10brion) [19:10:29] <^demon> ApiQueryBase wasn't. Is that the only one in core? [19:11:02] yes [19:11:23] 03(mod) please add info if accounts are not sul accounts to cu results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16445 normal->lowest (10JSchulz_4587) [19:12:34] 03(mod) Make CodeReview stylesheet URL user editable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16049 (10JSchulz_4587) [19:13:25] 03(mod) Enhance Renameuser to offer optional automatic recreate and/ or block of old account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15181 (10JSchulz_4587) [19:15:35] 03(mod) Enhance Renameuser to offer optional automatic recreate and/ or block of old account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15181 (10JSchulz_4587) [19:15:40] 03(mod) Make CodeReview stylesheet URL user editable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16049 (10JSchulz_4587) [19:16:16] 03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10JSchulz_4587) [19:20:29] ^demon: already did ApiQueryBase.php in r44461 [19:20:45] but it seems that CIA-8 didn't mention it [19:20:57] <^demon> ialex: Okay [19:22:12] 03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10brion) [19:23:56] hrmmmm, where's my bugmail :( [19:24:33] <^demon> I'm getting mine. [19:25:40] 03(mod) Make CodeReview stylesheet URL user editable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16049 (10brion) [19:25:45] ah i'm not cc'd on things ;) [19:25:48] this explain sit [19:26:03] 03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10brion) [19:27:22] ialex: are you fixing the rest? [19:27:37] Nikerabbit: not atm :) [19:31:49] 03aaron * r44462 10/trunk/extensions/CheckUser/ (CheckUser.i18n.php CheckUser_body.php): (bug 16445) Use more obvious text than * [19:31:55] 03(FIXED) please add info if accounts are not sul accounts to cu results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16445 +comment (10JSchulz_4587) [19:32:34] brion: don't forget that rfb_ratings schema change [19:35:29] AaronSchulz: yep it's on my pre-deploy list :D [19:36:19] <^demon> brion: On the subject of schema changes, when could we revisit the redirect changes? [19:37:18] ok let's try this shit on testwiki [19:38:33] http://test.wikipedia.org/wiki/Special:Search?search=&fulltext=Search [19:38:42] it's probably broken atm [19:38:46] some conflicts [19:39:08] applying flaggedrevs db updates [19:39:30] C includes/AutoLoader.php [19:40:04] :P [19:40:47] AaronSchulz: hmm, looks like the new Special:Search isn't taking focus to the search field when there's no search term specified yet [19:40:51] brion-codereview: you managed to make a live hack on AutoLoader O_o [19:40:58] looks like it needs a tabindex too [19:41:13] ialex: :) [19:41:53] http://test.wikipedia.org/w/index.php?title=Special%3ASearch&ns0=1&redirs=1&search=kick+ass&fulltext=Search [19:42:20] whee [19:44:18] "project" doesn't look clear enough for noobz [19:47:38] hi [19:50:47] lookiing for some additional help with uploading html documents into the wiki - please PM [19:53:12] 03aaron * r44463 10/trunk/phase3/includes/specials/SpecialSearch.php: Set focus [19:53:41] 03(mod) Weaken DISPLAYTITLE restictions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10N/A) [19:58:05] is there an extension to send wiki changes to an irc channel? [19:58:51] <^demon> yoyo[RKN]: It's built in. [19:59:13] <^demon> See http://www.mediawiki.org/wiki/Manual:$wgRC2UDPAddress and the other associated ones listed. [19:59:44] this sends only to an udp port [19:59:46] <^demon> If you had a bot to send the UDP updates to IRC. [19:59:50] Hmm. Is there anyway to hide the listing of pages that link to a certain category? If I have a few pages with [[Category:Bah]] ... I don't want the page Category:Bah to actually list them (hidden?) [20:00:23] yeah, the second part is the bot that takes the mesages and passes them into irc... and that's very poorly documented :D [20:00:43] __HIDDENCAT__ doesn't seem to work either =/ [20:01:07] <^demon> brion: Where's the code for that? Could it be packaged up as an extension? [20:01:19] I tried the netcat described here on the second topic https://wikitech.leuksman.com/view/IRCD [20:02:43] but it sends only one notification and than it stopped [20:03:09] ^demon: it's floating around in several pieces, i think it's all out there, just nobody understands it ;) [20:03:17] [1]+ Stopped netcat -ulp 9390 | epic -d -c \#rechenkraft yoyo_bot irc.euirc.net 2>&1 >irc.bot [20:05:28] <^demon> brion: Hehe :) [20:05:28] Do we know who wrote it? [20:07:00] Hi. I was thinking of installing mediawiki, but I don't have a server yet. So, I was wondering , is it possible to install it on my laptop? (so I can work with it until I get the server..) Will that work? [20:08:57] 03(mod) Implement the Interlanguage extension in Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15607 (10smolensk) [20:09:03] 03ialex * r44464 10/trunk/extensions/Configure/ (4 files): [20:09:03] * API support for $wgAutopromote [20:09:03] * drop some more 1.13 compat [20:13:36] 03raymond * r44465 10/trunk/phase3/includes/specials/SpecialWatchlist.php: Consistency tweak: Add horizental line same as exists in Special:RecentChanges [20:17:35] a decentralized wiki-net, would be good for Mediawiki http://socialsynergyweb.net/cgi-bin/wiki/ObmWikiList/FrontPage [20:21:08] Hmm. So there is no way to hide articles from a category list? [20:21:20] hey [20:21:24] not put them in the category [20:21:42] how can i make an anchor and then refer to it later? [20:21:46] s/refer/link/ [20:21:52] Er, I need them to be in a category list. [20:22:01] but not be in the category list? [20:22:13] Yeah. [20:22:15] you want to hide them from the list of uncategorized pages or something? [20:22:21] 03aaron * r44466 10/trunk/extensions/FlaggedRevs/ (2 files in 2 dirs): Remove clutter, explain better [20:22:23] or you want the category to appear on the page? [20:22:46] jbalint: on a page, and then [[Pagename#foo]] [20:22:49] I want to hide the "Pages in category "x"" that automatically appears ... because it breaks my nicely formated page. It's unecessary. [20:23:02] id="" on an html element is referrable via #urihash anchor [20:24:03] jbalint: section anchors do the same thing, also see the {{anchorencode:}} parser function [20:24:41] I have Category:Bah page ... which I have formated nicely. I also have an article, which at the bottom has [[Category:Bah]]. However, adding [[Category:Bah]] makes an ugly "This category contains only the following page." show up at the bottom which is redundent and ugly. I'd like it to dissapear. [20:24:47] Splarka: thanks a bunch! [20:25:56] body.page-Category_Bah #mw-pages {display:none;} [20:26:24] which makes no sense [20:26:40] if you want to link to the category on a page without it being in the page, use [[:Category:Bah|Category:Bah]] [20:26:51] if you want it categorized, what good is that if you can't find it in the category? [20:27:25] the reverse, __HIDDENCAT__, is useful for mainenance, if you want it categorized but not showing such a cat on the page, of course [20:27:35] hi Splarka [20:28:27] Hmm. [20:29:03] rar again Nike [20:29:34] Splarka: raaaawwr [20:29:40] Splarka: what's your identity? [20:29:40] 03(mod) IRC rc bot should send an 'R' flag if the page is a redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14843 (10Platonides) [20:29:49] Jasio: the only actual reason I can think of, is if you need a page categorized to hide it from polluting the uncategorized list [20:29:57] 03ialex * r44467 10/trunk/extensions/Configure/ (Configure.diff.php Configure.i18n.php): [20:29:58] Per siebrand, added PLURAL support for the following message: [20:29:58] * configure-condition-description-1 [20:29:58] * configure-condition-description-2 [20:29:58] * configure-condition-description-4 [20:29:58] The last one also has a $2 param with the group count [20:30:24] Splarka, yeah that was my goal. [20:30:30] Nikerabbit: [20:30:44] I'd suggest a Category:Uncategorized then ^_^ [20:30:50] and HIDDENCAT it [20:33:07] at least I got it running now [20:36:24] the kabo-wiki-hive is another http://socialsynergyweb.com/cgi-bin/wiki2/KaboWikiList/FrontPage proposals ... [20:36:58] .oO(in wikipedia, HIDDENCAT is watching you procrastinate) [20:37:35] moin Duesentrieb [20:38:14] tach auch [20:43:08] die cia hat mein Rechner gefilzt auffer wikimania 05. Da war dieser komische Typ, ex-Seargeant. Der nette jungsche aus Carolina hat ihn aus mein Zimmer kommen sehen. Voll komisch, Netzgerät weg, sonst nix. Schräge Sache ... [20:43:35] trotzdem ... [20:50:25] 03(mod) Allow users to be blocked from editing a specific article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=674 (10janhelgewolf) [20:53:59] 03ialex * r44468 10/trunk/extensions/Configure/Configure.i18n.php: oops, forgot to update that ones [21:03:43] 03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10brion) [21:12:25] 03brion * r44469 10/trunk/phase3/languages/messages/MessagesEn.php: [21:12:25] Make 'ChangePassword' be the default name form for the password change form instead of ResetPass. [21:12:25] Since it's something we're sending people to with an actual UI, for general password changing, and no longer specific to by-email password *resets*, it's nicer to use the cleaner name. [21:12:51] :D [21:14:43] <^demon> We should have a message function for JS. [21:14:59] don't we have? [21:15:13] the problem is that it is inefficient to fetch them on fly [21:15:52] <^demon> :-\ [21:20:30] What is a message function for JS? [21:20:57] 03(mod) Implement the Interlanguage extension in Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15607 (10brion) [21:20:59] 03(mod) IRC rc bot should send an 'R' flag if the page is a redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14843 (10brion) [21:22:10] hmmmm [21:22:13] User:Raymond‎ (diff ;hist) . . (+26) . . Raymond (talk | contribs | block) [21:22:18] what's wrong with this spacing? :) [21:22:43] might be some silly custom message on test :P [21:23:07] or missing space in ChangeList.php :P [21:24:27] * (show/hide) 21:24, 11 December 2008 Brion VIBBER (talk | contribs | block) deleted "MediaWiki:Semicolon-separator" ‎ (content was: ' ;' (and the only contributor was 'Splarka')) (restore) [21:24:54] hmmmmm [21:24:56] uhoh [21:24:57] that's interesting [21:25:01] there was a reason for that though [21:25:21] 14(WFM) Hidden categories should appear below textarea when previewing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16279 +comment (10matthew.britton) [21:25:31] something to do with html entities and french [21:25:51] http://leuksman.com/images/5/5f/Picture_23.png <- this is an expanded node on enhanced RC for a deletion [21:26:08] but it's showing the first target page, not the log name, at the root [21:26:19] Splarka: that suggests that something isn't/wasn't being escaped properly [21:27:15] Vyznev: some wikis needed html entities in some separators, for some reason, but some messages couldn't handle it [21:27:29] AaronSchulz: ping? i think http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44033 might have caused that regression [haven't tested it yet] [21:27:56] brion: MediaWiki:Semicolon-separator didnt fix? [21:28:00] 04(REOPENED) Hidden categories should appear below textarea when previewing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16279 +comment (10matthew.britton) [21:28:01] brion: Aaron is good at introducing regressions these days, it seems :P [21:28:23] Splarka: removing the customized value restored it to the regular value, sure, it looks fine now [21:28:37] RoanKattouw: be nice, i've broken lots of stuff ;) [21:28:47] *AaronSchulz also commits at lot of stuff [21:28:50] I know, so have I. Just kidding around [21:29:04] (both committed stuff and broken stuff, kind of goes hand in hand) [21:29:05] :D [21:29:17] Splarka: that still sounds broken: if appending a semicolon to something turns it into a HTML entity, you've forgotten to escape an ampersand somewhere [21:29:32] roan: per pst/onlypst, does it do anything besides signatures? [21:29:50] right [21:30:09] Vyznev: do what now? I don't think it was the semicolon specifically [21:30:20] *AaronSchulz looks [21:30:21] AaronSchulz: ok confirmed it. you wanna tidy it up or should i pull it for now and we can fix it later? [21:30:25] Splarka: was there a bug filed on this or some discussion somewhere I could take a look at? [21:30:35] Splarka: Yes, pipe trick (stuff like [[Phoenix, Arizona|]]) [21:30:37] brion: don't pull out, will make flaggedrevs look odd with RC [21:30:40] best to fix [21:30:43] Vyznev: IIRC they needed an   there, but you can't input nbsp in via firefox input, so it had to be an html entity [21:30:49] Roan: ahh, right [21:30:51] according to wikimatrix there are at least 10 other wikis that have the same features of wikidot. And the ones I need, in special, are css, themes, latex, history, diff [21:31:01] hello [21:31:22] AaronSchulz: super :) [21:31:26] *Splarka checks the deleted stuff for that message [21:31:58] Splarka: Oh and {{subst:}} [21:32:09] !class Parser | Splarka [21:32:09] --mwbot-- Splarka: See http://svn.wikimedia.org/doc/classParser.html [21:32:15] Look for preSaveTransform() [21:32:16] hmm I tried subst, but didn't notice a difference [21:32:24] but maybe I didn't try hard enough [21:32:27] *shrug* [21:32:42] Roan: verify everything working on http://test.wikipedia.org/w/api.php (live now) [21:33:06] is wetpaint good? [21:33:31] Vyznev: http://test.wikipedia.org/w/index.php?title=Special:Undelete&target=MediaWiki%3ASemicolon-separator×tamp=20080614104107&diff=prev I don't know if it was ever a bug entry [21:33:32] I didn't register there because wetpaints offers way too many features that I dont need [21:33:33] Ah, testwiki is scapped, I see? [21:34:00] yah, well, testing phase before bigscap [21:34:02] Splarka: that would be more useful if I was an admin on testwiki :) [21:34:15] Splarka: PST also converts \r\n to \n [21:34:24] Vyznev:   ; [21:34:28] 03aaron * r44470 10/trunk/phase3/includes/ChangesList.php: Fix log list regression and fix funky $allLogs case while at it [21:35:01] it wasn't amp related, it was just the wrong wfMsg call for that message [21:35:32] ah, I get it now [21:35:45] usually you don't need html entities in tiny little messages like that [21:35:49] not sure why the   didn't show up in brion's log message [21:36:02] it is escaped of course, so any literal character is allowed [21:36:12] but   is a special case, firefox converts it to space in form input [21:36:36] yeah, I know, I've been bitten by that before :) [21:36:43] uhmmm [21:37:03] kelvin_0: yes? [21:37:05] both wikidot and wetpaint are high rated [21:37:28] brion: is it gone? [21:37:43] lemme peek [21:37:46] Roan: &rvgeneratexml <3, goodgood [21:37:58] Splarka: Your brainchild, right? [21:38:02] 03catrope * r44471 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): (log message trimmed) [21:38:02] Loosen requirements for cascading protection: instead of requiring that both [21:38:02] edit=sysop and move=sysop (and any other custom restriction types be set to [21:38:02] sysop as well), just require edit=sysop and leave the other restriction types [21:38:02] alone. This makes it possible to protect a page with e.g. edit=sysop and [21:38:04] move=autoconfirmed and still use cascading protection, but only through the API: [21:38:06] the UI won't do this (yet) because the JS greys out the cascade checkbox [21:38:13] Roan: my whinechild anyways [21:38:24] I wanted a way to expand xml without inputting it raw via action=parse [21:38:29] w00t [21:38:32] AaronSchulz: lookin' good [21:38:33] thanks! [21:39:04] brion: About the cascading protection thing I asked you yesterday: I decided to be bold and commit it (see r44471 above), but I couldn't be bothered to spend 30 minutes diving into the JS and fixing that up too. [21:39:36] So right now, protecting with edit=sysop&move=autoconfirmed&cascade will work in the API, but the UI won't allow it because the JS still uses the old criteria and greys out the checkbox [21:40:11] brion: anyway, repeating myself: is cleanupImages.php still broken for Wikimedia? and what about cleanupTitles.php? because if so, you might want to consider reverting r44000 until they're fixed [21:40:46] because I know for a fact there are some pages it will invalidate on Wikimedia projects [21:41:29] most seem to be redirects, but I found at least one non-redirect on yi.wikipedia [21:41:53] I (sort of) fixed that one manually already, but there might be others on wikis I didn't think to check [21:43:21] 03(FIXED) API allows protection configuration that GUI does not allow, then fails to set them - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16613 +comment (10roan.kattouw) [21:48:36] I noticed this instruction to search for category intersections: https://secure.wikimedia.org/wikipedia/en/wiki/Wikipedia:Category_intersection#Using_MediaWiki_search_to_find_category_intersections [21:48:41] Is there a similar way to search for category unions? [21:51:14] 03catrope * r44472 10/trunk/phase3/includes/api/ApiQueryAllUsers.php: API: (bug 16594) Use strict comparison in list=allusers. This'll hopefully make [[User:]] on enwiki show up again; he's currently being dropped from the user list because false == '' [21:51:38] 03(FIXED) list=allusers doesn't list users with invalid names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16594 +comment (10roan.kattouw) [21:53:06] 03rotem * r44473 10/trunk/ (2 files in 2 dirs): Localization update for he. [21:53:50] right, wetpaint is full of powerful features, but with so many of them on my page and two google ads, it doesn't suit my needs [21:58:00] hello [21:58:01] iltaa :) [21:58:41] Vyznev: huomenta [21:59:04] not yet, it's still 2 minutes to midnight :) [22:02:02] :D [22:02:06] it is always a morning [22:02:27] 03(mod) Implement the Interlanguage extension in Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15607 (10smolensk) [22:02:43] "the sun never sets on the British Empire", eh? [22:03:31] or rome [22:05:15] Quick question about the tags. How can I make it word wrap with in these tags? [22:06:05] code is standard HTML. passed through in mediawiki [22:07:07] it uses a fixed width (monospace) font like and
, but unlike pre it should wrap normally in all (most?) browsers, like a 
[22:07:45] 	It's trailing off out of the "pretty" box it wraps around code, a common issue I see on alot of wiki sites.
[22:08:00] 	example?
[22:08:21] 	http://www.themeswiki.org/Customizing_MediaWiki
[22:11:04] 	Zolon: I don't see any pretty boxes there around 
[22:11:14] 	do you mean 
 which is completely different?
[22:11:22] 	you don't see the grey box with the blue dotted lines?
[22:11:31] 	not anywhere near  usages
[22:11:42] 	you probably mean 
[22:11:49] 	well, even if that site is using 
 they have the same issue I have with 
[22:11:52] 	but I can't view your page source anyways
[22:11:59] 	I can't show mine as it's on a internal server.
[22:12:10] 	 wraps, 
 doesn't
[22:12:23] 	unless you have a custom parser tag extension called 
[22:12:29] 	Well, in our implimentation,  is not wrapping either.
[22:12:36] *Splarka 	shrugs
[22:12:39] 	WFM, and works for them
[22:12:43] 	Splarka: try action=raw :)
[22:12:53] 	javascript:void(h = document.getElementsByTagName('head')[0]);void(s = document.createElement('style'));void(s.setAttribute('type','text/css'));void(s.appendChild(document.createTextNode('code {background-color:#ff00ff !important;}')));void(h.appendChild(s));
[22:13:04] 	turns the  pink, all looks fine
[22:13:24] 	Vyznev: too lazy
[22:13:32] 	Zolon: go to Special:Version
[22:13:47] 	huh?
[22:13:51] 	<-- wiki newb
[22:13:55] 	on your internal wiki
[22:14:47] 	ok
[22:14:51] 	1.9.0rc
[22:14:52] 	2
[22:14:52] 	what version are you running?
[22:14:56] 	1.9.0rc2
[22:15:00] 	DataTable (version 0.3) store data in a table and retrieve it on other pages RV1971 
[22:15:01] 	ParserFunctions Enhance parser with logical functions Tim Starling 
[22:15:01] 	StringFunctions (version 1.9.3) Enhances parser with string functions Juraj Simlovic 
[22:15:09] 	is there ia section called 'Parser extension tags' ?
[22:15:22] 	(not sure if 1.9 had that)
[22:15:47] 	,  and 
[22:16:30] 	right, 
 makes the dashed blue boxes, and preserves all whitespace
[22:16:42] 	it is specifically made not to wrap, because wrapping can destroy source code pasted into it
[22:16:52] 	(at least, from human parsing)
[22:17:22] 	 just makes a monospace font and sometimes a variant background color ( just makes monospaced font)
[22:17:42] 	I am using  in mine, and it's putting the boxes around it.. 
[22:17:58] 	foo bar 
foo bar
[22:18:00] try that in a preview [22:18:26] I get this HTML:

foo bar

foo bar
what do you get? [22:20:26] foo bar
foo bar
[22:20:37]

This is only a preview; changes have not yet been saved! [22:20:37]

[22:20:37] foo bar
foo bar
[22:20:38]


[22:20:40] 03brion * r44474 10/trunk/phase3/ (includes/DefaultSettings.php languages/Language.php): Throw in $wgEnableSerializedMessages which I can disable on test wikipedia so it'll now show up to date messages. Yay! [22:20:59] ok, test.wikipedia.org now showing with the new File: namespace and other updated messages [22:21:05] and yet, the

 seems to have the box, yet I know I used  on the other page.
[22:21:11] 	...
[22:21:21] 	fine, don't believe me the first time
[22:21:26] 	wfm ^_^
[22:21:47] 	and you can have 
 wrap but that totally defeats the purpose of 
[22:21:50] 	if you don't beleive me, I will screen shot this darn thing and email the images to you.. 
[22:22:24] 	look, just use  if you want no ambiguity
[22:23:27] *Splarka 	whines about 'File:' being ambiguous, what if people think it is for sharpening things?
[22:24:03] 	Splarka: sharpening is ambiguous... so it would be perfect for on-wiki image proccessing!
[22:24:28] 	Wiki:User (Page not found) anybody had that error in he user rights configuration screen?
[22:26:01] 	03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998  (10h1> is copy-pasteable,  is not. The user expects
[22:26:01] <wikibugs>	to be able to copy the contents of <h1> and paste them to make a link to the
[22:26:01] <wikibugs>	article, whereas the user cannot select the contents of the title bar to copy
[22:26:01] <wikibugs>	it. This is why the <h1> is more restrictive than the <title>. Does that at
[22:26:01] <wikibugs>	least make sense?
[22:26:06] <wikibugs>	-- 
[22:26:08] <wikibugs>	Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
[22:26:10] <wikibugs>	------- You are receiving this mail because: -------
[22:26:12] <wikibugs>	You are the assignee for the bug.
[22:26:14] <wikibugs>	You are watching all bug changes.
[22:26:18] <wikibugs>	_______________________________________________
[22:26:20] <wikibugs>	Wikibugs-l mailing list
[22:26:22] <wikibugs>	Wikibugs-l)
[22:26:26] <brion>	grr
[22:26:29] <Skizzerz>	o.O
[22:27:36] <KuschelTiger>	yikes i think i'll drop tomorrow in again
[22:27:52] *KuschelTiger 	takes evasive maneuvers due to the flood of input
[22:28:15] <Skizzerz>	"flood of input"... lol
[22:29:00] <Splarka>	so what causes that? html tags in the beginning of the bug comment?
[22:30:31] <wikibugs>	03(mod) Weaken DISPLAYTITLE restictions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12998  (10brion)
[22:30:57] <brion>	anybody feel like debugging it?
[22:31:21] <brion>	http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/wikibugs/ <- the script
[22:31:26] <MZMcBride>	It's any time it contains a "<" or ">' I believe.
[22:31:48] <MZMcBride>	No file extension?
[22:31:49] <Reedy>	{{notice|Please note, any BFRA regarding the mass change of links from "Image:" to "File" will not be entertained}}
[22:32:08] <brion>	file extensions are for weenies who don't have #!
[22:32:28] <brion>	what's a BFRA?
[22:32:38] <MZMcBride>	Bot request for approval.
[22:32:43] <Vyznev>	hmm...
[22:32:44] <Vyznev>	($haschanges, $user) = (1, $1) if $contents =~ /<(\S+)\@\S+> changed:$/m;
[22:32:52] <Reedy>	brion, :P
[22:32:53] <Reedy>	cheers
[22:33:02] <brion>	:)
[22:33:42] <Reedy>	I suppose in some cases, if they are "files", ie pdf's/otherwise, it *may* be useful
[22:33:45] <Reedy>	not in all cases
[22:35:03] <brion>	well it's not useful at all -- Image: and File: behave exactly the same
[22:35:15] <brion>	there will be no affect whatsoever from changing them :)
[22:35:16] <MZMcBride>	But think of the children.
[22:35:23] <Splarka>	http://test.wikipedia.org/wiki/16474#Image vs  http://test.wikipedia.org/wiki/16474#File  all looks good
[22:37:55] <Vyznev>	brion: are you sure http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/wikibugs/wikibugs?revision=22236&view=markup is the revision that's actually running?
[22:38:04] <brion>	lemme check
[22:38:05] <Splarka>	things that will be affected from the change:  wgCanonicalNamespace checks in user scripts, {{#ifeq:{{NAMESPACE}}|Image|stuff|nonstuff}} parserfunction stuffs
[22:38:18] <Splarka>	these can't be helped, and might have valid reason for bot requests
[22:38:22] <Vyznev>	because I can't see how all that crap could possibly match (\S+)
[22:38:51] <MZMcBride>	Splarka: Because bots are good at writing template syntax? 
[22:39:06] <Splarka>	*cough* better than some humans I know
[22:39:44] <brion>	-rwxr-xr-x 1 root root 4396 2007-05-17 21:31 wikibugs
[22:39:50] <brion>	Thu May 17 21:31:05 2007 UTC (18 months, 3 weeks ago) by brion
[22:39:51] <brion>	File size: 4396 byte(s) 
[22:40:32] <wikibugs>	testing
[22:40:37] <brion>	yep that's the right server
[22:41:28] *Vyznev 	is puzzled
[22:41:49] <Splarka>	well, give someone editinterface, editusercssjs, editprotected and protect globally, and give them a grep dump of all instances of an #ifeq: containing a {{NAMESPACE}} call, as well as wgCanonicalNamespace in .js pages and .page-Image_ in .css pages
[22:42:30] <MZMcBride>	< and > are meta-characters and must be escaped in regex statements...
[22:42:32] <Splarka>	and call them robot
[22:42:38] <MZMcBride>	And \S+ matches <
[22:42:51] <MZMcBride>	If either of those things are relevant, which I doubt they are.
[22:44:19] <Vyznev>	MZMcBride: not in Perl's regexp syntax they aren't
[22:45:06] <Vyznev>	but I think I'm starting to figure it out...
[22:47:52] <wikibugs>	03(mod) list=allusers doesn't list users with invalid names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16594  (10brion)
[22:52:36] <master_>	Is there a way to store/sort/filter files in mediawiki?  Maybe an extension or webdav thing or something?
[22:54:17] <brion>	scapping...
[22:55:02] <Reedy>	ace :)
[23:04:46] <CIA-8>	03vyznev * r44475 10/trunk/tools/wikibugs/wikibugs: stricter parsing for readability, reliability and to (hopefully) fix breakage for users that go by their e-mail address only
[23:09:49] <brion>	PHP Warning:  Missing argument 5 for ApiQueryLogEvents::addLogParams(), called in /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryRecentChanges.php on line 341 and defined in /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryLogEvents.php on line 143
[23:11:05] <wikibugs>	03(mod) Weaken DISPLAYTITLE restictions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12998  (10N/A)
[23:19:33] <wikibugs>	03(mod) Implement the Interlanguage extension in Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15607  +comment (10innocentkiller)
[23:24:36] <wikibugs>	03(mod) Implement the Interlanguage extension in Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15607  (10brion)
[23:28:27] <sprax_>	Is there anything more to a namespace than just creaing [[Namespace:Pagename]] ?
[23:29:12] <Reedy>	!adding a namespace
[23:29:12] --mwbot--	I don't know anything about "adding". You might try: !extensions !extranamespace !toc 
[23:29:21] <Reedy>	!addingnamespace
[23:29:21] --mwbot--	I don't know anything about "addingnamespace".
[23:29:27] <sprax_>	lol
[23:29:27] <Reedy>	!creatingnamespace
[23:29:27] --mwbot--	I don't know anything about "creatingnamespace".
[23:29:29] <sprax_>	I'll check the faq
[23:29:31] <sprax_>	no worries
[23:29:33] <Reedy>	bloody bot
[23:29:43] <Reedy>	You can just use MyNamespace:Whatever
[23:29:59] <sprax_>	I don't need to setup any localsettings
[23:30:00] <Reedy>	but if you set it up properly, it'll let you search by namespace and other niceties
[23:30:02] <sprax_>	or database tables or anything?
[23:30:09] <sprax_>	gotcha
[23:30:15] <Vyznev>	!extranamespace @ Reedy 
[23:30:15] --mwbot--	To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at <http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces>. $wgExtraNamespaces can also be used to rename the default namespaces.
[23:30:35] <CIA-8>	03brion * r44477 10/trunk/extensions/CentralNotice/CentralNotice.i18n.php: 
[23:30:35] <CIA-8>	Revert r43975 "Comment out presumably unused messages per http://translatewiki.net/w/i.php?title=Support&oldid=878961#Obsolete_messages by Mormegil. Dev: please remove if confirmed."
[23:30:35] <CIA-8>	At least some of these are certainly not unused.
[23:31:35] <Splarka>	!botnoob | Reedy
[23:31:35] --mwbot--	Reedy: I don't know everything about everything. I am mostly for lazy experienced users to echo quick answers to very common mediawiki questions. Please don't randomly experiment with me for help. Everything I know is at http://tools.wikimedia.de/~amidaniel/botbrain.html and you can visit #mwbot or privately message me.
[23:31:52] <Reedy>	lol
[23:32:02] <Reedy>	i expected one of the simple ones to be there  :P
[23:34:16] <sprax_>	Reedy thanks very much
[23:34:24] <sprax_>	I'm working on getting our sharepoint killed and replace with MW
[23:41:59] <wikibugs>	03(NEW) Automatic account creation of locally forbidden usernames is not prevented by local blacklists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16615 15enhancement; normal; MediaWiki extensions: CentralAuth; (brovvnout+wikibugzilla)
[23:42:47] <CIA-8>	03brion * r44478 10/trunk/extensions/CentralNotice/CentralNotice.db.php: fix missing $ on var
[23:42:51] <Vyznev>	hmm... EditPage::userNotLoggedInPage() looks like effectively dead code
[23:43:37] <Vyznev>	the only way it seems it could ever be called is if the user somehow makes in into EditPage::internalAttemptSave() without having the 'edit' permission
[23:43:51] <Vyznev>	which shouldn't ever happen
[23:45:06] <CIA-8>	03brion * r44479 10/trunk/extensions/CodeReview/CodeRevisionView.php: 
[23:45:06] <CIA-8>	Partial revert of r43762 "Fix bad XHTML"
[23:45:06] <CIA-8>	In addition to closing the </form>, this change moved around some calls which resulted in fatal errors for various types of page view such as a path-based search. Restored the original order of operations.
[23:45:09] <Splarka>	what if they lose session or cookes between clicking edit and clicking submit? 
[23:46:20] <Vyznev>	even so, internalAttemptSave() is only called from attemptSave(), which is only called from edit()
[23:46:32] <Vyznev>	and edit() already calls getEditPermissionErrors() earlier
[23:47:31] <Splarka>	redundant error code is redundant?
[23:47:40] <Vyznev>	looks like that, yes
[23:48:00] <Vyznev>	mind you, there's nothing wrong with a redundant check in internalAttemptSave()
[23:48:34] <Vyznev>	but we don't really need a separate function and a bunch of UI messages for reporting the failure of a check that should never fail
[23:49:01] <werdnum>	hello hello
[23:49:16] *werdnum 	grumbles, slept in.
[23:49:37] <werdnum>	oops, now I have to leave in like half an hour.
[23:49:43] <Splarka>	Vyznev: so move it somewhere it'll get meaningfully used?
[23:49:58] <CIA-8>	03demon * r44480 10/trunk/phase3/includes/specials/SpecialSearch.php: Per code review. Only set focus if we have a search term.
[23:50:00] <Splarka>	like, to show if a user has accidentally logged out, rather than lost the edit permission in another way
[23:51:43] <Vyznev>	if you mean session loss, I think we already report that
[23:53:02] <Vyznev>	thing is, the userNotLoggedInPage() function sucks anyway, because it doesn't let the user view the source
[23:53:28] <Vyznev>	and adding that feature to it would mean duplicating a bunch of code
[23:53:43] <brion>	Vyznev: ok i think i see what's going on with the bugzilla mails
[23:53:45] <Vyznev>	(or refactoring a bucnh of code, which arguably would be a good thing anyway)
[23:54:09] <Vyznev>	brion: yeah, did you see the fix I committed
[23:54:37] <brion>	normally the line looks like this: --- Comment #123 from Brion Vibber <brion@wikimedia.org> 2008-bla-bla UTC ---
[23:54:46] <brion>	with the real name, then the email in angle brackets
[23:54:47] <brion>	*but*
[23:54:54] <Splarka>	Vyznev: ahh, that, so that must have been factored out when it was replaced with more informative errors
[23:54:56] <brion>	if the real name is missing, then instead it looks like this:
[23:55:08] <brion>	--- Comment #123 from brion@wikimedia..org 2008-bla-bla UTC ---
[23:55:22] <brion>	our regex assumed the name <email@domain> format was always followed
[23:55:36] <brion>	so in the second case, the regex would spill over into comment text looking for the email address
[23:55:41] *Vyznev 	nods
[23:55:54] <brion>	oh you already fixed it :D
[23:55:54] <brion>	yay
[23:55:57] <CIA-8>	03demon * r44481 10/trunk/phase3/includes/specials/SpecialSearch.php: Self revert. Need to focus when there's no results, not only when there's no term.
[23:55:58] <brion>	lemme look at it again
[23:56:04] <werdnum>	<3 Vyznev 
[23:56:18] *Vyznev 	blushes :)
[23:58:05] <Vyznev>	ps. the "(hopefully)" is in the commit message because I haven't actually tested it
[23:58:12] <Vyznev>	beyond running it through perl -c
[23:58:13] <brion>	ugh wtf does (?-s: mean ?
[23:58:22] *werdnum 	stayed up until 3:30 working, and then slept in until 11.
[23:58:26] <brion>	:D
[23:58:28] <Vyznev>	disable the /s switch within this subexpression
[23:58:31] <werdnum>	brion: it means minus the /s option.
[23:58:33] <brion>	o_O
[23:58:35] <brion>	funky