[00:06:09] http://www.freepatentsonline.com/EP1425511.html [00:09:14] i should probably just stay here [00:39:28] 03laner * r28833 10/trunk/extensions/SmoothGallery/SmoothGallery.php: [00:39:28] Added support for gallery sets. This probably still needs work, and I may have introduced bugs into normal galleries. Expect a few changes. [00:39:28] The CSS and/or HTML probably needs to be cleaned up a bit. I'd love to get some help with this, if any CSS/HTML gurus are feeling kind... [00:42:57] how do i disable anonymous users from editing my wiki? [00:44:32] !preventaccess | skorpan [00:44:32] --mwbot-- skorpan : For information on preventing access to your wiki, please see . [00:45:39] hm, could it be true that i'm running mediawiki 1.11? [00:46:15] skorpan, check Special:Version. [00:46:22] it says 1.11 :| [00:46:31] Then you probably are. [00:46:37] what the... [00:46:39] Of course, your distro may have screwed it up somehow. [00:46:52] They tend to like moving around files and such. [00:46:53] 1.11.0 seems to be the only version available in my distro repos [00:47:14] how old is 1.11.0? [00:47:33] 1.11.0 is the latest stable release [00:47:44] oh [00:48:53] *Simetrical points to the topic [00:49:00] 1.12.0 should be released . . . sometime soon, anyway. [00:49:27] do i have to "reload" the settings for them to take effect? [00:49:29] and if so, how? [00:49:34] No. [00:49:41] Changes to LocalSettings.php take effect immediately. [00:49:44] seems that $wgWhitelistEdit = true; did nothing [00:50:12] However, I reiterate that some distros screw stuff up and move files around, we can't be held accountable for that. You might want to download the tarball from www.mediawiki.org and install it manually. [00:50:55] this surely shouldn't have anything to do with files being moved around [00:51:36] Who knows. [00:51:42] Maybe you're editing the wrong place. :) [00:51:56] i edited the main page :P [00:52:04] oh you mean like that [00:52:23] well it was LocalSettings.php which is where i had to edit to get the parser functions working [00:52:24] $wgWhitelistEdit is deprecated IIRC [00:52:43] use $wgGroupPermissions['*']['edit'] = false; instead [00:52:58] but still, i'm using 1.11.0 which is pre-1.4 as the manual says [00:53:17] no it isn't [00:53:29] this is confusing. [00:53:35] 1.11.0 >= 1.4 you say? [00:53:38] yes [00:53:43] consider 1.4 as 1.04 [00:54:12] thanks now it works [00:54:16] still rather confusing :P [00:54:31] It's fairly standard. [00:54:45] Linux 2.6.22 is greater than Linux 2.6.9. [00:54:57] oh... i'm tired. [00:55:14] you're absolutely right [01:06:27] how does the mailing for authentication work? [01:06:43] don't i have to setup smtp and such?= [01:10:20] skorpan, possibly. [01:10:25] I don't know, I never set it up. [01:14:55] look at includes/DefaultSettings.php for some hints about SMTP mode [01:15:56] http://www.mediawiki.org/wiki/Manual:$wgSMTP [01:29:57] how do i upgrade users to sysops? [01:30:36] use Special:Userrights [01:32:55] thanks again [02:27:04] 9M4E9R4R9Y4 C9H4R9I4S9T4M9A4S9! [02:27:54] christmas ended 3½ hours ago [02:28:06] for you [02:28:18] yup [02:28:28] define "ended" :P [02:28:37] you mean, xmas eve is over? [02:30:55] yeah, christmas eve [02:31:09] it's 9:31 PM here [02:31:21] 3:29 AM here [02:45:30] is it possible to allow img tags through editing includes/santizer? [02:50:43] hmm, exactly three minutes [02:57:02] 03aaron * r28834 10/trunk/extensions/CheckUser/cu_changes.pg.sql: update indexes [02:57:15] yeah, that's weird [03:14:58] Hi brion! there is a w3.org link at http://test.wikipedia.org/wiki/Talk:Main_Page the page fails at http://validator.w3.org/check?uri=http%3A%2F%2Ftest.wikipedia.org%2Fwiki%2Ftalk%3AMain_Page%3Fuselang%3Dyi%23top&charset=%28detect+automatically%29&doctype=Inline&group=0 [03:17:29] gangleri: there shouldn't be an
there afaik [03:17:36] did you hack in some broken customized message text or something? [03:17:45] no [03:17:50] moment [03:18:24] well, it doesn't sound very time-critical [03:18:33] put it in bugzilla and when it's not a holiday maybe i'll look [03:20:21] OK; http://test.wikipedia.org/wiki/Talk:Foo_bar is clean also http://test.wikipedia.org/wiki/Main_Page [03:31:07] 03(NEW) w3.org validation fails at test:http://test.wikipedia.org/ wiki/ - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12408 normal; normal; MediaWiki: Page rendering; (gangleri) [03:31:08] 03(mod) Use semantic XHTML (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10467 (10gangleri) [03:32:04] 03(mod) should be in texvc HTML output - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10434 (10gangleri) [03:32:50] 03(mod) MediaWiki allows characters in the U+0080 to U+009F range - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5732 (10gangleri) [03:34:18] 03(mod) anchors with name= but no id= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11710 (10gangleri) [03:44:04] 03(mod) Add section edit link for 0th section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=156 (10N/A) [03:51:55] http://www.datejs.com/2007/11/27/getting-started-with-datejs/ [03:52:01] Date.today().is().friday(); // true|false [03:52:06] *AaronSchulz doubles over [04:04:22] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id= (10gangleri) [04:04:49] ? [04:08:20] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id= (10gangleri) [04:08:34] wikibugs is broken :( [04:08:55] this was an attachment [04:09:11] maybe the bot is not set up properly [04:09:15] perhaps [04:12:17] gangleri: which bug did you edit most recently? [04:12:41] I'm thinking about buying some souls cheap on ebay and then turning around and re-selling them [04:12:41] the world's first soulbroker [04:13:50] moment [04:15:43] MZMcBridge I adden an attachment to http://bugzilla.wikimedia.org/show_bug.cgi?id=4044 [04:16:19] MZMcBridge I adde the attachment http://bugzilla.wikimedia.org/attachment.cgi?id=4466 to http://bugzilla.wikimedia.org/show_bug.cgi?id=4044 [04:16:19] yeah i think wikibugs chokes on special characters in IRC [04:16:32] « [04:16:39] aha [04:17:20] so it is not fully UTF-8 compatible [04:17:36] nope [04:17:54] i don't think IRC in general is UTF-8 compatible [04:18:24] MZMcBridge I am puzzeled why I can not add characters in the range from � to  to a page I did not try all combinations so far [04:19:01] this should work: 4044 BiDi embedding of fields in « special:Recentchanges » [04:19:50] this also Reporter: lɛʁi לערי ריינהארט [04:20:31] brb [04:27:29] back again [04:30:00] MZMcBridge, Skizzerz do you know how the wikifikation is added to MediaZilla ? Justdave granted me a Bugzilla test installation some time (years) ago at http://landfill.bugzilla.org/gangleri/ [04:30:28] I would be happy to be able to use there wikisyntax / wikilinks [04:35:20] i have no idea; try reading the documentation? [04:36:51] ok, let's try this again. is vbwiki in any way connected to mediawiki? or have i hit a dead end? [04:37:33] wirelIce: that is mediawiki [04:37:39] just a mod of it [04:37:45] yeah, google has just confirmed it [04:37:48] wirelIce: what's vbwiki? [04:38:02] vBulletin forum integration of mediawiki apparently [04:38:11] we just installed it on our forum, but we're having problems with templates [04:38:19] they're dumping raw html out [04:38:23] http://wiki.finalgear.com/wiki/Ascari_A10 <-- like so [04:38:25] wirelIce: I'm guessing you copied Template:Infobox Automobile from wikipedia? [04:39:02] !templates | wirelIce [04:39:02] --mwbot-- wirelIce : For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [04:39:03] i honestly don't know... i'll ask [04:39:20] you appear to have ParserFunctions, but I'm guessing you're missing HTML Tidy [04:42:13] yes, we did copy infobox:automobile from wikipedia. this is how _it_ renders: http://wiki.finalgear.com/wiki/Template:Infobox_Automobile [04:42:33] *Skizzerz saw that... but check to see if you've enabled HTML Tidy [04:42:37] Hi, I am the douchebag who cant seem to get anything to work properly. [04:42:45] !ask | Quiky [04:42:45] --mwbot-- Quiky : Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [04:42:51] and here's the guy in charge of our wiki [04:43:09] and everything else, basically [04:43:11] Yeah, I am the moron in charge of the finalgear wiki/total mess. [04:43:11] oh :P [04:43:15] :D [04:43:30] !wg UseTidy [04:43:30] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgUseTidy [04:43:47] Quiky: check out that link, and enable it on your wiki. That's what I'm guessing is messing it all up [04:44:26] *MZMcBride agrees [04:44:38] template issues are usually one of two things, and you have ParserFunctions installed [04:44:53] and i looked at your code, it's Tidy [04:47:23] The config file present in /includes gets copied to extensions..? Sorry, mediawiki is a whole new ballpark for me [04:48:12] just because a file has the same name in different directories does NOT mean that it's the same file, if that's what your question was [04:50:28] by the way, i just fixed that template to no longer have that issue [04:50:41] if you don't want to deal with Tidy, you could simply recopy the template from en.wiki [04:51:02] MZMcBride- Thats what I attempted to do as a test, and that just blew garbage everywhere. [04:51:47] i know; i'm saying if you re-copy the template, it won't fuck-up again :) [04:52:03] well it will a little, but i'll tell you how to fix that [04:52:39] The template on which site was incorrect? [04:53:06] The template on Wikipedia, when copied to your site, was incorrect because Wikipedia has various other features enabled that your site doesn't [04:53:38] features which are not available, or just too many to install? [04:54:06] neither, actually [04:54:09] if you go into localsettings.php and set $wgUseTidy = true; [04:54:12] you should be fine [04:54:27] its just that you haven't enabled the features yet :) [04:54:35] OR, you can re-copy the template from the English Wikipedia and do some other minor stuff [04:54:45] either way works [04:55:34] Hm, says it is active according to the version page [04:55:56] jamasi still away? [04:57:01] Quiky: and now http://wiki.finalgear.com/wiki/Ascari_A10 works [04:57:06] tada :) [04:57:20] BRILLIANT! [04:57:34] *MZMcBride bows [04:57:53] *Skizzerz wonders why Tidy isn't enabled by default... [04:58:12] *MZMcBride wonders why ParserFunctions isn't built into core [04:58:29] that too [04:58:32] Hours of frustrated keyboard pounding versus a /join #mediawiki [04:58:37] :P [04:58:50] well, you know where we are now if you need us :) [04:58:56] Quiky: what do you expect, we're men [04:59:03] screw the manuals and instructions [04:59:15] Skizzerz, it can't be, it's a third-party utility. [04:59:19] *darkcode wonders why Special:Allpages, Special:Categories, Special:Uncategorized* and others aren't merged into a single Special page ;p [04:59:33] The real question is why disabling it screws up the template functionality enwiki relies on everywhere. [04:59:34] I can rebuild an engine and code modules for VB, but this wiki stuff has me beat. [04:59:35] bah [04:59:47] darkcode, because nobody's bothered. I fondly hope to do it someday. [05:00:07] yeah, but ParserFunctions really should be part of core [05:00:13] Maybe. [05:00:14] what would be the point of making them one page, other than being harder to link to? [05:00:18] ya I know, I was chirping in with the other wonders ;p [05:00:18] it's simply annoying as an extension [05:00:41] twincest, not those in particular. But at least Special:Mostlinked* and other groups of that ilk should be compressed. [05:00:50] We have a ludicrous number of special pages by default. [05:01:14] MZMcBride, what it should be as an extension packaged with core, installable with a checkbox option. [05:01:14] thanks for the help, Skizzerz, MZMcBride [05:01:18] merry christmas! [05:01:24] Agreed, thank you all for the help. [05:01:30] yw, and merry xmas [05:01:30] i think a more useful thing to do would be to categorise Special:Specialpages [05:01:35] merry christmas to you too [05:01:50] Simetrical: system config not from LocalSettings? HERESY!!11 [05:02:19] MZMcBride, of course not, don't be silly. I meant a checkbox in config.php when you install. :) [05:02:28] twincest, that too. [05:02:30] ah, ok :) [05:02:32] well I could imagine Special:Allpages being able to filter by namespace with a namespace menu for example, eliminating the need for Special:Categories, and an optional to include only pages which aren't categorized or sorting by most linked to or least linked to [05:02:34] *Simetrical has a bug open somewhere about that [05:02:52] *Skizzerz could make a patch for that... he thinks [05:02:53] isn't categorizing special:specialpages like three lines of code? [05:02:54] darkcode, that merges lots of queries in ways that might be inefficient. [05:02:57] i don't think Special:Categories is the same as the list of pages in NS_CATEGORY [05:03:01] MZMcBride, no, probably a couple dozen. [05:03:04] at least i hope it's not, because that would be wrong [05:03:17] *Simetrical agrees with twincest [05:03:33] for Mostlinked*, you could have columns or a drop-down or something [05:03:44] Yes, exactly. [05:04:10] *Simetrical goes to bed, it's midnight . . . bah. [05:04:26] and officially christmas for EST! [05:06:22] And I get to go to work in the morning. Hooray. [05:06:37] ooh joy [05:06:51] No time to be with family here in Maryland.. :-/ [05:07:00] *qsheets wishes everyone a Merry Christmas... and to all a good night!!!! <(^^,)> [05:07:55] I'm not really suggesting the merging of queries Simetrical, I see it as more as like turning all those into a single special page interface for api.php [05:08:28] where only the information that's wanted is returned [05:10:01] would still be separate queries just one interface for it through a single special page [05:15:57] now wikibugs seems to be broken added http://bugzilla.wikimedia.org/show_bug.cgi?id=12409 unclickable links at a BiDi page when looking at « action=history » with Firefox [05:30:04] how i disable the goofy "Mark all pages visited" button in my watchlist? [05:40:31] *qsheets goes downstairs to steal Santa's milk and cookies [05:57:14] 03(mod) Logs about watched pages should appear in the watchlist and recentchanges - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5546 (10N/A) [06:12:07] the box of useful wiki syntax that is below the edit box what is it called? [06:12:51] [[MediaWiki:Edittools]] [06:13:05] a list of mediawiki messages is available at [[Special:Allmessages]] [06:15:28] Thanks a bunch, a big help [06:18:14] no problem [06:19:43] submitted http://bugzilla.wikimedia.org/show_bug.cgi?id=12410 Documentation about character coding and conversion in MediaWiki [06:35:59] is image magik capable of handling SVG conversions? [06:36:23] you're finding pstoedit or something [06:37:22] !svg | Plasma86 [06:37:22] --mwbot-- Plasma86 : For more information regarding SVGs in MediaWiki, see . [06:38:52] Plasma86: yes, but it's crap, so don't bother [06:38:58] use rsvg [06:43:47] hmm, my issue with using others is I don't know if GoDaddy.com uses another tool or not [06:54:02] if I have no other alternative aside of imagemagick then will I likely want to disable the use of SVG? or does it not lose the gradient any more? [08:12:54] 03vasilievvv * r28835 10/trunk/tools/planet/ (8 files in 8 dirs): Add links to Russian (ru) [08:52:10] Is there any magic word to get the value of the thumbnail width set in user preferences for the crrent user? [08:53:37] Presumably not... [08:53:46] heh [08:53:56] could do an ajax call to a big image and get the width= parameter [08:54:16] I could, but that seams like an incredible waste. :) [08:54:21] I'm gonna end up writing another extension... [08:54:42] Sometimes I wish I wasn't as good at PHP as I am, otherwise I'd just give up. [08:55:27] But hopefully this and that funny bug in the parser will be the last thing to fix. [08:55:50] (I'm not going to fix the bug in the parser - just create a workaround) [09:02:28] Why should we use wfSuppressWarnings() and wfRestoreWarnings() instead of @ ? [09:09:16] VasilievVV: Because @ is evil. [09:09:29] MinuteElectron: why? [09:10:01] Fatal error messages are suppresed so you will never know if something really bad is wrong making it extremely difficult to debug. [09:10:22] It is also bad coding practise as the program should be coded so it doesn't generate errors. [09:10:39] wfSupperessWarnings() do the same [09:10:55] Yeah, but it doesn't use @ so it is good. :) [09:11:24] MinuteElectron: it's ugly [09:11:40] And I'm sure if someone could be bothered to debug the errornous sections of code they could just override them functions to not supress warnings. [09:12:04] That way users don't see erorrs but developers can if they so choose. [09:15:53] VasilievVV: Well, alternatively you could just remove it and fix all the warnings - that way it wouldn't be their :) [09:16:40] MinuteElectron: It's not possible when I e.g. check user's regexes for validity [09:17:23] mmh, fair enough. [10:34:56] 03vasilievvv * r28836 10/trunk/phase3/languages/messages/MessagesEn.php: * (bug 12407) MediaWiki:Comma-separator should be (or ) instead of  [10:45:11] 03siebrand * r28837 10/trunk/phase3/languages/messages/ (15 files): Localisation updates for core messages from Betawiki (2007-12-25 11:35 CET) [11:08:58] hi, how can I delete several articles at once? [11:12:32] !e Nuke | zelula [11:12:32] --mwbot-- http://www.mediawiki.org/wiki/Extension:Nuke [11:15:08] thx m8 [11:27:00] 03siebrand * r28838 10/trunk/extensions/ (46 files in 43 dirs): Localisation updates for extension messages from Betawiki (2007-12-25 11:35 CET) [13:00:20] 03huji * r28839 10/trunk/phase3/languages/messages/MessagesFa.php: Rebuild language [13:18:11] p/w 16 [13:18:52] o_O [13:52:20] I moved my mediawiki to a new server but its just returning a few whitespaces, any idea? [14:04:23] Does anyone know how to omit redirections from being viewed in the Special:Allpages? [14:27:27] i dont suppose it's possible to create an extension which takes one or more article sources, saves them temporarily as text files and then rars the files and offers the visitor to download them? [14:28:24] skorpan: it is [14:29:22] :O [14:29:41] i dont suppose anyone has created such an extension yet? [14:35:24] i guess i should go for the simple stuff first.. is there a way to make a single newline appear as
in the articles? [14:36:41] skorpan: just insert "
" [14:37:48] doesnt work in my case [14:38:01] or rather it works, but i need the source code non-obfuscated [14:40:59] try
 instead
