[00:00:34] 03(mod) CSS valid code - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18069 (10Simetrical+wikibugs) [00:02:27] hello, how can I use interwiki links without showing the wiki names. I'm trying to use a link to wikipedia from my wiki using [[wikipedia:article]] but it displays wikipedia:article as a link [00:04:15] [[wikipedia:article|article]] [00:04:28] or save the page with [[wikipedia:article|]] and it will transform on save to that [00:04:47] http://en.wikipedia.org/wiki/Help:Pipe_trick [00:04:56] oh great, thanks [00:07:53] Bye all, thanks so much MrZ-man [and Splarka of course] [00:08:15] rar [00:08:57] well duh i mean every time i come in here you genius it up [00:14:49] 03dale * r49986 10/branches/new-upload/phase3/includes/HttpFunctions.php: some upload branch updates for curl [00:24:49] Simetrical: *thumbs up* [00:52:06] 03demon * r49987 10/trunk/extensions/ (5 files in 5 dirs): Kill a few unused $wgArticles. [01:00:49] 03werdna * r49988 10/trunk/phase3/includes/ (HTMLForm.php Preferences.php): [01:00:49] * Fix silly PHP annoyance where eauth message was shown on all saves. [01:00:49] * Disable email-related checkboxes when email address is not confirmed [01:02:53] 03demon * r49989 10/trunk/extensions/CheckUser/CheckUser_body.php: Use getTitle() instead of $wgTitle. $wgTitle wasn't even a global here. [01:12:11] 03demon * r49990 10/trunk/extensions/AntiSpoof/AntiSpoof.php: (bug 16264) Escape invalid username [01:12:13] 03(FIXED) Provide escaped parameters for Antispoof messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16264 +comment (10innocentkiller) [01:17:12] 03(mod) Chinese needs sensible fallback character encoding set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17020 (10shinjiman) [01:28:10] 03(FIXED) Warning instead of error message when category does not exist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18425 +comment (10innocentkiller) [01:40:43] hi guys [01:40:51] I would like to report a bug [01:46:04] TimStarling: What do I have to do to get a Ogg Vorbis Flash player [01:46:36] why do you want it? [01:46:59] It has a larger install base [01:47:08] are you the guy who ported it from java to actionscript? [01:47:27] No I just threw up a few demos of it [01:49:07] Arek Korbik [01:49:34] he credited fluendo incorrectly [01:50:14] jorbis was by JCraft [01:50:14] <^demon> !bugzilla | mattwj20021 [01:50:14] --mwbot-- mattwj20021: All bugs in MediaWiki should be reported at https://bugzilla.wikimedia.org. This is also the place to request site configuration changes, new features or enhancements to existing features, although bear the following points in mind before making a feature/enhancement request: 1) If the request is specific to a Wikimedia wiki, please discuss the issue on that wiki first. 2) Consider whether a custom extension would be more appropriate. [01:52:21] Demos: http://toolserver.org/~dispenser/view/Flash_Ogg_Vorbis [01:53:23] TimStarling: where do we keep our local copies of /h/w/c? [01:53:39] I've made a whole bunch of changes to InitialiseSettings.php and I want to review the diff before I sync it [01:53:49] /usr/local/apache/common [01:55:24] Dispenser: I'd rather not have to maintain another media player [01:55:32] we're having enough trouble with cortado [01:56:58] So there's nothing I can do about it [01:57:50] I think we'd be better off making cortado and java better, and encouraging people to install it [01:59:18] It just a little disappointing for me [01:59:26] It is* [02:03:18] TimStarling: What's the work like to become a maintainer of something like that? [02:03:55] it's the wrong solution [02:04:41] I guess the right solution is for the browser to implement it? [02:05:08] no, the right solution is to transcode into a format that the browser supports natively [02:07:32] we could transcode to WMA and embed windows media player [02:07:52] ffmpeg supports it [02:08:06] But that would require licensing patent, right? [02:08:35] theoretically [02:11:38] *werdna wonders if the lull in commits is people camping for #50,000 [02:14:01] I'm trying to change the logo of a newly installed MediaWiki... Is there a reason why the change won't work? I set the $wgLogo variable to the full URL of the new image... [02:14:17] In LocalSettings.php [02:15:01] Try a relative URL? [02:15:09] also tried that... doesn't work [02:15:51] Make sure you bypass your cache? [02:17:07] http://www.microsoft.com/windows/windowsmedia/licensing/LicensingAVServices.aspx [02:17:10] seems to be free [02:17:20] Marybelle: hum probably [02:17:24] I enabled eAccelerator caching.. [02:17:38] no license fees or royalties for online content providers [02:18:13] has anyone used emacs mediawiki.el mode? [02:18:19] right... it was the problem [02:21:45] well, the cache seems to explain a lot of problems I had :) [02:23:43] it explains why short URLs didn't work when I tried to configure them yesterday.. [02:34:36] 03werdna * r49991 10/trunk/ (4 files in 4 dirs): Sectionise preferences to make the form a bit more readable [02:35:50] 03shinjiman * r49992 10/trunk/extensions/DisableSpecialPages/DisableSpecialPages.php: Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version [02:41:39] 03(mod) Hooks for EditPage Toolbar (function getEditToolbar) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7245 +comment (10innocentkiller) [02:41:47] 03(WONTFIX) Add "alert" icon to recently modified articles, indicating how long they've held their present state - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4315 +comment (10innocentkiller) [02:43:34] 03(FIXED) New preferences page does not contain e-mail confirmation data - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18580 +comment (10agarrett) [02:54:31] Is there a way, aside from using HTML, to fold the source code for list entries? [02:55:10] javascript :P [02:56:12] heh, you can't even do that with html, without also using JS (or css in some browseres) [02:59:20] perhaps we're speaking at cross purposes - this works fine: http://pastie.org/460596 [03:04:02] 03demon * r49993 10/trunk/phase3/ (18 files in 5 dirs): Kill a bunch of unused $wgUser [03:08:44] revisioncountitis [03:09:17] i wonder what 50k will be [03:10:11] ahh, actually fold the source code, line wrap it... [03:11:11] Rich_Morin: so no actual visible output differences in the rendered page? [03:11:27] *chuck adds a highlight in irssi for "r50000" so that he can look and see what it was [03:12:02] <^demon> I considered writing some really awesome feature about 2k revs ago and hold off to commit it on r50000, but I never got around to it. [03:12:06] not that I can see., [03:12:07] 49999 is more fun, prime even [03:12:26] can someone say r(ctrl-b)50000 ? [03:12:46] no, nobody can say r50000 or r50000 [03:12:58] Wee, irssi is smart enough to match it even with the bold [03:13:21] ^demon: You still have some time. [03:14:20] <^demon> chuck: To write a really awesome feature? [03:14:24] Hello, when i try to load up a picture the wiki sai to my, the pic have no extinsion like jpg.... [03:14:32] Yeah! [03:15:26] <^demon> Actually, I don't have time tonight. Have to finish my last homework assignment for the semester :) [03:15:45] i tried jpg and png [03:30:55] Hello, when i try to load up a picture the wiki say to me, the pic have no extinsion like jpg.... [04:00:39] 03aaron * r49994 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: Minor cleanups [04:45:46] 03(mod) Chinese needs sensible fallback character encoding set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17020 (10zayoo) [05:24:27] 03shinjiman * r49995 10/trunk/phase3/includes/specials/SpecialVersion.php: * (bug 18593) Unify svn-revision references in Special:Version, in addition with Brion's recommendations. :) [05:26:17] 03(FIXED) Unify svn-revision references in Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18593 +comment (10shinjiman) [05:34:16] 03shinjiman * r49996 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Literary Chinese [06:02:01] 03shinjiman * r49997 10/trunk/phase3/includes/specials/SpecialVersion.php: Follow up r49996, changing pathrev to revision on non-trunk preventing the 404 error. [06:46:46] werdna: still camping r5k? [06:58:41] *Marybelle throws a 0 at Splarka. [06:59:04] yah, that [07:00:12] 5my [07:08:11] morning [07:15:15] Good morning. [07:44:48] 03(NEW) Update "Gallery of user styles" link when editing monobook.js (en.wikpedia) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18611 trivial; Normal; Wikimedia: Site requests; (radiant.chains) [07:47:19] *Splarka thinks that has nothing to do with bugzilla [07:47:38] I'll get it in a sec. [07:48:52] oh [07:49:12] differnet than what the summary suggested, but still totally irrelevant [07:49:43] http://en.wikipedia.org/wiki/MediaWiki_talk:Usercssjsyoucanpreview [07:50:06] 14(INVALID) Update "Gallery of user styles" link when editing monobook.js (en.wikpedia) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18611 +comment (10public) [08:10:49] is it possible to set up addButton (JS call) so that it opens up a floatbox (http://randomous.com/floatbox/) containing some page? [08:13:52] mibbim: easier to just add your own with specific onclick [08:14:13] Splarka: alright. i will try that :) [08:33:24] mibbim: ping [08:33:53] Splarka: i found an extension that pretty much does what you described [08:34:02] http://p.defau.lt/?P_sbVk2AI_0Rk4hvFZ_16w [08:34:20] here is just a simple bit of JS to do it pretty crudely too (no close feature, simple google window) [08:34:37] okay. thank you very much [08:55:10] whre might i find the ultimate machine readable source for the site matrix? [08:55:27] Splarka: the JS you provided works great. thanks :) [08:56:42] np [09:31:02] i asked this before but we didn't find a solution: where can I change the standard 150px size of the thumb images in system-generated galleries as on Special:NewFiles (not by the gallery tag)? Or is it a bad idea to change it cos those standard 150px thumbs are already created on upload? [09:43:16] Subfader: do you mean 120px ? [09:44:10] oh, I have already changed that some while ago :9 [09:44:24] tsk [09:44:34] then you know it is private $mWidths = 120, $mHeights = 120; [09:44:39] in /includes/ImageGallery.php [09:44:58] doh. yeah now I remember :) [09:45:14] so is it a bad idea to use something odd like 165? [09:45:39] *shrug*, shouldn't matter too much, though you may have to generate thumbs for old files that don't have them at that resolution [09:46:04] ok trying. [09:46:05] Wikimedia does this by having the image server 404 handler redirect to thumb.php or something, so any possible thumb is magically generated on demand [09:46:17] (which has caused problems before, from sites hotlinking) [09:53:18] somoene might want to look at http://en.wikipedia.org/w/index.php?title=Enrico_Colantoni&curid=921332&diff=286571652&oldid=280763426 but there is no source for either version [09:58:32] 03(NEW) Please enamble transwiki import and upload import to es.wikibooks. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18612 enhancement; Normal; Wikimedia: Site requests; (dferg-wiki) [09:59:16] 03(mod) Please enable transwiki import and upload import to es.wikibooks. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18612 summary; +comment (10dferg-wiki) [10:34:41] 03catrope * r49998 10/trunk/extensions/EditOwn/EditOwn.php: EditOwn: Fix for cases where the revision table contains a revision with rev_page=0 [10:52:54] Hi.* [10:53:05] Is there a way to revoque all contributions form a user ? [10:53:16] I mean at once, with one click ? [10:53:33] !e Nuke | democrite [10:53:33] --mwbot-- democrite: http://www.mediawiki.org/wiki/Extension:Nuke [10:54:22] Thank you but I don't have a shell access right now, and I have to revoke manu contributions. [10:54:27] Is there no other ways ? [10:54:43] democrite: Do you have the right to use rollback? [10:55:23] If so, go to [[Special:Contributions/Vandalusername]] and click all the [rollback] links on it with the middle mouse button (using Firefox or another browser that uses tabs helps a lot here) [10:55:57] Some contribs won't have [rollback] links; in that case you need to undo them manually or by using the (undo) link; the latter may not succeed in all cases [10:59:18] I'm sysop+bureaucrat so I guess yes. [10:59:19] *democrite checks [10:59:58] hi RoanKattouw [11:00:08] Hi Nikerabbit [11:00:14] how's the day? [11:00:32] Ok that's what I was already doing : use all rollback links and then delete the pages (new pages can't be rollback) [11:00:33] Only started an hour ago, good so far :) [11:00:44] Yeah that should pretty much cover it [11:25:50] Hello everyone, [11:26:36] Could you tell me how mediawiki parses instructions like that {{#if:{{{mef|}}}|{{{mef}}} ? [11:26:57] what do you mean by "how"? [11:27:02] (it's an example, but this kind of code appears in page) [11:27:06] also, that sequence is missing a final }} [11:27:21] yes i told it was an example, and truncated [11:27:24] oh, if {{#if isn't interpreted, you are missing an extension [11:27:27] !parserfunctions [11:27:27] --mwbot-- "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [11:27:30] that is an example of a "template", more specifically a parser function and a template parameter [11:27:46] actually, parser function and template parameters [11:27:56] LiliwoLm: You shouldn't be using #if that way, just using {{{mef|}}} will do the trick in this particular case [11:27:58] ok that's it i don't know about parser fnctions, i look at that, thanks [11:28:09] RoanKattouw: there is one case where that is needed [11:28:15] Which is what? [11:28:22] for copy-paste templates where a blank default is required to be suppressed [11:28:27] {{copy this template call [11:28:31] |foo= [11:28:59] if the user doesn't delete optional parameters, that check can suppress them where {{{foo|}}} would not [11:30:16] 03catrope * r49999 10/trunk/phase3/includes/api/ApiQueryDeletedrevs.php: API: Fix list=deletedrevs paging bug pointed out by Splarka on IRC [11:30:22] Splarka: ---^^ [11:30:36] race for 5my is on [11:30:45] Isn't {{{foo|}}} simply empty when foo isn't set? [11:30:54] yes [11:31:15] but when foo /is/ set but empty, you will get different results for example [11:31:16] And {{#if:{{{foo|}}}|{{{foo}}}}} is also empty when foo isn't set [11:31:29] What's the difference then? [11:31:45] well, none with th at specific test case [11:31:52] but take this: {{{foo|bar}}} [11:32:01] {{#if:{{{foo|}}}|{{{foo}}}|bar}} [11:32:08] bar will not show in {{call|foo=}} [11:32:13] except in the latter [11:32:21] Yeah for foo="" the former is empty and the latter is "bar" [11:34:34] and thanks for fixing bug ^_^ [11:34:40] Sure [11:42:27] 03catrope * r50000 10/trunk/phase3/ (4 files in 2 dirs): API: (bug 16422) Don't show help in format=jsonfm unless specifically requested with action=help [11:42:45] Splarka: And the other one ----^^ [11:43:08] 03catrope * r50001 10/trunk/phase3/ (3 files in 3 dirs): svn:eol-style=native on new files [11:43:19] 03(mod) Line-wrap help/error info in &format=jsonfm - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16422 (10roan.kattouw) [11:43:44] yay! that one is sure annoying when manually debugging json ^_^ [11:44:44] another question, the template InfoBox will be displayed with the parserfuctions installed? [11:44:51] 03(mod) Line-wrap help/error info in &format=jsonfm - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16422 +comment (10herd) [11:45:02] How to force a toc? [11:45:06] LiliwoLm: It should be [11:45:09] uwjweq: __TOC__ [11:45:21] Thanks [11:45:21] ok thanks [12:00:49] i'm trying to work out if there's a way to use a generator to expand or parse a bunch of templates? [12:01:01] hippietrail: You mean in the API? [12:01:15] RoanKattouw: yeah [12:01:32] Your only options are action=expandtemplates and prop=revisions&rvexpandtemplates [12:02:01] hmm [12:04:29] like this? http://en.wiktionary.org/w/api.php?action=expandtemplates&prop=revisions&rvexpandtemplates=1&generator=categorymembers&gcmtitle=Category:Language_templates&gcmnamespace=10 [12:07:41] doesnt seem to do anything [12:08:13] hippietrail: It's a bit tricky to expand templates when there are no results from the generator [12:08:41] WTF there are results [12:08:55] this returns stuff but i'm in the dark here: http://en.wiktionary.org/w/api.php?action=query&prop=revisions&rvprop=content&generator=categorymembers&gcmtitle=Category:Language_templates&gcmnamespace=10 [12:09:12] hippietrail: Ah, you need rvprop=content as well, sorry [12:09:28] ta [12:09:31] http://en.wiktionary.org/w/api.php?generator=categorymembers&gcmtitle=Category:Language_templates&gcmnamespace=10&action=query&prop=revisions&rvprop=content&rvexpandtemplates [12:09:39] But that doesn't do what you want, because you're using it the wrong way [12:10:03] What rvexpandtemplates does is, if you feed it a page that has {{foo}} in its wikitext, it'll expand that to the contents of [[Template:Foo]] [12:10:15] So you need to feed it pages that use templates, not the templates themselves [12:10:56] Alternatively you can do something like action=parse&text={{templatename|param1|param2}} [12:11:07] basically we have a bunch of templates whose names are language codes and whose contents are language names, i was trying to see if we could use the api to get them all [12:11:10] (or action=expandtemplates, sorry) [12:11:23] How does this look? http://en.wiktionary.org/w/api.php?generator=categorymembers&gcmtitle=Category:Language_templates&gcmnamespace=10&action=query&prop=revisions&rvprop=content [12:11:28] That's just the raw wikitext content of the templates [12:11:32] ah but in that case i can't use the generator? [12:11:55] No, for action=expandtemplates you can't use a generator [12:12:13] What's of interest to you is probably either http://en.wiktionary.org/w/api.php?generator=categorymembers&gcmtitle=Category:Language_templates&gcmnamespace=10&action=query&prop=revisions&rvprop=content or http://en.wiktionary.org/w/api.php?generator=categorymembers&gcmtitle=Category:Language_templates&gcmnamespace=10&action=query&prop=revisions&rvprop=content&rvexpandtemplates [12:12:55] yes i could scrape the wikitext but if any are a bit different they might not parse [12:14:28] hey hippietrail, " whre might i find the ultimate machine readable source for the site matrix?" <-- did you find action=sitematrix yet? [12:15:15] Splarka: i got my upload extension work. :) basically it opens up an iframe (via floatbox), lets user upload file and returns file name of upload [12:15:22] yes i found sitematrix but i wondered if it had a source. probably the live database tables right? [12:16:00] mibbim: oh, you should have said, Wikia has an extension that does that exact thing [12:16:33] Splarka: i looked at it and tried to hack around a bit. it wasn't quite co-operative :) [12:16:46] ahh [12:16:51] fairnuff [12:16:54] it might be nice if sitematrix had a way to return the info for just one project. say which wiktionary languages exist? [12:17:43] RoanKattouw: that last one looks like what i need thanks! [12:18:11] you can just parse the xml looking for one project in http://en.wiktionary.org/w/api.php?action=sitematrix can't you? [12:18:34] Possibly; I didn't write that module [12:19:35] well, I meant he could, being the end user [12:19:40] Splarka: true but bloat reduction is also nice [12:20:08] oh, you're writing it into an on-demand script? like "check for this page on all language variants" ? [12:20:10] 03(mod) Add "alert" icon to recently modified articles, indicating how long they've held their present state - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4315 (10jeroenvrp) [12:20:16] faster to xfer. wont matter for my use though [12:21:09] no i want to periodically get the latest data for various things and that data will be used on demand [12:22:58] the other problem I came across with the API, was when I tried to edit-conflict myself, it gave me "Unknown Error ``$1'' " [12:23:13] That's weird [12:23:23] Can you reproduce that consistently? [12:23:32] I'll give it a go [12:24:25] yes [12:24:58] requesting the edit tokens before either save is committed [12:25:25] That doesn't matter, they're the same anyway [12:25:37] But it matters for basetimestamp/starttimestamp I guess [12:26:43] hmm, I don't set basetimestamp, only starttimestamp [12:26:46] that should be fixed [12:49:32] sup ppl [13:32:22] somebody experienced with DPL? I want to pass the page titles to a template but fail on formatting the format. format={{TemplateName|,%TITLE%}}\n only works for the first title [13:49:10] does anybody know tool for automate deletion of break redirects? [13:50:32] I cannot get thumbnails to work using Imagemagick on Leopard... convert works however... and enviroment variables are set through launchd.conf [13:51:05] the error I get is... Error creating thumbnail: dyld: Library not loaded: /ImageMagick-6.5.0/lib/libMagickWand.2.dylib [13:51:06] Referenced from: /usr/local/ImageMagick/bin/convert [13:51:06] Reason: image not found [13:51:13] infovarius: pywikipedia? [13:53:24] I'm thinking it might be hardcoded and not allow a nonstandard imagemagick directory location [13:56:45] What is the use of $wgImageMagickConvertCommand being so specific when it doesn't even use that for the libs? [13:57:09] there should be just a $wgImageMagickDirectory variable [13:57:26] the only command MW uses is 'convert', it doesn't need to know anything else [13:57:36] and usually there's no single 'imagemagick directory', although that might be different on OS X [13:57:42] ImageMagick itself is responsible for locating its libraries [13:58:14] ok so thats an Imagick error not a WM error... [13:58:20] Yes [13:59:00] *lucid22 bangs head against keyboard [13:59:39] flyingparchment: I'm finding out os x is way different in every aspect, never had this much trouble on any linux distro [14:00:26] well, it doesn't look like an OS problem, just your build / installation of imagemagick is broken [14:00:35] (or setup wrong perhaps) [14:00:39] *freakolowsky taps luci22 on the sholder ... now, now ... don't waste good keyboards [14:00:57] 03siebrand * r50002 10/trunk/phase3/includes/Preferences.php: [14:00:57] * take $defaultPreferences['rememberpassword'] out of section personal/i18n and move it to personal/info below the change password link [14:00:57] * move gender selection to above change password link [14:01:09] freak doh! [14:01:30] :D [14:02:30] lucid22: http://img522.imageshack.us/img522/8727/1239002295324.jpg [14:03:22] Splarka: I'm on a mac so I just get a spinning beach ball. [14:03:31] heh [14:10:30] Howdy all [14:12:35] I need to set up MediaWiki to link directly to files on a Samba file server. This is almost more an Apache question, but web browsers do not seem to recognize smb:// links in HTML (as opposed to in their address bar), and \\ links understandably don't seem to be configurable in MediaWiki. My current thoughts are to create a CGI that accesses the files and serves them to the user, but I thought I'd see if anyone has a solution I haven't thought [14:12:54] !fileurls [14:12:54] --mwbot-- I don't know anything about "fileurls". [14:12:58] bah. [14:13:02] !fileurl [14:13:02] --mwbot-- To allow local file:///xxx links, use $wgUrlProtocols[] = "file:"; See http://www.mediawiki.org/wiki/Manual:%24wgUrlProtocols for more information. Beware that several browsers do not allow file urls on pages loaded via http. Also note that most browsers do not support "remote file" urls like file://server/share [14:13:08] CuriosTiger: ---^ [14:13:44] Duesentrieb: I thought about using file:/// links -- although that requires creating a drive mapping to the file server on each client computer. Something like file://fileserver.blah/folder/file.ext doesn't seem to work [14:13:58] CuriosTiger: the MediaWiki-Part is adding file: and/or smb: as a url protocol. then mediawiki will generate links. if your browser support them in general or allows them on web pages is a browser issue. none of it has to do with apache [14:14:05] CuriosTiger: $wgUrlProtocols[] = 'smb'; should make MediaWiki recognize smb:// URLs [14:14:10] (e.g. the second half of that response from mwbot. :) [14:14:31] roankattouw: It does, but it doesn't make FireFox or IE honor them in HTML [14:14:32] CuriosTiger: MSIE understands file://host/ i think... [14:14:47] I'll experiment some more with file:// [14:15:02] CuriosTiger: to make firefox allow them i think there's a plugin or something. or somen magic hidden option in abgout:config [14:15:07] no idea about MSIE [14:15:17] might be related to their trust zones or whatever it's cvalled [14:15:55] Duesentrieb: Yeah, I don't think I want to gamble on modifying each client's computer to make this work [14:16:08] CuriosTiger: you are out of luck then. [14:16:09] which probably means forcing the web server to be a samba proxy of sorts is my best option :-/ [14:16:21] well yes, you could try that [14:16:21] Duesentrieb: I'll have to go with my CGI option. [14:16:28] Nods. [14:16:31] OK, thanks for the help. [14:16:32] but exposing shared drives via http might be a bit... unsafe [14:17:00] Duesentrieb: I agree. However, it's an intranet server -- neither the web server nor the file server is reachable from the public internet. [14:17:27] (well, the web server actually is, but only with authentication.) [14:17:33] just change every Hrm [14:17:47] That actually isn't a bad idea. [14:26:02] fixed it... ImageMagick was hardcoded with paths [14:26:15] that's what I get for using binaries [14:26:40] thanks for all your help guys [14:32:12] 03siebrand * r50003 10/trunk/phase3/includes/Preferences.php: [14:32:12] * move skin preferences to top of rendering tab (eliminating skin tab) [14:32:12] * move math preferences below file preferences in rendering tab [16:01:05] 03dale * r50004 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (3 files in 2 dirs): added remote wikimedia smil example [16:16:08] I'm looking for some help on figuring out what's causing a robots meta tag being inserted into a page in the main namespace on Wikibooks. [16:16:41] Neither the page nor the included templates have the __NOINDEX__ keyword. [16:16:54] What page? [16:17:16] http://en.wikibooks.org/wiki/Japanese [16:17:38] Seemingly comparable pages are fine (see for example the links at the bottom of that page) [16:19:17] Have you checked all the templates it includes? [16:19:44] Yes. [16:20:20] I don't think __NOINDEX__ is supposed to work in the main namespace anyway. [16:22:34] ok ... got a hakish quastion ... trying to piggy-back uploaded file url into the DB in UploadComplete hook ... i take article from localfile title and try to doEdit with url in summary ... but it gets overwritten at some point ... been traceing for a while now, just can't seem to find it ... anyone got any pointers on this topic [16:23:19] It seems that it does, anyway. Adding it to a page produces the robots meta tag. [16:23:36] Hmm. That's bad. [16:26:10] Swift, in the main namespace? Doesn't happen for me. http://en.wikibooks.org/wiki/Jeep_Wrangler [16:28:13] Maybe if it's included by a template it does work . . . that would be a bug. [16:28:14] freakolowsky: i think you want #mediawiki [16:28:48] erm ... where am i at now? [16:29:16] hmm, i thought this was #wikimedia-tech [16:29:22] lol [16:29:22] but it's just the other people in the wrong channel, not you [16:29:38] flyingparchment, if there's a bug in __NOINDEX__, that's a MediaWiki issue. [16:29:47] Simetrical: sorry, my bad. I only tried show preview. [16:29:57] Well, show preview is always noindex, of course. [16:30:17] Any other ideas what might be the root of this? [16:30:51] Um. [16:30:59] Hmm. [16:31:20] WTF, someone replaced "Random book" with JavaScript that overwrites the current page without preserving history. [16:31:20] hi Simetrical [16:31:21] FAIL. [16:31:44] Simetrical: i think that was splarka [16:31:51] It would be. [16:31:54] he rewrote random book to be more useful [16:32:41] Ugh, there are four billion uses of $wgOut->setRobotPolicy( 'noindex,nofollow' ). [16:33:52] really? surely that's more than we have LOC [16:34:00] perhaps there are -1 uses, and your counter overflowed [16:34:27] Well, maybe they're in a loop. [16:34:51] You must have a very intelligent version of grep(1) [16:34:51] I never said four billion different *lines*. [16:35:23] Counter? On the array? [16:36:12] If I copy the exact page text to another name, it doesn't get the noindexing. [16:36:27] It's a different namespace, though. [16:37:01] It would help if you could reproduce it somehow. [16:37:13] Does it happen on an identical page in the main namespace? (I don't want to make it because I can't delete it.) [16:37:18] 03rotem * r50005 10/trunk/ (4 files in 3 dirs): Localization update for he; moving some messsages in en to the preferences section (no change in their content). [16:38:55] Just a sec... [16:40:59] http://en.wikibooks.org/wiki/Japanese_test [16:41:02] still there ... [16:41:11] *freakolowsky is starring down a barrel of a gun ... how har is it supposed to be to store a stupid summary ... out for a smoke or 10 [16:41:35] Oh, wait. [16:41:39] Maybe it's a FlaggedRevs thing. [16:42:03] !"#%$ FlaggedRevs... [16:42:03] --mwbot-- I don't know anything about ""#%$". [16:42:08] That seems likely. [16:42:11] Go bug Aaron. [16:42:37] But plenty of pages don't show the same bug. [16:42:52] http://en.wikibooks.org/w/index.php?title=Japanese&stable=1 <-- Last reviewed version, no robots tag. [16:43:49] Not sure this is a bug, but if it is, it's probably with FlaggedRevs. [16:44:35] 03yaron * r50006 10/trunk/extensions/SemanticMediaWiki/includes/SMW_ParserExtensions.php: [16:44:35] Added doSetRecurringEvent() to handle new #set_recurring_event function, fixed [16:44:35] some typos [16:45:43] OK, I'm playing around with a few versions (sighted automatically -- that might be the problem) [16:47:29] 03yaron * r50007 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: [16:47:29] Change parseUserValue() to also handle initializing based on a "Julian day" [16:47:29] value; improved the layout of some comments [16:48:14] I think you may be rigth. Pages with stable versions seem to only omit the noindex if when showing a stable version. [16:48:31] Makes sense, but might screw us over with rankings... [16:49:00] I'm going to see what I get when not logged in... [16:49:07] 03yaron * r50008 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: Added magic word for new #set_recurring_event function [16:51:32] Simetrical: Bingo. I guess that's it. [16:51:40] Thanks a lot! [17:04:22] ok ... i guess i won't crack this suckah 2day ... off to home ... [17:04:26] l8r ppl [17:31:34] *brion hmms [17:31:42] how about we change this "Page rendering" tab to "Appearance"? [17:32:22] TrevorParscal: hey, while we're at it -- have you guys got a few minutes to peek at Special:Preferences in current trunk and give some quick feedback? [17:32:57] I was hoping to get some time to mock up a bit of a UI change for it.. [17:32:59] 03(NEW) Make filling in the "reason" field compulsory - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18613 enhancement; Normal; MediaWiki extensions: CheckUser; (sam.korn) [17:33:11] I have been paying attention to andrew's work on it [17:33:19] \o/ [17:38:21] TrevorParscal, hi! how is the search ui going? [17:39:01] rainman-sr: I did a mock-up, but it may not get worked on until the 2nd release (mid August) [17:39:18] 03dale * r50009 10/trunk/extensions/MetavidWiki/skins/mv_embed/libAddMedia/searchLibs/mediaWikiSearch.js: fixed character encoding [17:39:39] I did install lucene on our wiki though, and have a pretty good idea of what I will be doing to fix things up [17:39:59] there's also been some bug fixes for some of the things I reported on the new search form [17:40:21] yeah, I've seen Nike poking at it [17:40:35] yep [17:40:38] so, things are good [17:40:49] afaik, the ram has been ordered for the search cluster [17:41:09] still august is pretty far away, i might have a second look at it until then ... [17:41:30] yes, Rob is getting the last batch [17:42:34] rainman-sr: I have a mockup which reogranizes the page a bit and greatly improves the UI [17:43:09] the floats under the 'page rendering' tab behave a bit oddly imo [17:43:18] but, there are some more back-end tasks which could be done, such as looking at the possibility of introducing 2 search results from the DYM term when no other results are found for the original term [17:43:37] search namespaces needs a frameset [17:44:01] TrevorParscal, is the mockup available somewhere? [17:44:23] rainman-sr: it will be today probably, on our wiki - I just need to clean it up a bit, along with 2 others [17:44:34] or could you write up your observations so I could pick up on them at some point [17:44:38] as soon as I'm done with a bit of work on our test environments, I'm on it [17:44:46] woo we broke 50k :D [17:44:49] ok, awesome [17:44:50] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/50000 [17:46:33] ok pizza's is here, off to eat :) [17:46:43] 03ialex * r50010 10/trunk/extensions/Configure/ (CHANGELOG Configure.php Configure.settings-ext.txt): Updated CodeReview and SkinPerPage extensions [17:47:11] brion: Surely you mean a
? ;) [17:47:31] er yes [17:47:44] FRAMES ALL AROUND! LET'S PARTY LIKE IT'S 1996 [17:47:53] ha [18:11:45] 03(NEW) CodeReview comment formatting overly aggressive with link replacement - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18614 enhancement; Normal; MediaWiki extensions: CodeReview; (brion) [18:28:25] 03(NEW) Activation of AbuseFilter on nl-wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18615 enhancement; Normal; MediaWiki extensions: AbuseFilter; (londenp) [18:31:03] 03(mod) Activation of AbuseFilter on nl-wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18615 (10alex.emsenhuber) [18:37:29] guys I upgraded my wiki from 1.7 to 1.14 and now the logo at the top left of the screen shows the "Set the $wgLogo to the URL path..." logo instead of my logo. [18:37:40] I have checked, $wgLogo points to my logo [18:37:41] how did you upgrade? [18:37:43] can't figure out what' [18:38:34] I unpacked the tarball into a new path , copied over /images/skins etc as it says in INSTALL, and ran the upgrade.php script - no errors [18:38:53] I also changed my symlink to point to the new wiki [18:41:52] just to test, I renamed the logo and refreshed the page [18:42:26] I got an error in my apache error log that says "/var/www/wiki/skins/common/images/logo.png doesn't exist. [18:42:40] 03brion * r50011 10/trunk/phase3/maintenance/postgres/ (archives/patch-user_properties.sql tables.sql): Follow-up to r49803: use proper type and add an explicit foreign key reference for up_user->user_id as we have for other tables in the postgresql schema [18:42:46] I renames it back to logo.png and no errors, but I get the wrong logo [18:44:00] I chedcked the permissions - logo.png is the same as powred_by mediawiki file [18:44:28] so there must be some sort of database element pointing here or somethign and it's wrong, right? [19:03:34] brion: https://bugzilla.wikimedia.org/show_bug.cgi?id=18334 Is there someone I can poke about the test implementation of this? We (en.wiki) really want to get moving on this. :-) [19:05:02] Marybelle: i'll have to grab aaron & check current status of things :) [19:05:21] All right. [19:07:50] 03dale * r50012 10/branches/new-upload/phase3/includes/ (HttpFunctions.php UploadFromUrl.php): basic upload via url in-place (without background task) working... (again) [19:14:09] looks like we've got some case mismatches in the contribs extra links: [19:14:10] For WikiSysop (talk | block | block log | logs | deleted user contributions | user rights management | Check user | Hidden user contributions | abuse log) [19:15:03] looks like we got *some* too many of them [19:15:15] that reeks of lazy [19:15:18] brion: afaik they're consistent in core, never seen the ones from extensions. [19:15:35] brion: did some work on that a few weeks/months ago. [19:15:36] *nod* it's checkuser and ..... oversight? [19:15:52] well, one of them should be obsolete :) [19:17:27] brion: i have a request to add a search engine to the choice we have on our search page. what's the policy/process? [19:17:51] Duesentrieb: we don't have any; some sites have custom javascript for it [19:19:29] hm. so... i just send the guy to info@...? or the village pump? [19:20:09] Duesentrieb: The WebDAV suggestion worked out well. A bit unconventional, but still. Thanks for that. :) [19:20:41] Duesentrieb: vp? talk:common.js? dunno :D [19:22:10] CuriosTiger: \o/ [19:22:34] brion: i just send him to the otrs queue :) [19:23:09] probably common.js's talk [19:23:19] since the code for that is on http://en.wikipedia.org/wiki/MediaWiki:Common.js/search.js [19:24:02] yea, but is that a good place to discuss promoting a search engine? [19:24:06] 'cause that's what it really is... [19:28:12] "promoting" a search engine? [19:31:04] 03brion * r50013 10/trunk/extensions/AbuseFilter/SpecialAbuseLog.php: [19:31:04] Workaround for undefined varible access related to r49941 -- $this->mIsFirst in the pager object isn't defined until after we've run the query, so we can't request the navigation bar until afterwards. [19:31:04] I'm not sure if this is a symptom of wider problems... [19:32:26] 03(mod) Make filling in the "reason" field compulsory - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18613 (10JSchulz_4587) [19:37:05] 03brion * r50014 10/trunk/extensions/ (3 files in 2 dirs): [19:37:05] Fix case inconsistency in contribs subtitle link set extensions: [19:37:05] * CheckUser added 'checkuser-contribs' message 'check user IPs' [19:37:05] * Oversight/HideRevision 'hiderevision-link' messaged changed to lowercase [19:42:41] http://wikimediafoundation.org/wiki/Job_openings/Software_Developer_(project) [19:42:52] can someone place consider applying? :-) it's been extended again... [19:43:26] Sorry, I have a job :-P [19:43:44] well, I knwo you do ;-) [19:43:56] :-D [19:44:59] kibble> want me to apply ? ;) [19:45:59] hashar, it couldn't hurt ;-) [19:46:35] I will probably be jobless by june. But I am not willing to move to SF area yet :P [19:46:48] when you are jobless you might reconsider [19:47:08] we need some code review monkeys [19:47:44] hashar, "Based in San Francisco, CA., but remote candidates will be considered." [19:51:35] there is at least something that need to be done to improve usuability [19:52:28] "disable [edit] that is to troll what honey pot is to bee" [19:53:02] more seriously, this is an amazing opportunity for wikimedia [19:55:51] :D [19:56:13] you still have my job cover brion ) [19:56:32] (and I forgot to say : "hello") [19:56:41] bonjour :) [19:56:59] Duesentrieb, it's here!!! [19:57:09] i'm drinking it right now :) [19:57:11] *Duesentrieb hides [19:57:18] oh WOW :) [19:57:22] cool! [19:57:32] *brion perks up at mention of drinking [19:57:36] how did you get it? did you order a crate? [19:57:50] apparently they ship it via DHL [19:57:58] :P [19:58:01] brion: http://club-mate.de/cws/php/site3.html [19:58:05] they know why :) [19:58:22] and they must have a deal since shipping to uk from germany costs 10e for 25 bottles [19:58:32] nice [19:58:59] brion: I'll be glad to get by new laptop [19:59:05] just left Shanghai :) [19:59:14] \o/ [19:59:18] what you ordering? [19:59:39] brion, http://en.wikipedia.org/wiki/Club-Mate [19:59:43] mmm, club-mate :) [19:59:49] *brion had some in berlin [20:00:14] brion: HP 18t series [20:01:09] Somehow my mediawiki install won't change the language [20:01:29] Barnerd: changed the language of what, after doing what? [20:01:33] set $wgLanguageCode = "nl"; in LocalSettings.php [20:01:36] brion: lol, I'm customizing an Alienware box just to see the price atm [20:01:38] note that interface language is a per user setting [20:01:38] AaronSchulz> why din't you get a macbook ? [20:01:51] Duesentrieb: Not logged in yet [20:02:22] dual GTX295, hahaha! [20:02:26] where in the file did you set the language code? [20:02:31] did you change the original line? [20:02:35] Ah! [20:02:57] *Barnerd can be such a stupid ***** [20:03:00] Thanks [20:03:07] brion: I'm at $5,399.00 already, just the brain :) [20:03:20] ok, enough Alienware fun [20:03:35] hashar: why would I? [20:05:11] because of the BSD kernel, Exposé and the giant touchpad :) [20:05:11] *brion just wants something with a 12" screen that's under 1kg and has a battery that lasts all day [20:05:57] brion: oh, you know you want alienware [20:06:16] ahh, why does that brand seem so fanboy-ish? [20:07:25] # Weight: 7 lbs [20:07:25] christ [20:07:35] my back's aching just thinking about these alienware boxes :) [20:09:29] I wanna know what game needs dual GTX295 in SLI [20:09:51] i would say serious applications, but no one would run those on a computer like that [20:09:58] dude, the fanciest game i play these days is SuperTuxRacer [20:10:04] i think my standards have gone down since i was 20 :) [20:10:29] rofl [20:11:03] i've also got DosBox so i can replay all my childhood games ;) [20:11:15] bonus points for text-mode games [20:11:18] my childhood games were larn and rogue [20:11:24] *brion <3 rogue [20:12:10] http://www.alienware.com/products/m17-notebook.aspx?SysCode=PC-LT-M17&SubCode=SKU-DEFAULT [20:12:14] Weight: 9.5 lbs [20:12:35] now we're starting to look like the 286 laptop i had in 1991 [20:13:08] 12 megs of RAM [20:13:15] grayscale enhanced CGA graphics [20:13:23] and a whopping *40 megs* of disk space [20:13:39] my sisters first laptop was 33Mhz :) [20:13:50] oh we would have killed for so many mhz [20:14:09] *AaronSchulz wonders if he should overclock his to 3.7 GHz [20:14:29] it would suck to melt the box so soon [20:14:32] we had EGA graphics by 1991 [20:14:35] you know, i don't think it was 12 megs ram [20:14:37] 03ialex * r50016 10/trunk/extensions/Configure/findSettings.php: [20:14:37] * Added some ignored variables [20:14:37] * Also search for $eg* variables [20:14:38] i think it wa 2 megs :P [20:14:52] could the 286 even address 12 megs? :P [20:15:23] up to 16MB ;) [20:15:51] most 16-bit processors of that era (and older ones) weren't using 16-bit address lines, it's too limiting [20:16:01] even back then, 64K is not much memory [20:16:06] :) [20:16:32] ahh, remember real-mode segmented addressing? [20:16:52] 20 bits of address space, divided up as inconveniently as possible [20:17:02] x86 must die! [20:18:29] http://www.titanuscomputers.com/PhotoDetails.asp?ShowDESC=N&ProductCode=G1-CrossFire [20:18:31] brion: wtf? [20:18:50] it's like a transformer or something [20:19:03] i would have loved that when i was 8 [20:19:11] totally [20:19:24] let's be honest, i'd still love it [20:19:51] i just can't be bothered maintaining desktops anymore :) [20:23:38] Yeah I read about segmented addressing [20:25:21] The craziness of it was that it used two 16-bit fields, and rather than just implementing 32-bit addressing with it, they used it for 20-bit addressing [20:25:56] :) [20:36:08] Users can enter usernames, metadata, page titles, etc that is stored in the DB. Where does input sanitization occur? [20:36:29] in Database.php [20:36:34] insert(), etc [20:36:38] lucadealfaro: depends on which input you mean [20:36:55] Input from Mediawiki is one. [20:36:56] but titles all get run through the normalization in Title class [20:37:07] output to databases goes through db wrappers for SQL escaping [20:37:22] unicode is normalized on input via WebRequest and UtfNormal [20:37:25] The other thing I would like to know is if the revision text I get via the API is sanitized, or not [20:37:32] define sanitized in this context [20:37:50] I can insert it into a Mysql DB as is without problems [20:37:59] if you escape it for sql, sure :) [20:38:01] as in [20:38:22] 03(NEW) Local evaluation of magic words for commons files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18616 enhancement; Normal; Wikimedia: Language setup; (cenarium.sysop) [20:38:26] *nothing* is safe to output to a database if you're not being safe at your database interaction layer [20:39:04] Brion: ok, so escaping for MySql is not taken care of: the API gives me the raw text, and I need to make sure it is escaped for SQL. [20:39:20] escaping for mysql is completely and totally outside the scope of what something like the api can do [20:39:27] the api has *no idea* what you intend to do with the data [20:39:31] maybe you're putting it in one database [20:39:42] This is perfect (it is what I was expecting). [20:39:44] maybe another database [20:39:48] maybe outputting to html [20:39:50] maybe printing in postscript [20:40:06] :D [20:40:31] But this means that if I request page text via: (a) the API and (b) a Mysql query I get different results if (b) runs on the raw database. [20:40:49] So I need to access the db via the php abstraction layer to get all the proper behaviors. [20:41:17] hello lucadealfaro [20:41:28] Hello Duesentrieb! [20:42:17] lucadealfaro: the result you get back should never be escaped - mysql won't escape values it gives back to you. that would be confusing. [20:43:04] Duesentrieb: (not at WMF, but on a normal Mediawiki installation) the revision text is escaped, before being inserted in the db, right? [20:43:13] lucadealfaro: you'll get the same result *precisely because* there's no mystery extra escaping [20:43:33] it's escaped *for generating an SQL insert statement* [20:43:37] Oh I see, I am being dumb. [20:43:38] that's a markup interface [20:43:45] what's stored in the DB has no escaping [20:43:53] My brain finally CLICKed [20:43:55] lucadealfaro: for the pourpose of becoming poart of an sql insert statement, yes. but the text that actually goes into the database is not escaped [20:43:56] :D [20:44:12] *Duesentrieb was too slow [20:44:40] I am dumb. It's just that I find it incredibly counterintuitive that text is escaped on the way in, and not on the way out. [20:44:54] But of course I see it now. [20:48:21] ...and, we even do exactly the right thing in WikiTrust... :) [20:48:48] you know you have a problem when you start reading the source code instead of the README file [20:49:11] lucadealfaro: The output text is also escaped, but in a different way: to be valid XML (< becomes < and so on) [20:49:12] ...pfew! Ok, sorry. I just got confused while trying to figure out whether we had any sanitization problems... [20:49:30] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/49720 <- this looks broken at worst, ugly at best :) [20:49:34] Yes, yes... in fact, actually, we have a bit of problems with the API [20:49:55] lucadealfaro: it's on the way *out* to the database :) [20:50:17] Brion - hold on- let me describe the API issue [20:50:33] *RoanKattouw is also around, FWIW [20:52:52] Yes, Roan, this is for you... when we use the xml version of the API, the xml standard says that you should ignore whitespace in text, so our xml implementation does that, so we lose all CR characters [20:53:03] WTF [20:53:07] So we are switching to the jason format [20:53:32] The XML standard says to ignore whitespace? That's weird [20:53:42] lucadealfaro: XML actually specifies an attribute that tells you how to treat whitespace [20:54:25] Duesentrieb: What's that? [20:54:40] RoanKattouw: xml:space="preserv" [20:54:54] And that'd go where, in the set that to any element that should have literal whitespace [20:55:02] no, on the element [20:55:06] but it does, and the problem is that our XML library conforms (too strictly?) to the standard [20:55:30] Hold on, let me tell Bo, who is working on the API on our end, to get on irc. [20:55:31] Good one, I'll file a bug about adding xml:space="preserv" where relevant [20:55:32] RoanKattouw: xml dumps have it on the tag [20:55:48] Yeah but the API doesn't (yet) [20:55:54] yea, plase do :) [20:56:29] Duesentrieb: Assuming "preserv" is a typo? [20:57:22] I told him... he is the one who is writing the code to talk to the Mediawiki API; I am just giving you second-hand what he told me. He's coming online in a moment. [20:57:29] 03(NEW) API XML output should set xml:space="preserve" attribute on relevant tags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18617 enhancement; Normal; MediaWiki: API; (roan.kattouw) [20:57:32] lucadealfaro, RoanKattouw: http://www.w3.org/TR/REC-xml/#sec-white-space [20:57:57] RoanKattouw: yes. [20:58:10] OK, done, bug filed, see wikibugs above [20:58:28] lucadealfaro: An XML processor MUST always pass all characters in a document that are not markup through to the application. A validating XML processor MUST also inform the application which of these characters constitute white space appearing in element content. [20:58:43] Is it a problem for you if we use the jason rather than xml mode of interface? [20:58:46] lucadealfaro: stripping whitespace is NOT compliant to the spec. [20:59:03] lucadealfaro: no, use whatever is most convenient [20:59:22] lucadealfaro: Not for me, if that's what you meant. XML, JSON, PHP serialized, YAML, it's all the same [20:59:23] Duesentrieb: the problem is not our theory, but what the xml parser we have on our end does. It is very fast, but may not be perfect. Here is Bo = thumper17 [20:59:25] have a good night [20:59:57] lucadealfaro: well, even of you go with json, it may be worth filing a bug report :) [21:00:07] hi there -- yeah, we noticed the CR-eating feature a few months back, but took a while to track it down to the XML parser. [21:00:11] Sure. [21:00:15] Yeah, file a bug against your XML parser [21:00:18] RoanKattouw: see the XML export format for an example [21:00:20] RoanKattouw: so, reading the spec, the special attribute isn't required, but would be nice anyway [21:00:25] element has that added on for good measure [21:00:32] brion: I know, I've already filed a self-assigned bug [21:00:41] thumper17: https://bugzilla.wikimedia.org/show_bug.cgi?id=18617 [21:00:42] basically, xml parsers are allowed to do some normalization of whitespace but not necessarily required to :) [21:00:47] don't ya love xml? ;) [21:01:06] I *hate* XML, it's inflexible as hell compared to other formats [21:01:19] roan: thanks! any eta on when you might include it? [21:01:20] brion: the spec actually says that they "MUST always pass all characters in a document that are not markup through to the application." [21:01:24] but i guess not all do :) [21:01:37] thumper17: Tomorrow :D but then Brion has to review it and put it online [21:01:40] ok i guess it's time for a spec war :D [21:01:45] Duesentrieb: then what's the point of xml:space="preserve"? [21:01:45] *brion goes to look it up [21:01:45] yay! [21:01:47] 03(NEW) Activate Extension:Collections on nowiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18618 enhancement; Normal; Wikimedia: Site requests; (lars-wikimediabugzilla) [21:01:48] brion: Any ETA on the next scap? [21:02:02] flyingparchment: signalling to the application how to handle the text. [21:02:09] thumper17: I have no idea whether our XML parser would be smart enough to leave whitespace alone if the option was there [21:02:14] that doesn't make much sense [21:02:15] flyingparchment: it may be a generic app that doesn't know the "intrinsic" meaning of the element [21:02:21] http://www.w3.org/TR/REC-xml/#sec-white-space [21:02:24] if it doesn't understand the element, why is it changing it? [21:02:36] luca: I don't either. We were suprised to find that it does this, since preserving the text is much easier. [21:02:51] flyingparchment: it isn't, but it may allow you to edit it. and for that it'S useful to know if it can, for example, rewrap it. [21:02:52] thumper17: Can you check whether Lorem ipsum comes through correctly? [21:03:06] luca: I also checked for options to turn off this "feature", but there wasn't any. [21:03:40] thumper17: the xml parser is written in Ocaml, and we could just go in and change its code I guess? [21:03:48] roan: Hmm, I'll go setup a test program and try it out. [21:04:15] Roan, Brion: thanks, I think you helped us enough, now time for us to do the homework :) [21:04:34] :D [21:04:35] good luck! [21:04:37] luca: we could - but do we want to go there? The json format has good data, so it seems simplest to just use that. [21:05:03] If json is simpler, Roan told me that it's no more complex for them, so we could just go with that [21:05:11] The JSON format has exactly the same data as the XML format and as every other format [21:05:19] You'll just need a different parser [21:05:39] ... and it seems we have a faster/better JSON parser than XML parser ... [21:05:46] But since both outputs are generated from the same internal representation, you should be able to convert them back to the same internal representation on your side as well [21:06:13] Oh yes, for us, after the parsing, it's irrelevant -- it is just a small amount of code on our part either way. [21:08:04] Anyway, you guys should be fine by either switching to another format like JSON or waiting a few days for the fix to be made and pushed online [21:08:06] 07:42:27 < CIA-15> catrope * r50000 /trunk/phase3/ (4 files in 2 dirs): API: (bug 16422) Don't show help in format=jsonfm unless specifically requested with action=help [21:08:10] yay [21:08:15] hehe [21:08:27] I'm gonna get some sleep now [21:08:30] Bye all [21:10:35] 03raymond * r50017 10/trunk/phase3/languages/messages/ (250 files): Localisation updates for core messages from translatewiki.net (2009-04-28 20:30 UTC) [21:13:34] 03(mod) Make filling in the "reason" field compulsory - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18613 +comment (10roger.davies.wiki) [21:15:05] siebrand: please don't /msg me [21:15:10] what is the problem/ [21:16:25] any css wizards here? MonoBook needs a little tweaking on the "Page Rendering" tab. Modern could use some tweaking as well, I think. [21:18:04] 03brion * r50018 10/trunk/phase3/languages/messages/ (MessagesEn.php MessagesEn_gb.php): Followup to r49677: move en_gb spellings of 'metre' to MessagesEn_gb, stick to en_us styles in MessagesEn [21:19:11] 03siebrand * r50019 10/trunk/extensions/Translate/utils/UserToggles.php: Update preference section to 'personal/e-mail' [21:20:58] 03brion * r50020 10/trunk/phase3/languages/messages/MessagesEn.php: 'Page Rendering' prefs tab -> 'Appearance'; less technical term, also shorter and doesn't have inconsistent casing :) [21:21:29] 03siebrand * r50021 10/trunk/extensions/Translate/utils/UserToggles.php: Follow-up on r50019. Make that section 'personal/email' instead of 'personal/e-mail' [21:26:42] 03(mod) RevisionDelete (suppress) diffs in Safari (WebKit) have odd vertical rendering - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18538 +comment (10brion) [21:32:37] is there any work being done in generating thumbnails for PDF's in mediawiki? [21:33:32] TrevorParscal: Extension:PDFHandler [21:34:04] is there a typical function for mediawiki code to use to send some debug output to some file? [21:34:25] or should i handwave my own debugging, if i need it [21:35:48] wfDebug() or wfDebugLog() [21:36:11] TrevorParscal: PdfHandler extension seems to work pretty well, i've got it on my personal wiki to thumbnail my presentation pdfs :) [21:36:19] has some dependencies, but a pretty easy install [21:36:20] cool [21:36:30] i've held back a wmf deployment pending fedora death :) [21:37:20] does wfDebug write into $wgDebugLogFile, brion ? [21:37:28] yep [21:37:45] you can define sub-groups to break out to separate files as well when using wfDebugLog [21:38:44] if I've already uploaded the PDF's, when will the thumbs be generated? [21:39:03] you'll need to purge them [21:39:13] so it can slurp up the new metadata [21:41:49] is there a maintenance script for that? (purging them) [21:42:32] 03raymond * r50022 10/trunk/extensions/ (83 files in 80 dirs): Localisation updates for extension messages from translatewiki.net (2009-04-28 21:10 UTC) [21:44:18] brion: so is that log_search table ok? [21:46:14] 04(REOPENED) deleteArchivedRevisions.php deletes even without its --delete option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18121 +comment (10brion) [22:11:55] ok where was i... [22:12:47] *Emufarmers wonders about the usefulness of http://www.mediawiki.org/wiki/Commit_access_requests when nobody actually checks it [22:13:25] aww [22:13:32] Emufarmers: [[IRC cloaks]] too! ;-) [22:13:41] AaronSchulz: mm i think it was :) [22:13:48] i had some vague comment i think [22:14:24] 03(FIXED) Create otrs-admins@lists.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18586 +comment (10cbass) [22:14:52] ashley: I think both pages are there to tease people [22:15:14] or maybe they're a plot by brion to deflect whining onto the wiki where he doesn't have to look at it :D [22:16:28] http://www.mediawiki.org/w/index.php?title=Commit_access_requests&diff=252139&oldid=250816 [22:17:48] hehe [22:17:52] Target date for processing requests is 2012 [22:20:40] 03dale * r50023 10/branches/new-upload/phase3/includes/ (7 files in 3 dirs): more fixes to basic uploading and error handling. [22:27:38] 03yaron * r50024 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Settings.php: Added two flags for recurring events, fixed typos [22:27:56] *kraehe currently wonders about userCan hook doing '$result = true; return false;' and '$wgGroupPermissions['*']['edit'] = false;' [22:28:52] the website shows [edit] ... but on [save page] i get 'You have to log in to edit pages.' [22:33:51] 03(NEW) Footnotes expanded - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18619 normal; Normal; Wikipedia Mobile: server; (tom) [22:34:22] 03(mod) Retain URL as metadata on upload-by-url - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18112 +comment (10dale) [22:34:51] hey anybody alive here ?? [22:38:01] 03(mod) Upload-by-URL should enforce $wgMaxUploadSize early when Content-Length header provided - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18201 (10dale) [22:39:33] 03(mod) Upload via URL: More meaningful error messages when HTTP error encountered - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18243 +comment (10dale) [22:43:35] 03(mod) Merge new-upload branch (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18563 (10dale) [22:44:50] 03(mod) action=upload should be added to the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15227 (10dale) [22:47:38] 03(NEW) Improve TablePager (patch) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18620 enhancement; Normal; MediaWiki: General/Unknown; (happy-melon) [22:52:48] 03river * r50025 10/trunk/tools/planet/en/config.ini: update Toolserver journal RSS URL [22:54:31] 03brion * r50026 10/trunk/ (4 files in 3 dirs): [22:54:31] Revert r49669, r49670 "extract text layer from djvu file (see bug 18046)" [22:54:31] I don't really like the use of sed here; it's an extra Unix dependency which seems unnecessary, when we could trivially do the escaping in the code. [22:54:31] The ajax fetch added in r49670 also looks like a big security hole: [22:54:31] * Manual use of curl should be avoided; it may not be installed, and 'localhost' may not do anything useful. [22:54:36] * Further this appears to be a general "fetch any foreign URL and pass the data through" which is a serious security hole. [22:54:51] Ooh, I see reverts, is br-i-on doing codereview? :D [22:55:23] 03(mod) Enable text layer extraction from djvu on Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18046 (10brion) [23:02:48] 03river * r50027 10/trunk/tools/planet/en/config.ini: try using the correct url instead [23:21:01] Simetrical: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/49017 <- any idea what's the slowpoke in the link calls? [23:21:25] brion, the fact that 20 are called per row times 1000 rows, IIRC. :) [23:22:07] It's not too slow, for a function that does what it does written in PHP. But 20,000 calls is going to add up to multiple seconds even if it only takes 100us. [23:22:33] We could reimplement it in C++. ;) [23:23:08] I tried a bunch of refactoring to save repeating some of the theoretically reusable computations, but it was incredibly messy and gave no detectable benefit. [23:25:23] 03(mod) CAPTCHA doesn't work for blind people - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4845 +comment (10mikelifeguard) [23:25:36] http://www.mediawiki.org/wiki/Civil_war And some people say we don't teach kids enough history [23:26:32] heh [23:26:55] guess it'll do for now :D [23:27:14] <^demon> Hehe. [23:27:32] anybody having good project to involve me in some .net development or c / c# ? [23:27:38] or any thing........./ [23:29:08] we can give you some PHP development :) [23:29:09] <^demon> brion: Saw your note on the commit req. page. Makes sense, but at least we can collect the "where/who do I ask?" all in one place for when a schedule/process is finally decided on :) [23:29:20] ^demon: yep [23:29:32] @ brion ? DETAILS [23:29:46] *brion points at channel topic [23:30:27] @ brian ? mediawiki ?? [23:32:38] <^demon> needing: Take a look at any one of the 3000+ bugs listed on bugzilla.wikimedia.org [23:33:10] demon am not good at PHP, infact below newbie ? what comes, infantbie. [23:33:42] 03brion * r50028 10/trunk/phase3/includes/parser/Parser.php: [23:33:42] Revert r49653 "Make the link regex non-greedy so that it is possible to add '|' to $wgLegalTitleChars and still be able to pipe [23:33:42] links." [23:33:42] Pipes would definitely not work in titles. The particular regex change here would for instance break image options if | were added to $wgLegalTitleChars. [23:37:17] how could that possibly work? is [[Foo|Bar]] a link to "Foo|Bar" or "Foo"? [23:38:00] Is there an escape character for |? [23:38:07] no [23:38:20] hello [23:38:33] Emufarmers: {{{!}}} is the convention I belive [23:39:02] That will hide things from templates, not anything else. [23:39:05] And it's {{!}}. [23:39:09] oh right ;) [23:39:17] Which assumes [[Template:!]] consists of the string "|". [23:39:34] (plus probably four pages of useless documentation, at least on enwiki) [23:39:37] works in tables too, i think? [23:39:50] *flyingparchment hates MW table syntax [23:40:04] I don't see how it could. [23:40:07] But maybe. [23:40:52] <^demon> I thought that was the main point of {{!}} was that | doesn't work in tables. [23:41:14] <^demon> So {{!}} was made because it did. [23:46:10] 03demon * r50029 10/trunk/phase3/includes/specials/SpecialCreatePage.php: Declare visibility && code style tweaks. [23:48:04] <^demon> Does anyone know where the code to exclude patrol entries from RC was added (either rev or where to look?) I can't seem to find it. [23:48:26] search for hidepatrolled [23:48:33] that's the name of the relevant preference. [23:48:46] 04(REOPENED) Patch adding support to chose language and colorscheme to SyntaxHighlight_vim - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17949 +comment (10brion) [23:49:57] 03werdna * r50030 10/trunk/phase3/ (includes/Preferences.php skins/monobook/main.css): [23:49:57] Uncommitted stuff still in my working copy: [23:49:57] * Logic for disabling email fields for unauthenticated addresses. [23:49:57] * Remove float styling for fieldsets in preferences form, ugly and annoying. [23:50:11] <^demon> werdna: Thanks. [23:50:13] that's better. [23:50:15] \o/ [23:50:45] I was trying to figure out why ieldsets were floating and such in prefs [23:50:46] TrevorParscal, werdna, Aaron|away -- any remaining issues in http://www.mediawiki.org/wiki/Special:Code/MediaWiki/49583 or can i mark it ok? [23:50:55] then I found that someone actually deliberately implemented it :) [23:51:40] brion: hmm, Drafts::move() is strange, but it will work ok [23:52:04] it takes two parameters, both title objects. For one it just gets the Article ID, the other it ignores completely [23:52:20] Do you want me to test it to make sure the indices are in place and OK? [23:52:51] sure :) [23:57:03] ^demon: oh, I thought you meant hiding patrolled items from RC [23:57:03] *Simetrical hopes he's smelling sweat and not burning rubber [23:57:03] *Simetrical listens suspiciously to the "cable rubbing against fan"-sounding noises coming from his computer [23:58:49] Simetrical: uh oh [23:59:13] I poked all the wires that were near any fans and nothing changed. :( [23:59:33] *Simetrical could try stopping each of the fans for a sec with a thin object to see if the sound goes away