[00:00:32] thanks [00:00:55] ol.references > li:target {background-color: #DEF;} [00:00:55] sup.reference:target {background-color: #DEF;} [00:00:55] cite:target {background-color: #DEF;} [00:01:34] *AaronSchulz imports cr_path [00:04:09] do I need javascript code, too? [00:04:56] shouldn't [00:05:21] 03aaron * r41953 10/trunk/extensions/CodeReview/ (CodeRevision.php svnImport.php): [00:05:22] * Update rev data if saving on an existing rev already, rather than doing nothing [00:05:23] * Allow svnImport.php to have a start rev param [00:05:29] E:target an E element being the target of the referring URI [00:05:43] CSS3 though, not supported in older browsers (or sucky browsers) [00:05:56] yeah, it works [00:09:48] 03aaron * r41954 10/trunk/extensions/CodeReview/svnImport.php: Increase speed [00:16:03] brion: what where those example udp prefixes? [00:16:43] #en.wikipedia, #wikimedia.org, etc [00:16:58] so the target channel name on the ircd [00:17:13] ok, then sendToUDP( $prefix, $line ) looks nice [00:17:19] spiffy [00:17:20] brion: may use that for CodeReview [00:17:28] w00t [00:17:30] hmm [00:17:32] well that'd go onto irc.wikimedia.org [00:17:52] to hit #mediawiki here we'd need a second bot i guess [00:18:00] probably doable [00:18:17] but it'd have to hit a different server or port [00:18:30] hrm [00:19:05] ok, cr_path update finished, yay [00:19:21] 'lo all [00:19:31] mmm, another feedbot to /ignore <3 [00:20:19] woo [00:20:51] brion: what should the bug 15276 channel be? [00:21:13] I'm going through the enhancment requests for Cite, and someone suggested to show the references "in-place", in a tooltip-like floating window [00:21:16] is it possible? [00:21:27] 03dale * r41955 10/trunk/extensions/MetavidWiki/ (3 files in 3 dirs): fixed metavid2wiki stream output [00:24:07] *AaronSchulz is thinking about adding path searches [00:25:27] 'Basic text search', haha :p [00:25:36] *brion bats eyelashes innocently [00:26:29] path searches as LIKE blah% are ok [00:26:39] though sorting them is not as fun [00:27:03] hmm [00:28:35] Hey, looking for advice... I've got a project where we want to move a lot of information to our Wiki, and then every night, run a search that pulls pages that match a certain criteria down into a simple text format for a legacy app where the text will be available under a different name (specified somewhere in the wiki page). The other criteria is that we don't want to see namespace markers (so no Shared:Foo or anything.) (We've had [00:29:46] weell [00:30:12] if we're going to sort the searches by rev/time, then you really don't get benefit from a path index [00:30:51] 03(mod) display of diff after a rollback should have the option of being disabled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15761 (10stevend811) [00:31:07] JEisen83_: what are you asking? [00:32:26] brion: well you get some, an index branch scan vs table scan :p [00:32:28] carl-m: I'm looking to see if there's a simpler way to do this, which I suspect, then doing things like writing a script that queries the database using the API and does all kinds of crazy conversion. [00:32:31] *AaronSchulz sighs [00:33:15] 15761 looks like feature bloat [00:33:34] JEisen83_: if you already have the list of pages, and you just want to get their content, you can use the API, or Special:Export, or just run a query against the database [00:33:54] well if i search on /trunk/phase3 i'm going to get like... the majority of all changes :) [00:33:57] *brion hmmms [00:33:58] the API is as clean as anything else [00:34:20] if i only search cr_path then that would also *miss* a changeset which modifies both /trunk and /branch [00:34:34] so maybe you actually need to search the paths table [00:34:38] I was thinking something along the lines of an article named Foo for Beginners, with somewhere in the content. When the script ran, it would find pages with that tag and convert the content into our simple text format. [00:34:48] 03(mod) display of diff after a rollback should have the option of being disabled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15761 (10mikelifeguard) [00:34:57] then filter out the multiple hits [00:35:11] JEisen83_: it may be easier if you use a template, something like {{port|file=foo|name=bar}} [00:35:24] make it so that the template adds the page to a category but has no other visible effect [00:35:43] then you can use the category contents to get a list of pages, and there is no visibile change to wiki text [00:37:10] Hi, does anybody know if there's a known solution for error message http://rafb.net/p/buMKoM95.html ? [00:37:19] ahhh [00:37:43] AaronSchulz: on the problem where it doesn't show your changes when you submit -- is submit showing the results immediately, or redirecting back to the view? [00:37:59] carl-m: That's fantastic. And then the script would just basically spider that category and convert it. Thank you! [00:38:20] brion: it still redirects [00:38:24] so slave lag is a factor [00:38:30] bluh [00:38:32] right. the API is very good for listing category contents [00:38:33] *brion digs for clues [00:41:41] JEisen83_: in recent versions of mediawiki, you can make the category hidden, if that's important to you [00:41:50] so it isn't visible by default on the article [00:42:30] brion: I'd like to move the CodeRevisionTagger stuff into CodeRevisionView to get all the submit stuff in one function too [00:42:47] mm [00:42:52] unless there is a reason to have it as another special page [00:42:53] actually, the category being visible would be great. yeah, this just resolved about 6 months worth of discussion. [00:42:59] do centralize the updaters, but perhaps as a separate class from the viewer [00:45:14] 03(mod) display of diff after a rollback should have the option of being disabled - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15761 (10stevend811) [00:49:11] AaronSchulz: possibly wrapping a transaction around the updates will help. there's some infrastructure in the LoadBalancer_Multi to save master positions in the session, but it may be that it's not quite understanding the new position [00:58:35] what version of php mediawiki runs on? [00:58:40] is it >= 5.3 ? [00:59:28] specifficaly, what version is available for extensions running on wikipedia ? [01:00:24] Hi, does anybody know if there's a known solution for error message http://rafb.net/p/buMKoM95.html ? [01:00:45] JEisen83_: it should run on php 5.0 or higher [01:00:50] !php | j4zzcat [01:00:50] --mwbot-- j4zzcat: Mediawiki requires PHP to work correctly. PHP's website is http://php.net. For a full list of MediaWiki requirements, see http://www.mediawiki.org/wiki/Manual:Installation_requirements [01:02:59] it doesn't say what version wikipedia is running [01:03:28] http://en.wikipedia.org/wiki/Special:Version [01:03:37] cool [01:03:38] thanks [01:10:22] MinuteElectron, ping [01:10:35] 03aaron * r41956 10/trunk/extensions/CodeReview/ (6 files): [01:10:35] * Centralize submit code [01:10:35] * Check 'codereview-add-remove' right [01:10:35] * Add revLink() function [01:10:53] brion: can you sync CodeReview and run svnImport.php MediaWiki 1 ? [01:11:46] 03(mod) Greater flexibility with references - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5997 (10bill.mitchell) [01:12:26] AaronSchulz: i'm about to run out of the office [01:12:40] i hate updating code right before i leave ;) [01:12:49] 03(mod) Extension special pages not recognized - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15912 (10JSchulz_4587) [01:28:51] this stuff at http://en.wikipedia.org/wiki/Template:Talkback looks cool, do I need an extension in order to have it, too? [01:30:20] 03aaron * r41957 10/trunk/extensions/CodeReview/ApiCodeDiff.php: [01:30:20] * Use dieUsage() [01:30:20] * Fix bogus var name, should be $params['repo'] [02:16:29] Can someone add some top padding to the top dark blue bar in the Modern skin? It looks kind of weird to me without that. [02:34:43] when an extension is executing, will it have access to classes of other extensions ? [02:41:08] yes [02:42:11] so, does that mean that if some extension has defined class 'Foo', I cannot define my own? [02:42:20] yes [02:42:35] that's why you should prefix your classes with an abbreviation of your extension name [02:42:54] I'm working on something called 'Citation' [02:43:13] maybe you should think of a more inventive name [02:43:26] Cite2 ? [02:43:33] CiteNG ? [02:43:45] Citeasdlfkjasldfjklawejf should be fine [02:43:46] heh [02:43:51] suit yourself [02:43:54] :P [02:45:48] damn php [02:45:52] no namespaces [02:46:06] (yet) [02:46:12] so, when's mediawiki/java be ready? :-) [02:46:17] eww [02:46:23] it'll be a long time before we start using namespaces [02:54:29] for my Foo extension, I have more than just Foo.php and Foo_body.php - should I specify the additional files in $wgAutoloadClasses[ 'Foo' ] ? [02:54:49] if so, how... [02:56:54] $wgAutoloadClasses[ 'Bar' ] = dirname(__FILE__).'/Bar.php'; [02:57:46] ?! [02:58:13] $wgAutoloadClasses[ 'Foo' ] = dirname(__FILE__).'/Bar.php'; ? [02:58:33] $wgAutoloadClasses maps class names to files [02:58:45] each class can only have one file, syntactically [02:58:50] your extension may have multiple classes [02:58:52] k, got it [02:59:01] in which case you need multiple entries in $wgAutoloadClasses [03:07:02] Can someone please point me in the right direction. I have a new 1.13.1 install, and need to upgrade it to 1.13.2. I was going to use the diff patch, but can't find any instructions that explain this process. [03:07:16] 03(mod) Install SpamRegex for en.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13811 (10mikelifeguard) [03:08:39] cd /path/to/wiki [03:08:57] patch -p0 < patchfile [03:09:22] you need shell access and a unix-like patch utility [03:09:35] Yep, got that, should the patch file be IN the wiki dir? [03:09:49] it can be anywhere, you just specify the path [03:10:03] patch is very idiosyncratic, for some reason it doesn't take the patch file name as an argument [03:10:11] you feed it in using "<" [03:10:24] Alright, let me give this a quick try, thank you! [03:10:33] yeah, make a backup first [03:10:43] just in case [03:12:17] 03(mod) Make pagemoves easier to revert - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6984 (10mikelifeguard) [03:13:02] I am in the wiki directory, and executed : patch -p0 < ../tmp/mediawiki-i18n-1.13.2.patch [03:13:13] does that look right? it prompts me with "File to patch:" [03:14:01] sorry should be -p1 not -p0 [03:14:18] 03(mod) rollback link for a page move on watchlists should rollback the page move - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4433 (10mikelifeguard) [03:14:34] just hit ctrl-c and run it with -p1 instead [03:15:40] Ok, done, didn't see any errors, however, the main wiki page html code still reports .1 [03:15:49] (I downloaded the patch about an hour ago) [03:16:47] what about Special:Version? [03:18:16] Hi, I'm interested in saving login information passed to my wiki and dumped into a file. [03:23:21] My apologies for the delay. Special:Version shows 1.13.1 as well. [03:27:26] 03(NEW) spacing on WhatLinksHere - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15934 trivial; normal; MediaWiki: User interface; (mikelifeguard) [03:29:41] 03(mod) Increase or remove rate limit for rollbacker group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12760 (10mikelifeguard) [03:31:14] 03(mod) Incrase $wgMaximumMovedPages on English Wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15932 (10mikelifeguard) [03:35:36] I am going to reinstall .2 from scratch, since this was a new 1.13.1 install , and no data was entered. I do appreciate the help, thanks! [03:52:29] hi there [03:53:29] i'd like to replace some ParserFunction calls (namely '#time') - how would I do that? [03:55:01] O [03:55:08] mess with the sextension code [03:55:12] -s [03:55:19] register your extension after ParserFunctions [03:57:12] umm, it's a one time thing [03:57:25] what do you mean by "register your extension"? [04:02:04] i guess I could just disable the extension and then search for the calls, replace them one by one [04:10:51] you should be able to make an extension that registers a #time parser function that competes with the existing one [04:11:00] and whichever one is registered second should win [04:13:36] and then you can have #time add a category, reset the cache of all pages, and find all the pages calling it easily... if that is what you wanted it to do? [04:31:38] 03tstarling * r41958 10/trunk/ (112 files in 7 dirs): (log message trimmed) [04:31:38] Revert merge of DismissableSiteNotice into the core (r41679 and subsequent [04:31:38] edits). We should have higher standards than this for core code. This is largely [04:31:38] my own crap code and there's a reason I didn't commit it to the core in the [04:31:38] first place. [04:31:39] * The sitenotice_id hack is virtually unusable and needs to be replaced with a dedicated message update interface. [04:31:44] * There's a need for automatic message expiry. [04:34:46] :o [04:36:34] speaking of unusable crap [04:37:07] can you believe I just submitted comments on 8 revisions in Special:Code and it silently ignored all but the first one? [04:37:25] did it at least take the