[00:06:26] Hi... I'm trying to upload an FLCV file and after a warning about its size, I get the following error: Could not create directory "public/6/69" [00:06:33] FLV * [00:10:54] how would I query the database to get the timestamp of the last revision of the page (to set wpEdittime)? [00:12:05] JoKo, checked the permissions on the upload directory? and made sure php/webser. able to write to? [00:15:54] alnokta: Found it, it was permissions indeed... Wrong owner... [00:16:07] Thanks for helping... [00:20:11] Hello I am trying to get the extention MultiUpload to work with mediawiki 1.11 and I am getting errors after I have updated multiple images. The error says that it can not loca magic database at /etc/magic. When I move the /usr/share/file/magic to /etc/magic.mime, it breaks the mime detection and says that everything I upload may be a virus and will not display. Has anyone used this extention before? Are there better ways to upload many images to mediawiki [00:26:08] What is an extension that makes users type in a random code to make posts? [00:27:59] ! CAPTCHA [00:28:07] ConfirmEdit [00:28:35] http://www.mediawiki.org/wiki/Extension:ConfirmEdit [00:29:29] also http://www.mediawiki.org/wiki/Extension:ReCAPTCHA [00:34:57] Thanks MrZ-man [00:35:19] If I want to center some text in an edit what code do I use? [00:37:07] [center]text[/center]? [00:37:39] reCAPTCHA needs to be fixed... [00:37:50] it only works with an old copy of ConfirmEdit [00:41:10] hello, I'm having a bit of trouble with the LDAPAuth extension for mediwiki. Is there anyway to get it to output information on why it is failing? [00:41:27] !errors [00:41:27] --mwbot-- 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. [00:41:35] that may help... [00:43:07] well text doesnt work [00:43:45] josiah: gah [00:44:03] gah? [00:44:21] well i cant find anything in bbcode lol [00:44:56] you just want to center text? [00:45:40] yep :) [00:45:44]
foobar
[00:45:50] its one life of text [00:46:03] ah... i tried [center][/center] and that didnt work... didnt try <> [00:46:14] in MediaWiki you tried [center]? [00:47:23] you could also use:
test
[00:49:23] and if I want to comment out text so that only editors can see it? [00:49:32] <-- test --> [00:49:34] ? [00:49:41] or #text [00:50:05] [00:50:39] thank you [00:51:06] josiah: http://meta.wikimedia.org/wiki/Help:HTML_in_wikitext [00:53:42] that reminds me... I was going to code a bbcode parser for mediawiki to ease in forum users... [00:59:47] make 'splain why footnote n has html anchor n-1 pls [01:02:43] MZMcBride: thanks. [01:15:14] on the Simple skin that comes with MediaWiki is there any way to disable the 'From $sitename' underneath each page title? [01:16:01] open the skin's php file and remove the appropriate line [01:16:22] I can't seem to see it, i will keep looking [01:16:25] [the line] [01:16:38] Or just hide it with CSS [01:30:31] 03aaron * r30205 10/trunk/extensions/FlaggedRevs/Language/FlaggedRevsPage.i18n.en.php: Message tweak [01:30:54] Hi there! [01:31:12] got a really stupid question, someone with enough patience? [01:31:59] !ask [01:31:59] --mwbot-- 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. [01:33:15] ok, trying to use mediawiki on a free host, is that possible? [01:34:25] it depends on the free host [01:34:50] just try to install it [01:35:04] Questionmark, MediaWiki requires a web server, PHP, and either MySQL or PostgreSQL (or possibly Oracle, but not recommended for production use). [01:35:05] newsit.es, is supposed to have php 5 enabled [01:35:11] If you have those, you'll be able to run it. [01:35:43] 03aaron * r30206 10/trunk/phase3/maintenance/postgres/tables.sql: Normalize _deleted stuff [01:35:52] ok, thanks, lets say the server is capable [01:35:53] Ideally, you shouldn't have safe mode enabled, and it's good if you have non-restrictive open_basedir, shell access, etc. But if you have a web server, PHP, and a database server, you can run it. [01:36:40] is it too much asking where can i get info on how to install it? have installed it locally, but don't know how to do it in that kind of servers [01:37:36] i think it won't (layeredpanel says the hosting by it don't support big scripts like wikis) , but who knows [01:38:10] !install [01:38:10] --mwbot-- Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [01:38:45] I suspect that if your host is free, you can't run an app as big as MediaWiki. [01:38:58] Typically you'd need to pay at least a few dollars a month for that. [01:39:01] something smaller? [01:39:02] 03aaron * r30207 10/trunk/phase3/maintenance/updaters.inc: More _deleted normalizing [01:39:30] Well, you can try it, go ahead. If it doesn't work you can try a simpler wiki package. [01:39:39] yes mwbot, but when I read installation procedure lead me to installing it on mi local [01:42:36] don't mean to bother, do I upload the files directly to the host? [01:42:37] Questionmark, you need to upload the files to your server. [01:42:39] Yes. [01:43:11] I can work them online? or should I first configure it? [01:43:24] You need to upload before you run the configuration script. [01:43:40] Questionmark, you also need to create a database and database user and assign the database to the user [01:43:47] The configuration script will create a configuration file appropriate to where it's being run. If you run it on your computer and copy it elsewhere, the configuration file won't work anymore. [01:44:11] alnokta, well, that can be done automatically, IIRC, if you have an account with the right to create databases/users. [01:44:19] Ok, Thanks! [01:44:29] how do I change the charset used for mediawiki ? [01:44:30] I don't know if you really need the root account or if the ones you get from shared hosts are enough. [01:44:39] yes, the server is said to feature 5 DB's per user [01:44:40] Monobi, MediaWiki has supported UTF-8 only since around 1.5. [01:44:50] by default? [01:44:51] Monobi, other character sets are not supported. [01:44:56] oh [01:44:57] ok [01:46:30] Simetrical, i doubt it [01:48:00] I'll try that now, thank you all. [01:53:32] !!!Help: Can't get to work! Failed to parse (Can't write to or create math output directory) [01:53:32] --mwbot-- I don't know anything about "!!help:". [01:53:50] lol [01:53:55] :) [01:54:07] Help!!: Can't get to work! Failed to parse (Can't write to or create math output directory) [01:54:25] you don't need math :P [01:54:38] aka maths sucks [01:54:48] alnokta: the wiki math tag [01:54:49] especially alg 2 [01:55:07] jdm64: can be tricky to get working [01:55:27] jdm64, well, did you add require_once( ' ') to localsettings ;p ? [01:56:04] MZMcBride: require_one('') ? where do I add that? [01:56:16] (you mean Monobi :) ) [01:56:24] yeah [01:56:28] opps [01:56:30] lol [01:56:41] I was just kidding, but if that's your problem [01:56:43] ... [01:57:08] Monobi: do I add it to the end of the Localsettings.php file? [01:57:13] require_twice("Monobi"); :P [01:57:27] jdm64, look @ the docs [01:57:28] .docs [01:57:34] !doc [01:57:34] --mwbot-- An overview of available documentation about MediaWiki can be found at [01:57:40] sweet [01:57:44] !math [01:57:44] --mwbot-- http://www.mediawiki.org/wiki/Manual:Math [01:58:07] I tryed to follow everything there but I still can't get it to work [01:58:32] !parserfunctions [01:58:32] --mwbot-- "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 . [01:58:43] the last time i tried getting to work, i ended up using mimetex [01:58:52] Monobi: huh? [02:00:10] !svn [02:00:10] --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. [02:00:20] does mwbot have a throttle ? [02:00:33] Would texlive work for the latex program? That's what I installed on debian! [02:00:46] Monobi, yes, if it goes too fast it will get killed for flooding. ;) [02:01:00] lol [02:01:26] *MZMcBride punts Monobi to #mwbot [02:03:40] Hi... Is there any extension for Mediawiki for displaying code? E.g. a MATLAB file or a C one [02:04:11] !geshi [02:04:11] --mwbot-- there are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [02:04:15] meh, I'm stupid... I cant figure out how to set my logo, $wgLogo isnt working [02:04:31] Monobi: did you resize the image? [02:04:34] no [02:04:39] ... [02:04:40] 132 px [02:04:47] JoKo: those links above should help [02:04:53] !logo [02:04:53] --mwbot-- The logo that appears in the top left of each page is determined by the $wgLogo configuration setting in the LocalSettings.php file. To change this you simply need to change the value of $wgLogo to point to the URL of your own logo image. See for more information. [02:08:15] MZMcBride: thanks a lot! [02:08:22] no problem [02:08:36] oh, I broke my wiki again [02:12:09] this is the error I'm getting: http://pastebin.com/d5c361270 [02:12:17] Hi all. I would like to scrape a MediaWiki installation ( http://openwetware.org/ ) so that I can have a few backups of it. Are there any bots that I should look into? [02:13:01] pywikipediabot [02:13:11] thank you [02:13:14] kanzure, do you own it/access to it? [02:13:29] well, i would check line 2518 of User.php :p [02:13:39] alnokta: I am just a humble user who has found the website. [02:14:06] ah [02:14:29] I am creating a biotech zip file with important documents on how to make tools and equipment yourself, as well as how to go find ecoli colonies and maintain purity etc. [02:14:37] so obviously I'd like that entire wiki to be included [02:16:00] is there any way to change permissions w/o using the wiki? [02:16:01] it might be a good idea if you contact people running it and ask for a dump .. who knows [02:16:22] alnokta: yes, perhaps that's a good idea [02:16:36] alnokta, ^ [02:16:43] pywikipediabot has a file which gives you the html pages [02:16:49] yuck, that's not the raw data [02:16:58] but I guess it'll suffice [02:17:22] anyway to change permissions w/o using the interface/ [02:17:24] Monobi, of users, through the database i guess [02:17:28] ok [02:17:38] (phpmyadmin, mysql monitor) [02:18:16] anyother ways? [02:18:23] I dont have access to my database ATM [02:18:37] Monobi: hmm? [02:18:53] change what permissions? [02:18:56] anyway to change useraccess w/o using the interface [02:19:01] like 'crat, sysop, etc [02:19:12] you can do it via SQL queries... [02:19:29] but using Special:Userrights is generally cleaner (and more well-documented) [02:19:50] *Skizzerz can search for the queries to use though [02:19:56] may be through the api? i don't know if that is implemented [02:20:39] doesn't appear to be so... just checked api.php and it's not listed there [02:20:52] alnokta: What file is it that gives me the raw HTML? [02:20:58] nah, I fixed it [02:21:15] I gave reg users access to special:userrights to fix it :p [02:21:18] I undid it [02:21:22] I see an imageharvest.py ... but that's not pageharvest [02:21:27] ok, last question... [02:21:37] can I set a default font somehow ? [02:21:38] kanzure, http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/saveHTML.py?revision=3336&view=markup [02:21:46] oh [02:21:47] I see [02:22:13] how do you do [code]code[/code] in the wiki? thats how it is done in most forums to display code... is it the same with a wiki? [02:22:33] josiah, code [02:22:33] josiah: [something] is never used in MediaWiki [02:22:40] always <> [02:22:46] ok [02:22:48] anyway to change default font ? [02:22:51] Monobi, something similar to that in mediawiki:monobook.css http://ar.wikipedia.org/wiki/%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Alnokta/monobook.css [02:22:58] okay [02:23:00] Monobi: change global CSS [02:23:06] right, okay [02:23:10] MediaWiki:Common.css [02:23:32] how do I change the whole thing though, the body, the sidebar font, etc ? [02:23:41] MZMcBride: is there a way to make it so that BBCode works in the wiki? [something] is bbcode right? [02:24:07] josiah: currently? no, i don't think so. you could try the Extension Matrix [02:24:38] I see the wysiwyg but it is in beta so I am afraid to use it :) [02:25:01] Monobi:
? [02:26:09] MZMcBride, what MZ mean ? [02:26:27] initials [02:28:47] would
code
work instead of code? [02:29:18] yes [02:29:23] but if you have any wiki code it will show it [02:31:14] I'm running Mediawiki on a P4@3GHz server and when someone loads a page with lots of math types (there are also plenty of such pages), server gets veeeeery slow. Is there any way to speed up things, like cache the math images? [02:32:55] lol, I have a problem... interwiki rights are given to every... [02:33:06] what do I need to add so it's only a group who can use it [02:33:16] JoKo: i don't think so... [02:33:24] Monobi, what do you mean, interwiki rights are given to every? [02:33:38] MZMcBride, JoKo: Wikipedia caches math images indefinitely, so there's got to be some way. [02:33:44] Aren't they just created and stored in the math/ directory? [02:34:06] hmm.. when i load WP pages, i've always noticed the math rendering, or at least taking longer than everything else to load [02:34:10] Simetrical, http://www.mediawiki.org/wiki/Extension:SpecialInterwiki it's not under restricted pages [02:34:47] <^demon> AaronSchulz: Ping [02:34:49] Monobi: that doesn't necessarily mean it's not restricted [02:34:54] ^demon: ! [02:34:54] tried logging out? [02:35:03] then, how do I set it so it's restricted [02:35:12] MZMcBride, believe me, it's not restricted [02:35:15] <^demon> AaronSchulz: Mind if I /msg you? [02:35:21] Monobi: did you set: [02:35:22] $wgGroupPermissions['*']['interwiki'] = false; [02:35:22] $wgGroupPermissions['sysop']['interwiki'] = true; [02:35:25] grr, just do it [02:35:28] <^demon> k [02:37:46] I am trying to make a howto on who to use code. How do I write code in the page without the wiki thinking its code? [02:38:17] Do I do this code [02:38:17] use < [02:38:23] [02:38:33] < is much easier... [02:39:31] <code> [02:39:38] ah [02:42:36] nah, is :) [02:47:16] MySQL returned error "1305: FUNCTION wikidb.CONCAT does not exist (localhost)". [02:47:18] ?? [02:50:12] yeah I like using :) [02:54:41] What is the maximum number of templates/transclusions which may occur in a single page? [02:55:14] Amgine: depends which version of MediaWiki you're using [02:55:20] and how slow you want the page to be [02:55:26] and how the templates are written [02:55:38] Assume current page, on WMF site... [02:55:50] which wiki? [02:55:57] sv.wiktionary [02:56:08] alnokta: Hey, I can't run "python saveHTML.py -o:oww/ -images http://openwetware.org/" -- what gives? [02:56:13] check the source of the page for "pre-expand" [02:56:24] it has a byte counter [02:57:06] [02:58:06] do you know how to check the source of a page in your browser? [02:59:17] Pre-expand include size: 2899/2048000 bytes [02:59:24] From the main page of svwikit [02:59:24] Yes, I have the byte counter of the page. But the version which is exploding I *don't* have a byte counter for. [02:59:26] kanzure, you have to first configure it to work with opennetware.org http://meta.wikimedia.org/wiki/Pywikipedia_bot_on_non-Wikimedia_projects [02:59:35] yes, I did that, alnokta [02:59:49] *amidaniel wanders off again :) [02:59:52] 758/2048000 bytes [02:59:53] I even tried "python saveHTML.py -o:oww/ -images *" [03:00:05] kanzure, and it won't get the whole site by automatically [03:00:19] kanzure, saveHTML.py pagename [03:00:36] Amgine: figure it out? [03:00:45] alnokta: ouch ... I need a list of all of the page names, then ? [03:00:46] No. [03:00:54] link the broken page [03:01:01] Amgine: it's a maximum expand size, not a maximum number of transclusions [03:01:14] Thanks [03:02:15] kanzure, http://openwetware.org/wiki/Special:Allpages [03:03:01] kanzure, see this also (haven't tried) , http://www.devarticles.com/c/a/Web-Services/Website-Mirroring-With-wget/ [03:03:22] Werdna, MZMcBride: the page size does not seem to have been the issue. The more-than-1000 templates seems more likely. [03:03:22] Amgine: you can see if you've hit the limit by checking the page source [03:03:26] there's a comment there. [03:04:17] alnokta: Perhaps I will use wget. :) [03:04:21] wget -m, if I recall correctly [03:04:44] Werdna: Trying to get the original text now... [03:05:02] *Werdna heads off to a wikimeet [03:10:45] alnokta: The problem with wget -m is that it gets all of the "edit" and "history" pages too, and it's all disorganized whe nit grabs the files. [03:14:13] kanzure, http://openwetware.org/wiki/Special:Export [03:35:22] 03(mod) Allow "hidden" references - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12765 +comment (10bill.mitchell) [03:41:01] 03kim * r30208 10/trunk/extensions/Wikidata/OmegaWiki/ (4 files): remove RecordHelper, no longer used [03:48:01] 03(mod) Enable editors to control footnote ordering and to insert wikitex between footnotes . Also declutter article prose. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12796 +comment (10bill.mitchell) [04:30:28] Does anyone know how wpedittime gets set in editpage.php? [04:37:02] mArticle->getTimestamp() [04:37:21] timestamp of the top edit on the article in question [04:37:37] splarka: can I use this outside of editpage.php? [04:37:50] so if another top edit is made, between clicking [edit] and clicking [save], a conflict is detected [04:39:11] probably? [04:39:52] see function initialiseForm() in EditPage.php [04:41:10] when a .jpg is uploaded to the wiki what directory does it go into? [04:41:46] in initialiseForm() it uses $this->mArticle->getTimestamp();. When I use this outside of edit.php I get the error "Using $this when not in object context..." [04:42:37] @josiah: see $wgUploadDirectory and related variables [04:43:12] where do I see that at? [04:43:41] matt: well, you need to actually define the article. see what defines $this in the editform [04:43:47] localsettings.php? [04:44:06] is there a global that I need to set in order to use $this-> [04:44:29] josiah: it goes inside the images directory [04:45:31] ah there it is thank you [04:45:46] modern is a new skin? [04:45:59] yes [04:46:35] The instructions for dumpBackup.php say to run it with 'php dumpBackup.php', I don't have a binary called php on my system, but I do have php installed. The only thing I had that was close is something named 'php-cgi' -- but I got an error message when trying to use it. Is there any other backup script that doesn't require php? [04:47:21] it looks very good [04:48:00] katie_d, you cannot install php-cli? [04:48:29] Does it hurt anything if I just upload images into the images dir via ftp instead of through the wiki [04:48:40] josiah: yes [04:48:42] does anyone use the Logo extension anymore? Somewhere between r28769 and r30164 it doesn't seem to play nice with the ParserFunctions extension anymore... [04:48:53] the information about the actual files is stored in the DB [04:49:17] bummer... is there a way to allow buld uploading through the wiki? or at least more than one at a time? [04:49:20] alnokta: I need something called php-cli? Let me see [04:49:20] Logo extension? [04:49:52] katie_d, yes, [04:50:21] yeah... Rob Church put it out a long time ago... you specify an uploaded image name in a system message and it'll calculate and resize it for your site logo [04:50:25] it's in svn [04:50:46] ah [04:52:05] alnokta: The only thing that is close in Gentoo's package system is a php debugger client, but I'll go see if I can find the sources online.Thanks [04:53:21] katie_d, what packages you get when searching for php? php-cli is for debian.. [04:53:23] Ok, got it. I didn't build php with --eable-cli [04:53:32] eable --> enable [04:55:04] k [04:56:18] hi i'm using mediawiki on a xampp windows server, how do i tranfer it to another pc with xampp also installed? [04:56:52] install mediawiki dump your db and then load it? [04:57:09] Thanks alnokta, for the suggestion. Have a nice night... [04:58:15] OverlordQ: you mean the mysql exported file? [04:58:21] it is 7am actually [04:58:26] yea [05:00:10] OverlordQ: then I import it to phpmyadmin for example? [05:00:29] depends on how big it us [05:00:33] *is [05:09:05] the preferences page with modern is a little broken [05:10:18] < http://img166.imageshack.us/img166/1987/moderngg9.png [05:13:55] OverlordQ: ok thanks I'm trying it out now [05:17:19] is there something in this: [[Category: Installation How-To]] [05:17:48] that would make it show up as Category: Installation How-T? Missing the o [05:18:13] poorly written code? [05:19:13] it is working for all of the other pages [05:19:35] oh crap its not lol [05:19:42] why would it not include the o? [05:20:07] might be some invisible unicode in there? [05:20:31] I am using inputbox extension [05:20:34] [05:20:38] type=create [05:20:38] width=42 [05:20:38] buttonlabel=Create Article [05:20:38] preload=Template:Configuration How-To/Preload [05:20:38] break=no [05:20:39] [05:20:44] !pastebin | josiah [05:20:44] --mwbot-- josiah: Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [05:20:45] so it preloads the timplate [05:20:47] template [05:20:54] sorry i will use pastebin for now on [05:20:58] i know what it is lol [05:21:32] pastebin the contents of Template:Configuration How-To/Preload ? [05:21:34] here is the code from the template: [[Category: Installation How-To]] [05:21:50] thats the contents [05:21:51] [[Category: Installation How-To]] [05:21:53] one line [05:22:48] but for some reason it is loading it into the article as: [[Category: Installation How-To]] [05:22:57] w/out the o [05:25:21] Splarka: http://img87.imageshack.us/img87/9588/interwikimanagermediawiqd3.jpg [05:26:32] hmmm and for some reason with this code: http://pastebin.ca/875637 it is loading the Category:Installation How-To [05:26:51] without the o again :) [05:27:20] pastebin the contents of Template:Modification How-To/Preload [05:27:47] if i'd like to add new but probably not as regular xml tag extension due to it couldn't handle my needs, what are the places i should look at? thinking about new feature which will affect stuff outside the bodyContent [05:27:47] maybe because the template name has / in the name [05:27:54] i bet thats it lol [05:28:16] HELP please =) ... question: how can I change the BACKGROUND color of anything in MediaWiki's
 
