[00:03:10] ^demon: mediawiki is 'outside' the project, so is not iw_local [00:04:46] on a related tangent, which maintenance script actually defines the basic default install interwiki map? I see pieces of it in addwiki.php, dumpInterwiki.inc, fetchInterwiki.pl, rebuildInterwiki.inc, wiktionary-interwiki.sql, and interwiki.sql, are all kept in sync? [00:06:52] ^demon: the interwiki settings on WMF seem to be some sort of black magic, [[w:wikt:de:fr:w:en:Foo]] is a valid interwiki [00:07:23] MrZ-man: because those are all iw_local [00:07:48] why should wikt be iw_local but mw not? [00:07:54] MrZ-man: you can have a non iw_local link as the first startpoint, the requirement is that for each next link, you have the link after be local to that link [00:08:08] *MrZ-man stands by his black magic statement [00:08:10] [[m:mw:]] won't work but [[mw:m:]] will [00:08:30] *^demon throws a rock at the interwiki table [00:08:37] say foo: is local to wikia:, [[wikia:foo:]] will work because the foo: is applied there [00:08:45] Which ones are the ones that aren't easily trackable? [00:09:01] oh it gets worse, and I don't even understand it well! [00:09:03] ^demon: http://download.wikimedia.org/enwiki/20081008/enwiki-20081008-interwiki.sql.gz [00:09:27] langlinks for example, are slightly different for each project, as well as sister project links [00:09:50] langlinks are determined simply by defining an interwiki link that matches a known language from Names.php (or a custom one) [00:09:53] silly silly silly [00:10:28] <^demon> "Simple" isn't a language code :) [00:10:32] <^demon> Nor should it ever be. [00:10:57] ^(or a custom one) [00:11:35] $allNames = $wgExtraLanguageNames + $wgLanguageNames; [00:13:06] http://noc.wikimedia.org/conf/langlist 'simple', heh, 'nomcom', heh, 'tlh' doh, where did it go [00:13:34] WMF is a tribble-cabal [00:14:25] 03(mod) Non-square pixel aspect ratios are not detected properly for Ogg thumbnailing , Cortado player - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16149 +comment (10nospam) [00:14:53] http://img166.imageshack.us/img166/1426/roflbotiy4.jpg [00:21:51] When will MW 1.14 be out as stable? [00:22:23] Today or so. [00:22:28] TimStarling is doing the release today, AFAIK [00:23:37] To Roan in absentia: dude, it's code for a special page, of course it's not API-friendly. Special pages aren't in the API. [00:24:10] this might seem silly...but is there a way to make certain pages not show up in searches? [00:28:55] delete them [00:33:32] 03(mod) Support get user contributions for new accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16967 +comment (10Simetrical+wikibugs) [00:37:25] 03(mod) Non-square pixel aspect ratios are not detected properly for Ogg thumbnailing , Cortado player - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16149 +comment (10mikelifeguard) [00:59:02] luna6: for google indexes you can use the no index keyword [01:19:27] hmm.. [01:19:59] [Bug 15892] New: Parser tests broken by r40209 (october 2008) [01:20:06] I wonder if there is a workaround? [01:21:28] I don't quite get the foreach. I want to sort the items in this function: http://rafb.net/p/LIGNrr13.html [01:22:47] you want to sort by something in the Title? [01:23:15] i want to sort it by title yes but can't touch the query [01:24:27] you want to sort it by title.indexTitle maybe? [01:25:01] actually the php sort would be enough [01:25:02] and you need to do that... um, before this function runs [01:25:25] because this operates on just one title ... is that correct? [01:25:36] yep i guess so :) [01:25:47] hmm, wait, indexTitle is static [01:25:59] so, sort by Title.indexTitle(your_title) [01:26:01] possibly [01:26:14] it says "in a form suitable for a search index" whatever that means :-P [01:26:26] (I'm looking in includes/Title.php) [01:26:44] then it must go in here i guess http://rafb.net/p/cQtLFf66.html [01:26:55] or you can do title.getText() [01:27:19] title.getIndexTitle... [01:27:25] try a couple and see which is best [01:27:46] probably title.getText() is the most logical to sort by... but ymmv [01:27:48] *kim__ looks [01:28:22] Ah I think you might have a problem [01:28:25] i htought sort($something); would be enough? [01:28:59] well, your problem is that on this side, all you have is some row [01:29:06] and it doesn't make a title out of it 'till the other side [01:29:07] problem? yes :) i need to sort the result list not in teh query [01:29:12] so you'll need to refactor it a little [01:29:19] i see [01:29:37] *kim__ just read the code you pasted, that's what it says [01:29:39] ^^;; [01:30:08] hmph, if you are a tad dirty [01:30:24] you could just sort by the list items [01:30:42] well sorting each row is ok without the link function [01:30:54] it is? [01:30:56] that works? [01:31:17] hmph, if so I guess it doesn't really matter *what* you sort ;-) [01:31:19] it queries page_title from the page table. [01:31:24] sure [01:31:27] anyway [01:31:41] you'll need to just load something into an array [01:31:43] sort the array [01:31:49] and then loop over it to print it. [01:32:15] in the query it orders by id. so 50 latest articles i need then to sort by title [01:32:18] (I've also tried teaching my grandma to suck eggs. so tell me to shush if I'm being too obvious :-p ) [01:32:38] lol [01:32:40] if it's by title, you might need to actually refactor the two functions [01:33:04] so as long as you have no problems with that, it's not a problem [01:33:10] i don't to look like a newbie but isn't an array, an foreah and sort enough? http://de2.php.net/sort [01:33:17] refactor out the title generating code, and share it? [01:33:26] um, yes [01:33:30] and a Title :-P [01:33:49] if what you're saying about sorting by Title is true, right? [01:34:32] yep the list in the 2nd code should be enough to simply "sort" [01:34:44] Oh okay [01:34:47] that's easy then [01:34:54] stuff that into an array, and off you go [01:35:00] just dunno how to get the foreach into it [01:35:02] it's prolly not the fastest code, nut not slow [01:35:04] eh/ [01:35:06] ? [01:35:20] no array/foreach? [01:35:30] while( $row = $dbr->fetchObject( $res ) ) [01:35:30] $wgOut->addHtml( $this->makeListItem( $row ) ); [01:35:39] hmh fast would be good. it's on main page :/ [01:35:41] we need to postpone the $wgOut [01:36:51] before this while loop: [01:37:01] list=array() [01:37:05] and in the while loop [01:37:12] while( $row = $dbr->fetchObject( $res ) ) [01:37:27] errr $list=array() before the while loop :-P [01:37:31] then in the while loop [01:37:44] i got it like that [01:37:51] $list[]=$this->makeListItem( $row ); [01:37:56] that much is logical? [01:38:01] then you sort the list [01:38:53] sort(list) [01:38:56] finally [01:38:59] errr [01:39:05] I've been doing too much python today [01:39:08] sort($list); [01:39:12] and finally [01:39:39] foreach ($list as $line) { $wgOut->addHtml($line)} [01:39:43] i'm trying :) [01:39:44] that should cover it [01:39:53] now you'll need to debug that :-P [01:40:21] since I just typed it off the top of my head at 2:40 am in the morning while working on python all day :-P [01:41:24] thanks a bunch! nothing against trial & error ;) [01:42:02] I hope you have a plan ^^;; [01:44:15] debugging is fine. at least i have code to work with. [01:54:23] i fail at unexpected T_VARIABLE in $list[]=$this->makeListItem( $row ); http://rafb.net/p/T1hGc785.html [01:55:26] Subfader, you're missing ) { at the end of the "while" line. [01:55:37] Also, your indentation there is weird, you should fix it up. [01:55:44] Er, wait. [01:55:51] That trailing ) also needs to be a }. [01:55:56] Basic syntax issues here. [01:55:59] yeah [01:56:06] and the only thing in the while loop [01:56:15] needs to be list[]= ... [01:56:23] (basic structure issues ;-) ) [01:56:58] and ... $wgOut->addHtml($line); <- needs this here semicolon [01:57:04] told ya i learn via trial & error. i know basic php questions are off topic here though :/ [01:57:14] meh [01:57:21] live and learn :-) [01:57:24] *kim__ waves to Simetrical [01:57:58] you'd probably find reading the first few manual chapters more efficient [02:00:37] you mean mediawiki manuals? they already require php knowledge that's why they scare me. [02:00:44] Subfader, I'm glad you're learning. :-) [02:00:50] Subfader, I think he means the php manual? [02:01:08] (http://www.php.net/docs.php) [02:01:41] yes, the PHP manual [02:02:19] Is there anyway to delete a user with an unacceptable username, or is the only option to block them? [02:02:38] or like, find a tutorial or do a course. and practice a lot (and have fun ;) ) [02:02:40] you can rename them [02:03:14] hmm how do I do that? [02:04:08] with the Renameuser extension [02:05:04] oh btw, before I go, just to stay in ye olde tradition. I found the solution to my parserTest problem (it was crashing while dealing with mysql) , the bugzilla says I need to set private $useTemporaryTables=false in parserTest.inc , and that makes it work [02:05:07] cool thanks, btw I found a bug in the importImages.php maintenance script you told me how to use yesterday [02:05:10] reported it in bugzilla [02:06:11] One last question. there are > 300 extensions. How many of those extensions would you estimate can be installed simply by copying the extension into extensions/ and adding a require_once in LocalSettings.php? [02:06:32] *kim__ was guessing maybe 90%, but maybe I'm too optimistic [02:06:42] TimStarling, we all love you, btw.. is it today for 1.14 ? :) [02:06:54] kim__: quite a lot, but it doesn't sound like a good idea [02:07:00] mm, off topic technical support mode on...? I want to make a 1 gallon 1 ton hand-powered fruit press. What is the minimum size threaded rod should I use for 316L stainless, and what max length handles can I use to insure non-breakage thereof? [02:07:14] got it. thanks & sorry for your time. coding is just not the main work for my wiki. i prefer input. but sometimes i like to adjust things to my needs :) [02:07:47] TimStarling, I have some ideas why you might say that, but maybe you know something I don't: Why does it sound like a bad idea to you? [02:07:52] Splarka: three [02:08:17] ahh right, I forgot to carry the cubed root of pi [02:09:31] o.O [02:10:20] *kim__ was thinking of adding an "I'm feeling lucky" install option (which promises to break your wiki 10% of the time ;-) ) [02:10:21] What does that even mean? [02:11:01] ST47: the cubed root of pi is um... pi squared? [02:11:10] *kim__ looks puzzeled [02:11:38] oh, no, wait... I'm reading wrong. [02:11:51] pi^-3 ? [02:11:56] yah. [02:12:54] *kim__ looks at TimStarling , still curious for an answer [02:13:09] wikipeida is down. [02:13:11] (maybe tim got busy) [02:13:35] en.wikipedia wfm? [02:13:42] yep [02:13:51] because some of those extensions will have an odd effect on the wiki when installed [02:14:02] check out the http.conf file [02:14:06] some of them have security vulnerabilities, some of them are half-written and are totally broken [02:14:17] some might conflict with other extensions as well? [02:14:45] (though they didn't ask "how many at once"...) [02:14:55] TimStarling. Well, INCLUDING those scripts... what percentage do you think? [02:15:15] mark_____: http://wikipeida.org/ ? [02:15:20] (my mission today is to find as many of those broken scripts as possible :-) ) [02:15:25] works for me, parked domain [02:15:47] (well... not today today... but, for the forseeable future) [02:16:30] # Related Searches: Wikipedia | Wikikpedia | Wikipeida [02:16:48] so I was worried about having to write separate scripts for each extension [02:20:25] Splarka, well, there are 354 extensions, so you have a matrix of 354*354 = 125316 possible single interactions [02:21:05] oof, assuming 10 seconds per interaction, that'd take 14 days to run [02:21:18] TimStarling [02:21:29] whats the status of www.wikimania.org? [02:21:54] I don't do domains [02:21:58] *kim__ scratches head. I *could* set a computer up to do that. [02:22:06] (not right now though) [02:22:41] and then test every possible feature of both extensions for in(ter)fractions [02:22:44] checking if each extension works might take an hour or so. Sounds like a cron-job to me [02:23:14] though you could narrow it to just ones that use similar hooks, register similar tags, create similar temporary tables, etc.. [02:23:20] Splarka, probably you won't know that something is potentially problematic until you actually run into it [02:23:26] Splarka, hence, regression-testing ;-) [02:23:54] Splarka, I'd have to find that out programmatically. That'd be an extra challgenge-level [02:24:23] Splarka, however, doing tests on some limited set of common extensions for instance is not a big deal, if you already have an automated installed for them O:-) [02:24:31] automated installer [02:24:55] and the parserTests cover a pretty large swath of what's possible already, it looks like [02:25:25] so that's roughly where I'm at now, I guess [02:25:51] Argh [02:25:54] process isn't 100% automated yet [02:25:59] *kirjain_X hates not having a real test wiki [02:26:16] as opposed to a fake test wiki? [02:27:03] MrZ-man, MAMP [02:27:20] Microsoft Apache Mysql PHP? [02:27:21] ;-) [02:27:30] Mac Apache MySQL PHP [02:27:31] what's wrong with it? [02:27:37] mac++ [02:27:41] MrZ-man, no command line access [02:27:50] kirjain_X, Mac OS X ? [02:27:52] No maintenance scripts, and no MySQL [02:27:55] kim__, yes [02:28:00] kirjain_X, terminal? [02:28:08] so install MySQL? [02:28:17] MrZ-man, for some reason, it doesn't like me computer [02:28:20] or install them all separately [02:28:29] I keep pressing "start", and it never started [02:28:31] Mac OS X SO has a command line :-) [02:28:42] kirjain_X, so run it from the command line? [02:28:47] kirjain_X, are you sure it never started? [02:28:59] kim__, yes [02:29:21] kirjain_X, mysql runs as a daemon, you wouldn't nescessarily see anything (but maybe I'm teaching my grandma to suck eggs again) [02:29:32] kim__, there is a preference pane [02:29:39] It always said "not running" [02:29:43] sure [02:29:44] I started with XAMPP for Windows, but I've upgraded or reinstalled everything at least once, the only thing really left from the original install is the directory names [02:30:03] *kim__ just uses gentoo or ubuntu or debian... or what have you [02:30:11] (one ancient hacked up SuSE box too ;-) ) [02:30:33] kirjain_X, you could try running mysql from the command line, maybe you can get more info from there? [02:30:48] kirjain_X, mac os x terminal has bash and everything ;-) [02:30:50] -bash: mysql: command not found [02:31:07] kirjain_X, oh....kay... that could be interesting [02:31:20] kirjain_X, that might explain a thing or two? ;-) [02:34:51] *kirjain_X tries reinstalling [02:35:46] or possibly it's being installed in some odd way [02:36:18] specific to os x, or something. (I never actually ran mysql on os x, come to think of it, so no idea here ^^;;) [02:37:00] try [02:37:01] mysqld [02:38:44] I'm off to get some vitamine z [02:38:45] ttyl! [02:46:43] Well, now it works [02:46:44] ERROR 2005 (HY000): Unknown MySQL server host 'sql' (1) [02:59:16] I was hoping to get pushed in the right direction -- I have a primary wiki that is fairly stable, but, i want to do some drastic changes to it in the near future, so, I created a test wiki and I copied over large swaths of information (hundreds of pages). I was wondering if there is a way to point to the images from the originating server, so I don't have to have to copy those over to my test wiki. [02:59:53] RemoteFile something or other [03:00:54] http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos [03:00:56] might work [03:01:12] OverlordQ: cool, thanks -- I'll start down that path. [03:12:05] 03mrzman * r46828 10/trunk/phase3/maintenance/parserTests.txt: update parserTests.txt per change to red-link-title message in r46663 [03:16:39] 25 previously failing test(s) now PASSING! :) [03:16:41] whee [03:19:06] !bug 8249 [03:19:06] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=8249 [04:39:38] 03aaron * r46829 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: [04:39:38] * Show averages on tables [04:39:38] * Show legend only as needed [05:02:01] 03aaron * r46830 10/trunk/extensions/FlaggedRevs/ (2 files in 2 dirs): Tweak average display [05:09:01] TimStarling: http://de.wikipedia.org/w/index.php?title=Spezial:Neue_Seiten&hidepatrolled=1 [05:09:07] now isn't that beautiful? [05:09:47] well, http://de.wikipedia.org/w/index.php?title=Spezial:Neue_Seiten&hidepatrolled=1&limit=100 [05:16:19] 03(mod) Moving edits incomplete and stalled after renaming a user on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17313 (10oliver) [05:19:18] What is the {{../foo}} trick? [05:20:18] Never mind. [05:46:08] good morning everyone [05:46:38] 03aaron * r46831 10/trunk/extensions/FlaggedRevs/maintenance/updateLinks.inc: Kill redundant protection rows [05:46:51] can you pls suggest what is the simplest way to announce something in mediawiki? [05:47:39] one of our server is down and I want to make an announcement in this regards which will appear at the top of every page [05:47:48] $wgSiteNotice [05:47:59] http://www.mediawiki.org/wiki/Manual:$wgSiteNotice [05:48:24] 03aaron * r46832 10/trunk/extensions/FlaggedRevs/maintenance/updateLinks.inc: message typo [06:02:25] silly question, is the "you've got mail" notification a flag stored in the user_options blob or is it somewhere completely different? [06:05:21] we don't do mail, do you mean new messages? [06:05:28] yea [06:05:39] it's stored in the user_newtalk table [06:05:57] oops, completely missed that table :-/ [06:08:49] hello TimStarling [06:09:24] Brion says I should code some performance improvements while he's away (or anything else that interests me) [06:09:53] Are there any particular projects that might be good at improving performance? [06:10:56] (along the lines of that Cite caching project, I guess) [06:11:28] do you know C? [06:11:50] Not as well as I know PHP, but I've done a few projects in it. [06:12:21] I guess I knew that already [06:12:44] Why, what did you have in mind? [06:13:04] probably nothing that can be done before brion gets back [06:13:11] maybe you should have a look at the message cache [06:13:40] that can be improved in pure PHP [06:13:41] What about it in particular? The most I know about that is that wfLoadExtensionMessages() and wfMsg(). [06:13:55] *werdnum doesn't mind covering new code, though. [06:15:38] mmm, interesting to see Preprocessor_DOM::preprocessToObj() using 6% [06:16:51] you know I was saying it's cacheable? [06:17:22] You think I should cache it based on a hash of the input? [06:18:36] yeah, you could do [06:18:50] md5($text) and $flags [06:19:02] both need to be in the cache key [06:19:26] Doesn't sound awfully difficult. I wonder what our hit rate would be, though? [06:19:52] is there something like {{Page_Last_Modified_By}}? [06:19:55] probably pretty high [06:20:04] Presumably the main redundancy in preprocessing input is the same page being re-rendered for different users, and when it's purged, right? [06:20:32] Asish: as in last user to edit the page? [06:20:39] yes, but the hotspots will be templates, not pages [06:21:00] ohh, of course. [06:21:15] I wouldn't be surprised if you cut an order of magnitude off that 4.5% makexml figure [06:21:54] 03aaron * r46833 10/trunk/extensions/FlaggedRevs/language/ValidationStatistics.i18n.php: Typo [06:22:16] yes, that makes sense considering the use of templates. [06:22:21] hey all, i edited my.ini, to add the line ft_min_word_len=2 [06:22:28] and unlike the cite cache, it would not have any syntactic effect [06:22:35] so it wouldn't break the site [06:22:38] now, when i try search i get this error: "". MySQL returned error "145: Table '.\wikidb\searchindex' is marked as crashed and should be repaired (localhost)". [06:22:53] TimStarling: hey, I fixed that on svn :) [06:23:02] I don't think you did [06:23:30] OverlordQ: yes [06:23:37] I said from the start, it's good as an emergency optimisation measure only [06:23:37] hmm [06:23:54] I fixed the "breaking the site" problem, not the syntactic side-effects. [06:24:06] well, by breaking I mean backwards compatibility [06:24:09] Asish: afaik no, since it's easy to just check the history tab [06:24:46] *werdnum shrugs. [06:25:07] Anyway, maybe the cite cache won't be necessary if we cache at the preprocessor -- is that what you're hoping? [06:25:49] no... the cite cache will have a larger impact on execution time [06:26:21] but it really will break things [06:26:38] you probably didn't even think about templatelinks/pagelinks invalidation, right? [06:26:54] what about the user rendering hash, did you put that in there? [06:28:17] at http://wiki.123g.info/index.php?title=Special:AllMessages&ot=php I found this .. [06:28:29] The last edit to the page was by [[User:$3|$3]] ([[User talk:$3|Talk]] [06:28:30] I did think about templatelinks/pagelinks invalidation, but Brion and I discussed it and figured that it was worth the compromise. [06:28:45] while the site is going down every monday, yes [06:28:53] once we get new servers, it's not [06:28:55] I thought about putting the user rendering hash in, but then I forgot about it and I didn't end up putting it in. [06:29:05] 03aaron * r46834 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: $pts counter fix [06:29:39] when I put [[User:$3|$3]] in the page it shows $3 :( [06:29:54] OverlordQ: any wayouts? [06:30:03] caching is always very complicated [06:30:12] if you cache without proper invalidation, you cause bugs [06:30:17] never mind guys, the #mysql people are helping [06:30:18] :) [06:30:30] the programmer might not see it as a bug, but the user sees it that way [06:30:38] Asish: that's a display message, used to format the messages that mediawiki outputs [06:30:50] if the user sees things that don't update when they expect, they see it as a bug [06:31:00] Right. [06:31:36] the only way to write bug-free caching code is to have a very clear idea of what the inputs are to a function and how they affect the outputs [06:31:57] preferably by designing the function to be cache friendly from the start [06:32:22] it just so happens that's what I did for preprocessToObj(), so it shouldn't cause you much trouble [06:32:35] Good thinking :) [06:33:06] and thanks, I'll start thinking about it that way when I work on caching code. [06:33:47] the other side of the preprocessor, expand(), is not only more expensive than preprocessToObj(), it's also very cache-unfriendly [06:34:14] that's why I think it's a good candidate for porting to C [06:34:35] *atglenn perks up [06:36:27] it's on my todo list, at priority #8 [06:36:50] which is a long way down [06:37:29] and since new things keep getting added at the top, it could be years before I get to it [06:37:39] *werdnum is pleased to be getting onto other stuff -- his todo list was getting a bit short with AbuseFilter being the main occupation for the last few weeks. [06:38:08] Speaking of the Abuse Filter, I hear review of that's been pushed up onto the top. [06:38:48] yes, in theory [06:39:03] but I really should release 1.14 before 1.15 is ready to release [06:39:22] Heh, yeah. [06:39:41] but it turns out the installer is full of XSS vulnerabilities which makes releasing a bit more complicated [06:39:43] In either case, Abuse Filter can't go live until after a full code update on Wikimedia. [06:39:54] Ouch -- really? [06:40:20] Notice: Undefined index: in C:\Server\Apache2\htdocs\MW_trunk\includes\StringUtils.php on line 240
[06:40:23] *AaronSchulz sighs [06:40:42] yes really, it's pretty obvious once you start reviewing the code [06:40:54] maybe there was an idea that XSS in the installer doesn't matter [06:40:57] but it certainly does [06:41:25] 03aaron * r46835 10/trunk/extensions/FlaggedRevs/specialpages/ (RatingHistory_body.php ReaderFeedback_body.php): Visually avoid cache/slave lag for rating table on review [06:42:01] It certainly matters less than in the actual product -- but I guess an unconfigured MediaWiki instance could be used as a 'stepping stone' for cookie-stealing and such for other apps on the same site. [06:42:07] Is that the reasoning? [06:42:11] yes [06:43:42] AaronSchulz: Is that me? [06:43:57] 14(WFM) Chinese(zh) wikipedia, entrr and search bug - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15813 +comment (10jeluf) [07:19:27] any fine folks could offer pointers on trying to install these extensions - https://svn.wikia-code.com/wikia/trunk/extensions/3rdparty/Vote-Mag/ [07:19:46] 03siebrand * r46836 10/trunk/extensions/FlaggedRevs/language/RatingHistory.i18n.php: ave -> avg. [07:28:03] wtf is "ave" ? [07:28:29] AVErage? [07:29:57] and why does it have to be so short? [07:37:50] Nikerabbit: http://translatewiki.net/w/i.php?title=User_talk:FuzzyBot&diff=prev&oldid=1046547 [07:39:16] Nikerabbit: and where do all those strict warnings come from in "php /var/www/w/maintenance/runJobs.php"? [07:40:16] why are you running it manually? [07:43:31] TimStarling: is FakeTitle supposed to be keep uptodate wrt Title.php? [07:43:54] does anything use it? I thought it was obsolete [07:44:22] TimStarling: it seems to pop up in maintenance scripts [07:45:10] I don't think we even support 5.0.x anymore [07:46:03] uh wtf: maintenance/runJobs.php explicitly includes FakeTitle.php [07:46:08] should that be removed? [07:47:36] yes [07:47:47] 03werdna * r46837 10/trunk/phase3/includes/User.php: Add missing mCoreRight 'writeapi' to User.php [07:48:20] *werdnum makes a more jargonny commit message. [07:50:33] also in showJobs: [07:50:33] ./maintenance/showJobs.php:require_once( "$IP/includes/FakeTitle.php" ); [07:50:34] ./maintenance/showJobs.php:$wgTitle = new FakeTitle; [07:52:20] 03werdna * r46838 10/trunk/phase3/includes/Title.php: Avoid E_NOTICE for wikis that give no rights to anonymous users. [08:05:24] okay, so I never understood this really.. http://test.wikipedia.org/wiki/Mikey_G_CD_CD [08:05:40] people go to a test wiki, or parody wiki, and advertise their lame-ass music... [08:05:53] I used to delete 50 of these a day on Uncyclopedia [08:13:58] 03nikerabbit * r46839 10/trunk/phase3/maintenance/ (runJobs.php showJobs.php): * Remove unneeded includes [08:15:43] werdnum: why empty and not isset? [08:19:25] Nikerabbit: Why isset and not empty? [08:19:34] It can be 'set', but to false :) [08:20:00] dunno [08:20:18] werdnum: it seems to do too many things [08:20:39] so it's either isset( $wgGroupPermissions['*'] ) && $wgGroupPermissions['*'] or !empty( $wgGroupPermissions['*'] ) [08:20:44] and my typing sux :_) [08:30:00] I've problem with images, Error creating thumbnail: [08:30:13] thumbnails are not creating... [08:31:08] !thumbnail [08:31:08] --mwbot-- For information on configuring thumbnailing on MediaWiki, please refer to . [08:33:47] meh, trying to get a shared user db auth plugin to work and i'm reimplementing like half the User code lol :( [08:33:58] ???? [08:34:12] anybody who can help me with thumbnailing images? [08:36:50] is it possible to disable link, when click on image ?? [08:38:59] Hi, Is there any way to disable all Common.js & Common.css Settings? [08:39:05] Welcome Khalid [08:39:12] :-) [08:39:18] delete them [08:39:50] Mediawiki:Common.js & Mediawiki:Common.css? [08:40:05] easy way is to delete them [08:40:14] i mean by content [08:40:28] What about other users? [08:41:17] yeah, if you delete the content, it will affect whole wiki [08:41:18] eg: In English wikipedia I need to disable the code [08:41:48] How can i do that? [08:42:20] *Mr-Fine is Away :O [08:42:43] from where? [08:43:13] i dont know much . Sorry [08:43:23] can you help me with image thumbnailing please? [08:43:24] okey [08:43:37] image thumbnailing? [08:44:09] http://www.mediawiki.org/wiki/Help:Image [08:47:34] hi [08:48:04] hi [08:53:41] 03(mod) Update of MW 1.11 to MW 1.13 on postgresql: missing rev_parent_id - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17026 (10overlordq) [08:55:31] a few days ago i got a wiki-email from [[b:de:User:Djhuty]]. he/she wrote that it was not his account and that he was sending the mail to notify anybody of this accident. he said he is actually [[b:de:User:Nkoehring]]. i then requested a confirmation from nkoehring which i got from that account. i explained him that it could happen if he is djhuty on another wiki due to sul and autologin or... [08:55:33] ...when he doesn't work alone at a computer. but he says that he has a private computer no other person is working with and that he has just the account "nkoehring". also on other wikis. also http://toolserver.org/~vvv/sulutil.php?user=Nkoehring states that nkoehring has no account at german wikibooks which is obviously false. so i wanted to ask whether it's a failure or not. [08:56:37] 03tstarling * r46840 10/trunk/phase3/ (8 files in 3 dirs): [08:56:37] * Fixed a whole lot of XSS vulnerabilities in the installer. All require a live installer, i.e. with no LocalSettings.php present. [08:56:37] * Implemented taint support in the installer and fixed some false positives (and false negatives) [08:59:06] are false negatives true positives? [08:59:58] Is it possible to disable link, when clicking on Images ? [09:00:03] well, I actually meant true positives [09:00:12] Captains: in 1.14+ yah [09:00:27] I think [09:00:48] well, not necessarily.. a false negative might be a missed true positive? [09:00:56] Right [09:01:01] the logic it burns us [09:01:06] A false negative is when it should have complained but it didn't. [09:01:09] not in 1.13??? [09:01:27] Captains: http://www.mediawiki.org/wiki/Help:Images#Syntax [09:01:44] in 1.13 you could use external images, or an extension like imagemap, or css [09:01:53] complaining is a positive [09:02:10] right. [09:02:10] if it was right to complain, it was a true positive, if it was wrong, it was a false positive [09:02:28] if it didn't complain, incorrectly, it was a false negative, but I meant a true positive [09:02:34] !imagelink [09:02:34] --mwbot-- In MW1.14+: you can use the new 'link' parameter [[Image:Foo.png|link=Bar]] | Before that, image linking was intentionally not supported in MediaWiki, so access to the image's description page was always available. If you need image links, see for methods and information. [09:02:39] because it was complaining about actual XSS vulnerabilities [09:03:01] mmm, but it also was not complaining about actual XSS vulnerabiltiies [09:03:16] so I meant false negatives like I said, as well [09:03:23] oh well. [09:03:30] serendipity positives? [09:03:36] I think that is in fact what was in my head at the time [09:04:14] Splarka: my image thumbnailing is not working [09:04:26] =) [09:04:32] somebody asking for downloading of software. why? [09:04:53] can't help you there, http://www.mediawiki.org/wiki/Manual:Image_Administration#Image_thumbnailing was linked to you earlier though [09:05:04] it turns out that it wasn't propagating the taint status through array_map() [09:05:19] ya [09:05:21] so I had to implement wfArrayMap() which is like array_map() except it propagates taints [09:05:40] do i need to install software? [09:05:41] I could have patched PHP but that sounded harder [09:05:47] imagemagic? [09:06:29] !imagemagic [09:06:29] --mwbot-- ImageMagick is a software which can be used with MediaWiki Image Administration. You can read more about it on . ImageMagick is available from . [09:07:33] 03werdna * r46841 10/trunk/phase3/includes/Title.php: Fix r46838 per IAlex on Code Review [09:07:37] TimStarling: Soon, we will have our own library of wf{implode( '', array_map( array( $wgLang, 'ucfirst' ), explode( '_', $funcName ) ) )} for all of PHP :) [09:34:37] when i want to import wiki xml dumps to a other wiki... [09:34:47] and want to reimport them on a monthly base [09:35:07] plus i have other articles in the wiki [09:35:09] what would happen? [09:35:19] can i delete all the old articles? [09:35:28] bevore i import the new stuff? [09:37:04] something like version control... [09:38:50] hi [09:39:02] where I can find a list of actuall bug reports? [09:43:01] !bug? [09:43:01] --mwbot-- I don't know anything about "bug?". You might try: !bug [09:43:10] !bug [09:43:10] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=`e1 [09:44:50] Juandev: https://bugzilla.wikimedia.org/show_bug.cgi?id=1 to https://bugzilla.wikimedia.org/show_bug.cgi?id=17363 [09:46:47] or, to see all open bugs: https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED [09:50:26] Splarka: ahh, the last one helps [10:03:17] does anybody have an idea about the issue i tried to explain above? [10:19:33] if nobody can help me i will go offline then. [10:19:35] bye [10:37:46] uga [10:40:24] Hi [10:43:55] uga [10:44:40] eh? [10:45:01] need some fiber or something? [10:46:44] uga? [10:47:00] hello [10:48:50] hello [10:49:01] hello [10:49:10] |changename [10:53:30] Hi there [10:54:36] how do I add table on mediawiki toolbar? [10:55:54] I noticed something weird about the installer from the latest SVN build [10:57:12] yes? [10:57:29] tim made some xss fixes [10:57:52] The database table prefix option doesn't appear during install, nikerabbit [10:58:08] what's gone on there? [10:58:21] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/46840 * Fixed a whole lot of XSS vulnerabilities in the installer. All require a live installer, i.e. with no LocalSettings.php present. [10:58:35] on mysql? [10:59:04] Is there an SQL command for adding table prefixes to all tables? I'm putting my SVN install on a host that only supports table prefixes [11:00:03] only supports? you mean they have disabled tables without some prefix? [11:00:10] ChryslerFan1986: shows up for me [11:00:41] It hasn't shown up on my browser; I just downloaded it from SVN now, and I'm using Opera browser. [11:01:09] !sidebar | zakiakhmad [11:01:09] --mwbot-- zakiakhmad: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [11:02:01] roan: are you sure he doesn't mean the edit toolbar? [11:03:41] Simetrical: I know I'm replying 11 hours late, but it would've been nicer to implement the subpages move thing in the backend. I'm gonna try and move it over there in the next few days [11:03:56] Nikerabbit: Maybe. But "mediawiki toolbar" is kind of ambiguous [11:04:26] OverlordQ, what's gone wrong? [11:07:09] spotted another code error, for the Coders [11:07:32] still works for me [11:07:35] in Opera [11:07:58] RoanKattouw & mwbot2: thanks! [11:09:09] OverlordQ, it installed, but no message about database [11:09:41] ? [11:10:03] when I ran the install script, it didn't ask me about whether I wanted to prefix the database tables [11:15:03] if you click the MySQL option it will show up [11:15:25] r46840 just made it not show up automagically on pageload anymore [11:17:38] ok will try [11:17:38] 03(NEW) Oversight navigation links broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17364 major; normal; MediaWiki extensions: Oversight; (jayvdb) [11:19:10] OverlordQ, clicked mysql, didnt show up [11:19:29] it did now [11:22:00] 03(NEW) License text in footer wraps around to next line - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17365 15enhancement; normal; MediaWiki: General/Unknown; (bmm) [11:34:57] 03(NEW) DB Options not shown by default after r46840 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17366 minor; normal; MediaWiki: Installation; (overlordq) [11:39:25] How can I make a News ticker?? [11:39:41] anybody using, wanna share ? [11:44:28] 03catrope * r46842 10/trunk/phase3/ (4 files in 2 dirs): [11:44:28] * API: Listing (semi-)deleted revisions and log entries (with rev_/log_deleted != 0) as well in prop=revisions and list=logevents, with commenthidden/userhidden/actionhidden/texthidden flags where appropriate [11:44:28] * Still honors the paranoia checks added in r46807 [11:44:28] * Use $index consistently in ApiQueryLogEvents [11:44:29] * Some whitespace consistency [11:44:45] !ticker [11:44:45] --mwbot-- I don't know anything about "ticker". [11:44:56] 03(mod) Log entries deleted with RevisionDelete feature still appear when searching with [[Special:Log]]. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17342 (10roan.kattouw) [11:55:44] hi there [11:56:06] I'm having problems - see http://www.mediawiki.org/wiki/User:ChryslerFan1986/Wiki_farm_plan [11:57:38] anybody here, who can help me with Image thumbnailing , please? [11:58:12] heya. is it possible to change the auth type of mediawiki? i would like to reuse the auth of my phpbb board [11:58:55] Please can I have some help? :) [11:59:02] 03ialex * r46843 10/trunk/phase3/config/index.php: (bug 17366) fix for r46840: Xml::encodeJsVar() already escapes and quotes $conf->DBtype, no need to do it twice [11:59:14] 03(FIXED) DB Options not shown by default after r46840 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17366 +comment (10alex.emsenhuber) [12:00:00] *Splarka gives roan a big cookie [12:00:01] ChryslerFan1986: What kind of ? [12:00:16] Captain1, it's help with creating a wiki farm via an automated script [12:00:30] dont know,sorry [12:00:39] anybody here, who can help me with Image thumbnailing , please? [12:03:27] hello people [12:03:32] hello King [12:04:00] could any one help me with this: http://www.mediawiki.org/wiki/Extension:Windows_NTLM_LDAP_Auto_Auth [12:04:13] where should i add the "Win NTLM LDAP Auto Auth configuration settings" part? [12:04:23] to the localsettings.php or some other file? [12:04:41] king: everybody is dead [12:04:46] and whats up Captain1? [12:04:50] dont expect for answer [12:04:58] heh well ill hand around till someone can answer :) [12:05:16] hang* [12:05:22] *Captain1 looking for help since a year :( [12:05:28] O_o [12:05:43] what about? maybe i seen something? [12:06:01] anybody here, who can help me with Image thumbnailing , please? [12:06:29] oh, nope, cant help you... sorry [12:06:47] :( [12:10:05] hello people [12:10:37] anybody here, who can help me with Image thumbnailing , please? [12:13:41] i want to mirror a mediawiki on daily basis. i can get the xml dumps....but how do i update the mirror? delete always the database? [12:19:20] anybody here, who can help me with Image thumbnailing , please? [12:19:39] anybody able to help? [12:21:42] EVERYBODY IS LOOKING FOR HELP, SOMEBODY PLEASE JOIN US [12:26:07] Roan: Yeah, actually I realized I should have done that too. It occurred to me when I duplicated the functionality from Special:RenameUser to Special:MovePage. But two instances wasn't enough for me to bother. :) [12:36:03] 03aaron * r46844 10/trunk/extensions/FlaggedRevs/specialpages/ReaderFeedback_body.php: Don't show table on fail [12:39:47] any one here that can help? [12:42:53] !ask [12:42:53] --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:47:04] !authplugin | ExElNeT [12:47:04] --mwbot-- ExElNeT: http://www.mediawiki.org/wiki/AuthPlugin [12:47:25] heh just wanted to know if people are alive here [12:47:51] in this extension : http://www.mediawiki.org/wiki/Extension:Windows_NTLM_LDAP_Auto_Auth [12:48:11] the "Win NTLM LDAP Auto Auth configuration settings" should come in a seperate part or in the localsettings? [12:48:24] Simetrical: If you could be bothered to move split your subpages move code to e.g. Title::moveSubpages(), that'd be nice; I'll do it if no one else does, though [12:48:39] -moev [12:49:11] CrushKing: Probably LocalSettings, and below the require_once() line associated with the extension [12:50:43] RoanKattouw: thanks [12:51:32] RoanKattouw: thanks [12:52:01] though for now... it doesnt work... i hopped it was the problem but it isnt ::( [12:57:15] hi people. if I want to change what kidn of files I can upload to my wiki, where do I do that? [12:57:25] !upload | gamla_kossan [12:57:25] --mwbot-- gamla_kossan: File uploads are disabled per default, set $wgEnableUploads=true to enable it. See for configuration details, and for using uploaded images and other files. [12:57:39] RoanKattouw: thanks :> [12:59:16] is there some way to search Special:ProtectedPages to see the actual protection level of a particular page? [13:15:14] Mufka: on newer MW installs [13:15:28] how new? [13:16:32] and is it optional? [13:25:22] http://commons.wikimedia.org/wiki/Commons:Village_pump/Request_for_extension_to_provide_metadata_support [13:28:05] we have a private wiki (accessible to registered users only), however if users have direct url to an uploaded file, it can be accessed without login to wiki, is there any way to prevent this and restrict file access to registered users? [13:30:29] !imageauth | mziaei [13:30:29] --mwbot-- mziaei: I don't know anything about "imageauth". [13:30:33] 03(mod) Fetching revision history fails without error message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11430 +comment (10roan.kattouw) [13:30:34] bah. [13:30:40] !access | mziaei [13:30:40] --mwbot-- mziaei: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [13:30:48] mziaei: look for imageauth on that page. [13:31:36] thnx, I'll check it [13:31:46] !imageauth is For protecting against unauthorized access to images, see [13:31:46] --mwbot-- Successfully added keyword: imageauth [13:31:52] mziaei: see above [13:40:19] that's the one, thanks [13:53:59] what if i want to mirror a mediawiki with a xml backup of the articles...without userdata. i want to do this on a weekly base. do i have to set up a fresh mediawiki installation each time? [14:12:07] !mirror [14:12:07] --mwbot-- I don't know anything about "mirror". [14:15:46] 03(NEW) Ajaxify the "watch" links on Special:Unwatchedpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17367 15enhancement; normal; MediaWiki: Special pages; (danny.b) [14:15:49] 03(mod) JavaScript (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2114 (10danny.b) [14:15:52] 03(mod) AJAX (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14123 (10danny.b) [14:22:22] Hi, I noticed that in mwsuggest.js on line 259, var p = eval('('+text+')'); can be exploited by an attack based on javascript hijacking. [14:22:36] Do you agree with me ? [14:25:36] ... [14:25:47] it can if you don't control what's in text [14:26:08] but since the output is under our control, it doesn't matter [14:26:12] scuffio: define "javascript hijacking" [14:26:36] well, eval is always a bit fishy. mediawiki doesn't contain php evals for that reason, anywhere. [14:27:03] would be nice to avoid it in js too. but in and by itself, it's not an immediate problem. it depends on where "text" comes from [14:27:06] Duesentrieb: if you don't control what's in text (or rather if the text can be submitted by whoever) then malicious code can occure there [14:27:18] yes. [14:27:49] but we do control the text thus using of eval here isn't hazardous. but in general it is. there should be json parser used instead [14:28:31] Exscume, but what's in texT ? [14:29:02] i'd assume some json stuff [14:29:16] and where are you controlling text ? [14:29:36] it's generated by server [14:29:43] from database [14:30:27] so you assume if someone compromise the databse, can do much more than an javascript hijacking attack [14:30:41] isn't true ? [14:30:44] scuffio: it might be better if you came with use case of possible misuse [14:31:09] I'm just thinking about it [14:31:21] Try to come up with one and you'll see there isn't one (hopefully :D ) [14:31:42] iirc there are only page titles used [14:31:44] I hope so [14:31:56] thus you'd have to create malicious page title [14:32:03] *RoanKattouw eats CIA-60 [14:32:03] *CIA-60 tastes crunchy [14:32:07] WTF [14:32:08] What does iirc means ? [14:32:09] 03(FIXED) Fetching revision history fails without error message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11430 +comment (10roan.kattouw) [14:32:34] besides i guess bunch of stuff is html escaped [14:33:29] ok, so is safe becouse the value of text comes up from the server, is it ok ? [14:34:00] scuffio: IIRC means If I Recall Correctly [14:34:06] ok [14:35:40] 03(NEW) Don't edit conflict with MediaWiki's post-save transform - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17368 15enhancement; normal; MediaWiki: Page editing; (matthew.britton) [14:35:54] scuffio: right. because the server/database in fact fully "controls" the output [14:36:30] but i repeat - in general it is not safe practise [14:43:06] http://www.json.org/js.html [14:43:49] "The use of eval is indicated when the source is trusted and competent. It is much safer to use a JSON parser. In web applications over XMLHttpRequest, communication is permitted only to the same origin that provide that page, so it is trusted." [14:46:26] JavaScript hijacking allows an attacker to bypass the Same Origin Policy in the case that a Web application uses JavaScript to communicate confidential information. The loophole in the Same Origin Policy is that it allows JavaScript from any website to be included and executed in the context of any other website. Even though a malicious site cannot directly examine any data loaded from a vulnerable site on the client [14:46:54] 03(FIXED) Number of active users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17303 +comment (10matthew.britton) [14:50:21] Good morning. I have a template usage question. I'm using this template, http://www.homeipnet.com/mediawiki/index.php?title=Template:Commandline&action=edit . But when the argument has an equal sign in it, it doesn't display correctly. So {{Commandline|x=y}} renders as {{{1}}} instead of as it should. [14:50:37] Is there some way to fix this? [14:50:43] jc: That's a known issue. Use {{Commandline|1=x=y}} [14:51:12] Man, I love it when people just KNOW the answer. Thanks! [14:54:17] it's not an issue, exactly, it's just how templates work [14:54:22] x=y means the argument 'x' has the value 'y' [15:02:39] Here the same security issue: xmlhttp.open("GET", path, true); on line 349 [15:04:03] ABSTRACT: [15:04:03] Applications that use JavaScript notation to transport sensitive data can be vulnerable to JavaScript hijacking, which allows an unauthorized attacker to read confidential data from a vulnerable application. [15:04:19] scuffio: go ahead and file bug(s) [15:04:20] scuffio: Note "*can* be" [15:04:35] Danny_B, dont encourage [15:05:03] yes [15:05:04] can be [15:05:13] what do you think about it ? [15:05:33] Stupid error message [15:05:42] The use of JSON in and of itself isn't insecure [15:05:56] eval()ing JSON may be insecure [15:06:04] I agree [15:06:15] It's like saying forks are highly dangerous because you could potentially stick them in your own eye [15:06:45] ? [15:06:47] RoanKattouw, or someone elses [15:06:51] yeah, but his crappy security scanner doesn't really understand that [15:06:57] (my little sister did the other day) [15:06:58] If you have serious spasms or something like that, that's true, but normal people can handle forks just fine [15:06:59] he just comes in here to ask about every message [15:07:22] yksinaisyyteni: I know, but the crappy security scanner could be just a little less crappy than this [15:07:43] RoanKattouw: well, it's meant to be used by someone who has a clue about what they're doing.. [15:08:00] yksinaisyyteni: It sees we're using XHR, so it assumes we're using JSON too and from that it assumes we're using it in an insecure manner [15:08:21] yes [15:08:23] It's also meant to be written by someone who has a clue :P [15:09:55] so ? [15:09:57] btw what "security scanner" are we talking about here? [15:10:09] sca fortify [15:10:32] scuffio: Conclusion: that was by far the most pointless warning I've seen that thing generate yet [15:10:46] ahahaha [15:10:50] scuffio: if you want to do something useful (instead of annoying us with endless inane questions), send the output of fortify to the mailing list and let someone who understands the software interpret us [15:10:51] does someone know if importdump.php can overwrite existing pages? [15:11:19] or if its possible just to "sync" the db with a xml backup? [15:11:23] It's the first time u have a good idea... [15:11:33] :) [15:11:42] I was joking [15:12:30] *^demon bakes a gigantic cake and gives it to RoanKattouw [15:12:38] ^demon: Thanks for your work on the mega patch [15:12:45] *RoanKattouw splits it with ^demon [15:13:01] *RoanKattouw still hasn't finished Splarka's big cookie yet [15:13:50] ^demon: I don't know why the imageinfo patch wouldn't apply, though. As far as I could tell, only minor changes happened there [15:14:59] <^demon> :-\ [15:15:01] <^demon> That explains a lot. [15:15:11] <^demon> I was looking at QueryImage, not ImageInfo.... [15:15:15] <^demon> No wonder I was confused. [15:15:39] Well the patch itself was also to blame [15:15:54] Consisted of three hunks, of which the first covered 95 lines [15:16:00] (of course that one failed) [15:16:49] <^demon> One of them was an absolute pain. svn had made the patch rather annoying and made it difficult to manually merge. {'s were taken and added in weird places, which kept throwing me off. [15:17:13] 03rotem * r46846 10/trunk/ (3 files in 2 dirs): Localization update for he. [15:19:38] ^demon: Well thanks for going through all that :D I didn't test this thing since a few months ago, so I'm praying everything turns out OK [15:22:01] RoanKattouw: looks like RELEASE-NOTES are missing for r46845 [15:22:17] siebrand: You mean that monster commit? [15:22:17] Hi [15:22:34] RoanKattouw: oh well, it was only a 226k mail. Not that huge :) [15:22:40] hehe [15:22:52] deleted 247, added 747 lines if memory serves [15:22:57] someone recently merged to branch, causing a 26MB mail. [15:23:19] Well you're not entirely innocent in that regard either [15:23:38] hmm? [15:23:42] Whenever I see a commit by you to /trunk/extensions , I don't even *try* to open it [15:23:44] RoanKattouw: I usually stay < 2MB, but that's still quite large. [15:23:54] Anyway, seems you're right about the RELEASE-NOTES thing [15:25:32] 03catrope * r46847 10/trunk/phase3/RELEASE-NOTES: RELEASE-NOTES for r46845 [15:25:36] I didn't forget to commit them, I didn't even *add* them [15:25:48] <^demon> I didn't add any to my patch. I figured you would :p [15:25:56] Yeah so did I :P [15:26:24] I was about to commit when I realized I'd forgotten ApiQueryDuplicateFiles, which was introduced after that patch was written [15:28:34] RoanKattouw: [05-Feb-2009 15:28:25] PHP Warning: Invalid argument supplied for foreach() in /var/www/w/includes/api/ApiFeedWatchlist.php on line 92 [15:28:52] Hrm [15:29:58] siebrand: Not a regression from my last commit; seems to happen when requesting a watchlist feed for an empty watchlist [15:30:16] <^demon> What about casting it as an array? [15:30:26] On it [15:30:47] <^demon> I love FauxRequest :) [15:31:09] 03catrope * r46848 10/trunk/phase3/includes/api/ApiFeedWatchlist.php: Fix E_WARNING reported by siebrand [15:31:16] siebrand: That better? ---^ [15:31:37] RoanKattouw: maybe. I just saw the warning, no idea about the steps to reproduce. [15:31:48] siebrand: Request a watchlist feed [15:31:58] Preferably by a user with an empty watchlist [15:37:07] shameless repost: http://commons.wikimedia.org/wiki/Commons:Village_pump/Request_for_extension_to_provide_metadata_support [15:38:33] hi Duesentrieb [15:38:41] hey Nikerabbit [15:38:52] will you be at the beer event tomorrow? [15:41:18] I'm running MW 1.13.2. Is searching within Special:ProtectedPages possible? [15:44:51] RoanKattouw: PHP Strict Standards: Only variables should be assigned by reference in /var/www/w/includes/api/ApiResult.php on line 278 [15:44:59] seen at Translatewiki too [15:46:25] Raymond_: Fixed [15:46:30] 03catrope * r46849 10/trunk/phase3/includes/api/ApiResult.php: Fix regression from r46845 which broke ApiResult::cleanUpUTF8() and caused an E_NOTICE [15:46:44] yeah :) [15:51:39] Hi all [15:52:21] I have a problem with string manipulator of mediawiki [15:52:46] I can't use explode of this article http://ffxi.allakhazam.com/wiki/wiki:Internal_Functions [15:52:52] do you can help me? [15:53:31] !class ApiBase | scuffio [15:53:31] --mwbot-- scuffio: See http://svn.wikimedia.org/doc/classApiBase.html [15:54:29] Hello everyone, I'm building an extension and would like to add add simple javascript to it (to be more user friendly). Even a simple onclick="alert();" doesn't work. Is there something special to do ? [15:54:36] <^demon> RoanKattouw: I haven't had a chance to play with import/export on the API yet. Very excited to see it though :) [15:55:42] ^demon: Thanks. action=import also supports transwiki, I think that'll be popular for AWB and such [15:55:49] *RoanKattouw realizes Reedy is here [15:56:00] RoanKattouw, should i run/hide? [15:56:04] Reedy: Did you see the shiny new API support for transwikiing? ;) [15:56:06] {{#explode:{{PAGENAME}}|\s}} <== this script return the first part of PAGENAME? [15:57:06] <^demon> I wanted import to support transwiki :) That was my major request (I was going to file a bug on it, just hadn't gotten to it) [15:57:30] Well I didn't even know it existed, I just ran into it when reading the import code [15:57:36] So I though I'd just support it [15:58:01] <^demon> It's disabled 9 times out of 10 :) [15:58:14] Yeah, that's why I didn't know about it [15:58:27] RoanKattouw, got quite a lot of free time atm then? :) [15:58:46] Yeah, and it ends tomorrow :( [15:58:51] :( [15:59:04] At least you've been productive ;) [15:59:24] I'm very glad I finally got around to committing that huge patch so I could close the associated bug after a year and a half [16:01:01] *^demon gives Roan a new bug :) [16:01:48] <^demon> !b 16554 [16:01:48] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=16554 [16:01:55] <^demon> Only bug I want fixed right now [16:04:18] Anyome to help me with this stupid javascript question ? (Even a simple onclick="alert();" doesn't work. Is there something special to do ?) [16:05:12] where do you place it? [16:06:41] Platonides: I'm writing the output of teh page directly, I wrote "" and nothis. I've seen that there is $wgOut->addScript(''); but many other extensions are writting small scripts inside the body [16:08:09] <^demon> Steren: Did you try not escaping the single quotes? [16:08:19] <^demon> onclick="alert('aglagla');" [16:08:35] <^demon> If it's in double quotes, you don't need to escape single quotes and vice versa. [16:09:10] demon : in fact it's php, so I have to I guess. [16:11:05] <^demon> Hehe, ignore me then :) [16:11:09] <^demon> I was thinking of the final output. [16:11:16] <^demon|away> Later folks. [16:11:24] ^demon : you know, I'm using $wgOut->addHTML() to add Html to the page, this string is passed between single quotes. But I don't think the issue is from here, I first tested with disable / enable of an input [16:11:28] 03siebrand * r46850 10/trunk/extensions/ (8 files in 8 dirs): [16:11:28] * fix capitalisation in some messages [16:11:28] * fix some typos [16:11:28] * add some newlines for easier localisation [16:11:56] <^demon|away> Steren: Dunno :-\ Can't look at it now really. [16:12:19] ^demon|away: yes it's nothing. thank you for toy time [16:12:58] awesome, that mediawiki schema image is popular news item :)) [16:13:29] <^demon|away> I love toy time :) [16:13:40] <^demon|away> domas: I love that image. I had it as a wallpaper for awhile. [16:14:37] 03dale * r46851 10/trunk/extensions/MetavidWiki/ (5 files in 4 dirs): [16:14:37] optimized recent speeches output [16:14:37] added edit hooks to clip-edit button in sequencer [16:14:38] domas: Oh, we finally have a new image? [16:14:41] *RoanKattouw checks it out [16:14:52] *shrug* [16:14:54] reddit has 200 comments [16:14:57] ycombinator has 50 comments [16:14:58] etc [16:14:58] :) [16:15:00] on our schema [16:15:01] <^demon|away> RoanKattouw: I don't think so? In any case [[mw:Schema]] needs some updating. [16:15:05] I find it funny [16:15:16] <^demon|away> Ok I'm gone for real now. Bye. [16:19:01] hehe, brion commented about TIMESTAMP/CHAR(14) issue [16:19:02] hahaha [16:19:09] he forgot to mention, that mysql always had DATETIME :) [16:19:26] TIMESTAMP?! isn't that *really* evil? [16:19:35] TIMSTAMP _is_ evil [16:19:41] right [16:19:44] well, it is configurable nowadays [16:19:48] but in 4.0 it is evil [16:20:00] ok, so it's $evil. [16:20:05] when mw1.14 is coming ? [16:20:30] Captain1: Ask TimStarling [16:20:32] btw, amazon CTO twittered about our schema [16:20:33] lol [16:23:08] my wiki is not opening.. [16:23:16] Captain1: thats indeed very sad [16:23:36] Captain1: You gotta be more specific than that, or nobody will be able to help you [16:24:32] http://www.tayyeb.org/Vop [16:24:44] fine now [16:25:46] anybody who can help me with image thumbnailing ? [16:28:30] I'm hoping someone here knows the problem with this. New laptop. Trying to view my already built wiki, but it seems like Firefox (doesn't happen on any other browser) isn't displaying the javascript [16:28:44] The css seems to be ok I think. [16:29:17] So the page looks like it's built in basic HTML instead of the normal MW [16:29:32] url ? [16:30:00] Huufarted: seams to be more a CSS issue [16:31:06] Captain1, it's on a closed wiki. Not open to the public net. [16:31:28] Steren, the wiki can be viewed on my other PC in firefox just fine. I'm wondering if perhaps I need to define css as a mime type perhaps? [16:32:18] Huufarted: if it works on another firefox, then I would assume the issue is from the firefox on your laptop [16:32:44] oh hey there [16:32:47] Mine is in French but : View > Style > ??? [16:33:52] page style just dumbs it down. Doesn't affect this problem when I swap it. [16:35:11] anybody who can help me with image thumbnailing ? [16:35:51] how can i hide displaying CATEGORY box at buttom of pages???? [16:37:25] I have a problem with short urls under a subdirectory, I have two wikis (/var/www/subdir1/wiki and /var/www/subdir2/wiki), I tried to follow the guide: http://www.mediawiki.org/wiki/Manual:Short_URL/sub_directory/wiki/Page_Title_--_.htaccess but I don't know where public_html is supposed to be [16:41:35] 03(NEW) Enable searching and sorting in Special:Protectedpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17369 15enhancement; normal; Wikimedia: General/Unknown; (mufka.wiki) [16:47:43] $resultDetails Array: contains result-specific array of additional values 'alreadyrolled' : 'current' (rev) success : 'summary' (str), 'current' (rev), 'target' (rev) [16:48:04] what does rev means ? [16:58:48] hi [16:58:58] please check this: http://en.wikinews.org/wiki/Template:Latest_news [16:59:33] i want something like this on my wiki, i tried several times but dont get.if this using any extension or what else ? please help [17:03:08] is your wiki publicly accessible? [17:03:26] yh [17:04:42] Danny_B: What say? [17:04:44] i suppose you'll need to copy (parts of) mediawiki:common.js and/or mediawiki:monobook.js [17:05:26] if that expand/collapse feature is what we are talking about here [17:05:47] and you also need to instal dpl [17:06:11] http://www.mediawiki.org/wiki/Extension:Intersection [17:06:20] already installed [17:06:53] what is difference between modern.js, common.j [17:06:58] !js [17:06:58] --mwbot-- To set up custom javascript on a wiki, edit the page called [[MediaWiki:Common.js]] (NOT a file, a page on your wiki, which is included via