[00:04:15] thanks [00:04:33] I'm confused about the role of the template argument size limit [00:05:06] Actually, I'm confused by en:User:CBM/Sandbox4 [00:34:55] Anyone have any success getting MediaWiki to work with godaddy.com? [00:36:06] tried googling? [00:36:12] i'm pretty sure it's possible [00:36:12] yes [00:36:25] Yeah, I have it installed and it mostly works okay [00:36:32] what's your issue? [00:36:42] MediaWiki can't email people [00:37:26] ah, and when I have $wgUsersNotifedOnAllChanges set, I get an "Internal Server Error" after editing an article [00:38:46] The main issue I found from googling were installation troubles where people had to add lines to .htaccess to assure godaddy was using php5 instead of php4 [00:39:30] I tried that just in case, but it didn't work which I suppose would be normal since I don't know if the underlying issues are the same [00:41:09] Hey. Where does one change the page to which one is taken by clicking on the logo? [00:42:27] UUggghhh: is it true you don't have shell access on the hosting server? [00:42:45] do you guys know why this image isn't like working? http://meta.melbyemedia.org/Image:Broom_icon.svg [00:42:56] it's just a circle, but if you click on it, it's the real image [00:43:34] carl-m: It's true that I don't have shell access, but I am able to change permissions on files [00:44:14] UUggghhh: my concern would be how their mail system is configured, and how mediawiki is configured to try to send mail [00:44:40] yeah I tried searching MediaWiki's site to figure out how it's trying to send email but could't find that anywhere [00:45:06] guess I'll look again [00:45:29] UUggghhh: looks like its in UserMailer.php [00:46:30] http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_customize_the_URL_of_the_logo_in_the_top_left_corner_when_you_click_it.3F [00:46:49] thanks! I'll have a look at that [00:47:29] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10Simetrical+wikibugs) [00:48:29] UUggghhh: http://www.mediawiki.org/wiki/Extension:Email_notification#Prerequisites [00:48:42] UUggghhh: it looks like you have to have a mail() php function that already works [00:50:45] hm [00:51:12] at this point this is beyond what I'm familiar with [00:51:43] godaddy has a php file which can be used with html
s,.. [00:51:50] does that tell you anything? [00:52:01] sorry, no [00:52:06] ah [00:53:30] UUggghhh: look at http://forum.mamboserver.com/showthread.php?t=22093 [00:54:11] I don't know if it will solve the problem but it seems related [00:54:30] thanks [00:55:33] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 +comment (10Simetrical+wikibugs) [00:57:03] Anyone here feel like helping someone who knows very little about mediawiki get stuff working? [00:57:19] !ask | Razorflame [00:57:19] --mwbot-- Razorflame: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [00:57:52] Razorflame: you are just installing it? [00:58:02] or you already installed it but it didn't work? [00:58:21] carl-m:are you familiar with editthis.info? [00:58:57] no [00:59:07] ah [00:59:57] How do I change the text saying No page with [[this exact title]] exists, trying full text search. from saying this exact title to the page I am trying to create? [01:01:28] Razorflame: ask that again? [01:02:16] When I search for a page, it says this: No page with this exact title exists, trying full text search. I want to change to part that says this exact title to the page that was entered into the search [01:03:33] Razorflame: If you look in Special:Allpages on that wiki, you'll find it in MediaWiki:Nogomatch [01:03:45] Thank you [01:04:15] Razorflame: that message is completely different on modern mediawiki though - that one is running mediawiki 1.5 [01:04:44] I think I got it fixed though [01:05:03] great [01:05:13] hold on though, let me check [01:10:16] carl-m: I'm thinking maybe this $wgSMTP setting can help me out. Looking into that.. [01:20:47] carl-m: well that got me a different error [01:21:13] says it can't find Mail.php [01:21:48] ah it says requires PEAR's mail package.. [01:21:51] of course it does [01:22:37] I guess that'll be hard to install without ssh access [01:25:24] UUggghhh: I think you can just copy over the php files for PEAR [01:25:29] no real installation [01:26:15] alright [01:33:59] carl-m: placing that PEAR mail package in the right place got rid of the error, [01:34:04] still no email message yet though! [01:34:22] email is painful [01:34:28] maybe the smtp settings are wrong [01:34:49] there's the issue of (1) the settings on mediawiki and (2) the settings on the mail server [01:34:56] the server has to be configured to relay mail for you [01:35:20] I'm sure what relay mean. But I can use a godaddy email account in outlook [01:35:33] then it's probably a matter of tweaking the mediawiki settings [01:36:40] UUggghhh: you have the docs for wgSMTP? [01:38:29] http://www.mediawiki.org/wiki/Manual:%24wgSMTP [01:38:45] I'm not real sure what to set for "host" or "IDHost" [01:39:48] host should be the mail server, and idhost the host where your wiki is [01:42:12] so host should be the url, like www.something [01:42:15] ? [01:42:25] I mean [01:42:30] idhost.. [01:43:04] yeah, www.yourdomain.com [01:43:09] cool thanks [01:46:46] that is, NOT a url. [01:46:58] (a url would have http:// or something up front) [01:47:08] (and maybe a path and/or a query string at the end) [01:47:22] what he wants there is not a url [01:47:38] Hi everyone [01:47:41] hi [01:48:07] carl-m: indeed. [01:48:47] I recently ported my wiki from one server to another and the URL has changed. Everything went just fine except all the images are broken, they're looking for the old path instead of the new one, and of course it doesn't exist on the new server. Does anyone have any ideas how I can fix it? :-/ [01:49:43] KrisWood: check that $wgUploadPath and $wgUploadDirectory are set correctly [01:50:02] (the former being a web path, the latter a file-system directory. both should be absolute) [01:50:33] thanks! Now I just need to remember what file that's set in :) [01:50:49] LocalSettings? [01:51:10] 03(NEW) Blocking and tagging from checkuser interface - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12808 15enhancement; normal; MediaWiki extensions: CheckUser; (mapellegrini) [01:51:11] that's where I looked but it's not in there :-/ [01:51:36] 03(mod) Imagemap double-escapes URL and title in external links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12806 summary; +comment (10tstarling) [01:51:39] got it [01:51:42] defaultsettings [01:51:51] *KrisWood bangs his head on the desk and fixes it [01:52:07] sorry for bothering you all, dunno why I modified the default settings back when I first set this up [01:52:09] *KrisWood sighs [01:52:12] thanks :D [01:52:13] KrisWood: do not edit defaultsettigns [01:52:16] !config [01:52:16] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , [01:53:00] KrisWood: i guess learning the hard way is learning it good :P [01:53:03] I don't think I've installed PEAR correctly [01:53:25] so I just put $wgUploadPath = "/path/"; in my localsettings? [01:53:33] yea [01:53:45] carl-m: thanks for your help. I think I made progress. [01:53:48] break time though [01:53:55] no problem [01:54:08] ok folx, i gotta sleep [01:54:10] cu [01:57:41] any extensions to delete accounts ? [01:58:40] http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete [01:58:51] 03tstarling * r30178 10/trunk/extensions/ImageMap/ImageMap_body.php: Bug 12806: fix double-escaping in external links [01:59:13] That only deletes after you merge [01:59:49] woot, all images fixed now that it's set in localsettings.php instead of defaultsettings.php [01:59:59] thanks for all the help have a good night! [02:01:12] http://www.mediawiki.org/wiki/Help:FAQ#...is_it_a_good_idea_to_keep_user_accounts.3F [02:02:45] how do i check if a certain Template parameter was set, if it was, return a bit of code with the parameter in it, if not, return a default code [02:04:43] {{#if:{{{param|}}} | stuff with {{{param}}} | default code}} should do it [02:04:46] 03(FIXED) Imagemap double-escapes URL and title in external links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12806 +comment (10tstarling) [02:04:59] thx [02:05:14] is it okay to do a
tag with a bunch of stuff in it on that? [02:10:27] yay. bug fix :) [02:11:32] chuck: should be fine [02:24:57] MZMcBride: hmm i'm making the template like this: [02:25:01] {{Infobox [02:25:06] | title = blah [02:25:10] | content = blah [02:25:12] [02:25:13] some [02:25:14] options [02:25:16] [02:25:17] }} [02:25:37] but the inputbox doesn't work correctly (the options aren't being looked at), any idea why? [02:25:39] i'm not sure inputbox works in templates like that [02:25:49] you need the new parser function #tag [02:26:22] please tell me that's included in the parserfunctions i'm using "/svnroot/mediawiki/trunk/extensions/ParserFunctions" [02:26:58] it's part of core [02:27:02] i think.. [02:27:05] what's #tag? [02:27:18] i've never heard of it [02:27:23] WP:VPT [02:28:00] ah [02:28:13] does #tag work fo everything? [02:28:23] like {{#tag:nowiki|some stuff}} [02:29:01] it works for certain tags [02:29:06] nowiki, ref, imagemap, inputbox [02:29:14] not for dpl though? : [02:29:15] :( [02:29:22] it doesn't work for nowiki [02:29:27] yes it does [02:29:33] well then my test was weird [02:29:39] {{#tag:nowiki|test with }} [02:30:08] does #tag allow attributes? [02:30:16] like {{#tag:ref|name=foo|(ref contents)}} [02:30:50] hmm... {{#tag:nowiki|test with ''foo'' }} works [02:31:28] MZMcBride: how does it work with inputbox [02:31:46] {{#tag:inputbox|}} [02:31:49] i think [02:32:50] but how do you specify parameters? [02:33:20] chuck: everything that goes between and goes where he had '' [02:34:10] so like {{#tag:inputbox|type=comment buttonlabel=blah}} or what? [02:34:17] no idea [02:34:28] MZMcBride, you can stop running that script for the image clean, I'm doing it [02:34:42] Monobi: why? [02:35:02] my bot is cleaning up those proteinboxbot edits [02:35:20] what's your bot's name? [02:35:35] and why wouldn't you just let the script finish? [02:35:45] Doesn't matter, you can do it if you want [02:36:08] oh, i don't mind; i just don't want to script to suddenly start spewing no changes found errors at me [02:37:30] s/to script/the script [02:37:43] inputbox doesn't seem to be working :-( [02:38:40] it's not even working on the mediawiki wiki [02:39:13] type=comment doesn't work [02:39:32] http://test.wikipedia.org/w/index.php?title=Sandbox&stable=0 [02:39:41] for chuck ^^ [02:40:23] yeah i got {{#tag}} working, but comment isn't working :-C [02:47:43] 03(NEW) Inputbox Comment Function Flawed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12809 major; high; MediaWiki extensions: Inputbox; (charlie) [02:50:03] Monobi: are you going in any particular order? [02:50:22] MZMcBride, most recent uploads, see [[User:MonoBot/log]] [02:50:33] it's a big page [02:50:39] might crash your browser [02:51:04] meh. not even close [02:51:18] I can make it bigger XD [02:51:18] 03laner * r30179 10/trunk/extensions/SmoothGallery/ (4 files): [02:51:18] * Added ability to save galleries in the database [02:51:18] * Added multiple fallback modes, including: [02:51:18] ** Fallback to image [02:51:18] ** Fallback to image with warning [02:51:19] ** Fallback to image gallery [02:53:00] Monobi: your list is bad; the PB Protein ones don't use the same tags [02:53:16] and the most recent uploads are all fixed [02:53:34] [[WP:BOTREQ]] [02:53:43] Operator asked for that replacement [02:54:51] "We've changed the bot so that all future uploads will be correct" <-- that was my point [02:55:04] oh [02:55:09] well, I got the last 5000 pages [02:55:14] some of them are bound to be screwed up [02:55:21] *MZMcBride realizes [02:55:21] page/uploads [02:55:39] i got the full list last night [03:00:10] Monobi: so, are you going to keep doing these? [03:00:17] no [03:00:20] I stopped [03:00:57] *MZMcBride learns to read timestamps :) [03:01:04] :) [03:17:13] What part of smtp.php did I not setup correctly to get the error "Database Error" "UserMailer::NotifyOnChange" "MySQL returned error "2006: MySQL server has gone away" ? [03:20:37] 03(mod) Use transclusions to count articles as well - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11868 +comment (10wikt.3.connelm) [03:21:41] UUggghhh: nothing, unless smtp.php has its own database configuration [03:23:09] a good point [03:23:17] is there a MW function to increment/decrement site stats? [03:23:47] *Werdna giggles. [03:23:49] read the bug. [03:24:28] I am having a problem using StubManager and ExtensionManager I have to comment out StubManager to get the page to render otherwise its just white. Heres a few details http://pastebin.com/m5721fa58 . Any thoughts? [03:25:05] Infurnus: White page is a PHP fatal error w/ error display turned off. [03:25:39] Infurnus: f/ probles w/ any extensions under the BizzWiki umbrella (like StubManager), contact the extension dev on the extension's talk page. [03:25:59] kk [03:26:01] thanks [03:26:04] np, gl. [03:26:41] !errors | Infurnus [03:26:41] --mwbot-- Infurnus: To see PHP errors, add this to the very top of LocalSettings.php: error_reporting(E_ALL); ini_set("display_errors", 1); Fatal PHP errors usually go to Apache's error log - also check the error_log setting in php.ini (or use phpinfo). For more details in wiki error reports, set $wgShowExceptionDetails = true; and $wgShowSQLErrors = true; For full debug output, set $wgDebugLogFile to some path you like. [03:26:53] he'll need the actual error. [03:27:05] and if it's the classic memory error, youc an just increase it yourself. [03:29:08] Awesome! errors make it just a little bit easier :p [03:29:45] a MB is 1024 * 1024 [03:29:50] or 1024*1000? [03:30:14] actually MiB [03:30:50] http://en.wikipedia.org/wiki/Mebibyte [03:30:57] i always get confused when it comes to MiB/MB [03:31:58] 03tlaqua * r30180 10/trunk/extensions/UserMerge/ (UserMerge.php UserMerge_body.php): * Fixing undefined variable warnings [03:32:44] oh nice [03:33:19] so MiB = 1024*1024, and MB = 1024*1000, am i understanding this correctly? [03:33:26] math is hard [03:33:31] Zach: MB can mean anything [03:33:41] 1000 * 1000, 1000* 1024, or 1024*1024 [03:34:01] Zach: usually, consider the contesxt. [03:34:04] context* [03:34:14] if it's a computer, it'll usually mean 1024*1024 for MB [03:34:25] unless it's a hard drive [03:34:27] if it's an ad for a hard disk drive, it'll usually mean 1000*1000*1000 for GB [03:34:58] Generally speaking, MB means 1024*1024 [03:35:10] formally speaking, MB is 1000*1000 and MiB is 1024*1024 [03:35:14] but nobody follows that [03:36:32] Is there a wiki function to force ss_users and ss_admins to recalculate? [03:36:39] er... MW/php func [03:45:04] Remember back when rap songs would throw pager and phone ring noises in to the songs and it'd constantly confuse you? [03:45:26] I swear I just heard a song w/ the Outlook mail notification sound as part of the hook. [03:45:40] haha [03:45:42] hpw sad [03:45:44] how sad* [03:46:20] alright I put that 'display errors' stuff in my LocalSettings.php and now I have the statement that's causing the error [03:46:44] I don't think that's the root of the problem though since everything except sending mail seems to work fine [03:52:17] Hey. I've had some sleep so am willing to give mediawiki another shot. For those of you that don't know my progress so far: I'm being met with authentication errors in every direction, and LocalSetitngs.php isn't being created in ./wiki/config/ even though that folder DOES have write access AND I can write to it as the wiki user. [03:52:22] Now what...? [03:53:10] I think we need a bit more detail [03:53:18] what authentication errors are you receiving? [03:54:36] 03tlaqua * r30181 10/trunk/extensions/UserMerge/ (UserMerge.php UserMerge_body.php): * Added recalculation of ss_users and ss_admins following delete [03:55:23] hello all, I'm back again with another wiki problem :) [03:56:02] I was updating some articles adding images to them, and while uploading one of the images the wiki slowed to a crawl and then stopped responding altogether [03:56:17] I checked the server stats and it's suddenly maxing out its memory :-/ [03:57:32] so I guess my question is, how do I kill that last image I uploaded so my mediawiki can get back the way it was before :-/ [03:57:52] ooooh it finally loaded after five minutes :( [03:58:12] running your sql server on the same box? [03:58:29] yeah [03:58:33] big wiki? [03:58:48] very very strange, I deleted the image from within the wiki and it's all lightning fast gain [03:58:50] again* [03:58:55] no, I've got a whole five pages [03:58:57] heh [03:59:05] so far anyway :) [03:59:13] *TimLaqua shrugs [03:59:45] any idea what would cause this? :-/ [04:00:01] too many variables in play. ;-) [04:00:30] if you reupload the exact same image do you experience the same resource utilization? [04:01:41] nope, no lag [04:01:50] eh. chalk it up to coincidence. [04:03:13] indeed [04:03:19] maybe a bad uplode :-s [04:03:32] ya [04:05:44] oh well, thanks for the suggestions :) [04:07:35] np ;-) If you can reproduce, we can troubleshoot. otherwise, it's like throwing pennies in a lake. [04:34:18] 03(NEW) Special:Linksearch should default to all protocols - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12810 15enhancement; normal; MediaWiki extensions: LinkSearch; (sco_scam) [04:51:06] what do I need to enable on my wiki? what extension(s) ? [04:58:27] Monobi: Look on the wiki page "Special:Version" on a wiki that has it; it's something like GeSHi highlighting. [04:58:41] Parser functions, I found it [04:58:57] er, or maybe that ;) ? [04:58:58] No, it's a different extension. [04:59:21] ParserFunctions adds simple programming, like {{#if}} and {{#switch}}. [04:59:34] *Pathoschild will be back in a few minutes. [04:59:35] Yeah [05:00:38] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12773 +comment (10random832) [05:07:15] flyingparchment: is #p-cactions { height: 1.5em } really necessary? without it, the tab bar wraps nicely [05:07:59] Anyone got some experience with sitemaps and wikifamily setups? [05:08:12] for pywikipediabot ? [05:08:35] [05:10:11] bf3.gamestrafe.com and bf2142.gamestrafe.com are the same wiki setup [05:10:54] in effect, they are the exact same wiki directory, but the database differs and the title. A script in the local settings and the skin change the db, and the CSS files to make it work fantastic [05:11:24] Now i am trying to make sitemaps for these pages... but the internal sitemap thing works with adminsettings and only on CLI [05:12:53] No! My wiki is dead :( [05:13:00] JigmeDatse, ? [05:14:08] Oh, sorry, wrong channel. [05:14:59] So is there a guide or something, somewhere about how to make the generating of sitemaps automatic in a good way for a wiki family? [05:15:16] What Monobi? [05:15:30] Sorry, bad ping :) . [05:15:41] I didn't ping. [05:16:07] I did, didn't mean to [05:19:05] i have these wierd problem. the my mediawiki vhosts is coming up with my main site. i dont see how that is possible but yeah, anyone else seen this? [05:19:30] what http you use? [05:19:38] this is apache2 [05:20:39] How do I create new navigation boxes on the left? [05:21:07] flaccid: happened all of a sudden or from the beginning? [05:21:17] josiah: edit "MediaWiki:Sidebar" [05:21:22] very simple in there :) [05:21:47] all of a sudden i think [05:25:09] flaccid: so it worked before? [05:25:32] um looks like a ServerAlias directive overriding. so my bad in apache [05:28:07] thought something like that :) [05:29:32] i don't know how to make the other one take precedence over the wildcard serveralias [05:29:45] i guess you can say this is an exception to the wildcard [05:30:32] use pastebin.com and paste your config there you use.. just the part that we are tlaking about here then give me the url and i take a look [05:33:36] Any ideas on how to get my changes to $wgLocalInterwiki to become active or take effect? [05:34:29] jmlane: where do you change it? [05:35:27] SimonMoon: LocalSettings.php [05:35:52] I'm have problems setting up the short URLs. MediaWiki is sitting in /var/www/Mediawiki-1.11.1 ... I've added Alias /wiki /var/www/mediawiki-1.11.1/index.php to my httpp.conf file, I've fixed localsettings.php as need and I reloaded apache. It's now returning a 404 error. [05:36:07] jmlane: at the end of it? And how does the code look you enter there? [05:36:31] Monobi: did you use the .htaccess file? [05:36:48] Er, no. What do I need to add to that file? [05:37:06] By default it is = $wgSitename, however once I changed it to a custom string "ggwiki", links so as [[ggwiki:article name]] just end up pointing to a new namespace Ggwiki... [05:37:16] Monobi: the actual thing that makes the short urls, sec :) [05:37:39] SimonMoon: originally the line read: $wgLocalInterwiki = $wgSitename; [05:37:54] I changed it to $wgLocalInterwiki = "ggwiki"; [05:37:59] jmlane: did you add it to the interwiki table? [05:38:23] SimonMoon: No, is that necessary? Also, will I find my old local interwiki as an entry in that table? [05:39:41] jmlane, use the interwiki extension [05:39:50] Monobi: put that into the .htaccess http://pastebin.ca/874297 [05:39:53] how do I require people to login to edit pages? [05:40:15] is that in the localsettings.php? [05:40:22] Monobi: I will check it out, thanks. [05:40:38] josiah, should be in the defaultsettings [05:40:39] jmlane: on installation, it uslaly adds it to the interwiki as far as i know.. you can look at the table and check. Look at the extension matrix for interwiki, there are a few extantions that will help you with interwwiki stuff [05:40:47] josiah: Yes, I think the variable is $wgWhitelistEdit, but let me check.... [05:41:00] josiah: there is an FAQ entry about it, let me find the link [05:41:17] $wgGroupPermissions['*' ]['edit'] = false; [05:41:22] SimonMoon, I'm not seeing the .htaccess file. Is it in the same dir as the httpd.conf ? [05:41:24] http://www.mediawiki.org/wiki/Manual:FAQ#How_can_I_prevent_editing_by_anonymous_users.3F [05:41:51] Monobi: you have to create that file yourself in the root of your virtual host [05:42:00] ah, in the apache2 dir ? [05:42:14] SimonMoon: thank you sir [05:42:21] thanks guys [05:42:43] Nikerabbit how can i search for a certain tring inside bw translations? [05:42:53] say tour host is "text.com" and the file "test.com/text.txt" lies in "/var/text.txt" then the file needs to be in /var/ [05:43:12] josiah: you are welcome [05:43:46] and what do I name it ? Isn't .htaccess the extension ? [05:43:48] I have noticed this with a couple of things but my localsettings.php file does not have a lot of these variables in it... is that normal and is it ok for me to just add "$wgGroupPermissions['*' ]['edit'] = false;" to the bottom of the page? [05:43:50] SimonMoon: Actually, in the interwiki table, there is no entry that is equal to the value of $wgSitename, which would have been the original $wgLocalInterwiki variable. [05:44:26] Also, pages like Community Portal still show up in the $wgSitename namspace, e.g.: $wgSitename:Community_Portal as the URL [05:44:30] Monobi: the file is called ".htaccess" thats the whole name [05:44:37] hm, okay [05:44:45] josiah: thats normal, these thigns are not in there by default, add it at the very bottom of the file [05:45:31] SimonMoon, you rock, thanks :) [05:45:49] Monobi: thanks :) I have my very own problems here i cant solve :) [05:46:00] Hey y'all [05:46:06] I've got some sort of upload problem going on for imports [05:46:11] but only in the case of a few pages [05:46:19] See the description, specifics, and code here: http://pastie.caboo.se/143973 [05:46:19] SimonMoon: thank you... ok I added that now when they click edit an are not logged in this displays: "The action you have requested is limited to users in the group user." How do I change that to say something else like this: "You have to log in to edit pages." and have log in linked [05:46:29] jmlane: that i beileve is part of the MediaWiki namespace that gets populated on installation [05:46:30] Anybody can tell me what's up? I think it may be a MediaWiki bug... [05:46:41] SimonMoon: oh sorry for messaging that question to you specifically [05:47:02] SimonMoon: what was your problem? [05:47:22] josiah: I believe thats also in the mediawiki namespace, look through the special pages and there is one about all messages or so [05:47:32] josiah: Special:Allmessages [05:47:46] thank you again :) [05:47:51] josiah: then use ctrl-f in your browser to find the specifi one - like 'ctrl-f, the action you have request is limited' [05:47:54] josiah: or whatever [05:48:12] hehe ddowiki :) dungoens and dragons? [05:49:08] SimonMoon: Dungeons and Dragons Online. Horrible game, if you ask me, but I made the mistake of starting a wiki for it like 2 years ago. [05:49:26] elliottcable: i get this right, you try to import data from a 1.9 wiki into a 1.2 wiki ? [05:49:28] SimonMoon: Now the users are clamoring for a mediawiki upgrade and faster server, so I have to deal with the repurcussions of that, even though I hate the game >.< [05:49:38] SimonMoon: 1.12, not 1.2 [05:49:40] haha oops [05:49:51] Updated the paste, my bad d-: [05:49:54] update to 1.11 [05:50:02] I'm on 1.12, not 1.11 [05:50:03] lol [05:50:16] 1.12 is development, i would not recommend using it on a stable platform :) [05:50:29] SimonMoon: Sorry, what exactly is part of the MediaWiki namespace that is autopopulated on install? I don't quite understand what I should be looking at. [05:50:33] I've been running fine on dev releases for a long time d-: [05:50:40] jmlane: all of it [05:50:49] jmlane: Special:Allmessages go there and search for the message in the texts there [05:50:53] jmlane: look at Special:Allmessages on your wiki, those are all created on install [05:50:55] you can edit it there [05:51:10] That is relevant to my problem though.... [05:51:16] Irrelevant :-S [05:51:20] jmlane: what' [05:51:23] s the problem? [05:51:26] elliottcable: not doubting you, just saying that your chances are better to encounter an error like this with dev versions :) [05:52:01] SimonMoon: haha, I guess. But I'm sure most of the people smart enough with computers to be using IRC, are good enough to deal with whatever problems are in a dev release, so most of the people in here will be on 1.12 themselves. [05:52:10] That's always been the case before with IRC channels, in my expierence [05:52:41] elliottcable: I've changed the $wgLocalInterwiki variable in LocalSettings.php from the default of $wgSitename to a string "ggwiki", however links to ggwiki:article_name attempt to create a new page in the ggwiki namespace, instead of the articles on my wiki. [05:52:48] i am only ever going for the stable ones.. running too many wikis and having too many idiots arond that like nthing better to do than break stuff :) [05:53:07] Also, things like Community Portal, are still showing as $wgSitename:Community_Portal as their URL. [05:53:09] jmlane: got an url for that wiki? [05:53:20] Sure, http://www.thegillgang.org/wiki/ [05:53:33] site not found [05:53:42] Sorry, http://www.thegillgang.com/wiki/ [05:53:44] Does someone want to point me to an article on how to properly organize a wiki site? I'm having lots of problems keeping things in order. [05:54:05] WizKid8586: do not know of such a thing.. it depends on what you do i guess [05:54:27] jmlane: you have to run the maintenance script to update namespaces. [05:54:48] WizKid8586: I would be interested in something similar too. I've just recently jumped on the wiki bandwagon, and I am not sure what are the "standard practices" when creating pages / managing content. [05:54:51] jmlane: that's all I can suggest, past that I don't know. I had that problem a while back, all i remember is that I had to run a database maintenance update script to fix it. [05:55:05] elliottcable: I definitely did not do that, as obvious as it might seem to do. [05:55:05] Haha [05:55:12] Wikiquitte is a complicated thing. [05:55:22] SimonMoon: Maybe articles on how to use templates/categories/etc ? [05:55:29] elliottcable: I enjoy complicated ;-) [05:55:42] jmlane:, SimonMoon, WizKid8586 - best i can suggest to y'all, go lurk moar at WikiPedia for a while, maybe try to climb up to sysop there - then you can get an idae of how things are done on a large wiki [05:55:44] WizKid8586: just teh standard stuff about them, but, look on meta, you might find more there [05:56:03] WizKid8586: We have some information on our wiki, but it's' really messy, and nobody ever updates it [05:56:16] Hehe, i have a very good understanding of how stuff works there :) [05:56:37] SimonMoon, WizKid8586, jmlane - if it helps you, you can check out http://meta.enterwiki.net/page/Policy, and it's supages... I don't know how much that would help though. [05:56:44] SimonMoon: haha ok then [05:56:50] SimonMoon: I was lumping you in with the other two, sorry. [05:56:51] but thats the thing, it works well for wikipedia, doesnt mean it works well for other projects [05:56:55] elliottcable: Thanks, might be worth taking a gander. [05:57:06] indeed, thanks all. [05:57:32] elliottcable: you running some wikifamily by chance? or wikifarm as it was called before? [05:57:33] SimonMoon: true, but a lot of the wikipedian practices are worth stealing [05:57:37] SimonMoon: Yep [05:57:49] SimonMoon: Or, was. I'm actually in the middle of downgrading the entire network to a single wiki, today, haha [05:57:59] Warpath, O.o [05:58:16] SimonMoon: Due to my inabaility to focus on the project, all the wikis except for one (which had an exceptionally good secondary steward) died for the most part [05:58:34] I am running a pretty neat setup right now, using an alias on different hosts. All runs on one code base and a localsettings and a skin file actually determine what to do based on the hostname [05:58:41] elliottcable weren't you having trouble with lighty ? [05:58:43] Another question, related to running the maintenance/update script: can you run them without the command line (on my server, php command line is php4 and I haven't figured out if I can access php5 from the command line)? [05:58:49] SimonMoon: Same was going on here, with some more magic too [05:59:03] alnokta: a looong time ago. I <3 my lighty, it works great now that i know what's going on [05:59:04] me o.O [05:59:10] elliottcable: well i am now trying to get sitemaps done for these... [05:59:29] SimonMoon: want my sitemap.php? I don't know where I got it, but it does a google sitemap for any mediawiki wiki [05:59:36] can someone help me with my mediawiki... it use to work fine.. but now when I go to localhost/mediawiki it just gives me directory listing of files instead of my wiki homepage... [05:59:43] elliottcable: what does it do? [05:59:44] jmlane: try the php5 command [05:59:53] jmlane: or try which php, and look in the path for another copy of php [06:00:10] SimonMoon: http://meta.enterwiki.net/sitemap.php [06:00:15] kury: what http server are you using ? [06:00:19] SimonMoon: actually, forget that, it looks like it broke long ago. Oh well, I only used it once d-: [06:00:27] elliotcable what was the cause of the blankage ? [06:00:27] elliottcable: tried php5 already, but I'll which php and see what is up. [06:00:32] elliottcable: [06:00:32] Notice: Use of undefined constant AV_NO_VIRUS - assumed 'AV_NO_VIRUS' in /usr/local/yR/enterwiki/meta.enterwiki.net/includes/DefaultSettings.php on line 246 [06:00:34] :) [06:00:37] Simetrical, apache [06:00:42] SimonMoon: I noticed right after I linked it, lol [06:00:55] Anyway, everybody: Does anybody know what might be going on here? http://pastie.caboo.se/143973 [06:01:10] kury: looks like the DirectoryIndex directive is not set correctly. look for it and add "index.php" in it [06:01:42] SimonMoon, where is this DirectoryIndex directive? [06:02:09] kury: httpd.conf usually [06:02:23] elliottcable: that line there is return File::getPropsFromPath( $fileName ); [06:02:40] If i see this right, then it cant see the File class [06:03:31] no that's not the line [06:03:31] Simetrical, humm I found the httpd.conf... but I'm not sure what I'm looking for... [06:03:44] I highly doubt that. That's a basic PHP extension or something, isn't it? Anyway, it only opens on the import of specific few pages. [06:03:54] OverlordQ: Hi, thanks for your help last night mate [06:03:57] 145 in 1.12alpha is: return new $class( $info ); [06:04:11] OverlordQ: incase I didn't thank you then, it was like 5AM or some such insanity, I can't really remember [06:04:12] then where is $class set? [06:04:16] np heh :) [06:04:18] sorry was looking at 1.11 [06:04:28] $class = $info['class']; [06:04:37] the function is newRepo [06:04:48] Hmmm [06:04:55] That has to be something to do with my filesystem repo setup. [06:05:01] jup [06:05:03] it's a bit odd, but it shouldn't come into play here, should it? [06:05:16] That's just something to check other places on the filesystem when doing [[Image:Foobar.png]], right? [06:05:26] I was doing it so my users could FTP up loads of images at once [06:06:00] it is based on localinfo, which is given to the class on construction [06:06:16] sowitout really really digging depe into the code i couldnt find where the problem lies there [06:06:34] SimonMoon, do you know what I would need to add to my httpd.conf to get my wiki back up & operational? [06:06:36] could probably turn on Profiling and sprinkle in a few mwDebug's [06:06:39] that's usually what I find to be the problem when a stack trace points at some part of the mediawiki code instead of my code [06:06:43] but localinfo as far as i remmeber is influenced heavy by things in your localsettings [06:06:45] means I'm screwed unless somebody in here can help me lol [06:06:46] or wfDebug or w/e the thing is [06:07:01] kury: search for "directoryindex" in the file, find that ? [06:07:05] SimonMoon, if I click on the index.php it just shows the php code... and not its html output.. [06:07:05] wow lots of people here [06:07:18] katiej88: always are [06:07:27] katiej88: you should see ##php or ##linux [06:07:29] SimonMoon, it doesn't exist.. [06:07:43] kury: then php is not installed even, or not properly [06:07:44] elliottcable: could tell you what I'd do, but it'd be nasty [06:07:59] lol [06:07:59] OverlordQ: I can't do nasty, if nasty means I have to get in and edit PHP code - I have 0 coding skills. [06:08:00] OverlordQ: harcode it in there? :) [06:08:04] ok so [06:08:13] correction, 0 PHP coding skillz. [06:08:16] I'm a mad ruby nut d-: [06:08:18] elliottcable: Heh, then I wont suggest it :) [06:08:22] elliottcable: id take 1.11.1 :) [06:08:29] how do you disable account creation ? [06:08:41] OverlordQ: Want to fix it for me? If it's fast, maybe I could give you some comission, 20$ or something? [06:08:41] Monobi: try the FAQ: [06:08:49] K. [06:08:50] http://www.mediawiki.org/wiki/Manual:FAQ [06:08:53] OverlordQ: if it's an hours long thing, eh, forget it, I'll wait for 1.12 to go fixed. [06:09:10] Monobi: it has that quesitons answered perfectly :) and lots others [06:09:13] I could look at it, but can't guarantee I could fix it lol :) [06:09:47] ok i was just wondering if there was any way to search for wikis, either through google, wikipedia, mediawiki... anywhere [06:10:01] hmm i just went trhough some code, i cant find a class "F" any where.. i wonder where it does get that from [06:10:32] katiej88: you mena like an index of all wikis? [06:11:24] simon moon yeah that would work.... for instance i wondered if anyone would know about "UMassWiki"s existence if they didnt already know about it.... does that make sense? [06:11:47] katiej88 searhc for "Powered by MediaWiki" and you find almost all wikis using mediawiki [06:11:59] http://www.mediawiki.org/wiki/Sites_using_MediaWiki [06:12:02] also a good resource [06:12:05] oh cool [06:12:11] dont get your question really sorry :) [06:12:27] simonmoon i think you answered it :) [06:12:37] What is the maintenance script that I need to run to update the $wgLocalInterwiki namespace? [06:13:07] jmlane: maintenance/rebuildInterwiki.php [06:13:17] SimonMoon: Thanks. [06:13:45] OverlordQ: you ever done a wikifamily and then made sitemaps for them? [06:14:02] Nope, sorry :-( [06:14:56] what's a good way to get an image's filepath through js? [06:15:01] SimonMoon, elliottcable, no dice with rebuildInterwiki.php [06:15:14] it's kinda hard with a hashed image directory.. :\ [06:15:16] OverlordQ: You could use NiceCategoryList on the wikis, and then scaryinterwikitransclusion to put them all on a metawiki... [06:15:25] OverlordQ: ever did something with sitemaps and wikis? [06:15:30] Zach: turn off the hasing? [06:15:49] OverlordQ: Can you PM me? [06:16:03] i would think there could be a way to do so without turning it off [06:16:12] elliottcable: if you dont want that wiki anymore and it has decent traffic, id take it :) [06:16:16] hmm this seems to be an incomplete list [06:16:36] SimonMoon: It has decent traffic, but it costs way more than it will ever generate. [06:16:44] can the file path be added to the javascript variables like wgServer and wgAction? [06:16:53] SimonMoon: The users have some aversion to clicking ads, and it currently costs me 72$/mo [06:16:55] katiej889: yes it always is :) [06:17:05] elliottcable: how come its so costly? [06:17:06] wgFilePath = "/w/images/a/ab/ImageName.jpg"; [06:17:08] SimonMoon: with the ads on, which they are not currently, it would still cost me maybe 50$/mo [06:17:15] SimonMoon: I'm on an Amazon EC2 instance [06:17:19] ewwwww [06:17:28] Was going to try that, never took the leap [06:17:28] i have my own dedicated server for les tha that :) [06:18:03] Yeah [06:18:10] Well everything else I do is on a network of EC2 instances [06:18:22] So I already have my system for managing them in order, and can deal with things easily this way. [06:18:32] Also, it's nice to be able to backup straight to s3 [06:18:36] It works. [06:18:48] Money's not really an object anyway, so it doesn't bother me. [06:18:57] Going to use s3 for backups too, but never got around to that either lol [06:19:24] dear MediaWiki developers, please make file paths available through javascript, such as: wgFilePath = "/w/images/a/ab/ImageName.jpg"; [06:19:35] elliottcable: your nickname rings a bell, you doing anythign else with games i should be aware of? I am doing the Gamestrafe network, among others bf2142.com :) [06:20:11] btw found the php script for sitempas i think you wanted to show to me: http://www.thinklemon.com/wiki/MediaWiki:Google_Sitemaps [06:20:45] SimonMoon: Nope, I'm not a gamer, hate games. I just used to be really into an alternative database/wiki concept for data, and Gaming was a convienent place to start my big revoluton of the internet [06:20:53] SimonMoon: then I got bored, as always, and it fell through, as always d-: [06:21:17] Well i am big into gaming, so if you dont want to deal with it anymore, let me know :) [06:22:13] SimonMoon: Do you play anything other than DDO? [06:22:56] Battlefield 2, 2142, when it comes out battlefield 3 :) I played pretty much every major mmorpg and a fw not so major one (if you know the game makind, then you relaly know the MMorpgs) [06:23:07] agh ok now its not letting me be katiej88.... oh whatever [06:24:36] also playing tons of other game sif i get the time to do so.. [06:24:47] mostly too bust wiht one thign or another :) [06:27:00] elliottcable: you allow private messages? [06:27:21] SimonMoon: Yep [06:27:25] SimonMoon: +6, even [06:30:23] This might seem like a dumb question, but when I am running maintenance/rebuildInterwiki.php, I am getting errors because rebuildInterwiki.inc is looking for stuff in "/home/wikipedia/common/langlist" which is definitely not on my filesystem; do those .inc files need to be customized for your server? [06:30:44] nope [06:31:03] might be because you are in a wrong directory, using a symlink [06:31:23] Ah, SimonMoon, I think you are correct about that. [06:32:40] Nope, same thing when I change directory to the full path. [06:35:40] fudge! [06:36:11] grrr, why can't
be instead
? [06:36:59] that completely scrapped that idea. [06:37:26] i guess i should be mad at javascript for not having getElementsByClass [06:37:31] jmlane: didnt you do an alias ? [06:37:46] look for that, like /var/www/medaiwiki-1.1whatever [06:38:32] I am on a shared host, so my install is localted in /home/$user/sitename.com/wiki/... [06:40:15] I am in the right directory, but the script is trying to find something in /home/wikipedia/common/langlist, which is definitely not where it should be looking. I am trying to trace through the code to find out where the global variable $langlist gets assigned, because that is where the problem lies. [06:40:46] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 +comment (10vasilvv) [06:44:49] how do you change a page name? [06:44:59] It is almost as if my mediawiki install thinks it is part of a wikifarm, because it expects to find something in "/home/wikipedia/..." [06:45:27] josiah: the 'move' tab [06:45:36] jmlane: Have you installed any extensions? [06:45:41] josiah, yoursite.org/Special:Movepage/Main_Page [06:45:46] MZMcBride: ah makes sense... thank you [06:45:47] damnit damnit damnit [06:45:49] Replacing Main_Page with whatever [06:45:56] jmlane: thank you [06:45:59] NP [06:46:07] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10voyagerfan5761) [06:46:10] amidaniel: No. [06:46:20] Zach: IIRC, there is a getElementsByClassName in wikibits.js [06:46:21] 03(mod) Namespace request for Wikibooks Turkish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12677 (10serhat.er.95) [06:47:04] I really don't think this should as difficult as it is becoming. [06:48:11] jmlane: Is this just a standard install? You haven't made any changes since you installed it? [06:48:12] getElementsByClassName is giving me an error [06:48:20] something like getElementsByClassName(document, "span", "mw-rollback-link"); [06:48:27] it returns an array [06:48:35] var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link"); [06:48:49] Error: oElm.getElementsByTagName is not a function [06:48:49] Source File: wikibits.js?105 [06:48:49] Line: 888 [06:48:53] wtf? [06:48:58] Zach: What version of mw? [06:49:18] Wait, getElementsByTagName or ByClassName? [06:49:22] r30164 [06:49:22] and there are getElementsByClassName functions available on the internet too [06:49:34] amidaniel: My friend originally installed it on another server. We decided to move it to my server. He had an older version, so I grabbed the latest mw, installed it, imported his database, ran the update script, made a few configuration changes. [06:49:50] His install was pretty basic, no extensions no fancy stuff. [06:49:55] var filePath = getElementsByClassName('fullMedia')[0].childNodes[1].href; [06:50:09] ugh, ugly ass javascrap [06:50:22] how do you change what page the logo directs to? [06:50:23] jmlane: Did you run rebuildInterwiki? That's likely the culprit here [06:50:24] hi [06:50:27] hi [06:50:29] it needs more parameters [06:50:45] amidaniel: That is exactly what I am trying to do, but I am getting an error while running that. [06:51:04] function getElementsByClassName(oElm, strTagName, oClassNames){ [06:51:05] so after >3 years. we went live with our new mediawiki based site.. my god.. how it took so long. and the help page is still empty.. [06:51:15] but we are live.. i wanted to share it with someone [06:51:16] :) [06:51:20] That script is attempting to open a file located at /home/wikipedia/common/langlist, which is a non-existent. [06:51:38] I'm wondering if someone could help me install http://www.mediawiki.org/wiki/Extension:Cite/Cite.php onto my personal wiki. I believe I've done everything it says to do on that page, but I don't get expected results. [06:51:54] jmlane: Okay, well rebuildInterwiki is really just for WMF installs afaik [06:52:09] well that's a little better now, but still not what i want [06:52:25] amidaniel: Oh, OK. [06:52:38] var filePath = getElementsByClassName(document, 'div', 'fullMedia')[0].childNodes[1].href is still returning undefined [06:52:39] amidaniel: You're just trying to seed your install with the interwikis that WMF uses? [06:52:41] I guess I should explain the original problem then. :-) [06:52:44] erm .. jmlane * [06:53:04] do you know if/when the api plans to support editing ? [06:53:21] As that's probably most easily done by dumping the table from the ts and importing it, which I'd be glad to do for you [06:53:25] Well, the dumping part at least :) [06:53:26] my current screenscraping bot using a perl module is tiresome ;-) [06:53:38] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10vasilvv) [06:53:40] Buzz_: It's getting there :) Slowly, but surely [06:53:47] amidaniel: great :) [06:53:54] Buzz_: What screenscraping are you having to do in editing though? [06:53:59] amidaniel: we have ~8000 bot edited pages [06:54:20] amidaniel: we combine a database with a wiki. with markers where the bot edits (no user edits in this are) [06:54:22] area [06:54:33] amidaniel: Not quite, I've changed $wgLocalInterwiki in my LocalSettings.php as I wanted a short simple local interwiki prefix. I've changed it, but links with the new $wgLocalInterwiki string "ggwiki" as the interwiki prefix don't work, and pages like Community Portal are still in the old $wgSitename namespace. [06:55:18] amidaniel: certain things like "getting category lists" we scrape. i know the api can do this now. buts its old perl. and also getting the "edit key" for editing etc [06:55:26] what/s the earliest still-open bug in bugzilla? [06:55:50] amidaniel: http://www.exotica.org.uk/wiki/UnExoticA is mostly bot generated [06:56:24] Random832: bug #1 probably [06:56:38] lol [06:56:48] "Our docs are teh suck. Fix them up." [06:57:00] would I be shot if I changed it to WONTFIX? [06:57:25] *amidaniel converts Random832 to teh shotted [06:57:36] Hehe [06:58:47] *Buzz_ waits for runjobs.php to progress ~10,000 pages.. [06:58:50] jmlane: Hmm .. that's probably gonna be a pain :) Two things you probably will need to do: run namespaceDupes.php and edit those pages manually [06:58:59] maybe my download template wasnt the best idea.. but [06:59:55] amidaniel: So this needs to be changed manually? If so, what is the point of the $wgLocalInterwiki variable. It seems misleading. [07:00:52] is there a way to find out how old the job queue is? [07:01:14] i.e. "all jobs from before [time] are done, jobs after this time are still in the queue" [07:01:22] Random832: With db access, yes [07:01:38] amidaniel: not otherwise? it'd be useful to have, when using temporary categories for maintenance work on templates [07:02:08] Random832: It's a semi-strenuous query, at least if it has to be run often [07:02:23] OK, so first item of importance: I want to change all pages in the old $wgSitename namespace to be in the $wgLocalInterwiki namespace. What is the best way to do this? [07:02:33] amidaniel: really? i wouldn't think it would be [07:02:38] jmlane: run namespaceDupes.php [07:02:46] Which does? [07:02:50] I mean, they go out in the same order they go in, don't they? [07:03:17] or is it random? [07:03:23] it shouldn't be random or some jobs might never get done [07:06:23] amidaniel: btw.. about the bot editing thing: here is an example of a page with "bot" mamnaged areas and human editable areas.. i admit it is perhaps not a normal use for a wiki, but for us moving from our old site it was a way to accomplish something.. see the markers in the wiki source http://www.exotica.org.uk/wiki/Leander [07:08:27] amidaniel: I am not clear on what namespaceDupes.php does after reading the help and looking for documentation. If I want to change articles in "Old_Namespace:A_Page" to "New_Namespace:A_Page", what parameters would I have to pass to this script? [07:10:26] amidaniel: Running it without any arguments results in no change / "looks good!" message returned. [07:15:01] to make life much more easier, can someone please add something like wgFilePath = "/w/images/a/ab/Foobar.jpg" to the javascript vars? [07:15:21] huh? [07:16:25] the full image path, make it easilly accessible via javascript [07:16:34] from article pages? [07:16:49] from image pages!! [07:16:59] oh, well that makes far more sense [07:17:01] :) [07:17:21] can't it easily be pulled from the link directly below the image? [07:17:36] i'm sure it could, but i cannot get it. [07:18:04] try #mediawiki-scripts ? [07:18:30] MZMcBride: Any chance you'd be able to help me with some interwiki / namespace troubles? [07:19:19] i could try [07:19:33] have you tried reading the source of the PHP file? [07:19:42] Cool, thanks. [07:20:54] Yeah. I don't really think it has anything to do with what I want to do, but then again, I don't know much about how MediaWiki works under the hood, so maybe I am expecting different results than what normally would happen when you change the $wgLocalInterwiki variable in LocalSettings.php [07:21:43] !wg LocalInterwiki [07:21:43] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgLocalInterwiki [07:22:08] what are you trying to do? [07:22:22] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 +comment (10dan_the_man) [07:23:27] I want to switch the default $wgSitename namespace that was created at install, to the $wgLocalInterwiki namespace (moving all articles from the old one to the new one) and allowing links on my wiki with the $wgLocalInterwiki prefix to link to articles on that wiki. [07:23:45] why this isn't working? /w/index.php?title=page&curid=46259&action=history&action=purge [07:23:59] I have a links section on my wiki: http://wiki.ourcs-cart.com/index.php/Links | I want to know if it is possible to have a vote box for the links under "Hosts" and then it displays links to the hosts in the most voted order. [07:24:16] I assumed changing $wgLocalInterwiki in LocalSettings.php would do this, perhaps after running a maintenance script or something, but that doesn't seem to be the case... Or I am running the wrong maintenance scripts. [07:25:34] alnokta: you have two actions [07:25:42] you can purge a page or view the history [07:25:47] anybody got some ideas on how I could do that? [07:25:50] you can't purge the history, that's just silly [07:26:05] I think I might be confused by the usage of the words 'LocalInterwiki' in the variable name, as in the interwiki table in MySQL, there is no mention to anything similar to $wgSitename, which is what $wgLocalInterwiki is assigned as default. [07:26:32] jmlane: ok. it seems you may be confused [07:26:40] namespaces and interwikis are entirely separate things [07:27:25] MZMcBride currently, it takes a while until the history is refreshed. [07:27:29] is there a way to force a user to use a real email address on 1.11 ? i read some stuffin changelog for 1.12 maybe relating to this ? [07:27:50] Buzz_: there's an extension ConfirmAccount i think [07:27:51] Right, but is it logical to assume that the install script might use the value for $wgLocalInterwiki to setup the Your_Wiki's_Name namespace when you install, e.g.: Your_Wiki's_Name:Community_Portal? [07:27:58] josiah: tried the Extension Matrix? [07:28:12] jmlane: interwiki has nothing to do with that [07:28:15] MZMcBride: didnt even know there was one :) [07:28:23] !extensions | josiah [07:28:23] --mwbot-- josiah: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [07:28:25] MZMcBride: thanks.. i will check.. [07:28:34] MZMcBride: bloody helpful you lot ;-) [07:28:53] jmlane: you want to change the name of your Project: namespace? [07:29:23] MZMcBride: So what does $wgLocalInterwiki do then? As links prefixed with its value on my wiki do not point to articles on my wiki.... [07:29:29] MZMcBride: Yes [07:31:24] set $wgMetaNamespace = [07:31:31] MZMcBride: do you know if 1.12 changes will make my need void in terms of verification of email addresses ? will i still need this plugin ? [07:31:56] 1.12 didn't change any e-mail verification options [07:32:00] an edit will always invalidate history cache, right.. why not undeletion doesn't invalidate it? [07:32:08] MZMcBride: ok thanks [07:32:15] alnokta: a refresh should do you just fine [07:32:38] jmlane: the Project_talk namespace will automatically be fixed when you set $wgMetaNamespace [07:33:27] Isn't it a security risk to have my LocalSettings.php file world readable since it has the password for the mediawiki database administrator in it? Is there any way to either not save the password in the file, or to restrict who can view it? [07:33:35] MZMcBride so it is just my cache? [07:33:48] alnokta: does a refresh work? sounds like client-side cache to me [07:34:03] john_smith_iii: LocalSettings.php doesn't have to be world readable. [07:34:20] john_smith_iii: you can move the password to another file, but something has to be able to read it [07:34:22] john_smith_iii: Unless your webserver is very poorly configured, it won't be served as text to the end user even if it is world-readable [07:34:50] jmlane: did it work? [07:35:22] 03(NEW) Image page "icons" for non-images are self-links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12811 15enhancement; normal; MediaWiki: Images; (zach) [07:35:37] MZMcBride: About to try that. Thanks for the help. But the question remains, what does $wgLocalInterwiki do if not setup an interwiki prefix for that local wiki? [07:35:44] amidaniel: The webserver is denying access to it, but I still don't like having world readable files with plaintext passwords in them. And if I don't make it world readable I get an error message regarding permissions of LocalSettings.php. One minute, and I'll go see what it says again... [07:36:17] MZMcBride i think it doesn't, i just waited.. [07:36:18] john_smith_iii: No need to worry. It's not a security risk. [07:36:27] jmlane: you've already asked your one question for the day ;) [07:36:43] MZMcBride: Haha, there is a one-per-customer rule, eh? [07:37:54] OK, here's the error I keep geting: http://www.pastebin.ca/874397 [07:38:14] What would be the proper location to follow-up on this? I was thinking about posting something in the talk page for mw:Manual:$wgLocalInterwiki, but I have a funny feeling that won't really get much attention. ;-) [07:38:16] john_smith_iii: what'd you do? [07:38:24] john_smith_iii: Yes, it needs to be readable by the webserver [07:38:32] john_smith_iii: It's *not* a security risk, however [07:38:33] jmlane: most certainly won't [07:38:45] jmlane: are you planning to have multiple wikis? [07:38:52] MZMcBride: Yes. [07:39:44] Once I figure out how to administer one well enough, I am going to attempt to "farm" at least two wikis from the same user tables... Probably ambitious of me, but I am sure there are ways to do that. [07:40:29] amidaniel: If one of the other users on the system get's their account hacked, and the file is world readable, then they would have administrator access to the mediawiki DB ... or is there some reason that nobody would be able to see it locally even though it's world readable? [07:40:52] !wikifarm | jmlane [07:40:52] --mwbot-- jmlane: To run multiple wikis, you do not need anything more than to run one wiki. You simply install them in different folders, and if possible using seperate databases. If you only have one database, simply use a different table prefix. For more advanced setups, see [07:41:02] (for later, obviously) [07:41:15] MZMcBride: Heh, thanks. [07:41:27] Bookmark'd [07:41:49] which one on that page used by wikimedia? [07:41:50] john_smith_iii: Well, you should have a user for apache. Apache should have read access to the file. No one else should except you [07:42:00] Another user should also not be able to su apache [07:43:06] amidaniel: So could I 'chown -R apache:apache /var/www/localhost/*' [07:43:09] ? [07:43:36] Well, probably chown -R :apache, but yes, that's the general idea [07:45:04] Could someone help me with my error with setting up this extension? http://www.mediawiki.org/wiki/Extension:Add_Article_to_Category#Code I get the preview but not the create article box. What I am seeing: http://wiki.ourcs-cart.com/index.php?title=Category:Installation_How-To&action=edit [07:45:10] amidaniel: If I used apache instead of my username, that would make it where only root and apache would have access to the folder and the files in it correct? And other people would be able to view the site and make edits/create accounts? [07:45:28] Yes [07:45:48] amidaniel: Thank you very much for all of your help. I really appreciate it [07:46:10] josiah: you'd probably be better off with inputbox [07:46:17] VasilievVV: ping [07:46:40] OverlordQ: pong [07:47:17] Question bout the FIleRepo stuff and svn says you've made some edits there *grin* [07:48:18] getting a "Class 'F' not found in /path/to/wiki/includes/filerepo/RepoGroup.php on line 145 [07:49:07] I guess you have some problem with configuration [07:49:15] which is in the newRepo function, liberally sprinkling some wfDebug in there [07:49:57] $wgLocalFileRepo? $wgForeignFileRepos? [07:49:59] Is it detrimental to setup an interwiki for the local wiki, using the same prefix as the Project namespace? [07:50:16] it occurs when it get's passed FSRepo as $info, and since it's not an array the $info['class'] does bad things to it. [07:50:21] MZMcBride: here is what i get... what did i do wrong? http://wiki.ourcs-cart.com/index.php/Installation [07:50:56] looks like you forgot to install the extension on the web server [07:51:09] josiah: Does wiki/extensions/inputbox/inputbox.php exist? [07:51:40] OverlordQ: It shouldn't pass FSRepo [07:51:46] oh i didnt create an "inputbox" dir in the "extensions" dir.... i just put the files in "extensions" [07:51:50] FSRepo is an abstract base [07:51:51] maybe that why :) [07:52:00] It should use LocalRepo... [07:52:00] :-) I would say so [07:52:31] VasilievVV: this gets triggerd when doing an Import :-/ [07:52:43] :( [07:53:32] $wgLocalFileRepo = false; from DefaultSettings, isn't overridden in LocalSettings [07:54:19] foreignfilerepos isn't changed either [07:54:32] alnokta: mmmm [07:55:03] MZMcBride: how do I set this up to create articles? [07:55:45] rtfm? [07:55:59] !e InputBox [07:55:59] --mwbot-- http://www.mediawiki.org/wiki/Extension:InputBox [07:56:01] Nikerabbit say, i want to find a certain word to change through the messages for consistency, so i enter it and it gives me all the messages it contains.. what do you think? [07:56:23] MZMcBride: I see how to create pages on that site but not articles [07:57:06] huh? [07:58:08] Here is what im trying to do lol. http://wiki.awkwardtv.org/wiki/Category:How-to | Make it so that people can create new articles in the list [07:58:38] can't they just click them and begin typing? [07:59:32] It doesnt add the article it just creates a new page... it must be something in the code... nm I will dig deeper into it :) [07:59:50] {{CATEGORY: }} perhaps? [07:59:55] sounds like you need to set up a preload [08:00:01] alnokta: in english? [08:00:23] or in language X? [08:00:42] Eeek... T_T I get more ideas than I can find enough external interest to complete... [08:00:57] nikerabbit in language x [08:01:10] grep? [08:01:17] *Dantman|FS now feels like rewriting [[Special:Interwiki]] because he finds both the code and interface ugly... [08:01:37] + $output .= wfMsg("smoothgallery-gallery-not-found"); [08:01:40] + $wgOut->addHTML( $output ); [08:02:06] mmm extensions have no idea of escaping [08:02:42] i meant as a feature in extension:translate [08:02:48] if only categories could say "1-200" of "20000" articles [08:03:09] is count() really soo expensive? not able to implement some caching solution [08:03:12] alnokta: po-export is the way currently [08:03:14] that big has been open for liek 4 years [08:04:13] Nikerabbit is there an import after i do the export? [08:04:27] manual cli import [08:04:57] ;) [08:04:58] After adding an something to the interwiki table, do you need to run a maintenance script or should new links on your wiki work with that new prefixes in the table? [08:06:31] bbl [08:06:58] jmlane: should just work [08:07:10] there are extensions for interwikis that make life much easier, by the way [08:07:37] MZMcBride: I thought so. MW probably doesn't like that I have an interwiki setup for that local wiki. [08:08:36] MZMcBride: I don't really need anything fancy. Rarely will I make changes to the interwiki tables, and I don't mind doing the SQL when I have to. Do these extensions offer anything that would be considered a must have? [08:09:04] well, they can offer an easy way to see all the interwikis [08:09:11] Maybe I am confused on what articles are.... This page is a category right? and everything linked inside of it is an article? http://wiki.awkwardtv.org/wiki/Category:How-to [08:09:27] josiah: yes [08:09:32] josiah: yeah [08:10:45] http://wiki.ourcs-cart.com/index.php/Category:Installation_How-To [08:11:02] so I dont know what I am doing wrong... or how I even added that Installation article that is there now [08:11:30] when i type in say SQL and hit create article it tries to create a page not an article "i think" [08:11:38] josiah: what exactly are you trying to do? [08:12:23] make it so that when people want to add another article to the current category they just type in the name of the article they want to create and click create article and it creates it [08:13:27] *SQLDb has really got to change his stalk-words [08:13:28] somewhere in that process they need to add content, though... [08:14:05] right... once they click create article it creates the new article and takes them to the edit page for that article they just created [08:15:02] josiah: where do you want users to type in the name of the article? Do you have an extension setup that adds an input box or something, or do you just want them to do it via the 'edit' menu or URL? [08:15:19] http://wiki.ourcs-cart.com/index.php/Category:Installation_How-To [08:15:31] using the inputbox extension [08:16:18] OK, well it works, minus your visitors have to log in to make any edits. [08:17:02] Also, since I didn't make an account, I don't know if a [[Category:Installation How-To]] link would be added by default to the page so it shows up under that category. [08:17:32] this is how I have it setup [08:17:33] But I am assuming not, because it doesn't show it in the source for the page I "created". [08:17:41] [08:17:43] type=create [08:17:45] width=42 [08:17:46] buttonlabel=Create Article [08:17:48] searchbuttonlabel=Search [08:17:50] break=no [08:17:51] [08:18:34] I dont know what im supposed to use for type... if its not supposed to be create [08:18:53] or if I am supposed to add editintro=category or what [08:21:38] am i making sense lol [08:22:27] Try leaving things as you posted, but add "preload=Installation How-To" [08:22:50] I suspect that will do what you want, but you may need to check http://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text [08:24:00] Arg... disgusting... they named the extension SpecialInterwiki, and gave the files that name... But used the folder name Interwiki... [08:26:13] jmlane: that didnt work... still creates a page instead of an article [08:26:45] how do you normally create an article in a category? [08:27:15] Try creating a page called "Template:Installation How-To/Preload" and add exactly what you want your user to see in the edit box after click create on that page. [08:27:51] You'll have to adjust "preload = Template:Installation How-To/Preload" afterwards. [08:28:21] jmlane: I dont want them to see anything in the edit box... i just want it to create an article instead of a page [08:28:28] I dont think I want prelode [08:28:40] So at the very least, on that preload page, you want [[Category: Installation How-To]]. [08:29:06] Well, you consider an "article" to be a page that is part of a category, right? [08:29:20] yes [08:29:50] OK, so you know that for a page to be part of a category, you need to add the [[Category:]] link at the bottom of that newly created page. [08:30:35] Where [[Category: Name of your category]] is the format. [08:30:45] right [08:30:56] so i do want a preload.... [08:30:57] lol [08:31:02] Exactly :-) [08:31:16] You just need to setup a preload page with that category link in it. [08:31:41] [08:31:43] type=create [08:31:44] width=42 [08:31:46] buttonlabel=Create Article [08:31:48] preload=[[Category: Installation How-To]] [08:31:49] break=no [08:31:51] [08:31:52] like that? [08:31:53] Might be useful to add some sort of placeholder text like "Write your article here..." if you have many wiki newbies on your site. [08:32:10] Actually, the preload variable is a page name. [08:33:02] So you create a page like Template:Installation How-To/Preload [08:33:16] ok [08:33:24] what do I put in the template? [08:33:26] And you put the [[Category: Installation How-To]] link in that Template:Installation How-To/Preload page. [08:33:33] ok [08:33:47] And make sure preload = Template:Installation How-To/Preload [08:34:42] That should do what you want. [08:35:53] so the only thing that should be written in the template edit page is: [[Category: Installation How-To]] [08:36:15] Well, at the very least you'll want that. [08:36:29] You can put anything else in there that you want to show up in the edit box on the newly created page [08:36:47] But that category link is needed to make the new page part of the Installation How-To category. [08:37:11] Write your article here... [08:37:14] [[Category: Installation How-To]] [08:37:29] Exactly. [08:37:32] cool [08:38:28] T_T There goes my favourite method of adding messages... [08:38:31] Now I am not sure how you would do it so that the template isn't shown as part of the category. [08:38:45] that worked perfectly... except that now I have Template:Installation How-To/Preload listed as one of my articles lol... how do I get rid ofthat [08:38:55] oh [08:39:01] didnt read that part [08:39:09] I am sure someone more experienced around here might know that [08:39:26] I suspect it is done with some magic. [08:40:13] Allowed memory size of 20971520 bytes exhausted (tried to allocate 6109271 bytes) in /var/www/wikis/code/includes/Sanitizer.php on line 1039 [08:40:17] what the... [08:40:21] jmlane: works in preloads, doesn't. [08:40:22] josiah: Try this: [[Category: Installation How-To]] [08:40:29] Random832: Ha, beat me to it [08:40:57] jmlane: in the template page? [08:40:59] Yes [08:41:24] Just wrap that second line with the tags. [08:41:41] Dear MediaWiki: 20971520 bytes is LESS THAN 6109271 bytes [08:41:54] that's the most ridiculous error i've ever seen [08:42:14] that worked :) thank you jmlane [08:42:18] haha [08:42:20] josiah: No problem! [08:42:26] Glad to be helpful [08:42:27] my math was flawed too, i see why MW has issues [08:42:44] Dear MediaWiki: 6109271 bytes is LESS THAN 20971520 bytes [08:43:19] jmlane: hmm... now when I try and deleate the article it doesnt deleate [08:43:39] Which article is that? [08:44:07] or it deleats but it doesnt remove itself from the category list of articles when you deleat it [08:44:20] Which article? The category is empty for me atm [08:44:44] oh... hmm maybe its cache [08:45:06] Yeah, must be, I don't see anything, and your recent changes show 3 successfully deleted pages [08:45:35] yep it was cache... thank you again jmlane [08:47:18] Zach: it's just the size of the (last) allocation which failed [08:47:37] josiah, not a problem. Take care! [08:47:41] oh kay [08:50:39] josiah: categories are updated via the job queue in certain situations [08:50:46] so it takes some time for changes to show up [08:52:21] Random832: ah thank you... [08:53:41] actually, it doesn't make sense for that to happen for a deletion, it should update right away [08:53:44] must have been the cache [08:59:29] can i change whether a particular file is "safe", i.e., have certain types of files not be MEDIATYPE_UNKNOWN? [09:01:38] uh, nevermind [09:05:29] hah, had to set "text/plain" to trusted [09:11:29] hm, perhaps i should find out why .flv files are being categorized as "text/plain" mime type [09:14:42] how do you install the boardvote extension? [09:19:16] do most people use the stable version or is it fine to use 1.9? is 1.9 a beta or a rc version? [09:19:37] 1.9.x versions are old stable versions [09:19:49] still supported but not for very long [09:20:02] what is the newest version? [09:20:07] 1.11.1 [09:20:24] thats confusing [09:20:29] why? [09:20:38] why would old version be a high number than newer versions? [09:20:47] software versions are not floating-point numbers [09:20:58] they are separate numbers separated by '.' [09:21:02] and 11 is higher than 9 [09:21:09] oh nm im an idiot i was thinking it was 1.1.1 not 1.11 [09:21:10] lol [09:23:45] flyingparchment: sorry [09:24:24] flyingparchment: did you get my ping earlier? with feedback about the new skin [09:25:07] yes, but i was rather busy with something else [09:26:29] just checking that you saw it [09:28:31] damnit, text/plain again [09:44:11] is there a way to have MediaWiki -not- set mime to "text/plain" for .flv files? [09:46:00] Zach: the files are not served by mediawiki at all. they are served directly by your webserver. fix your apache config. [09:46:14] Zach: read mod_mime docs [09:46:56] Zach: see also http://www.mediawiki.org/wiki/Manual:Mime_type_detection especially the "MIME_types_when_downloading" section [09:47:05] uh, in the image table, they are img_major_mime='text' and img_minor_mime='plain' [09:47:57] yes, *that* would be caused by broken mime type detection on upload. however, this is *not* used when serving the file contents to your browser, because that is not done by mediawiki. this is only used to determin how mediawiki treats the file internally. [09:48:10] it should be fixed too, yes. follow the link. [09:48:14] well it's treating it poorly internally [09:48:28] well, how do you expect it to be treated? [09:48:55] i don't want to have to have text/plain in my $wgTrustedFileTypes or whatever it was [09:49:07] fix your mime detection, then [09:49:14] follow the link... [09:49:52] mime.types in /etc, right? [09:50:20] no, mediawiki uses its own copy in its includes dir (unless you tell it otherwised) [09:50:32] OK [09:51:28] anybody know if I can include the action in the ? [09:51:38] I need to change the skin based on the action, but I'm not sure how to do that. [09:52:19] elliottcable: you could use wgAction and javascript [09:52:35] Random832|zzz: ouch [09:52:48] Zach: but you still have to make it recognize the file type in the first place. $wgMimeDetectorCommand = "file -bi"; should do it on linux. [09:52:49] Random832|zzz: haha ok, will try wgAction though, thanks [09:53:07] i'd use something like action-$wgAction [09:53:14] elliottcable: that's a JS variable [09:53:19] [is wgAction a php variable or js only [09:53:25] Duesentrieb: I thought it was PHP [09:53:38] in php too, probably. [09:53:47] in PHP it would be $wgAction ;) [09:53:50] if you are wtriting your own skin, you can add a css class derived from that easily enough [09:53:54] but you need to hack php [09:54:08] remember if you do it in js, it won't work for people with js disabled [09:54:18] is anybody here using the Rating extension? [09:54:22] flyingparchment: exactly why I want to avoid that. well, that and weight. [09:54:33] Duesentrieb: hack php? as in, is it not already available to the skin? [09:54:36] elliottcable: i suggest making a small change to the skin, it shouldn't be too hard. [09:54:44] elliottcable: the skin is php. [09:54:47] elliottcable: "weight"? [09:54:53] (make a note somewhere so you remember to redo it when you upgrade) [09:55:12] elliottcable: it is not avialable as a css class in any of the default skins, afaik. could be added, might make sense. [09:55:17] doing it in javascript would be a one-liner: document.body.className += " action-" + wgAction [09:55:21] Random832|zzz: page weight. Trying to keep it light, the wiki loads slow enough as it is. [09:55:32] Duesentrieb: if we add action, shortly will have 25 css classes [09:55:45] (maybe that's not too bad, though) [09:55:57] flyingparchment: you could stick some of them on [09:56:16] Random832|zzz: how would that be better? and how would that make sense? [09:56:35] Duesentrieb: it doesn't make _less_ sense than putting them on body, and it would be a way to split them [09:56:52] splitting by randomly assigning them to different tags doesn't seem like much of a solution ;) [09:56:54] flyingparchment: can't really think of any more - but i don't think it would hurt, even if it would go up to 25. 5 is ok anyway, imho [09:57:06] it's not random [09:57:18] all the ones that are already there go on body, all the new ones go on html [09:57:24] Random832|zzz: splitting them isw confusing and arbitrary, and it makes less sense because css aüpplies to visible stuff, and visible stuff is in body. [09:57:37] visible stuff is in html too [09:57:42] both html and body are themselves visible [09:57:43] and splitting doesn't help anyone [09:58:09] try html { display: none} and see how far you get [09:58:39] it'll probably hide everything. but that's beside the point. [09:58:47] Duesentrieb: looking at js, i actually think isArticle _should_ be a css class [09:58:49] actually, it doesn't - html is a special case [09:58:56] Duesentrieb: distinguishing articles via ns-# is rather error-prone [09:59:06] flyingparchment: why? [09:59:08] think that's the only one though [09:59:10] .ns-0 is article [09:59:14] what's isArticle? [09:59:20] Random832|zzz: no, ns-0 is the default article namespace. there can be more [09:59:27] now, a class to distingish _all talk_ namespaces, would be good [09:59:31] ($wgContentNamespaces or whatever it's called) [09:59:33] flyingparchment: yea, why not. hm... what does isArticle give for ns=0 and action=history?... [09:59:50] and what *should* it give in that case? [09:59:51] Duesentrieb: false for history [10:00:00] hrm... [10:00:02] i think false is correct [10:00:06] what if i want to know if i'm looking at the history of an article? [10:00:07] hmm [10:00:13] flyingparchment: you *might* want to know if it' [10:00:21] it's the history of an article, though... [10:00:21] actually, i'm not sure. i can see arguments for both [10:00:25] yep [10:00:46] but what if you only want to style the article, not its history etc? [10:00:48] imho you'd want an action selector, and isArticle apart from that, based on ns [10:00:59] When backing up a wiki...I did import the database to the new server, what about images ? Can I import images after the new mediawiki installation ? [10:01:07] Duesentrieb: hmm, yes [10:01:40] flyingparchment: on a related note: does css have an AND operator for selectors? "apply this if x has class foo AND bar"? [10:01:48] Duesentrieb: i was just wondering that [10:01:52] :P [10:02:22] Duesentrieb: body.isArticle.action-view { } [10:02:24] 03(ASSIGNED) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 +comment (10minuteelectron) [10:02:59] flyingparchment: oh rly? neat. [10:03:03] apparently it doesn't work well in IE6 though (http://css-discuss.incutio.com/?page=MultipleClasses) [10:03:09] bwaahaha! [10:03:16] *Duesentrieb stabs MSIE [10:04:06] in this case we could put it on ;) [10:04:19] html.action-view body.isArticle { ... } [10:04:30] (ugh) [10:05:11] two levels of nesting are not sufficient to cover all possibilities. [10:05:26] bah, MSIE can just go screw itself. [10:06:44] yang_: you have to import image records separately, by copying the image directory and then running maintenance/refreshImages.php --missing [10:07:47] *Duesentrieb notes that we have a manual page about creating a backup, but not about restoring from backup [10:09:16] yang_: well, actually, this is only needed if you did not copy the full image table. if you did, you just need to restore the files to the right location. [10:18:20] LAWL [10:18:23] Failskin. [10:22:03] I have installed the breadcrumbs extension and am getting this error when I click on one of the breadcrumb links: http://pastebin.ca/874541 [10:23:31] nm i got it working [10:29:34] Duesentrieb: I imported the mysql database, secondly I have installed mediwiki, now i am getting errors about nonexisting pictures...So I should just copy the directory from /usr/share/mediawiki/images to the new /usr/share/mediawiki/images ? [10:31:01] actually its symlinked to /var/lib/mediawiki/images [10:32:53] yes, copy it [10:33:06] (not sure if your webserver will be happy with the symlink, but mediawiki should work fine) [11:17:04] What does everyone think about this extension replacement so far? http://img87.imageshack.us/img87/9588/interwikimanagermediawiqd3.jpg [11:17:49] Jack_Phoenix: ^ [11:18:13] *click* [11:19:07] fancy...I like the "edit" link so that to edit something you don't have to remove and readd it...it's also nice that they're not on one page, but on multiple pages :) [11:19:30] Mass delete to [11:19:39] 03(FIXED) Search seens to be broken again (at least on s2) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12799 +comment (10jeluf) [11:19:48] Eugh... and the code for the old Interwiki extension was disturbing [11:20:17] Plus the add form is on the same page [11:20:31] I found the link on the old interface extremely annoying when trying to add stuff [11:20:44] ya, it is kinda annoying at times [11:21:28] I found the lack of mass delete annoying...deleting a crapload of interwikilinks by hand is /not/ fun at all... [11:33:50] Dantman: just out of curiousity...is your version of Special:Interwiki ready for production use? meaning if you're gonna release it anytime soon ;-) [11:33:59] Depends.... [11:34:13] Of course, it actually needs half the backend [11:34:38] ^_^ If it gets completed is dependant on the normal factors... [11:34:39] heh [11:52:45] The image on the top-left of all mediawiki pages -- is it settable via Special:Allmessages, or is it only settable in the config file? [11:53:36] FT2: config file: but if you set it to "/b/bc/Wiki.png" then you can change it by uploading a file called Wiki.png [11:53:50] thanks :) [12:04:37] <_wooz> lo [12:06:20] Jack_Phoenix: ^_^ Security in the extension to protect from evil pages... but it doesn't have any backend to do any actual changes, rofl... [12:06:33] lol [12:22:14] test [12:26:21] Jack_Phoenix: ^_^ Mass deletion is working... And the page stays on the same page after you delete some stuff [12:26:29] amazing :D [12:27:45] Has anybody found an easy way for uploading images while editing articles ? If I want to upload an image for an article I'm currently working on, there's no easy way back to my article from the upload page... [12:27:59] use a tabbed browser? [12:29:12] Yes, could do that. I tried some other wikis, they have better integration for this. Just wanted to know, whether I#m just too stupid to find a good way in mediawiki. [12:31:51] 03(mod) Namespace request for Wikibooks Turkish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12677 (10serhat.er.95) [12:33:48] a way to upload files from the edit form would be nice, but it'd need to be done in a way that didn't encourage uploading of copyvios even more [12:34:27] They have an extension on Wikia that does this. [12:34:54] Some combination of a special page and AJAX. [12:35:46] the only thing I dislike in Wikia's extensions is that they're closed-source...well, most of them are [12:36:54] Jack_Phoenix: will GPL3 fix that? [12:37:13] I guess we can hope so :) [12:37:16] Indeed, it's a bit insulting in a way given that they are using an open source piece of software that many people contribute to for free - yet they won't contribute to it themselves. [12:37:32] I fully agree with you on that [12:37:58] ZorroIII: mediawiki is not gpl3, so unlikely :) [12:38:17] when i was at wikia, they definitely wanted everything to be open source, i'm surprised that changed [12:38:42] GreenReaper's blog post (http://greenreaper.livejournal.com/53480.html?thread=194024) sums it up nicely..."Several features of the open company test proudly posted a few years ago are looking shaky today. Certainly, while MediaWiki remains open-source, Wikia is unlikely to share the code for its shiny new widget system in the new skin." [12:39:08] Wikia has changed, like all big companies, they begin really grass-roots and in with the community - but they are so big now that they are mostly in it for the money. [12:39:11] (on the other hand, i argued strongly against open source, maybe they listened to me ;) [12:39:21] flyingparchment: wow, why so? [12:39:47] MinuteElectron: maintaining a competitive advantage. make your stuff open source, soon every mediawiki hosting site is going to use it [12:40:29] Fair, but they have little worth using elsewhere - and they are now so big that it would be difficult for any other host to maintain a compeition against them. [12:40:43] There are still niches to be filled however, just needs someone with time. [12:41:24] kinda annoying that wikia's bug db is private too [12:41:40] Haha, yes - it is. [12:42:12] LJ do basically the same as wikia - the core stuff (their version of MW) is open source, but the nice stuff (like phone posting) is closed [12:42:18] Jack_Phoenix: ^_^ Unless I missed something... The extension looks complete... [12:42:28] Dantman: wow, you're quick too :o [12:42:30] but LJ actually have less of a reason to, since the value there isn't the software, but the existing community... not so true with wikia [12:42:31] *Dantman|FS now wishes he had a place better than Wiki pages to place the code [12:42:35] ^_^ Ya, started today [12:43:33] *Jack_Phoenix bets 5€ that Dantman is actually a bot that codes PHP :P [12:44:05] ^_^ oi... I'm looking into Lisp and learning C++ and probably C# to... [12:44:34] Hmmm... I should probably merge in some other messages [12:44:37] and stuff [12:44:58] ^_^ heh... need to do syntax checking to [12:45:18] 03(mod) Namespace request for Wikibooks Turkish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12677 (10N/A) [12:45:37] heh... And I forgot the log [12:45:56] log? who needs those? :P [12:46:01] ^_^ and reason... rofl... probably need sleep [12:46:19] heh, good idea actually [13:12:42] 03(NEW) Import sources on el.wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12812 15enhancement; normal; Wikimedia: Site requests; (triyork) [13:16:38] meow [13:18:35] rar [13:22:44] 03(mod) Import sources on el.wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12812 +comment (10ariel) [13:29:59] are there javascripts that enables people to sort iwlinks the way they like? [13:30:39] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 (10minuteelectron) [13:30:54] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 +need-review +patch (10minuteelectron) [13:31:35] hi all [13:31:51] hello [13:31:56] is it possible for a user in mediawiki to watch all the pages ? [13:32:03] (without selecting them one by one) [13:32:29] I want my boss to receive an email on each change on the wiki [13:34:55] either you plan on a very slow wiki, or you hate your boss :-) [13:39:45] Aaaaaaaarrrrrg... [13:40:21] I've just spend the last half hour debugging something only to find it wasn't working because I spelt a variable mError instead of mErrors [13:40:52] Note to self... Never debug without a clear head... [13:48:09] a better note might be 'never code php'... [13:49:50] ^_^ Hmmm... unfortunately MediaWiki isn't coded in Lisp... [14:03:12] What format does the wgLogo url have to be in [14:04:53] Thedjatclubrock: I URL path. [14:05:03] "/images/Logo.png" for example. [14:05:10] *A [14:05:15] MinuteElectron: OK, I'll try that [14:09:26] MinuteElectron: That doesn't work [14:10:16] MinuteElectron: Does it have to be png [14:11:46] .me waits quietly... [14:11:52] *Thedjatclubrock waits quietly... [14:12:54] poks [14:18:26] Thedjatclubrock: it has to be in a format most browsers understand. png, gif, jpeg [14:18:41] Thedjatclubrock: it should be 135x135 pixels [14:18:58] Duesentrieb: It was .gif, if it is bigger will it disappear [14:19:00] and it must of course be readable. try to enter the path you gave as wgLogo directly into your browser .see if it load the image [14:19:22] if it'S bigger it will be cut off, anyway. disappear... maybe if your browser sucks :) [14:20:06] Duesentrieb: I got a 403 [14:20:08] :P [14:23:42] there you go then [14:23:46] fix your file permissions [14:24:07] Duesentrieb: Done, I can see it but not on the wiki [14:24:24] NVM [14:24:28] I see it :) [14:25:38] Duesentrieb: Thanks [14:28:57] Hi [14:29:24] Hi [14:29:26] I am just about to install mediawiki, but I get this error: PHP 5.0.x is buggy on your 64-bit system; you must upgrade to PHP 5.1.x or higher. ABORTING. (http://bugs.php.net/bug.php?id=34879 for details), the thing is, I got 5.2.5 installed [14:29:34] what can I do? [14:34:19] ronino: are you sure your webserver is using 5.2.5? create a page that says and visit it in your browser [14:34:20] ronino: first, make sure mediawiki is *using* your 5.2.5 install. make a dummy php page in the mediawiki dir, containing [14:34:22] call it. [14:34:26] see what it sais. [14:34:35] Duesentrieb: very sure, I got the version number from there... [14:34:49] from the installer? [14:35:01] uh, then the installer is broken :) file a bugreport. [14:35:30] you'll need to find the check and remove it to get it to work, if that's the case. [14:35:33] Duesentrieb: Okay, my fault, Apache not set up to run it with PHP5, instead it's on PHP4 [14:35:40] Doesn't it run on version 4 anymore? [14:35:45] no. [14:35:56] 1.6 was the last version that ran on php4 [14:36:03] (the error message should be... different though) [14:37:32] okay, no problem, I'll use 5 then [14:41:21] Duesentrieb: works now, thx for your help... [14:47:55] np [14:58:49] Hey y'all [14:58:58] Has anybody done a MediaWiki extension that checks a string for text? [14:59:00] 03(mod) Identifier needed for MediaWiki generated pages in page source - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11988 (10oq9pscb02) [14:59:17] Something like a parserfunction #gsub, #ifcontains, that kind of thing. [14:59:21] #match maybe? [15:04:56] elliottcable: you probably want stringfunctions [15:13:30] flyingparchment: ty [15:13:35] hello [15:19:43] Nikerabbit: hellop [15:19:52] Hellop! Hellop! Sounds like a sound some animal would make/ [15:24:24] Is there a way to download http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CheckUser/ without clicking evry link [15:24:38] by using svn client [15:25:18] Nikerabbit: I get svn: PROPFIND request failed on '/viewvc/mediawiki/trunk/extensions/CheckUser' [15:25:20] svn: PROPFIND of '/viewvc/mediawiki/trunk/extensions/CheckUser': 301 Moved (http://svn.wikimedia.org) [15:25:56] Thedjatclubrock: when? [15:26:10] Nikerabbit: Just now [15:26:17] where? [15:26:28] Nikerabbit: In ssh, on ubuntu [15:26:36] sv [15:26:38] n [15:26:52] bah [15:27:20] Nikerabbit: Any Ideas? [15:27:21] http://www.mediawiki.org/wiki/SVN#Anonymous_use [15:29:25] 03siebrand * r30182 10/trunk/phase3/languages/messages/ (46 files): Localisation updates for core messages from Betawiki (2008-01-27 16:12 CET) [15:33:06] Thedjatclubrock: You need svnroot not viewvc [15:33:26] I know, I just figured it out [15:33:44] :P [15:35:01] 03siebrand * r30183 10/trunk/extensions/ (53 files in 42 dirs): Localisation updates for extension messages from Betawiki (2008-01-27 16:12 CET) [15:36:27] From CheckUser Fatal error: require_once() [function.require]: Failed opening required '/var/www/wiki/extensions/CheckUser/CheckUser/../../maintenance/commandLine.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wiki/extensions/CheckUser/CheckUser/install.php on line 7 [15:41:28] Any Ideas? [15:41:45] Thedjatclubrock, you have it in extensions/CheckUser/CheckUser/. It expects to be in extensions/CheckUser/. [15:42:00] Simetrical: Thank you [15:42:02] Which is honestly kind of stupid, can't it get the location of the root install from DefaultSettings.php? [15:42:16] That must be in some global. [15:43:11] Simetrical: nope [15:43:36] you don't have access to DefaultSettings before calling commandLine.inc [15:47:04] Simetrical: Do you have a moment to quickly glance over a patch I made? [15:47:16] MinuteElectron, is it bug 13, or whichever it was? [15:47:20] yeah [15:47:30] If it's something I'm subscribed to, I'll look at it when I get to it in my e-mail. [15:47:42] ok, thank you [15:47:51] I'll bear that in mind in future. [15:51:17] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10Simetrical+wikibugs) [15:51:26] 03(mod) User's Custom Javascript does not Apply to Special:Preferences, Special:Userlogin - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10005 summary; +comment (10innocentkiller) [16:03:03] 03(mod) Identifier needed for MediaWiki generated pages in page source - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11988 (10minuteelectron) [16:03:31] 03(mod) Identifier needed for MediaWiki generated pages in page source - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11988 +need-review +patch (10minuteelectron) [16:13:03] Help: Warning: require_once(./includes/WebStart.php) [function.require-once]: failed to open stream: Permission denied in /var/www/wiki/index.php on line 38 [16:13:33] theawaydj: fix your file permission [16:13:46] (or open basedir config, if applicable) [16:14:07] Duesentrieb: I tried 666, 664, 777 0001 and none worked [16:16:16] theawaydj, what are the ownerships? [16:16:19] 03(mod) New logo for Basque Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12789 highest->normal; +shell (10minuteelectron) [16:16:27] theawaydj: the directory should be 755, the files should be 644 [16:16:45] PHP under certain configurations will not allow inclusions if owner and group don't matc. [16:16:46] h. [16:16:52] Also, yeah, make sure includes/ is 755. [16:16:58] theawaydj: the image dir needs to be 777 probably. [16:17:11] (if you use suphp and not mod_php, the last digit should actually be 0 in all cases) [16:17:48] are you talking about image file permissions? [16:17:48] hello I copied css and js codes from en.wikibooks to tr.wikibooks [16:17:57] but they aren't working [16:17:57] theawaydj: if setting permissions does not help, check for basedir restrictions / php safemode. if that's not it either, check if you are using SELinux, and if yes, check file ACLs [16:18:22] eugo: he's talking about php files. [16:18:29] i enabled image uploads on my mediawiki, but _after_ i uploaded the file, i get 403 access denied when i try viewing the files [16:18:34] srhat: copied where? and not working how? [16:18:47] I copiedthem to trwikibooks [16:18:55] but I can't use [16:18:58] the div classes [16:19:16] "PrettyTextBox" "infobox" e.t.c [16:19:59] eugo: thatmeans mediawiki can write the image to the dir, but your webserver is not allowed to read them. either your webserver is explicitely forbidden to server from that dir, or it's a symblink and it doesn't like that, or you *are* using suphp, so the webserver is using a different user id than mediawiki, and file permissions are not set up right. [16:20:15] srhat: copied where. and can't use where. [16:20:26] the upload dir is 755 and user/grp: www-dir/www-dir [16:20:31] srhat: please give pages/urls [16:20:34] common.css [16:20:45] http://tr.wikibooks.org/wiki/MedyaViki:Common.js and http://tr.wikibooks.org/wiki/MedyaViki:Commoncsjs [16:20:51] sop [16:20:56] stop [16:20:59] http://tr.wikibooks.org/wiki/MedyaViki:Common.css [16:21:01] eugo: and the image dir? and its subdirs? [16:21:11] Duesentrieb: Warning: include_once(extensions/CheckUser/CheckUser.php) [function.include-once]: failed to open stream: Permission denied in /var/www/wiki/LocalSettings.php on line 128 [16:21:13] Warning: include_once() [function.include]: Failed opening 'extensions/CheckUser/CheckUser.php' for inclusion (include_path='/var/www/wiki:/var/www/wiki/includes:/var/www/wiki/languages:.:/usr/share/php:/usr/share/pear') in /var/www/wiki/LocalSettings.php on line 128 [16:21:15] Warning: require(/var/www/wiki/languages/Language.php) [function.require]: failed to open stream: Permission denied in /var/www/wiki/includes/AutoLoader.php on line 404 [16:21:16] Fatal error: require() [function.require]: Failed opening required '/var/www/wiki/languages/Language.php' (include_path='/var/www/wiki:/var/www/wiki/includes:/var/www/wiki/languages:.:/usr/share/php:/usr/share/pear') in /var/www/wiki/includes/AutoLoader.php on line 404 [16:21:21] srhat: where did you try to use them? [16:21:32] theawaydj: please use a pastebin [16:21:39] Sorry [16:22:30] theawaydj: so... did you check file permissions on extensions/CheckUser/CheckUser.php and all the dirs around it? [16:22:49] Duesentrieb: well the image dir is empty, i had to create it, but even then, the upload dir structure is in /upload and when i upload images, they go to /upload [16:22:50] theawaydj: same for languages/Language.php [16:23:47] eugo: well... images are being served by the webserver directly, not via mediawiki. if that fails, it's related to webserver setup, or file permissions. [16:24:04] hmm well your right... [16:24:08] Duesentrieb: http://www.pastey.net/81354 [16:24:08] 03(mod) ajaxsearch.js "amout of letters before execute" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12802 (10innocentkiller) [16:24:38] 03(mod) ajaxsearch.js "amout of letters before execute" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12802 +comment (10innocentkiller) [16:25:00] oh, also take a look at http://meta.wikimedia.org/wiki/Talk:Data_dumps#Broken_image_.28enwiki-20080103-pages-meta-current.xml.bz2.29 <-- i just added it [16:25:12] 03(mod) ajaxsearch.js "amout of letters before execute" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12802 (10innocentkiller) [16:25:30] theawaydj: all that sais is "i can' [16:25:33] t read extensions/CheckUser/CheckUser.php" [16:26:27] 03(mod) Template links on article preview page should be in alphanumeric ( alphabetic) order - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12644 (10innocentkiller) [16:27:37] Duesentrieb: I made it 755 and still no luck [16:28:30] 03(mod) Text change for MediaWiki:Clearyourcache - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12517 +comment (10innocentkiller) [16:28:51] theawaydj: the file and all the directories? well, for the file 644 would be enough [16:29:27] Duesentrieb: Still same CheckUser Error [16:30:32] 9_9 [16:30:55] theawaydj: the database is still down. [16:31:11] err, sorry. wrong context [16:31:14] and misread :P [16:31:34] theawaydj: again: check openbasedir, and check for selinux. [16:31:45] 03gri6507 * r30184 10/trunk/extensions/UserContactLinks/UserSignature.php: Fixed a minor bug which would result in a E_NOTICE error message [16:31:52] Duesentrieb: How would I do that, I am new to linux [16:36:09] :( [16:36:36] simetrical: Any Ideas --> http://www.pastey.net/81354 [16:37:37] Duesentrieb: Fatal error: Call to undefined function escapeHtml() in /home/daniel/public_html/WikiSense-live/common/WSInit.php on line 418 [16:37:46] theawaydj: openbasedir is a php option. read php docs. also check php for safemode sttings. [16:37:51] theawaydj, could you pastebin the output of ls -l /var/www/wiki /var/www/wiki/extensions /var/www/wiki/extensions/CheckUser, or equivalent FTP listing? [16:37:57] (I know wrong chan, but...) [16:38:09] AzaTht: yes i know. caused by the fact that the db is down. the error handler is called before all util functions are loaded. [16:38:10] Duesentrieb, doesn't that give a specific error message? [16:38:18] ok [16:38:21] I.e., not just generic permission-denied? [16:38:23] Simetrical: i dunno, does it? [16:38:38] It's also a prefix, so if you can run /var/wiki/ you can run any subdirectory. [16:38:57] I'd suspect some safe mode option involving file ownership, if it's not just incorrect permissions. [16:38:57] theawaydj: as to selinux... i have no idea, actually :) consult your distriobution's documentation. i think suse has it on per default. [16:39:23] Simetrical: http://www.pastey.net/81355 [16:39:48] okay i'm running a wiki farm and i want to have separate upload directories for each one, but also a central upload place for images that could benefit all wikis [16:40:01] what do i have to do to make a new "images/" directory? [16:40:07] what files do i need in there [16:42:35] none [16:42:42] 03gri6507 * r30185 10/trunk/extensions/TodoTasks/ (SpecialTaskList.php SpecialTaskList_body.php): Minor changes to keep in synch with UserContactLinks extension [16:42:43] chuck: well, the wikis are all on the same server? [16:42:43] anyway, i gotta go [16:42:45] bbl [16:42:47] theawaydj, the permissions on all the subdirectories are wrong. They need to be executable, not just readable. [16:43:05] theawaydj, also, do you have root access? Most of these seem to be owned by root. [16:43:16] What user does Apache run as? [16:43:22] Simetrical: I can sudo and tcsh [16:43:27] chuck: if then you just need to create one image dir and link all the others there. [16:43:38] Simetrical: I guess Apache runs as my name [16:43:40] erm....well. maybe not. [16:43:45] theawaydj, could you check what Apache runs as? [16:44:05] I've found an annoying bug in ParserFunctions [16:44:10] Isnogud: yeah, they're on the same server [16:44:11] I had to disable it, and all related extensions, on my wiki [16:44:15] Simetrical: How would I do that [16:44:16] Which breaks about 90% of my templates, and therefore, 90% of my wiki. [16:44:20] http://meta.wikimedia.org/wiki/Help_talk:ParserFunctions#PHP_error.2C_and_blank_page.2C_with_Expr.php [16:44:23] Posted about it there. [16:44:25] theawaydj, ps aux | grep -e httpd -e apache [16:44:27] If anybody in here is knowledgeable about about that sort of thing, I'd greatly appreciate a check >.< [16:44:34] Isnogud: currently they all share the same images directory, i just thought i might get too many naming conflicts that way [16:44:43] chuck: sorry. no. i don't know. i think mw also needs some infos about that in the database. i really don't know. gotta go. [16:45:28] Simetrical: http://www.pastey.net/81356 [16:47:03] It's running as www-data. You probably don't want your files to be writable by Apache, but to begin with we can try to get the thing to work. [16:47:13] Hmm, I guess you could keep it owned by root, though, that would work. [16:47:36] Simetrical: I don't mind the server being able to be written to [16:49:11] Simetrical: How can we run apache that way [16:49:12] Okay, so. Give me the output of this, run as root, so I can give you the correct command to execute while being sure it's not going to blow up your server: find /var/www/wiki -type d && find /var/www/wiki -type - [16:49:22] Thedjatclubrock, what? [16:50:37] Server seems to have died :P [16:50:39] brbn [16:50:49] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 (10Simetrical+wikibugs) [16:50:56] MinuteElectron, patch reviewed. [16:51:00] (although not tested) [16:52:59] <^demon> I can quickly test, give me a moment. [16:53:16] ^demon, even if it works, there are still problems with it. Best to wait for them to be fixed. [16:55:35] okay, so does anyone know what directories or whatever i have to create for an upload directory? [16:56:03] <^demon> You mean /images? [16:56:50] Well, wiki-install-path/images/. [16:59:59] Simetrical: http://www.pastey.net/81357 [17:00:16] MinuteElectron and Simetrical: how does the patch behave when you login from an Image description page which is hosted on Commons? Currently the post-login page offers a redlink, which is strange for a user who actually was lookingat a legitimate page [17:02:19] BrokenArrow, it's worth considering multi-project support. [17:02:41] 03(mod) Template links on article preview page should be in alphanumeric ( alphabetic) order - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12644 +need-review +patch (10innocentkiller) [17:03:51] Simetrical: would current behaviour count as a (different) bug from 13? [17:04:13] Thedjatclubrock, hmm, good thing I asked you to test. :) Paste the output from this too, please: find /var/www/wiki -type f [17:04:54] BrokenArrow, probably. I would call bug 13 fixed if it works for all in-wiki links. [17:05:02] Just for implementation reasons. [17:06:09] Simetrical: THANKS [17:08:04] sorry [17:08:08] caps lock was on [17:08:22] Simetrical: http://paste.cluenet.org/182 [17:10:32] Thedjatclubrock, okay, that looks correct. Run these commands (as root): chmod 755 `find /var/www/wiki -type d`; chmod 644 `find /var/www/wiki -type f`; chmod 777 /var/www/wiki/images /var/www/wiki/math [17:10:39] That should set all permissions correctly. [17:11:20] 03(mod) More prominent Simple English Wikipedia Link on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12527 (10innocentkiller) [17:11:46] elliottcable: good morning :) I see you run into complicated problem after complicated problem :) [17:11:50] Simetrical: -bash: /usr/bin/sudo: Argument list too long [17:11:58] <^demon> ^ Quite possibly one of the sillier bugs I've seen recently [17:12:40] SimonMoon: No fucking kidding [17:12:50] SimonMoon: Always when it's 7:00 AM and I haven't slept all night, as wlel. [17:13:04] elliottcable: you are STILL up? [17:13:34] <^demon> SimonMoon: It's just after 12 noon here. I've been up since about 1030a Saturday morning. I didn't sleep last night either. [17:13:35] SimonMoon: Yep. [17:13:45] Thedjatclubrock, yay. [17:13:46] SimonMoon: I think I'm approaching like 72 hours or somnething now [17:13:52] SimonMoon: Not that I could actually count in my current state [17:14:04] You can upgrade the kernel to 2.6.24 . . . or I can rewrite the command. [17:14:18] Give me a minute. [17:14:20] elliottcable: I think i found your bug: You are too tired to this this thing :) [17:14:30] *do this thing [17:14:34] xargs -n 50 [17:14:35] ;) [17:14:48] SimonMoon: But my editors are like SOMEBODY FLY TO ALASKA AND STRANGLE THIS GUY [17:14:58] or: find /var/www/wiki -type d -exec chmod 755 {} + [17:15:04] Not to mention we're having an epic argument over whether [[Category:Level X]] should exist [17:15:07] Ooh, -exec. [17:15:09] (find | xargs is really a very redundant commandline) [17:15:14] I didn't know about that. [17:15:22] flyingparchment, bah! Do one thing and do it well!! [17:15:27] elliottcable: yeah i know that feeling :) Dont let it get to tou. Simply let them do the category and use 1.11.1 :) [17:15:35] that should fix a lot of your problems off the bat [17:15:36] No, I'm arguing FOR it [17:15:37] haha [17:15:38] Simetrical: Thanks so much [17:15:42] *Simetrical prefers upgrading to 2.6.24, personally, since then you don't need to learn crazy tricks :P [17:15:44] SimonMoon: And fuck downgrading, that'll be even more trouble [17:15:46] Simetrical: when you run find without arguments, it's really doing 'find -print' :) [17:15:58] -exec is another action, like -print [17:16:07] elliottcable: there isnt that much in the "downgrade" really, and its your wiki, add it if you like :) [17:16:25] flyingparchment, but that's against the Unix philosophy! [17:16:35] . . . still, good trick, I'll remember that. [17:16:43] how long would a downgrade take? 30 minutes maybe? And you have been up all night fighting this stuff... :) [17:16:50] SimonMoon: There is, because I'm using pretty much all of the extensions in trunk as well, some of which are 1.12 specific lol [17:16:56] backup what you have and give it a try :) [17:17:02] you can't downgrade mediawiki [17:17:19] flyingparchment: you can :) You just export and import :) [17:17:40] SimonMoon: unfortunately, export and import loses half the database metadata [17:17:43] elliottcable: why you would put all those extensions in there is a bit a mystery to me then :) [17:17:45] <^demon> Or try to merge HEAD against 1.5 if you'd like. [17:17:51] SimonMoon: yay features! [17:17:57] SimonMoon: anyway, this needs to be fixed [17:18:04] flyingparchment: true, but if you simply want to get your page running again... :) [17:18:08] SimonMoon: arguing 'that's broken, you should downgrade' is a REALLY bad thing to do [17:18:16] elliottcable: what is the problem? [17:18:16] 03rotem * r30186 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialExport.php): Fix for Special:Export so it doesn't ignore the page named '0'. [17:18:32] elliottcable: the argument "its a develpoment version and half the stuff is not yet ready for this version" is imho a good argument though :) [17:19:03] SimonMoon: if this were an old extension... yes [17:19:09] Thedjatclubrock, did you see what flyingparchment said? Try: find /var/www/wiki -type d -exec chmod 755 {} +; find /var/www/wiki -type f -exec chmod 644 {} + [17:19:10] SimonMoon: but this is a trunk extension, just like the MW source. [17:19:20] SimonMoon: hell, I wouldn't expect it to work with a stable version. [17:19:25] elliottcable, what exactly is the regression in trunk that would suggest you should downgrade, here? [17:19:41] I have a total of 6 extensions installed, wrote 2 myself, and the others deal with spam, navigational images and nuking of spam content. Nobody misses a thing :) [17:19:55] Simetrical: Some thing with parserfunctions broke epicly, breaking most of my wiki: http://meta.wikimedia.org/wiki/Help_talk:ParserFunctions#PHP_error.2C_and_blank_page.2C_with_Expr.php [17:20:18] Simetrical: What would that do, it won't let me do it [17:20:29] parserfunctions is run on the wikimedia sites, so it seems very unlikely it's broken with trunk [17:21:01] flyingparchment: I agree, but it is. [17:21:07] flyingparchment: php error log don't lie [17:21:07] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10vasilvv) [17:21:10] elliottcable: wikipedia loads fine for me, so i disagree [17:21:18] elliottcable, what's the error? [17:21:21] Simetrical: http://meta.wikimedia.org/wiki/Help_talk:ParserFunctions#PHP_error.2C_and_blank_page.2C_with_Expr.php [17:21:35] ah, the problem is with controlstructures, whatever that is, not parserfunctions [17:21:53] maybe, as far as I can tell, the two are totally entwined [17:21:59] Thedjatclubrock, it sets the permissions correctly. You'll need to be root, given your file ownerships, to run the command. [17:21:59] from reading the docs, one was required for the other [17:22:05] same with Variables, and one other whose name I forgot [17:22:09] Simetrical: I am root [17:22:09] elliottcable, ParserFunctions is independent of the others. [17:22:13] the 4 {{#foobar}} extensions [17:22:21] elliottcable, the other two extensions may be broken. ParserFunctions is not. [17:22:30] Thedjatclubrock, what error does it give? [17:22:37] Simetrical: ugh, well where should I take my problem then? Suggestions? [17:22:46] Simetrical: Hmm, would it be acceptable to completely alter the usage of returnto= or does backwards compatibility need to be maintained? [17:22:47] Simetrical: chmod: changing permissions of `/var/www/wiki/bin/ulimit-tvf.sh': Operation not permitted [17:22:59] Simetrical: What needs to be changed, it looks ok now [17:23:10] elliottcable: i've never even heard of the guy who wrote controlstructures. parserfunctions was written by tim. i know which one i'd guess is at fault ;) [17:23:33] flyingparchment: lol, it's all PHP [17:23:43] Simetrical: thanks for the help then i'll take it somewhere else [17:23:46] elliottcable, talk to the authors of the extensions that broke. [17:23:49] elliottcable: do you even need controlstructures? parserfunctions already provides all of these (slightly differently) [17:23:57] elliottcable: comment out the controlstructre extensions and retry, i just got the same error as you [17:24:19] with them gone, it works without error... [17:24:28] Thedjatclubrock, the rest of the command should have worked, though. (I have no idea why that file wouldn't have, probably flyingparchment knows.) Does your site work now? [17:24:33] and as flyingparchment says, they do the job just as fine [17:25:17] SimonMoon: yeah found that out right after Simetrical said the others weren't required for it. Also moved the note to the controlstructure talk page. [17:25:19] Simetrical: It worked before that command, with the ones you gave me, that was the last error, the whol thing errored out [17:25:29] question: What's a linefeed character? This is the context: A list of page titles, separated by linefeed characters. [17:25:47] Razorflame: return, \n, newline... [17:25:48] Nah, control structures parses them with character escapes [17:25:58] hey people - which version of mediawiki do i need for php 4? [17:26:00] @ SimonMoon + flyingparchment [17:26:01] Razorflame: basically it means 'one per line' [17:26:04] fishsponge_: 1.6.10 [17:26:07] fishsponge_, see topic. [17:26:12] Razorflame: man 7 ascii [17:26:20] why does anyone still use php 4? [17:26:20] .. [17:26:23] # Simetrical, flyingparchment: "Don't These Parser Functions Already Exist?" Yes and no. The ParserFunctions extension has #if, #ifeq, #ifexpr, #switch, and #ifexist, and Loop Functions extension has #for and #foreach. The limitation of all those parser functions is that wiki markup is parsed before any parameters are passed to the underlying function. These functions bypass that limitation through character escapes (see below), and allow wiki [17:26:34] flyingparchment: s/ 4// [17:26:44] flyingparchment: my shared hosting seems to have it :-( [17:26:45] elliottcable, yes, okay. The fact is, we didn't write and don't use ControlStructures. Don't complain to us if it breaks, complain to the authors. [17:26:56] ParserFunctions is an officially used and supported extension. If it breaks, complain to us. [17:26:59] Simetrical: Did so [17:26:59] And we'll fix it. [17:27:07] Simetrical: who is "us"? [17:27:13] Is this channel like official support or something? [17:27:15] The developers of MediaWiki, who hang out in this channel. [17:27:16] Yes. [17:27:17] elliottcable: the partheonen of gods [17:27:17] I thought it was just users in here... [17:27:28] Ah, okay then. [17:27:29] flyingparchment: When you said /n would that be /? [17:27:37] Is there a channel where I can disucss problems with things not written by you guys? [17:27:42] Razorflame: no, \n (not /n) is another way of saying 'linefeed' [17:27:43] elliottcable: See the toic [17:27:51] Razorflame: as i said, that text means: "one per line" [17:27:56] elliottcable: here [17:28:02] *topic [17:28:04] argh keyboard [17:28:05] 03(mod) Sinhalese namespace translation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12794 +comment (10robin_1273) [17:28:16] avar: Sure, but the rest of the channels on freenode support discussion between users of extensions to the systems about which the channel is created [17:28:20] avar: same, haha [17:28:26] so I would type in: pages=\n? [17:28:33] avar: been awake far too long, having a nice typos galore the last few hours [17:28:49] Razorflame: no, you'd type "insert first page", then you'd press enter to make a new line, then you'd type "insert second page" [17:29:00] in the address bar? [17:29:05] huh? [17:29:07] elliottcable: No, it depeds completely on channes, some (like #liunx) are mostly users while others are almost entirely developers [17:29:08] elliottcable, you can ask about other extensions here. But usually you won't get answers, unless a lot of people use the extension, or a developer's written it. [17:29:13] I'm trying to get the export feature to work [17:29:16] *channels [17:29:36] elliottcable, just because authors and users of random extensions like ControlStructures are usually less numerous, and so you probably won't find them here. [17:29:46] avar: the developer/user distinction isn't the same as the product_only/product+third_party disctiontion [17:29:48] You can still ask, but you probably won't get a good answer. [17:29:56] Simetrical: makes sense, that much is assumed [17:29:59] Simetrical: d-: [17:30:08] avar: forget it, I got confused. [17:30:33] flyingparchment: How do I export a page from en:wikipedia? [17:30:38] It's fine to discuss third-party stuff here. But practically no third-party extension is widely used enough to have people here to talk about it. Generally big extensions get checked into Subversion, and their authors are given commit access. [17:30:44] Which makes it official. :) [17:30:52] I've read the mediaiwiki guide on it, and it is confusing me [17:30:54] Razorflame: go to [[Special:Export]], type in the page names [17:31:06] ah [17:31:10] thankee [17:31:23] flyingparchment: what are the major differences between 1.6.10 and the latest version? [17:31:25] you can also talk about things totally unrelated to mediawiki here [17:31:29] Simetrical: Well how about FlaggedRevs? [17:31:31] which to be honest, is much more interesting most of the time [17:31:32] It's in SVN, and broken d-: [17:31:37] can I bring it up? haha [17:31:57] fishsponge_: 1.6 is very old, completely unsupported (except for important security fixes) and misses many features and bugfixes in later versions [17:32:00] 03simetrical * r30187 10/trunk/phase3/ (3 files in 2 dirs): Don't display rollback link if the user doesn't have all required permissions [17:32:00] 03(NEW) Commons-hosted pages appear as redlinks after login/logout - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12813 minor; normal; MediaWiki: User login/settings; (broken.arrow) [17:32:21] fishsponge_, somewhere over a year and a half of development work is the difference. [17:32:44] Simetrical: 50 man years! [17:32:54] elliottcable, for FlaggedRevs you probably want to ask AaronSchulz here, since he wrote it. [17:33:06] I'm not sure it's considered fully production-ready yet. [17:34:48] Hmm, null edits for log entries show rollback links in user contribs. That's kind of silly. [17:36:22] AaronSchulz: well, ping, although you're probably not around. [17:36:26] To come in a little late on the discussion (was working on my userpage on en.wikipedia), 1.6.10 is extremely old now, I was glad when I was able to make my server updates to the latest. 1.11.0 on one directory and I'm working with 1.12Alpha on another. Major differences from 1.6.10 [17:36:39] Wow, 30186 is like the tenth fix for weak PHP type checking in the last year. [17:36:43] How retarded is that? [17:39:37] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10Simetrical+wikibugs) [17:40:11] 03river * r30188 10/trunk/phase3/skins/modern/main.css: add several missing css classes from monobook [17:40:33] AaronSchulz: I left a note on the talk page on the wiki: http://www.mediawiki.org/wiki/Extension_talk:FlaggedRevs#FlaggedRevs.pg.sql_appearantly_broken_with_PostgreSQL_8.2.6 [17:42:18] 03river * r30189 10/trunk/phase3/skins/modern/main.css: style #p-cactions li.new a (redlinks in article actions tabs) [17:43:40] 03river * r30190 10/trunk/phase3/includes/DefaultSettings.php: $wgStyleVersion++ [17:45:23] flyingparchment: so when are you gonna add a
? [17:46:07] that is about the only thing all the other skins have in common, is kinda silly to break omniskin scripts and styles that rely on it [17:48:01] yeah, except they're not in common [17:48:27] how so? [17:48:35] it means different things in each skin [17:48:40] sure, but they all *have* one [17:49:00] do you guys know why uploading svg files doesn't work completely? [17:49:12] chuck: because it does [17:49:18] for example, http://meta.melbyemedia.org/Image:Broom_icon.svg [17:49:29] then click on the image, and it looks perfect [17:50:08] you're probably rendering svg with imagemagick [17:50:43] Simetrical: Yeah, you're right - current behaviour is broken. [17:50:52] probably? i know that there's some imagemagick svg stuff in my config file [17:51:26] http://www.mediawiki.org/wiki/Manual:Image_thumbnailing#SVG [17:51:44] (hint: "The Wikimedia projects use rsvg.") [17:52:00] (SVGs are hard to get working correct; just use the rendered PNG) [17:52:35] oh, i see [17:52:37] 03(mod) Text change for MediaWiki:Clearyourcache - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12517 (10s.vanslyck) [17:52:40] i'll try rsvg if it's in debian's repo [17:53:33] i cant find any page on mediawiki.org for help on ---> #if [17:54:10] AaronSchulz: I got help from the aweosme guys in #postgresql, and worked through the problems - I left a diff at the previously mentioned URL [17:55:35] patch: there's a page about parser functions on metawiki [17:56:02] !parserfunctions | patch [17:56:02] --mwbot-- patch: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [17:57:27] thanks chuck and Jack_Phoenix :) [17:57:33] just what i needed:) [17:57:34] np [17:57:58] yeah, that page on meta about them is really really helpful [17:59:16] well, svg rendering is working but slow [18:01:10] Anyone know what is called on the skin to show subpages? when $wgNamespacesWithSubpages[NS_MAIN] = true; [18:02:19] Wiredtape, grep for the variable? [18:02:23] hmm...i am making a template now..."template:infobox".....i am writing about computer programs...so i will have example: OS=windows version=1.0.2 webpage=www.test.com language=norwegian.....and so on...but if a program doesnt have a webpage..i dont want it to be inside the template at all...can somone help me with this one?:) [18:03:52] patch: do you have tidy enabled? [18:04:41] tidy?..that is? (sorry for beeing a noob at mediawiki=/ ) [18:05:29] !tidy | patch [18:05:29] --mwbot-- patch: For more information about HTML Tidy, see . [18:05:49] patch, try this in a preview: {{#if:1|}}
12
[18:06:14] jack: great for "what", not so great for "if" which was my goal [18:06:52] :> [18:06:59] poks [18:07:43] Splarka: i think this was what i needed..*testing* [18:08:28] patch: if you have tidy, that will work properly, if not you'll get 1 2 [18:08:40] if the latter, there are other options (but find out first) [18:12:07] 03(WONTFIX) Use GNU gettext technology as an approach to i18n - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12393 +comment (10niklas.laxstrom) [18:15:59] dev's -> would anyone be so kind as to add a hook to function subPageSubtitle() in skin.php ? or even better would be a setting for how many times it iterates... (specifically in my case I need it to show all of the subpages including the one I am on..) [18:20:16] subPageSubtitle() is what displayes the subpages when calling $this->html('subtitle') [18:23:22] poks [18:32:05] anyone ? :) [18:42:09] Splarka: i got {{#if:1|}} [18:42:09] 1 2 [18:42:23] that means i dont got tidy enabled? [18:46:30] 03(NEW) editing page that is highly transcluded leads to read timeout - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12814 15enhancement; normal; MediaWiki: Page editing; (cbm) [18:55:32] patch: well, I guess that means you don't have parserfunctions [18:55:46] oh, unless you meant you got 1 2 only [19:05:16] How do I change the background color without removing the logo? testing ::: body background: #ffff00; ::: removes the logo too [19:06:53] 03aaron * r30191 10/trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql: Syntax fixes [19:09:17] 03aaron * r30192 10/trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql: Make this an int to avoid code forking [19:13:42] Splarka: how do i enable parserfunctions? [19:14:44] elliottcable: around? [19:14:51] !parserfunctions | patch [19:14:51] --mwbot-- patch: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [19:15:58] rev_deleted CHAR NOT NULL DEFAULT '0', [19:16:01] *AaronSchulz sighs [19:17:41] dev's -> would anyone be so kind as to add a hook to function subPageSubtitle() in skin.php ? or even better would be a setting for how many times it iterates... (specifically in my case I need it to show all of the subpages including the one I am on..) [19:17:48] subPageSubtitle() is what displayes the subpages when calling $this->html('subtitle') [19:19:46] 03(FIXED) Import sources on el.wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12812 +comment (10jeluf) [19:20:49] Steev43230: use background-color to just change that part [19:21:00] 03aaron * r30193 10/trunk/phase3/maintenance/ (postgres/tables.sql updaters.inc): [19:21:00] * Make rev_deleted an integer [19:21:00] * Add rev_deleted to updaters.inc [19:24:17] 03(FIXED) Set two new namespaces for vec.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12800 +comment (10jeluf) [19:26:19] hmm, Simetrical: mind if I expand mediawiki.org's MediaWiki:Filedelete-reason-dropdown to include "Upload to [[commons:Main Page|commons]] with proper licensing and source"? [19:27:04] n8 [19:28:05] Skizzerz, go ahead. Of course that should only be done if it's of general use. [19:28:13] Screenshots of MediaWiki probably don't need to go to Commons. [19:28:32] looking through the deletion log, that's a fairly common file deletion reason for test uploads and the like [19:28:57] (or variations of it) [19:30:54] Good afternoon [19:32:07] Chaos; Same to you. [19:32:51] I am going to attempt to contact my webhost before I bother you with my question, but keep me in the back of your minds [19:33:00] I'm finding some of the most hilarious vandalism, reverting and it is wrong of course, but still, it makes me laugh. And ok Chaos. [19:33:26] I am setting up MediaWiki for the first time, and I have a lot of questions that the well documented MediaWiki Wiki isn't covering [19:33:38] AaronSchulz: heya [19:33:43] AaronSchulz: Ping ping, you back aroundish? [19:34:02] I would like to add a form to a page that updates an external database and also adds content to the page. I can take care of the database part, but I am not sure how to tell MediaWiki that an edit is occuring. What information do I need to include as part of my form (wpSection, wpStarttime, wsEdittime, wpScrolltop?) [19:34:14] yes [19:34:48] AaronSchulz: PMs? [19:34:48] Chaos; fire away. [19:34:49] Well I am trying to enable short/pretty urls right now, and because I am on DreamHost I don't have access to my httpd.conf [19:35:04] So I assume I need to use a large swarth of htaccess or something [19:35:32] matt357: http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Parameters_that_are_needed_to_save [19:35:55] section and scrolltop are optional [19:36:21] thanks, I'll take a look [19:36:49] AaronSchulz: that is, Private Messages. Not PMS, hehe d-: [19:36:51] at the very minimum, you only need textbox1, edittoken, and starttime (which can be made up).. you need edittime if you're editing an existing page [19:37:34] 03(FIXED) Change patrolling settings on Russian Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12724 +comment (10jeluf) [19:38:28] do you have a recommended way to set set the times? [19:47:14] can I get edittime and starttime like the normal edit page does ($request->getVal('wpEdittime')? [19:47:30] *Skizzerz presses the easy button and hopes that his problem gets solved [19:47:32] ... nope >_> [19:48:05] can you suggest a way to set the start and edit times? [19:49:21] anyway, I wrote an extension that logs its actions, which appears to be working fine in Recent Changes, but the log entries themselves aren't being committed to the database in the logging table. any ideas why? [19:50:24] Who knows a lot about htaccess [19:50:32] :D [19:51:31] matt357: you can probably make them up if you get them close enough [19:51:48] Not edittime, that has to be accurate to the second [19:51:52] the starttime is for detecting deletion/recreation conflicts, and the edittime is for resolving edit conflicts [19:51:58] 03(FIXED) Namespace request for Wikibooks Turkish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12677 +comment (10jeluf) [19:52:29] Roan: unless more than one person is editing, does it actually matter? (when anonymous anyway) [19:53:07] Splarka: Yes. If the edittime does not exactly match the timestamp of the last revision, a conflict is reported [19:53:23] I notice that when I view the source of an edit page, the edittime and starttime are filled in with times. How does mediawiki populate these times? [19:53:35] Roan: ahh, annoying [19:53:52] matt357: you'll have to scrape the edit page for that then, or use the API [19:53:53] matt357: By querying the database for the timestamp of the last revision [19:54:08] heh, cheating [19:54:10] API: api.php?action=query&prop=revisions&rvprop=timestamp&titles=Main_Page [19:54:28] anyway, if creating a new page, it isn't needed, and in such a case, the starttime can be made up [19:55:48] *Splarka hmms, and wonders what prevents malicious off-site websites from creating self-submitting JS forms to spam wikipedia.. [19:56:39] 14(INVALID) New logo for Basque Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12789 +comment (10jeluf) [19:57:12] Splarka: No one knows MediaWiki well enough, I think [19:57:16] EditPage.php is a beast [19:57:27] 03aaron * r30194 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Convert to db timestamp format [19:58:53] Simetrical: PING [19:59:13] Pong. [19:59:27] Simetrical: Do you have access to the servers' error_logs? [20:00:03] can you send the full link for the page your were referencing? [20:00:37] RoanKattouw, I have commit access only. [20:00:41] Same as you. [20:00:43] Hmm [20:00:51] I though you were pretty high up the ranks [20:00:53] Maybe you are [20:01:01] But apparently not that high ;) [20:01:08] I'm not actually any higher up than you are, or anyone with commit access is. [20:01:20] My problem is that WMF servers are returning blank pages on some requests, but not on others [20:01:33] Which leads me to think that a few servers are behaving badly, and others well [20:01:56] And as it's mostly my code in there, I'd like to know what's causing it :P [20:02:09] Do you know who would have access (aside from Brion and Tim(? [20:02:44] I've just been there for like a year and a half. [20:03:05] http://meta.wikimedia.org/wiki/Developers [20:03:13] Anyone with shell access, probably. [20:03:18] Okay cool, I got my wiki to use pretty urls! [20:03:26] But, it loads the page with no formatting or images [20:03:30] So some subdirectory is wrong [20:03:44] http://cleveland2.dreamhosters.com/wiki/Main_Page is the site [20:03:48] Simetrical: It only really mentions Brion and Tim :( [20:04:49] Any quick fixes [20:04:50] 03(mod) New logo for Basque Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12789 (10mik.iturbe) [20:04:52] seems like at least d*mas, r*ver, and j*luf would have the same access [20:05:07] RoanKattouw, it mentions a lot more than that, or it should. [20:05:07] Maybe my articlePath or PathInfo may be wrong? [20:05:12] *Simetrical goes to look [20:05:14] Oh right yeah [20:05:17] Chaos: your scriptpath is wrong [20:05:23] I looked at mw:Developers rather than m:Developers [20:05:24] The requested URL /w/index.php was not found on this server. [20:05:29] wassup? [20:05:35] $wgScriptPath = "/w"; [20:05:41] Hmm Domas and flyingparchment have shell access too [20:05:48] http://cleveland2.dreamhosters.com/w/index.php [20:05:50] flyingparchment: PING [20:05:50] They have root access, yes. [20:06:15] What..should it be? [20:06:39] The dreamhost wiki said /w [20:06:42] Was the correct way to do it [20:06:46] whatever it actually is? [20:07:02] it isn't / or /w [20:07:06] domas: PING [20:07:09] I don't know what it actually is :\ [20:08:38] RoanKattouw, you could ask in #wikimedia-tech. [20:08:47] I just made changes according to a wiki article [20:08:50] It told me /w [20:08:51] *Simetrical finds this nice little chart of WMF staff: http://wikimediafoundation.org/wiki/Image:Wikimedia_Foundation_organization_chart.svg [20:09:03] arfg [20:09:21] Why is colon not part of deletecomment message? [20:09:50] 03aaron * r30196 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: DB format conversion [20:09:56] RoanKattouw: what? [20:10:08] How would I determine my proper ScriptPath [20:10:14] Simetrical: noticed [20:10:24] flyingparchment: Can you check the WMF servers' error_logs for me? [20:10:30] What does that mean and what do I change it do, the rest of the prettyurl conversion worked, and I am happy with those results [20:10:33] only if it's very important [20:10:35] The API is giving me blank pages on some requests and not others [20:10:51] ask brion or tim then [20:11:01] On Sundays? [20:11:08] hmm, anyone wanna help me with a logging problem (and DON'T say !ask ;) ) [20:11:21] RoanKattouw: what, it's okay to ask me on sunday and not them? [20:11:35] ... anyway, I wrote an extension that logs its actions, which appears to be working fine in Recent Changes, but the log entries themselves aren't being committed to the database in the logging table. any ideas why? [20:11:35] at least they get paid for that shit [20:11:36] Well *they* are never around on Sunday, you are ;) [20:13:16] How would I determine my proper ScriptPath [20:13:16] :L [20:13:17] wait until monday then [20:13:17] or stop whining [20:13:24] lol point taken [20:14:45] 04(REOPENED) New logo for Basque Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12789 (10mik.iturbe) [20:16:15] Okay I fixed my own problem [20:19:22] I'm having weird caching errors [20:19:31] here's my php log [20:19:33] http://p.ramaze.net/339 [20:24:19] Anybody have any ideas? [20:28:49] 03catrope * r30197 10/trunk/phase3/ (5 files in 3 dirs): API: Splitting of uiuser part of meta=userinfo to list=users, as discussed on the API list. [20:29:43] 03aaron * r30198 10/trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql: Use integer for consistency [20:31:50] 03aaron * r30199 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Small fixes [20:46:00] MediaWiki: huh? [20:46:06] :P [20:46:18] *MediaWiki has to use it SOMETIMES [20:47:06] MZMcBride: you're referring to the nick I assume, right? [20:47:15] yeah [20:47:24] elliottcable: you have file cache enabled? [20:47:27] probably best not to use it [20:47:29] true [20:47:56] but I try to use all the nicks in my list so that they don't get inactive [20:48:16] although if brion or someone wants it, I'll drop it for them [20:52:31] MZMcBride: Memcached, I think [20:53:04] elliottcable: you meant Nikerabbit i think :) [20:53:13] Nikerabbit: ** [20:53:17] sorry MZMcBride [20:53:24] I haven't slept in around... well I can't count now, too tired [20:53:27] well those warnings look like you have file cach enabled [20:53:28] but many many hours [20:53:49] Nikerabbit: I don't believe I do, what's the setting for that? [20:53:51] right now I have $wgMainCacheType = CACHE_MEMCACHED; [20:54:01] and [20:54:01] $wgMemCachedServers = array ( 0 => 'localhost:41895', [20:54:01] ); [20:55:20] $wgUseFileCache ? [21:04:10] I am trying to set wpEdittime and wpStarttime. Can anyone tell me where in the code these normally get set for a page edit? I would like to use the same method mediawiki normally uses. [21:12:38] matt357: and why do you need to set them? [21:14:40] Anyone with commit access here? [21:14:59] 06(LATER) New logo for Basque Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12789 +comment (10jeluf) [21:15:35] extensions/FlaggedRevs/README.txt: ISO-8859 English text [21:15:43] AaronSchulz: hmm? [21:16:12] wo0t? [21:16:24] Wiredtape: yes, but that's not a good question [21:17:15] isn't it lovely that copyright sign isn't in ascii [21:18:43] Wiredtape: What do you need? [21:19:34] I was wondering if one of you would be so kind as to add a hook to function subPageSubtitle() in skin.php ? [21:22:50] Nikerabbit: I am trying to create a form that will store data in an external database and will also insert the data into the wiki page [21:25:27] I am trying to figure out what parameters I need in my form to tell MediaWiki that an edit is being made (so that MediaWiki will do the normal editing functions such as updating the page content, saving the revision, etc.) [21:27:32] matt357: maybe just use the normal edit page and replace the form? iirc there's a hook for that [21:29:00] I have considered that, but I would prefer to put the form on the actual page. I can set it up so that the form appears, I just don't know what data MediaWiki needs. [21:31:07] matt357, consider semanticforms extension (requires semantic mediawiki) ... however you'll need to hack it to save the data on a seperate db.. [21:31:54] 03aaron * r30200 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.pg.sql FlaggedRevs.php): Tweak [21:32:34] ok.. should I go to bugzilla to request a new hook? [21:34:14] probably [21:35:19] MinuteElectron, ok, thanks [21:43:45] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 +comment (10minuteelectron) [21:48:02] why is   transformed into a space by the edit window ? [21:48:54] Hey y'al [21:49:25] hi elliottcable.. [21:52:21] ThomasV_: I believe that the parser turns escaped HTML chars into their actual utf8 values and an nbsp would appear to be a space if that was done on it - although I suspect that if you actually made it so they were in the right place it would work as an nbsp but the user agent might be broken with literal nbsp's as well. [21:54:22] When I want to change some things in $wgGroupPermissions, do I just add lines to LocalSettings? [21:54:48] Chaos: yes [21:54:56] Sweet, thank you [21:55:08] $wgGroupPermissions['group']['permission'] = true/false; [21:55:14] Is there a name for un-registered users [21:55:34] I don't want them to be able to make anything [21:55:41] !access [21:55:41] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [21:55:47] Chaos: ^ [21:55:56] Genius! [21:55:58] Chaos: * [21:56:16] * is unreg? [21:56:28] Oh I see [21:56:32] visitors [21:56:36] I love IRC [21:56:42] G_SabinoMulane? [21:56:44] * is everyone [21:56:55] but you can over ride with other groups [21:57:10] Got it [21:58:27] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 +comment (10minuteelectron) [21:59:55] 03aaron * r30201 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Tweak [22:07:01] 03thomasv * r30202 10/trunk/extensions/ProofreadPage/ (ProofreadPage.i18n.php ProofreadPage.php proofread.js): added js attributes; added dirty workaround for corrupt wptextbox1 [22:11:06] flyingparchment: if you're interested: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#I_.3C3_modern_skin.2C_except_for_three_things [22:21:18] can someone please tell me where I can get information about wpEditToken? I would like to figure out how to set this. Thanks [22:25:48] matt884: http://www.mediawiki.org/wiki/Manual:Edit_token and http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php may be helpful [22:28:27] You are all very helpful and I thank you for your service [22:30:27] 03thomasv * r30203 10/trunk/extensions/ProofreadPage/proofread.js: prevent user from editing this box after it's been modified [22:32:15] 03aaron * r30204 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.php): [22:32:15] * Remove duplication [22:32:15] * Code clean up [22:35:51] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 (10Simetrical+wikibugs) [22:43:28] hello, could someone synchronize /extensions/ProofreadPage ? I just fixed a bug that is annoying [23:07:08] how do I create a link in the navigation bar? ** [http://forum.cs-cart.com Forum] like that? [23:07:21] !sidebar [23:07:21] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [23:08:01] Thank you [23:19:27] Anyone know if there have been major changes to ajaxfunctions.php from 1.11 to trunk? if I copied ajaxfunctions.php(trunk) onto my 1.11 would things break? [23:21:07] Hi [23:21:23] hi Y|akk [23:22:05] I'm following these instructions to install media wiki http://www.ehartwell.com/InfoDabble/HowTo:_Install_MediaWiki_on_a_GoDaddy_Value_Plan [23:22:13] Wiredtape: diff is your friend [23:22:31] I don't get Download from SVN [23:23:38] Duesentrieb, i thought it would be rather difficult to see if there have been major changes that affect ajaxfunctions.php from other classes/things... [23:23:49] Y|akk: it doesn't say anything about svn... [23:24:32] ... ok so I need to download mediawiki-1.11.1.tar.gz and extract it [23:24:32] Y|akk: on the download page, grab the latest bundle from the box on the right. svn is for developers (mainly) [23:24:34] !svn [23:24:34] --mwbot-- Subversion is a version control software that allows users to download the very latest version of a branch without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches. See http://www.mediawiki.org/wiki/Subversion for more information. [23:25:39] Wiredtape: hm? you should see everything relevant in the diff. as long as you understand all changes, you are good :) [23:27:22] Y|akk: i don't know why the instructions link to the svn download page. they should point to http://www.mediawiki.org/wiki/Download or to http://download.wikimedia.org/mediawiki/ (for purists). [23:27:40] Y|akk: perhaps tell them. other than that, the instructions look sane on first glance. [23:27:53] Duesentrieb, k, thanks [23:28:16] *amidaniel tears his hair out [23:29:20] thanks I see now [23:29:39] *dungodung reattaches ami's hair [23:30:10] Thank you, dungodung :) [23:30:19] anytime =)