output... for example, currently it is GREY background... I would like to KEEP everything using GREY background, but SOMETIMES I'd like the BACKGROUND changed to LIGHTBLUE [specifically #87CEFA] for my
 
backgrounds... [05:28:39] i hope that makes sense [05:29:06]
?
[05:29:17] 	wow, i try that!
[05:29:56] 	worked like a charm!
[05:30:00] 	03(NEW) $wgLocaltimezone half ignored in signatures - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12815 normal; normal; MediaWiki: General/Unknown; (achuggard)
[05:30:40] 	how can I make that a template? currently my "TEMPLATE:BackgCol" looks like this;
[05:30:43] 	{| style="border: 2px solid #003399; background: #87CEFA; color: black; padding: 10px; width: 100%"
[05:30:43] 	|-
[05:30:43] 	|
[05:30:57] 	how can I add that 
 language in there?
[05:31:09] 	that timezone bug had been bugging me too
[05:31:21] 	now to figure out this Logo nonsense :) 
[05:31:42] 	agntdcooper: what exactly you need? you're mixing table and preformatted text
[05:31:48] 	i'm not sure 
 is allowed in tables...
[05:31:49] 	so that anytime I call the Template {{BackgCol}} it will allow me to use the background color #87CEFA, and in 
 
takes using #87CEFA background color [05:31:56] or in templates [05:32:12] MZMcBride: why not in tables? [05:32:20] Danny_B: I'd like to do both, via a template [05:32:25] are you wanting to have all preformatted text have the specified background color? [05:32:36] or just certain ones? [05:32:37] agntdcooper: aha so you might to do this: [05:32:37] Danny_B: i was thinking about templates i think... [05:32:51] I have only created about 40 pages on my wiki so far -- is it normal for the XML backup from dumpBackup.php to have 1500+ pages in it? [05:32:55] ya, it works perfectly now, with doing this; [05:32:57] {{BackgCol}} [05:32:57]
[05:33:29] 	I'd like to see if I can just create ONE template, and any time I use 
 
