[00:00:20] is there a way to rename an image despite reuploading it with a different name? [00:01:17] a bot to do this would be nice. (if it would fix all links to the image as well). [00:02:07] can anyone point me in the right direction n how to install a new style to the mediawiki? [00:02:19] !skins | newrkv [00:02:19] --mwbot-- newrkv: Overview: . Skin usage: . Gallery of CSS styles: . Writing your own: [00:02:30] !css | newrkv [00:02:30] --mwbot-- newrkv: To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [00:02:59] jamasi: Nope, renaming images isn't possible. [00:03:05] I'm not aware of any extensions to do it, either. [00:03:44] hmm, wouldn't that be very useful for wikicommons? [00:04:14] A lot of editors would drool over it, yes. [00:04:35] I guess it just needs someone to change the code. :) [00:05:02] for starters a bot/script would be sufficient, I suppose. [00:05:09] Pathoschild: a rewrite of the media backend is in the works, afaik [00:05:54] Whee. [00:06:18] "in the works" [00:06:29] Maybe for a very loose definition of that term. [00:07:09] E.g., "nobody's worked on it for months except VasilievVV, whose commits so far have gotten either reverted or disabled" [00:07:14] *for alternate universe definitions of "in" and "works", and possibly "the" [00:07:35] It's remarkably tricky to do image redirects properly when so much code assumes their nonexistence. [00:07:41] Lots of things you have to consider. [00:07:56] Of course, image redirects are more or less a prerequisite to image moves. [00:08:13] Which is why I discuss them. If you don't need redirects, moves could be hacked on somewhat trivially. [00:08:15] I thought Tim's work was meant to be more radical [00:08:20] might be better to do transparent redirects [00:08:23] Well, yes, but he's not working on that now. [00:08:30] have them, for all client side purposes, be a 'copy' [00:08:31] He's working on the parser. [00:08:41] Splarka, ugh. [00:08:50] except for Special:ImageRedirects listing them for movement [00:08:52] Actually, what might be a good idea is allowing moves without redirects. [00:09:00] I suspect the Commons people would love that. [00:09:12] and when deleting them, they'd not delete, just remove the symbolic link [00:09:13] Even without the redirect part, that is. [00:09:20] Although if they got redirects they'd *really* love that. :) [00:09:23] That's the first thing I did in my personal wiki, hack MovePage so it didn't create redirects [00:09:26] heh [00:09:52] Special:Copyimage and Special:Moveimage, and then ditch any attempt at redirects [00:09:56] Well, a 'copy image to new name' would be pretty good. Then you can just copy to the new name, update pages, and delete the old version. [00:10:06] Splarka, interesting thought. [00:10:17] "Warning, image is still in use, use Copyimage instead" [00:10:18] Of course we don't have support for copying *pages*; [00:10:19] . [00:10:33] It would be a bit odd to allow it for copying image pages only. [00:10:35] better to wait until non-deleted files are stored by hash name on back end [00:10:38] then you don't have dupes [00:10:51] Simetrical: would there be some reference between the copy and original? [00:10:52] ^er hash of contents [00:11:13] DavidSeymore, in what case? You could always add one manually, or put it in the image history, etc. [00:11:32] Splarka: How would that work when an image is updated? [00:11:45] Splarka, that would just result in not wasting storage, it seems to me, it wouldn't affect front-end issues. [00:11:54] *shrug* [00:11:55] I like the idea a whole lot.. but could see where it would become a mess if a 'move' was left half done.. and no one knew which way the move was going [00:11:58] not my job to figure it out ^_^ [00:12:20] copying an image could copy the top version of image as well as copying the logs, but... [00:12:39] DavidSeymore, it would obviously be logged. [00:12:42] it would not copy the history of the description page, it should probably just copy the top version and create a new revisionid and curid [00:12:57] (and Moveimage would move that description probably) [00:13:00] Simetrical: cool cool [00:13:27] moving images would obviously have to be a special permission, especially if no redirects were left behind to block vandalism replacements [00:13:43] move "george bush.png" -> "george bush2.png" [00:13:43] DavidSeymore, I'm not saying anyone will do this, you realize. [00:13:48] move "penis.png" -> "george bush.png" [00:14:06] Actually this might be better as an extension, on the logic that temporary hacks should go in extensions. [00:14:08] Like Oversight. [00:14:18] It's an interesting thought. [00:14:21] Splarka: eeek [00:14:24] Special:Copyimage would probably suffice. [00:14:25] Simetrical: yeah, but its a good idea [00:14:32] That way you have no permissions issues. [00:14:38] Since nobody's affecting the old image. [00:14:49] restrict to 'sysop' or maybe possibly vaguely 'bot' [00:14:49] Of course it's still a pain, but much less so than now. [00:14:55] Splarka, no need, for copying. [00:15:07] The image already exists and is already acceptable, so there's no harm in *anyone* copying it. [00:15:09] for moving, I am talking 'boot, read my context! [00:15:13] *Splarka growls [00:15:16] *Simetrical growls back [00:15:17] make image moves leave redirects and don't let people move an image under a name that already has an image without special privileges [00:15:31] darkcode, implementing redirects is the hard part. [00:15:34] copying would just check for permission 'upload' of course [00:15:48] Which is why we're discussing hacks to allow partial improvements as a stopgap measure. [00:16:08] Splarka, it doesn't even really need to check for that, in principle. It may as well have its own permission, but it should be set 'user' by default. [00:16:17] (If not '*', but that causes issues for logging.) [00:16:29] 'upload' 'upload-url' 'upload-copy' ? [00:16:30] Anyway, this sounds like an easy extension. Maybe I'll even write it. [00:16:32] or whatever they are [00:16:35] Sure. [00:17:55] seems unnecessary but probably good to be able to limit it when 'tards start copying 20 meg jpegs on commons [00:17:55] Simetrical it shouldn't be that hard, can either follow the redirect like is done for templates, or have the process of moving a imagine also create symbolic links [00:18:32] darkcode, it's not so simple to do it The Right Way. You can look at VasilievVV's recent image redirect commit and Brion's disabling of it by default. [00:18:49] !r 29858 [00:18:49] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29858 [00:19:06] !r 29870 [00:19:06] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29870 [00:20:47] I can also see why it was probably reversed, looks like it allows for infinity redirecting, not good. should only allow single redirects like for everything else [00:23:15] symlinks that pointed to the current location transparently wouldn't be so bad... except that people might continue to use the old version indefinitely, not knowing it was moved [00:23:23] foo.jpg -> bar.jpg [00:23:40] but say bar.jpg -> baz.jpg, you'd go back and update foo.jpg -> baz.jpg server-side [00:26:56] http://meta.wikimedia.org/w/index.php?title=Migration_to_the_new_preprocessor/how_to_test&curid=112202&diff=842198&oldid=841492 [00:27:13] in my day, "hacking" meant more than editing unprotected pages that anyone can edit [00:34:09] Splarka: you're dating yourself ;) [00:34:23] both meanings of hack are old ;p [00:36:26] hacking means to change, to improve on something, as well as to gain access to something for self-curiously and educational pursuit. [00:36:35] *darkcode refuses to acknowledge any other meaning ;p [00:37:16] 03(NEW) Some edits only show when logged in. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12696 normal; normal; MediaWiki: General/Unknown; (brett) [00:38:11] darkcode is dating himself even further back [00:39:02] 03(mod) Some edits only show when logged in. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12696 +comment (10brett) [00:39:10] 70s: improve, 80s: dial lots of phone numbers with your 300 baud hayes and start a nuclear war, 90s: crack into the federal reserve database and steal $1 billion, 00s: edit a wiki page [00:44:22] I thought the 90's meaning was "to point and click on a icon in order to steal $1 billion from the federal reserve database" [00:49:47] *Simetrical is still impressed that the Matrix made some attempt at plausibility with their power-plant hacking scene in whichever one that was [00:50:20] (Of course, that's more than negated by their failure to elsewhere observe, e.g., the first law of thermodynamics.) [00:50:49] it was the matrix laws of thermodynamics don't apply [00:51:32] No, I'm talking about the real-world part, with the robots enslaving humans to get energy from their body heat. [00:51:58] how do you know it was the real-world? could of been another layer of the matrix [00:52:31] Well, the way I look at it, it certainly wasn't in the real world, it was in a movie. [00:52:42] Doesn't stop it from pretending to be a portrayal of the real world in the future. [00:53:09] well maybe in the future the real-world is just another layer of the matrix ;p [00:53:46] and the only reason they called it the real-world is because they didn't realize it was another layer of the matrix [00:54:14] 13th floor syndrome [00:55:41] woulda been more believable to say that humans irradiated the world's supply of (some element needed for AI chips) and the AIs had to turn human brains (or the offduty cycles) into part of their giant processor [00:56:31] would have made much more sense in the "we require many enslaved connected humans" and "we needed their brains active and fooled" [00:59:47] Irradiation doesn't much affect stuff like computer chips, does it? [00:59:58] Anyway, you can always purify it, you just have to filter out the radioactive material. [01:00:58] You could just say that the robots didn't want to kill the humans because they were nice? [01:01:36] Humans cut off the solar light, and presumably humans make better power plants than nuclear or hydroelectric plants. [01:02:48] Why can't the robots un-cut-off the solar light? They have to be at least as technically sophisticated as the humans to pull the whole plot off. [01:03:42] 03(mod) Orphaned pages and other special pages do not show pages in custom namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12689 +comment (10voyagerfan5761) [01:04:15] The human filled the atmosphere with some undefined opaque gas that spread and covered the globe. I'm guessing the robots felt it was more appropriate to torture the humans for a few centuries until it dissipated, [01:04:20] humans*. [01:05:40] It looked like ordinary cloud cover to me. [01:05:41] Microsoft won't support Theora because of the patent risk [01:05:52] so let's use H.261 [01:06:00] Theora is patent-encumbered? [01:06:21] Let's use a timed sequence of BMP files. [01:06:23] No patents there. [01:06:24] well, it was published in about 2001, so yeah [01:06:45] but the first revision of H.261 was approved in 1988 [01:06:59] so that makes it 20 years this year [01:07:13] that means any patents regarding it would have expired [01:07:36] a timed sequence of BMP files uses a lot more bandwidth than H.261 [01:08:08] H.261 is a DCT-based compression method with inter-frame coding, just like every codec that followed it [01:09:35] I'm not kidding [01:11:06] TimStarling: hi! is there any quick way of having parserdifftest not output 2 side-to-side columns? [01:11:35] patch it [01:11:58] I wouldn't dare [01:12:07] well you're stuck then [01:12:21] hmm [01:12:47] thanks anyway :) [01:12:53] TimStarling: I'd like to run a proposal by you, if you have a sec [01:13:03] H.261 has motion compensation as well [01:13:11] so basically everything theora has [01:13:25] .page-Special_ParserDiffTest .pdt-side-by-side td {display:block; width:100%} [01:13:27] sorta works [01:13:30] carl-m: yes? [01:14:08] Splarka: if it's a .css-only hack, I might try it locally. thanks [01:14:28] BrokenArrow: doesn't make them full width, just stacks them, heh [01:14:35] TimStarling: we keep running into the following situation on enwiki: we would like to transclude a page if it is smaller than a cetain size, and link to it otherwise. There's no way to achieve this right now as ar as I know. The question is whether any solution to it is feasible [01:15:22] ooh but that works... [01:15:48] BrokenArrow: .page-Special_ParserDiffTest .pdt-side-by-side td, .page-Special_ParserDiffTest .pdt-side-by-side th, .page-Special_ParserDiffTest .pdt-side-by-side col {display:block; width:100%} [01:16:11] Splarka: nifty! in common.css? [01:16:25] if you wanna get stabbed, sure [01:16:32] but if not, put it in your user/skin.css [01:16:42] carl-m: sounds feasible to me [01:16:43] it is horribly ugly [01:16:45] {{#ifsize:10|{{template}}|[[Template:template]]}} [01:16:57] maybe [01:17:00] TimStarling: how would you implement it? [01:17:16] Splarka: not on en.wiki :) [01:17:20] with a parser function [01:17:28] and unconditional registration in templatelinks [01:18:02] ok. with a limit, like ifexists? or is there a way to combine the queries somehow? [01:18:40] I just mean a parser function to do the whole job [01:18:54] check the size, and do the link or transclusion [01:19:27] probably a day's work for an inexperienced programmer, maybe half a day for someone experienced in MediaWiki [01:19:29] would this be combinable with labeled section transclusions? [01:19:34] TimStarling: I will see what I can do [01:19:44] Splarka: no [01:20:41] {{#transclude:{{pagename}}|conditions|failure}} where conditions might be: section=name, size > foo, size < foo, mmm, complex [01:20:59] Splarka: the main use we need on enwiki is size < limit [01:21:02] *Splarka giggles [01:22:13] TimStarling: should it be a new parser function, or part of ParserFunctions.php ? [01:22:17] new file [01:23:53] with transclude parser function might as well make one of the conditions a test for existence and make #ifexists obsolete [01:24:34] well, size > 0 is almost the same thing [01:24:44] dark: #ifexist:media is also handy for "no image exists for this, you can upload one" [01:24:49] that's why I was concerned about load [01:27:41] carl-m: ParserFunctions I guess, or maybe LST [01:29:59] Hello, I'm trying to find out how to change the default time in Mediawiki 1.11.0. As {{CURRENTDAY}}, is inaccurate for everyones timezones that use my wiki. [01:30:29] Same, goes without saying, for {{CURRENTHOUR}} [01:31:38] what version of mediawiki? see http://meta.wikimedia.org/wiki/Help:Magic_words#Local_time (these can't change by user's prefs, really) [01:31:45] [h261 @ 009C7B20]The specified picture size of 352x480 is not valid for the H.261 codec. [01:31:45] Valid sizes are 176x144, 352x288 [01:31:53] that's a bit of a catch, isn't it? [01:31:55] It's 1.11.0 [01:34:28] Well, that seemed to do the job. [01:34:59] Splarka maybe it make more generic then like {{#page:{{pagename}} or [[pagename]]|condition|failure}} [01:35:03] Also, the information provided on that page I had been unable to find regardless of what I searched for, thank you. [01:35:07] err maybe make it [01:35:24] hmm [01:35:54] PCOA: it isn't very intuitive is it [01:37:18] No, it isn't. [01:37:27] darkcode: maybe something that is just for getting page properties [01:37:37] yes [01:37:55] #ifexpr:{{#page:size|template:foo}} [01:38:03] *Splarka shudders internally [01:38:10] Splarka: I tested out my own wiki with a page name, even with all namespaces searched, it still couldn't find the page until I type in either the last word, or the full page name. [01:38:48] could fix bug requests too like being able to get the revision time of a template, rather then the page its transcluded in if it were done [01:38:50] Prefixindex is handier than Search, I find [01:40:00] darkcode: isn't it fun inventing syntax and making devs write it? ^_^ [01:40:04] Splarka: Tried that, worked perfectly. Be nice if that was merged later on in another version. [01:40:51] Splarka, I never said I expected someone else to do it ;p [01:41:07] {{#if:{{#page:topeditgroup="sysop,bot,bureaucrat,emailconfirmed"|template:foo}}|{{foo}}|[[template:foo]]}} [01:41:36] fun for me then [01:44:56] it would also be fun of the new preprocessor that Tim is working on catched results of each run of running parser function and tag parsers [01:45:20] so that they could speed things up by not having to run them away for repeated requests that are identical [01:47:28] parser functions are not memoized [01:48:04] but there is an empty argument expansion cache [01:48:21] so if you call a template multiple times with no arguments, then it's only expanded once [01:48:58] the idea is do that for any that identical not just for no arguments [01:49:30] yes, that's called memoization [01:49:38] I know [01:49:47] but the DOM tree structure doesn't have a fast equality operation [01:50:15] so comparing arguments may well be slow [01:50:39] it can test for identity, but not equality [01:50:52] I mean before you can pass something off to an extension you have to parse out the name of the parser to know what extension its passed off to and parse the arguments to let the function that handles it know what to do [01:52:15] well, you need to know the name, but you don't need to expand the arguments [01:52:29] with SFH_OBJECT_ARGS, arguments are passed through without being expanded first [01:52:46] so something like if ($parsercache[$parserhook . "|" . $parse_args]) $parsercache[$parserhook . "|" . $parse_args] else call_parser_function_hook() [01:52:48] You could maintain a cache at the level of the function that returns a wikitext value for a given template call. [01:52:58] Which I assume there must be one of, somewhere. [01:53:18] cache invalidation would be a pain [01:53:22] Simetrical: separately in every function? [01:53:46] TimStarling, I don't know the function names. The way I'm envisioning it, it would only be one function. [01:53:51] Of course a per-request cache might not be worth it due to the low hit rate, and a global cache seems like it would have a very high overhead. [01:53:58] anyway, I don't know why you're all talking about caching without ever having looked at the profiling [01:54:09] So this isn't necessarily useful even in theory. [01:54:13] Simetrical a lot of functions maintain a cache already of there own if the call is expensive, the idea is to enforce it at the parser level rather then the extension level [01:55:10] darkcode: a lot as in #ifexist? [01:55:12] which other one? [01:55:21] I think he means functions generally. [01:55:25] Not parser functions specifically. [01:55:36] E.g., the wfMsg() functions. [01:55:37] one thing you have to understand about the parser is that it's as much memory constrained as it is time constrained [01:55:42] so you have to be careful about what you cache [01:56:10] yes I mean functions generally [01:58:59] what operation are you worried about exactly? [01:59:08] that you think is expensive? [02:00:51] I mentioned both parser functions and tag parsers as examples. I think most are probably expansive except for the very small ones [02:01:48] you mean like #if? [02:01:49] recomputing results takes more time then reusing results which have already been computed [02:02:32] can be if nested enough times [02:02:36] not necessarily [02:03:19] if you use so much memory that you send the computer into swap, just to achieve a 10% hit rate, you're probably not improving the speed [02:03:30] TimStarling: an issue that I have, that I ran into earlier today for a different reason, is that functions like getTemplateDom() hide the length of the template wikitext [02:03:34] I'm not suggesting you use a lot of memory [02:03:50] carl-m: store it in a different array [02:04:31] darkcode: memoizing all parser functions and template expansions could use hundreds of megabytes [02:05:09] I'm suggesting using a small amount that would only be valid during the page parsing and would become invalidated and reused after a page is finished being parsed [02:05:41] I don't know why I'm arguing about this [02:05:52] I'll review it when I see a patch [02:06:12] its not that important to me yet [02:07:31] it was just a thought in terms of like certain programming languages might do to optimize performance [02:07:44] treating wikitext like a programming language basically [02:10:14] hello [02:11:46] has anyone put the s5 web slideshow together with MW? [02:12:05] *AaronSchulz feels wovey dovey today [02:14:13] http://en.wikipedia.org/wiki/Special:Contributions/Bramlet_Abercrombie [02:14:20] 20:37, January 17, 2008 (hist) (diff) Jimmy Wales‎ (it is not a dispute between Wales and Sanger, but between Wales and all objective evidence) [02:14:27] TimStarling: that makes me giggle ;) [02:15:13] darkcode, memoization even for only one parser session would use at least a few megabytes more memory for pages with a moderately large number of templates, and the hit rate would be very low. [02:15:45] You could push off the memory and hit rate problems by using Memcached, but that adds probably unacceptable latency. [02:15:46] i have a hardcore n00b question [02:15:58] is this the place to ask it? [02:16:09] Notoriety: just ask [02:17:04] i'm having trouble with tables on a wiki i set up myself... how do i make it so that the etc. tags work? [02:17:29] Simetrical it could always only cache results that use less then a certain size, so that it speeds up "small" results [02:18:02] darkcode: I don't need you to evangelise about caching [02:18:11] we're all well aware of its existence [02:18:11] darkcode, which probably take only a little time anyway . . . the point is that according to Tim, who knows quite a bit about optimization and has presumably thought about this, it's probably not helpful in this instance. [02:18:19] Notoriety: I am faily new myself, but try this: copy the wiki code from a simple table and paste it into a test doc [02:18:31] s/optimization/optimization and the parser/ [02:18:43] all right [02:19:04] simple like an infobox? [02:19:07] or even more simple... [02:19:10] Notoriety: the wiki code for a table is way simpler than all those 's anyaway [02:19:48] oh, so i can just work around those? [02:19:56] Simetrical, I'm sure Tim has, I wasn't suggested that Tim hasn't or doesn't know what he's talking about, it was just a thought [02:19:58] Notoriety: copy from my wiki if you like : http://bsdtips.utcorp.net/mediawiki/index.php/Freebsd_equivalents_for_linux_commands [02:21:54] darkcode, sure, nothing wrong with suggestions. But when the person in charge of the relevant component repeatedly says flat-out it's not useful, it's probably not helpful to continue arguing for very long unless you're prepared to write up a test implementation and benchmark it. [02:21:58] Just a remark. [02:22:02] *Simetrical shrugs [02:22:06] okay thanks [02:22:10] i think i can figure it out from here [02:23:18] Simetrical I had stopped when Tim mentioned he didn't know why he was arguing this, until you commented on it further. [02:25:22] *AaronSchulz devient nerveux [02:38:20] 03(mod) Special:Userlogin?type= signup should have an internal link to it - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11897 (10dan_the_man) [02:39:03] 03(mod) requesting Special:Userlogin shortcode Special:Userlogin/signup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12674 (10dan_the_man) [03:07:30] 03(mod) MediaWiki:Licenses/foo sometimes ignored when viewing Special: Upload&uselang=foo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11695 (10vinhtantran) [03:48:40] Simetrical: http://www.sciencebasedmedicine.org/?p=26#comments [03:48:48] man "pec" has me rofl [04:00:22] Hey, how do I edit the links on the sidebar? [04:00:24] what's the page for that? [04:02:45] 03(NEW) Serbian Planet is unreachable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12697 normal; normal; Wikimedia: DNS; (shinjiman) [04:03:51] MediaWiki:Sidebar [04:05:36] thank you darkcode [04:23:33] what about the bottom part? [04:24:26] you can't edit the toolbox via a message, you'll need javascript or a server-side extension or hack [04:24:35] unless you just want to change the translation of the text [04:25:30] that's cool, I mean the very bottom where the image is but I remembered where it is thanks [04:25:50] ahh [04:25:55] Special:Allmessages is handy [04:26:21] as is: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/messages/MessagesEn.php?view=co&content-type=text%2Fplain [04:30:15] that's the one :D [04:32:51] I still can't work it out actually [04:33:00] how do I change the link to where the poweredby_mediawiki_88x31.png goes to? [04:38:02] 14(INVALID) Serbian Planet is unreachable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12697 +comment (10brion) [04:41:11] Hello [04:42:57] Hi [04:43:28] I recently updated a Mediawiki and I have this all over my site Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/d/m/admiralsmith/html/nxd/database/LocalSettings.php:1) in /home/content/a/d/m/admiralsmith/html/nxd/database/includes/WebResponse.php on line 10 [04:44:00] Moss: Do you have a closing ?> in your LocalSettings.php? [04:45:21] Yes, I do, I'm looking at the file now, but ion case I don't what should it be [04:45:21] Oh, wait, on line one. Moss: You have some whitespace at the head of the file it looks like, which will need to be deleted [04:45:34] And you should remove the closing ?> [04:46:09] Line one looks like [04:46:12] and then a space for line two [04:46:34] Hmm .. okay [04:46:47] how every there is no There shouldn't be [04:47:26] Can you remove the password / user info and pastebin the file? [04:48:25] Here you go URL: http://rafb.net/p/7iwC1e37.html [04:49:09] at the end of the page you should have ?> [04:49:34] on line 127 put ?> [04:49:34] Hmm [04:49:42] MiCCAS: No, you don't need that. [04:49:46] And it causes problems [04:50:04] MiCCAS: What modifications have you made to the file since the upgrade? [04:50:08] Nothing's sticking out at me [04:50:16] I have it for mine [04:50:17] ?> [04:50:27] check the permissions of the file? [04:51:51] MiCCAS: Well, they're unnecessary and prone to causing problems, as it causes a term of the php block and the rest of the file (if there is a rest, whitespace and what not) is then interpreted as HTML [04:52:28] weird.. I think I'm using an old copy of mediawiki anyway [04:52:29] maybe that's why? [04:52:46] Couls be .. we used to have them in all our files [04:56:10] So is there any way to get mines to work right [04:56:33] Moss: What changes have you made to the file since you upgraded? [04:57:32] Oh, after everything was loaded I went back into the file and turn $wgEnableUploads = true; [04:58:56] That's all you changed? [05:03:23] 03(mod) MediaWiki:Licenses/foo sometimes ignored when viewing Special: Upload&uselang=foo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11695 (10N/A) [05:04:07] Yea [05:04:41] Is that the entire file (minus uname's/passwords) that you posted? [05:05:03] The problem's in that file somewhere, but I'm not seeing it [05:05:25] Yes, that everything do you need to see WebResponse.php? [05:05:52] No, the error said output started at /home/content/a/d/m/admiralsmith/html/nxd/database/LocalSettings.php:1 [05:06:06] Which means that somewhere in LocalSettings.php output is being generated [05:06:19] You're absolutely positive there isn't a blank linke or something before the opening nope, Line 1 is 03(mod) Serbian Planet is unreachable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12697 (10shinjiman) [05:10:07] Moss: Okay, can you quickly execute "php LocalSettings.php" and see if it produces any output? [05:10:21] how do I do that [05:11:00] Do you have shell access to the server? [05:11:16] I don't think so [05:11:25] How did you do the upgrade? [05:12:05] I make LocalSetting.old.php and updated the pages and such [05:13:17] Did you run the update script? [05:14:27] How do I do that, I used wiki before but I never done and update [05:14:48] Okay, what version did you upgrade from / to ? [05:16:16] 03(NEW) new parser function for conditional transclusion based on page size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12698 15enhancement; normal; MediaWiki extensions: ParserFunctions; (cbm) [05:26:15] 03brion * r29964 10/trunk/phase3/ (RELEASE-NOTES math/render.ml): * (bug 12695) Suppress dvips verbiage from web server error log [05:26:39] 03(FIXED) texvc sends dvips output into the webserver error log - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12695 +comment (10brion) [05:27:20] 03(mod) MediaWiki:Licenses/foo sometimes ignored when viewing Special: Upload&uselang=foo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11695 (10ewenste) [05:28:11] sorry about that, my computer messed up [05:29:27] amidaniel: what was your last question? [05:33:39] Okay, what version did you upgrade from / to ? [05:34:03] 1.8 [05:43:48] 03(NEW) MediaWiki: Licenses message corresponding to purpose-specific upload forms - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12699 15enhancement; normal; Wikimedia: Language setup; (vinhtantran) [05:44:33] Splarka: Do you think you can help Smoss? His/her LocalSettings.php is producing accidental output and causing warnings [05:44:39] *amidaniel has to go take care of a few things [05:44:48] ami: nope, I am for the clients :/ [05:44:57] >:O [05:45:02] *Splarka knows zilch mysql, php, apache, greek [05:45:09] Liar [05:45:22] I can read pseudocode, but really, the FSM is hiding at svn.wikimedia [05:45:36] eg: looks like a cross between MeatBall and spaghetti code [05:45:52] Praise Him [05:46:54] rAmen [05:47:18] Hehe [05:47:38] 03(mod) MediaWiki:Licenses/foo sometimes ignored when viewing Special: Upload&uselang=foo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11695 (10vinhtantran) [05:50:30] So I somehow messed up [05:56:19] 03shinjiman * r29965 10/trunk/phase3/languages/messages/ (MessagesKk_arab.php MessagesKk_cyrl.php MessagesKk_latn.php): [05:56:19] * (bug 12145) Update Kazakh translations [05:56:19] Patch by AlefZet [05:56:21] 03(mod) Allow editor-control of order of cites expanded at "< references/>" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12498 (10bill.mitchell) [05:56:23] 03(FIXED) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10shinjiman) [06:00:07] I'm guessing I should upgrade from 1.8.2 haha [06:02:30] Should I just dump my MySQL and reinstall it [06:25:31] 14(INVALID) Special:Export should mention multiple pages in one URL - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9889 +comment (10brion) [06:49:13] 03vasilievvv * r29966 10/trunk/phase3/includes/ (ImagePage.php filerepo/File.php filerepo/LocalFile.php): Introduced File::getHistory(), which should be used instead of ugly nextHistoryLine() which is now deprecated [06:51:06] 03vasilievvv * r29967 10/trunk/phase3/includes/AjaxFunctions.php: Fix AJAX search caching on invalid titles [06:58:44] 03(mod) File histories should be paged, requires modification of File. php and friends - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12645 +comment (10vasilvv) [07:01:36] brion: what does "* Redirect behavior doesn't match between the image and the page" means? [07:02:19] VasilievVV: mm, for example if you go to Image:Foo page, it shows one thing (the target page), but if you embed [[Image:Foo]] it does something else (not following the redirect) [07:03:07] Ah... ok [07:03:55] brion: btw, can you enable $wgFileRedirects on testwiki? [07:04:15] sure [07:04:40] wow, someone *else* will be using it again? [07:04:49] *Splarka flooded off everyone else with parser tests [07:06:12] 03vasilievvv * r29968 10/trunk/phase3/includes/ (EditPage.php filerepo/FileRepo.php filerepo/LocalRepo.php): [07:06:12] Image redirects: [07:06:12] * Forbid users who can't create redirects when they are not allowed to upload files [07:06:12] * Move target namespace check from checkRedirect() to findFile() [07:07:32] VasilievVV: enabled on test [07:07:37] brion: thanks [07:09:33] 03(mod) Auto unit conversion - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=235 (10N/A) [07:14:26] 03brion * r29969 10/trunk/phase3/ (3 files in 3 dirs): [07:14:26] * Add option to include templates in Special:Export. [07:14:26] (An option to *expand* templates might be helpful too.) [07:15:51] been meaning to do that one for years :P :) [07:22:00] *VasilievVV also wonders if someone may promote him bureaucrat on testwiki [07:28:50] VasilievVV: username? [07:29:06] brion: VasilievVV [07:29:24] ah i had wrong number of Vs [07:29:48] that name is like a really bad scrabble rack [07:30:30] :D [07:30:36] It's abbreviation of my real name :) [07:30:37] VasilievVV: adding [07:32:11] brion: thanks [07:42:10] how do I make a complete backup of my media wiki so I can move it to another machine?? [07:43:06] !backup [07:43:06] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [07:44:19] brion: may you also look at TitleBlacklist? It has already been disabled for about a week [07:45:50] when i get to it [07:47:36] kury: that link above was for you [07:47:55] MZMcBride, thx.. [07:48:01] Quick question, can mediawiki effectively read text on an outside URL (read text on another seperate website) [07:48:17] If at all. [07:48:21] read? [07:48:43] You mean like an iFrame or something? [07:48:46] Interpret text on another website. [07:49:41] I don't need it, but I'm curious. As in, lets say theres a blog with a few words in a post. Would it be able to "interpret" that text and use it in anyway. [07:49:59] not easily [07:49:59] I'm thinking it wouldn't, I don't see it used in that way anywhere. [07:51:49] Well, an iframe would be similar, yes. But pure text surely would be easier. [07:51:54] I would think... [07:53:44] You could use an extension that lets you embed html, and then use javascript to do whatever you're looking to do [07:54:02] That would cause security holes, correct? [07:54:04] hmm, something bad in the svn up [07:54:13] C includes/GlobalFunctions.php [07:54:13] C includes/MessageCache.php [07:54:50] It would. There are extensions that limit useage to sysops only though... and if you can't trust them... lol [07:55:18] VasilievVV: you broken it [07:55:41] test.wp is returning only blank pages [07:55:42] PCOA: HTMLets is secure on the wiki side [07:56:06] test.wiki doesn't need anyone to break it, it usually manages just fine on its own [07:56:25] I added different groups for different people. I decided having sysop as my only option was a badthing. [07:56:27] bad thing* [07:56:35] PCOA, did you look into rss? [07:57:06] No, I did think about it first, but I didn't believe it would work on Mediawiki, I'll look into it to make sure. [07:57:25] for example http://meta.wikimedia.org/wiki/User:Alxndr/RSS [07:58:31] Splarka, looks like a sure bet [07:58:43] Splarka: what did I broke? [07:59:56] oop, working now, but for about 5 minutes there test.wp returned zero length replies [08:04:18] Is there a way to see how many times an image/file has been viewed? [08:04:24] VasilievVV: doesn't work with [[Media:Imagename.png]] [08:05:14] Splarka: hm... [08:05:21] although that may be because that image exists on commons [08:05:26] *Splarka creates a redirect that doesn't [08:05:45] Splarka: no, that doesn't matter [08:05:49] well it ought to be consistent between Image: and Media: [08:06:27] software2: probably not [08:06:27] right [08:06:45] if the file does exist on commons, it is a blue link, but to the file on commons [08:06:50] if it doesn't, it is a red link [08:06:53] 03huji * r29970 10/trunk/phase3/ (2 files in 2 dirs): [08:06:53] * Added Persian translations [08:06:53] * Updated messages.inc to include the newly added message. [08:07:48] the problem is with a media: redirect, how to handle it? [08:08:00] should it resolve the name on page save and link to the actual destination? [08:08:11] or should the image server hold a redirect at the false image location? [08:08:31] also, how will #ifexist:file: and #ifexist:media: be handled? [08:09:46] currently you can use a pair of embedded #ifexist:file inside an #ifexist:media, to tell the complete status of an image: if it is a local image uploaded, if it is a commons image, if it is a blank content page in the image namespace, or if it is none of the above [08:10:19] (although the case of a commons image, coupled with a blank content page, would false positive as a locally uploaded file I suppose) [08:10:37] [08:18:57] 03vasilievvv * r29971 10/trunk/phase3/includes/ (ImagePage.php filerepo/LocalRepo.php): [08:18:57] * Fix empty file histories [08:18:57] * Fix Media: links to image redirects [08:19:56] Splarka: fixed [08:24:02] Hey guys, know of any way to move a contents box to the right hand side? [08:25:39] http://en.wikipedia.org/wiki/Template:TOCright [08:27:27] Vasil: does it link to the redirected-to image directly? [08:27:28] thanks a lot mate! [08:29:06] Splarka: yes [08:29:29] sweet [08:29:35] brion: ooo, template expansion :) [08:29:38] although [08:29:38] when I do that, it comes up Template:TOCright [08:30:03] Vasil: will it break when used in mwCustomEditButtons and other css? I assume so since the uploads.wikimedia.org filename will disappear [08:30:22] but that can't probably be helped... [08:30:31] I think I get it thanks [08:31:14] Splarka: nobody should use file URL directly. They should use Special:Filepath [08:33:02] http://en.wikipedia.org/wiki/MediaWiki:Common.js [08:33:10] eg: [08:33:11] mwCustomEditButtons[mwCustomEditButtons.length] = { [08:33:11] "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png", [08:33:46] http://en.wikipedia.org/wiki/Special:Filepath/Button_redirect.png [08:33:59] http://test.wikipedia.org/wiki/Special:Filepath/Logo.png works fine [08:36:31] the problem is, that url when clicks resolves to the current location. also, it seems like image redirects should usually be temporary until all uses can be replaced, which doesn't seem feasable with a direct link to Special:Filepath, ^_^ [08:37:29] hello? [08:37:52] Splarka: image redirects was created for image moving needs. If nobody will move images, there's no need to support it [08:38:29] Vasil: lets say for example, an image is moved in order to upload something more deserving of the name [08:39:14] hello, I'm from Mexico and I would like to learn how to use MediaWiki.... Somebody can teach me... [08:39:18] ? [08:39:42] brion: may you resync testwiki because of http://test.wikipedia.org/wiki/Image:BLABLABLA.SOMETYPETHATDOESNOTEXIST.HAHAHA ? [08:40:08] sec [08:41:03] *Splarka whistles innocently [08:42:56] well I see it.... may somebody tell me how can I get a tutorial if nobody want to teach me ¬¬? please [08:45:47] patito, http://www.mediawiki.org/wiki/MediaWiki users, administrators, and developer manuals/how-to's are provided. [08:47:16] thanks :D [08:47:40] No problem :o). [08:49:19] http://www.mediawiki.org/wiki/Manual:%24wgAppleTouchIcon [08:55:21] brion, are you here? [08:56:10] more or less [08:56:46] jajaja, oks... well I read something about mediawiki hackers and you are in the contacts [08:57:22] I would like to make you some questions ant talk to you about a project that I want to do [08:58:06] ask away [08:58:13] worst that happens is i look confused and start speaking in tongues [08:58:47] oks I'll start then [08:58:53] I would like to make a site like Wikiversidad in my school [08:59:19] but I don't know how to use mediawiki [08:59:48] hm, sounds like you have to learn :) [09:00:22] may be best to do something with wikia or a similar site rather than trying to start a new site [09:00:36] and I saw that Wikiversidad it's really good but It doesn't have much informations.... so I was thinking if I can join to Wikiversidad and give some informations about some topics [09:00:57] jajaja I know that I have to learn but I don't know how I can join with you ¬¬ [09:01:40] MZM that what I'm thinking now 'cause it's soo much and I don't have time :S [09:02:27] I know java and PHP aso MySQL and I saw that MediaWiki have this...... [09:02:28] there are plenty of sites on the web that can help you create a wiki [09:02:56] yes I know that, but I would like to lear with the best :P [09:04:26] I set mediawiki up in July '07, version 1.6.10, upgraded twice. And getting to where I am now on it, wasn't too simple. I'd recommend wikia, but if your intent is to definately learn I would say (if you have a server to use), upload it, set it up from scratch, and mess around with it while using mediawiki.org. Unless you don't have over a few months of time to work with it and learn it from scratch. [09:05:47] Other ways, of course. [09:05:53] thanks :D guys [09:14:23] 03(NEW) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 15enhancement; normal; MediaWiki: User interface; (michael.frey) [09:16:48] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 (10brion) [09:19:11] VasilievVV|NA: ok svn up'd [09:19:25] brion: thanks [09:22:09] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 +comment (10heuler06) [09:22:49] morning [09:23:33] Splarka: you can also recheck Media: links now :) [09:23:55] Hi, i am trying to set up a wiki, but it cannot configure, because it cannot write to the config directory. It is writable, i am sure. maybe (i am not super user) just the webserver has no permission to write there. Is it possible to configure it another way or solve this problem? [09:24:39] inherited: configure it so web server can write there? [09:25:16] brion: maybe ask them to check the page source for a bunch of addButton(), and their js error panels, as well as preferences [09:25:20] VasilievVV|NA: the flags of the whole config-directory are 666 so it should be possible [09:25:49] or maybe edit pages are being cached now, domas on vacation after all ^_^ [09:26:44] Vasiliev: k [09:27:03] but it still says that it can't write :( [09:27:40] they do work [09:32:10] Hey you guys, I am new to mediawiki and got a question: How do insert "target_blank" into the link-syntax (as a href doesn't work)? [09:32:14] thanks for help [09:32:49] e.g. [http://www.computerzeitung.de Computerzeitung] [09:33:03] [ http://www.computerzeitung.de Computerzeitung] [09:33:31] how should this be inserted into the wiki, if I want the page to open in a new browser window? [09:44:29] interesting... [09:44:39] opera mini's looking more like mobile safari these days :) [09:44:59] more complete page layout, zoomed out by default, with smart zoom options [09:45:09] hm, my config-dir is 777 now but it still cant write to it >_< [09:45:34] looks horribly awkward to use on something that doesn't have a touchscreen [09:45:46] evolution, revolution, revelation, elevation, or outright copy? [09:48:59] imitation is the sincerest form of innovcation [09:49:29] now if i could just get opera mobile *on* my iphone... that might be fun ;) [09:50:55] it ain't over till the fat lady rings [10:10:28] Hi, on nlwiki we mark all edits by anons as patrolled. Reverting an edit as admin automatically marks the reverted edit as patrolled, but is that also the case for reverting an edit as rollbackgroup? [10:18:16] hi [10:18:43] erwin85: it looks yes [10:19:18] if ( $wgUseRCPatrol ) { [10:19:18] # Mark all reverted edits as patrolled [10:19:18] $set['rc_patrolled'] = 1; [10:19:47] seems to be the only check done on rollback ($wgUseRCPatrol is the config setting for patrolled edits) [10:20:08] compare to the bot flag check: if ( $bot && $wgUser->isAllowed('markbotedits') ) { [10:20:57] which checks for &bot=1 (earlier) and if the user can do that [10:21:11] 03siebrand * r29972 10/trunk/phase3/languages/messages/ (17 files): Localisation updates for core messages from Betawiki (2008-01-20 11:16 CET) [10:23:11] re [10:23:34] 03siebrand * r29973 10/trunk/extensions/ (20 files in 18 dirs): Localisation updates for extension messages from Betawiki (2008-01-20 11:16 CET) [10:29:41] 03siebrand * r29974 10/trunk/phase3/languages/messages/MessagesLmo.php: [10:29:41] Localisation updates for core messages from Betawiki [10:29:41] * imported messages from lmo.wikipedia [10:30:30] 03grondin * r29975 10/trunk/phase3/languages/messages/MessagesFr.php: Commit core message for fr from Betawiki [10:58:58] 03brion * r29976 10/trunk/phase3/includes/SpecialExport.php: [10:58:58] A little refactoring of the input splitting/expansion: [10:58:58] * Trim duplicate input. If we ask for "Foo" three times, only export it once! [10:58:58] * Add a (disabled) option to export used images as well. No use for it right now since Special:Export doesn't export, and Special:Import doesn't import, any useful image information. Uncomment it when that happens. :D [11:05:48] 03vasilievvv * r29977 10/trunk/phase3/includes/ImagePage.php: Fix stupid bug [11:21:35] Hey you guys, I am new to mediawiki and got a question: How do insert "target_blank" into the link-syntax (as a href doesn't work)? [11:21:35] Tahaddi thanks for help [11:21:35] 10:32 Tahaddi e.g. [http://www.computerzeitung.de Computerzeitung] [11:21:35] Tahaddi [ http://www.computerzeitung.de Computerzeitung] [11:21:35] Tahaddi how should this be inserted into the wiki, if I want the page to open in a new browser window? [11:21:59] Tahaddi: You can't, and you shouldn't [11:22:53] ok, why not? I mean in Germany you got the problem that if you open external web pages in your own browser windows, you are responsible for the content [11:23:01] that's my problem actually [11:28:42] Oh [11:29:58] *Splarka hates linking to it: http://www.mediawiki.org/wiki/Manual:Opening_external_links_in_a_new_window [11:30:27] *Splarka gags [11:30:47] *Splarka immediately closes such annoying links and drags them to the damn titlebar manually, hah [11:43:57] 03(NEW) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 15enhancement; normal; MediaWiki: User interface; (roan.kattouw) [11:47:39] <[CodeWiki]Loki> hey all, i have a problem with the mediawiki recent changes RSS-feed [11:47:59] <[CodeWiki]Loki> the feeds point to an old URL, meaning the links doesnt work.. [11:48:09] <[CodeWiki]Loki> anyone have any idea on how to change the URL? [11:50:06] 03(mod) Single login (Unified login) on all wikimedia projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=57 +comment (10agkwiki) [11:50:22] 03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10tony1) [11:57:06] <[CodeWiki]Loki> anyone have a clue? [11:59:16] [CodeWiki]Loki: could that be a caching issue? there have been changes on that recently, and a discussion on wikitech-l. don't know if it's related, but you could start checking there [12:13:59] 03vasilievvv * r29978 10/trunk/phase3/includes/filerepo/ (LocalFile.php LocalRepo.php): [12:13:59] Gotta die today... [12:13:59] * Fix image uploading with image redirects enabled [12:13:59] * Escape titles [12:17:55] 03catrope * r29979 10/trunk/phase3/includes/filerepo/LocalFile.php: FileRepo: LocalFile::getUser() should load data [12:21:25] 03(mod) Orphaned pages and other special pages do not show pages in custom namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12689 (10codecat42) [12:28:15] 03(NEW) Add a "(content)" option to the namespace picker on special pages that use it - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12702 15enhancement; normal; MediaWiki: Special pages; (voyagerfan5761) [12:28:43] 03(mod) Orphaned pages and other special pages do not show pages in custom namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12689 (10voyagerfan5761) [12:43:21] hey i had istalled ratearticle extension but i get this Fatal error: Call to undefined function wfRunHooks() in /mnt/web5/20/83/51663183/htdocs/includes/SpecialPage.php on line 190 [12:44:57] can anyone help? [12:48:52] 03vasilievvv * r29980 10/trunk/phase3/includes/filerepo/LocalFile.php: * Fix image caching [12:51:50] bango: What version of MediaWiki are you running? [13:00:50] 03(mod) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 (10bertrand.grondin) [13:09:44] 03catrope * r29981 10/trunk/phase3/includes/api/ApiQueryImageInfo.php: * Refactoring ApiQueryImageInfo to use new File::loadHistory() interface. No change in user-observed behavior [13:10:52] MinuteElectron: PING [13:11:24] RoanKattouw: hi [13:11:40] updating... ;) [13:11:40] You had GD, right? [13:11:51] yup [13:12:21] It'll be live in a few minutes, same URL as before. [13:12:26] Yep, same URL [13:12:39] Change 123 to 234 though [13:13:45] could you remind me what it was, i'm not at the same console. [13:14:16] Can you just give me the URL of your api.php ? [13:15:25] yep [13:15:31] http://www.wikitest.co.uk/mediawiki/trunk/phase3/api.php [13:15:35] Thanks [13:15:50] The new version should be live now. [13:16:29] What was it again? Logo.jpg? [13:16:41] Wiki.png [13:17:02] 03(NEW) dir backslash bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12703 15enhancement; normal; MediaWiki: Redirects; (igor) [13:17:46] does usemsgcache still exist? [13:22:30] 03catrope * r29982 10/trunk/phase3/includes/api/ApiQueryImageInfo.php: Small fix [13:22:32] MinuteElectron: Can you svn up again? [13:23:14] sure [13:23:28] give it a few minutes and the changes should come live [13:24:37] Shoudl be live now [13:29:52] can someone help me: I need to insert a css style hook. Can someone point me to some documentation about how to do that ? Can I just insert a css file at some point, which should be global? [13:30:16] sure, you can just edit common.css if you want a global css change [13:30:37] MediaWiki:Common.css [13:32:02] *RoanKattouw is stupid [13:32:17] MinuteElectron: I forgot to check the image's dimensions (135x135) [13:32:22] Tried to shrink it to 234x234 :P [13:32:34] carl-m: I would rather go for Include it somewhere, that its not going to be overwritten, when updated. Is there something to include it with an extension included in LocalSettings.php ? [13:32:56] MinuteElectron: Works like a charm, thanks [13:33:01] np [13:33:07] maybe I just have to add another variable to an array ? [13:33:22] vi390: Common.css is never overwritten [13:33:40] vi390: I don't mean the file common.css, I mean the wiki page MediaWiki:Common.css [13:33:45] RoanKattouw: even not when Updateing Mediawiki ? [13:33:55] unless you erase your whole database when you upload [13:33:59] vi390: No [13:34:07] carl-m: ah ok, now I see, I got it wrong [13:34:26] I thought about the File [13:36:19] thanks [13:37:07] is there anyone here who can explain the message cache a little? [13:37:16] hippietrailtipsy: A *little* [13:37:27] As in very little [13:38:03] RoanKattouw: i want to do localized messages in javascript so i want to be sure i know what i'm doing [13:38:44] Oh [13:38:57] Well I don't know that much [13:39:10] so the msgcache is in the database but can be overridden in the mediawiki namespace right? [13:39:19] yes [13:39:39] hippietrailtipsy: AFAIK, the messagecache is updated every time someone edits a MediaWiki: page [13:40:12] but are there defaults in the msgcache for even when no mediawiki: page exists? [13:41:27] of course [13:41:54] hi [13:42:07] hello crissy [13:42:11] hi carl [13:42:17] and the msgcache can be read from the wiki with usemsgcache=yes ? [13:42:58] and localized variants by adding say .../es or &uselang=es [13:44:53] I believe so. I'm not sure what usemsgcache does [13:45:22] hmm. i'm in the territory of bug 7267 again i think [13:46:06] 03(mod) Message cache cannot be accessed via action=raw - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7267 summary (10roan.kattouw) [13:47:17] nobody ever looked at it back when i filed it and now i'm looking at the same problem but i've forgotten some of the background [13:53:55] hippietrailtipsy: you may need to work around that bug until someone fixes it, by hardcoding the messages [13:54:50] carl-m: actually i'm just doing an api.php feature request for wfMsg and wfMsgForContent support [13:55:00] that would also solve the problem [13:55:09] hippietrailtipsy: It's already there [13:55:12] meta=allmessages [13:55:39] AzaTht: r29981 [13:56:37] really? [13:57:13] hippietrailtipsy: Yep, go to http://en.wikipedia.org/w/api.php and look for "meta=allmessages" [13:57:23] RoanKattouw: does it take a language parameter? [13:57:32] No :( [13:57:41] 03(mod) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 15enhancement->major; +comment (10bertrand.grondin) [13:57:59] hippietrailtipsy: I'll see if I can add one [13:58:01] ah then not quite what's needed for a high quality localized javascript extension [13:58:26] thanks! i'd do it myself but wiktionarydev has not existed since brion moved [13:59:51] RoanKattouw: hmm [13:59:58] 03(NEW) api.php interface to wfMsg and wfMsgForContent functions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12704 15enhancement; normal; MediaWiki: API; (hippytrail) [14:00:02] !r 29981 [14:00:02] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29981 [14:00:25] 03(mod) api.php interface to wfMsg and wfMsgForContent functions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12704 +comment (10roan.kattouw) [14:00:32] RoanKattouw: "No change in user-observed behavior"? [14:00:42] Oh whoops that's not correct [14:00:47] are you observing users now? [14:01:06] iihistory is gone, iilimit,iistart,iiend have been added [14:01:12] I'll update RELEASE-NOTES [14:01:16] hehe [14:01:20] I meant behavior observed by users ;) [14:01:27] :) [14:01:47] It sounded that you where observing some users, and no one changed [14:01:57] theiur behavour [14:02:17] lol [14:02:32] 03(mod) Message cache cannot be accessed via action=raw - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7267 (10hippytrail) [14:03:09] 03catrope * r29983 10/trunk/phase3/RELEASE-NOTES: RELEASE-NOTES update for r29981, which DOES change the interface, contrary to my comment at 29981 [14:03:29] AzaTht: I've also added scaling to prop=imageinfo [14:03:57] AzaTht: Testable at http://www.wikitest.co.uk/mediawiki/trunk/phase3/api.php [14:04:42] How do you change the RSS feed url? [14:04:52] width and height? [14:05:04] why not just an iiurlsize=200x300 [14:05:30] Because, we had a mediawiki setup on one server, then we moved it to another server, and everythign works except the feed, which is pointing to our old domain [14:06:41] RoanKattouw: and difficult to test on your test wiki, as there are no test image :) [14:06:55] http://www.wikitest.co.uk/mediawiki/trunk/phase3/api.php?action=query&titles=Image:Test.jpg&prop=imageinfo&iilimit=50&iiend=20071231235959&iiprop=timestamp|user|url&iiurlwidth=300 [14:07:05] Image:Wiki.png exists [14:07:19] I have images, but no GD (necessary for scaling) [14:07:33] AzaTht: iiurlsize is more trouble interpreting [14:08:55] AzaTht: > http://www.wikitest.co.uk/mediawiki/trunk/phase3/api.php?action=query&titles=Image:Wiki.png&prop=imageinfo&iilimit=50&iiend=20071231235959&iiprop=timestamp|user|url&iiurlwidth=57 [14:09:07] RoanKattouw: , carl-m|away: meta=allmessages doesn't have the best interface for returning that a message doesn't exist [14:09:23] It just doesn't return it [14:09:41] Oh worse [14:09:48] well in json format i get "*": "<fooxx>" if i look up the message "fooxx" [14:09:57] Yeah [14:10:03] 'orrible [14:10:08] That's what wfMsg('fooxx'); returns [14:10:32] really? that seems absurd [14:11:04] i never did fully grok the wfMsg family of functions [14:12:25] for me, not returning anything would be best, returning "missing" as with rvprop=content would be next best [14:15:39] hippietrailtipsy: We can't help it; you wanted an interface to wfMsg() and meta=allmessages is exactly that [14:17:01] hmm then it should be documented as such since it currently violates the principle of least surprise (-: [14:21:02] 03catrope * r29984 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryAllmessages.php): (bug 12704) Adding amlang parameter to meta=allmessages [14:22:06] 03(FIXED) api.php interface to wfMsg and wfMsgForContent functions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12704 +comment (10roan.kattouw) [14:22:31] hippietrailtipsy: Your bug has been fixed on trunk [14:22:45] thank you! (-: [14:23:11] !r 29984 [14:23:11] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29984 [14:27:01] how cache friendly is the api? other wiktionary js devs have voiced concerns [14:27:16] What do you mean by cache-friendly? [14:28:25] if i'm querying a few (unchanging) messages at every page view is it hitting the servers unnecessarily or will the results be cached? [14:28:43] yes [14:29:10] back when api.php was new i was told using it would be much better than doing action=raw queries [14:29:37] that's false [14:29:51] I can see no difference [14:29:51] hippietrailsober: It fetches messages just like all other code [14:30:24] Well VasilievVV I can see that, less initialization (user preferences and the like) [14:42:20] 03(NEW) "Invalid call hook poem" with refreshLinks.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12705 normal; normal; MediaWiki: Page rendering; (lugusto) [14:42:38] 03(mod) Page titles could cause problems for some HTML editors that add a trailing slash to URLs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12703 summary; +comment (10voyagerfan5761) [14:44:22] hi there [14:45:19] is it possible to display notes in red ( warnings ) like dokuwiki ? [14:46:40] find the css class for what you want to change, edit [[MediaWiki:Common.css]] to add the styling [14:48:22] how do php extensions get their localisable strings to where the translators can include them in their work? [14:48:27] like that : http://img137.imageshack.us/img137/1573/warningqi6.png [15:01:08] flyingparchment: an other method is to create a CSS to tell MW to colorize the fonts background, & just put an image at the beginning. do you know how do that ? sure it will be interesting for community to know... [15:02:25] the image is : http://img85.imageshack.us/img85/8308/w4rninggs5.png [15:06:14] <[CodeWiki]Loki> Anyone know how to configure the RSS feed in "recent changes" [15:06:55] configure? [15:07:01] it's just there... [15:07:14] <[CodeWiki]Loki> yeah, but in my case it points the wrong URL [15:07:40] that... should be impossible... [15:07:48] <[CodeWiki]Loki> cuz, my wiki is located at connect-utb.com/wiki, but i have another domain which points to that installation, codewiki.no. And the RSS feeder points to the first one, which doesnt work [15:08:22] you probably have the same problem with all absolute urls generated by mediawiki the [15:08:34] yet $wgServerName and $wgServer manually to the correct domain [15:08:54] ($wgServer has the "http://" up front, $wgServerName is just the domain) [15:08:54] <[CodeWiki]Loki> are those two in localsettings? [15:09:08] all config ist don in localsettingws [15:09:13] even if the settigns are not there yet [15:09:17] !config [15:09:17] --mwbot-- *All* configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can *look* in DefaultSettings.php. See , , [15:10:29] <[CodeWiki]Loki> ok, so i should set wgServer to "http://www.codewiki.no" then? [15:10:41] <[CodeWiki]Loki> and wgServerName should be set to just: "codewiki.no"? [15:10:54] <[CodeWiki]Loki> none of those are in localsettings, so i guess i should just put them in, yeh? [15:11:08] yep [15:11:15] <[CodeWiki]Loki> okies, will try! thanks loads [15:11:59] a beginning of solution : http://en.wikipedia.org/wiki/Special:Search?go=Go&search=image:warning.png texte red [15:12:21] [ [image:warning.png] ] < font color = red >texte red< / fon t> [15:12:33] <[CodeWiki]Loki> hmm, i got a Parse error: syntax error, unexpected T_VARIABLE in /home/connect/public_html/wiki/LocalSettings.php on line 79 when i did the changes [15:12:46] <[CodeWiki]Loki> ah, forgot ";" [15:12:48] [CodeWiki]Loki: probably missing a ; at the end of a line [15:13:39] <[CodeWiki]Loki> hmmm, RSS feeder still broken [15:13:59] shouldn't !config, say all configurations that are part of the mediawiki core are done in LocalSettings.php? Seems like extensions require configuring elsewhere [15:14:41] <[CodeWiki]Loki> it points to the right url, but the old domain.. so it shows connect-utb.com/index.php instead of codewiki.no/index.php [15:14:52] darkcode: if they require config elsewhere, they are broken [15:14:56] or do very strange things [15:15:08] extensions are generally also configured in localsettings, just after including them [15:15:29] [CodeWiki]Loki: uh... wait. there's no absolute url in the html code at all. [15:15:37] it doesn't speciy the domain. [15:15:46] it just uses the domain you are currently looking at. [15:16:01] <[CodeWiki]Loki> hmm.. [15:16:05] href="/index.php?title=Spesial:Siste_endringer&feed=rss" [15:16:15] your missing the /wiki bit [15:16:23] <[CodeWiki]Loki> http://www.codewiki.no/index.php/Spesial:Siste_endringer [15:16:30] darkcode: he has his stuff in the document root [15:16:33] not using /wiki [15:16:36] <[CodeWiki]Loki> thing is, it shouldnt be a /wiki bit.. [15:16:42] ok [15:16:47] *darkcode missed that [15:16:50] <[CodeWiki]Loki> because the url for the wiki is either connect-utb.com/wiki, or codewiki.no [15:16:57] <[CodeWiki]Loki> and im using the latter.. [15:17:13] 03(NEW) Upload history of a file, not showing the uploader - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12706 major; normal; MediaWiki: Uploading; (geraki) [15:17:22] [CodeWiki]Loki: note that putting the wiki into the document root is a bad idea - especially if you pan on using pretty urls. [15:17:36] <[CodeWiki]Loki> and since im using codewiki.no (which points to connect-utb.com/wiki), ive put $wgScriptPath = ""; [15:17:59] <[CodeWiki]Loki> yeh, ive just learned that as well, but dont think it matters when im using a domain that points directly to that url? [15:18:11] [CodeWiki]Loki: anyway, i don't see your problem. the rss link points here: http://www.codewiki.no/index.php?title=Spesial:Siste_endringer&feed=rss [15:18:14] which works just fine [15:19:02] <[CodeWiki]Loki> yeh, but the links the rss feed gives out are wrong.. [15:19:03] <[CodeWiki]Loki> example: [15:19:15] hmm if its physically localed into a /wiki directory for connect-utb.com, seems like $wgScriptPath needs to be set to "/wiki", and redirection needs to be done for the codewiki.no domain [15:19:35] <[CodeWiki]Loki> ive loaded it into a reader.. and when i try to view an article, it points to Article: [15:19:35] <[CodeWiki]Loki> http://www.connect-utb.com/index.php/Kategori:Csharp , instead of Article: [15:19:35] <[CodeWiki]Loki> http://www.codewiki.no/index.php/Kategori:Csharp [15:19:49] [CodeWiki]Loki: oh, that... might just be that it's cached [15:20:02] not sure if it gets purged automatically when editing the config [15:20:08] (it should, but i'm not sure it does) [15:20:36] <[CodeWiki]Loki> so i can try to access it with my phone..= [15:20:37] <[CodeWiki]Loki> ?* [15:20:46] no. server-side cache [15:20:54] re [15:21:02] if it's in teh cache there, everyone get the same old version [15:21:26] since you have set wgServer, the wiki should not know or use your old domain any more anywhere. [15:21:37] once the feed updates, it' [15:21:43] err, it *should* be fine [15:21:54] if it isn't, i have no clue why :) [15:21:59] anyway, gotta go [15:22:03] try seeing if any new entries use the correct urls [15:24:30] 03(FIXED) Upload history of a file, not showing the uploader - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12706 +comment (10vasilvv) [15:32:32] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 +comment (10bogdan.stancescu) [15:40:31] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 +comment (10roan.kattouw) [15:56:24] I've recently run into a problem with my wiki. When trying to view page revisions, only the very first logged revision and the current revision show up. The others are failing with " MySQL server has gone away". Any thoughts about this? [16:05:04] 03(NEW) error special page for all errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12707 15enhancement; normal; MediaWiki: Special pages; (gangleri) [16:05:57] 03vasilievvv * r29985 10/trunk/phase3/includes/Wiki.php: * Don't follow redirects if image exists [16:10:14] MZMcBride: ping [16:10:21] hello [16:10:36] 03(mod) error special page for all errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12707 (10gangleri) [16:10:37] hi. sorry to bother, but it's about the new parser. [16:10:58] any idea why 2 section header edit links are missing here? http://it.wikipedia.org/wiki/Emule?timtest=newpp [16:12:11] hmm... [16:12:21] actually, more than that. [16:15:17] are there other issues besides the [edit] link? [16:15:20] 03(NEW) Display tabs at bottom (as well as top) of page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12708 15enhancement; normal; MediaWiki: User interface; (aquegg) [16:16:29] MZMcBride: In that page? I am lookink at the most-viewed pages and this seems to be the first real issue. [16:16:53] ok. i've isolated it... [16:17:11] I have a problem with http://it.wikipedia.org/wiki/Milan?timtest=newpp losing some images but I can trace that to the template. [16:17:55] the problem on eMule is: [16:17:56] {{cassetto|Eventi di rilievo nella storia di eMule| [16:18:08] it never closes [16:20:08] 03(NEW) Enable subpages for namespace "Template" in it.wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12709 15enhancement; normal; Wikimedia: Site requests; (powerpdn) [16:20:17] yes, this seems to fix all missing links. thanks! [16:20:28] no problem [16:23:53] 14(DUP) XML import does not update the redirect table - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12507 +comment (10powerpdn) [16:23:55] 03(mod) Redirect table is missing 1 million entries (~50%) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10931 +comment (10powerpdn) [16:26:08] 03rotem * r29986 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [16:47:08] 03(mod) error special page for all errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12707 (10gangleri) [16:49:57] 03(mod) error special page for all errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12707 (10gangleri) [17:19:01] Can someone please tell me how to access post data generated when a users submits a form? [17:19:21] use $wgRequest [17:19:33] like $wgRequest->getVal('name of element') [17:19:48] thanks, I will give it a shot [17:20:27] or $wgRequest->getInt if it's only an integer, $wgRequest->getText if it's a textarea, $wgRequest->getCheck if you just want to test if something exists [17:23:12] isn't getcheck for checkboxes? [17:24:23] TimLaqua: It works either way. [17:24:52] ah, because checks don't post any value if they're not checked [17:25:18] yup [17:26:50] if it is checked then it is equal to "on", otherwise it is not set. [17:27:18] Presumbaly it is just a isset() check. [17:28:32] anyone can help me to make a function of css if it's possible ( I'm not sure... ) ? [17:30:05] I would like to make something like this syntax as possible : with pre { padding: 1em; border: 1px dashed #3C3C3C; color: white; background-color: red; line-height: 1.1em; } [17:36:13] I am getting a fatal error when trying to use $page_title=$wgRequest->getVal('title'); [17:36:28] global $wgRequest; [17:37:13] perfect! [17:37:16] Thanks [17:46:00] brion: Do you know where I could find query.php? [17:46:10] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 +comment (10Platonides) [17:46:22] I tried every version from 1.6 upward, but I can't find it [17:47:03] I'm there :) [17:48:48] Oh never mind, got it [17:49:26] Is there a quick tutorial for adding new MediaHandler? [17:49:36] hi. Could anyone confirm that the fields are missing in the file history there please? http://commons.wikimedia.org/wiki/Image:Wikimedia_logo_family.png [17:50:41] confirmed, that is quite odd [17:50:50] gullom: Confirmed. Purge the image pgae [17:51:11] yes, purging worked [17:51:23] This bug was fixed, but much of it got stuck in the pcache [17:51:33] So whenever you see that, just purge [17:51:35] RoanKattouw, yes, i saw it on another channel, thanks [17:54:50] Is there a reasonable way a user could have just upgraded to 1.12 without getting the latest from SVN? (I'm trying to troubleshoot a liquidthreads installation) [17:55:47] davidmccabe: 1.12 is ONLY available through SVN, unless someone decided to upload a bundle somewhere, but said bundle would be outdated [17:56:53] Is there some way I could tell what a user's svn rev is just from the web site? [17:57:25] check Special:Version, it should give a rev id [17:57:59] [18:00:46] So I guess the answer is no? [18:02:37] yooden: there's no tutorial on it [18:03:38] nope, I don't see any rev. here's the version page: [18:03:39] http://nyugtalanver.us.to/nyv-wiki/index.php/Speciális:Névjegy [18:10:33] davidmccabe: Weird, on my test wiki the revision shows up. [18:11:44] TimLaqua: thx, bye [18:12:20] davidmccabe: That's *extremely* weird [18:12:40] He has a pre-new year rev though [18:12:46] The copyright notice says 2001-2007 [18:12:48] 03rotem * r29987 10/trunk/debs/squid/debian/errors/error.html: Typo. [18:14:35] RoanKattouw, davidmccabe: He could have checked it out without .svn files (the -c flag IIRC) which would explain why there is no revision number - a very bad idea however. [18:14:45] True [18:15:04] hmm, so what should I tell the poor guy? [18:19:52] 03rotem * r29988 10/trunk/debs/squid/debian/errors/error.html: Per suggestion. [18:20:23] 03catrope * r29989 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryAllpages.php): * API: Added apfilterlanglinks parameter to list=allpages, replacing query.php?what=nolanglinks [18:20:46] davidmccabe: To run svn checkout again, this time without the -c flag [18:21:00] 03rotem * r29990 10/trunk/debs/squid/debian/errors/error.html: Better. [18:21:06] AzaTht: r29989 was something you asked for too, right? [18:27:37] AzaTht: PING [18:27:43] !r 29989 [18:27:43] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29989 [18:28:27] YEA [18:28:53] Since it was on my TODO list, there was like an 80% chance you had requested it ;) [18:29:02] What did you want it for again? [18:29:07] though I didn't really "asked" for it, just pointed out that someone asked me about it :) [18:29:16] Right [18:29:23] as something lacking from query.php [18:29:38] Along with format=txt and format=dbg IIRC ? [18:29:48] with that, I think query.php is fully deprecated [18:29:51] yea [18:30:01] those too [18:30:47] 80% only? :) [18:31:04] POST-only modules wasn't your idea, I believe [18:31:15] Nor was obsoleting action=render [18:31:27] Or using message keys internally rather than constants [18:31:38] hmm [18:31:39] 3 out of 12 were not yours (the rest was, though) [18:31:47] I think I have poked about POST only [18:32:01] !r 29934 [18:32:01] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29934 [18:32:02] but perhaps not the exact request [18:33:00] but I hope that I can still use POST for GET available queries? [18:33:11] Sure [18:33:17] There are just a few modules that are now POST-only [18:33:21] as I use post for everything [18:33:30] much easier than to separate [18:33:39] All APIedit modules + action=login now require it [18:33:54] logout then? [18:34:06] No [18:34:09] hmm [18:34:17] Special:Userlogout is also a GET-request in the UI [18:34:24] that was the one that was requested to have POST only [18:34:34] then it should be changed too [18:34:42] :) [18:34:56] Doesn't make sense; /wiki/Special:Userlogout works with GET just fine [18:35:15] until some rouge admin goes too rouge [18:35:31] 03brion * r29991 10/trunk/phase3/languages/messages/MessagesDsb.php: Revert r29936, r29891 -- lowercase namespace and special names causing vast breakage [18:35:37] RoanKattouw: In the UI it is impossible for it to be a post request without looking ugly (as post requests require a button), however it would be reasonable to require it to be POST in the api given that it doesn't use forms. [18:37:28] Making it POST doesn't matter then, 'cause logouts can still be forced through the UI [18:37:40] fair enough [18:37:53] 03vasilievvv * r29992 10/trunk/tools/planet/ru/www/planet.css: Update Russian planet.css [18:39:25] 03catrope * r29993 10/branches/ApiEdit_Vodafone/languages/messages/ (37 files): ApiEdit_Vodafone: merging latest revisions from trunk using svnmerge; part 1 [18:39:59] 03catrope * r29994 10/branches/ApiEdit_Vodafone/languages/ (40 files in 2 dirs): ApiEdit_Vodafone svnmerge part 2 [18:40:01] 03vasilievvv * r29995 10/trunk/extensions/InspectCache/ (InspectCache.i18n.php InspectCache_body.php): Add keys listing to InspectCache [18:41:35] 03catrope * r29996 10/branches/ApiEdit_Vodafone/includes/ (44 files in 3 dirs): ApiEdit_Vodafone svnmerge part 3 [18:42:34] 03vasilievvv * r29997 10/trunk/phase3/includes/LoadBalancer.php: Fix code formatting [18:42:36] 03catrope * r29998 10/branches/ApiEdit_Vodafone/ (10 files in 8 dirs): ApiEdit_Vodafone svnmerge part 4 (last) [18:43:45] RoanKattouw: wtf yee doing? [18:44:06] Not all e-mail clients like getting diffs of 141 files in one mail [18:44:14] So I've been splitting svnmerges for a while now [18:45:17] http://svn.wikimedia.org/viewvc/mediawiki/branches/ApiEdit_Vodafone/?view=log [18:46:45] 03vasilievvv * r29999 10/trunk/tools/planet/ru/templates/index.html.tmpl: Fix typo [18:47:03] 03vasilievvv * r30000 10/trunk/phase3/includes/MagicWord.php: [18:47:03] Add profiling to MagicWord.php [18:47:03] 30000 GET! [18:47:14] hmm? [18:47:42] 30000 GET!!!!!! [18:47:47] 30k revs, congrats everyone [18:47:47] HEY-HO!!! [18:48:23] xd [18:48:32] oh [18:48:34] darn [18:49:09] :p [18:50:17] *AaronSchulz plays Auld Lang Syne [18:50:43] labas [18:52:19] RoanKattouw: abouth the image size, I propose to have only one parameter: iisize or similar, and use the same calculation as the buildin image resizer does, and also return two attributes with the new size [18:52:25] 03(NEW) Classes like Parser and EditPage should use $mTitle member rather than $wgTitle - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12710 normal; normal; MediaWiki: General/Unknown; (roan.kattouw) [18:52:25] 03(mod) Code quality issues (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=700 (10roan.kattouw) [18:52:29] iisize=200x300 [18:52:52] AzaTht: Aspect ratio is always preserved, so iiurlwith=200 means the width is 200 *max* [18:53:04] yea [18:53:10] Well that's more trouble interpreting, separate params are easier [18:53:43] but the resulting size should at least be returned [18:53:52] damn [18:53:55] as it might not always be as defined [18:54:01] 03(mod) Code quality issues (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=700 (10roan.kattouw) [18:54:03] 03(mod) Move @access public/private/ protected qualifiers to PHP 5 keywords - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8000 (10roan.kattouw) [18:54:09] 03(mod) Add "How to cite this article" link - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=800 (10roan.kattouw) [18:54:12] RoanKattouw: even now you hanged my email client again! [18:54:24] AzaTht: That's pretty hard to add [18:54:31] it is? [18:54:48] you doesn't use an Image object? [18:55:45] $f->getWidth() you are using [18:55:54] 03(NEW) Wikipedia: namespace alias for sv.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12711 15enhancement; normal; Wikimedia: Site requests; (mickewiki) [18:56:20] AzaTht: That returns the real size [18:56:22] iiprop=size [18:56:43] hmm, though you where creating a thumb object [18:57:27] No, just a URL [18:57:51] But look at the url (there's a NNNpx component in there), look at the original size and do some math [18:57:53] My e-mail client is smart enough not to try displaying ludicrously large e-mails all at once. [18:58:14] VasilievVV's and mine aren't, apparently [18:58:22] RoanKattouw: :-P [18:58:44] AzaTht: If there is no NNNpx component, you tried to scale up rather than down, which isn't supported. The image will just be the original size in that case [18:59:04] Gotta go now though [18:59:14] Bye all, and again congrats with r30000 [19:00:26] . . . [19:00:41] First I try to say something to VasilievVV, and he leaves by the time I start. [19:00:49] Then I try to say something to RoanKattouw, and he does the same. [19:00:51] *Simetrical shakes fist [19:01:20] Simetrical, VasilievVV always checks memoserv [19:01:58] Well, it wasn't that it was *important*. [19:02:06] gah [19:02:19] just when I found what he should do , he dissapear [19:02:21] :( [19:03:46] if I post a line too long, how do I get a horizontal scrollbar ? [19:04:27] or do I need to install the geshi extension for that to work ? [19:05:06] implicit, there are many places in MediaWiki where you could put long lines ;) what of them do you mean? [19:05:09] implicit, you can use
, or a line-initial space, to stop wrapping.
[19:05:12] 	Or use CSS.
[19:05:41] 	anyway, to get a scrollbar, you have to use overflow:auto
[19:05:43] 	hi Simetrical
[19:05:45] 	wait I will show you what exactly I am looking for heh
[19:05:56] 	implicit, it would be cool
[19:06:07] 	http://www.mediawiki.org/wiki/Extension:GeSHiHighlight#MediaWiki_and_GeSHi
[19:06:13] 	03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701  +comment (10Simetrical+wikibugs)
[19:06:23] 	Doesn't 
 in MediaWiki give a scrollbar by default?