[14:45:07] 	darkcode: i still need the code non-obfuscated
[14:45:45] 	what's that suppose to mean then?
[14:46:23] 	that i may not change the source code whatsoever, no tags, no nothing
[14:49:08] 	anyone know how to omit redirections from being viewed in the Special:Allpages?
[14:50:39] 	zelula, redirects have an special class on allpages
[14:50:54] 	you can put them on italic, another color...
[14:51:14] 	Platonides: how pls?
[14:51:17] 	you could also hide them but then the number of entries would change from page to page
[14:51:48] 	well actually I want to hide redirects, so I wouldnt care about that
[14:51:58] 	how can I hide them?
[14:52:01] 	class allpagesredirect
[14:52:10] 	O_o
[14:52:15] 	:-)
[14:52:30] 	zelula, but if you have a list of 100 items and 86 are redirects
[14:52:39] 	you will only see 14 items
[14:52:50] 	next page you may see 31
[14:52:54] 	no problem at all, thats what I want
[14:52:55] 	next zero...
[14:53:01] 	oh i see
[14:53:07] 	paging will become confusing
[14:53:13] 	:-/
[14:53:39] 	so, what would u do? put them italic or another color?
[14:54:00] 	i'd go for that
[14:54:26] 	ok, but what file do I have to open/modify?
[15:03:09] 	Mediawiki:Common.css
[15:13:45] 	Platonides: thx m8, it worked!
[15:13:48] 	:-)
[15:22:48] 	how do i add a "button" to the top part of the article?
[15:22:55] 	you know, where it says "edit page" etc.
[15:24:33] 	skorpan: "SkinTemplateTabAction" hook
[15:24:54] 	okay
[15:24:56] 	thanks
[15:25:04] 	Er.. It's SkinTemplateTabs hook
[15:25:45] 	i guess i'm in for a real treat if i want to make this stuff work
[15:26:02] 	never even knew php had "pointers"
[15:37:48] 	skorpan you don't have to change the code at all using 
 just include the code inside 
