[00:12:18] is it possible to change something to allow encoded +'s in pagenames? [00:14:44] make sure '+' is in $wgTitleChars (check spelling on that var name) [00:18:05] found it, wgLegalTitleChars [00:18:54] that's the guy [00:19:05] i thought we added it to the default a couple versions ago tho [00:19:22] 1.8.0 [00:21:08] thanks [00:25:59] 03(mod) API must be accessed through the primary script entry point error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13049 (10brion) [00:31:49] 03(mod) Incorrect config setting on English Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13187 (10brion) [00:33:02] is there a way to have my wiki use a default time zone other than UTC? [00:36:17] !timezone | stiv2k [00:36:17] --mwbot-- stiv2k: For help with configuring timezones in MediaWiki, please consult . [00:36:49] 14(INVALID) querystrings doesn't get passed on interwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13189 +comment (10brion) [00:37:11] brion: i found a bug in WebRequest::getRequestURL(), would you like me to tell you about it? [00:37:31] sure [00:38:09] brion: when action paths are in use, and REQUEST_URI is not available, it generates a broken URL, because the query string already includes 'title' and 'action', but so does the base URL [00:38:23] MrZ-man: thanks [00:38:26] brion: look at the 'special' tab link here for an example: http://wiki.ts.wikimedia.org/view/Special:Version [00:39:41] i don't get it at https://wikitech.leuksman.com/view/Special:Version [00:39:51] you using mod_rewrite or something? [00:40:16] yes (not using apache, but the functionality is equivalent) [00:40:28] it doesn't appear if REQUEST_URI is available, only when it tries to fake it using script_name and query_string [00:41:34] curious. is script_name returning the original or rewritten path? [00:42:01] brion: http://wiki.ts.wikimedia.org/w/test.php [00:42:14] hmm, although that's not rewritten so it does't really help :) [00:42:37] it seems to be returning the original path [00:43:47] but query_string returns the rewritten query_string? [00:43:50] that's damn funky [00:44:08] check if the behavior's different with apache [00:47:04] well, it does't come up on apache because reqest_uri is there [00:49:21] :P [00:55:58] 03brion * r31393 10/trunk/phase3/ (RELEASE-NOTES includes/Parser.php): * (bug 13174) __HIDDENCAT__ now applies only to category pages [00:56:16] 03(mod) HIDDENCAT categorizes images and pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13174 (10brion) [00:56:18] 03(FIXED) "Hidden category" when displayed should be a link - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13183 (10brion) [00:57:47] serious question (not as smarmy as it sounds): does anyone care that wikibits.js is really broken for IE5? [00:58:11] everything is really broken for Windows IE 5 [00:58:14] >_> [00:58:14] are the "blank characters" (some sort of invisible chars) in the output intentional? [00:59:24] dungodung: whose output? [00:59:33] mediawiki output [00:59:37] in the html [00:59:48] do you mean the bidi override characters? [00:59:49] I tried to parse something a few months back [00:59:52] no [00:59:56] then..... no idea [01:00:01] can you detail? [01:00:04] and there were some invisible chars in the weirdest places [01:00:09] mmm, blank [01:00:10] umm, I can try to find them again [01:00:52] dung, try analyzing it with http://test.wikipedia.org/wiki/MediaWiki:Gadget-EvilUnicodeConverter.js maybe [01:01:02] heh [01:01:08] catchy name [01:01:12] that converts most known invisible unicode (that are appropriate for XML markup anyway) to their hex html entitites [01:01:40] what sort of places? [01:02:03] i ask about the bidi overrides because you will see them around variuos places such as list output and parentheses in language names [01:02:24] yes, it was within lists [01:02:28] var ts_image_path = stylepath + "/common/images/"; <-- now why does this break IE5... [01:02:39] bleh, then it must be it [01:03:18] brion: I though the interwiki redirect was a "major feature" [01:03:43] if it's a hack, then yea, it shouldn't be used [01:03:46] those are there so when some crazy rtl thing appears, like a username or a comment or a page title, then the whole line of rc/history/contribs/whatever doesn't go crazy [01:04:04] AzaTht: it's a damn dirty hack so we can write a few links slightly easier [01:04:14] brion: doesn't always work... [01:04:17] but it's evil :D [01:04:32] yeah and it makes my head heart when I desperately try to fix my regexen [01:04:37] *hurt [01:04:51] brion: aint yee all evil? [01:04:53] ツ [01:05:34] brion, see: http://test.wikipedia.org/w/index.php?limit=50&title=Special%3AContributions&contribs=user&target=Splarka&namespace=2&limit=5 [01:05:37] is there a gedit plugin or something that can per'aps show those characters? [01:05:59] Splarka: pot? [01:06:14] and http://test.wikipedia.org/wiki/Special:Recentchanges (before gangleri fills it again( [01:06:19] nice [01:06:19] AzaTht: top backwards. hehe [01:06:32] malformed usernames can do fun stuff [01:06:33] oh, the rtl bug [01:06:37] er, page names [01:06:43] User:%E2%80%AEresu_ladnav_%E2%80%AD%E2%80%AC [01:06:47] *dungodung curses rtl-wise [01:06:53] sesruc [01:07:00] :P [01:07:12] Splarka: check the html [01:07:18] the tags are rlt also [01:07:27] Hello all, running mediawiki 1.11.1 and am wanting to know how to get the "index.php" part out of the URL as you see here: http://www.example.com/index.php/Router-password-recovery [01:07:39] aza: what html? in the user name? [01:07:52] you mean the unicode Bidi? [01:07:52] source of page [01:08:00] well, nothing to do with the source [01:08:06] the source can't mess up the contribs and recent changes ^_^ [01:08:22] :) [01:08:44] Splarka: where is the rtl marker? [01:08:47] dungodung: you just have to be sure to catch U+200E,U+200F and U+202A to E [01:08:53] AzaTht: in the name of the page! [01:08:59] "just" [01:09:14] %E2%80%AE %E2%80%AD %E2%80%AC [01:09:37] Anyone able to assist? [01:09:45] RIGHT-TO-LEFT OVERRIDE (U+202E), LEFT-TO-RIGHT OVERRIDE (U+202D), POP DIRECTIONAL FORMATTING (U+202C) [01:09:53] (I think) [01:10:24] title="User:‮resu ladnav ‭‬" [01:10:54] User:<202e>resu ladnav <202d><202c> [01:11:04] 03brion * r31394 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialEmailuser.php): * (bug 13031) Add links to usepages in e-mail form [01:11:12] well, yes [01:11:17] 03(FIXED) Add links to user pages in e-mail form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13031 summary; +comment (10brion) [01:11:19] I thought you mean the source of the article [01:11:21] i thought we had those forbidden in titles [01:11:23] meh :) [01:11:24] because users can't edit the source of recent changes [01:11:35] but they can control the titles of pages [01:11:36] ok [01:11:37] heh, brion [01:11:46] where is the main index.php file located at [01:11:47] :( [01:12:15]
  • 01:05, 29 February 2008 (hist) (diff a>) User: [01:12:16] <202e>resu ladnav <202d><202c><200e> (top)
  • [01:12:54] aza: what about it? [01:13:17] or whatever page i am loking for to make some css changes [01:13:34] Splarka: why is it an 200e after the link? [01:13:41] Hello all, running mediawiki 1.11.1 and am wanting to know how to get the "index.php" part out of the URL as you see here: http://www.example.com/index.php/Router-password-recovery ????? [01:13:57] Aza: no idea, but it screws it up proper and fun [01:14:13] !shorturl [01:14:13] --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 [01:14:27] Splarka, i have tried that but ti doesnt seem to be doing the trick.. [01:14:48] Unicode Character 'LEFT-TO-RIGHT MARK' (U+200E) [01:15:21] brion: so you have infact something that adds LTR mark if needed? [01:16:06] .. [01:16:09] =/ [01:16:36] AzaTht: buggy buggy, squish it [01:23:16] ok, i go home [01:23:18] see yall [01:24:36] 03(NEW) ParserFunctions #time not working on id.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13191 normal; normal; Wikimedia: General/Unknown; (stanley) [01:31:45] Splarka? you there? [01:32:56] a bit [01:34:02] The short url, its not specific with the howto.. I want to remove the index.php part from the url, you know exactly what needs to be done orr? [01:36:02] should be convered under http://www.mediawiki.org/wiki/Manual:Short_URL#Guide [01:36:26] *Splarka doesn't know beyond that [01:36:43] yeah the guide is very broad [01:37:09] is it? that specific section seems to be for turning index.php into /wiki [01:37:59] the rest of the page is broad, but that section looks specific [01:38:02] yeah i want to remove the index.php so basically you have the http://example.com/article [01:38:32] its all for SEO pretty much.. [01:38:42] there are plenty of examples on mediawiki.org [01:38:45] poke around a bit [02:04:46] 03(mod) & in page titles is not appropriately escaped in various cases - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3243 +comment (10Doodle777) [02:35:15] Whats the best howto for shortening the URLS to example.com/article ??? Im finding it difficult to find one which is good.. [02:35:41] Grant85: none. rewriting articles into the root directory is a bad idea [02:38:55] It helps SEO [02:39:15] Its ok im using the same method as wikipedia now.. im allgood :) [02:40:54] haveing /index.php/article is bad for Search engine optimisation [02:48:12] there are more choices than rewriting into the root directory and using /index.php [03:49:55] rar [03:50:21] mew [03:50:26] rawr [03:50:43] anyone gots Safari or IE6? [03:51:03] I have IE6, don't really use it, but I can if you need a test or something [03:59:53] rerar [04:00:55] another one? [04:00:59] silly niven [04:01:13] MZMcBride: what a giveaway [04:01:23] freenode is stealthy [04:01:51] MZMcBride: Niven is the server you're currently on [04:01:51] you see the split from the POV of your server, it was actually kubrick.freenode.net that split (I know I was on it) [04:02:02] *Splarka knows MZM is on niven now [04:02:17] hmm [04:03:02] so when it says "Nomad-Of-Norad left the chat room. (niven.freenode.net irc.freenode.net)" ... [04:03:11] it doesn't mean niven stopped working? [04:03:24] on other IRC networks it does [04:03:25] but not here [04:03:32] well, that is to say.. [04:03:58] on some networks, the split message is informative, telling you which two servers lost the connection, either from a lost route or local failure at one of the servers [04:04:05] on freenode it is generic [04:04:19] interesting [04:05:17] silly freenode [05:32:49] Hi [05:33:15] I need to call MediaWiki API internally and get results as XML in string variable [05:33:18] no array [05:33:20] any ideas? [05:34:05] hey inez [05:34:26] heja [05:35:11] *Charitwo pokes Splarka [05:35:14] ow! [05:35:19] oh [05:35:21] hi inez [05:35:28] you tried all the format= types? [05:35:38] hi Splarka [05:35:44] I'm calling API internally, from code [05:36:01] yikes, whyfor? is it just easier than accessing the DB? ^_^ [05:36:22] I'm writing sth cool :) [05:36:39] format=txt gives you the array you don't want? [05:37:05] I need XML, exactly that what format=xml is returning [05:37:16] I will probably use ob_clean() and flush [05:37:18] mmmm yummy XML [05:37:21] ahh [05:38:07] I just wrote a horrible bastardization of parsing the revision history to return links to revisions of pages ~3 months apart. <3 the API [05:38:36] 03(mod) Provide combo box containing protection expiration suggestions (as on Special:Blockip) to protection form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10188 (10N/A) [05:38:46] hmm, could you use format=xmlfm and parse the html to return a stringy XML representation? [05:38:58] *Splarka gagged typing that [05:40:07] just strip of <[^>]*> and replace of html entities with their chars... > < " & [05:40:32] or, if you had to, recursively parse the dom and get the node value of all text nodes [05:40:37] it's not solution [05:40:40] when calling internaly [05:40:40] (but I'm thinking in javascript) [05:41:56] *Splarka pokes Werdna [05:48:18] splarka have you seen monaco ? [05:49:38] the country? [05:50:09] Wikia's new skin (to replace quartz) [05:51:54] heh [05:52:28] Splarka: it seems it broke your fast delete script, do know if there's a workaround [05:53:19] ugh [05:53:28] if they fix their JS I could even load their site [05:53:30] *Splarka glares at Inez [05:53:49] ask jsharp to look at it [05:54:03] ;) [05:54:19] Splarka: where is this script? [05:54:28] Inez: http://www.wikia.com/wiki/User:Splarka/tricks#One-click_delete_buttons [06:18:51] how do you remove options from the sidebar in the default style? like the donation option and stuff [06:19:12] !sidebar [06:19:12] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [06:53:42] is there a way to turn the site off and on, maybe in localsettings or somewhere? [06:54:33] you can make it read only [06:54:45] how is that? [06:54:59] !wg ReadOnly [06:54:59] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgReadOnly [06:57:17] thanks, that will do [07:05:31] 03mkroetzsch * r31395 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: trim space around titles (fixes, e.g., problems with leading _ in properties for sorting) [07:40:12] 14(INVALID) Odd things happen at certain pages on these particular Wikipedia pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13188 +comment (10tstarling) [07:45:49] TimStarling: http://en.wikipedia.org/wiki/*foo [07:45:51] odd [07:48:43] 03(FIXED) Wikimediafoundation.org should not show malicious code warning - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13192 (10tstarling) [07:55:23] 03(NEW) Enable subpages on Lithuanian Wiktionary category namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13193 15enhancement; normal; Wikimedia: General/Unknown; (vpovilaitis) [07:57:01] 03(mod) AntiSpoof should return more than one result - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12232 (10Thehelpfulonewiki) [07:57:20] re bug 13188: it's nice that people get freaked out by cache inconsistency [07:57:57] it means that it doesn't happen all the time, right? [07:59:21] if it did, it wouldn't be inconsistent... a cache-22 [08:00:03] *TimStarling groans [08:00:26] lol [08:01:25] *AaronSchulz wonders what is wrong with pages starting with * [08:02:19] Aaron: that is one crazy Noarticletext... [08:10:58] AaronSchulz: it seems to be the magic wordies [08:11:35] in pagelinks... [08:12:13] http://test.wikipedia.org/wiki/Fff vs http://test.wikipedia.org/wiki/** [08:16:59] Can I make MediaWiki automatically watermark uploaded pictures? [08:17:15] AaronSchulz: you can fix it by changing all the {{FULLPAGENAME}} {{PAGENAME}} and {{SUBPAGENAME}} to NAMEE}} [08:17:20] inside links anyway [08:23:18] 03mkroetzsch * r31396 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_Factbox.php SMW_GlobalFunctions.php SMW_Hooks.php): Enable magic words __NOFACTBOX__ and __SHOWFACTBOX__ to control factbox display for individual pages [08:51:44] <_wooz> lo [08:55:39] 03tstarling * r31397 10/trunk/extensions/ParserFunctions/ParserFunctions.i18n.magic.php: Fixed bug 13191, typo in Indonesian translation [08:57:41] 03(FIXED) ParserFunctions #time not working on id.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13191 +comment (10tstarling) [08:57:47] Is the sysop the first user created? Or is it something else? [09:03:24] hesco: sysop is a user group. the initial user is in that group (and in the beureaucrat group, which is able to make other users sysops) [09:04:00] !rights | hesco [09:04:00] --mwbot-- hesco: For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [09:04:43] thanks. I'm trying to lock down a new wiki so anonymous users only see my login page and vetted users, approved by me get to see and edit the content. [09:06:12] 03(mod) Namespace Request for trwikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13176 (10serhat.er.95) [09:07:13] Is there a simple way to feed the wiki a list of names and email addresses for new users and have it automatically create the necessary user accounts, generating random passwords and mail them to the users? [09:07:16] hesco: folow the links, then [09:07:27] Or do I have to do this manually, one at a time? [09:08:26] I think I'm getting close, but was haviong trouble creating a new account because I was misspelling WikiSysop, by capitalizing the 'O'. [09:09:15] there' [09:09:26] there's an extension for renaming user [09:09:43] what about one for importing a list of users? [09:09:46] and... i don't know about mass-creating users. it wouldn't be very hard to do, but i don't know if anyone did [09:10:09] you can, however, authenticate agaionst some other user db. [09:10:14] !auth [09:10:14] --mwbot-- http://www.mediawiki.org/wiki/AuthPlugin [09:10:22] you could probably bastardize one of the maintnence scripts to do it [09:10:27] like createAndPromote [09:10:32] ok. I only have about two dozen to start with. Not enough to start digging into the code. [09:11:00] well, perhaps then I could dig into the code, if its nearly written anyway . . . [09:11:25] createAndPromote creates a user and makes it a sysop [09:11:43] (it's meant mainly for the case that you lost access to your "master" account) [09:12:00] you can probably make it create a bunch of users from a list and generate random passwords. [09:12:11] mailing them out could be done using the UserMailer class [09:12:46] actually, you can probably abuse the "mail me a new pw i forgot mine" feature, if you find an entry point to that [09:14:43] i think it would be a good idea to not fill in the initial user account name as 'WikiSysop' in the installer [09:14:52] people seem to think that account has some special significance because of it [09:15:16] yes, perhaps the field should be blank. [09:15:36] but then, i tend to have WikiSysop as the 'crat, and use another account with regular sysop rights normally. [09:17:48] why? [09:25:09] OverlordQ: I am text-chatting with someone at my hosting service about the wikipedia problem I was describing earlier. [09:25:41] ah [09:25:54] i'm guessing it has to do with rewrites, but I could be 100% wrong [09:26:50] He has followed the link I gave him (to http://www.joshua-wopr.com/wiki/index.php/Main_Page ) and askes me "Please let me know where exactly toy wish to redirect the URL http://www.joshua-wopr.com/wiki/index.php/Main_Page" [09:27:25] that doesn't sound like a wikipedia problem [09:27:32] Of course, I've told him that there is no physical page I can redirect that to, that wiki generated all the pages on the fly. [09:27:36] shouldn't redirect anywhere [09:29:28] Is there any kind of action I should be telling him to scan for? [09:30:02] it's a fresh install of MW right? You havent done anything to it? [09:30:23] It's an older install from months and months ago, that worked fine a few days ago... [09:30:38] Actually, I think it's been there a year or two, in fact. [09:30:51] ah, bu tyou havent made any changes? [09:31:03] I've got oodleyskads of articles created on it. [09:31:06] *OverlordQ is still sticking to rewrite problem [09:31:16] Nope, haven't made any changes to the wiki settup. [09:33:13] Can you describe this "rewrite issue" in a way I can relay to him? [09:33:25] mod_rewrite [09:34:05] Oh. Thought you meant something that the host service software was doing that was overwriting or overriding something the wiki software was trying to do. [09:37:08] When you say you're guessing it has to do with rewrites... what do you mean by rewrites. "rewrites" = "the SQL server is rewriting something somewhere that breaks wiki"? "rewrites" = "some other program unrelated to the wiki is overwriting something that stops the wiki from working"? [09:37:48] "rewrites" = "a mod internal to the wiki software has spontaneously changed on its own"? [09:39:01] the mod_rewrite apache module seems to be trying to rewrite an url to itself and gets stuck in a loop [09:39:48] They've been trying to transition the webspaces of older accounts over to a new set of servers with a newer version of vDeck (the front end for domain owners to manage their web account) [09:41:34] However, the problem here occured before my account had been moved to the new system. I dunno, maybe it was brought about because of them starting to move me there... [09:43:49] Is "mod_rewrite apache module" a module that's part of apache, or is it a module that's part of wiki but that interacts with apache? [09:44:16] NomadOfNorad: it's an apache plugin that is often used in conjunction with mediawiki [09:44:19] to make "pretty urls" [09:44:26] !shurturls [09:44:26] --mwbot-- I don't know anything about "shurturls". [09:44:29] bah [09:44:32] !shorturls [09:44:32] --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 [09:44:41] see also this: [09:44:44] !rewriteproblems [09:44:44] --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. [09:46:17] NomadOfNorad: maybe give that link to the hosting person. it should helo hin to know what to do. [09:46:55] NomadOfNorad: otoh, i donÄt know exactly what your problem is - maybe you don't want short urls, and don't need any rewrites/redirects. in that case, just make sure your script path and article path are set rioght [09:47:05] www.mediawiki.org/wiki/Manual:Short_URL you mean? [09:47:41] as an entry point, maybe. but i as refering specifically to http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access [09:47:46] Is there a web-based system that can be used to access this channel? [09:48:01] there are irc relays, sure [09:48:04] ircatwork is one [09:48:25] I need to give him a complete URL that will take him directly here. [09:48:27] but a hosting tech *should* be able to use an IRC client :P [09:48:35] there is no such url. [09:48:36] heh [09:49:24] NomadOfNorad: you can *try* a url like this: irc://irc.freenode.net/mediawiki [09:49:41] NomadOfNorad: if that wors very much depends on the browser and system setup. "irc:" is a pseudo-protocol. [09:49:52] (kind of like "mailto:") [09:50:39] NomadOfNorad: http://chat.wikizine.org/cgi-bin/cgiirc/irc.cgi should still point here [09:50:54] he has to pick #mediawiki from the list though [09:51:07] NomadOfNorad: anyway, the most important thing for us (and him) to know is: what exactly is your problem? [09:52:25] Duesentrieb: http://www.joshua-wopr.com/wiki/index.php/Main_Page [09:52:30] keeps trying to redirect to itself [09:52:58] till it hits (im assuming) the rewrite limit and bails out [09:52:59] OverlordQ: what's your wgScriptPath and your wgArticlePath? [09:53:13] I'm assuming the tech should be able to do something that lets him observe from "under the hood" what is going on inside the webserver... or am I assuming too much? [09:53:16] NomadOfNorad's site, but it's defaults [09:53:27] OverlordQ: sorry :P [09:53:38] OverlordQ: there's no default for wgScriptPath [09:54:08] NomadOfNorad: err. he can see a redirection loop. so can we. [09:54:19] Okay, $wgScriptPath = "/wiki": [09:54:21] NomadOfNorad: he can not see the reason without looking into wiki code. [09:54:38] and wgArticlePath? [09:54:40] But would he be able to analyze better what's generating the redirection loop? [09:54:45] my guess is that the problem is host name detection [09:54:52] $wgArticlePath = "$wgScript/$1"; [09:54:52] NomadOfNorad: unlikely [09:55:06] NomadOfNorad: unless it is indeed NOT cause by mediawiki, but by somethin in their server setup [09:55:21] OverlordQ: ok that's all good then [09:55:42] What at their server settup COULD be causing something like that, that is outside of the mediawiki itself? [09:56:13] NomadOfNorad: set $wgServerName = "www.joshua-wopr.com"; and $wgServer = "http://$wgServerName"; [09:56:19] do you have any redirects setup though vPanelBoxMajigger? [09:56:56] OverlordQ: Eh? Do I what? [09:57:17] Is vPanelBoxMajigger a setting inside one of the wiki php files? [09:57:45] NomadOfNorad: no one here has any clue about vPanelBoxMajigger (i hope). [09:57:48] no, in vDeck i thought I saw option about redirects [09:57:58] NomadOfNorad: it's a mediawiki setting. to be set in LocalSettings.php [09:58:08] just below where wgScriptPath and wgArticlePath are set# [09:58:33] http://vdeck.com/help/index.php?id=71 [09:58:46] Hi All! [09:59:01] 03(mod) index.php does not honor the variant param with action=raw - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12683 (10jhecking) [09:59:04] tis why I despise control panels :) Never really know what they're doing [10:00:04] Duesentrieb: In index.php ? [10:00:17] Or in LocalSettings.php ? [10:00:25] I install my wiki with Bulgarian interface, but some strings are in English. All vars are translated [10:00:27] NomadOfNorad: no. in LocalSettings.php. please read what i say. [10:00:34] anybody can help me? [10:00:37] !config | NomadOfNorad [10:00:37] --mwbot-- NomadOfNorad: 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 , , [10:01:02] iobug: what do you mean by "all vars are translated"? [10:01:17] all string to translate [10:01:18] iobug: it may be that some messages are missing from the bulgarian interface translation. [10:01:28] no no [10:01:55] this is my first check [10:02:16] when change to spanish - all is translated, but in bulgarian - no [10:02:26] hm? [10:02:36] same problem is when user receive e-mail for changes [10:02:38] well, maybe the spanish translation is complete, but the bulgarian is not? [10:02:53] please look at Special:Allmessages [10:02:56] Bulgarian is complete too [10:02:58]  NomadOfNorad: set $wgServerName = "www.joshua-wopr.com"; and $wgServer = "http://$wgServerName";  <--- it's already set to that. [10:03:07] a movie starring bill murray comes to mind [10:03:31] iobug: then i have no idea, sorrs [10:03:44] Oh, wait, I've got $wgServer = "http://www.joshua-wopr.com"; [10:04:07] NomadOfNorad: THAT AMOUNTS TO THE SAME [10:04:14] err, sorry, capslock [10:04:21] NomadOfNorad: try without the www [10:05:09] As in, change it to read $wgServer = "http://joshua-wopr.com" ; ? [10:06:24] Duesentrieb: hmm what mean when for one message (in left) have two rows in right? some are one row in bg one in en, sometime both are in bg (bg - bulgarian) [10:06:35] may be this is problem [10:06:36] ?! [10:07:19] iobug: one row is the default, as taken from the files, the other is your local customization, taken from the MediaWiki namespace. [10:07:30] in MessagesBg.php have not english strings [10:07:31] iobug: if this is a problem depends on which row is english. [10:07:51] iobug: no, but all strings missing from MessagesBg.php will be taken from the english messages file. [10:08:09] also, if you (for whatever reason) have english custom messages in your database, then they will be used. [10:08:21] iobug: what's the url of your wiki? [10:08:45] http://mandriva.cointech.net/wiki21/ [10:08:56] NomadOfNorad: yes, change it to "http://joshua-wopr.com" and "joshua-wopr.com" respectively. [10:09:16] same problem is with any older version (wiki 21 is with latest) [10:11:07] Yea the accountcreated is being overridden with the english translations, same with some of the othe rlines [10:11:47] iobug: for some reason you have english local custom messages. for example http://mandriva.cointech.net/wiki21/index.php/%D0%9C%D05%D04%D08%D1%8F%D0%A3%D08%D0A%D08:Accountcreated [10:11:52] iobug: simply delete them [10:12:08] where to delete them? [10:12:27] iobug: look at Special:Allmessages - if you have two rowsat the right, and the lower (green) one is english, delete that message page (or replace with whatever text you like) [10:12:39] iobug: it's a wiki page. click the delete tab. [10:13:11] ahhh.. ok, I will try, thank you [10:21:32] Duesentrieb: So, I should set $wgServerName = "joshua-wopr.com"; and $wgServer = "http://joshua-wopr.com"; I take it? [10:21:45] yep [10:21:53] (this is just a hunch. try it) [10:25:12] Okay, I have implanted the changed LocalSettings file, and am trying to page agaon [10:25:37] I'm still getting "The page isn't redirecting properly" [10:27:05] although now it's showing up as http://joshua-wopr.com/wiki/index.php/Main_Page (that is, the www part is gone) [10:27:41] So, I guess that didn't change anything significant [10:29:03] DOH! [10:29:07] NomadOfNorad: http://joshua-wopr.com/wiki/index.php?title=Main_Page [10:29:13] Should I go back to the previous LocalSettings.php file? [10:29:28] go back to the version with www, if that is the domain name you prefer. [10:29:37] i see what the problem is, i think [10:29:50] PATH_INFO doesn't work on your host [10:29:54] or doesn't work right, anyway. [10:29:57] That works... [10:30:12] so, using index.php/foo style urls does not work. [10:30:42] this is sometimes (always?) the case when using php as a cgi module (instead of mod_php) [10:32:16] NomadOfNorad: set $wgArticlePath = "$wgScript?title=$1"; and set $wgUsePathInfo = false; [10:32:22] Okay, I've put the old version back [10:32:29] NomadOfNorad: alternatively, ask your hosting people to fix php's PATH_INFO [10:32:37] Er... okay.... [10:33:37] with the settings i gave you, you will get "ugly" urls. you can use the rewrite sheme i gave you earlier to fix that. however, you will not be able to use the exact same url scheme you used before ()the one with index.php/Bla) [10:35:06] from the comments for $wgUsePathInfo:# [10:35:07] hi all. is there a file which specifies translation of markup used in wikipedia (like en:Image <-> de:Bild) [10:35:08] * The default $wgArticlePath will be set based on [10:35:08] * this value at runtime, but if you have customized [10:35:08] * it, having this incorrectly set to true can [10:35:09] * cause redirect loops when "pretty URLs" are used. [10:35:14] so, that's what happened [10:35:24] or a wikipedia article i am not aware of.. [10:35:28] And what would the need to do to "fix php's PATH_INFO"? [10:35:51] i urgently need this for a wikipedia API i am writing and which i want to be multilingual.. [10:35:56] babilen: namespace transaltions are in the i18n files. not sure if that can be changed on-wiki. probably not. [10:36:40] babilen: the most reliable way to get the namespace names for a given project is to as Special:Export for a non-existing page. it lists all namespaces in the header [10:36:50] NomadOfNorad: i have no clue. [10:37:17] NomadOfNorad: it's a php/apache config/setup issue. but i don't know the details. it also depends on wether they use php as cgi or not [10:37:32] Duesentrieb: i just need the translations... i am working on the wikipedia database dumps. [10:37:45] babilen: xml dumps? [10:37:59] 03(FIXED) Feature Request: Visibility Parameter for Categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3524 +comment (10mormegil) [10:38:30] Duesentrieb: yes, the xml dumps and some other files... [10:39:03] babilen: look at the very start of the xml file. it has a section. [10:39:38] Duesentrieb: have written an API to deal with wikipedia articles which uses the english markup for disambiguation pages, image pages, ... and want it to be multilingual.. so i need the translation [10:39:59] and i just told you where to find it. [10:40:09] for namespaces, anyway [10:40:20] translations of, for example, #REDIRECT, is only in the language file. [10:40:41] and stuff like {{disambig}} is not specified anywhere. it's simply a template used by that community by convention. [10:40:45] which is can find in the mediawiki source code i18n files, correct? [10:41:24] the translated names of *default* namespaces, and magic words like REDIRECT, are in the i18n files, yes [10:41:29] Duesentrieb: ok, so regarding templates i am out of luck and need to manually construct a list of translations for all 250+ languages in wikipedia? [10:41:31] stuff like {{disambig}} isn't. [10:41:31] I don't seem to HAVE a line $wgUsePathIngo = false ; can that just go in anywher in there? [10:41:40] babilen: yes. [10:42:13] NomadOfNorad: pretty much anywhere. put it below the wgServer stuff. [10:42:17] Duesentrieb: too bad. do you know if there is a page in wikipedia which lists these translations? [10:42:49] babilen: http://en.wikipedia.org/wiki/Template%3ADisambig - look at the interlangugae-links [10:43:14] babilen: note, hwoever, that some projects have more than one disambig template [10:44:43] 03grondin * r31398 10/trunk/extensions/ (4 files in 4 dirs): Update french extensions messages [10:44:52] Duesentrieb: this will drive me nuts, why did wikipedia choose to translate markup and did not specify it anywhere? [10:45:18] babilen: templates are not markup. [10:47:10] they did translate certain markup, like magic words (which are aliased), those can be found in MessagesBg.php [10:47:57] Splarka: are magic word tralsations customizable on-wiki? namesapce names arn't, right? [10:48:09] they aren't [10:48:11] only per-language [10:48:27] in that way, "Wikipedia did choose" to translate a very small amount of markup [10:48:29] sorta ^_^ [10:48:41] but the original english still works in most cases [10:49:19] things like #REDIRECT: or subst: or {{ns:}} [10:49:29] BTW, while I'm at it... I've got $wgSitename = "IntrepidGroupWiki"; can I set that to have spaces in it? i.e. set "$wgSitename = "Intrepid Group wiki"; ? [10:50:19] NomadOfNorad: probably. but keep in mind that changin that changes the name of your project namespace. if you have pages there, all links to them will break. [10:50:23] You can, but be aware it will also show up as yor Project: namespace [10:50:25] heh [10:50:30] *Splarka punches Duesentrieb [10:50:34] http://www.mediawiki.org/wiki/Manual:$wgSitename http://www.mediawiki.org/wiki/Manual:%24wgMetaNamespace [10:50:41] NomadOfNorad: i'm not quite sure if sitename should contain spaces or underscores... try it i guess [10:50:52] spaces are fine [10:50:56] just a bit ugly [10:51:20] NomadOfNorad: alternately you can modify MediaWiki:Pagetitle which determines the [10:51:38] <Splarka> (it calls {{SITENAME}} which is defined by $wgSitename) [10:53:57] <wikibugs> 03(mod) index.php does not honor the variant param with action=raw - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12683 (10hippytrail) [10:57:14] <Splarka> action=plaintext ^_^ [10:57:34] <babilen> ok, i guess the language files will serve my needs so far... [10:57:42] <Splarka> post-parsed with all markup removed and nicely wrapped [10:57:48] <babilen> thanks!! [10:59:55] <NomadOfNorad> How would I determine if I have pages in my project namespace? [11:00:16] <Splarka> Special:Prefixindex/Project: [11:00:31] <NomadOfNorad> Is that something that's internal to mediawiki? Or is that meraly a directory that I can store stuff? [11:01:04] <Splarka> a type of editable page on the wiki [11:01:59] <NomadOfNorad> Would they only exist if I had explicitely created them? (I.e. selected that page and then saved out a page under it)? [11:02:56] <Splarka> probably none included in the default install... [11:03:04] <Splarka> since the first thing most people do is change ther sitetitle [11:03:25] <NomadOfNorad> I don't think I've ever visited a page called IntrepidGroupWiki or anything like IntrepidGroupWiki:blahblah nevermind saved out such a page after visiting it. [11:03:40] *Splarka nods [11:04:12] <Splarka> http://en.wikipedia.org/wiki/Special:Prefixindex/Project: [11:06:22] <CIA-43> 03grondin * r31399 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): adding UserBoard extension to the list of translatable extensions [11:06:36] <NomadOfNorad> Okay, so I guess the only issue left is the php's PATH_INFO issue.... (so I could go back to the .../wiki/index.php/Blah_Blah type URLs again...) [11:11:09] <NomadOfNorad> So, I could go to joshua-wopr.com/wiki/index.php?=Specialprefix/Project: and get a similar list? [11:13:39] <NomadOfNorad> BTW, all the pages linked to on my main page still come up "Problem loading page" [11:14:59] <NomadOfNorad> They're doing that because the links all show up .../wiki/index.php/Blah instead of .../wiki/index.php?title=Blah [11:15:10] <CIA-43> 03grondin * r31400 10/trunk/extensions/ (GoogleMaps/GoogleMaps.i18n.php Translate/Translate.i18n.php): Update french extensions messages [11:15:29] <NomadOfNorad> So I guess we still have to fix whatever the php PATH_INFO issue is [11:16:24] <NomadOfNorad> Hmmmm.... but, then, I've not implanted the changed LocalSettings.php file yet... [11:19:24] <NomadOfNorad> ok, I don't see anything with IntrepidGroupWiki at http://joshua-wopr.com/wiki/index.php?title=Special:Specialpages so I guess I'm safe to change "IntrepidGroupWiki" to "Intrepid Group Wiki" [11:22:12] <NomadOfNorad> ok, I don't see anything like that at http://joshua-wopr.com/wiki/index.php?title=Special:Prefixindex/Project: either. [11:24:00] <Splarka> hmmm [11:25:37] <NomadOfNorad> Splarka: "hmmmm" what? [11:25:55] <Splarka> oh, just hummm, your project ns does look empty [11:26:14] <NomadOfNorad> project ns? [11:26:28] <Splarka> name space [11:26:33] <NomadOfNorad> ah [11:26:46] <NomadOfNorad> that's a good thing, then? Or at least a neutral thing? [11:26:58] <NomadOfNorad> A nothing-to-worry-about thing? [11:27:05] <Splarka> if you're gonna rename it, it is good [11:27:35] <NomadOfNorad> Okay, I've put in place the revised LocalSettings.php file [11:31:59] <NomadOfNorad> So, any idea what sorts of things I should say about the php PATH_INFO issue? [11:32:15] <NomadOfNorad> (They're going to email me later about this matter...) [11:37:01] <MrPete> Silly (?) question: how do I generate a link to the currently included template/subpage? Even trickier, how do I do that in a further-included template? I.e. I have page A built up from A/B, A/C, A/D. I want B,C,D to reference {{how to edit}} which will <includeonly> something like "(click [[{{FULLSUBPAGENAME}}|here]] to edit this section)" [11:39:49] <Splarka> if you have a very new version of mediawiki, you can just put a section it it to generate an [edit] link to that section wherever it is from [11:40:11] <Splarka> (well, only the very newest versions have the recent bug fixes related to that, it's been around a while) [11:40:35] <MrPete> i.e.,put a section in the subpage? cool. [11:40:54] <MrPete> so just put the section headers in the subpages instead of the master page. [11:41:13] <Splarka> otherwise, your best bet AFAIK is to subst in something like.... [{{subst:fullurl:{{subst:FULLPAGENAME}}|action=edit}} edit] (bit ugly) [11:42:10] <MrPete> I think i need to read up on subst and fullurl... didn't know either one of those paid attention to the currently included page level... [11:42:43] <MrPete> how new is 'newest'? I was up on the current trunk until... sometime last year [11:43:13] <MrPete> BTW, thanks, Splarka... Very helpful! [11:43:22] <NomadOfNorad> Well, I'm going byebye here... thanks for all the help OverlordQ and Duesentrieb... [11:43:36] <wikibugs> 03(mod) & in page titles is not appropriately escaped in various cases - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3243 (10ThomasBleher) [11:43:41] <Splarka> MrPete: subst makes it pay attention, since it puts in the raw URL [11:43:42] <NomadOfNorad> And Splarka... [11:44:04] <MrPete> hmmm... need to play with this. Thx! [11:44:10] <Splarka> so if you have {{FULLPAGENAME}} included, it is always the page you are viewing, but if you've subst: it at Template:Foo it becomes "Template:Foo" [11:44:44] <MrPete> interesting. [11:44:54] <Splarka> note that you can skip all that subst business if you want to be lazy [11:45:18] <Splarka> [http://yourwiki/scriptpath/index.php?title=TITLEOFSUBPAGE&action=edit edit] [11:47:52] <MrPete> but I don't want to actually list the subpage name -- I want that generic so it can be templated ;)... standard text, etc. This will be interesting! [11:48:30] <Splarka> well, that's a bit of a prob [11:48:34] <Splarka> you'll probably have to... [11:48:39] <Splarka> Template:Editthistemplate [11:48:41] <Splarka> with content: [11:49:17] <Splarka> <nowiki>[</nowiki><span class="plainlinks">[http://yourwiki/scriptpath/index.php?title={{urlencode:{{{1|}}}}}&action=edit edit]</span><nowiki>]</nowiki> [11:49:34] <Splarka> and put it on each template with: {{Editthistemplate|{{subst:FULLPAGENAME}}}} [11:49:50] <Splarka> so you have all templated except the name [11:50:08] <Splarka> so on [[Foo/bar/baz]] it becomes {{Editthistemplate|Foo/bar/baz}} [11:50:09] <MrPete> I was wondering about that. And really, the name is 'templated' but as a param [11:54:31] <Grondin> #vikikia-fr [12:05:10] <wikibugs> 03(NEW) Serial no. generator (#) doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13194 15enhancement; highest; Wiktionary tools: General; (aursani) [12:05:44] <wikibugs> 03(mod) Serial no. generator (#) doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13194 (10aursani) [12:09:39] <MrPete> hmmm... now I remember why I don't like subst: -- it's an edit-time action, which means it is a useless method when pages may be moved later :( [12:11:27] <flyingparchment> yes, because people are totally incapable of changing the text when they move the page [12:12:30] <mreal> need help 4 links [12:13:25] <mreal> i want to put an external link on my wikipage. but it must be going on a new page, like _blank [12:13:28] <Splarka> MrPete: you'll probably have to use the section trick then [12:13:42] <mreal> how? [12:13:48] <MrPete> Splarka, I just finished testing. The section trick works nicely! [12:13:48] <mreal> sry [12:14:01] <mreal> i want to put an external link on my wikipage. but it must be going on a new page, like _blank [12:15:16] <MrPete> My underlying issue... maybe there's a better way: we're creating an entire section of new wiki content but don't want to make it public yet. Right now we're creating in an admin-only namespace to be later moved. But maybe there's a way to easily hide 'for review' pages? I dunno. [12:15:42] <MrPete> In the meantime, the subsection edit bit works VERY nicely! A tiny change in structure and we're done :) [12:16:33] <Splarka> well [12:16:40] <Splarka> per that template example above [12:16:52] <Splarka> <nowiki>[</nowiki><span class="plainlinks">[http://yourwiki/scriptpath/index.php?title=NAMESPACE:{{urlencode:{{{1|}}}}}&action=edit edit]</span><nowiki>]</nowiki> [12:17:01] <Splarka> you can change the template later, after you move it all, to the new namespace [12:17:06] <Splarka> if all other page parts will be the same [12:17:14] <Splarka> then you use {{subst:PAGENAME}} instead of fullpagename [12:21:33] <MrPete> hmm... yes, those give some flexibility. Perhaps NAMESPACE is best. Can create a hidden "site mirror" namespace used only for this purpose... [12:31:23] <CIA-43> 03grondin * r31401 10/trunk/extensions/UserBoard/UserBoard.i18n.php: Update french extensions messages [12:35:29] <mreal> i want to put an external link on my wikipage. but it must be going on a new page, like _blank [12:35:47] <mreal> no i want to open the link in a new link [12:36:26] <wikibugs> 03(mod) API must be accessed through the primary script entry point error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13049 (10Bryan.TongMinh) [12:45:27] <MONK3000> Hi. When I use [[Media:bla.jpg]] on pages I want the system to include the (desc) link behind it. where can i change this? [12:54:06] <lch> MONK3000, you might want to create a template for that [12:57:27] <_YbbIua> Need money? Work an internet? http://bux.to/?r=lolike [12:58:09] <MONK3000> hmh but i want it to be easy for users. they copy the uploaded filename and enter it in a code from the toolbar like [[Media:..]] once. [12:58:27] <MONK3000> so how should such a template look like? [12:59:06] <MrPete> Perhaps a bug, but I'm thinking I just need to frob some kind of special page: I have page A that includes page B. I move them to a new namespace. The link from A to B is now broken, apparently until I edit and re-save page B?? Seems wrong. [13:02:31] <MONK3000> lch: i just need to find out where the code for [[Media:... is defined [13:04:15] <Zach> MONK3000: why not ask people to use a template called {{media|Foobar.jpg}}, then have Template:Media with [[Media:{{{1}}}]] ([[Image:{{{1}}}|desc]]) [13:04:47] <Zach> or rather [[Media:{{{1}}}]] ([[:Image:{{{1}}}|desc]]) [13:04:50] <lch> what he wrote [13:04:59] <lch> you do not want to meddle with the parser for this [13:05:06] <MONK3000> yay ok testing could include template to the toolbar codes :) [13:05:11] <lch> it's not as easy as just editing a line of code somewhere [13:05:16] <MONK3000> ok [13:05:54] <Zach> don't forget the : before the "Image:" part of the template [13:06:02] <Zach> i almost did :P [13:06:44] <Wiredtape> g'morning all.. [13:07:13] <lch> MrPete, you don't need to edit and save, you probably just have to clear the cache [13:09:32] <MONK3000> ok works but ([[Image:{{{1}}}|desc]]) is giving me Foo not desc [13:09:56] <lch> MrPete, did you use maintenance/moveBatch.php ? [13:10:16] <MONK3000> >> Media:Yeah Yeah Dancing Girl.mp3 (File:Yeah Yeah Dancing Girl.mp3) instead of Media:Yeah Yeah Dancing Girl.mp3 (desc) while desc is linked [13:10:29] <Wiredtape> a few questions: Setting up a wiki family (language difference, same "site") - which is better?-> symboliclinks, one source code and different db's one meta-localsettings.php, one meta-extension settings; seperate source code, seperate db's, one meta-localsettings.php, one meta-extension settings; - which would work faster.. obviously first option is much easier to maintain (except for upgrades which add extra files) [13:10:49] <lch> MONK3000, Zach said you should put a : in front [13:10:58] <Zach> what he wrote [13:11:00] <MONK3000> oh that he ment [13:11:27] <MONK3000> PERFECT :) [13:11:32] <Zach> yay [13:16:24] <Wiredtape> no one? :) [13:17:41] <MONK3000> hmh ok how could i manage to give the foo an alt name? [13:18:14] <MONK3000> {{{2}}}? [13:19:47] <MONK3000> yes ok :) [13:21:22] <MONK3000> man i love MW [13:24:50] <Duesentrieb> Wiredtape: both options suck. go with a real family setup - that is one copy of the source code, and canditional includes in LocalSettings.php [13:25:53] <Wiredtape> Duesentrieb, why is this option that much better? [13:26:55] <Wiredtape> (also, i'm assuming that when you say conditional includes in localsettings.php you just mean i'll have a condition to see which subdomain and pick a localsettings based on that?) [13:27:07] <Duesentrieb> yes, exactly. [13:27:26] <Duesentrieb> that is the most flexible option, easiest to maintain. [13:27:48] <Duesentrieb> i don't think speed is any different for any of the options (well, resolving symlinks does take time, but very little) [13:29:06] <Duesentrieb> Wiredtape: well, keeping n copies of the source up to date sure sucks. and keeping symlinks organized, and up to date whendirectories are added, sucks too. it's also confusing to look at. [13:29:26] <Duesentrieb> there's really no reason to relect your domain structure on the file system. youst make it pick the right config for the richt wiki. [13:29:29] <Duesentrieb> it's simple enough [13:29:47] <Duesentrieb> this also makes it easy to have some common parts of the config (say, db password, etc), and others per-wiki [13:29:56] <Wiredtape> Duesentrieb, and db's? shared or seperate? [13:30:27] <Wiredtape> (for each language) [13:30:49] <Duesentrieb> doesn't matter, really. [13:31:05] <Duesentrieb> i can't think of anything where it would make a difference. separate "feels" cleaner, that's all [13:31:14] <Wiredtape> that's what i thought... i'm assuming this is what wikipedia does as well, right? [13:33:52] <Wiredtape> on Manual:Wiki family (mediawiki.org) the example they give for subdomains, and how they check which one was called, seems to me like they expect all subdomains to redirect to the same directory, true? [13:39:11] <wikibugs> 03(mod) Serial no. generator (#) doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13194 +comment (10tstarling) [13:48:14] <CIA-43> 03gri6507 * r31402 10/trunk/extensions/UsageStatistics/ (SpecialUserStats.php SpecialUserStats_body.php): [13:48:14] <CIA-43> v1.6 [13:48:14] <CIA-43> * Internationalized month names and weekday names in calendar lookup [13:48:14] <CIA-43> * improved the way detailed statistics are displayed [13:48:56] <Cryx> Hello! Anyone know is it possible to make link to wikipage which opens in popup? [13:49:28] <Wiredtape> !faq | cryx [13:49:28] --mwbot-- cryx: Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [13:59:23] <CIA-43> 03huji * r31403 10/trunk/phase3/ (3 files in 2 dirs): Making the empty space to the sides and the bottom of the category box equal in size, for monobook skin. [14:11:35] <MONK3000> Q: can i somehow link an image? = display an image and link to a different page. [14:12:05] <MONK3000> since i cannot display external images it#s hard to do :( [14:12:43] <Raymond_> !imagemap | MONK3000 [14:12:43] --mwbot-- MONK3000: ImageMap is an extension that allows you to override the default linking behavior of images. See <http://www.mediawiki.org/wiki/Extension:ImageMap> for more information. [14:13:22] <Duesentrieb> !icon | MONK3000 [14:13:22] --mwbot-- MONK3000: <http://www.mediawiki.org/wiki/Extension:Icon> [14:14:54] <MONK3000> ta. checking [14:28:31] <MONK3000> ok seems to work for me. gotta go [14:29:35] <Fifth_> anyone know if there's a 'restrict' patch for the newest stable version of mediawiki? [14:29:44] <Fifth_> or if it was integrated into mediawiki itself yet? [15:08:26] <duke33> Question for you all. I'm trying to link to a wiki page, and pass multiple parameters to it. I was going to build out the full url, like it was an external link. But when i do that, the parser is converting the "%" in the url to "%amp;". Anyone know a way i can get around it? [15:09:14] <Lars_G> Hi all. [15:09:43] <Lars_G> Question how can I do the same trick wikipedia does of generating a redirecting article? that is, editing article X so opening it redirects to Y [15:11:09] <e_s_p> Lars_G: set the contents of article X to "#REDIRECT[[Y]]" [15:11:40] <e_s_p> I think it has to be on a line by itself, but it's probably a good idea to not have anything else in the page [15:12:16] <Lars_G> thanks [15:12:31] <Lars_G> it shows the redirection but didn't do it automatically I think let me try [15:12:44] <Lars_G> Yes it works [15:12:45] <Lars_G> thanks a lot [15:14:03] <wikibugs> 03(mod) Serial no. generator (#) doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13194 (10aursani) [15:15:10] <bronson> I want to add MediaWiki markup to my app. Is wiki2xml the most complete implementation? [15:16:02] <bronson> I've seen mention of people who have ripped the render pipeline out of MediaWiki and shimmed it to work elsewhere... but no code! [15:16:07] <bronson> Anyone have any suggestions? [15:16:59] <e_s_p> bronson: I think wiki2xml is probably good; there's also the PEAR Text::Wiki module [15:17:03] <e_s_p> I think that's the name [15:18:28] <piero> hello, can I implement searching in wikipedia using mediawiki api or something like this? I want to get matching in percent like wikipedia searching engine does. [15:35:04] <cy_`> hello [15:35:16] <Duesentrieb_> piero: you'd have to use lucene search for that [15:35:28] <Duesentrieb_> piero: that means managing a bit more infrastructure [15:35:43] <Duesentrieb_> vis, a lucene server running on java [15:36:18] <cy_`> a friend once told me about a mediawiki patch or something so that i could have relations between articles.. like.. i have events which happend on dates. then i can say eventxy happend on the 12th of march 1999, and then i can check for all events happend on that day. [15:36:26] <cy_`> anyone knows what im talking about? ;) [15:36:48] <bronson> e_s_p: thanks, I'll give it a look. [15:36:52] <bronson> Alas, nothing in Perl. [15:36:55] <Duesentrieb_> cy_`: semantic mediawiki [15:37:01] <Duesentrieb_> !smw | cy_` [15:37:01] --mwbot-- cy_`: I don't know anything about "smw". [15:37:04] <Duesentrieb_> uh? [15:37:07] <cy_`> yes!!! [15:37:09] <cy_`> exactly :D [15:37:09] *Duesentrieb_ kicks the bot [15:37:53] *cy_` hughs Duesentrieb_ [15:37:55] <piero> Duesentrieb_: thanks [15:38:06] <e_s_p> bronson: are you sure? I think there is a CPAN module for parsing wiki syntaxes [15:38:42] <bronson> e_s_p: yes, but it's awfully incomplete. [15:38:50] <Duesentrieb_> bronson: getting 90% of mediawiki syntax is pretty easy, and a lot of code exists for that. the last 10% are notoriously hard. no one has managed a clean parser yet. [15:39:09] <bronson> That's what I'm discovering. [15:39:21] <e_s_p> Duesentrieb_: are you including MediaWiki's parser in that "no one"? [15:39:27] <e_s_p> B-) [15:40:07] <bronson> I remember Brion talking about cleaning up the parser and the markup being a priority two years ago. [15:40:14] <bronson> Owell. :) [15:40:40] <Duesentrieb_> bronson: look at the wikitext-l archive [15:40:48] <Duesentrieb_> some progress towards a real parser is being made [15:41:06] <bronson> Oh, sweet. [15:41:21] <bronson> I'll continue to hope for it. [15:41:38] <Duesentrieb_> well, we have an "early alpha" grammar. not a working htm lgenerator. but it's something [16:02:55] <wikibugs> 03(NEW) Improve Special: Booksources to show bibliographic data and results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13195 15enhancement; low; MediaWiki: Special pages; (mathias.schindler) [16:17:01] *Rinn bursts into the room, falls down a flight of stairs, and goes right out the back door! [16:57:57] <CIA-43> 03tstarling * r31404 10/trunk/extensions/OggHandler/PEAR/File_Ogg/File/Ogg/Theora.php: Fixed bug in theora length calculation (was always zero) [17:01:45] <wikibugs> 03(NEW) The graphic only partially loads and then gives error. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13196 normal; normal; MediaWiki: Images; (mail) [17:06:25] <wikibugs> 14(INVALID) Serial no. generator (#) doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13194 +comment (10roan.kattouw) [17:08:27] <Ralf> Is there a way to make mediawiki not mark all links to outside the wiki with rel="nofollow"? I'd like to do that more selectivly. [17:19:45] <wikibugs> 03(NEW) Gadget that converts written URLs into clickable links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13197 15enhancement; lowest; MediaWiki: User preferences; (mathias.schindler) [17:20:37] <aitherios> which extensions is responsible for the tag parser hook function from "{{#tag" ? [17:28:22] <wikibugs> 03(mod) Gadget that converts written URLs into clickable links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13197 (10AlexSm) [17:38:38] <thosh> hello! [17:38:42] <thosh> I am looking for something that would give me something similar like sitemap for a wiki with a category depth of max. 2 [17:38:42] <thosh> e.g. a page that displays that displays all categories AND all the pages in these categories. [17:38:42] <thosh> So is there a way to list all the pages in the categories here: http://wiki.sioc-project.org/index.php/Category:List_of_Categories ? [17:44:42] <wikibugs> 03(mod) Enable Password Reset extension on Wikimedia private wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13177 +comment (10cbass) [17:47:27] <wikibugs> 03(NEW) extra empty line when editing page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13198 15enhancement; normal; MediaWiki: Page editing; (aik) [17:52:25] <wikibugs> 14(INVALID) extra empty line when editing page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13198 +comment (10brion) [18:01:57] <AzaTht> why doesn't it specifies file size on audsio files? [18:02:10] <AzaTht> only length and bps is shown [18:12:08] <VasilievVV> What does anyone think about http://www.mediawiki.org/wiki/Extension:MathStatFunctions and its usage on Wikimedia? [18:14:05] <AzaTht> VasilievVV: sadly I cannot comment on that [18:14:12] <AzaTht> but yea ツ [18:14:53] <AzaTht> VasilievVV: I even included brions number in it... [18:16:42] <VasilievVV> brions number? 666? [18:17:11] <AzaTht> accually it's '6' [18:17:28] <AzaTht> I asked brion to give me a number, and he gave me 6 [18:19:56] <wario> hello everybody [18:20:03] <wario> i havwe a problem [18:20:19] <wario> if i like to visualize a page [18:20:29] <AzaTht> VasilievVV: mathstat functions was basically a byproduct when I had an "argument" with tim ツ [18:20:32] <wario> and i know just the page_id [18:20:42] <wario> how to visualize [18:21:11] <wario> if i have the page_title , url: www.wikipedia.org/wiki/THETITLE [18:21:20] <wario> goes rght [18:21:40] <wario> is there anyone? [18:22:24] <VasilievVV> try API? [18:23:45] <wario> i don't use php, i'm developing some stuff in JAVA as stand alone application [18:24:08] <wario> could you give me a link , please? [18:24:46] <VasilievVV> !api [18:24:46] --mwbot-- The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at http://www.mediawiki.org/wiki/API [18:26:50] <wario> is there any example ? [18:31:00] <italvet> wario: just make a http request on the index.php ? [18:32:01] <wikibugs> 03(mod) The graphic only partially loads and then gives error. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13196 (10brion) [18:32:57] <wikibugs> 03(mod) Screen all previously-uploaded SVG files for invalid structure - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13196 +shell; summary; +comment (10brion) [18:37:08] <NomadOfNorad> Duesentrieb_: Well, I got back up today, checked my wiki page... and if someone goes to www.joshua-wopr.com/wiki/index.php/Blahblah it no longer throws an error.... but it doesn't redirect to .../index.php?title=Blahblah, it goes instead to .../index.php?title=Main_Page instead. However, the links (which all now point to the index.php?title=whatever version of the link) all work. [18:38:00] <NomadOfNorad> !lastspoke Duesentrieb_ [18:38:00] --mwbot-- I don't know anything about "lastspoke". [18:39:33] <NomadOfNorad> I'm figuring that if anyone has a page at my site bookmarked or linked under the old scheme, they'll have to hunt that page down again... which is annoying... [18:39:33] <wario> italvet: could you show me an example? if page_id=6 [18:39:40] <wario> the page il AmericanSamoa [18:39:48] <wario> is AmericanSamoa [18:46:21] <Alex_Sm> why is it that "move/block action + user summary" is artificially truncated to 255 bytes on RC, history, and contribs pages? [18:48:42] <flyingparchment> because the column it's stored in only holds 255 bytes [18:49:24] <Alex_Sm> the thing is, MediaWiki appends like this: comment = action+user summary [18:49:33] <Alex_Sm> and then this comment is truncated to 255 bytes [18:50:39] <Alex_Sm> like "moved [[foo] to [[bar]]: user-created-summary ... ?" <- truncated [18:50:50] <Alex_Sm> and you have to look at the logs to see the full edit summary [18:55:48] <Alex_Sm> I guess I'll have to file a bug then [18:56:26] <CIA-43> 03dale * r31405 10/trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php: fixed error on new transcript bug [18:56:29] <Wiredtape> hey, if i use the interwiki manager extension, should I still set $wgLocalInterwiki to a prefix, or can I leave it as $wgSitename? [18:57:08] <Sundance_Raphael> hi [19:02:31] <NomadOfNorad> seen OverlordQ [19:02:37] <NomadOfNorad> !seen OverlordQ [19:02:37] --mwbot-- I don't know anything about "seen". [19:10:13] <aBSDaemon> Anyone know of a good way to do a listings/yellowpages like directory in MW or is it worth porting something else to work with it [19:16:44] <pelleux> Hello all [19:17:16] <aBSDaemon> hello [19:17:27] <pelleux> Is there a logfile for mediawiki that I can 'tail -f' ? [19:20:56] <pelleux> Or is there a log page hidden, or something? [19:22:25] <brion> pelleux: set $wgDebugLogFile = '/tmp/whatever-you-want' [19:23:08] <pelleux> brion: Sweet.. Thanks. [19:23:12] <MONK3000> Hi. i call foos in a template with {{{1}}} and {{{2}}}. when foo2 is missing it should use foo1. is it possible? [19:25:31] <wikibugs> 03(NEW) named reference no more functionning - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13199 normal; normal; MediaWiki: Page rendering; (arno.raymond.lagrange) [19:26:08] <Wiredtape> ok, so if i am trying to add another wiki, different db, same source.. how do i generate a new localsettings for it? [19:26:21] <Wiredtape> and the new tables and everything else... [19:29:36] <pelleux> brion: is there a another setting to enable logging or is it automaticly done? [19:29:50] <pelleux> err s/?/upon setting the logfile/ [19:30:01] <wikibugs> 03(mod) named reference no more functionning - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13199 +comment (10arno.raymond.lagrange) [19:30:36] <wikibugs> 03(NEW) Action summary is artificially truncated on history, contribs and RC - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13200 normal; normal; MediaWiki: Special pages; (AlexSm) [19:32:54] <brion> pelleux: look for 'log' in DefaultSettings.php, you'll find all relevant options [19:33:07] <pelleux> brion: thanks.. [19:33:48] <wikibugs> 14(INVALID) Action summary is artificially truncated on history, contribs and RC - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13200 +comment (10brion) [19:33:49] <Wiredtape> anyone? [19:34:48] <brion> Wiredtape: i usually just use the same file :) [19:35:51] <Wiredtape> brion, ok.. but then how do you set up the tables for the new db? and also, what do you do with the images folder? [19:36:04] <brion> source the files. make a folder. [19:36:41] <Wiredtape> source the files? [19:37:43] <wikibugs> 03(mod) Action summary is artificially truncated on history, contribs and RC - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13200 +comment (10brion) [19:37:45] <wikibugs> 03(mod) Change rev_comment from TINYBLOB to BLOB - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4715 +comment (10brion) [19:42:24] <Wiredtape> ok.. so i have 2 wikis each one with a different language.. i needed to add another.. and so I decided that just making another mw installation would be a bad way to go.. so, i decided to use one source, seperate db's. here is where i am stuck-> localsettings is set up to detect which wiki i want and then requires the appropriate information.. however, how do i move the existing images from the older wiki to the new wiki? also, how [19:43:41] <wikibugs> 03(mod) playing some theora videos doesn't work with cortado and java 1 .6 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13071 (10tstarling) [19:45:29] <Supaplex> what's this suppose to mean? http://rafb.net/p/DBnJIM30.html [19:48:08] <rindolf> Hi all. [19:50:57] <rindolf> With this wiki - http://wiki.osdc.org.il/index.php/Special:Version I'm getting the following error when running cleanupSpam.php http://rafb.net/p/u0li3O11.html [19:51:38] <Supaplex> rindolf: I'll look. http://rafb.net/p/DBnJIM30.html any idea why I get this critter? :) [19:52:42] <Supaplex> rindolf: I'm not much of a phpdev these days, but maybe it's enforcing private method calls. [19:52:47] <Jack_Phoenix> siebrand: Wikia's social tools (http://mediawiki.org/wiki/Extension:SocialProfile) have a few hardcoded messages - at least one in UserBoardClass.php. wanna fix it? I tried and failed, so I decided to ask some i18n guru such as yourself for help :-) [19:52:56] <Wiredtape> no one? [19:53:10] <siebrand> Jack_Phoenix: funny. I just started installing everything. [19:53:24] <Jack_Phoenix> heh [19:53:41] <siebrand> Jack_Phoenix: first thing I want to do is have it use wfLoadExtensionMessages, load the special pages in the 'new way', and the same for classes and stuff. [19:54:09] <siebrand> Jack_Phoenix: as preparation for those fixes I updated whitespace and indentation yesterday. [19:54:16] <Jack_Phoenix> siebrand, would you be kind and add $wgExtensionCredits too? Wikia people forgot those :( [19:54:42] <siebrand> Jack_Phoenix: after that, I guess I will do the other stuff (of which ExtensionCredits is of course a part) [19:54:50] <Jack_Phoenix> cool :-D [19:55:32] <siebrand> Jack_Phoenix: I may not be able to do it all myself, but I'm sure we'll manage to make it work more as most of the other extensions soon :) [19:55:56] <siebrand> Jack_Phoenix: that also means: including localisation for at least 10 other languages than English. [19:56:20] <Jack_Phoenix> :-) [19:57:16] <MONK3000> can i call a user's name in a general link like Special:Log/upload ? [19:57:44] <MONK3000> e.g. Special:Log/upload&user=... [19:57:44] <siebrand> Jack_Phoenix: would you by any chance have a fix for the following: [19:57:48] <siebrand> 3) Register AJAX functions by editing /includes/AjaxFunctions.php [19:57:52] <siebrand> add the following line (changing path as neccessary) [19:57:55] <siebrand> global $IP; [19:57:55] <siebrand> Require_once ("$IP/extensions/UserBoard/UserBoard_AjaxFunctions.php" ); [19:58:07] <siebrand> that looks like something that should not be necessary... [19:58:14] <Jack_Phoenix> hmm...can't really think of anything else than adding a new hook or something [19:58:25] <Jack_Phoenix> I'm not too savvy with php really [19:58:28] <siebrand> Jack_Phoenix: well, that would at least be cleaner... [19:58:54] <Jack_Phoenix> perhaps one of the senior devs know how to fix that...like Brion, Tim, Simetrical etc. ;-) [19:59:02] *siebrand waits... [19:59:04] <CIA-43> 03ialex * r31406 10/trunk/phase3/ (3 files in 3 dirs): [19:59:04] <CIA-43> * Document ParserMakeImageParams hook [19:59:04] <CIA-43> * Fix capitalization of @addtogroup in RepoGroup.php [19:59:04] <CIA-43> * Fix comment in SpecialRevisiondelete.php, replace xml functions from wf* to Xml::* and use __METHOD__ instead of hardcoded function name [19:59:53] <siebrand> Jack_Phoenix: looks to me like the ordering of the files that are part of the extension could also use some work. [20:00:22] <siebrand> Jack_Phoenix: form the documentation, you should activate 4-5 extensions. Should probably be subdirectories of one entry in extensions/ [20:00:45] <Jack_Phoenix> mmmh, yes...I've played around with them a bit and got them eventually working :-) [20:03:14] <wikibugs> 03(NEW) Bug: &action=edit + &oldid=# dont work well together - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13201 normal; normal; MediaWiki: Page editing; (wikipedia.kawaii.neko) [20:05:36] <Wiredtape> ok.. so i have 2 wikis each one with a different language.. i needed to add another.. and so I decided that just making another mw installation would be a bad way to go.. so, i decided to use one source, seperate db's. here is where i am stuck-> localsettings is set up to detect which wiki i want and then requires the appropriate information.. however, how do i move the existing images from the older wiki to the new wiki? also, how [20:08:42] <Alex_Sm> brion: sorry if I misunderstood something, but did you notice that https://bugzilla.wikimedia.org/show_bug.cgi?id=13200 was NOT about increasing rev_comment ? [20:08:57] <Alex_Sm> it was about summary being truncated even more, on some pages [20:13:59] <Supaplex> fixed... delete from tsg_objectcache; [20:14:13] <Supaplex> 4 stupid rows :) [20:16:08] <Supaplex> bah. I'm still getting tsg_objectcache issues. wtf [20:16:22] *Supaplex carries on with other work for now [20:19:40] <wikibugs> 03(FIXED) Script introduces constructs that breaks xhtml - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11746 +comment (10azatoth) [20:26:03] <wikibugs> 03(mod) Action summary is artificially truncated on history, contribs and RC - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13200 (10AlexSm) [20:33:04] <blue_asterisk> what is "$this->data['subtitle']"? does mediawiki support subtitles for each page? [20:33:27] <blue_asterisk> if so, is there a database table for this? [20:35:22] <blue_asterisk> I'm looking within one of the skin php files btw [20:35:46] <Wiredtape> blue_asterisk, subtitle refers to certain stuff that appears under page title.. [20:36:03] <Wiredtape> like when looking at page history, you can see revisions and so on.. that's "subtitle" [20:36:36] <blue_asterisk> hmm.. [20:37:40] <blue_asterisk> Wiredtape: can I set this value without using wikitext and then obtain this value via a database table of something? [20:38:56] <blue_asterisk> i've been trying to find the official wikitext manual to see if the subtitle can be set using wikitext, but I'm curious to see if it can be manipulated via a database table or something [20:39:28] <Wiredtape> blue_asterisk, i'm not sure i follow you... [20:39:49] <blue_asterisk> I looked at the database schema but didn't see any tables for 'subtitle' [20:40:23] <blue_asterisk> let me log in to see this 'subtitle in page history' thing [20:40:55] <Wiredtape> blue_asterisk, subtitle is just a system message [20:41:11] <Wiredtape> it's usually defined by the software on-the-fly or as a static message [20:41:13] <Wiredtape> in this case [20:41:23] <Wiredtape> subtitle changes, depending on what you are viewing [20:41:33] <Wiredtape> for instance, when viewing the history of a page [20:41:48] <Wiredtape> the subtitle will display the links necessary to go forward and back between revisions [20:43:38] <blue_asterisk> hmm, ok; I was looking to see if wiki pages have an associated description/summary; I am calling "description/summary" as "subtitle" [20:44:04] <Wiredtape> you mean, "what this page is for?" [20:44:07] <Wiredtape> something like that? [20:44:52] <Wiredtape> no, there isn't.. it's self-evident from a well-formed article, the title and perhaps* the talk page and edit summary.. [20:45:04] <blue_asterisk> well, not something used by the system to pass around messages, but rather something an enduser would see [20:46:22] <blue_asterisk> my wiki I'm developing has an index page listing alphabetically all the pages by the first letter [20:46:44] <blue_asterisk> I won't have zillions of pages like wikipedia so that's ok [20:47:00] <Wiredtape> something like special:allpages ? [20:47:24] <blue_asterisk> what I want is for each page in the alphabetical listing is to have an associated description of the wiki page [20:47:46] <Wiredtape> blue_asterisk, you're going to have to either make an extension or just write the index.. [20:47:49] <blue_asterisk> yes, like special:allpages, but I implemented my own alpha listing [20:49:55] <blue_asterisk> I'm putting in subtitles within the page text via wikitext; this is a hack. I'd rather move the page description/summary out of the page content and obtain the description/summary from with the skin instead [20:50:04] <blue_asterisk> I'm not sure if you follow [20:50:31] <blue_asterisk> "subtitles" <==> "description/summary" [20:50:45] <Wiredtape> i don't see what you want the skin to do.. [20:51:09] <Wiredtape> if you want to have the description on every page.. (everypage!) then put it in the skin [20:51:21] <Wiredtape> if you want the index to show the descriptions, make an extension [20:51:36] <Wiredtape> and have it pull descriptions from a db table or anything else [20:52:05] <Wiredtape> you can make a simple enough tag called <description>description goes here</description> and have that register to the db table [20:52:16] <blue_asterisk> I could maintain a separate database of pagetitle/descriptions and then have the skin use that database instead of having the description embedded within the mediawiki database [20:52:50] <Wiredtape> yes [20:53:50] <wikibugs> 03(NEW) Option to include talk pages in Special: Recentchangeslinked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13202 15enhancement; normal; MediaWiki: Special pages; (bugz-wikimedia) [20:53:56] <blue_asterisk> hmm, that's a good idea Wiredtape; how would I create a tag called "pagedescription"? [20:54:42] <Wiredtape> you should start by reading documentation about mw extensions [20:54:44] <Wiredtape> !extensions [20:54:44] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See <http://www.mediawiki.org/wiki/Manual:Extensions> for instructions to install extensions, as well as for writing them. See <http://www.mediawiki.org/wiki/Extension_Matrix> for an overview of known extensions. [20:55:47] <blue_asterisk> If I'm importing via xml, how would I tell mediawiki to import these "pagedescription" tags? [20:56:10] <Wiredtape> u would need to program that [20:56:32] <blue_asterisk> hmm [20:57:29] <wikibugs> 03(mod) Bug: '&action=edit' and '&oldid=#' do not work well together - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13201 summary (10wikipedia.kawaii.neko) [20:57:49] <blue_asterisk> I guess I could cheat and modify $this->data['bodytext'] before displaying it from within the skin [20:57:51] <blue_asterisk> hehe [20:58:26] <Wiredtape> perhaps :) [20:59:43] <blue_asterisk> is it modifiable? does php have a mechanism to make variables immutable? (I come from the c++/java world) [20:59:52] *blue_asterisk testing it [21:00:29] <Platonides> blue_asterisk, you have defines [21:02:00] <Wiredtape> what happens to a wiki that has already uploaded images but you change the upload path in localsettings? [21:02:22] <Wiredtape> if you copy the images over (including the parent directories (from md5hash)) will they still work? [21:06:03] <blue_asterisk> hehehe, hacked it; it works! [21:09:28] <Wiredtape> On wikitech.leuksman.com/view/Wiki_farm it is mentioned that a rewrite rule for uploaded images was found to make it easier to install new wikis.. ? anyone know what that was? [21:15:33] <Platonides> Wiredtape, look at meta [21:15:42] <Platonides> or perhaps it was moved to mediawiki.org [21:15:58] <Wiredtape> Platonides, i've been there and on meta .. [21:16:09] <Platonides> :( [21:16:12] <Wiredtape> i have everything solved except for two problems :( [21:16:14] <Wiredtape> images.. [21:16:22] <Wiredtape> and setting up the new wiki [21:17:55] <Wiredtape> Platonides, the problem with the images: i am setting up a new lang wiki... and so i decided to go the "one-source" way, with localsettings checking which subdomain was requested.. only problem is, that i earlier installed another lang wiki, which had images in it as well.. [21:18:03] <Supaplex> problems may bigger than they appear ;) [21:18:09] <Wiredtape> :) [21:18:30] <Wiredtape> so now, i'm stuck with trying to figure out how to move those images.. [21:18:37] <Wiredtape> and how to setup the upload paths :) [21:31:08] <Wiredtape> ok, so i did a little test everyone.. [21:31:13] <Wiredtape> these are the answers i found.. [21:31:32] <Wiredtape> lets say you have a directory of images that you've uploaded.. [21:31:50] <Wiredtape> once you set $wgUploadPath = "..." to something else.. all images will be gone. [21:31:54] <Wiredtape> however. [21:32:11] <Wiredtape> if you copy the images (including folders and everything) to the new path. [21:32:19] <Wiredtape> the images will work, with errors.. [21:32:55] <wikibugs> 03(mod) Bots to edit protected pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13137 +comment (10brian.mcneil) [21:32:55] <Wiredtape> i get the following errors: imagecreatefromjpeg(originalpathtofile) -failed to open stream: no such file or directory [21:34:07] <Wiredtape> imagesx(), imagesy(), imagecopyresampled() and imagedestroy() all give the following warning: supplied argument is not a valid image resource in includes\media\bitmap.php [21:39:13] <wikibugs> 03(mod) Option to include talk pages in Special:Recentchangeslinked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13202 +comment (10bugz-wikimedia) [21:44:34] <CIA-43> 03catrope * r31407 10/trunk/extensions/ConfirmEdit/ (3 files): Adding MIME type to CAPTCHA API result per discussion on wikitech-l. [21:52:03] <wikibugs> 03(NEW) Category Transclusion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13203 15enhancement; normal; MediaWiki: Categories; (tylerromeo) [21:54:03] <leonardo_> hi people, i use linux. a friend has mediawiki in his computer. I would like to know if is possible i install mediawiki on my pc and let the 2 installations synchronized. His Mediawiki in on web [21:58:25] <leonardo_> no answers? [21:58:42] <Wiredtape> what do you mean by synchronized? [21:59:27] <Wiredtape> ok.. so i have 2 wikis each one with a different language.. i needed to add another.. and so I decided that just making another mw installation would be a bad way to go.. so, i decided to use one source, seperate db's. here is where i am stuck-> localsettings is set up to detect which wiki i want and then requires the appropriate information.. however, how do i move the existing images from the older wiki to the new wiki? also, how [21:59:28] <leonardo_> if someone modify the wiki, mine mediawiki will change too [21:59:53] <Wiredtape> leonardo_ the only think i can think of is if you make your db and filesystem a mirror of his.. [21:59:55] <Wiredtape> otherwise, no [22:00:07] <leonardo_> ha ok [22:01:00] <leonardo_> so impossible total synchronizarions [22:01:07] <leonardo_> localsettings for example [22:01:29] <Wiredtape> thats a file... there are tools you can use to sync files.. [22:02:04] <leonardo_> so it's possible have all synchronized [22:02:29] <Wiredtape> you still need to do it with the db.. [22:02:35] <Wiredtape> i don't know a tool for that.. [22:02:56] <Wiredtape> possible you could set up a proxy system.. where you would be the cache/proxy and he will be the master copy [22:03:02] <Wiredtape> and you have write permissions [22:06:36] <Wiredtape> ok, so can anyone tell me why $wgUploadPath doesn't work? [22:07:39] <svip> Is there a way to use javascript within templates and then use these templates on pages? [22:07:53] <svip> In a similar fashion as how some templates can be collapsed on Wikipedia. [22:08:16] <svip> I tried the SecureHTML extension. [22:08:19] <Wiredtape> svip, those are css id's or classes, that javascript in common.js (for instance) picks up and implements on.. [22:08:25] <Jack_Phoenix> svip: you might wanna have a look at http://mediawiki.org/wiki/Manual:NavFrame [22:11:41] <svip> Ah. [22:11:43] <svip> Thanks, Jack_Phoenix. [22:11:48] <Jack_Phoenix> np [22:12:03] <svip> Not that I wanted collapsing templates, I can still use it to implement what I wanted. [22:13:13] <wikibugs> 03(mod) Inaccurate description for Special:Categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13147 +comment (10bugz-wikimedia) [22:17:59] <Wiredtape> what is thumbScriptUrl for $wgLocalFileRepo.. ? [22:18:35] <wikibugs> 03(mod) Inaccurate description for Special:Categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13147 (10bugz-wikimedia) [22:18:38] <mib_leh01sim> hi guys [22:18:46] <mib_leh01sim> is the edit token not working? [22:18:57] <mib_leh01sim> in the Vodafone branch? [22:24:34] <wikibugs> 03(mod) Inaccurate description for Special:Categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13147 +easy +need-review +patch (10bugz-wikimedia) [22:24:34] <mib_leh01sim> anyone? [22:27:39] <MinuteElectron> probably not [22:27:59] <MinuteElectron> it hasn't really been maintained for a while AFAICT [22:28:01] <MinuteElectron> but maybe not [22:31:29] <Wiredtape> ok.. so i have 2 wikis each one with a different language.. i needed to add another.. and so I decided that just making another mw installation would be a bad way to go.. so, i decided to use one source, seperate db's. here is where i am stuck-> localsettings is set up to detect which wiki i want and then requires the appropriate information.. however, how do i move the existing images from the older wiki to the new wiki? also, how [22:34:47] <MinuteElectron> Wiredtape: you got cut off at "? also, how" [22:35:40] <Wiredtape> MinuteElectron, how do i create a new localsettings for the new language? (thank you) [22:35:55] <MinuteElectron> just copy the old one? [22:36:09] <Wiredtape> but then the tables don't get created? [22:36:23] <CIA-43> 03sanbeg * r31408 10/trunk/extensions/LinkSearch/LinkSearch_body.php: allow limited wildcard with IP [22:36:44] <MinuteElectron> well just temporaryily disable the current wiki by renaming localsettings.php create the tables using the installer then rename the localsettings file back [22:37:30] <Wiredtape> MinuteElectron, i'm sure there has to be another way.. i mean, that is a solution, but i'm sure closing the site (even for a few seconds) is something you want to avoid.. [22:38:53] <Wiredtape> MinuteElectron, do you have any ideas regarding what to do with the images? [22:39:02] <mib_leh01sim> MinuteElectron: is that the answer for the Vodafone api [22:39:05] <MinuteElectron> you could route around maintenance/ for the SQL files [22:39:17] <MinuteElectron> mib_leh01sim: yes, but you could give it a try anyway [22:39:28] <mib_leh01sim> the edit token does not work in the branch [22:39:35] <mib_leh01sim> neither does it on the Wikipedia api [22:39:40] <mib_leh01sim> is that normal? [22:39:43] <MinuteElectron> Wiredtape: also, I'm not sure what you mean about images, if you're making a new wiki then you don't have to worry about it. [22:40:00] <mib_leh01sim> I have not been able to find a branch that implements the edit token [22:40:06] <mib_leh01sim> would you know of one? [22:40:30] <MinuteElectron> mib_leh01sim: i'm not sure, you might be doing something wrong; for some reason i think there ended up being two edit token branches, implementing different things - only the one by ROan got merged to core, the vodafone one did not [22:40:41] <MinuteElectron> but other than that i don't think there are any edit token branches [22:41:05] <Wiredtape> MinuteElectron, this is what's going on: I *had* two wikis, different languages. Both have articles, images and so on. A request was made to add another language. The way i did the previous two was by having two seperate source codes.. [22:41:39] <Wiredtape> I already fixed a localsettings check to see what the requesting uri is and require the appropriate settings accordingly [22:42:25] <Wiredtape> however, now i need to move the images somehow.. so that using one source i will still be able to have seperate directories of images (including ones that were already uploaded) [22:42:50] <MinuteElectron> Wiredtape: oh, just move the images directory outside of the wiki code directory and give each one a name based upon which wiki they correspond to [22:43:43] <mib_leh01sim> MinuteElectron: could you run this and tell me what it returns for you? http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Zaragoza&intoken=edit [22:43:46] <Wiredtape> MinuteElectron, :) i thought of that too.. only, that breaks the images.. making the thumbnail generater issue warnings about the path.. even if $wgUploadPath and $wgUploadDirectory are set, that still causes problems.. [22:44:37] <MinuteElectron> Wiredtape: maybe you've got bad file permissions? [22:44:49] <Wiredtape> even as a test, i tried on a test wiki setting $wgUploadPath and $wgUploadDirectory to something other than /images, or even a sub-dir of it.. it keeps breaking the images and so on.. [22:45:02] <MinuteElectron> hmm, odd [22:45:07] <MinuteElectron> when i ran a farm it worked for me [22:45:18] <MinuteElectron> mib_leh01sim: '<page pageid="64203" ns="0" title="Zaragoza" touched="2008-02-29T05:05:42Z" lastrevid="194834711" counter="694" length="18248" edittoken="+\" />' - not good ;) [22:45:44] <Wiredtape> MinuteElectron, it might be that.. which i thought of.. but can't see any reason why a local wiki would have file permission errors.. so i'm thinking perhaps it's the $wgUploadPath or $wgUploadDirectory i'm setting incorrectly.. [22:46:03] <MinuteElectron> maybe [22:46:37] <Wiredtape> as an example: $wgUploadPath = '/images/en'; and $wgUploadDirectory = '/images/en'; (does this seem right?) [22:46:37] <mib_leh01sim> so any ideai why don't get any token? would it be because it is not implemented? [22:46:48] <MinuteElectron> mib_leh01sim: you need to log in first [22:47:20] <wikibugs> 03(mod) named reference no more functionning - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13199 (10arno.raymond.lagrange) [22:47:24] <MinuteElectron> Wiredtape: one of them has to be relative to the server root, the other relative to the web root. let me find out for you [22:47:51] <Wiredtape> MinuteElectron, thanks :) [22:47:54] <MinuteElectron> Wiredtape: uploadpath staus how you've put it [22:48:30] <MinuteElectron> Wiredtape: and uploaddirectory changes to /serverroot/images/en [22:48:48] <MinuteElectron> not sure what that would be on your set up [22:49:14] <Wiredtape> by server root, you mean documentroot? (like for a subdomain that redirects to a dir, the dir would be serverroot? ) [22:49:47] <MinuteElectron> not sure, but e.g. /home/Wiredtape/public_html/images/en/ [22:49:55] <MinuteElectron> obviously using your paths [22:50:02] <MinuteElectron> mib_leh01sim: [22:50:02] <MinuteElectron> mib_leh01sim: [#mediawiki] [22:50:19] <MinuteElectron> mib_leh01sim: http://en.wikipedia.org/w/api.php?action=login&lgname=user&lgpassword=password - with you rusername and password [22:50:20] <MinuteElectron> sorry aout the space [22:50:23] <Wiredtape> MinuteElectron, right.. ok. give me a sec, let me check.. thanks.. :) [22:50:32] <MinuteElectron> Wiredtape: no probs [22:50:37] <mib_leh01sim> MinuteElectron: yup trying that right now [22:50:41] <mib_leh01sim> keep you updated [22:50:49] <MinuteElectron> :) [22:54:31] <CIA-43> 03sanbeg * r31409 10/trunk/extensions/LinkSearch/LinkSearch_body.php: also full IP with unknown port [22:56:29] <CIA-43> 03skizzerz * r31410 10/trunk/phase3/ (RELEASE-NOTES languages/messages/MessagesEn.php): * (bug 13147) Description for categoriespagetext (used in Special:Categories) reworded [22:56:44] <wikibugs> 03(FIXED) Inaccurate description for Special:Categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13147 +comment (10skizzerz) [22:57:41] <Wiredtape> MinuteElectron, hmm.. this is really weird :-\ it worked "live", but didn't work locally [22:57:46] <Wiredtape> it might be permissions afterall .. [22:58:46] <Sundance_Raphael> n8 [23:04:05] <MinuteElectron> Wiredtape: yup [23:05:46] <Wiredtape> MinuteElectron, man, i've been dealing with this all day! you saved my day.. let me buy you a beer ;) [23:08:35] <MinuteElectron> Wiredtape: my pleasure :) glad it worked out for you [23:08:52] <Wiredtape> ;) thank you.. [23:09:10] <MinuteElectron> yw [23:09:21] <Wiredtape> now to only figure out how to make localsettings without shutting the sitedown for a couple of minutes [23:09:47] <MinuteElectron> just duplicate the old one and tailor it for you own needs [23:09:49] <wikibugs> 03(mod) & in page titles is not appropriately escaped in various cases - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3243 (10Doodle777) [23:10:03] <Wiredtape> MinuteElectron, yeah, that i know.. the only issue is making the tables :) [23:11:17] <MinuteElectron> Wiredtape: maintenace/tables.sql [23:11:47] <Wiredtape> MinuteElectron, is that it? [23:12:03] <MinuteElectron> i think, one moment [23:12:36] <Wiredtape> yeah, atleast from the description on the top [23:13:26] <MinuteElectron> yeah, there are no rows that *need* pre populating into the database so tables.sql is a good name [23:13:29] <MinuteElectron> it shoudl do the trick [23:14:05] <Wiredtape> but, unfortunately there's no way to easily run it :-\ unless mysql discared "--" as comments? [23:14:32] <MinuteElectron> it should do [23:14:44] <MinuteElectron> that is the comment syntax [23:14:54] <Wiredtape> there's /* in there as well [23:15:28] <MinuteElectron> i think they are comments too, if you have access to phpmyadmin you should just be able to paste it in; but i'm sure the mysql client will work just as well [23:15:41] <MinuteElectron> oh yeah, /* is comments, i remember about them on the toolserver [23:15:52] <Wiredtape> :) ok, will try and report.. [23:15:56] <MinuteElectron> good luck [23:16:43] <Wiredtape> last question before i run it, is how do i set it to InnoDB? or does it do that by itself? [23:17:15] <MinuteElectron> it should do it by itself, in the table definitions [23:17:34] <Wiredtape> ahh.. no prefix.. [23:17:45] <Wiredtape> it worked, but without the prefix :) [23:17:48] <MinuteElectron> you can declare some tables as innodb and others as myisam [23:17:50] <MinuteElectron> gdgd [23:18:58] <Wiredtape> they are all declared as myisam as well .. maybe it's just easier to use the installer real quick.. and one day to ask brion what his automated script does to create language wikipedia's or other stuff.. [23:19:25] <MinuteElectron> myisam shouldn't cause a problem [23:19:41] <MinuteElectron> i thought innodb was just for search indexes or the tables that need to be very efficient [23:20:20] <MinuteElectron> and you can always make changes based upon your existing databases schema [23:20:21] <mib_leh01sim> WiredTape, is that your site? http://en.wiredtape.com/wiki/Main_Page [23:20:36] <Wiredtape> well right now it isn't.. but yess [23:20:49] <mib_leh01sim> lol anyone can set it up ;) [23:20:55] <Wiredtape> i know [23:21:00] <Wiredtape> which is why i'm trying to do it quickly [23:21:03] <mib_leh01sim> ok [23:21:25] <Wiredtape> but, no one can *really* set it up.. they need mysql user and pass [23:22:10] <mib_leh01sim> MinuteElectron ok got the editoken... unfortunatly can't seem to be able to reuse the edit token in the Vodafone API... will try more [23:22:17] <mib_leh01sim> thanks for you help!! [23:22:21] <MinuteElectron> yw [23:22:29] <MinuteElectron> good luck [23:22:34] <mib_leh01sim> cheers [23:23:12] <Wiredtape> mib_leh01sim, you can check out my site now :) [23:26:16] <mib_leh01sim> hehe [23:26:19] <mib_leh01sim> very nice! [23:26:34] <Wiredtape> thank you :) [23:26:38] <Wiredtape> and now in italian too [23:26:51] <mib_leh01sim> design is clean and colors well arranged [23:26:57] <mib_leh01sim> very useful info :) [23:27:21] <Wiredtape> mib_leh01sim, thank you so much! you should know that that is very nice to hear [23:27:26] <Wiredtape> i've been working hard :) [23:27:27] <Wiredtape> i wonder why the interwiki extension comes prefilled with all this crap ... [23:28:04] <mib_leh01sim> shouldn't you put a link on the main page to the italian version? [23:28:20] <Wiredtape> i am.. i'm fixing the interwiki links first.. [23:28:46] <Wiredtape> MinuteElectron, also, now that i think about it.. what do i do when i need to use update.php (maintenance) ? how would i specificy which db? [23:29:54] <mib_leh01sim> who should be notified of this problem: http://svn.wikimedia.org/viewvc/mediawiki/branches/apiedit/ [23:30:45] <Wiredtape> mib_leh01sim, i would say RoanKattouw if he was here.. or file a bug with bugzilla [23:31:29] <mib_leh01sim> cheers [23:34:48] <dpotte1> Hi all. I am upgrading from 1.5.3 on Windows to 1.11 on Linux, and I have a couple of questions. [23:35:07] <Wiredtape> dpotte1, shoot :) [23:35:22] <dpotte1> In general, is it a better approach for me to copy the databases over, and then run the Mediawiki upgrade script, or might I do a better job by installing 1.11 fresh and then porting the content (possibly via XML) [23:37:00] <MinuteElectron> Wiredtape: you have to do hacks in update.php [23:37:26] <Wiredtape> MinuteElectron, just change it? [23:37:30] <MinuteElectron> Wiredtape: you could just create a copy of the code in a test directory and run the installer to update it [23:37:39] <MinuteElectron> that way you can specify database etc. [23:38:15] <mib_leh01sim> dpotte1 I would say upgrade script from mediawiki after checking the requirements at : http://www.mediawiki.org/wiki/Manual:Upgrading#Check_requirements [23:38:30] <mib_leh01sim> because the schema is most likely different [23:38:33] <Wiredtape> MinuteElectron, i'm not sure how that would work.. just copy it, make a localsettings.php with appropriate db and thats it? [23:39:27] <MinuteElectron> Wiredtape: no [23:39:37] <dpotte1> thanks [23:39:43] <MinuteElectron> Wiredtape: just create a seperate mediawiki directory and run the installer again [23:39:53] <MinuteElectron> no need for localsettings, you can add them using the form [23:40:06] <MinuteElectron> just pick the database you want to upgrade [23:40:35] <MinuteElectron> but, goodnight [23:40:36] <Wiredtape> MinuteElectron, i don't think i'm getting it :-\ [23:41:13] <MinuteElectron> ok, well if you don't work out a way by the time you go to sleep pop me an e-mail and i'll rpely [23:41:24] <MinuteElectron> minuteelectron@googlemail.com [23:41:36] <MinuteElectron> now i really have to go, goodnight [23:41:37] <Wiredtape> ok.. thanks, goodnight [23:46:49] <kibble> /hide [23:49:42] <kirby|busy> fail [23:50:52] <kibble> :-| [23:51:18] <wikibugs> 03(NEW) Hook: TitleMoveComplete, Wrong Page ID present - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13204 minor; normal; MediaWiki: API; (darien.hager)