in that template, it will use background color #87CEFA [05:34:01] if thats not possible, not biggie, I will just use ; [05:34:01] {{BackgCol}} [05:34:01]
[05:34:25] 	two possibilities, agntdcooper 
[05:34:33] 	shoot =)
[05:34:39] 	either edit global stylesheets and assign classes
[05:35:10] 	i'd rather not fuq with my .css files, but i will if thats what it takes
[05:35:28] 	or create template {{mybackground}} which will contain something only "background-color: #87cefa;" (without " marks)
[05:35:35] 	and then call either
[05:35:50] 	{| style="{{mybackground}} ...
[05:35:52] 	or
[05:35:52] 	ahhh... ok so a seperate TEMPLATE for the background
[05:35:58] 	w00t
[05:36:03] 	sounds like a plan
[05:36:04] 	
[05:36:10] 	I like
[05:36:13] 	thank you!
[05:36:19] 	yw
[05:36:30] 	katie_d, yes
[05:38:23] 	hmm.. i guess that wasnt it... what the hell
[05:39:52] 	alknota: Thanks. Is there any way to veryify that it worked properly? That is, is there some sort of script that checks the dump for errors?
[05:40:13] 	ok... this is exactly what is on the page: http://pastebin.ca/875645
[05:41:37] 	this is the exact text that is in the template that that calls for: http://pastebin.ca/875647
[05:42:35] 	but when I try to create an article by typing in an article name and clicking create article it takes me to an edit page with this in it: http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Category:Installation_How-T
[05:43:02] 	well not that lol this: #http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Category:Installation_How-T
[05:43:04] 	grr
[05:43:23] 	this: http://pastebin.ca/875648
[05:43:35] 	katie_d, not that i know of, you better also get a backup with mysqldump
[05:44:04] 	I dont understand why it would load the Installation template instead of the administrator template
[05:44:17] 	katie_d, and you can import it to another mw installation, importDump.php 
[05:45:24] 	alknota: thanks again.
[05:45:32] 	if you want to try it yourself check out: ourcs-cart.com
[05:45:55] 	click administation and try to create an article
[05:46:06] 	please :)
[05:47:27] 	MZMcBride: got any ideas?
[05:48:23] 	works for me
[05:48:27] 	on test.wiki
[05:48:38] 	really... 
[05:48:41] 	hmm
[05:49:07] 	and on your wiki
[05:49:51] 	not for me
[05:49:57] 	i cleared cookies
[05:50:07] 	which one are you trying it on?
[05:50:20] 	hi, i changed the password of my mysqld account, where in mediawiki do change the password for mysql?
[05:50:47] 	ajushi, LocalSettings.php
[05:53:22] 	alnokta: thanks! :)
[05:56:16] 	another problem though, the links in my site are messed up and i don't know why. the links are like: http://localhost/mediawiki/index.php/index.php?blablah
[05:56:27] 	whis it pointing to /index.php/
[06:08:00] 	Ok, this is odd: Here's our test: "{{#ifeq:1||ooM|Moo}}" expected result "Moo". if I load ParserFunctions followed by Logo it succeeds, if I load Logo followed ParserFunctions result is: "{{#ifeq:1||ooM|Moo}}" as if it didn't recognize the magic word at all...
[06:08:21] 	(both are extensions in svn)
[06:28:19] 	Ok, I accidentally imported the wrong XML file to my wiki, and I created 500ish articles I don't need.  Is there a somewhat easy way to delete these quickly?
[06:28:35] 	I'm a bureaucrat, btw
[06:28:52] 	why are my links displaying like: http://192.168.1.38/wikifilipino/index.php/index.php?title=Unang_Pahina
[06:29:54] 	Because you're editing from within your LAN
[06:30:22] 	nuke?
[06:30:27] 	!e nuke
[06:30:27] --mwbot--	http://www.mediawiki.org/wiki/Extension:nuke
[06:31:07] 	03aaron * r30209 10/trunk/extensions/FlaggedRevs/ (4 files): 
[06:31:07] 	* Support external storage
[06:31:07] 	* Make FlaggedRevision class
[06:31:07] 	* Use db slave for hist queries (not sure why that was master to begin with)
[06:31:07] 	* Bump version
[06:31:37] 	i mean the part: /wikifilipino/index.php/index.php?blahblah
[06:31:52] 	it should be /wikifilipino/index.php?blahblah
[06:36:58] 	ajush: Offhand, I would say look into how your $wgArticlePath and $wgScript variables are set in LocalSettings.php
[06:38:15] 	03(mod) Install PdfHandler extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11215  +comment (10Joshua_Sherurcij)
[06:45:12] 	03aaron * r30210 10/trunk/extensions/FlaggedRevs/ (FlaggedRevision.php FlaggedRevs.php FlaggedRevsPage.php): Fix some silly bugs from last commit
[07:01:36] 	03aaron * r30212 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Should be getTimestamp()
[07:06:24] 	anybody use wiked?
[07:08:28] 	I am looking at http://en.wikipedia.org/wiki/User:Cacycle/wikEd
[07:08:38] 	under: On-wiki installation
[07:09:06] 	can this be installed onto mediawiki would it be good?
[07:10:14] 	03aaron * r30213 10/trunk/extensions/FlaggedRevs/README.txt: Update
[07:12:19] 	is there a method of getting a list of random pages using the API?
[07:29:55] 	Dont think
[07:37:36] 	can someone check this code for me and tell me what's wrong with it?
[07:37:37] 	http://rafb.net/p/H3Vjb739.html
[07:37:56] 	it's in the last few lines of this tutorial http://www.opentutorial.com/Create_adsense_ads_for_mediawiki
[07:44:04] 	What's wrong is PHP teaches bad practices.  Without looking into it, cuz I'm too lazy, are they trying to replace \" with " or what?
[07:45:18] 	It actually teaches good practices by setting a shining example of what you shouldn't be doing
[07:46:14] 	Wait, what
[07:46:22] 	They replace lots of characters... with the same characters
[07:50:04] 	¯\/(ô_0)\/¯
[08:21:51] 	how do I get something to show up at the very bottom of the sidebar?
[08:54:32] 	03river * r30214 10/trunk/phase3/skins/modern/main.css: styling for various forms of , mostly from monobook
[08:55:48] 	03river * r30215 10/trunk/phase3/includes/DefaultSettings.php: $wgStyleVersion++
[09:18:55] <_wooz>	lo
[09:26:39] 	hello! it is possible to make points in the menu doublespaced?
[09:29:30] 	someone understand my english? :-/ 
[09:36:43] 	CSS!
[09:38:01] 	css? 
[09:51:03] 	I know what css is, but i dont know how and where 
[09:54:22] 	in MediaWiki:monobook.css or MediaWiki:common.css (depending on what "menu" you mean, but probably monobook)
[09:54:49] 	and how... well, that depends on what "points" you mean. but consult your favorite css manual.
[09:55:16] 	selfhtml is pretty good (und deutsch)
[10:00:28] 	hey people - how do i align the contents of a cell to the top-right in a Prettytable?
[10:02:38] 	Duesentrieb? Du sprichst deutsch? 
[10:02:54] 	ja, schon
[10:03:03] 	Ich bin mir nicht sicher ob ich es auf englisch so ausgedrückt habe, wie ich es wollte
[10:03:24] 	fishsponge: | style="text-align:right; vertical-align:top" | bla bla |
[10:03:43] 	ich will bei einem Menüpunkt einfach einen Zeilenumbruch machen, weil der sonst zulang ist
[10:04:00] 	hast du das so verstanden? 
[10:04:14] 	DrMeissner: besser, aber was für ein Menüpunkt? Welches Menü?
[10:04:24] 	die sidebar
[10:04:27] 	ah
[10:04:31] 	Duesentrieb: currently, though, i have this: |{{Hl3}}|'''Owner:'''
[10:04:36] 	das sollte eigentlich von alleine umbrechen. an leerzeichen.#
[10:04:39] 	what does {{Hl3}} actually do?
[10:05:02] 	fishsponge: it does wthatever is written in [[Template:Hl3]]
[10:05:12] 	!templates | fishsponge
[10:05:12] --mwbot--	fishsponge: For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy.
[10:05:40] 	DrMeissner: kann ich das mal sehen?
[10:05:54] 	Oh mein gott, das wars schon
[10:06:02] 	manchmal sieht man den Wald vor lauter Bäumen nicht
[10:06:10] 	wie peinlich
[10:06:12] 	aber vielen Dank!
[10:06:19] 	hm? was denn? leerzeichen?
[10:07:01] 	hi
[10:07:05] 	ja
[10:07:09] 	hey, I need a bit of a help with the configurations
[10:07:29] 	for some reason after installing mediawiki I get an error when uploading an image for example
[10:07:40] 	the error says that I dont have permission to write to the "public" folder
[10:07:46] 	I've got no idea what this public folder is
[10:09:18] 	any ideas?
[10:09:55] 	Gaffairor: the public folder is the place where all your web files are, probably.
[10:10:06] 	danke nochmal. ciao!
[10:10:11] 	Gaffairor: though i would have expected that it tries to a subdirectory of that
[10:10:19] 	DrMeissner: mein problem
[10:10:25] 	Duesentrieb: nope, our webfolder is htdocs
[10:10:32] 	Gaffairor: check file permissions, and check safemode restrictions/open basedir.
[10:10:39] 	they're all fine
[10:10:56] 	could it be a configuration error?
[10:11:18] 	Gaffairor: check php settings, especially temporary directories and the upload dir. look for anything with "public" in it i guess.
[10:11:57] 	one common pitfall is also selinux permissions - but i havn't used selinux, so i don't know much about it.
[10:12:14] 	anyway, if you are using selinux, check file acls
[10:12:38] 	hmm
[10:12:45] 	$wgDBts2schema      = "public";
[10:13:02] 	that's the only place where I can see public in mediawiki config
[10:13:10] 	it's under postgres config
[10:14:44] 	Gaffairor: check *php* config
[10:14:52] 	php.ini, or better, run phpinfo
[10:15:49] 	Duesentrieb: There's nothing relating to public
[10:15:56] 	the tmp-folder is the default /tmp/
[10:16:27] 	then i have no clue. maybe enable more detailed error output, perhaps you can get a stack trace
[10:16:29] 	!debug
[10:16:29] --mwbot--	For information on debugging (including viewing errors), see .
[10:16:48] 	writing a debug log might also help
[10:17:17] 	(maybe the message is just worded oddly, and "the public folder" is some concept used by the file store class or something. who knows)
[10:17:38] 	might be
[10:17:54] 	strange that on our other server(same configs, same softwares) it works just fine
[10:20:23] 	it's never exactly the same.
[10:21:34] 	03(NEW) API function to return random page(s) in selected namespace(s) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12816 15enhancement; normal; MediaWiki: API; (overlordq)
[10:22:35] 	true
[10:22:50] 	03(mod) API function to return random page(s) in selected namespace(s) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12816  (10overlordq)
[10:26:14] 	Is there any way to reset a db to a 'clean' state? IE like it was fresh after install?
[10:26:28] 	is there a built-in footnote system i can use in my 1.5.7 wiki? or do i have to start trying to build the necessary templates?
[10:28:41] 	03(mod) Messages cache broken after r29945 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12717  normal->high; +comment (10alefzet)
[10:36:09] 	hi, is there a good way to prevent access to a mediawiki installation while the software is being upgraded? the upgrading guide doesn't say anything about this, but i'd imagine it's a bad thing if people are trying to view/edit the wiki while upgrading is in process.
[10:36:43] 	fishsponge: there is no built-in system. there is the cite extension, but i don't think it will work with 1.5. actually, 1.5 is so old, it should probably left to rot in a quiet corder :P
[10:37:34] 	khaur: set $wgReadOnly = "Upgrade in progress, please be patient!";
[10:38:15] 	khaur: or put something into your .htaccess to redirect everything to some "under construction" page.
[10:38:39] 	Duesentrieb: thanks
[10:38:43] 	OverlordQ: delete the database and reinstall
[10:43:57] 	hi there, template question: I have 
{{{2|sample file contents}}}
- however, the template is not resolved within PRE, obviously [10:44:16] how can I make the template resolve without making # foo \n # bar show up as a list? [10:44:34] put the
 in the template definition?