...
tags and it will preserve formatting [15:39:26] there isn't any real way around it to have it on a page, it all comes down to still using
 or 
or some other tag [15:39:43] even if you made an extension to do it, would still be adding them [15:39:56] otherwise it won't be formatted correctly [15:42:36] well i REALLY must not change the source code at all, so i'm better off just leaving it as is [15:54:27] when i'm require_once'ing my extension, for some reason nothing loads [15:54:41] currently it does nothing, i might add [15:54:58] merry christmas! [15:55:01] ;) [15:58:11] use include_once instead if you don't want failures to cause a complete halt [15:58:51] i was thinking i could just fix the bug instead [15:59:09] and using include_once changed nothing [15:59:12] still doesnt load [16:00:58] okay think i fixed it [16:09:09] mediawiki is being stupid [16:09:24] for some reason all my pictures are being displayed as links [16:09:39] does anybody know how to fix that? [16:11:25] Alex_: did you upload them? [16:11:36] course i did [16:11:48] this happened after i updated my wiki [16:15:46] all the pictures are still there [16:16:04] so it should actually work [16:24:58] is there a way to make mediawiki NOT use index.php?etc and just use /wiki/Article [16:25:31] For everything? [16:25:38] yeah [16:25:45] Possibly, but I don't know how offhand. [16:25:53] i have no idea even onhand [16:28:18] i think there's something about it in includes/DefaultSettings.php [16:42:02] you can use aliases and rewrite rules to do it [16:42:11] still uses index.php, but that's how its done [16:42:13] 03greg * r28840 10/trunk/extensions/CheckUser/CheckUser_body.php: Don't use non-standard FORCE INDEX, but call useIndexClause() instead [16:42:31] http://www.mediawiki.org/wiki/Manual:Short_URL [16:45:51] 03greg * r28841 10/trunk/extensions/CheckUser/cu_changes.pg.sql: No sense in storing timestamp in three separate indexes. [16:57:35] What's up with all the checksum mismatch errors when doing an svn up? [18:01:55] 03vasilievvv * r28842 10/trunk/tools/planet/ru/config.ini: * Update Russian planet [18:36:54] domas? [18:48:27] how do i make a loop in mediawiki? [18:48:46] like, {{hello|5}} would print "hello 1, hello 2, hello 3, " up to 5 [18:50:19] ah, loopfunctions extension [18:50:19] nice [19:08:24] heya [19:08:48] any idea why mediawiki would always want to edit "Index.php" since the upgrade to 1.11.0? [19:10:03] a problem with aliases? [19:10:19] how do i allow all articles to start with lowercase letters? [19:10:51] http://www.mediawiki.org/wiki/Apache_configuration#mod_alias [19:11:26] Splarka: it only breaks with $wgArticlePath = "/$1"; [19:11:37] Splarka: with "$wgScript/$1";, it's just fine [19:12:30] danimo: http://www.mediawiki.org/wiki/Manual_talk:Short_URL#Problem_with_http:.2F.2Fwww.mediawiki.org.2Fwiki.2FManual:Short_URL.23Rewrite [19:13:06] Splarka: awesome, tnx [19:13:31] skorpan: http://www.mediawiki.org/wiki/Manual:%24wgCapitalLinks ? [19:16:12] Splarka: yeah, but that results in a redirect loop for normal page names... [19:19:09] null article paths are evil(tm) [19:19:31] [19:27:59] Splarka: hmm? [19:32:09] dan: does it work with $wgArticlePath = "xx/$1"; ? [19:32:43] xx ? [19:32:52] Splarka: I have the wiki installed on / [19:32:57] Splarka: i.e. DocumentRoot [19:33:41] dunno what you need then,sry [19:35:35] ok [19:36:04] Splarka: reverting to "$wgScript/$1"; for the time of being then [19:41:08] enwiki meta-current dump says it completed successfully, but is only ~1.8Gb in size, and fails on extract [19:56:18] jamasi: there? [20:45:54] i'm creating a template like this: {{ #for: {{{2}}} | * [[{{#replace:{{{1}}} | $ | $n$}}|CD $n$]] }} [20:46:21] i'm trying to create a list using a for-loop but even when i add newlines to the end before }}, it will keep showing on the same line [20:46:37] so is there a way to prevent mediawiki from "chomping" the trailing whitespaces? [20:46:56] perhaps there is some html code for a newline? [20:48:34] well HTML works for new lines:
[20:48:47] or for mandatory spaces, can be used [20:49:23] yeah, but remember i'm trying to create a mediawiki list [20:49:34] therefore i cannot separate each list item by
[20:50:01] i tried but that didnt help much [20:50:09] did you try
  • ? [20:50:42] that makes it an HTML list [20:50:50] Is it still so difficult to solve the ampersand problem in short URL's? [20:51:11] skorpan: why does it matter? it's generated dynamically anyway [20:51:23] (since when doe we support #for?) [20:51:28] Duesentrieb: it doesn't look the same [20:51:29] I get nothing than errors. [20:51:40] s000501: depends how well you know apache and rewrite rules [20:51:41] and i know you don't support #for, but i was thinking perhaps someone knew the answer [20:51:48] it's not like i'm yelling at you for not knowing [20:51:49] skorpan: huh? it should. after all, all that * does is: create a
      [20:52:14] s000501: there are some helpful pages on mediawiki.org; did you look there? [20:52:27] yeah sorry forgot about
        [20:52:30] now it works [20:52:31] skorpan: lists can be difficult because of the wikitext --> html parser [20:52:36] thanks Duesentrieb you're a doll [20:53:02] \o/ [20:53:03] a doll!? [20:53:25] hehe [20:53:34] yeah a barbie girl [20:53:37] *Duesentrieb simply insists on interpreting this as a respectful compliment [20:54:04] now i'm gonna try to create a loop which loops through a-z... wish me luck. [20:54:46] "Hi barbie"... "Hi Ken"....!! [20:55:02] you wanna go for a ride? [20:57:29] so now i need a function which translates 1 to a, 2 to b, etc. [20:57:48] think i can do it? do you believe in me? [20:58:27] i think testing code will get you further than chatting on IRC :) [21:00:11] skorpan: tryint to write programs using parser-functions isn't such a great idea. perhaps look into writing extensions. it's simpler. and faster. and more powerful. [21:00:46] yeah, i'm actually just extending StringFunctions with a function [21:00:56] return chr( ord ( $inStr ) + 64); [21:01:00] think that'll work? [21:01:45] what's it supposed to do? [21:02:14] convert 1 to a, 2 to b, etc. up to z [21:02:44] i can tell you now that it didn't [21:02:49] hmm [21:02:56] why not to use an array instead? [21:03:10] why use an array? [21:03:10] even a string! abcdefghijkl.... [21:03:15] why use a string? [21:03:29] this is two function calls and one explicit incrementation [21:04:56] return substr('abcdefghijklmnopqrstuvwxyz', $inputValue, 1) [21:05:15] yes, but why? [21:05:22] should do the same thing basically [21:05:28] why not? [21:05:47] because my code actually works and (probably) runs faster (as if that's the issue) [21:06:08] well, I think it is not faster, but I'm not good at it [21:06:24] I just feel calling chr and ord will take longer than calling substr only [21:06:41] the running time isn't really an issue anyhow [21:06:50] 1 ms vs 2 ms... who cares? [21:06:56] my code still doesn't work :/ [21:07:03] i mean the wikipedia template i'm using [21:07:12] also, logically, the input is numbers (like what my codes does) not "strings" like yours [21:07:24] hey [21:07:37] is there a way to install mediawiki in php <5 ? [21:07:42] under PHP5 [21:07:50] who said my input is a string? [21:08:04] skorpan: $inStr makes me think it is a string [21:08:17] skorpan and ord() too. It is usually used for strings [21:08:22] yeah i copied the variable name from some other function but you're right [21:08:23] it is a string [21:08:29] which is probably why it doesn't work in the first place [21:08:47] then you need to cast it to integer [21:08:56] again I insist that your code is not fine [21:08:58] tried your code, same thing [21:09:07] yes, my code was broken, i agree [21:09:10] ord($inStr) will return the "FIRST" character of the string [21:09:22] so if $inStr = 13 it will return "1" not "13" [21:09:34] my code wouldn't work either if the input is string [21:09:44] you should cast the input to an integer [21:09:53] with (int) $inStr or something [21:10:09] dude relax [21:10:16] i agreed with you like two minutes ago [21:10:31] your code doesn't work either in this case [21:10:35] yeah I got that. I'm happy we are in agreement, from two minutes ago! [21:10:42] so we need to fix my code :) [21:11:00] which may mean, I need to know more about what you're doing, where the input is coming from, etc [21:11:16] and what you're working on [21:11:19] {{ #convstuff: 1 }} should return "a" [21:11:38] i'm a bit sad to see there are no explicit type definitions in this extension [21:11:42] should there not be? [21:12:00] where does #convstuff come from? [21:12:17] http://pastebin.com/d6e3e56ef [21:12:20] aTx I'm not good at it, but I know there is a version for PHP4 [21:12:25] i'm creating a parser function [21:12:30] skorpan: okay [21:13:53] the problem i'm having is that mediawiki never parses the function (or evaluates it) [21:14:01] hold on, i'll show you [21:14:29] http://pastebin.com/d57f1b00b [21:14:32] that's my mediawiki code [21:15:01] {{{2}}} is 2 in this case and {{{1}}} is superbad.unrated.dvdrip.xvid-espise-cd$.srt [21:15:21] so the for loop runs twice, replaces all occurences of $ with the loop variable $n$ [21:15:40] but instead of replacing it with $n$ i need it to replace it with the result from {{#convstuff: $n$}} [21:15:59] that's where the problem comes in, since the for loop doesn't expect a function there [21:16:16] i'm lead to believe that there is no simple solution to this [21:16:58] skorpan: some working code for the function: http://pastebin.com/d593f8a29 [21:17:18] we needed to reduce 1 from the input as string indices start from 0, not 1 [21:17:53] and about convstuff, I think it's a better idea to do it through an extension [21:17:55] yeah but the problem should still remain [21:18:03] and the function IS in an extension [21:18:10] i added it to StringFunctions [21:18:29] hmm [21:18:40] where us the jobqueqe at ? [21:18:42] tried your code and the problem still remains [21:18:51] the function is never evaluated, it expects a plaintext string [21:19:18] hmm, I'm afraid I cannot help you without seeing the whole code (and i'm not an expert in the field too) [21:19:30] yeah i think it's impossible anyhow so... [21:19:32] I have to go now [21:19:35] but thanks for your time [21:19:38] have a nice one [21:19:42] no problem :) [21:19:46] see you later [21:19:49] see you [21:21:55] for those interested, i solved the problem using {{#switch}} [21:33:15] how do i make mediawiki allow lower case article names? [21:33:51] !config [21:33:51] --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 , , [21:34:22] !wg CapitalLinks [21:34:22] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgCapitalLinks [21:34:38] skorpan: see link directly above [21:35:05] thanks mate [21:35:43] now my wiki is coming together nicely [21:38:24] good to hear :) [21:38:28] Вечер добрый [21:40:24] скажите пожалуйста, пакет программ МедиаВики доступен для скачивания только в tar.gzip? [21:40:42] как быть если он мне нужен под виндой? [21:40:51] i agree [21:41:47] somebody speak russian? [21:41:54] or ukrainian? [21:42:06] this is strange MZMcBride ... now the links are shown red and i get straight to the editing page when clicking on them [21:42:21] but when editing the correct source is ther [21:42:35] are the links like [[This]] or [[this]]? [21:42:44] because it will now make a very large difference [21:42:52] [[this]] [21:43:54] if your page title starts with a capital, but the link has a lowercase letter, you're not referring to the same article [21:44:02] (this is why $wgCapitalLinks sucks) [21:44:09] twincest: yeah, but the thing is that i'm referring to it by lowercase! [21:44:24] та ну бля [21:44:30] skorpan: your article has an uppercase name [21:44:37] skorpan: (assuming you created it before enabling that option) [21:44:39] no, it doesn't [21:44:41] and i didn't [21:44:51] show an example [21:45:28] http://78.69.110.161/mediawiki/index.php/superbad.unrated.dvdrip.xvid-espise-cd1.OzZ.www.divxsweden.net.srt [21:45:52] http://78.69.110.161/mediawiki/index.php/Superbad.UNRATED.DVDRip.XviD-ESPiSE [21:45:59] the second link is linking TO the first link [21:46:24] link looks fine to me [21:46:39] uhh, now it oes. [21:46:41] does. [21:46:42] weird. [21:46:50] i did a "hard refresh" like ten times [21:47:01] perhaps it takes a while for the database to update :/ [21:50:18] well &action=purge and bypassing your cache never hurt [21:52:22] tell me please, the MediaWiki exist only .tar.gz? What I can do if I need run MediaWiki in the Windows? [21:52:57] you can untargz in windows too [21:53:15] how?? 0_o [21:53:23] but who wants to run a webserver on windows anywayy? [21:53:45] my teacher :( [21:53:46] Midas: use Winzip or 7zip or winrar or some other unpacking program... [21:54:01] hm.. [21:54:04] i'm pretty sure they *all* support tar/gr [21:54:08] err, gz [21:54:18] nothing wrong with a web server on windows [21:54:30] if it's your preferred platform, there are perfectly capable Windows webservers [21:54:45] like apache :) [21:54:52] sun java system web server ;D [21:55:23] preferably not IIS though, mediawiki seems to break ISAPI compatibility every other release [22:11:18] are there any extensions for mediawiki which format articles differently depending on their namespace? [22:12:05] what do you mean format? [22:13:08] for a certain namespace, say "pretext", i'd like all articles to be formatted as if the
         tag was applied to the text
        [22:13:09] 	skorpan: the body element has a namespace specific css-class assigned. that should be enough
        [22:13:19] 	Duesentrieb: i'll look into that
        [22:13:25] 	(it also has a page-specific class)
        [22:13:43] 	like mediawiki.org uses different background colors for certain namespaces, as an example
        [22:14:21] *qsheets 	is currently having memory problems with mediawiki on hostmonster
        [22:14:40] 	anyone that can help?
        [22:15:00] 	try googling?
        [22:15:47] 	i'm not sure css can do what i want to have done
        [22:15:59] 	never mind
        [22:17:23] 	MZMcBride: no help
        [22:17:43] 	:/
        [22:17:57] 	qsheets: "memory problems" meaning what?
        [22:18:21] 	on Special:Allmessages I get Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 972801 bytes) in /home/adambots/public_html/includes/OutputPage.php on line 681
        [22:19:36] 	qsheets: try increasing the limit. it's set in LocalSettings.php
        [22:19:42] 	the default used to be 20M
        [22:19:47] 	this has become too small lately
        [22:19:55] 	try to crank it up to. oh, 64M
        [22:20:28] 	qsheets: the default line looks like this: ini_set( 'memory_limit', '20M' );
        [22:21:00] 	kk
        [22:21:05] 	qsheets: however, it is possible that you can't raise the limit abovce some global limit imposed by your host. try and see
        [22:21:35] *MZMcBride 	has that issue; damn hosting company...
        [22:22:47] 	Duesentrieb: muchas gracias
        [22:23:22] 	MZMcBride: we know... Web admins love hosting a website themselves
        [22:23:29] 	np
        [22:40:12] 	unfortunately, for the 
         example in particular, CSS is not enough in some cases
        [22:40:29] 	(specifically when tidy is enabled, because it wrongly rewraps the html text)
        [23:52:31] 	03siebrand * r28843 10/trunk/phase3/languages/messages/MessagesDum.php: Set fallback to nl/Dutch