[19:06:27] 	see the php code posted over there ? it has a horizontal scrollbar
[19:06:32] 	Simetrical: it's not giving me :/
[19:06:39] 	implicit: 
long line of text
[19:06:50] cool lemme try that [19:06:55] Skizzerz, I wanted to say the exactly same thing... [19:07:16] enhydra: you already did about a minute ago, I just re-phrased to make it a bit clearer ;) [19:08:04] yep this is all I wanted :) [19:12:17] 03siebrand * r30001 10/trunk/phase3/languages/messages/ (MessagesCrh_cyrl.php MessagesCrh_latn.php MessagesDsb.php): [19:12:17] Localisation updates for core messages from Betawiki [19:12:17] * linktrail for crh-cyrl and crh-latn [19:12:17] * special page names and namespace names using capitalised names for dsb [19:21:38] re. is it possible to do somethnig like that ? : < pre background-color: red>...stuff...< / pre> [19:22:45] 03(NEW) Problem now with TidiTab extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12712 major; normal; MediaWiki extensions: General/Unknown; (bertrand.grondin) [19:23:46] sputnick_:
..stuff...
[19:28:33] that ROCKs ialex :) [19:28:52] thanks [19:29:41] flyingparchment: can you make 'modern' have full edit width [19:30:04] yes, but so can you. i'll fiddle later.. [19:31:14] 04(REOPENED) Separate group for ipblock-exempt on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9862 +comment (10NavouWiki) [19:32:41] 03siebrand * r30002 10/trunk/phase3/languages/messages/ (28 files): Localisation updates for core messages from Betawiki (2008-01-20 20:21 CET) [19:34:11] 03(mod) Separate group for ipblock-exempt on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9862 (10Simetrical+wikibugs) [19:35:16] Wow, somebody thinks that like a page's worth of discussion and posting something on the village pump is enough to make policy on enwiki these days? [19:35:24] *Simetrical watches the page so he can observe the fallout [19:35:50] 03(NEW) Upload protection - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12713 normal; normal; MediaWiki: Images; (wikipediabaeren) [19:35:54] That's been proposed for six days. [19:36:38] 03(mod) Upload protection - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12713 normal->15enhancement (10Simetrical+wikibugs) [19:36:52] what is the easiest/cleanest/best way to ensure users can only add pages that fit some specified criteria in an additional table added to the mediawiki database? [19:39:45] 03siebrand * r30003 10/trunk/extensions/ (52 files in 46 dirs): Localisation updates for extension messages from Betawiki (2008-01-20 20:21 CET) [19:40:17] would this be a good question to pose in the wikitech email? [19:40:41] illmasterc: might need a bit more detailed use case [19:41:06] DASH: okay.... [19:41:28] illmasterc, mediawiki-l is the support list. wikitech-l is the development list. [19:41:45] illmasterc, if you're not looking to contribute a patch to the software, probably the former fits better. [19:41:56] Although nobody really cares much if you post to the wrong one. [19:42:17] Dash: for example you have a "endangered species" wiki and have a db table filled with endangered species and only want to allow users to add/edit pages of something that matches an animal from the db list [19:42:28] Simetrical: thakns for the help [19:42:41] I've been subscribing to those lists for a bit but have not written a question yet [19:42:54] Simetrical: certainly have seen your name a lot [19:43:18] 03(NEW) update.php Maintnence Script Broken for Postgres Database - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 major; normal; MediaWiki: Database; (overlordq) [19:43:21] 03(mod) PostgreSQL support (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10overlordq) [19:44:15] 03(mod) Separate group for ipblock-exempt on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9862 (10lar) [19:45:00] Dash: I'd sort of like to change the search functionality so that it can only be added when it matches... [19:45:13] and also users couldn't manually enter the terms in the URL [19:45:22] again, unless it matched the crit [19:45:26] 03(NEW) Protecting Non-Existant Page causes Internal Error - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12715 major; normal; MediaWiki: Database; (overlordq) [19:45:30] 03(mod) PostgreSQL support (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10overlordq) [19:45:39] 06(LATER) Separate group for ipblock-exempt on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9862 +comment (10NavouWiki) [19:59:10] 03(mod) update.php Maintnence Script Broken for Postgres Database - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 +comment (10overlordq) [20:00:04] 03(mod) Wikinews: namespace alias for sv.wikinews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12711 summary (10lejonel) [20:02:51] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10bogdan.stancescu) [20:04:50] 03(mod) update.php Maintnence Script Broken for Postgres Database - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 (10overlordq) [20:05:17] 03(mod) update.php Maintnence Script Broken for Postgres Database - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 (10overlordq) [20:08:53] Nikerabbit: Could you let me know before you create the next batch of wikis? There may well be a few wikis in the last stages of approval that we'll want to include. [20:09:04] ... [20:09:15] Sorry, that was for JeLuF. :) [20:09:32] :D [20:12:12] 03(mod) Protecting Non-Existant Page causes Internal Error - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12715 (10overlordq) [20:18:49] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10Simetrical+wikibugs) [20:19:57] 03(mod) CheckUser installation has invalid SQL for Postgres - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 summary (10overlordq) [20:20:21] Patho: there are no open requests currently [20:23:18] JeLuF: There's a pile waiting for board approval, so that's a temporary issue. :) [20:23:31] So there'll be a new batch in four or five days. [20:24:10] ~ [20:28:00] Patho: now that Tim has shown me how to do fast transwiki batches, I could also move pages from the incubator into the new wikis. They just need to be properly tagged so that I can easily get a list of page titles. [20:28:37] Page prefixes work, right? [20:29:04] that, or categories [20:29:42] Would one top category with subcategories work, or do you need them all in one category? [20:30:08] 03(mod) Deleting a page should not affect the old protection - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12343 +comment (10thogol) [20:30:33] one category would be easier. SQL is bad at handling tree-like datastructures [20:31:16] 03(mod) Deleting a page should not affect the old protection - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12343 +comment (10Simetrical+wikibugs) [20:31:21] < http://tools.wikimedia.de/~pathoschild/ls-testanalysis/ > can generate lists given a top category, if that helps. [20:31:48] For example: http://tools.wikimedia.de/~pathoschild/ls-testanalysis/?prefix=&category=EL&database=betawikiversity-p#list_pages [20:35:07] hey :) ! [20:35:12] I work a couple of hours to build a warning box : http://img182.imageshack.us/img182/6394/warnrx4.png in CSS : http://pastealacon.com/346 anyone could give a little help to store the picture on left & box on rest of the space ? [20:35:46] Trying to debug a problem, is there any function in the mediawiki code to spit stuff to an error log? [20:35:49] !debug | OverlordQ [20:35:49] --mwbot-- OverlordQ: For information on debugging (including viewing errors), see . [20:36:10] JeLuF: If you move the pages, will the prefixes be removed, or would the users need to move them manually? [20:36:55] applying some sed magic on the title would be easy [20:37:42] I make your sed script, you do my CSS :) [20:38:12] s/do/help [20:38:42] no, thanks. Stripping a prefix in sed is too easy, I can do that myself ;-) [20:41:33] *Pathoschild looks at sputnick_'s code. [20:42:31] sputnick_: A simple table will do it: http://pastealacon.com/347 [20:43:52] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10bogdan.stancescu) [20:45:07] Simetrical: you've got mails. Appologies here too [20:48:18] Pathoschild: year very nice ! is it possible to build a version with the picture *inside* the box ( on left ) and one same as your example before but with full widht ? [20:48:43] Yaaaay, I think I found the source of the bug [20:49:21] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 +comment (10huji.huji) [20:49:50] sputnick_: Yes, just move the CSS style to the table ("{| style=..."), and add "width:100%;". You might also want to limit the width of the image cell to the image size, to make sure you don't have weird whitespace between the icon and text in very high resolutions. [20:49:55] *Pathoschild tweaks the example. [20:50:22] hi Pathoschild! long time no see! [20:50:49] sputnick_: Try < http://pastealacon.com/348 > [20:50:55] Hojjat: Hello. What's up? :) [20:51:09] NOthing man. I missed you! [20:51:29] Simetrical: http://plato.stanford.edu/entries/compatibilism/#5.2 ;) [20:51:39] :D [20:52:14] this is why philosophy makes me giggle sometimes [20:52:24] AaronSchulz, I tend to find most of what Dennett says to be pretty convincing. [20:52:39] Although in some cases fairly obvious. [20:53:00] I believe in Hobbian free-will at least [20:53:18] 03(mod) Invalid TIMESTAMP format in r28543 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12325 (10overlordq) [20:55:38] Simetrical: I should try and poke Steven Novella on free-will [20:55:47] *AaronSchulz wonders what he thinks [20:56:40] Simetrical: I've almost given up on "responsibility". Any definition I'd use would just be arbitrary and unconvincing [20:56:51] how do you do a different sitenotice for people who are logged in and aren't logged in? [20:57:06] chuck, different messages. MediaWiki:Sitenotice and MediaWiki:Anonnotice, I think. [20:58:11] AaronSchulz, I view responsibility as a purely pragmatic thing. You have to make people take responsibility for bad things they do (whatever you consider bad) if you want to have any chance of stopping them. But there's no point in holding them accountable in some situations, where no amount of deterrance could have stopped them from acting badly. [20:58:31] that is what I think [20:58:46] I only believe in deterrence "punishment" [20:59:24] If a pedophile can be neurologically altered and we can be sure it won't happen again, then no use in having some huge sentence [20:59:50] I don't have any real objection to punishment for punishment's sake (if, e.g., it makes the victims happier). [21:00:13] Pathoschild: I tried to workaround http://img153.imageshack.us/img153/8500/warn1hm8.png because ther's the CSS as text in the box :) [21:00:16] ... interesting MediaWiki chat :) [21:00:41] I can't find where's it's stuck [21:00:41] *amidaniel eagerly awaits an implementation of Special:PunishPedophile [21:00:43] Simetrical: still, I don't feel comfortable using a theory that is unconvincing nonsense in the abstract but can be applied practically [21:00:47] And I would maybe use the term "prevention" more than "deterrence", because you also have to keep in mind that someone who's dead or in prison isn't going to be committing much more crime whether or not they were deterred by the possibility of such punishment. [21:00:49] AaronSchulz: Can you look at bug 12714 for me. Is your module and just want to make sure I'm not missing something obvious :) [21:00:53] sputnick_: Typo; add a "|" (pipe) between the CSS and image tag. [21:01:10] OverlordQ: linky [21:01:25] Simetrical: yeah, "prevention" is better [21:01:28] http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 [21:01:45] sputnick_: You might also want to set the width to the image width; I'm not sure whether some browser somewhere will force it to 1em and crop the contents or something similarly messy. [21:02:04] OverlordQ: may want to wait for G_SabinoMullane [21:02:20] AaronSchulz: mkay [21:04:29] 03aaron * r30004 10/trunk/extensions/CheckUser/cu_log.pg.sql: Syntax [21:05:35] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10Simetrical+wikibugs) [21:05:50] hi [21:07:01] Simetrical: either way I can't stand Dennett ;) [21:07:26] Though I could be called a "compatibilist", I'd never say that, so as to avoid confusion [21:07:57] i'm thinking of using mediawiki for interal purpose. therefore the content should only be visible to registered users. registration will be closed. does mediawiki suport this? [21:09:39] !access | jasd [21:09:39] --mwbot-- jasd: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [21:10:42] thank you [21:11:39] chuck: http://www.mediawiki.org/wiki/Manual:Interface/Sitenotice [21:11:47] ... [21:11:56] er, ignore that. I was scrolled up for some reason. [21:13:08] who is in power to decide that 1.12 is to be released and where would I find information on its current status? [21:13:51] jamasi: Brion is the release coordinator [21:13:55] (I'm asking as we're about to migrate a server and that would be a nice oppurtunity to start the new server with 1.12 right off. [21:14:08] Pathoschild: rock :) tvm [21:14:08] Most of the information about it's current status would be found in the 1.12a release notes [21:14:20] does anybody know if edittools (resp. insertchar extension) or something what can affect it has been changed recently? it started to behave weird [21:14:32] sputnick_: Welcome. :) [21:14:37] amidaniel, in svn, I suppose. [21:15:02] jamasi: Yessir [21:15:15] sooooo beautifull :) [21:15:16] http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/RELEASE-NOTES [21:15:16] thanks [21:15:22] (not sure if I got the URL right) [21:17:10] jamasi: I would however caution that upgrading to 1.12 may not be the greatest idea at this point. There have been a lot of large, sweeping changes that have not yet been completed [21:17:14] Such as the new parser [21:17:55] isn't wikipedia running 1.12svn already? [21:18:12] Yes, but that doesn't mean it's safe for everyone to run :) [21:18:36] The people running Wikipedia *really* know what they're doing and keep up with all changes to the software [21:19:25] as I'm not afraid to dig into the code, I think it'll work out somehow. [21:20:09] heh, alright, do what you will :) [21:22:45] and currently our 1.10 installation is not running that well (some problems with SQUID updates, I suppose), so I feel the urge to upgrade. [21:23:47] additionally I've seen some features for better protection in combination with lockdown. [21:27:18] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10bogdan.stancescu) [21:36:52] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 +comment (10huji.huji) [21:40:12] 03nikerabbit * r30005 10/trunk/extensions/Translate/poimport.php: * Import fixes [21:40:50] 03(mod) Some edits only show when logged in. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12696 +comment (10huji.huji) [21:41:26] Simetrical: http://maverickphilosopher.powerblogs.com/dennett_critique/ [21:41:59] *AaronSchulz doesn't know what to say ;) [21:42:50] what do you think of this style ? http://img89.imageshack.us/img89/7880/notescg8.png [21:45:37] Simetrical: reminds me of the ontological argument for god [21:46:10] *amidaniel misread that as the ornothological argument for God [21:49:21] 03(mod) Upload-summary is missing in MessagesEn.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12692 (10huji.huji) [21:59:51] 03(NEW) Unprotecting a non-protected page leaves a log entry - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12716 15enhancement; normal; MediaWiki: General/Unknown; (MZMcBride) [22:05:28] ugh [22:20:38] 03(NEW) Messages cache broken after r29945 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12717 04CRIT; normal; MediaWiki: User interface; (alefzet) [22:24:49] brion: have you changed anything what could affect charinsert extension? [22:24:49] check the difference: http://cs.wikipedia.org/w/index.php?title=Foo&action=edit&timtest=oldpp and http://cs.wikipedia.org/w/index.php?title=Foo&action=edit&timtest=newpp down in edittools [22:24:49] once it shows {{}} (correct), once [[:Å ablona:]] (incorrect - Å¡ablona = template). it started recently, no longer than 24 hours ago, but i was unable to find in svn, what could have affected that [22:28:50] and interesting is, that on w:cs: without timtest param in url it shows the bad version, but on eg. q:cs: it shows the correct one [22:33:37] 03(mod) Messages cache broken after r29945 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12717 (10brion) [22:33:44] Danny_B: i wouldn't know anything about it. bugzilla it [22:37:34] 03(mod) error special page for all errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12707 +comment (10gangleri) [22:39:42] Danny_B: another user had an issue with CharInsert earlier today. something must have changed somewhere... [22:40:14] oh, yes, definitely :o) [22:59:04] 03(mod) Messages cache broken after r29945 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12717 (10alefzet) [23:48:28] hello everyone [23:49:32] 03(mod) Page titles could cause problems for some HTML editors that add a trailing slash to URLs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12703 (10igor) [23:56:50] erh, dumb question: is it possible to selectively delete a revision in ns6, without destroying the image? [23:57:13] 03siebrand * r30006 10/trunk/phase3/languages/messages/ (5 files): [23:57:13] Localisation updates for core messages from Betawiki [23:57:13] * an: update skin names, special pages aliases [23:57:13] * dsb: update skin names [23:57:13] * hu: update special page aliases, magic words [23:57:14] * lb: update special page aliases [23:57:16] * zea: exporting import from zea.wikipedia.org [23:58:27] !rss [23:58:27] --mwbot-- Feed aggregator extensions: . Feed generator extensions: .