[10:45:18] 	OverlordQ: I did - but in the preview it shows up as literal "{{{2|sample file contents}}}"
[10:45:28] 	Hi everybody. I'm facing a deep issue with a mediawiki plugin dev. Everything was working great until switch to 1.11. Now, I get LocalFile constructor issue. "Bogus title".  What is the standard way to get the URL for an uploaded file ?
[10:45:54] 	I did it this way : $title = Title::makeTitleSafe("Image",$file);
[10:45:54] 	               $img = new Image($title);
[10:45:54] 	               $path = $img->getViewURL(false);
[10:47:38] 	OverlordQ: it doesn't work - it's never resolved
[10:52:24] 	Ace_NoOne: works fine for me
[10:52:40] 	OverlordQ: odd - can you link me?
[10:52:43] 	http://test.wikipedia.org/wiki/User:OverlordQ/Sandbox
[10:52:52] 	lemme check
[10:53:40] 	OverlordQ: the problem is that I have 
{{1|parameter}}
[10:53:48] you have the PRE contents hardcoded [10:54:06] well yea, of course it wont work [10:54:50] is there a workaround? [10:55:03] Particular reason why you can't edit the template? [10:55:17] and/or make a new template [10:56:03] AFAIK there wouldn't be a workaround as that's the intended behaviour [10:56:32] OverlordQ: I can edit the template - but there is my problem [10:56:50] {{file|file name| file contents}} [10:56:58] I want file contents in PREs [10:59:23] Is it possible to mass export all pages to XML easily? [11:03:00] maintnence/dumpBackup.php afaik [11:30:21] 03(mod) Wikinews: namespace alias for sv.wikinews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12711 (10mickewiki) [11:43:12] Hi... I've enabled some caching features of Mediawiki, since lots of my pages contain math images. So far, caching seems to be working great for unregistered users. However, if a user logs in and tries to see a page (not even edit it), all the math types seem to need to be rendered again. Is there any way to cache the images for everyone? [11:50:38] math should not be rerendered at any time [11:50:40] interesting [12:36:47] JoKo: the way math figures are rendered is influenced by user preferences. if a user has preferences different from the default, it meay be that formulas have to be rerendered (once) [12:42:54] how do you create a code box like you do with bb? ie: [code]all that code[/code] [12:43:41] with
[12:43:51] 	if you want syntax highlighting, you need an extension
[12:43:53] 	!highlight
[12:43:53] --mwbot--	there are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
[12:44:40] 	 exists too, but it's only a style, it does not disable wikitext processing
[12:45:44] 	Duesentrieb: thank you
[12:52:49] 	hello
[12:57:15] 	03huji * r30216 10/trunk/phase3/includes/ (Article.php FileDeleteForm.php SpecialBlockip.php Xml.php): 
[12:57:15] 	* Renaming Xml::reasonDropDown to Xml::listDropDown to make sure it doesn't imply a special usage.
[12:57:15] 	* Adding support for custom name and id, custom class, and custom tabindex to Xml::listDropDown
[12:57:15] 	* Changing the order of parameters Xml::listDropDown accepts.
[12:57:15] 	* Updating ipblock, file deletion and page deletion forms so they all use this new Xml element rather than holding three copies of similar code.
[12:57:20] 	* Removing variables which are no more used in the three above forms.
[12:57:22] 	* Renaming a few variables to follow the coding style of MediaWiki.
[13:02:15] 	Hojjat: did you btw add message deletecomment?
[13:02:27] 	hi
[13:02:34] 	and where do you mean?
[13:03:04] 	notice that it only generates the dropdown, not even the label for it
[13:03:58] 	I'm not talking about it exactly
[13:04:07] 	I just noticed that colon is not part of deletereason
[13:05:04] 	hmm, yrsh
[13:05:06] 	yeah
[13:05:13] 	that is somethign I've noticed too
[13:05:33] 	There are lots of messages which have a colon in the end, and lots which need, but don't (and the colon is added by the code)
[13:05:36] 	looks ugly when we have removed all useless colons from fi but then there is one
[13:05:45] 	fi?
[13:05:46] 	afaik there isn't many of those
[13:05:50] 	fi as in finnish
[13:05:53] 	aha
[13:05:55] 	sorry
[13:06:12] 	deletereason and maybe some in upload form, or maybe those were fixed alreay
[13:06:21] 	anyways, if you're certain one of the two styles is prominantly used (I didn't check deeply) please update accordingly
[13:06:39] 	needless to say, such removal of colons should happen to all languages, not only fi
[13:07:29] 	nah
[13:07:41] 	?
[13:07:41] 	it's fine up to each language decide what's best for them
[13:07:53] 	oh!
[13:07:57] 	it just should be made possible by not hardcoding colons in the code
[13:08:14] 	so you think the colon should "not" be hardcoded, and each lang should decide if they add a colon to the end of the message or not, right?
[13:08:22] 	oops, you jus said that
[13:08:23] 	french will probably go nuts if they cannot add spaces aroudn colons
[13:08:42] 	yeah, I heard something about that recently
[13:09:11] 	and are some people involved in moving colons to the messages files already?
[13:09:57] 	(ie in removing colons from the code)?
[13:10:30] 	Nikerabbit?
[13:10:46] 	I guess nobody is working on that issue particularry
[13:11:06] 	Shall we?
[13:12:18] 	maybe, but let's do it properly then
[13:12:32] 	Of course
[13:16:10] 	hi, hojjat.
[13:16:16] 	what are colons?
[13:16:17] 	hi
[13:16:22] 	colon = :
[13:16:26] 	do noghte
[13:16:47] 	aha. sorry. stupic question
[13:17:46] 	LOL
[13:20:29] 	colon? washing powder
[13:22:46] 	Danny_B: to me: "colon? the large intestine?!"
[13:23:29] 	Hojjat, colon remembered bacteries and colonies to me. 
[13:25:29] 	colon is the colonel
[13:26:31] 	colon is the large intestin
[13:28:14] 	(and Fred Colon is Sergeant)
[13:35:24] 	!colon
[13:35:24] --mwbot--	I don't know anything about "colon".
[13:35:32] 	hehe
[13:35:35] 	heh
[13:45:48] 	maybe somebody can help. I have a new MediaWiki website, but I cannot delete an image. I get a message te folder "deleted/t/t/t" cannot be made
[13:46:24] 	and in addition permission denied in GlobalFunctions.php
[13:46:37] 	create a folder "deleted" under "images" then.  and make sure it's writable.
[13:46:51] 	(like the rest of the image dir)
[13:46:52] 	oké, i'll try
[13:47:09] 	or turn off image-undeletion. then the images will simply be removed.
[13:47:47] 	thats better maybe, where should I do that, turning off I mean?
[13:48:00] 	$wgSaveDeletedFiles = false;
[13:48:09] 	in your LocalSettings.php (where all configuration goes)
[13:48:29] 	oke, thats the most easy way... I'll try that.
[13:56:32] 	03catrope * r30217 10/trunk/phase3/ (4 files in 3 dirs): (bug 12816) Adding list=random module which fetches a list of random pages. Based on a patch by Brent G.
[13:57:37] 	hey people, i'm on shared hosting - can i get rid of the "index.php/" part of my URL:     http://www.domain.co.uk/wiki/index.php/Main_Page
[13:58:34] 	03(FIXED) API function to return random page(s) in selected namespace(s) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12816  +comment (10roan.kattouw)
[13:59:06] 	TimStarling: PING
[13:59:16] 	!rewrite | fishsponge 
[13:59:16] --mwbot--	fishsponge: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem
[14:01:44] 	RoanKattouw: is it going to take 15 seconds or less? because I was just coming into the room to turn the computer off and go to bed
[14:01:57] 	In that case, good night ;)
[14:02:12] 	good night
[14:02:41] 	Duesentrieb: thanks it is solved. However the command "$wgSaveDeletedFiles = false;" did not solve the problem. What helped was changing the permission for the folder "deleted", which already existed.
[14:02:52] 	I think this is a minor bug in the installation. 
[14:02:57] 	I have version 1.11
[14:03:47] 	thank you very much anyway.
[14:23:22] 	what's the best way to pass the array between parser hook and MonoBookTemplateToolboxEnd hook?
[14:43:36] 	lsnogud: i'm following this guide: http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_Both_no_root_and_root_access
[14:43:55] 	as it seems to be what i want, but the options shown don't seem to exist in my config file - any ideas?
[14:44:14] 	fishsponge: introduce them.
[14:44:41] 	well, i could, but i have extra ones that aren't shown here, like $wgScriptExtension = ".php"
[14:44:57] 	won't this conflict as i'm going to have no "php" in my URL anywhere?
[14:45:20] 	fishsponge: hrm. just try...
[14:46:09] 	fishsponge: but i doubt that there is a conflict.
[14:46:56] 	hmm... ok
[15:10:29] 	is there a guide to parsing the IRC feed of mediawiki?
[15:10:47] 	I want to construct a query to get the "numerical indexs" and name ie "Foo", of all existing namspaces would that be against the page table or do they exist somewhere else?
[15:12:13] 	not in mysql at all
[15:15:37] 	03grondin * r30218 10/trunk/phase3/languages/messages/MessagesFr.php: Localisation updates for core messages from Betawiki (only skinsname messages)
[15:25:58] 	has somebody a clue about Extension:LinkSearch? can't get it working. i left my notes on the bottom http://www.mediawiki.org/wiki/Extension_talk:LinkSearch
[15:27:25] 	wtf
[15:27:57] 	what did you add to your localsettings?
[15:47:04] 	Nikerabbit: require_once("extensions/LinkSearch/LinkSearch.php");
[15:48:48] 	is it possible for Category A to include Category B which includes Category A?
[15:50:11] 	yao_ziyuan: yes
[15:50:21] 	Does a bot exist that I can use on my wiki that will _block_ vandels, not just report them?
[15:52:29] 	03(NEW) {{#ask}} support for inclusive OR - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12817 04BLOCKER; normal; MediaWiki extensions: Semantic MediaWiki; (geoobject)
[15:55:43] 	VasilievVV|NA, available?
[15:59:04] 	i have read the mediawiki pretty URL page, but would you consider putting the wiki under a w/ subdirectory and then using mod_rewrite to make it appear under /wiki/Main_Page? is that a relatively normal thing to do? is there anything in particular i should be aware of?
[15:59:58] 	my mod_rewrite would obviously take     ^/wiki/(.+)$     and redirect it to     /w/index.php/$1
[16:00:24] 	fishsponge, that's what I do..
[16:00:44] 	Wiredtape: can i run my mod_rewrite line past you then? hold on...
[16:01:13] 	RewriteRule ^/wiki/(.+)$ w/index.php/$1 [PT,L,QSA]
[16:01:23] 	fishsponge, also, if you plan on running different languages -> I did, w//
[16:01:27] 	does that match yours exactly?
[16:01:35] 	i'm only running one language - English
[16:02:36] 	Wiredtape: does my mod_rewrite line match yours exactly?     RewriteRule ^/wiki/(.+)$ w/index.php/$1 [PT,L,QSA]
[16:03:08] 	fishsponge, I did (.*) and index.php?title=$1 and only [QSA] however, it doesn't really matter
[16:03:10] 	You might want .*
[16:03:31] 	A rule for wiki$ -> wiki/ is also convenient if it's a fully virtual directory
[16:03:48] 	Wiredtape: i think (.*) is necessary, in order to get the first page, right?
[16:04:04] 	otherwise, when people visit www.domain.com/wiki/ they will get nothing, right?
[16:04:16] 	I also needed rules for /extensions, /skins, /images, and as Dashiva wrote wiki/ ...
[16:04:30] 	fishsponge, right.
[16:04:42] 	Wiredtape: Oh? Those are real directories, aren't they?
[16:04:44] 	and what do PT, L and QSA mean? i've seen them on a rewrite cheat sheet, but i'm still confused...
[16:04:51] 	03aaron * r30219 10/trunk/extensions/FlaggedRevs/FlaggedRevs.sql: Mention 'external'
[16:05:29] 	fishsponge: L is Last, means to stop rewriting. QSA means to append the incoming query string to the one you define in the rewrite
[16:05:31] 	03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582  +comment (10kaldari)
[16:05:46] 	I don't use PT, not sure of the specifics there
[16:05:47] 	Dashiva, yeah, but my localsettings.php sets scriptpath to "wiki/" so that people don't see links to internal directories
[16:05:54] 	ah
[16:05:58] 	That's nasty ;)
[16:06:04] 	:)
[16:06:29] 	what happens if i miss out L, PT and QSA then?
[16:06:44] 	L means your url might get changed again, which would be bad
[16:06:44] 	fishsponge, it really depends on what you are doing..
[16:06:53] 	it sonuds like if i miss out QSA, it doesn't do any rewriting, because it won't append the incoming query string to the one i define, which means i'll get nothing, right?
[16:07:06] 	fishsponge: No, it will just replace the existing one
[16:07:10] 	all i want to do is have URLs like this:  www.domain.com/wiki/Main_Page
[16:07:12] 	that's it
[16:07:17] 	fishsponge, if you are only doing this one rewrite than all you need is QSA
[16:07:27] 	So e.g. /wiki/Apple?action=edit becomes /w/index.php?action=edit instead of /w/index.php?title=Apple&action=edit
[16:07:42] 	um
[16:07:54] 	Wrong param in the second case :)
[16:07:55] 	ok, i'm getting confused.... hold on, people! lol
[16:08:04] 	fishsponge: Just use L and QSA. They don't hurt in any case
[16:08:13] 	VasilievVV, have a sec?
[16:08:20] 	all i want to do is have URLs like this:  www.domain.com/wiki/Main_Page
[16:08:25] 	my rewrite line is like this: RewriteRule ^/wiki/(.*)$ w/index.php/$1 [PT,L,QSA]
[16:08:28] 	what needs changing?
[16:08:30] 	:-)
[16:08:33] 	Nothing
[16:08:41] 	Could remove PT, probably
[16:08:55] 	what does PT do? or are you saying that purely because you don't have it in yours?
[16:09:07] 	Yes, if I don't need it, it's probably not necessary :)
[16:09:17] 	i second that :)
[16:09:33] 	ok, so my new rewrite line will look like this:     RewriteRule ^/wiki/(.*)$ w/index.php/$1 [L,QSA]           right?
[16:09:55] 	It seems PT is mainly used to allow alias handling after a rewrite
[16:09:56] 	you need a / before the w
[16:10:30] 	fishsponge, does /* also redirect to the wiki?
[16:10:39] 	MinuteElectron: Not if it's in a htaccess
[16:10:55] 	otherwise if people are accessing www.domain.com/ they would reach www.domain.com/index.html
[16:10:59] 	Wiredtape: i shall get to LocalSettings.php in a sec...
[16:11:20] 	i only have one rewrite line in my .htaccess file, and that file is in the root of the domain directory
[16:11:22] *Dashiva 	wonders if it wouldn't be simpler to just hack it until it works and don't worry about perfection :)
[16:12:05] 	right, i've added the / before "w/index.php..." and have my current rule:     RewriteRule ^/wiki/(.*)$ /w/index.php/$1 [L,QSA]
[16:12:12] 	does this now look perfect? :-)
[16:12:14] 	fishsponge, right.. but you are only defining a ^/wiki/* rules, meaning that only people who wrote www.domain.com/wiki/ will be redirected...
[16:12:34] 	*rule
[16:12:46] 	Wiredtape: i agree, but let's talk about that in a sec...
[16:12:53] 	i've added the / before "w/index.php..." and have my current rule:     RewriteRule ^/wiki/(.*)$ /w/index.php/$1 [L,QSA]
[16:12:54] 	does this now look perfect? :-)
[16:13:04] 	looks fine
[16:13:08] 	good
[16:13:28] 	now to deal with people who just type in "http://www.domain.com/" and hit enter - how do i get them to the wiki subdir?
[16:13:33] 	php redirect? htaccess?
[16:14:01] 	DirectoryIndex /w/index.php
[16:14:17] 	MinuteElectron: where does that go? i'm on shared hosting btw...
[16:14:18] 	again, it depends on what else is going to be on that domain.. just this wiki instance, no future plans for other languages, a blog, a 
[16:14:32] 	nope, just the wiki. nothing more, nothing less, and no extra languages
[16:15:43] 	then I would add just one more rewriterule, or you could do redirect.. "DirectoryIndex /w/index.php" I don't think you can set within .htaccess, which means it's httpd.conf, and you're not going to have access to that if you're on shared
[16:16:14] 	yes you can
[16:16:26] 	good news :)
[16:16:29] 	:|
[16:16:30] 	well, what's the best way?
[16:16:37] 	directoryindex /w/index.php
[16:16:43] 	agree..
[16:16:48] 	correct capitilisation of course
[16:16:56] 	shouldn't it be "DirectoryIndex /wiki/index.php" in my case?
[16:17:00] 	no
[16:17:01] 	yes
[16:17:04] 	lol
[16:17:13] 	which is it?
[16:17:17] 	/w/index.php
[16:17:27] 	you can't set a redirectrule as a directoryindex
[16:17:33] 	03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582  (10l8qjvx002)
[16:17:36] 	if i use /w/index.php, i'll never get people to the /wiki/ subdir
[16:17:38] 	/wiki/ does not "exist"
[16:17:49] 	fishsponge: yes you will, meidawiki does freaky automagic redirection
[16:18:02] 	hmm... so two redirections for the poor old browser?
[16:18:09] 	wouldn't one be better (i.e. a php redirect)?
[16:18:10] 	i just redirect /index.html to /wiki/MainPage
[16:18:13] 	that's nice and clean
[16:18:21] 	bah
[16:18:24] 	still two redirects
[16:18:39] 	i havn't found a way to redirect / directly :)
[16:18:47] 	MinuteElectron, why would mw redirect from /w/index.php?
[16:18:48] 	well DirectoryIndex works.
[16:19:17] 	if i have a php redirect, browser requests index, it receives PHP redirect (pointing to "/wiki/Main_Page"), goes to new URL, done!
[16:19:18] 	I use a rewrite.. but that's because I have multiple things running..
[16:19:26] 	but why /w/index.php? why not /wiki/MainPage?
[16:19:27] 	Wiredtape: becuase it does http://en.wikipedia.org/w/index.php redirects to http://en.wikipedia.org/wiki/Main_Page
[16:19:39] 	Duesentrieb: you can't redirect to a non-existan directory.
[16:19:46] 	*file
[16:19:52] 	MinuteElectron: huh? you redirect to a url
[16:20:01] 	MinuteElectron: it may even be on a different host!
[16:20:16] 	hey people - surely if i have a php redirect, the browser requests the index file for the domain, it receives the PHP redirect (pointing to "/wiki/Main_Page"), goes to new URL, and it's done, right??
[16:20:19] 	huh, never worked for me?
[16:20:20] 	MinuteElectron, but that's probably an additional redirect.. 
[16:20:31] 	MinuteElectron: you did something wrong then :)
[16:20:35] 	fishsponge, would word..
[16:20:38] 	maybe
[16:20:40] 	*work
[16:21:04] 	MinuteElectron: why maybe?
[16:21:22] 	i think he was talking about what Duesentrieb said..
[16:21:35] 	yeah
[16:21:57] 	ah, ok - php redirect it is then...
[16:22:08] 	and one final question - how to setup the LocalSettings.php
[16:22:36] 	wgArticlePath must point to /wiki/
[16:22:36] 	that should be all
[16:22:42] 	/wiki/$1
[16:22:45] 	articlepath = wiki/$1 
[16:22:46] 	yes, of course
[16:26:27] 	Duesentrieb, a diff on ajaxfunctions.php (1.11) and ajaxfunctions.php (trunk) , there are so many differences I just have no idea what kind of dependencies there might be... do you have any idea how stable latest rev is?
[16:27:07] 	no idea
[16:27:14] 	havn't touched core code in ages
[16:27:47] 	look at the log to see who edited it - then you know who to ask :)
[16:28:41] 	VasilievVV, :) -> however, he isn't available.. so I thought I see if maybe you knew :)
[16:34:06] 	I want to construct a query to get the "numerical indexs" and name ie "Foo", of all existing namspaces would that be against the page table or do they exist somewhere else?
[16:34:34] 	my LocalSettings.php is here - http://pastebin.ca/876123 - could you take a look and offer advice? my concerns are with the "$wgScriptExtension" variable and the lack of a "$wgArticlePath" (which i had to add in)
[16:34:50] 	basically, what do i need to do to my LocalSettings.php file in order to make that side of it work?
[16:36:22] 	fishsponge: please paste your htaccess also
[16:36:54] 	replace //$wgArticlePath=... with
[16:37:09] 	$wgArticlePath = "/wiki/$1";
[16:38:04] 	MinuteElectron: .htaccess file is here: http://pastebin.ca/876127
[16:38:24] 	MinuteElectron: what do i do with the "$wgScriptExtension" variable?
[16:39:28] 	MinuteElectron: what do i also do with the "$wgScriptPath" variable?
[16:40:18] 	03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582  (10voyagerfan5761)
[16:40:45] 	fishsponge: othing
[16:40:48] 	*nothing
[16:41:19] 	and why do you have your site redirecting to google?
[16:41:24] 	that obviously isn't going to help you
[16:42:43] 	MinuteElectron: my site doesn't redirect to google - what are you on about?
[16:43:19] 	03(NEW) SVG with  links to files on Commons do not render - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12818 15enhancement; normal; MediaWiki: Images; (Jaroslaw.W.Tuszynski)
[16:43:32] 	Are the names of namespaces stored in the DB
[16:45:21] 	fishsponge: the rewrite rule in your paste clearly rewrites to google
[16:45:41] 	hmm... i guess that's my shared server guy trying to get mod_rewrite working for me then!
[16:45:50] 	let me submit what my mod_rewrite file *actually* is! lol
[16:45:54] 	Hi... Even though I've changed the Mediawiki:Sidebar pages, the changes are not appearing... Could anyone help me? I've deleted the cache folder, but I still get the old navigation bar...
[16:46:54] 	MinuteElectron: here is my actual htaccess file: http://pastebin.ca/876136
[16:47:24] 	JoKo, do you have a url?
[16:47:55] 	JoKo: have you tried visiting index.php?action=purge ??
[16:49:43] 	Wiredtape: http://193.92.245.116/wiki/ - but it's in greek
[16:50:01] 	fishsponge: yes, I did, but nothing...
[16:51:06] 	JoKo, so you wanted another box with title ???????? ?
[16:51:10] 	hehe
[16:51:31] 	whatever is written after the one *
[16:52:00] 	Yes...
[16:52:08] 	And I wanted to remove some links
[16:52:17] 	e.g. Portal etc.
[16:52:54] 	MinuteElectron: any more info? or should i be set now?
[16:53:43] 	JoKo, well do you see how mainpage looks like: "mainpage|mainpage" ?
[16:54:26] 	iirc, the first is the actual page name where you want it to go.. and the second is the name you want to give it...
[16:54:35] 	you need to do that for your links as well
[16:55:35] 	oh, and my htaccess file wasn't working because of an extra / - i had to remove the first slash to go from     "RewriteRule ^/wiki/(.*)$ /w/index.php/$1 [L,QSA]"     to     "RewriteRule ^wiki/(.*)$ /w/index.php/$1 [L,QSA]" but i have *ONE* more problem
[16:55:52] 	fishsponge, what is the prob?
[16:55:57] 	Wiredtape: I've removed the extra links
[16:56:06] 	JoKo, why?
[16:56:13] 	Wiredtape: For test
[16:56:23] 	Now every link is like before
[16:56:46] 	JoKo, ok?
[16:56:46] 	Why I see all the links? Is it because of caching?
[16:57:28] 	when i visit http://domain.com/ *or* http://www.domain.com/ my PHP redirect redirects me to http://www.domain.com/wiki/ but i seem to somehow end up at http://domain.com/wiki/Main_Page (ie. i've lost the www. somewhere along the route)
[16:57:47] 	I see 7 links, while according to the page, there have to be only 4
[16:57:55] 	JoKo, no, I can see that too.. that is weird... hmm.. give me a sec..
[16:58:23] 	Wiredtape: the Wiki is redirecting me *FROM* www.domain.com/wiki/Main_Page *TO* domain.com/wiki/Main_Page
[16:58:26] 	Wiredtape: ok, thanks :)
[16:58:46] 	fishsponge, hmm, retrace your steps?
[16:59:07] 	fishsponge: are you sure it's because of PHP? It could be Apache redirecting you...
[16:59:24] 	it's not the PHP - PHP is doing a perfect job, because if i bypass it, i still happens
[16:59:45] 	if i type www.domain.com/wiki/Main_Page it all works fine, but if i type "www.domain.com/wiki/" i lose the www
[17:00:30] 	JoKo, are the extra links the ones you had in mediawiki:sidebar, or are they different? (unfortunately in greek it kind of loses me :) )
[17:01:21] 	fishsponge, how about you try and add rewritebase / before the rewrite rule... ?
[17:01:53] 	Wiredtape: They were the default ones, e.g. Portal, Current Events etc.
[17:02:51] 	JoKo, right but now you have 7... so I am asking whether the additional ones that still exist are the ones you just deleted?
[17:03:24] 	Wiredtape: Yes, you are right... As if they are somehow cached...
[17:03:42] 	do you use memcached or something else?
[17:04:19] 	JoKo, -> 
[17:04:21] 	Wiredtape: eAccelerator
[17:04:35] 	try clearing externally ..
[17:04:38] 	Wiredtape: what is rewritebase?
[17:06:13] 	Wiredtape: I've deleted manually /tmp/eaccelerator and images/cache and still nothing
[17:06:26] 	fishsponge, basically saying that if you are rewriting from something.. like www.domain.com/bla/foo/bar/wiki/$1 before rewriting it will start from "/"  where / is what you set on rewritebase (iirc)
[17:06:48] 	JoKo, well.. it is definetly cached serverside.. the question is where..
[17:07:26] 	possibly some sort of apache/php cache?
[17:07:38] 	Wiredtape: so, looking at my .htaccess file ( http://pastebin.ca/876136 ) what line do i need to add, and where?
[17:08:51] 	fishsponge, http://pastebin.ca/876155
[17:09:15] 	Lo and behold! his page is yada yada yada kilobytes long; Please consider breaking the page into smaller sections.... What is the suggested method most people like for doing this, apart from upgrading to Firefox?
[17:09:27] 	mind you it's more of a test then an actual fix.. it would tell us what the domain base is.. 
[17:09:51] 	Steev43230, lol
[17:10:37] 	I don't see a MediaWiki:LOL page (rofl)                  ;)
[17:10:59] 	that's because it's only when you use trunk ;)
[17:11:23] 	Should I just make a "contents" page and put "prev" and "next" links on each page?
[17:11:53] 	Steev43230, personally I would use subpages.. but it's up to you mostly..
[17:12:27] 	I dunno how to do a subpage. Would I just RTFM by looking for "subpages" at MediWiki??
[17:12:37] 	you could
[17:12:47] 	Wiredtape: i'm still losing the www. part in the domain name...
[17:13:03] 	or you could just add a / to any article and that creates a subpage
[17:13:12] 	however, titles will appear as 
/ [17:13:22] fishsponge, then talk with your host... :) [17:13:31] take a look yourself (don't edit anything please!) - http://www.hobbsknowledgebase.co.uk/wiki - notice how the www. disappears? [17:13:38] ah, ok - i will talk to them directly then [17:14:17] OK. But for now I have to go back to the day job. Lunch is over, the bison is slaughtered (mostly wasted) and need to earn a $. Wiredtape, just add title=WIKI:Article/subpage - like that? [17:14:46] yup [17:15:03] once you've done that you've created a subpage. [17:15:25] OIC. [17:15:26] you might want to consider turning $wgNamespaceswithsubpages (iirc) on ns_main as well... [17:15:36] OK . Bye. Exiting. Beaming up. [17:16:04] Anyone know a good website to get some design ideas? [17:18:46] Wiredtape: every single problem seems to be solved now apart from one thing: when i visit "http://www.domain.com/wiki/Main_Page" everything works fine, but when i visit "http://www.domain.com/wiki/" it seems to redirect and lose the "www." - is the wiki doing this, or something else? [17:22:22] I believe it has to do with the settings in httpd.. [17:22:31] however, I might very well be wrong! [17:24:45] 03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10kaldari) [17:29:56] how do i enable uploading? [17:30:44] $wgEnableUploads = true; [17:32:37] The upload directory (public) is not writable by the webserver. which directory is this? i dont' see any named "upload" or "public" [17:33:20] images/ [17:33:27] unless you've set it to something else [17:33:38] How do I set up an IRC RC feed for my own wiki? [17:34:47] Wiredtape: thanks - perfect - one more question (!) - is this the only thing i need to do in order to make this site only editable (and uploadable to) by myself? [17:34:56] it's my own wiki, you see, not for other people to edit(!) [17:35:06] Wiredtape: http://pastebin.ca/876188 [17:35:15] does this also stop uploading? [17:36:06] ffm, search mediawiki.org for "irc" - i don't recall atm [17:36:12] OMG, I had $wgUseDatabaseMessages = false , that's why I was getting the default navigation bar [17:36:39] hehe [17:37:12] fishsponge, you don't need the [user] setting... you can just say [*] = false, [sysops] = true [17:38:03] well i might want to enable it just for users, but not annonymous at some point, so i assume that's still OK, right? [17:38:04] but do you want people to be able to see the wiki content? [17:38:16] yes, i want people to see the content, but only sysops can edit it [17:38:26] (although i want to allow for users (not anon) editing in future) [17:38:42] well then just add false to [*] ... [17:39:40] i'm confused - what is wrong with my setup? guests can't edit, users can't edit - only sysops can edit - is my config ambiguous or something? [17:40:39] well.. i just think setting [*] to empty is wrong syntax.. i'm not sure if it accepts it the way you wrote it.. [17:41:20] ah, ok, so are you recommending this: http://pastebin.ca/876193 [17:41:40] that says no to everyone, then says no to users (again) and then says yes to sysops, right? [17:43:30] true... [17:43:36] i'm editing my sidebar, but the stuff i'm removing i dont' want to lose - can i comment stuff out somehow? [17:44:04] [17:44:33] and now, I shall be gone... :) [17:44:45] Wiredtape: nowiki just stops the parsing - i want something to be there in the "source code" but to not display on the article at all [17:44:58] argh! my best help has left me! [17:45:05] can anyone else help? [17:45:07] i'm editing my sidebar, but the stuff i'm removing i dont' want to lose - can i comment stuff out somehow? [17:45:13] nowiki just stops the parsing - i want something to be there in the "source code" but to not display on the article at all [17:46:13] goooooood monday all [17:47:36] good morning brion [17:47:46] hi brion [17:47:55] what about enabling image redirects? I fixed all issues you mentioned [17:48:00] yay [17:48:00] fishsponge, i don't really get your request.. [17:48:04] i'll look em over [17:48:10] VasilievVV|NA, have a sec? [17:48:16] gm brion [17:48:18] Yes, i think [17:49:21] VasilievVV|NA, I'm comparing ajaxfunctions.php (1.11) and ajaxfunctions (trunk) and there are many changes.. therefore, probably many dependencies.. do you think copying trunk ver onto 1.11 would work? [17:49:42] Maybe [17:49:45] You may try [17:50:05] I can't remember if I used some MediaWiki 1.12 only features [17:50:19] what about DEFINE AJAX_SEARCH ? [17:50:50] * * define( 'AJAX_SEARCH_VERSION', 1 ); [17:51:14] Wiredtape_Away: well lets say i remove "sitesupport-url|sitesupport" from my sidebar and then decide in 6 months that i want it back again. if i simply remove it, i'll have to investigate what the URL was to get it back to default, but if i comment it out i'll have it there in front of me, waiting to be uncommented! [17:51:30] but if i use it'll still show up on the sidebar, it'll just be unparsed! [17:51:52] so i want to be able to comment it out like you would in PHP with // or in HTML with [17:52:31] it won't show up on the sidebar with [17:52:35] try it.. [17:52:55] Wiredtape: and finally, the redirection from www.domain.com/wiki/ to domain.com/wiki is definitely being done by the wiki - nothing else in the loop could cause it - is there a hardcoded URL somewhere int he database perhaps? [17:53:46] Wiredtape: it does: http://hobbsknowledgebase.co.uk/wiki/MediaWiki:Sidebar [17:53:54] (see the lack of www. again!) [17:54:35] fishsponge, but you don't see the protal thing on the left do you? ... i thought that's what you wanted.. [17:54:48] afaik there is no hardcoded url in db. [17:54:50] it is what i wanted, but i *do* see the portal link on the left! [17:55:03] fishsponge, clear cache... [17:55:57] Wiredtape_Away: done that, it's updating fine, but when i added the tags it simply moved from it's own "old" heading up into the "help" heading! [17:56:08] view the source: http://hobbsknowledgebase.co.uk/wiki/MediaWiki:Sidebar [17:56:57] hmm.. weird, on my wiki (same ver) it doesn't make show it on the portlets.. [17:57:05] Wiredtape_Away: sorry, it moved into Help because i removed the heading - the tags are still being ignored though. [17:57:11] just make a subpage of Sidebar and save it there... [17:57:30] subpage? [17:57:42]
/ [17:58:25] well, subpages confuse me - it seems to have the same initial content as the default sidebar! i think i'll just move that to my help page... [17:59:00] ok.. well.. i really must get back to work now.. good luck.. [17:59:09] thanks Wiredtape [17:59:22] 03(NEW) Change in Malayalam Wikibooks {{SITENAME}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12819 normal; high; Wikimedia: Language setup; (jacob.jose) [17:59:44] np [18:00:05] can anyone else help me with my strange www redirection issue? when i visit "http://www.domain.com/wiki/Main_Page" it works fine but when i visit "http://www.domain.com/wiki/" i get redirected to Main_Page (which is perfect) but in the process, the "www" gets lost from the front of the domain! [18:04:53] can help me with my strange www redirection issue? when i visit "http://www.domain.com/wiki/Main_Page" it works fine but when i visit "http://www.domain.com/wiki/" i get redirected to Main_Page (which is perfect) but in the process, the "www" gets lost from the front of the domain! [18:07:43] 03(NEW) Change in Malayalam Wikisource {{SITENAME}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12820 normal; high; Wikimedia: Language setup; (jacob.jose) [18:10:56] fishsponge: Check that there are no hinky Alias or RewriteRule lines in your Apache configuration that could cause this [18:11:36] fishsponge: this could also be your virtualhost configuration has ServerName as "domain.com" and not "www.domain.com". [18:11:41] 03(mod) Change in Malayalam Wikisource {{SITENAME}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12820 (10jacob.jose) [18:12:41] Morbus: the ServerName is indeed domain.com, but it has a ServerAlias for www.domani.com - i can't change this though... [18:13:04] are you sure you're doing "wiki/" and not "wiki"? [18:13:24] RoanKattouw: definitely no Alias in the apache config, and there is ond mod_rewrite line, but it doesn't deal with domain names [18:13:43] Morbus: try it for yourself: http://www.hobbsknowledgebase.co.uk/wiki/ [18:13:50] fishsponge: if you can create an .htaccess with RewriteRules, you can force the www. [18:13:52] feel free to experiment and watch the www disappearing! [18:14:06] i can create .htaccess - that's how i'm using pretty URLs in the /wiki/ subdir [18:14:13] hold. [18:14:39] RewriteCond %{HTTP_HOST} ^(60bwc|60blankwhitecards|disobey|videounderbelly)\.com$ [NC] [18:14:39] RewriteRule ^(.*)$ http://www.%1.com/$1 [L,R=301] [18:14:40] 03(mod) Change in Malayalam Wikibooks {{SITENAME}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12819 (10jacob.jose) [18:14:46] you can simplify that example, of course. [18:14:47] one quick question before we go into this though - i have a template with displays {{1}} - but when i use this template, i need to include | characters (which of course separate the fields)! is there a way around this? [18:14:59] but that forces all those domains, when accessed without the www., to be redirected to the www. [18:15:17] fishsponge: make a Template:! that returns | [18:15:18] fishsponge: Create Template:! that contains a pipe character, then use {{!}} instead of a pipe [18:15:22] then use ... what he said. [18:15:27] Only works with the new preprocessor though [18:16:36] thanks for that, guys [18:16:52] Morbus: you said "i can simply that example, of course", but i can't - my knowledge or rewriting is zero [18:16:53] :-( [18:17:07] hold. [18:17:12] go! [18:17:31] seemed appropriate. [18:17:45] RewriteCond %{HTTP_HOST} ^hobbsknowledgebase\.co\.uk$ [NC] [18:17:45] RewriteRule ^(.*)$ http://www.hobbsknowledgebase.co.uk/$1 [L,R=301] [18:17:48] gve that a try [18:17:55] heh [18:18:13] Morbus: how goes porn-o-pedia? ;-) [18:18:21] TimLaqua: lol. it's not porn! [18:18:27] *TimLaqua grins [18:18:39] TimLaqua: pretty well, actually. various film companies and communities are liking it. [18:18:45] right on [18:19:03] i'm pretty much set with the framework stuff i've written. [18:19:13] just a matter now of filling it with content, which is happening, of course. [18:19:17] Morbus: where would that go in my .htaccess file? Please see current file here: http://pastebin.ca/876224 [18:19:48] TimLaqua: here's another example of things we're building: http://www.videounderbelly.com/wiki/Elite_Entertainment%2C_Inc. [18:19:57] a full release index/gallery for particular companies. [18:20:03] it's not porn is it? gonna get me fired. ;-) [18:20:07] sfw. [18:20:11] dvd covers. [18:20:52] fishsponge: after lines 1/2. [18:21:21] Morbus: I get a no text message on Elite Entertainment, Inc. [18:21:31] 03catrope * r30220 10/branches/ApiEdit_Vodafone/languages/messages/ (55 files): ApiEdit_Vodafone: merging latest revisions from trunk (part 1) [18:21:44] *Morbus finds SFW way of navigating there. [18:21:53] TimLaqua: http://www.videounderbelly.com/wiki/Category:Companies [18:22:07] don't hit the main page, as the Sleaze by randomizing is in full-effect. [18:22:27] Morbus: like this? http://pastebin.ca/876228 [18:22:37] fishsponge: y [18:22:51] fishsponge: this will affect /everything/, not just your wiki. [18:23:12] if you hit http://hobbs.com/photos/a.jpg, it'll get rewritten to www. too. [18:23:13] Morbus: i only have a wiki, so it's fine [18:23:19] Morbus: interesting. you have bots populating content? or is that all manual? [18:23:29] TimLaqua: BottomFeeder is a bot, yeah. pywikipediabot. [18:23:41] bot flag him. ;-) [18:23:42] 03catrope * r30221 10/branches/ApiEdit_Vodafone/ (27 files in 9 dirs): ApiEdit_Vodafone: svnmerge part 2 (last) [18:23:44] i use it, along with a perl script, to upload images with Template'd descriptions. [18:24:00] TimLaqua: I did, but then he doesn't show up in the Recent uploads list. [18:24:04] which makes that whole page moot. [18:24:20] he does if you click show bots [18:24:22] ;-) [18:24:23] so weird: I have test skin "wiredtape2", set as default skin on localsettings. also set as preferred skin on my user preferences, and still when the site loads it uses monobook... ? [18:24:24] :) [18:24:51] TimLaqua: that elite page took about a week to do. scouring archive.org, etc. fun stuff. [18:24:53] Purge cache? [18:24:58] purged.. [18:25:38] is there a way to make mediawiki give me a database dump that I can later import into another instance? [18:25:54] or do I have to poke mysql? [18:25:59] !dump [18:25:59] --mwbot-- For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps [18:26:15] sorry [18:26:26] I fail at searching the wiki [18:26:35] !backup [18:26:35] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [18:26:39] TimLaqua, fishsponge: afk. [18:26:39] the backup one [18:26:45] thank you [18:27:07] RoanKattouw, any way this has something to do with updates to trunk? It was working fine before I updated.. (two days ago) [18:27:10] Morbus: thanks for the rewrite rule - it works [18:27:38] but i'm still a little annoyed that {{SERVER}} doesn't have any www in it! is this definitely coming from the apache ServerName directive? [18:27:59] fishsponge: pretty sure that comes from $wgServer [18:28:07] TimLaqua: incidentally, i got my first/own module working the other day. it's a modification of the old FLVplayer module, updated for the new FLVplayer, with poster frames and so on, etc. [18:28:15] RoanKattouw, nm, have found the problem.. [18:28:42] TimLaqua: ufnortunately, i do no have a SFW page demonstrating its usage, save for that Elite page (which is just the elite logo) [18:28:44] fishsponge: but if $wgServer isn't explicitly set in LocalSettings.php, I think it pulls from $_SERVER [18:28:55] Morbus: ya, looks good. [18:29:02] hello [18:29:16] ah, so if i explicitly set $wgServer in LocalSettings.php then it overrides that setting?? [18:29:22] afaik [18:29:24] TimLaqua: one of these days, I'm gonna look into TimStarling's OggPlayer and fix up the Image:File.flv pages to do the same. [18:29:52] Morbus: ya, extending MediaHandler is the right way to do it [18:30:34] what's up? [18:30:52] TimLaqua: unfortunately, .flv files are not automatically detected in moderm mime_magic files (at least, on my box), so it either a) requires a mime_magic hack on the server (ugh) or b) a patch to the mime detection in MW for FLV files, which TimStarling suggest I do. I just haven't had the time to patch it yet. [18:31:09] ah [18:31:22] I like B [18:31:27] helps the rest of us [18:31:32] aye, same here. the mime_magic thing was a pain int he ass to figure out ;) [18:31:37] brion: PING [18:31:48] TimLaqua: thanks for the $wgServer variable! works like a dream [18:31:52] np [18:31:52] anyone know why in the world, i would end up with non executed php text on my article when putting this into the skin: http://rafb.net/p/QcpO2295.html [18:31:57] Morbus: thanks for the rewrite too, but it's not needed now :-) [18:32:09] fishsponge: it will be if someone /incorrectly links directly to your site/. [18:32:29] mind that only what comes after $wgOut-> gets printed out.. [18:32:30] fishsponge: mediawiki will /generate/ links with the www., but Apache and company will still gleefully serve up non-www versions. [18:32:48] Wiredtape_Away: mostly 'cause you never escaped to php [18:32:53] ;-) [18:32:56] ie., http://hobbsknowledgebase.co.uk/wiki/Main_Page happily works. [18:33:08] TimLaqua, unfortunately I did :) but didn't paste it :\ [18:33:21] aannnyways, afk. [18:33:48] Wiredtape_Away: dunno w/o the full code chunk [18:33:59] i have the following link: "click [{{SERVER}}/index.php?action=purge here] to purge" [18:34:12] it is broken because my wiki is in a "wiki/" subdirectory [18:34:20] fishsponge: [{{fullurl:{{PAGENAME}}|action=purge here] [18:34:26] ah, perfect! [18:34:30] Whoops [18:34:37] After PAGENAME }}}} rather than }} [18:34:44] RoanKattouw: what's up [18:34:52] TimLaqua, http://rafb.net/p/gUU34s11.html [18:35:04] I'm experiencing a very weird problem, it started this Saturday [18:35:11] Look at http://web-sniffer.net/?url=http%3A%2F%2Fen.wikipedia.org%2Fw%2Fapi.php%3Faction%3Dparaminfo%26querymodules%3Dallpages%7Csiteinfo&submit=Submit&http=1.1&gzip=yes&type=GET&uak=0 [18:35:24] And tell me what Content-Length: it reports [18:35:51] It's either 1643 or 20 [18:35:55] that says 1464 [18:36:02] Right [18:36:09] Now refresh a couple of times till it says 20 [18:36:19] RoanKattouw: it seems to now be linking to "http://www.hobbsknowledgebase.co.uk/wiki/Editing_the_Wiki|action=purge" - is this correct? see the link at the top of this page: http://www.hobbsknowledgebase.co.uk/wiki/Help:Editing_the_Wiki [18:36:44] 20 sounds like the script failed to buffer any output, so you just get the gzip headers [18:37:02] fishsponge: Sorry, my mistake, {{fullurl:{{PAGENAME}}|action=purge}} [18:37:13] brion: Exactly. But the weird thing is that it only happens occasionally [18:37:34] Someone reported the same for regular UI requests, about 2 to 3% of the time he'd get a blank page [18:37:42] But the Squid headers all say MISS [18:37:56] well i can confirm it just by reloading manually, i don't need the sniffer :) [18:38:05] perhaps some intermittent php error [18:38:07] i'll check [18:38:09] The sniffer was to show you the MISSes [18:38:14] Wiredtape_Away: I don't see anything wrong w/ that particular piece of code. as long as you're configured for well it *should* miss [18:38:33] Yeah, it's the API [18:38:34] that's a dynamic generated api result [18:38:41] RoanKattouw: still doesn't work... see page http://www.hobbsknowledgebase.co.uk/wiki/Help:Editing_the_Wiki [18:38:50] links to a non-existant article now [18:38:56] fishsponge: Works for me [18:39:06] fishsponge: works for me too [18:39:12] *RoanKattouw bangs head on his keyboard [18:39:16] TimLaqua, hehe, I should have known it would be thanks [18:39:21] {{PAGENAME}} doesn't include the namespace prefix of course [18:39:23] Wiredtape_Away: np. ;-) [18:39:29] really? when i click that link it takes me to "There is currently no text in this page........" [18:39:44] fishsponge: PAGENAME should be FULLPAGENAME [18:39:46] Jan 28 18:39:28 srv139 httpd[24452]: PHP Fatal error: Call to protected method ApiQueryAllpages::getDescription() from context 'ApiParamInfo' in /usr/local/apache/common-local/php-1.5/includes/api/ApiParamInfo.php on line 87 [18:40:15] Somehow my server doesn't throw that error with the exact same code [18:40:32] Those methods probably should be public [18:40:36] I'll fix that [18:40:44] I'm getting-> Fatal error: Call to undefined method Wiredtape2Template::makeLink() for calling makeLink() within my skin... should I be including a class? [18:40:53] it may be a version-specific error (eg different behavior between 5.1 and 5.2) [18:40:56] or it mightjust be borked [18:40:56] brion: Are different servers running different versions of PHP? [18:40:59] yes. [18:41:00] RoanKattouw: perfect - thanks! :-) one question though - does that just clear the cache of the "Help:Editing the Wiki" page, or the whole site? (i.e. if i edit the sidebar, *can* i just click that link, or will i need to do something else? [18:41:14] brion: I was surprised that it worked though, the fatal error is correct behavior [18:41:28] I'm calling a protected method of ApiQueryAllpages from ApiParamInfo [18:41:38] Although both classes do have a common ancestor [18:42:20] 03(NEW) tsearch2 not compatible with postgresql 8.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12821 major; high; MediaWiki: Database; (dothack) [18:42:48] fishsponge: Only of that page. Clearing the cache of the entire site isn't that easy; if someone decided to purge all caches on Wikipedia, that would kill the servers [18:43:04] Or at least cause a spike in the graphs :P [18:43:46] that's true [18:44:00] does that mean if i modify the sidebar, i'm going to have a nightmare on my hands? [18:44:01] anyone know which class makeLink() is a method of? [18:44:14] *object [18:44:18] title? [18:44:23] is it? [18:44:24] fishsponge: You'll have to purge with Ctrl+F5 in that case [18:44:26] dunno [18:44:37] !docs [18:44:37] --mwbot-- An overview of available documentation about MediaWiki can be found at [18:44:53] Wiredtape_Away: http://svn.wikimedia.org/doc/ [18:44:55] not title... [18:45:01] Wiredtape_Away: http://svn.wikimedia.org/doc/classSkin.html I think [18:45:15] 14(DUP) tsearch2 not compatible with postgresql 8.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12821 +comment (10dothack) [18:45:18] No, not Skin. Maybe Linker [18:45:18] 03(mod) tsearch changes in PostgreSQL 8.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12732 +comment (10dothack) [18:45:20] TimLaqua: It is incredibly difficult to find makeLink() - when I looked i couldn't find it. [18:45:30] *TimLaqua is now determined [18:45:36] Got it: http://svn.wikimedia.org/doc/classLinker.html#37a96bbafe0d003e33ef599166b4e74a [18:45:39] RoanKattouw: does that mean that the only reason sidebar updates won't come through is the browser cache? i'm sure i've seen sidebar updates continually ignored by all browsers (even new ones on new machines) until ?action=purge is executed [18:45:42] dam [18:45:50] fishsponge: I don't know exactly [18:45:58] RoanKattouw; fair enough [18:46:01] Of course, in time, all pages will be edited, purging their cache [18:46:05] RoanKattouw; i'll just see hwo it goes! :-) [18:46:27] Wiredtape_Away: It's Linker http://svn.wikimedia.org/doc/classLinker.html#37a96bbafe0d003e33ef599166b4e74a [18:46:29] not in skin, title or out... [18:46:40] lol, makeLink is in Linker [18:46:44] RoanKattouw; i suppose, theoretically, i should never have to "click here to purge" , right? [18:47:01] 03(NEW) Display subproperties using * operator in queries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12822 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (john.s.carter) [18:47:03] :) thanks [18:47:06] Wiredtape_Away: but you can use like makeKnownLink from a title object, right? [18:47:07] In theory, everything works perfectly, in practice... well you get the point [18:47:36] ok, well thanks, people! [18:47:42] TimLaqua, I don't think so in this case.. though I haven't seen makeKnownLink() docs yet.. [18:47:57] *TimLaqua shrugs [18:47:57] 03(mod) tsearch changes in PostgreSQL 8.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12732 normal->major; normal->high; +comment (10dothack) [18:48:43] damn... how can I call makeLink() from skin? do I really have to include the linker class? [18:49:33] from skin? [18:49:36] ummm... Linker::makeLink() ? [18:49:42] it's not static [18:49:53] blah [18:50:06] $sk = $wgUser->getSkin(); $sk->make*Link*( ... ) [18:50:30] Nikerabbit, thx [18:50:32] I see it used as $wgUSer->gerSkin*()->makeLink(); [18:50:38] -* [18:50:47] /s/r/t [18:50:49] s/USer/User/ [18:50:52] yeah [18:50:59] three typos at least :D [18:51:00] Wiredtape_Away: aren't you in the skin? [18:51:07] I am.. [18:51:15] Wiredtape_Away: so can't you just do $this->makeLink()? [18:52:46] that's what I did originally.. but: Fatal error: Call to undefined method Wiredtape2Template::makeLink() [18:53:02] well I would have done the same. ;-) [18:53:35] and using $wgUser->getSkin(); $sk->makeLink(); doesn't work... i get: Fatal error: Call to undefined function makeLink() [18:53:48] do I need the "*" ? [18:54:28] no [18:54:56] makeLink is in the linker class not the skins class [18:55:13] ok.. it works now... [18:55:17] thanks everyone [18:55:32] skins inherit linker [18:55:36] ok [18:57:28] i've run into a different problem now.. this is the pastey: http://rafb.net/p/YPgN8e97.html [18:58:00] the purpose of the script is to make links for every subpage including the one I am on.. but not inlcuding the base article (non subpage( [18:58:26] i thought $c>1 and $c<=count($links) should work... [19:05:39] 03catrope * r30222 10/trunk/phase3/includes/api/ (53 files): [19:05:39] API: Changing all modules' getParamDescription(), getAllowedParams() and [19:05:39] getDescription() methods to public. ApiParamInfo needs them, and some versions [19:05:39] of PHP threw fatal errors because they were protected. Oddly, other versions [19:05:39] didn't (maybe because the caller and the callee have a common ancestor?) [19:05:55] brion: r30222 (right above this message) [19:09:01] 03catrope * r30223 10/trunk/phase3/includes/api/ (5 files): svn:eol-style=native on some recently added files [19:09:50] RoanKattouw: allo [19:09:57] Hi AzaTht [19:10:07] Will your question take less than 60 seconds? [19:10:07] how much left on the todo list? [19:10:20] 2 [19:10:24] ↑that was the question ツ [19:10:39] Rate limits (holding off on those, gonna ask whether they should be exposed first) and action=edit [19:10:45] Now working on the latter [19:10:51] I gotta go now, though [19:10:55] yes, there was one thing, on action=parse, allow to exclude edit links on the rendered result [19:11:10] brion: Applying r30222 should fix those fatal errors [19:11:16] what happened with the user generator? [19:11:20] :( [19:12:25] too bad I missed the most interesting part :( [19:13:21] woo [19:14:36] 03(FIXED) Inconsistent display of CSS pages - rendering CSS source as wikitext - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8624 +comment (10azatoth) [19:17:25] anyone mind taking a look at: http://rafb.net/p/YPgN8e97.html [19:17:28] the purpose of the script is to make links for every subpage including the one I am on.. but not inlcuding the base article (non subpage( [19:17:37] but it's not doing that.. [19:20:54] 03(mod) Increase Commons file size upload limit to 40MB - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12595 +comment (10azatoth) [19:23:54] n8 [19:28:14] 03(NEW) Allow interwiki CSS declarations to be used when viewing an transwiki page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12823 15enhancement; normal; MediaWiki: Page rendering; (azatoth) [19:29:03] brion: I never got any feedback for my idea to activate the imagemagick cache [19:32:54] er? [19:33:05] the limits switch, you mean? [19:33:10] otherwise i don't know what :) [19:41:05] yes [19:42:16] !b 12374 | brion [19:42:16] --mwbot-- brion: http://bugzilla.wikimedia.org/show_bug.cgi?id=12374 [19:44:02] hi their [19:44:49] i have a question is it possible to use two MediaWikis with one user table? [19:49:28] hi [19:51:00] m2|kurim: yes. [19:52:18] brion, do u know a how to? [19:52:53] http://www.mediawiki.org/wiki/Manual:%24wgSharedDB [19:53:54] i have tomatos on my eyes [19:54:41] how to set default text in comment form when on special:upload?? [19:54:50] (sorry for my english) [19:56:24] mmmdlvii_: you can do that with URL parameter [19:57:52] how? [19:58:58] see URLS on http://en.wikipedia.org/wiki/Wikipedia:Upload [20:02:41] hey people - question - i prefer the look and feel of a site when each == Heading == has has 1 extra newline inserted above it in the source code (see http://www.hobbsknowledgebase.co.uk/wiki/Help:Editing_the_Wiki) - how can i do this without manually typing in each newline? [20:02:48] can i edit the == Heading == template somewhere? [20:03:37] anyone know if i can do if(!preg_match(x,y)) {xxx;} [20:03:49] fishsponge: CSS h1 {margin-top: something} ? [20:04:33] do i have to edit a CSS file somewhere or can it be done through the web interface? and secondly, how can i enter a newline above each heading in CSS (or is there some fancy way of doing it with pixel-height or something?)? [20:07:04] fishsponge: h2 {margin-top:1.5em} -> [[MediaWiki:Common.css]] for the whole site [20:25:46] AlexSm: thanks dude! works like a dream :-) [20:27:28] 03brion * r30224 10/trunk/phase3/includes/ (Article.php FileDeleteForm.php SpecialBlockip.php Xml.php): [20:27:28] Cleanup for r30216: [20:27:28] * Don't triple-escape HTML in drop-down lists :) [20:27:28] * Don't include empty attributes for missing optional parameters [20:27:28] * Use content language, not UI language, for loading predefined reasons [20:29:02] ok svn up time [20:29:34] what's the {{TAG}} to get the actual site name (e.g. Wikipedia)? [20:29:53] ah, {{SITENAME}}! lol [20:29:57] obvious really! [20:31:26] I want to construct a query to get the "numerical indexes" and name ie, "Foo_Namespace", of all existing namspaces The page table has the indexes. Are the names stored somewhere I can query? [20:33:17] scapping [20:35:52] what is the concept behind "Category:"? is the idea to have a Category:Name page for each category, and to then link down to the actual articles from there? [20:36:32] if i were writing a DIY Guide, for example, would i have "Category:Woodwork", "Category:Metalwork" and "Category:Painting" and then the articles would be linked to from these "Category:" pages? [20:38:34] fishsponge_: the links go the other way: from the article to the category. and the category automatically lists all pages that link to it. and the category links on the pages are magic, they are shown at the bottom, not inline. [20:38:38] just try it.# [20:38:46] !categories | fishsponge_ [20:38:46] --mwbot-- fishsponge_: http://www.mediawiki.org/wiki/Help:Categories [20:39:09] hmm... confused... am i supposed to create an article and then just put [[Category:Woodwork]] at the top of the article? [20:39:23] yes. [20:39:34] well, by convention, at the bottom. but it doesn't matter [20:39:52] ah, ok [20:39:57] cool. i shall try this then! [20:40:02] on the page Category:Woodwork itself, you can put a short description of the category. or, mopre importantly, categorize it again, to form a hierarchy of categories [20:40:14] Poundo: to get the number/name mappings of namespaces, use: global $wgContLang; $arr = $wgContLang->getFormattedNamespaces() [20:40:29] then $arr[NS_MAIN] or $arr[NS_CATEGORY] etc [20:40:38] there's also the Namespace class [20:40:50] *Duesentrieb wonders if php is still planing to mae "namespace" a reserved word [20:42:08] yeah Duesentrieb - I was just going from what Special:Allpages uses to populate the