[00:14:24] does transcluding an external site create a local copy or just a symlink to the page? [00:14:46] Transclude an external list? [00:14:48] site* [00:15:21] i guess the first question should be is, is it possible to transclude an external site? [00:16:03] i know i can use the interwiki links to create a link to an external site, but i'd like to pull a copy to my local wiki in the odd case where the external site is down/removed, i still retain a copy [00:17:56] 03(mod) Special:Newpages lacks dedicated CSS classes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8140 +comment (10md5) [00:30:16] Werdna == Andrew Garret? [00:30:26] indeed [00:30:30] good [00:31:58] Werdna: how old are you? [00:35:58] 17. [00:36:05] why do you ask? [00:37:03] 03(mod) New parser function / magic word, for "pretty-printed" numbers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13025 (10Greg_L_at_Wikipedia) [00:37:34] Werdna: ok, I recall it being like 16 or something last time, but wasn't sure [00:38:06] just establishing the ranks here XD [00:39:10] I'm 103, does that make me the boss? [00:40:00] TheDaveRoss: Brion is an immortal, he has been around literally for forever [00:40:10] No because I'm 109 [00:40:10] 03siebrand * r32339 10/trunk/phase3/skins/modern/main.css: Smaller span.subpages [00:40:10] that's why he's in charge [00:40:14] hmm, damn highlanders [00:41:12] ... [00:41:24] Wernda = andrew backwards... lolduh [00:41:37] or an anagram of it anyway [00:41:40] *kirby hides [00:41:45] *AaronSchulz JUST noticed that [00:42:02] *MrZ-man as well [00:43:16] *TheDaveRoss has known it for a long time, has the perspective of age ;) [00:45:55] has anyone seen Skizzerz today? [00:46:02] kirby, it is backwards, you just spelled it wrong. [00:46:26] i blame it on my headache [00:48:38] 03siebrand * r32340 10/trunk/phase3/skins/modern/main.css: Change portlet div.pBody top padding from 1 to 0. Takes less space, better visual grouping [00:48:41] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10Simetrical+wikibugs) [00:53:29] 03(NEW) {{PAEGLENGTH}} template. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13483 15enhancement; normal; MediaWiki: API; (naught101) [00:53:34] 03aaron * r32341 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevsPage.php): Check rcid for new page patrol [00:53:45] Such a template would be useful on many paeges, I'm sure. [00:54:37] {{PAGELENGTH}}? [00:55:19] yeah [00:55:50] any suggestions how I could integrate CVS and bugzilla with wiki? maybe there's a solution out there already [00:55:51] doesn't seem like it would be that difficult [01:10:43] I'd work on the PAGELENGTH magic word, it I knew how to parse the text of an article [01:10:55] Right now, I'm working on a new magic word, CURRENTUSER [01:11:44] you should be able to get the page length from the page table [01:12:04] I think that's what page_len is [01:12:56] Yeah [01:13:07] I was going to use strlen, but the table is better [01:14:09] And I also have to find out why my CURRENTUSER magic word is not working [01:14:37] Soxred93: how would it work? [01:14:49] return $wgUserName; [01:15:02] Won't the output get cached? [01:15:07] yes [01:16:08] that's the usual reaso given for the lack of CURRENTUSER [01:16:09] return $wgUser->getName(); [01:16:14] but there are some open bugs about it [01:16:21] It won't work, it gets cached. You have to disable the parser cache for it to work, which is Evil(TM). [01:16:29] Tim Starling suggested that, if it made subst: mandatory, it might be OK [01:16:41] but that would take more work than just implementing a new magi word [01:16:42] As for {{PAGELENGTH}}, you may as well just use strlen(), it's probably faster than a DB query. [01:16:43] it should be possible to implement things like that with a post-processor [01:16:55] there are lots of things that can't be done because of caching which end up being just a string substitution [01:17:15] carl-m, yes, I suggested that. Just have it be cached, so it's worthless if unsubsted, but still handy for substing. Same as {{CURRENTTIME}}. [01:17:19] flyingparchment, amen! [01:17:28] flyingparchment: there would be conflicts between template names and postprocessor commands? [01:17:36] Wasn't Tim going to make separate caches for the template-expanded version and the final parsed version? [01:17:44] What should happen if I transclude Template:CURRENTUSER ? [01:17:52] carl-m, same as with any magic word . . . [01:17:58] carl-m: only if you make it a dumb substitution [01:18:09] one solution i can think of off hand: store them as (offset, value) pairs [01:18:15] then you know exactly where to insert the content [01:18:22] there are probably better ways, but the point is it can be done [01:18:29] Anyway, if we could cache a version of the page with the preprocessor done, it would be really neat if we could run the rest of the parser live without relying on caching. [01:18:39] flyingparchment: of course, anything can be done with enough motivation [01:19:03] Is there a preprocessor cache? How much does it save for misses on the final parser cache? [01:19:08] *Simetrical looks for Tim [01:19:10] Simetrical: Revision::newFromTitle( $title ) ->getSize() [01:19:32] or would a select query still be better? [01:19:46] I can't believe a select is more efficient than strlen [01:19:57] MrZ-man, what you just typed probably runs a database query. [01:20:05] If you already have the page text available, just do strlen(). [01:20:25] And you have to have the page text available if you're parsing it, unless you're talking about {{PAGELENGTH:Pagename}} type stuff. [01:20:42] true [01:20:55] Then it would fall in the camp of nasty stuff like {{#pageexists:}} or whatever that is, which really should be batched somehow when parsing. [01:21:10] Given that currently it's one query per call, instead of one per page render. [01:21:19] Simetrical: yes, the #ifexists is an ongoing issue [01:21:35] #ifexist ? [01:21:39] Simetrical: have you looked at my patch(es) on https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 ? [01:21:43] Also, if you have a plain {{PAGELENGTH}} magic word, you would also need {{PAGELENGTH:R}} variable [01:21:49] but not too difficult [01:21:55] flyingparchment: yeah [01:22:02] post-parser sounds cool [01:22:11] MrZ-man, if I'm not CC'd to the bug, no. [01:22:23] If you want me to look at stuff, CC me. [01:23:02] its the PAGESINCATEGORY magic word [01:23:02] did anyone already link to [[bug 12733]] [01:23:43] flyingparchment: then again, what about Teh squids? [01:24:03] ESI! [01:24:29] Soxred93: bug 12733 is for a currentuser magic word [01:27:42] *Simetrical thinks of the x86-32 register when he sees "ESI" [01:28:15] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10Simetrical+wikibugs) [01:47:18] Hmm..why are my magic words not working? [01:47:28] MediaWiki keeps thinking that they are templates... [01:47:34] did you add them to the internationalization file [01:47:53] Ah [01:47:56] That's why not [01:48:11] I found that out when I tried to implement one [01:48:31] I forget the exact process, but there is a lot of indirection [01:49:54] Argh...it is still not working [01:52:48] you'll get there. my memory says you have to register it some place, and also add it to the right langauge file [01:54:15] MagicWords.php [01:54:16] I've added the name to MagicWord.php [01:54:29] Added the function to CoreParserFunctions.php [01:54:40] Put the message at MessagesEn.php [01:54:41] Soxred93, find a commit that added a new magic word and copy what it does. [01:54:43] Anything else? [01:55:36] I'm looking at https://bugzilla.wikimedia.org/attachment.cgi?id=4748 [01:58:51] 03yaron * r32342 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: Bug fixes [01:59:17] Soxred93, was that actually committed? If not, why do you think it works? [01:59:41] I'm not, but aren't patches suppoed to be tested? [01:59:44] supposed* [01:59:52] Simetrical: it mostly agrees with my memory of how to do it [02:00:01] I can never remember. [02:00:05] I just look up an actualy commit. [02:00:10] Soxred93, "supposed to be" [02:00:13] I am trying to find one... [02:01:33] Simetrical: if the max pagesincategory count is exceeded, should it return an error message or just do nothing? [02:01:58] MrZ-man, look at how #ifexists is handled. [02:02:20] ifexists seems to be handled in a fairly complicated way [02:05:38] When was the {{#tag:}} extension put in place? [02:05:59] Hello I have a strange problem. I built a wiki about 2 yrs ago and have migrated all the articles to a multilanguage wiki. [02:06:23] But I want to keep the old wiki running,, but on another domain name. [02:06:36] Simetrical: this is what I have so far: http://rafb.net/p/o774Nz45.html [02:07:03] Soxred93, it's not an extension, as far as I know. It was with the new parser in the past few months. [02:07:12] Does anyone know how i should go about this? [02:07:14] bah, ignore the addition of a blank line on top [02:07:20] Yes, that's what I meant [02:07:31] and the echo( [02:11:20] Grr...this is getting the better of me [02:18:45] Simetrical: still around? [02:18:56] Not really. [02:19:15] did you see http://rafb.net/p/o774Nz45.html [02:19:20] I'm CC'd to the bug now, I think, so I'll see any new patches you post there. [02:19:54] I'm mostly out for tonight. [02:19:56] fiexist is also part of an extension, so it works a little differently [02:25:51] 03(mod) Api search returns empty page with MWSearch extension when srsearch=title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13482 15enhancement->major; summary; +comment (10sco_scam) [02:29:23] If I want to move a wiki to a subdomain is it as simple as moving the files into the new domain? I wouldnt think so [02:33:06] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10mrzmanwiki) [02:34:42] Argh. Why isn't my variable getting parsed as a magic word? [02:34:49] all it does is a template! [02:37:21] how do I internal link to a category page w/o the Category page adding the incoming page to it's list of articles in the category? [02:38:08] falieson: [[:Category:Foo]] [02:38:51] MrZ-man awesome! [02:38:53] thanks [02:43:41] Is there anyway that I can save my changes to an article without having to stop editing? and then return to the editor? My session times out when I'm writing a long article. =( [02:44:19] falieson: save the article and edit again, use a text editor? [02:44:34] yeah [02:44:56] I was hoping for an extension that added a "save draft" feature or something along those lines [02:45:09] there may be an extension, not sure [02:45:28] on some wikis they would let you use a temporary page [02:47:32] Yay, I just got {{PAGELENGTH}} to partially work! [02:47:42] Now to make it work cross-namespace, and enable :R [02:48:37] But first, I have to find out how [02:50:09] I don't think the raw will work, due to the nature of it [02:52:25] I think all raw does is remove the commas from long numbers [02:52:43] so 95,541 becomes 95541 [02:53:20] Yeah [02:53:39] But I think due to the nature of it, I doubt it will work, MrZ-Man [02:53:49] I'm concerned about the namespace issue, though [02:53:58] It only works for the mainspace [02:56:14] And my patcher program is not working well [02:56:16] svn: File 'CoreParserFunctions.php' has inconsistent newlines [02:56:16] svn: Inconsistent line ending style [02:59:45] Is there a function to convert a number to a roman numeral? [03:01:37] not really [03:03:05] It can be done with #time, but I wanted to do it with any number. [03:03:18] you can create a template with {{#switch:{{{1|}}}|1=I|2=II|3=III|4=IV|5=V|6=VI|...}} [03:03:40] it would have to be intelligent to know the rules of roman hnumerals [03:03:48] the maximum possible roman number is 3999, but you'd better suit the template for your needs [03:04:28] I just want to convert years. [03:08:14] yeah, then #time does it [03:08:23] 03aaron * r32343 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Shorten message [03:10:20] 03aaron * r32344 10/trunk/phase3/includes/SpecialMergeHistory.php: Remove extra '&' [03:25:12] AaronSchulz: well, I do have a birthday :P [03:25:46] Werdna: you could have been born on February 29 [03:26:05] that would be cool [03:26:11] 03aaron * r32345 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: When viewing a request, blue link the queue list items [03:26:30] I could go onto those teen chatrooms [03:26:36] and people would be all "a/s/l [03:26:51] and I'd be like "4 and a quarter / male / sydney" [03:28:29] *AaronSchulz pulls back slowly [03:29:39] Werdna, I don't think the tax collectors would buy that argument, though. [03:29:45] Or the jury service. [03:30:02] 03(mod) {{PAEGLENGTH}} template. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13483 +comment (10soxred93) [03:30:06] damn [03:30:13] I'd be like 80 before I could vote :( [03:31:23] 72. [03:31:28] And 64 before you could get a work permit, if Australia is like the US. [03:31:57] 64 to get driver's license [03:32:10] mmm.. theobromine [03:32:20] 60 to get permin [03:32:24] permit* [03:32:34] Simetrical: work permit? [03:32:38] what is this nonsense? [03:33:15] Werdna, you must have child labor laws, yes? [03:33:21] 5-year-olds aren't allowed to get jobs? [03:33:24] yes, but the limit is 14 and 9 months. [03:33:37] and it's not a matter of getting a permit [03:33:43] it's a matter of proving your age, if it's in doubt. [03:33:54] Here I think it's more like 16 for most types of work, less for agricultural work, and I'm pretty sure you need a permit if you're under 18. [03:34:05] Not here [03:34:11] (And of course there's no lower limit for actors!) [03:34:15] heh [03:34:18] silly actors [03:34:22] Either way, I need someone to help me with the {{PAGELENGTH}} variable [03:34:48] page length of source code, or expanded? [03:35:08] https://bugzilla.wikimedia.org/show_bug.cgi?id=13483 [03:36:12] That would work only on the actual page? [03:36:33] No, {{PAGELENGTH:Page name}} [03:36:40] The problem is that it only works for the mainspace [03:36:48] why? [03:36:59] Werdna: Do magic words like that need to be limited like #ifexist is? [03:37:16] yes. pagelength is worse than ifexist [03:37:28] but probably won't be abused as much [03:37:35] *Werdna underestimates the ingenuity of fools. [03:37:39] enwiki will find a way [03:37:53] MrZ-man was working on one that queried categorycount I think; same with that? [03:38:06] MZMcBride: yes, I created a new patch with a limit [03:38:14] Ooh, very nice. :) [03:38:27] I didn't do it the same way as ifexist though [03:38:43] There are always users who will abuse some of the most obscure stuff, like #ifexist. >_> [03:38:43] ifexist is an extension and is done very compliatedly [03:38:50] mine is simpler [03:38:59] and is part of core code [03:39:03] Yeah. /me still wants ParserFunctions to be part of core. [03:41:01] https://bugzilla.wikimedia.org/attachment.cgi?id=4750&action=diff [03:41:28] also lets you use PAGESINCAT as a shortcut [03:47:24] That's bad, right? [03:47:24] svn: File 'includes/CoreParserFunctions.php' has inconsistent newlines [03:47:24] svn: Inconsistent line ending style [03:47:30] when trying to svn diff [03:47:55] are your auto-props set? [03:48:02] what are you editing with? [03:48:16] Smultron [03:48:24] on what platform? [03:49:17] Werdna> yes. pagelength is worse than ifexist <-- Should be the same, it can just retrieve page_len. [03:49:35] So a const query is all. [03:49:46] Hmm, okay, this one can't be done from index, but still. [03:49:54] yeah, that was my point. [03:50:22] Mac [03:50:34] Soxred93: mmmm... evil. [03:50:45] are your auto-props set? [03:50:54] Auto-props? [03:51:03] exactly [03:51:09] Hey, Mac is more like Linux than Windows is [03:51:14] It's a Unix, yes. [03:51:18] Damn shame they didn't use X. [03:51:19] read the mw.org page on it. [03:51:27] If they did you could port most stuff back and forth. [03:51:34] ugh, not using X was the best decision they made [03:51:37] As it is you can only port command-line stuff. [03:51:43] nextstep in 1994 had a nicer UI than anything X has today ;) [03:51:50] Simetrical: untrue, it includes an X server [03:51:51] X sucks horribly, but it's a standard! [03:52:05] But most Mac apps don't use it. [03:52:12] In practice I guess you use incompatible widget libraries anyway. [03:52:19] So maybe it makes no difference. [03:52:25] i wonder if they still use DPS [03:52:49] Can you run X on top of their window system cleanly, or do you have to boot it separately or something? [03:53:01] i don't know, i've never actually used a mac [03:53:08] I know stuff like Wine has to be changed to work right with Mac. [03:53:08] Ever [03:53:09] ? [03:53:12] ever [03:53:18] :O [03:53:22] unless you count botting System 7.1 in an emulator once [03:53:34] I had to use it for three weeks last summer. [03:53:50] For some obscure reason the lab of the chair of chemical engineering at Berkeley uses Macs. [03:53:51] but, as far as i can tell, macos x is nextstep with a new look [03:53:55] and nextstep was awesome :) [03:54:38] *Simetrical has read some horror stories about Mac < X, like that they used some crazy inferior version of malloc() and had a fixed-size OS disk cache [03:55:11] (I read them on Wikipedia, of course!) [03:55:21] i used to have a mac-using friend who talked about how its lack of multi-tasking meant if your irc client lost focus for too long, you'd get disconnected from the server [03:55:28] Hahahaha. [03:55:44] I hope they solved that well before OS X. [03:55:56] Was that even true in Windows 3.1? I can't remember. [03:56:08] Windows < 95 was cooperative multitasking, iirc [03:56:17] (so it broke if an application misbehaved) [03:56:21] Yes, that much I remember. [03:57:12] I think I remember my father telling me at the age of, I guess, seven or eight, how Windows 95 supported real multitasking. [03:57:16] He always liked Unix. [03:58:11] Ack, it's midnight. Well past my bedtime. Good night. [03:58:16] hehe. i remember all the reviews of 'Chicago' and how it was so awesome compared to Windows 3.11 [03:59:13] (Whee, I correctly pointed out a flaw in benchmarks by Peter Zaitsev! http://www.mysqlperformanceblog.com/2008/03/21/mysql-file-system-fragmentation-benchmarks/ ) [04:01:40] nn Simetrical [05:45:43] Are there any queries to api.php that are particularly heavy in terms of how much processor time they take on the server? [05:46:03] That's processor time, not bandwidth. [06:13:09] pingveno: wy? [06:14:15] I'm writing some code that uses api.php and I'd rather not run queries that take a good chunk of processor time on the server. [06:15:13] don't worry about it [06:15:51] So there aren't really any queries that take a significant amount of time? [06:15:55] for regular use, unless you're deliberately circumventing or exploiting software features, don't worry about performance. [06:16:00] Performance is our job. [06:16:27] excellent [06:16:38] (I presume you're talking about a wikimedia site?) [06:16:44] Yes indeed [06:17:03] yeah, don't worry about it [06:17:49] Does the regular web interface take a lot more time than any reasonable api.php query could possibly use? [06:18:12] This is purely out of curiousity at this point :) [06:18:28] well, they take about the same, except that you have to do messy, breakage-prone, screen-scraping with the web interface [06:18:34] whereas it's all nice and machine-readable with the api [06:19:22] Sweetness [06:19:50] Speaking of api.php, is there any documentation of the xml format? [06:20:02] well, if you have a bot account you could do some really big API queries, (&limit=5000) but for regular users it should not be a problem [06:20:34] just try various queries, and you'll figure out what the format is [06:20:41] It would be nice to know the whole thing, though :/ [06:20:54] I've been doing the various queries thing, though. [06:26:15] I dunno [06:26:27] of any place you can find that info all in one place [06:30:26] Hmmm, maybe I'll try to put something together [07:18:35] does anyone know how wikisource manages to hide categories that are on subpages? [07:25:08] hello [07:37:26] hello [07:44:53] anyone know what the name of the div is on the top of the page [07:45:07] that has the "page" "discussion" "edit" tabs, etc [07:45:29] p-cactions [07:45:43] not sure it's a div though, those links are a
    [07:45:59] oh [07:46:13] i am just trying to move everything down so it is level with the left column [07:47:29] and p-personal is the one that has your username and preferences and everythign? [07:50:45] ohhhhhk i got it now thx [07:54:05] wikisource is somehow able to hide categories so they don't show on the page, does anyone know how they do this? [08:33:52] 14(INVALID) Conditional statements distort infobox - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13477 +comment (10lejonel) [08:48:03] possibly oft-repeated and possibly silly question, but i've noticed that the wikimedia project sites that have their say, image, content hosted on commons, also have the article data on the original site and it says something like "here is the original as it appears on commons". is that some extension, or template? [08:49:02] that could be in the FAQ [08:49:32] under shared uploads i guess? [08:49:48] yeah [08:49:56] ok, cool. thank you [09:04:12] how can I check downloads agaist the md5 checksum [09:04:17] ? [09:04:59] isn't there a guide for this verification in mediawiki? [09:08:46] sorous1: run md5sum [09:10:03] thanks, toweri. what for windows? [09:10:24] Google for "md5sum windows" [09:10:40] ok [09:10:42] I'm quite sure something will turn up. [09:14:00] 03siebrand * r32346 10/trunk/phase3/languages/messages/ (17 files): Localisation updates for core messages from Betawiki (2008-03-23 10:07 CET) [09:19:25] yes , toweri [09:21:24] 03siebrand * r32347 10/trunk/extensions/ (44 files in 44 dirs): Localisation updates for extension messages from Betawiki (2008-03-23 10:07 CET) [09:55:08] 03(NEW) captcha for admins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13484 15enhancement; normal; Wikimedia: Site requests; (chrisgrantmail) [09:56:43] how can i get all my pages to provide rss feeds like wikipedia does -- extension or ..? [10:10:30] hi there [10:11:36] domas: Would you be happy with a compromise, say a seperate configuration variable that defaults to true? That way new users installations won't have the performance impact of running a hook that most don't need, Wikimedia installations won't need a config update and users who need this functionality can get it -- whoever mentioned miser mode not being suitable for this is probably right (since it would change funct [10:11:47] i get "00:00, 1 January 1970" as the date/time for every edit in my MW installation. i use postgresql. any hint to get it fixed? [10:12:11] btw, i just upgraded to 1.12.0, but the problem exist yet [10:12:18] zwnj: Ask G_SabinoMullane, he maintains it - but that date strikes me as the UNIX epoche. [10:13:18] MinuteElectron: yes, that's the unix epoche. i have another installation (iirc 1.10) on the same machine which uses mysql and is fine [10:14:05] Therefore it's the postgres module that is at fault. [10:18:08] zwnj, may i ask why do you prefer postgreSQL rather than MySQL? [10:22:01] soroush: i wasn't sure when i installed this MW, but i've got a lot of problems with mysql in other projects, i.e. i have triggers that fail to run [10:22:43] I have some more questions about rira too, zwnj, Can I ask them in #persian now? [10:27:02] when you are making a skin [10:27:18] is it proper to edit main.css or are you supposed to do a separate css file? [10:31:29] stanky: you'd better not to change common/main.css but it is usual to edit main.css for your skin [10:37:24] oh ok i see [10:37:32] hi i'm getting problems [10:37:43] wikisprotected_titles does exist [10:37:57] ---> upgraded from 1.11 something to the current version [10:40:35] anyone ? [10:43:37] no idea [10:43:41] did you try googling it [10:45:33] i did stanky [10:45:36] no results [10:57:44] Is there any plans in updateing MediaWiki so one can get some more semantic results from Wikipedia ? For example, right now the short overview of definition (the few introducory lines at the beginning) are part of a simple

    element. This is not usable for data-mining. [10:59:45] Ah, I found a link to semantic-mediawiki.org [11:00:45] <_wooz> lo [11:00:57] lo [11:01:03] re/hi [11:05:27] What is the bug/gluk with mediawiki extentions verion date now ? something like "Cite (version $LastChangedDate$)" ? [11:07:31] hi [11:08:08] Evgen2: it's Subversion keyword [11:08:26] I am having problems displaying formula tags after switching the web server to centos, I believe that it has to do with SELinux [11:08:44] can somebody tell me how to get latex in Mediawiki working with SELinux? [11:08:57] SVN substs them as something like "$LastChangeDate$" to "2007-01-01 01:11:02" [11:17:12] hi [11:17:25] Hello, I've installed the new MediaWiki and reuploaded Parser.php because it prevented the site from showing - Now when trying to edit a section it gives errors (also something Parser.php) - http://edwinm.freehostia.com/ - anyone knows what I should do? [11:17:40] VasilievVV, well, but this keyword is no replaced with real date when I press "download" key at extension's page at mediawiki: not all of mediawiki users is programmers, as well as not all mediawiki users have svn [11:17:52] i have set up my own wiki, i logged in with the wikisysop account, but i cannot find the admin control panel where i could import pages, where do i access these things? [11:18:11] Special:Import [11:18:19] what about admin control panel? [11:18:24] Yeah [11:18:30] at the bottom of Special:Specialpages [11:18:37] We probably should make nightly build service [11:19:40] MnaNaHEreann, thanks! just what i was looking for. [11:19:52] You're welcome - can anyone help me now? [11:20:16] VasilievVV, as well as "stable versions" foe mediawiki+all extensions [11:20:38] foe=for [11:23:54] hi im trying to install the social profile extension, and when i run the install.php from my webbrowser, i got the message: This script must be run from the command line [11:24:27] forget social profile, it's highly alpha [11:24:44] i got it installed and running without problems but it's still clumsy [11:25:12] Piero: you need to run it from a shell, call php install.php, it creates the mysql tables for the extension [11:25:22] or run the queries in phpmysql etc [11:25:44] is it still alpha??? [11:25:59] well, was a few weeks back when i tried it [11:26:12] thats what they're using on armchairGM.com and it seems to be good [11:26:31] 03(NEW) citations incorrectly generated fail to point at valid reference - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13485 normal; normal; Wikimedia: wikibugs; (brian.hunter) [11:27:04] ah the install is just to create the tables [11:27:08] in the db [11:27:10] yes [11:27:18] so if i create them myself it'll work fine then [11:27:27] ok thx [11:31:44] 03(mod) citations incorrectly generated fail to point at valid reference - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13485 +comment (10brian.hunter) [11:32:50] Hello, I've installed the new MediaWiki and reuploaded Parser.php because it prevented the site from showing - Now when trying to edit a section it gives errors (also something Parser.php) - http://edwinm.freehostia.com/ - anyone able to tell me what to do? [11:35:17] weird [11:36:11] Yea, thought so ;| [11:37:27] Nikerabbit: The only change I made in the source code is the footer - but that has nothing to do with this AFAIK [11:39:35] what if you set $wgParserConf['class'] = 'Parser_OldPP'; ? [11:42:05] 03(NEW) SVG renders thumbnail incorrectly with black rectangle overlays; full image is okay - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13486 normal; normal; MediaWiki: Page rendering; (FT2.wiki) [11:42:20] hmm noob question, why does this require_once( "$IP/includes/SpecialRightsideBoxes.php" ); work, and not this require_once( "$IP/extensions/SocialProfile.php" ); ? [11:43:47] hahaha oops sry i found my mistake [11:43:57] Nikerabbit: where I do that? [11:44:46] LocalSettings.php [11:47:39] MinuteElectron, Nikerabbit: solved, thanks [11:47:46] Though no clue what it could have been [11:52:28] piksi are you still there? [11:52:37] Is it possible to delete all .php5 files and only use .php to save space? [11:52:50] or did someone here installed the social profile extension before? [11:53:23] yes i have installed it before [11:53:26] i have an undefined function call wfloadextensionmessages() [11:53:35] in one of the file [11:53:41] did you have that as well? [11:53:52] i created the db tables [11:54:01] and updated the localsettings.php [11:54:23] and now i have Fatal error: Call to undefined function wfloadextensionmessages() in /home/www/projects/sports-wiki.net/sports-wiki.net/extensions/SocialProfile/UserProfile/UserProfile.php on line 90 [11:54:35] yes that's the same i've gotten many times [11:54:39] check the extension talk page [11:54:45] wtf then! :p [11:54:48] you're not the only one. as i said, it's still beta [11:54:51] ok [11:54:54] thx [11:55:09] so i have to install the talk page extension? [11:56:42] Piero: no, there's no such thing. did you follow the installation precisely? [11:56:59] yeah but i think i found the solution [11:57:05] Piero: and have you included the ugly fork of a "patch" to your mediawiki code? [11:57:07] http://www.mediawiki.org/wiki/Manual:%24wgExtensionMessagesFiles [11:57:15] no [11:57:32] well it's required for socialprofile to work properly [11:57:36] http://www.mediawiki.org/wiki/Extension:SocialProfile#Installation [11:57:40] (the ajax patch) [11:58:20] i stopped using the beta version purely because of this. it requires patching mw code with quick hacks. [11:58:25] i'm waiting for the stable [11:59:07] hmm [11:59:18] but i cant really wait! ^^ i'll make it stable! .p [12:01:00] hello [12:01:40] 1.12 shoudl have wfloadextensionmessages [12:02:53] hello, I just installed mediawiki and it's realy slow, but web/db server cpu usage is < 3%. Any idea what might be wrong? Pages load in 10 seconds or so [12:03:10] Nikerabbit: Note, lower case. [12:03:27] MinuteElectron: is the extensions broken then? [12:03:36] No, I just checked - it has been fixed. [12:03:55] MnaNaHEreann: The saving would be less than 10KB. [12:04:05] ? [12:04:26] MnaNaHEreann: There are about 5 .php5 files - deleting them would save you less than 10KB of space. [12:04:27] ooh the question :P - thanks :) [12:04:27] aren't they just symlinks? [12:04:31] It would be a pointless task. [12:04:39] Nikerabbit: No, they are included - symlinks are OS specific. [12:05:02] ah yes, we have the crappy windows (which does have symlinks too) [12:05:03] I have deleted all languages and messages except for En and EnRTF [12:05:26] that saved like 3-4 MB [12:05:33] Nikerabbit: And symlinks don't really work very well in a packaged environment. [12:06:00] MinuteElectron: they work fine in tars :) [12:06:19] :P [12:06:31] MnaNaHEreann: do you have 50MB quota or what? [12:06:36] no [12:06:39] 30GB (A) [12:06:55] Are you kidding. [12:06:59] but the uploading and stuff takes so long '=] [12:07:08] Do you have shell access? [12:07:23] nope [12:07:28] NikkerRabbit: are you sure 1.12 shoudl have wfloadextensionmessages ? [12:07:35] Piero: it should [12:07:43] Piero: But the capitalisation is incorrect. [12:07:51] Piero: Where did you download it from? [12:08:03] what, the social profile? [12:08:06] yes [12:08:14] the one in svn should work [12:08:33] hmm the other programmer who's workin with me installed it, i suppose he got it from svn [12:08:46] ill reinstall it [12:08:50] Ask him to update it, the one in SVN was broken. [12:08:56] ok [12:09:05] MinuteElectron: was? [12:09:50] Nikerabbit: Well, if they got it from subversion original it suggests that at some point it was broken - and the version now in subversion is not broken. [12:10:57] well if that is the case it is very old co [12:10:59] MinuteElectron: However, the wiki I was asking questions about was on a 250MB storage & 5GBtraffic/m & 10MBMySQL [12:11:21] Which should be enough for a wiki right? [12:11:51] yes [12:12:00] depends how big though, but yes it should [12:12:23] Okay - It's now empty :p [12:12:33] :P [12:24:04] MinuteElectron: around? [12:24:14] yeah [12:24:39] hi! I see you'vedone a huge work on http://www.mediawiki.org/wiki/Manual:Database_layout - fancy updating it for 1.13? [12:25:08] sure [12:25:12] seems to miss category and updatelog [12:25:33] cool, thanka :) [12:25:39] hello, I just installed mediawiki and it's realy slow, but web/db server cpu usage is < 3%. Any idea what might be wrong? Pages load in 10 seconds or so [12:25:40] *s [12:25:49] yeah, i haven't been maintaining it really -- not had the time recently, but got a few days of so i'll have a go at some point [12:26:13] maio: what database / cach do you use? [12:26:42] MnaNaHEreann: mysql / no cache [12:27:16] maio: do you use the standard skin monobook? [12:28:06] MnaNaHEreann: yes. it's default instalation (1.12.0) [12:30:03] maio: is it public or private? [12:32:36] Nikerabbit: public but it doesn't have DNS record yet. (195.122.217.20 wiki.somvprahe.sk [12:33:00] MnaNaHEreann: public but it doesn't have DNS record yet. (195.122.217.20 wiki.somvprahe.sk) [12:34:20] I have a basic question about wikimarkup. I wish to insert an edit url into a page. {{PAGENAME}}&action=edit doesn't seem to work. Do I have to use fullurl, or is there a simpler and/or better way? [12:34:59] [{{fullurl:{{PAGENAME}}|action=edit}} text] [12:35:03] maio: That's weird - I don't know how to help you further [12:35:47] MinuteElectron: Thank you. [12:36:36] heya [12:37:01] MimeMagic::detectMimeType: magic mime type of /tmp/php7pdHUA: jpeg <-- getting this is wrong, I should "image/jpeg", right ? [12:40:14] McCormack: make that PAGENAMEE (URL encoded PAGENAME equivalent). [http://www.mediawiki.org/wiki/Help:Variables read more] [12:41:56] Surely fullurl does url encoding for you? [12:42:32] MinuteElectron: hmm, could be. [12:42:35] MnaNaHEreann: oki thanks. btw it's running at http://mwiki.maio.cz/ [12:42:57] fullurle does url encoding :) [12:43:58] maio - or anyone: is it possible that it's slower because of the .php5? [12:44:31] no [12:44:39] For me it toke 20 seconds to load [12:45:07] is it possible to trace it somehow? [12:45:15] /profile [12:45:24] yes [12:45:27] !profiling [12:45:27] --mwbot-- I don't know anything about "profiling". [12:45:30] hmm [12:45:32] one momewnt [12:45:58] http://www.mediawiki.org/wiki/Manual:Configuration_settings#Profiling [12:46:22] nice. i'm gonna try that [12:48:19] Siebrand2: so noted. Thanks. [12:48:38] Siebrand2: or was MinuteElectron right? [12:50:13] http://tools.wikimedia.de/~vvv/mw-nightly/pool/ [12:50:19] MinuteElectron: where does it put that profiling info? [12:50:47] I tried $wgProfileOnly = 1; $wgDebugFunctionEntry = 1; [12:51:21] i don't know [12:51:26] it might be in the html sourc [12:51:30] look near the bottom [12:51:50] haha [12:52:00] got a highlight on $wgProfileOnly :) [12:52:53] maio: i don't know [12:52:56] sorry [12:53:33] oki, thanks anyway. there is only :) i'm gonna try google [13:01:08] 03(ASSIGNED) Api search returns empty page with MWSearch extension when srsearch=title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13482 +comment (10Bryan.TongMinh) [13:02:06] Happy Easter folks! [13:02:57] Is there an extension or technique for total count on whatlinkshere? [13:04:02] MinuteElectron: MnaNaHEreann: in debug output it locks for few seconds on "Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection from wfGetDB" [13:04:25] *Sasoriza waits. Not everybody at once! [13:09:15] hmm anybody an opinion on https://bugzilla.wikimedia.org/show_bug.cgi?id=13482 ? [13:09:28] *Bryan thinks we should raise an error [13:10:38] maio: Is thee database on the same server as your wiki [13:10:48] MinuteElectron: MnaNaHEreann: uhm. it was bad /etc/hosts entry for internal IP address :) [13:11:11] ?:P [13:11:32] Bryan: Or we could fix it instead of worrying about this minor detail :) [13:11:57] I have the fix here ;) [13:12:10] I just don't know what the most logical thing is :P [13:12:10] sql server couldn't find (fast) IP address of web server :) [13:12:31] Bryan: Well, I meant fix the reason there would ever have to be an error [13:12:52] MinuteElectron: well, the server admin could also purposely disable search ... [13:12:58] then also null would be returned [13:13:09] Ahh, ok [13:13:20] I suggest error, silently failing is evil. [13:13:35] With an error a bot owner would know to stop doing the requests. [13:15:41] hmm probably [13:17:01] 03btongminh * r32349 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQuerySearch.php): (bug 13482) Disabled search types handled properly [13:17:27] :P [13:17:51] 03(FIXED) Api search returns empty page with MWSearch extension when srsearch=title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13482 +comment (10Bryan.TongMinh) [13:22:31] *Sasoriza is still waiting. [13:24:10] Sasoriza: You could do an SQL quer. [13:43:24] 03rainman * r32350 10/trunk/phase3/ (4 files in 3 dirs): (log message trimmed) [13:43:24] Search frontend: [13:43:24] * let the backend provide snippets and other info, fill only what is not [13:43:24] provided [13:43:24] * wrap textual results in a div, should make the snippets look more [13:43:25] compact and consistent over hits [13:43:27] * added a did you mean.. container [13:46:02] is there some how-to about how should I structure my wiki? [13:46:22] Is it possible to setup a custom icon (like the external link or mailto icon) for links, either one per namespace or on a per-link basis? [13:46:35] and if so, where should I look? :) [13:51:13] maio i was looking for that too [13:51:25] but i think it depends a lot on what your wiki is about [13:53:56] 03rainman * r32351 10/trunk/extensions/MWSearch/MWSearch.php: [13:53:56] Compatibility with 2.1: [13:53:56] * wgLuceneSearchVersion - backend version to use [13:53:56] * based on version, fetch snippets, suggestion, and other info.. [13:53:56] * TODO: interwiki search, related articles, replacePrefixes regression [13:56:42] 03siebrand * r32352 10/trunk/phase3/maintenance/language/messages.inc: Update for r32350 [13:57:24] *Bryan looks at MWSearch [14:05:45] rainman-sr: could you please think of updating /phase3/maintenance/language/messages.inc when adding new messages? Otherwise they'll end up in a section 'unknown' on rebuild. [14:05:56] who speak german [14:06:12] siebrand, sure, didn't know about that [14:06:25] rainman-sr: np. It's often forgotten/unknown. [14:06:38] wer spricht deutsch ? [14:06:42] *rainman-sr lunch [14:07:16] WikiziA08: just say what you have to say. We may be able to answer your question in German... [14:07:47] sie brand spricht du deutsch ? [14:08:07] WikiziA08: I can read it and speak it a bit. I am Dutch. [14:10:13] wie macht man ein update mit wikimedia ? [14:11:21] WikiziA08: Wikimedia oder MediaWiki? [14:11:50] 03(mod) citations incorrectly generated fail to point at valid reference - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13485 (10raimond.spekking) [14:12:02] WikiziA08: you cannot update the Wikimedia software. That is only done by a small group of developers (brion/TimStarling, and a few others) [14:12:13] !update [14:12:13] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [14:17:58] Special:Whatlinkshere should have a total count as default. I.e., "x number of pages link here". [14:18:24] per ns [14:20:27] Was thinking it should be an extension, but not sure which hook(s) to use, and I'd probably just muck it up [14:24:56] Is it possible to setup a custom icon (like the external link or mailto icon) for links, either one per namespace or on a per-link basis? and if so, where should I look? :) [14:29:27] I'd start looking into the system .css files, but I don't know if there's a different class for links in each namespace [14:29:35] hello [14:30:13] BrokenArrow: I'll have a look at it [14:30:34] hello [14:30:43] anyway, I'm having a problem with the image displaying on my wiki [14:31:18] when you click a thumbnail to go to the Image:whatever page, it is supposed to show a larger version of the image there [14:31:59] the image description page, yes [14:32:04] however, it now starts to load the image (hollow frame shows up in the browser) briefly, then it disappears and turns into a link with the filename [14:32:58] if I click the link it links directly to the imagepath, and works fine, however most of my users won't figure that out, since it's really not very userfriendly to find that link [14:33:04] it used to work fine [14:33:48] I'm thinking it had something to do with me upgrading the wiki software a couple of weeks ago while trying to fix another problem [14:34:00] any idea what could be causing it? [14:34:04] Higdur: public site? [14:34:15] no [14:34:45] but I guess I could put up an excepted page [14:35:42] Higdur: the image which is not showing may actually be a thumb, so if the smaller ones are displaying fine, that's weird [14:36:14] it shouldn't be a thumb, it also lists "no higher resolution avalible" [14:36:48] and the smaller thumbs work fine [14:37:52] so if you upload a rather big image, that needs to be thumbnailed in its description page, that works fine? [14:38:11] yes, I just tried that 2 sec ago [14:38:14] worked fine [14:38:34] only the ones who should display at full size on the description page that doesn't work [14:39:13] had that prob once... can't remember how I fixed it [14:39:29] Sasoriza: shout if you remember :) [14:40:05] If I could get some decent caffeine in my system it'd come back [14:40:21] hehe [14:40:53] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 (10Simetrical+wikibugs) [14:41:32] BrokenArrow: any ideas? [14:42:35] not much, sorry. looks like it's timing out somehow - tried changing yuor browser? [14:43:15] no, but it was reported from another computer [14:43:20] gimme a sec and I'll check [14:43:40] but the image outline disapears as soon as it starts to load, usually just flashes by [14:44:27] so a timeout sounds unlikely [14:45:05] a 404 then? ant strange things in apache logs? [14:45:13] Higdur: Do you have $wgUseImageMagick? [14:45:52] Sasoriza: yes [14:46:16] but that should only affect thumbnails [14:46:22] BrokenArrow: I'll check [14:47:58] $wgUseImageResize = true;? [14:48:36] Sasoriza: the problem only appears for images that are NOT being resized [14:49:55] the ones that show a resized version on the description page works, the ones who should show the full resolution images doesn't [14:52:54] BrokenArrow: different browser have no effect [14:54:10] hm, might have discovered the problem [14:55:03] <[KrusheR]> hi [14:55:08] yup, that's it [14:55:32] the page tries to make a thumbnail of the same size as the image [14:55:49] and image magick returns an error thinking that the dimention is too big [14:56:29] so... how do I avoid it calling thump.php for those images then? :) [14:57:58] Sasoriza: BrokenArrow: any idea? [14:58:19] Higdur: what version of MW is affected? [14:58:33] besides that, one would think that imagemagick could just passthru images if width parameter is equal to actual image wisdth :/ [14:58:44] it did use to work [14:59:13] BrokenArrow: let me check [15:00:05] Version: ImageMagick 6.0.6 02/11/07 Q16 [15:00:46] might be something else though, the error message seem to have been generated in the wiki code, not actually from imagemagick [15:00:53] Error generating thumbnail [15:00:53] Error creating thumbnail: Image was not scaled, is the requested width bigger than the source? [15:01:37] i want to disable image thumnail feature too [15:01:44] but i don't how to do it [15:03:07] Higdur: are you using imagemagick rather than the defauilt gd? [15:04:27] BrokenArrow: yes [15:04:54] though I believe $wgUseImageMagick is set to true by default [15:05:26] Higdur: it is only true if imagemagick is detected during setup [15:05:38] ok [15:05:48] Higdur: otherwise the 2 lines are commented [15:07:54] tried uncommenting $wgUseImageMagick or setting it to false? [15:09:18] a 25k png image becomes to almost 250k when it is thumbnailed, it's too big!!! look here: http://maclife.net/wiki/index.php?title=Image:VMware-Server-UI_Phoenix-BIOS-2.png [15:09:35] hmm, odd [15:09:57] 03rotem * r32353 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [15:10:07] probably from 8 bits -> 24 bits converted [15:10:08] so i really want to turn off the thumbailing feature [15:12:01] the orginal png image is a 24bit one [15:12:14] BrokenArrow: Sasoriza: I tried with imagemagick disabled with no success [15:13:31] what is the name of the page that lists all error messages_ I forgot the path [15:16:33] I'm not sure I understand... [15:17:36] There is a page that you can view in the wiki that lists all messages localized and you can change them from there [15:18:01] thought it might give me an idea where to look if I saw the variable name for the error message I\m getting [15:18:08] so I know what to search for [15:18:17] special:allmessages [15:18:37] but it has only user interface messages, mostly [15:19:10] anyway, what version of mediawiki did you update from/to? and are you in php safe_mode perhaps? [15:21:07] BrokenArrow: I upgraded to 1.11.1 [15:21:30] from 1.9.0rc2 iirc [15:22:27] php safe_mode is off [15:22:47] ok, so this one shouldn't be related: https://bugzilla.wikimedia.org/show_bug.cgi?id=12970 [15:23:14] where are the error messages stored that are generated from thumb.php et.al? [15:25:57] I think they are mostly hardcoded. you can set up a debug log, though [15:26:24] with something like $wgDebugLogFile = "{$IP}/debug.log.txt"; in LocalSettings.php [15:26:51] true, I have that running since before, let me check it [15:27:08] see http://www.mediawiki.org/wiki/How_to_debug_MediaWiki [15:28:27] BitmapHandler::doTransform: creating 720x540 thumbnail at /home/www/integralmana [15:28:27] gement.org/wiki/images/thumb/e/e0/OD-meeting.gif/720px-OD-meeting.gif [15:28:28] BitmapHandler::doTransform: returning unscaled image [15:28:35] that sounds fine to me [15:28:47] no record of any errors in the log [15:29:20] it is supposed to return the unscaled image, but apparently it doesn't [15:33:21] I can\t seem to find where the call to doTransform is made though to continue debugging [15:35:17] 03simetrical * r32354 10/trunk/phase3/includes/Title.php: There's no reason to put the shortcut above wfRunHooks(). If it's an extension that's the problem, fix the extension. [15:40:35] Either I need to go 1.12 or I never should have upgraded to 1.11... didn't have this many problems with 1.9 [15:40:43] Higdur: it's used in 6 different files [15:41:57] BrokenArrow: alright, seems to be from File.php though [15:42:08] File::transform: Doing stat for /home/www/integralmanagement.org/wiki/images/thu [15:42:08] mb/e/e0/OD-meeting.gif/720px-OD-meeting.gif [15:42:09] BitmapHandler::doTransform: creating 720x540 thumbnail at /home/www/integralmana [15:42:09] gement.org/wiki/images/thumb/e/e0/OD-meeting.gif/720px-OD-meeting.gif [15:42:09] BitmapHandler::doTransform: returning unscaled image [15:46:52] Higdur: could it be this one? https://bugzilla.wikimedia.org/show_bug.cgi?id=12719 [15:47:00] see comment #3 by brion [15:47:01] I really don't get where that stupid message is coming from :/ [15:47:03] will do [15:48:57] BrokenArrow: that sounds like my issue, yeah [15:49:18] hi all... question.. what should I look at for i8n character support in mediawiki? I just upgraded from version 11.2 to 12, 11.2 allowed me to use characters such as €, %, etc.. 12 doesnt allow any of thoos including i8n chars. After I save the page goes completely crazy. [15:50:45] I guess I'll upgrade to 1.12 and see if it resolves it [15:50:49] Higdur: that might be fixed in 1.12.0, then. [15:51:20] sounds like it [15:51:22] icebrian: do you have an example? is that in page text or title? [15:51:49] icebrian, all versions of MediaWiki since about 1.5 have full support for UTF-8. [15:52:17] BrokenArrow, can't show you an example since wiki is private and ony acessible through VPN, problems occur in page text (havent tried in title) [15:52:42] exit [15:52:57] Simetrical, I even had these problems with v 1.8 I just lived with it... but now it's a problem since I can't use € or % etc [15:53:35] icebrian, what browser are you using? Are you using a modified skin or otherwise modified software? [15:53:47] Your browser should correctly encode everything as UTF-8. [15:53:52] Wait, you can't use %? [15:54:20] Where can't you use it? It can't be used in URLs, that's not our fault, but you should be able to save it in page names, page text, etc. [15:54:30] That's an ASCII character, there should be no problems with it. [15:54:32] Simetrical, browser Firefox 2.0.0.12, skin is monobook, modified so that there is no background in header... however problems persist even when using default monobook [15:55:17] Simetrical, can't use % in page texts, specifically when creating lists... ie "* list title ** option 1 ** option 2" [15:55:44] Simetrical, list shows up completely scrambled... "*" are removed after save for list options [15:55:55] icebrian, could you give more precise examples of what you input and what shows up in the edit box after you click edit again? [15:56:09] will do... 1 sec please [15:59:11] Simetrical, please check http://pastebin.com/d124ef728 [16:02:53] icebrian, please recopy all files to overwrite any modifications that might have been made to the software, and pastebin LocalSettings.php (minus DB connection info). [16:03:24] Simetrical, will do 1min please [16:06:23] Simetrical, http://pastebin.com/d5f32b90d for LocalSettings.php [16:06:36] Simetrical, going to overwrite existing files with v12 [16:07:25] Very peculiar. [16:07:47] indeed [16:10:38] Simetrical, I just deleted whole directory where I had mediawiki, and untared from original source file... problem persists [16:11:02] Simetrical, I think i'm going to try going through the installation process again.. [16:11:38] It's very strange. [16:11:42] Does it happen with a fresh database? [16:11:54] What are the system specs? OS, web server, etc.? [16:11:58] Simetrical, haven't tried that [16:12:48] BrokenArrow: it's working now after the 1.12 upgrade, thanks for all the help [16:13:00] Higdur: np, enjoy! [16:13:30] Simetrical, Slackware Linux 11, Apache 2.2, MySQL 5.51, PHP 5.2 [16:13:42] MySQL 5.51? [16:13:45] You mean 5.0.51? [16:13:54] Simetrical, yes... hehe [16:19:20] Simetrical, when I run the update script I get 'PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20060613/pspell.so' could this be related ? [16:21:14] Hmm. [16:21:17] Odd. [16:21:33] Check your php.ini . . . it might be a problem there somehow. [16:21:37] I don't have any idea what it could be, though. [16:22:08] Simetrical, one other things... I just tried going through the install procedure again... and I get this: "Fatal: mbstring.func_overload is active! This option causes errors and may corrupt data unpredictably; you cannot install or use MediaWiki unless this option is disabled." [16:22:26] Aha. [16:22:30] That might explain it. :) [16:22:34] Try disabling that in php.ini. [16:22:44] Simetrical, will do .. one sec.. [16:25:30] Simetrical, yay!! that was it! :) [16:25:43] Simetrical, all good now! heheh [16:25:50] Simetrical, thanks for you help! [16:26:22] And to all developers, I congratulate you on an excellent wiki! keep up the good work! :) [16:30:46] Oh, God, mbstring.func_overload is horrible. [16:30:51] *Simetrical just read the description for it [16:30:55] PHP is such a piece-of-crap language. [16:35:21] Ha [16:35:40] "Record data DVD using Windows Media Player" [16:39:11] what's the magic URL to modify the footer? [16:39:15] how do I permenantly delete a user and pages? [16:39:46] icebrian, you don't. Block and, if you want, rename. [16:39:53] Or fiddle with the database, good luck. [16:40:01] Simetrical, guess I wont do that [16:45:23] Or try UserMergeAndDelete extension [16:57:49] 03(mod) captcha for admins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13484 +shell (10raimond.spekking) [17:04:03] 03grondin * r32355 10/trunk/phase3/ (3 files in 2 dirs): [17:04:04] Fix indefined messages in SpecialRevisiondelete.php in lines 687 and 691. [17:04:04] * Adding them into MessagesEn.php and MessagesFr.php files. [17:04:04] * Adding these one into messages.inc, too. [17:04:28] Raymond_, why shell? Is there any configuration option for this? [17:04:47] Simetrical: I thought... isn't it? [17:05:18] Raymond_, if it is it should be set by default in the extension, IMO. [17:05:45] So not shell either way. [17:11:57] 03(NEW) Clicking the [+] has no effect in MediaWiki:Edittools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13487 normal; normal; MediaWiki extensions: CategoryTree; (kozlovsk) [17:12:26] 03(mod) SVG renders thumbnail incorrectly with black rectangle overlays ; full image is okay - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13486 +comment (10FT2.wiki) [17:27:08] 03grondin * r32356 10/trunk/phase3/languages/messages/ (MessagesDa.php MessagesSv.php): [17:27:08] Localisation updates for extensions messages from Betawiki [17:27:08] Adding fallback into sv and da core messages [17:29:57] 03rainman * r32357 10/trunk/phase3/ (6 files in 3 dirs): [17:29:57] Search backend: [17:29:57] * add "all:" prefix that searches all namespaces (port from LuceneSearch) [17:29:57] * added a simplistic replacePrefixes so that now image:something will [17:29:57] always search the image namespace [17:31:41] 03(mod) Disable captcha for admins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13484 summary; +comment (10Simetrical+wikibugs) [17:32:37] 03rainman * r32358 10/trunk/extensions/MWSearch/MWSearch.php: [17:32:37] Add a more elaborate replacePrefixes() that: [17:32:37] 1) replaces localized all: prefixes [17:32:37] 2) puts namespaces into canonical form for lucene-search query parser [17:34:09] Can someone help me with my wiki? It's going wacko [17:34:38] http://jonwiki.xtreemhost.com/wiki/ [17:50:54] 03(mod) SVG renders thumbnail incorrectly with black rectangle overlays ; full image is okay - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13486 (10FT2.wiki) [17:53:13] 03(mod) Disable captcha for account creation by sysops - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13484 -shell ; summary (10raimond.spekking) [17:55:44] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 (10mrzmanwiki) [17:55:54] 03vasilievvv * r32359 10/trunk/phase3/languages/messages/ (MessagesDa.php MessagesSv.php): MediaWiki doesn't support multiple fallbacks [17:58:42] 03rainman * r32360 10/trunk/extensions/MWSearch/MWSearch.php: Cleanup lucene-search query syntax to get highlight terms [18:01:02] "img_auth.php then checks to see if the user has access to that particular file and if so, streams it back. If not, it displays a standard 403 error." - how can i give anons access to media files? [18:06:13] any idea? [18:08:35] 03rainman * r32361 10/trunk/phase3/includes/SearchOracle.php: Pair to r32357, update oracle as well, in case it actually works... [18:29:59] Hello, I'm experimenting with "trans" in the interwiki table but I can't figure out how it works. Does anyone have time to help me out? [18:30:25] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 (10Simetrical+wikibugs) [18:32:55] Hello, I'm experimenting with "trans" in the interwiki table but I can't figure out how it works. Does anyone have time to help me out? [18:40:44] siebrand, ping [18:41:03] Wiredtape: later ;) [18:41:14] siebrand, np :) [18:41:32] Hello, I'm experimenting with "trans" in the interwiki table but I can't figure out how it works. Does anyone have time to help me out? [18:41:59] MnaNaHEreann, is there a problem, or do you just want to learn about it? [18:42:35] Wiredtape: the latter [18:43:06] read about it on the help files on mediawiki.org [18:43:11] well, actually both, as I couldn't find a solution on mediawiki.org [18:43:26] a solution requires a problem :) [18:44:37] Wiredtape: http://edwinm.freehostia.com/ew/Main_Page#Interwiki [18:45:01] I'm trying to use a template from the neighboursite [18:45:18] but with parameter {{{1}}} and without subst: [18:47:57] MnaNaHEreann, hmm, I can only say that you probably didn't turn on scary transclusion on both sites.. [18:48:12] The interwiki is set correctly (at the bottom of http://edwinm.freehostia.com/ew/Special:Interwiki) [18:48:18] it's on on both sites [18:48:46] these work: *11. {{subst:illawiki:DASH|Hello world!}} *12. {{subst:illawiki:DASH|1=Hello world!}} [18:48:52] but did you set scary transclusion to on in localsettings on both of them? [18:49:04] but I don't want to use subst: as the template is subject to change [18:49:10] Yes on both [18:49:24] and they're also in interwikitables on both [18:49:30] hmm.. then i'm sorry but i don't know ... :-\ [18:50:20] I want to use {{illawiki:Template:DASH|Hello world!}} but that doesn't send the "Hello world!" part as parameter {{{1}}} [18:51:08] MnaNaHEreann: That's not physcically possible. [18:52:22] MinuteElectron: then how can it be? [18:52:28] it cannot [18:52:46] So you can use images from other wikis, but not templates? [18:53:04] you can use templates, just not with parameters [18:53:12] hmm [18:53:19] as there is no implemented way to tell the other wiki what the parameters are [18:53:50] with subst: it works :s [18:54:02] k [18:55:10] is there a way to put {{subst:illawiki:DASH|{{{1}}}}} in a template? [18:59:51] 03(mod) Do not SUBST: namespace names (etc.) in user preferences signature. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13480 summary (10bugzilla.wikimedia) [19:04:35] wtf is bug 13480 [19:04:52] User {{ns:1}} is so horribly wrong that I want to explode [19:07:51] !bug 13480 [19:07:51] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=13480 [19:12:25] anyone able to point me in the right direction of how I can include commons images on my private mw installation? [19:13:31] short answer is that you can't [19:13:46] long answer is that you need to fetch them somehow [19:13:51] Werdna: Re: transcluding Image:foo pages into another. nothing in the FAQ about it, at least on mediawiki.org [19:14:07] Nikerabbit: ahh.. :S [19:15:26] !substitution [19:15:26] --mwbot-- I don't know anything about "substitution". You might try: !subst [19:15:30] !subst [19:15:30] --mwbot-- Substitution is automatic conversion of wikitext of a page referring to a templatehttp://meta.wikimedia.org/wiki/Help:Template, variable, or parser function when the referring page is saved. You can read more about it on http://meta.wikimedia.org/wiki/Help:Substitution [19:44:29] I'm still bothering about interwiki transcluding templates with parameters. It works with subst: but not without. The template is subject to change, so how to fix this? [19:44:38] (please don't say it's impossible) [19:51:34] Who can tell me? [19:53:59] anyone of the 188 not being idle and being able to able? [19:54:08] to help?* [19:54:51] clearly not [19:56:26] 03(mod) Do not SUBST: namespace names (etc.) in user preferences signature. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13480 +comment (10minuteelectron) [19:57:10] MinuteElectron: :| [19:58:47] any extension to interwikitrans templates with parameters? [20:01:04] re [20:01:19] i want to create a Template that includes a ... [20:02:05] but the template is parsed after the extension... so gnuplot gets {{foobar|...|...}} [20:02:18] can I somehow change the processing order? [20:02:22] no [20:02:38] really? is there no workaround for this? [20:02:45] nope [20:02:49] other than rewriting the parseR? [20:03:08] you could rewrite the gnuplot extension [20:03:20] carl-m: that's what I thought about [20:04:18] you would have to see if there is a hook in an appropriate place for the extension to use. and if you're coming in after the parser, things might be ugly [20:04:49] i'm no mw expert, but I guess this is how gnuplot registers: [20:04:49] "$wgParser->setHook( "gnuplot", "renderGnuplot" );" [20:04:56] hm... [20:21:30] i could use $wgHooks['OutputPageBeforeHTML'] as it seems... [20:22:11] but i had to find the tags myself then... [20:22:34] rigid: right [20:22:51] you'd have to parse the HTML, which is probably not what the current extension does [20:22:52] that really sucks... why can't parse-hooks determine their priority theirself :( [20:23:58] s/determine/set/ [20:25:39] rigid: does http://www.mediawiki.org/wiki/Extension:TagParser do what you want? [20:27:46] carl-m: hm... looks good [20:33:38] carl-m: i'll give it a try... thanks [20:33:51] good luck [20:56:43] k so i'm trying to install mediawiki [20:56:53] after the config page it gives me an error [20:56:59] Loading class: DatabaseMysql [20:56:59] Fatal error: Class 'DatabaseMysql' not found in /home/bizness/public_html/wiki/config/index.php on line 765 [20:58:09] i tried re-uploading the index.php but still the same [21:02:04] stanky: wich version [21:03:52] 1.12.0rc1 [21:04:35] are you sure you have the php modules for mysql installed? [21:04:58] this seems to be a problem with autoloader [21:05:17] DatabaseMysql is a class from MediaWiki [21:05:21] ah [21:05:34] is there a place where i can find where that is located [21:06:27] DatabaseMysql is in includes/Database.php and the autoloader in includes/AutoLoader.php [21:07:10] ahhhhhhh okay [21:08:00] i think i see the problem [21:09:50] filezilla uploaded Database.php as a blank file :/ [21:10:07] thanks [21:10:18] ow :) [21:15:52] I'm amazed... all the RSS options out there and I need to view the source to find the actual RSS link on many sites [21:18:04] windopain, um, your browser should display a cute little orange icon . . . [21:29:37] 03ialex * r32362 10/trunk/phase3/maintenance/installExtension.php: Fixed some E_STRICT errors. [21:37:32] hey [21:38:00] I used mwdumper to have mediawiki offline but it told me [21:38:01] 11,805 pages (531.685/sec), 11,805 revs (531.685/sec) [21:38:01] ERROR 2006 (HY000) at line 138: MySQL server has gone away [21:38:22] I did java -jar mwdumper.jar --format=sql:1.5 pages_full.xml.bz2 | mysql -u -p [21:38:48] has anyone got any idea how I can use this dump [21:38:49] ? [21:38:53] your mysql server crashed or something similar, look at its logs [21:39:28] letme see flyingparchment [21:39:32] "MySQL server has gone away" is pretty clear, no? [21:39:34] (except that it also gives that message if you kill the query.) [21:40:08] you mean I need to change mysql settings Duesentrieb? [21:40:18] no. [21:40:28] your mysql server _crashed_ [21:40:35] read the _mysql server logs_ [21:42:14] Simetrical: the orange icon.... my browser (Firefox) would add feeds to Feed on Feeds but i changed the site that Feeds on Feeds is hosted at. I haven't figured out how to remove the reader from the browser yet. [21:43:07] @replag [21:43:18] Whoops, wrong channel [21:43:41] Soxred93: hehe [21:43:52] *soroush can't find any log yet [21:44:13] "Play "stump the developers" live on IRC: #mediawiki on irc.freenode.net"? [21:44:42] developers? WHERE!!!! [21:45:03] *AzaTht throws a bone [21:45:04] lol [21:45:21] Stanky, cat [21:45:57] soroush: typical localtions include /var/log/mysql.err and /var/lib/mysql/*.err [21:46:20] or /aux1/sqldata! [21:46:23] (maybe not.) [21:46:34] :P [21:46:39] it's on windows now Duesentrieb and I'm checking me.err and soroush.err but [21:46:43] Duesentrieb: /var/log/mysql.err most probably [21:47:10] AzaTht: on debian yes, i think. originally, the log defaults to the datadir. [21:47:21] iirc [21:47:42] logs in datador? [21:47:46] dir* [21:47:52] makes no sense [21:47:57] the data dir is the usual location [21:48:02] unless you explicitly move them somewhere else [21:48:29] shouldn't datadir be readonly? [21:48:34] uh [21:48:34] AzaTht: i feel the same, but that's how it is :) [21:48:40] how would you store data in it if it's read only? [21:48:48] AzaTht: read only? err, howwould you write to your database then? [21:48:59] flyingparchment: not readonly as in readonly :-P [21:49:13] say what you mean [21:49:15] yes. the log was on data dir Duesentrieb and AzaTht [21:49:33] flyingparchment: isn't datadir like /usr/share? [21:49:45] no, data dir is setting of 'datadir' in my.cnf [21:49:53] i.e. where it stores your database data, logfiles, etc. [21:49:57] aha [21:50:01] AzaTht: thatwould be the location for binaries [21:50:07] ick, no binaries in /usr/share [21:50:09] i.e. the programas such. not the data [21:50:19] /usr/share is meant to be mountable by NFS diskless clients of other architectures [21:50:24] Duesentrieb: I was thinking of the *nix datadir [21:50:25] flyingparchment: err, yea, well, under /usr, anyway [21:50:36] LFH* [21:50:36] /usr/share is for docs, icons etc [21:50:38] but I have an ubuntu and a windows on my system and the data dir is shared between them and both of them poke the folder . moreover i have defined more server names though i have different err files [21:50:52] *soroush tested again [21:50:58] AzaTht: the what? [21:51:05] i think he meant autoconf [21:51:13] it has a subst variable called 'datadir' which is usually /share [21:51:17] Linux Filesystem Hierarchy [21:51:41] AzaTht: yea, but i never encountered anything called "datadir" there. [21:51:58] non of err files change when that error arises Duesentrieb and AzaTht [21:52:09] :') [21:52:15] :'( [21:52:34] AzaTht: i guess flyingparchmentis right then... anyway. [21:52:35] Duesentrieb: I see [21:53:09] soroush: you get that error when the current connection or query is unexpectedly terminated. that often indicates a crash, but may be caused by other things too. [21:53:20] all of tables are MYISM , can it be the problem ! [21:53:20] soroush: for e3xample, something automatcially killing long running queries. [21:53:45] soroush: err, mediawikisets all tables up to be innodb - howwould theycome to be myisamonyour box? [21:54:21] I see . Duesentrieb. Don't you know any other tool except mwdumper, Duesentrieb [21:54:29] Duesentrieb: though, it sounds strange to have the logs in /var/lib/mysql [21:54:33] soroush: anyway - the problem is one that indicates an unexpeted *event* - so it should not be related to the table type. [21:54:48] I have myism tables because i have set it during installation [21:54:53] soroush: the problem is not with mwdumper, it's with your mysql server [21:55:00] using a different program to produce the SQL won't help [21:55:25] there's an option to use myisam in the install dialog? really? [21:55:27] thatmust be new... [21:55:30] you mean I'd better use postgreSQL instead, flyingparchment [21:55:36] Duesentrieb: it is. and it's pretty lame :) [21:55:39] soroush: huh? [21:55:45] soroush: no, you should fix the problem with your mysql server [21:55:48] wikimediaservers use mysql , don't they [21:56:00] Yes. See [[Special:Version]]. [21:56:17] I just install mysql and configure it flyingparchment , as others do the same [21:56:27] soroush: that's nice. [21:56:36] I cannot debut it , flyingparchment [21:56:44] then i guess you can never import the dump [21:57:40] I thought so before I came here flyingparchment, I'm getting sure. I wonder how huge group of mysql users cope with these problems [21:57:55] soroush: by spending time to solve the problem instead of giving up after 5 minutes [21:58:25] ok. thanks, flyingparchment and Duesentrieb [21:58:41] since it's a mysql problem, perhaps you could ask #mysql about it [21:59:02] how about... try again, see if it happensagain in the same spotß [21:59:05] yes flyingparchment .have a talk in mysql after googling the error is a good idea. [21:59:07] perhaps enable some more logging? [21:59:21] try to import a smaller dataset and see if it also triggers the error? [21:59:34] if possible, try to import into another db server and compare results? [21:59:35] etc etc [21:59:56] smaller databases work, Duesentrieb [22:00:22] even I had sep23rd's dump of mediawiki before, Duesentrieb [22:00:53] but the one I'm using is march19th dump Duesentrieb [22:02:11] have you simply tried again? [22:02:43] several times for new db , Duesentrieb [22:02:47] all i can say: the error does not indicate a problem with the data. it indicates a temporary problem with the database connection (which may or may not be caused by the server crashing) [22:03:13] I always got some errors while exporting last dbs but they caused a group of pages to be ignored [22:03:32] so maybe there is something that'll kill very long queries? that would explain the message [22:04:56] moreover I can remember sometimes mediawiki 1.11 could cause apache to crash in a way I had to restart my system(Not only the server) but it was only on winXP and it was ok after updating to linux server , Duesentrieb [22:05:51] I didn't test it much . it caused in a configuration for one of my mediawiki installations while seeing some special pages like recentchanges [22:06:22] if *any* php script can cause apache to crash or even the system to become unstable, that is not really a problem of the php script... [22:07:00] i know, Duesentrieb . [22:07:33] I should restart mysql after changing its configuration for sure. Duesentrieb [22:12:02] *soroush stupid google has indexed pastebins [22:12:25] that's not google's fault, sites that don't want to be indexed should use meta tags or robots.txt [22:15:00] yes. better to say stupid pastebin.ca but the strong usualy get insult ;) [22:15:51] I changed some my.ini configurations to very high numbers and that error stopped. thanks , Duesentrieb and flyingparchment. I should have poked mysql more [22:15:54] :) [22:16:47] I have been able to have 11805 pages out of 11934 [22:17:16] \join #mediawiki [22:18:43] Anyone know if there is an easy way to remove the numbering from the table of contents on a page? [22:18:52] ERROR 1062 (23000) at line 33: Duplicate entry '65192' for key 1 caused some pages not to go to db :( [22:21:40] taylorkegel: .tocnumber { display:none; } [22:22:21] and where might i put that? [22:22:24] taylorkegel: sadly, the numbering in the actual headlines doesn't have its own span and css class :/ [22:22:29] !css | taylorkegel [22:22:29] --mwbot-- taylorkegel: 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 [22:23:02] ah sweet, thanks [22:24:22] now, is there a way to make a particular page load a different css so that only that page does not have the TOC numbering? [22:27:01] !pagecss | taylorkegel [22:27:01] --mwbot-- taylorkegel: http://www.mediawiki.org/wiki/Extension:PageCSS [22:27:18] taylorkegel: the alternative is to define the stylöe globally, but use a per-page selector [22:27:35] (look at the classesgiven on the body element) [22:27:39] most excellent, thanks all [22:39:54] taylorkegel: there's the MagicNoNumberedHeadings and PSINoTocNum.php in extensions svn that do that stuff [22:40:50] (there's probably 4-5 different ways to do it ;) [22:51:28] hello [22:52:22] i made a extension with some tags. nice so far [22:52:27] 03(mod) error with the parser function with CategoryTree - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13028 (10professorminh) [22:53:22] but i also want to make a special page where all uses of my extension are used to calculate some things [22:54:16] so how can i get all occurences and how can they be easily be parsed (arguments are important) [22:58:24] 03(NEW) Log search queries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13488 15enhancement; normal; Wikimedia: Usage Statistics; (Bryan.TongMinh) [23:44:10] hello, how can I make my mediawiki to be on subdomain.domain.com, now it's set to domain.com/mediawiki ..., I've set in cpanel wiki.domain.com to path /mediawiki, and I get url http://wiki.domain.com/mediawiki/index.php?title=Main_Page, and 404 error, when I remove that wiki., and I have http://domain.com/mediawiki/index.php?title=Main_Page, it works ... [23:47:53] mfolnovich: don't do that. putting stuff into the document root is evil. [23:47:59] !cooluris [23:47:59] --mwbot-- Tim Berners-Lee says: Cool URIs don't change! [23:48:12] !shorturl [23:48:12] --mwbot-- To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [23:48:17] !rewriteproblems [23:48:17] --mwbot-- 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root; 4) Use different paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. [23:49:27] well, I have /www/mediawiki, where are all files, and I just want to have url wiki.domain.com ... :) [23:50:13] ok people, tnx for URLs, g2g, cya