Project:Support desk/old

= Resolved Topics = Feel free to browse these for ways to make articles better.

[RESOLVED] Infoboxes
I'm experiencing a small problem with the infoboxes I created for my site, as they do not remain stuck to the right hand side of the screen when I minimize the window and, instead, they remain at the position defined in the code (so I have to scroll right in order to see them. Here is the code I edited for the infobox template header I am talking about: class="infobox vcard" style="border:1px solid #ccd2d9; width:25em; background-color:#fffccc; text-align:left; padding-left:0.5em; padding-right:0.5em; font-size:90%; margin:0 0 1em 68em;" cellspacing="5" cellpadding="1" Am I doing anything wrong? -SupervladiTM 07:59, 4 December 2007 (UTC)
 * You have a 68em left margin, you'd probably be best doing a float:right instead --Nad 20:15, 4 December 2007 (UTC)
 * Thank you. -SupervladiTM 11:26, 5 December 2007 (UTC)

[RESOLVED] Install on SQL Server?
Can I install the latest release of MediaWiki using SQL Server instead of MySql? If so what (if any) changes do I need to make to the install script(s)?

We are running Windows Server 2003, IIS, SQL Server, and PHP5.

Thanks in advance.

Joe Mayo —63.117.221.135 15:55, 4 December 2007 (UTC)


 * Nope, there is no support for MSSQL at the time, and I don't think there will be in the near future. — color probe — Talk  — Contribs 19:05, 4 December 2007 (UTC)

[RESOLVED] Installing on php compiled with mysqli instead of mysql
My server is compiled using --with-mysqli instead of --with-mysql. When I try to run the setup, I get this message:

* PHP 5.2.4 installed Could not find a suitable database driver! o For MySQL, compile PHP using --with-mysql, or install the mysql.so module o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module

Version of MediaWiki: 1.11.0

Todd —159.116.208.109 20:52, 4 December 2007 (UTC)


 * MediaWiki isn't compatible with mysqli. -PatPeter 00:56, 16 December 2007 (UTC)

[RESOLVED] Labelled Map Template
Hi, I am trying to use Asia Labelled Map template from Wikipedia but the labels do not overlay exactly when I change the size of the map as in my website. The instruction for doing so is actually very simple, ie. all widths must be set to the same number, which I have already done accordingly. What could be the possible reason? Could be due to some Common.css scripts? &mdash; PM Poon 21:06, 4 December 2007 (UTC)


 * Did you try looking for the Image Label extension? Or did you look at en:Template:Image label? PatPeter 17:43, 13 December 2007 (UTC)


 * You are going to have to define the div classes in en:Template:Image label begin, en:Template:Image label, and en:Template:Image label end, in your CSS. PatPeter 17:46, 13 December 2007 (UTC)

[RESOLVED] Posible to hide sites from normal users?
—62.225.191.42 07:50, 5 December 2007 (UTC) HI there

I want to creat a wiki for my firm. What i want to do is, that normal users can read all pages like usual but some special sites are only available for Admins or another group that doesnt realy matter. I checked the Help:user rights but its not that what i want to enable read or edit for all of the usergroup i just want to disable it on special sites

thx for help -62.225.191.42 07:54, 5 December 2007 (UTC)


 * See Manual:Preventing access. You will notice that there isn't a good built-in function in MediaWiki for restricting access to specific pages. $wgWhitelistRead might get what you need (restrict access to all but a few pages). You could also try a page specific user rights extension. Note that MediaWiki was not designed to protect sensitive data, and there might be flaws which will still allow users to see pages. Also see security issues with authorization extensions. — color probe — Talk  — Contribs 11:45, 5 December 2007 (UTC)

[RESOLVED] External Links in new tabs/windows?
Hi, how can I say to the mediawiki, that every external link should be opened in a new browser tab/window? Like target="_blank" in html. —213.214.18.64 13:59, 5 December 2007 (UTC)
 * Ah I got it Manual:Opening_external_links_in_a_new_window --213.214.18.64 14:49, 5 December 2007 (UTC)

[RESOLVED] Multiple Choice - 1and1
I am using a 1and1 hosting server and tried to install MediaWiki 1.11.0. I copied the files to the host, and when i try to run the installer, it says:

Multiple Choices The document name you requested (/config/index.php) could not be found on this server. However, we found documents with names similar to the one you requested.

Available documents:


 * /config/index.html (common basename)

Please consider informing the owner of the referring page about the broken link.

I looked, and both the index.php and index.php5 are in the right folder? —66.16.229.16 23:05, 5 December 2007 (UTC)

So index.php and the php5 are both in /config/ ? Something wrong must have happened and the format of thoes files isn't correct. -PatPeter 01:02, 16 December 2007 (UTC)

It's actually something weird with 1and1. You need to COPY your config folder to something else (say config2) and run the script from there. Make sure you leave the existing config folder though, as that's where the LocalSettings.php file gets created during the config script.

See this blog: http://www.cyprich.com/2007/08/17/installing-mediawiki-on-11/

[RESOLVED] MediaWiki & Apache
Hello, am looking at installing MediaWiki on two Windows Server 2003 Web Edition platforms, using the second as a fallover server. Will don't have PHP or MYSQL on the servers, so will have to install PHP & MYSQL, but we do have a version of Apache (2.0.4) running already.

Can we install MediaWiki with this existing Apache version ??

Or will I need to upgrade to Apache 2.2.6 ??

Cheers,

Cameron --125.254.4.28 05:36, 6 December 2007 (UTC)


 * I'm running an older version of Mediawiki with Apache v.2.0.55 so it shouldn't be a problem. Mazi


 * For the updated version of Apache check if your version is compatible with your version of MediaWiki, yes you have to install MySGL and PHP. -PatPeter 00:59, 16 December 2007 (UTC)

[RESOLVED] displaying flash files in navigation/ as logo
hi i created a small flash animation that should be placed as the logo in the topleft, or somewhere in my navigation in order to do this i installed a flash extension. with tags i can display flash files. when i edit my navigation and add a line with the swf tags the animation is shown in my wiki text but not in my navigation. when i add my animation as the logo in the top left this place stays empty... who knows how to display swf files at these places? ben —130.60.53.185 13:05, 7 December 2007 (UTC)
 * SOLVED
 * I had to change the normal sidebar text in my monobook.php into wikitext. Now i can do with the sidebar everything i can do with normal wikitexts...

[RESOLVED] Manual:Backing up a wiki
It tells you how to back up the wiki, but where are the actual database files? Where are the files that contain all the wiki pages? PatPeter 19:44, 7 December 2007 (UTC)


 * You should not back up a wiki from the files because it makes the backup very unportable - ie you may have trouble if you try and restore the backup on a different version of mysql or even the same version with different environment settings. You should always backup from a mysqldump (or another program such as phpmyadmin which uses mysqldump for you). --Nad 21:59, 8 December 2007 (UTC)

Well the page of the link that makes this thread title is very badly written, instead of having step-by-step instructions everything is written pretty randomly.

Also I just need to know where the database files are, just tell me that, I want to copy what pages I can because I didn't back up my wiki and now everything is screwed. PatPeter 21:05, 10 December 2007 (UTC)

Just as it says. PatPeter 00:18, 12 December 2007 (UTC)
 * Where are the database files?!?!?!

This no longer presents as a problem so I will leave it alone. PatPeter 04:39, 13 December 2007 (UTC)

[RESOLVED] Remove display of redirects
Hi, whenever a page is accessed from a redirect, there is a display of it at the top of the page. How do I remove that? &mdash; PM Poon 01:31, 8 December 2007 (UTC)
 * Just go to the page without using the redirect, its that simple. PatPeter 01:47, 8 December 2007 (UTC)
 * Hi, thanks for the reply. The problem with the display of the redirect is that it messes up my page layout and it looks very unsightly because it does not jiffed in with a few other changes that I have made. I believe that there must be a way, just like you can take away the words "From Wikipedia, the free encyclopedia" at the top of each page in Wikipedia. &mdash; PM Poon 10:29, 8 December 2007 (UTC)
 * The redirect is in a div with id="contentSub" so adding a css rule to your MediaWiki:Common.css saying #contentSub { display:none } will get rid of it. But there may also be other things that show up in the contentSub id which won't show up either, but I'm not sure. --Nad 21:55, 8 December 2007 (UTC)

'''Thank you very very much, Nad. That was perfect! How can this site everdo without you!!! &mdash; PM Poon 08:04, 9 December 2007 (UTC)

But then you can't delete your redirects. PatPeter 20:44, 10 December 2007 (UTC)

[RESOLVED] How do you make it so that redirects are italicized?
When they display in Special:Allpages, like Wikia does? PatPeter 02:08, 8 December 2007 (UTC)
 * Put

.allpagesredirect { font-style: italic; } in your MediaWiki:Common.css. --MF-Warburg 13:30, 8 December 2007 (UTC)

Thank you! PatPeter 20:41, 10 December 2007 (UTC)


 * But what folder is Common.css in? PatPeter 20:43, 10 December 2007 (UTC)


 * You don't need to edit the server files. You can edit Common.css by typing  in your wiki's search bar. Titoxd (?!?) 04:32, 12 December 2007 (UTC)


 * I didn't realize that, thank you! PatPeter 04:46, 13 December 2007 (UTC)

[RESOLVED] How do I create the Usergroup:grpname page?
I am trying to create user groups to control page access permissions. It seems that the only way to create a new page is from some existing page. Is this always true?

Thanks! —Justin 22:34, 9 December 2007 (UTC)

Edit: all fixed. Nevermind. Sorry. So Sorry.

—206.45.137.30 23:34, 9 December 2007 (UTC)

[RESOLVED] Inbox Archiver
Current Mac OSX email constantly archives old Email Message. Email space overloaded due to this. How do I access Archived Messages for deletion, or request that it ceases this activity.


 * Please do not post un-wiki-related material. -PatPeter, MediaWiki Support Team  15:40, 22 December 2007 (UTC)

[RESOLVED] How do I remove the "Talk for this IP" link at the top right when $wgDisableAnonTalk is true?
Hi!

I am using Mediawiki 1.11.0

How do I remove the "Talk for this IP" link at the top right when $wgDisableAnonTalk is true? There exists a great guide in the FAQ`s how to realize it, but my code in SkinTemplate.php differs from that one who ist posted there. When I try to change it like it is described in the FAQ`s i get following error message:

Fatal error: Call to a member function getText on a non-object in wiki\includes\SkinTemplate.php on line 529

My next question ist, how to remove the IP in Header?

Maybe you could help me?

Many thanks for your help!

regards

chris
 * Already tried manual:preventing access? --Flominator 18:44, 11 December 2007 (UTC)


 * many thanks for your advance! i will try it! but could you help me, how to remove the ip adress in header? i cant find it in the manual you showed me! --chris
 * You may want to change the value of $wgShowIPinHeader. Titoxd (?!?) 04:35, 12 December 2007 (UTC)
 * how can i do this? in which file i have to do it? please help! many thanks! best regards --chris
 * maybe you also could tell me how to do it with the discussion site for this ip? many thanks --chris
 * I'm not sure whether I understood the last question, but as for the first one, you need to modify the LocalSettings.php file on your server. It should be in the folder where MediaWiki is installed (the file is also the place where you set the database username and password, among other things). As for the modifications themselves, look for a line with $wgShowIPinHeader in it. If you find it, set it equal to false. If you can't find one, type the following:


 * Titoxd (?!?) 23:10, 12 December 2007 (UTC)

[RESOLVED] legal problems? What if someone writes e.g. Nazi-stuff in my wiki?
Hi. My question is: what if someone writes Nazi-slogans or other illegal stuff in my WIKI?? How can I be secure? WHERE CAN I FIND MORE INFORMATION ABOUT THIS?? 62.245.147.70 13:21, 10 December 2007 (UTC)
 * You may want to see Manual:Preventing access. However, bear in mind that there's always idiots who like to write nonsense like that, so aside from preventing unregistered users to edit, there's not much to do about that. Titoxd (?!?) 04:37, 12 December 2007 (UTC)

[RESOLVED] Reference required
Hello sir since you have mentioned in wikipedia Triethylamine regarding the following sentence "Triethylamine is readily alkylated to give the corresponding quaternary ammonium salt" RI + Et3N → Et3NR+I- Hence for this line i required the corresponding reference which will be helpful in my research activity.

thanku regards karthik—220.225.147.89 13:31, 10 December 2007 (UTC)
 * Are you sure, that this one is no chemical formula? Please ask you question at Talk:Triethylamine --Flominator 18:41, 11 December 2007 (UTC)

[RESOLVED] Category Links Defaulting to 'Edit' Mode
In the wiki I have set up for our organization, many (in fact most) of the category links which appear at the bottom of articles default to edit links for those category pages. This is a problem since none of our staff are clicking those links in order to edit them; they simply want to view the other content in that category. It is even a bigger problem for the public viewers of the content since they are not allowed to edit anything and it gives them a message about having to log in to edit a page when all they want to do is view content. Is there a way to fix this? I don't think I would ever need a category link to take me to an edit page.

I have MediaWiki 1.11, PHP 5.2.5, MySQL 5.x running on a Windows server using IIS.

—66.162.87.252 17:10, 10 December 2007 (UTC)
 * Edit the actual category and save it. A possibility would be to edit MediaWiki:monobook.js and to remove the &action=edit from these links via javascript.--Flominator 18:37, 11 December 2007 (UTC)


 * Thanks for the reply. If I do edit the category pages and save them, they turn into regular blue links.  The wiki still creates edit links for new categories by default, and this is SO ANNOYING.  Thanks for the advice, though, it did help.  66.162.87.252 16:09, 14 December 2007 (UTC)

[RESOLVED] Tiny Edit Boxes/View Source Boxes
In our Wiki, any time a user clicks on a "View Source" tab, the box to display the source code is only about half an inch down the page and you can only read one or two lines at a time. This also happens for some of the Users who are logged in, when they attempt to edit a page. It does not happen for Sysops, though. Any advice?

I have MediaWiki 1.11, PHP 5.2.5, MySQL 5.x and a Windows Server running IIS.

Thanks.

—66.162.87.252 17:14, 10 December 2007 (UTC)


 * I figured out that by setting the $wgDefaultSettings = array for a few variables, it erased a lot of important variables the Wiki needs in order to function normally. I commented out this change in LocalSettings.php and had to recreate all user accounts which I had created while this change was in place.  The problem was then resolved. 66.162.87.252 21:51, 13 December 2007 (UTC)

[RESOLVED] Is there a way to ban words?
Let's say that I don't want people posting the F word, is there a way that I can ban that word all together? Thanks in advance! --Bentendo 18:43, 10 December 2007 (UTC)
 * Maybe Manual:Spam helps. --Flominator 18:36, 11 December 2007 (UTC)

[RESOLVED] Lock Pages
Hi,

I am searching for an extension, that makes "magic words" able to lock Pages.

For example: I have an Page called Userlist and only selective users should be able to read and modify this site.

I want to block this site not over Localsettings.php. The best way should be with magic words like

____

____

or something else...

Do anyone know if there is an extension like this??????

If there is now way with magic words, do anyone have another good Idea for me?

Thanks a lot —87.154.173.36 21:22, 10 December 2007 (UTC)

Magic words would never be in that format, they would either be __TEXT__ or but not both. You mean Special:Userlist? No user should be allowed to edit that, that section is disabled from edited always the only way to edit Special and Media pages is from the system files. Why would you need magic words to lock pages? You mean protect right? Then ANYONE could protect pages, make the wiki only editable by admins.

Basically what you are saying is pointless, if you elaborate more we might be able to help, but discussion closed for now. -PatPeter 00:46, 16 December 2007 (UTC)

[RESOLVED] Error in SpecialUpload.php (version 1.11)
If you want to upload files with extensions (for example: ggb for Geogebra a mathematical program) you have to include the extension in wgFileExtensions, but it does not work in version 1.11. This is because of an error in if( !$this->mStashed ) {

Use instead of the new lines, the old ones:

if( !$this->mStashed ) { $this->checkMacBinary; $veri = $this->verify( $this->mUploadTempName, $finalExt );

if( $veri !== true ) { //it's a wiki error... return $this->uploadError( $veri->toString ); }		}

With this change also the  Extension for FreeMind works again. --A.Burgermeister 22:43, 10 December 2007 (UTC)


 * Man, I had a similar problem uploading .rom files (map files for video games), I will try this. -PatPeter

[RESOLVED] Cannot delete images as Admin
Hi, I have the problem that I get an error message when trying to delete images from our wiki. It says: "Error deleting file: Could not create directory "deleted/5/t/w"." And the there is one long line with a message right in my wiki. It says that the permission is denied in a certain directory and ends with "...GlobalFunctions.php online 1670" Can anybody help me with that? My best, —Gollum 23:25, 10 December 2007 (UTC)


 * Can you give a link to your wiki and the page that shows up when you try this?
 * Aside from that the image you are trying to delete is already deleted, you are viewing it as it was before it was deleted. PatPeter 23:27, 10 December 2007 (UTC)


 * http://en.wiki-products.org/Image:Error-message.png this is a link to a screen shot I took of the error message. I uploaded it to our wiki. Wow, this was instant help... Thanks! I appreciate that! But what do you mean with "the image you are trying to delete is already deleted"? My best --Gollum 23:59, 10 December 2007 (UTC)


 * Yes, I have found an interest in helping out at MediaWiki and will try to do so to the best of my ability.
 * At first I thought the error message meant that the image was already deleted and some glitch wanted you to delete a deleted image, but now I see that for some reason it can't access the files, you would have to contact your host, whoever has access to the files, and create the folder: images/deleted/5/t/w . PatPeter 04:35, 11 December 2007 (UTC)


 * Well that is actually myself, who has access to the server. Is it enough to just create this folder, or do I have to change some more general things, like the writing permissions? Thank you very much for your help so far, Pat! I really appreciate your work! --Gollum 22:23, 12 December 2007 (UTC)


 * I do my best. Create all those folders and see what happens when you try to delete it again. PatPeter 02:45, 13 December 2007 (UTC)


 * This did not work. what I did now, was to change the writing permissions for the folder ".../images/deleted" to allowing owner AND group to write. I hope this does not make our wiki insecure. However I could delete the images afterwards... Thanks for the advice! My best, --Gollum 01:06, 16 December 2007 (UTC)


 * If you have access to the system files you could even just go and delete the file, then the page should let you delete itself, but I am going to mark this as RESOLVED. -PatPeter 02:41, 16 December 2007 (UTC)

[RESOLVED] Odd Internal Error
================BEGIN ERROR================

Internal error

Detected bug in an extension! Hook quote failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:


 * 1) 0 /home/wikichi/public_html/includes/Parser.php(332): wfRunHooks('ParserBeforeTid...', Array)
 * 2) 1 /home/wikichi/public_html/includes/Article.php(3017): Parser->parse('[[Image:Welcome...', Object(Title), Object(ParserOptions), true, true, 48)
 * 3) 2 /home/wikichi/public_html/includes/Article.php(831): Article->outputWikiText('[[Image:Welcome...')
 * 4) 3 /home/wikichi/public_html/includes/Wiki.php(383): Article->view
 * 5) 4 /home/wikichi/public_html/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 6) 5 /home/wikichi/public_html/index.php(88): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 7) 6 {main}

================END ERROR==================

Can anyone help me? (oh, and yes, I just used a fresh copy of Mediawiki and got this..)

—74.234.67.247 07:13, 11 December 2007 (UTC)


 * So you got this while installing MediaWiki? Assuming you don't yet have a database or images, delete your entire server and reinstall the software. -PatPeter 00:49, 16 December 2007 (UTC)

[RESOLVED] Help! PLz
After copying my wiki under my docroot folder: I go to localhost/wiki/ When clicking on the "Please set up the wiki first." link I get the following error: Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\Programfiler\ApacheSoftwareFoundation\Apache2.2 \htdocs\InnovitWiki\includes\Namespace.php on line 44 My system is : win XP apache2.2 Mysql 5 php5 wiki 1.11


 * Move it back, install a clean new version of MediaWiki and replace the images-folder and copy the database. --Flominator 18:43, 11 December 2007 (UTC)

[RESOLVED] How to create special page
Hi, I have a dictionary section and I would like to have a special page with a search box at the top and the search results displayed below it as in this format or similar. Presently, I use the standard search box on the left and type it to access a new page each time. &mdash; 60.53.26.80 17:56, 11 December 2007 (UTC)


 * You have to create a file called SpecialPAGENAME.php and add it to the /includes/ section of your wiki system files contained the code of the website you gave. -PatPeter 00:54, 16 December 2007 (UTC)

[RESOLVED] help with categories
When trying to edit a category, I get this:

Fatal error: Call to undefined method Article::openShowCategory in /var/www/vhosts/kh2.co.uk/httpdocs/wiki/includes/EditPage.php on line 1126

We just recently upgraded to 1.6.10 after using 1.5.5

Please advise —65.7.203.224 16:20, 11 December 2007 (UTC)


 * You have to re-upload the /includes/EditPage.php from the .tar.gz file you for with 1.6.10 into your system files, also why go to 1.6.10 when you can go to 11? Seeing that you posted this on 12/11. -PatPeter 02:43, 16 December 2007 (UTC)

[RESOLVED] Missing texts in MessagesEs.php
Not sure if this is the right place. But I had to add the following lines to the MessagesEs.php because they were missing. 'filehist'                 => 'Historial del archivo', 'filehist-current'         => 'act', 'filehist-datetime'        => 'Fecha/Hora', 'filehist-user'            => 'Usuario', 'filehist-dimensions'      => 'Dimesiones', 'filehist-filesize'        => 'TamaÃ±o', 'filehist-comment'         => 'Comentario', 'filehist-help'            => 'Haga clic sobre una fecha/hora para ver el archivo a esa fecha.',

—193.27.9.131 12:24, 12 December 2007 (UTC)
 * Ideally, you should make these submissions to BugZilla, but I've done that for you. I've reported it as Bug 12287. Titoxd (?!?) 23:18, 12 December 2007 (UTC)

[RESOLVED] Internal error
MediaWiki: 1.11.0 PHP: 5.1.4 (cgi-fcgi) MySQL: 5.0.45-log Database: Unknown URL: http://www.maporchestra.com/wiki/index.php?title=Special:Upload

I get a message that says this anytime I try to upload an image:

= Internal error =

The upload directory (public) is not writable by the webserver.

Obviously the title bars (=) are for show.

—PatPeter 05:02, 13 December 2007 (UTC)


 * Help! -PatPeter 23:19, 15 December 2007 (UTC)


 * Anyone? -PatPeter, MedaiWiki Support Team  18:34, 17 December 2007 (UTC)


 * It looks like the permissions for the directory need to be changed. You can do the with the CHMOD command in FTP or SSH. -Barista 13:58, 19 December 2007 (UTC)


 * Found it, I upgraded the wiki and still had "uploads" instead of "images: Manual:LocalSettings.php. -PatPeter, MediaWiki Support Team  06:05, 20 December 2007 (UTC)

[RESOLVED] Ignorance bordering on stupidity when trying to offer information alternative interpretations of tests for diseases
MediaWiki: (Your version) PHP: (Your version) MySQL: (Your version) Database: (Your version) URL: [LINK Title]

Hi, I cannot believe how ignorant I am about blogging etc, but I am honestly brain-dead. I wrote a long comment about different results using alternative tests to discover the beginning of kidney failure in dogs and "liver shunt" (paraphrasing here). Then, I have no idea what i did, but all disappeared and I can't find it. Is there a step-by-step instruction section for those of us who are struggling with using these type of programs? Thanks.

—76.192.68.217 05:04, 13 December 2007 (UTC)


 * I'm going to take a guess that you are not talking about Wiki software... PatPeter 05:36, 13 December 2007 (UTC)

I agree with PatPeter. Mediawiki software is not a blog where you add comments to a page... unless you are adding a comment to the talk page and you did not actually save. Some people set Mediawiki automatically to preview mode when you press the Save button if you have not yet preview your edit. If so, you have to press the Save button once again after you review your changes. This is to prevent too many edited versions from being created due to careless mistakes. &mdash; PM Poon 10:00, 13 December 2007 (UTC)


 * I think it may be possible that the user doesn't know the difference between a blog and a wiki. In any case, for posts that will take me a long time to write, I sometimes write them out in a word processor or text editor first, then copy the text and paste it into the wiki or blog software. If the user has a laptop running on battery or is on dialup, the connection may timeout, even if the browser is still open. -Barista 14:28, 17 December 2007 (UTC)

[RESOLVED] Fail in configuring uploads
MediaWiki: 1.11.0

PHP: 5.1.4 (apache2handler)

MySQL: 5.0.21-community-nt

Apache 2.2 on Win 2003

Hello. I have read the Manual:Configuring file uploads, but still stuck. I have set file_uploads=on in PHP.ini, changed the $wgEnableUploads = true; $wgUploadDirectory = "{$IP}/wikifiles" and $wgUploadPath = "{$wgScriptPath}/wikifiles" in LocalSettings.php ("/wikifiles" or "wikifiles" makes no difference; of cource, I defined the alias /wikifiles in httpd.conf), set OS permissions on wikifils to full access for everyone (just for testing), but still could not upload any file: "The upload directory (public) is not writable by the webserver." In Apache log I see the following: (20024)The given path misformatted or contained invalid characters: Cannot map POST /wiki/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:Upload HTTP/1.1 to file

What I missed ?

—89.175.73.253 15:58, 13 December 2007 (UTC)
 * FUF, finally I understand: $wgUploadPath must be relative URL path, like "/wikifiles" (wikifiles must be defined in httpd.conf, if it is not subdirectory of already defined path), and $wgUploadDirectory must be FULL filesystem path, like (for Windows) "D:/MyWiki/wikifiles". Zzzz... --89.175.73.253 15:02, 14 December 2007 (UTC)

[RESOLVED] index.php
Running:
 * MediaWiki: 1.11.0
 * PHP: 5.2.3-1ubuntu6.2 (apache2handler)
 * MySQL: 5.0.45-Debian_1ubuntu3-log

Works fine with Firefox on the local machine, or IE on a remote machine. However, Firefox on a remote machine asks me what I want to do with the PHP file when I ask for the index page, which it thinks is of the type application-xhttpd-php. I've added:

AddType text/html .php

AddType text/html .php5

To the mime.conf file of Apache2, it doesn't make any difference. Any suggestions?

James Turner Senior Software Engineer, Kronos Labs Kronos, Inc jamesturner@kronos.com

—158.228.58.31 21:10, 4 December 2007 (UTC)
 * Add the following in httpd.conf:
 * <IfModule dir_module>
 * DirectoryIndex index.html index.php index.htm
 * </IfModule>
 * and remove your changes in mime.conf

--89.175.73.253 17:53, 13 December 2007 (UTC)


 * It asks me if I want to download or open  when I try to upload a file. -PatPeter 02:35, 16 December 2007 (UTC)


 * Go in Mozilla Firefox into Tools => Options => File Types, and delete whatever config you have for php files. -PatPeter, MediaWiki Support Team  03:56, 23 December 2007 (UTC)

[RESOLVED] Manual:$wgNamespacesToBeSearchedDefault
MediaWiki: 1.11.0

PHP:

MySQL:

Database:

URL: Red Orchestra Wiki

I have tried using this extension as both: $wgNamespacesToBeSearchedDefault  = array(       NS_MAIN                     => true,       NS_PORTAL                   => true,       NS_TECHNICAL                => true,       NS_WIKIPROJECT              => true,             NS_HISTORY                  => true,       NS_MANUAL                   => true,       NS_EXTENSION                => true,       NS_MAP                      => true,       NS_SERVER                   => true,       NS_MODIFICATION             => true,       NS_MUTATOR                  => true,       NS_UNIT                     => true,       NS_CLAN                     => true,       NS_TERM                     => true,       NS_TACTIC                   => true,       NS_WEAPON                   => true,       NS_TANK                     => true,       NS_ROLE                     => true,       NS_PLAYER                   => true );

and

$wgNamespacesToBeSearchedDefault  = array(NS_MAIN => true, NS_PORTAL => true, NS_TECHNICAL => true, NS_WIKIPROJECT => true, NS_HISTORY => true, NS_MANUAL => true, NS_EXTENSION => true, NS_MAP => true, NS_SERVER => true, NS_MODIFICATION => true, NS_MUTATOR => true, NS_UNIT => true, NS_CLAN => true, NS_TERM => true, NS_TACTIC => true, NS_WEAPON => true, NS_TANK => true, NS_ROLE => true, NS_PLAYER => true);

And neither of them work, what am I doing wrong?

—-PatPeter 19:35, 13 December 2007 (UTC)


 * Well, probably the NS_xxx constants don't exist for custom namespaces. You could probably define them, or just use the namespace number. —99.236.141.81 20:16, 13 December 2007 (UTC)


 * Nope, as I posted in the post directly above:

$wgExtraNamespaces = array(110 => "Portal", 120 => "Portal_talk", 130 => "Technical", 140 => "Technical_talk", 150 => "WikiProject", 160 => "WikiProject_talk", 170 => "History", 180 => "History_talk", 190 => "Manual", 200 => "Manual_talk", 210 => "Extension", 220 => "Extension_talk", 230 => "Map", 240 => "Map_talk", 250 => "Server", 260 => "Server_talk", 270 => "Modification", 280 => "Modification_talk", 290 => "Mutator", 300 => "Mutator_talk", 310 => "Unit", 320 => "Unit_talk", 330 => "Clan", 340 => "Clan_talk", 350 => "Term", 360 => "Term_talk", 370 => "Tactic", 380 => "Tactic_talk", 390 => "Weapon", 400 => "Weapon_talk", 410 => "Tank", 420 => "Tank_talk", 430 => "Role", 440 => "Role_talk", 450 => "Player", 460 => "Player_talk");

-PatPeter 23:28, 13 December 2007 (UTC)

Cut 1
I have a solution for you, I had the same problem. Go to your DefaultSettings.php and copy the enitre array $wgDefaultUserOptions into your LocalSettings.php. It is important that you copy the entire thing because if you set only a few of the variables, the others are cleared. Then add your namespaces like this: $wgDefaultUserOptions = array( 'searchNs110' => 1, 'searchNs120' => 1, etc... ); 66.162.87.252 16:33, 14 December 2007 (UTC)
 * 1) Leave all those default settings alone


 * I would try this but I can't figure it out.
 * Alright I will try your way. -PatPeter 00:01, 16 December 2007 (UTC)

The only info I have in my :

-PatPeter 00:10, 16 December 2007 (UTC)

Cut 2
Oops that is, here:

According to Manual:Namespace, this would include my custom along with the main namespace. So:

Like this? -PatPeter 00:24, 16 December 2007 (UTC)

And would this still work:

? -PatPeter, MedaiWiki Support Team  18:51, 17 December 2007 (UTC)

[RESOLVED] Email TimeZone Error
MediaWiki: 1.11

PHP: 5.2.5

MySQL: 5

Server: Windows/IIS

Anytime a user requests a confirmation email from my Wiki they get the following error:

Could not send confirmation email. Check address for invalid characters. Mailer returned: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable for the date_default_timezone_set function. In case you used any of those methods and you are still getting this warnig, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for '-6.0/no DST' instead

I have the following settings in my LocalSettings.php:

$wgLocaltimezone = 'America/Chicago'; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z")/60; putenv("TZ=$oldtz");
 * 1) Set Default Timezone

Even though this error displays, the email is sent successfully. I have the latest PEAR Mail installed but I am using the php.ini SMTP and smtp_port settings, because if I use $wgSMTP in localsettings.php I get internal server errors.

—66.162.87.252 16:19, 14 December 2007 (UTC)


 * I had the same problem as you describe! After that error message i have put the following Code into the LocalSettings.php:

$wgLocaltimezone = "Europe/Vienna"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone");
 * Then I didnt get any error anymore and it works fine! I dont know if this solve your problem but I hope it for you! It could be that you have to use " instead of ' at America/Chicago. The other difference is, that i dont use a offset.

--Bpczi 16:44, 14 December 2007 (UTC)

I figured out that I needed to fill in information for default.timezone in php.ini. Problem solved! 66.162.87.252 19:21, 14 December 2007 (UTC)

[RESOLVED] No search results
MediaWiki: 1.11.0

PHP: 5.1

MySQL: 4.1.22

Database: 4.1.22

URL: http://www.linuxmintusers.de/wiki/index.php5 (test)

The search dont go. I find nothing, no pages and no forum topics.

Help?

Thanks! Juergen

—83.171.164.96 17:44, 14 December 2007 (UTC)


 * Works for me. The search isn't as intuitive as the google search, if your search term dosn't match something (title or text) exactly it won't return anything. Extension:Google Custom Search Engine might be of use for you. J.smith 18:41, 15 December 2007 (UTC)


 * Yes what did you search for and what pages were you looking for? Since this is basically resolved I will mark it as so. -PatPeter, MedaiWiki Support Team  03:27, 16 December 2007 (UTC)

[RESOLVED] (Wiki) Offensive Webpage
http://wiki.rmrk.net/index.php/The_Legacy_Of_Naphe

I recently came across this after some topic about "Naphe" on CC Corp. I'm unaware who this member is, but I would assume this is an extremely offensive page. I thought I would report it.


 * Thanks for reporting it, however that wiki is not part of the wikimedia foundation and hence we have no control over it. You're best chance to get it deleted is to talk to a sysop on that wiki. <font face="Verdana,Arial,Helvetica"> Mønobi 20:01, 15 December 2007 (UTC)


 * Yes, I mean wow this is not the right place to ask this at ALL. -PatPeter, MedaiWiki Support Team  03:30, 16 December 2007 (UTC)

[RESOLVED] Changing logo...
MediaWiki: (Latest)

PHP: (IDK)

MySQL: (IDK)

Database: (IDK)

URL:

Ok, I can not at all change the top left picture if my life depended on it. I looked through the LocalSettings file, but found ABSOLUTELY nothing about the logo. Please help. Maybe theres sumthing im missing.

—71.62.185.141 03:27, 16 December 2007 (UTC)

Find the section that looks like this in :

And change  to the URL of your logo. -PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)

Hell man you should have just looked at Manual:LocalSettings.php, do you read? -PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)

[RESOLVED] What is this function called?
What is it called when you do this: :

-PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)

On templates? -PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)


 * "Parameters"? -- Duesentrieb ⇌ 15:06, 17 December 2007 (UTC)


 * Sounds like it. I had nothing to describe it by when editing templates, now I can call them parameters, thanks! -PatPeter, MedaiWiki Support Team  17:56, 17 December 2007 (UTC)

[RESOLVED] How to update the mediawiki software on our wiki...
MediaWiki: 1.11.0

PHP: 5.2.0-8+etch5~pu1 (cgi-fcgi)

MySQL: 5.0.32-Debian_7etch1-log

Database: (No idea sorry)

URL: Tribalwars Wiki

Hello all, sorry about the lack of information on the database, but its not a database problem ;) . My question is easy, and simple.  I am one of the admin at the TribalWars wiki.  Its a nice small community wiki.  We require an update to the mediawiki software so the wiki can evolve, for example i wish to present certain trusted users with the rollback right, but because i do not have an up-todate wiki... I cannot, and i do not want to give out sysop to them just yet.  So basically where can i go to ask for an update to the wiki?

Also, if i have to post somewhere, can you provide a link.. And if i posted in the wrong area, im deeply sorry, i can also be contacted |Here

Also, i had to apply to get the wiki started. I was simply given a wiki, with a basic design, very few pages and an admin account. How would i go about gaining access to the mediawiki files where i can edit more complex things... for example the Wiki's logo etc.

Thanks alot,

—Oscardog 22:05, 17 December 2007 (UTC)


 * That should deal with the assigning rollback w/o sysop access. <font face="Verdana,Arial,Helvetica"> Mønobi 01:30, 18 December 2007 (UTC)
 * Unfortunately i do not own the wiki, it was not started by me... So i don't have access to the files at the moment... anyway to update the mediawiki software so that i can indeed assign the rollback right to users. --Oscardog 12:56, 18 December 2007 (UTC)
 * Only someone with database access can do this. Prodego 02:39, 19 December 2007 (UTC)

For future use Oscardog, you don't have to put a "|" in external links, a space between the link and what you want the link to be titled is all you need. -PatPeter, MedaiWiki Support Team  23:13, 18 December 2007 (UTC)

[RESOLVED] Untitled
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

(Your error report here... delete this comment beforehand)

—Breinicke 23:50, 17 December 2007 (UTC) Is there a way to create a login to simply view the wiki? The organization I work for is wanting a wiki set up for internal staff, but is accessible anywhere... (many of our higher staff members work abroad) however given the internal nature of some of the info, I am tasked with creating a login to access the wiki. (not just the standard login to edit). I have searched for various questions, but they all relate to logging in to be an editor.
 * Extension:Hidden_pages, Extension:Page_access_restriction, Extension:DisallowAccessOnCategory, or most extensions in Category:Extensions_by_security_risk should be what you're looking for. <font face="Verdana,Arial,Helvetica"> Mønobi 01:36, 18 December 2007 (UTC)

[RESOLVED] Remove Donations
I remember reading how to remove the ""Donations" link from the Browse area but I can't find it now. Any help would be appreciated.  Thanks.

—151.190.254.108 23:58, 18 December 2007 (UTC)
 * Remove the line ** sitesupport-url|sitesupport from MediaWiki:Sidebar. That should get rid of the donations link. --Skizzerz talk 00:33, 19 December 2007 (UTC)


 * Thanks. That did the trick. —The preceding unsigned comment was added by 151.190.254.108 (talk • contribs) 02:07, 20 December 2007 (UTC). Please sign your posts!

[RESOLVED] Install Problem / Admin

 * MediaWiki: newest
 * PHP: 5
 * MySQL: 4
 * Database: 4
 * URL: http://wiki.batavie.nl/

When I want to install mediawiki it goes to http://wiki.batavie.nl:2222/ Don't know why..

—82.136.199.233 12:49, 20 December 2007 (UTC)

Had to use an url without subdomain ;-)

82.136.199.233 12:51, 20 December 2007 (UTC)

[RESOLVED] Email problems

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: (Likewise)
 * MySQL: (Likewise)
 * Database: (Your version)
 * URL: [LINK Title]

The guy who registered the mediawiki used a different email address than the installer. Now I don't know where to change the email address on the install in order to get it to match so we can register.

—216.136.79.238 14:57, 20 December 2007 (UTC)


 * Go into LocalSettings.php in your system files and change Manual:$wgEmergencyContact and Manual:$wgPasswordSender to the email addresses of your choosing. -PatPeter, MediaWiki Support Team  19:27, 24 December 2007 (UTC)

[RESOLVED] Using slave mysql databases

 * MediaWiki: 1.10.1
 * PHP: 5.2.2 (apache)
 * MySQL: 4.1.14-log
 * URL: jmars.asu.edu

In reading mailing lists and lots of google searches, it appears that Mediawiki can be configured to use multiple mysql slave databases in addition to the master database. It appears that these slave databases are entered into the $wgDBservers array, and then Mediawiki is smart enough to use the master (referenced as $wgDBserver) for writes and either the master and slaves (so $wgDBserver and $wgDBservers) or just the slaves ($wgDBservers) for reads (selects).

First, is there any documentation on this? All the manual pages simply show the syntax for $wgDBservers.

Second, which is it? Do reads/selects use all the available databases ($wgDBserver and $wgDBservers) or just $wgDBservers (if its defined, falling back to $wgDBserver if it isn't)?

—Chk 23:36, 20 December 2007 (UTC)


 * Whether an operations is able to use all databases or just the master depends of whether the code obtains its DB object by passing DB_MASTER or DB_SLAVE to the wfGetDB function. Code should be written to only ask for a slave if it doesn't intend on changing anything in the DB. See Manual:Database access for more detail. --Nad 20:54, 22 December 2007 (UTC)

[RESOLVED] Link to a file or folder does not work
Hi,

I tried to link to an folder or file with html and wiki syntax. Both does not work. Here is what i tried:

<A href="file:///c:\windows\ie7.txt>txt datei im Windows Ordner</A>



With http all links are recognized but file seems not to be supported ?

Or is it somewhere hidden in the configuration?

Hi, to use html code, you need to enable your Rawhtml in your LocalSettings.php, but this will compromise security considerations. I have read somewhere that you can actually enable specific html codes by listing it one by one without enabling rawhtml. However, I cannot find the source now. Should you find it, please let me know. I also want to add html codes to my pages but am worried about hackers and vandals. &mdash; PM Poon 14:36, 7 December 2007 (UTC)


 * And you shouldn't be able to link to [file:///c:\windows Order Windows] because those are on your computer, not a website. Your a href wouldn't have worked because of that for one, and two because you forgot the " at the end of txt. PatPeter 17:58, 13 December 2007 (UTC)

[RESOLVED] What does it cost?
Not for the software, but if I wanted to create a wiki to play with, could I do it for free, if not, how much would it cost? Thank you. 81.154.151.22 14:28, 18 December 2007 (UTC)


 * MediaWiki is free, PHP is free, MySQL might cost money I wasn't the one who installed it for my wiki. I have no idea about the database. If you either have a server of your own you can run the wiki from that or you will have to pay for someone to host your wiki. -PatPeter, MedaiWiki Support Team  23:11, 18 December 2007 (UTC)


 * If you want someone to host your wiki, see Comparison of wiki farms, which includes some free, ad-supported services. --Brian 05:41, 19 December 2007 (UTC)

[RESOLVED] setting to restrict the record of document history to the last 10 changes
Hi, does someone know how and where I can configure the amount of stored document versions? Priorsure1 13:11, 19 December 2007 (UTC)


 * You can delete a page and the restore the revisions you want. You would have to hack your database if you wanted to wipe out a revision history page. -PatPeter, MediaWiki Support Team  19:24, 24 December 2007 (UTC)

[RESOVLED] Account Problems

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: (Likewise)
 * MySQL: (Likewise)
 * Database: (Your version)
 * URL: [LINK Title]

I have a listing on your website that must be edited as soon as possible!! It is the Wilson Firm Architects and Engineers, Ltd. site that has to be changed to avoid a desaster. I am Walter Wilson the person responsible to creating the site and I am not able to edit it. Basically the company address has changed and the email address has changed and the personnel have changed. Quite frankly I forgot that this site was still there. However one of the gentlement on my staff at that time may risk God Knows What All if his name is not removed from this website "immediately." I do not remember the name or password that I used!! However, our email address at the time was wwilson@execpc.com. My new email address is wwilson100@yahoo.com. I desperately need your assistance in this matter, but you have no apparent phone number and other contact information seems to be missing as well.

You can contact me at the following phone number or email respectively: (414) 278-4854 and wwilson@milwcnty.com

THANK YOU FOR YOU PROMPT RESPONSE TO THIS MESSAGE

Walter L. Wilson, AIA, NOMA, NCARB

—204.194.251.3 21:20, 19 December 2007 (UTC)


 * I could not find anything remotely like what you describe, be it on mediawiki.org or on en.wikipedia.org. Please provide a link to the user account you feel we should intervene on. Urhixidur 20:20, 20 December 2007 (UTC)


 * We have had posts similar to this one... it seems A LOT like spam, I am going to close this thread as I assume it has no relation to MediaWiki software. -PatPeter, MediaWiki Support Team  19:24, 24 December 2007 (UTC)

[RESOLVED] Plethera of problems
I have a fresh install of MW 1.11 on a Fedora Core 5 machine, php5, mysql 5. I an having a boat load of issues. One templates are not parsing properly, I have all the parser extensions installed and the show up on Special:Version, but nothing seems to work. ImageMap crashes everytime I add
 * For more, see Manual:Using custom namespaces. — color probe — <strong style="color: rgb(130,130,30);">Talk  — Contribs 13:26, 22 December 2007 (UTC)


 * I guess it was actually because I had a page called "Lyes Krovy" and made the talk page "#REDIRECT 'Map talk:Lyes Krovy'", then I either added the namespace or the move did this but when I moved Lyes Krovy to Map:Lyes Krovy this happened. -PatPeter, MediaWiki Support Team  15:44, 22 December 2007 (UTC)


 * I still have the problem though, look here. -PatPeter, MediaWiki Support Team  15:45, 22 December 2007 (UTC)


 * In case someone looks at this page while I am trying to fix it it looks like this, being on the Special:Brokenredirects page:

1. :Lyes Krovy (edit) (delete) → Talk:Lyes Krovy


 * -PatPeter, MediaWiki Support Team  19:55, 23 December 2007 (UTC)

Manual:$wgFileExtensions

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * Database:
 * URL:

Hi, can you upload and download video and audio fines with media wiki? Thanks

—Newuserlearning 16:54, 23 December 2007 (UTC)


 * What do you mean video and audio "fines"? You mean files? You have to add this into your LocalSettings.php, except with the files types you want:

$wgFileExtensions  = array('png','jpg','jpeg','ico','bmp','ogg','doc','xls','ppt','docx','xlsx','pps','mp3','sxc','pdf','nse','rom','ukx','uc','uax','usx','utx','u');


 * For more information see Manual:$wgFileExtensions.


 * -PatPeter, MediaWiki Support Team  19:26, 23 December 2007 (UTC)


 * Also I am using Mozilla Firefox and it asks me if I want to open or save  instead of uploading the file. -PatPeter,  MediaWiki Support Team  19:35, 23 December 2007 (UTC)

wikimedia 1.6.10 extentions

 * MediaWiki: 1.6.10
 * PHP: 4.4.7 (apache)
 * MySQL: 4.1.22-standard
 * Database:
 * URL: http://www.bala6y.org/wiki2/

I have php 4.4.7 on my server .. and currently i can't upgrade it. So, i installed wikimedia 1.6.10 and i want to find all the extention that can be applied to it.

Thanks

—84.36.187.29 01:35, 24 December 2007 (UTC)

problems with GIF after upgrade to MediaWiki 1.11.0

 * MediaWiki: 1.11.0
 * PHP: 5.2.4 (cgi-fcgi)
 * MySQL: 5.0.27

Hi, I upgraded from MediaWiki 1.6 to 1.11.0 and all went well except: Images in GIF format don't show anymore on the pages. PNG and JPG images are OK, but when I put, it will give me only this text as a hyperlink, w/o showing the image.. Any help appreciated! —Theo s 10:03, 24 December 2007 (UTC)


 * Found an answer at, but unfortunately this script maintenance/rebuildImages.php is not at my server... :( Theo s 10:16, 24 December 2007 (UTC)
 * Well, found the script, but it contains errors...

code-snippet as of line 82:

printf( "%s: %6.2f%% done on %s; ETA %s [%d/%d] %.2f/sec <%.2f%% updated>\n",                       wfTimestamp( TS_DB, intval( $now ) ),                        $portion * 100.0,                        $this->table,                        wfTimestamp( TS_DB, intval( $eta ) ),                        $completed,   // $completed does not appear to be defined.                        $this->count,                        $rate,        // $rate does not appear to be defined.                        $updateRate * 100.0 ); flush; }

The comments state that 2 variables ($completed and $rate) are not defined, and that's the case.. Theo s 11:55, 24 December 2007 (UTC)

Anybody any suggestions please...?? Theo s 11:11, 27 December 2007 (UTC)

Different Syle - HowTo "install" on the server
I know, that MediaWiki is not responsible for the different styles, which you can get from: http://meta.wikimedia.org/wiki/Gallery_of_user_styles

But anyway it yould be good, to get an explaination, how to install it on the server, so everybody uses this style. This would make the Wikimedia fit more the personal/ company belongings.

So does anybody could explain, who to integrate for example the: Grey lady look

Thanks fr your help!

—193.16.48.5 15:08, 6 December 2007 (UTC)

Upload new version not working
I am using MediaWiki for an internal intranet wiki at work, but we have discovered that attempting to upload a new version of a file does not seem to be working - MediaWiki reports that it uploaded the file successfully, but the copy on the server is still the old one; MediaWiki does not replace the file with the new version. Does anyone know why this is happening? Is there a way to fix this?

Thanks! —82.68.75.38 17:09, 6 December 2007 (UTC)

All messages
um my problem is that the allmessages special page won't appear up after my migration see l3ga.tk —86.90.194.103 17:59, 6 December 2007 (UTC)

You mean this link: ? PatPeter 02:00, 8 December 2007 (UTC)

Right! It's that link, however I mean that site, the http://l3ga.ferrywijsman.nl/Special:Allmessages doesn't work! Please help me. 86.90.194.103 10:09, 8 December 2007 (UTC)

Oh well then thats obvious, its because the Wiki is set in German (or at least I think it is German), so that Special page doesn't exist. PatPeter 23:38, 10 December 2007 (UTC)

It's Dutch, and in Dutch the page is called http://l3ga.ferrywijsman.nl/Speciaal:AlleBerichten, but still it doesn't work... though it worked on the earlier (l3ga.freehostia.com) site it. 86.90.194.103 16:07, 11 December 2007 (UTC)

Huh thats weird, usually Mozilla Firefox would copy http://l3ga.ferrywijsman.nl/Speciaal:AlleBerichten but instead it copied the login page. Check your system messages folder if you have access to the database. PatPeter 17:56, 13 December 2007 (UTC)

What do you mean by that? I have access but what should I check? 86.90.194.103 18:09, 14 December 2007 (UTC)

I am looking at http://l3ga.ferrywijsman.nl/Speciaal:SpecialePaginas right now and Speciaal:AlleBerichten is not listed. Try taking SpecialAllmessages.php from the MediaWiki zip.gz file and reupload in into your /includes/ folder. -PatPeter, MediaWiki Support Team  19:46, 24 December 2007 (UTC)

Mmm, replaced the allpages file and know it just works, but nothing really changed (same filesize)? Still thanks! Maybe is it because I changed another message, just directly, instead clicking through Allmessages! Thanks!

It's becáuse I changed a message it works again, because when I upload allmessages.php, it gives a blank screen again. If I change then MediaWiki:Sidebar, it's over and AlleBerichten works again. Is this a bug!? 86.90.194.103 13:22, 28 December 2007 (UTC)

DschosCalendar
Hello All. I recently installed MediaWiki on a SME server I have running. The installation went smoothly, and we already have users starting to play with it. However, I attempted to install the Dschos Calendar, I was unsuccessful. I created the DschosCalendar.php and calendar_template.html files using touch and pico as requested in the documentation below.

>Copy DschosCalendar.php and calendar_template.html into the extensions/ directory. Then, I attempted to follow the directions below. The first request went fine. When attempting to edit the "MediaWiki:Calendar-url" I found it did not exist. Do I just create it? That is what I tried, and the calendar still does not show up.

''>You might want to edit the sidebar: just edit the page MediaWiki:Sidebar, add a line '** calendar-url|calendar', then edit >the page MediaWiki:Calendar-url to contain just the string Special:Calendar, and the page MediaWiki:Calendar to contain just >the string Calendar. This will add the calendar to your navigation menu on the left side.''

Lastly, I attempted to follow the instructions below:

''>Changes to LocalSettings.php >require_once("$IP/extensions/DschosCalendar.php");''

Putting the line at the top of the script caused MW to crash. Puttin it under the existing "require_once" line also did not correct the problem.

If someonw would lead me in the correct direction, I'd gladly edit the install page to better assist non PHP programmers (like myself) to get this working.

Chris Curtis

Copyright Icons
How do I change the copyright shown in the bottom left? And can it be done on a per-namespace basis? There doesn't seem to be a MediaWiki page that handles this. —99.236.141.81 21:24, 6 December 2007 (UTC)

Hi, the copyright information is in your LocalSettings.php. As for per namespace basis, I am not knowledgeable enough to give an answer. Hope Nad or someone else will come to your rescue. &mdash; PM Poon 14:31, 7 December 2007 (UTC)
 * Set $wgUseDatabaseMessages to true in your LocalSettings, then you can change any of the interface text messages directly from the wiki articles listed in your Special:Allmessages page. You can do this on a per-namespace basis by adding appropriate conditions into the wikitext of the message, eg


 * Note that you need the ParserFunctions extension installed to use #if --Nad 22:08, 8 December 2007 (UTC)
 * Sorry I only just noticed you said "icons" not "text" - use $wgCopyrightIcon and change on a per namespace basis by cheking $wgTitle->namespace --Nad 22:13, 8 December 2007 (UTC)
 * So I have to add an if clause to my LocalSettings.php? Something like this?

if ( $wgTitle->namespace == "ns name here" ) { $wgCopyrightIcon = "image here"; }
 * —99.236.141.81 00:25, 12 December 2007 (UTC)
 * Wait - what's the difference between $wgCopyrightIcon and these lines?

$wgEnableCreativeCommonsRdf = true; $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/3.0/"; $wgRightsText = "Attribution-Noncommercial-Share Alike 3.0 Unported"; $wgRightsIcon = "http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png";
 * If I set $wgCopyrightIcon, would I have to do something with those, too?—99.236.141.81 02:08, 12 December 2007 (UTC)
 * $wgTitle->namespace does not work. Nor does $wgTitle->getNamespace. It gives the following error:

Fatal error: Call to a member function getNamespace on a non-object in LocalSettings.php on line 119
 * —99.236.141.81 13:35, 13 December 2007 (UTC)

toolbox and titles of pages
I have several questions because I didn’t find a solution for my problems in this website:
 * First question: I am administrator of a mediawiki and I would like to render the toolbox invisible for not registered users.
 * Second question is about the titles of pages: I would like to change their style for instance, center the title of the article, change the colour of the title,....

I thank you for your help.
 * 1.) Nad should be able to help you with this. I remember having read about this before but I can't find it. Try searching the mediawiki helppages or search with google for "mediawiki", "toolbox" etc
 * 2.) This can be set in your css-file which should be monobook.css.


 * -Mazi

templates, buttons and editor
3 questions:

1. how do I insert this template on my wiki?

http://en.wikipedia.org/wiki/Template:Infobox_VG

like this too:

http://www.mediawiki.org/wiki/Extension:Polyglot (the box in the right of the page)

2. how do i insert buttons like in this wiki: http://www.wikia.com/wiki/MediaWiki

if you look in the footer you will see: Rate this article, Share this acrticle -> digg, del.icio.us, stumbleupon, etc

(last one) 3. i can't remember where, but in a wiki a saw some extra buttons in the editor bar... is there any reference about this?

sorry for too many questions, is just that i want to learn more :p

thanks btw

—foxfirediego 10:56, 7 December 2007 (UTC)

1. Your need the Extension:ParserFunctions extension to use that template for one. For two you need to define the CSS in the HTML classes such as:

class="infobox bordered vevent"

which I have no idea how to do. As for 2 and 3 I can't help you. -PatPeter, MediaWiki Support Team  19:51, 24 December 2007 (UTC)

Contents Table not redirecting properly
I'm getting a wrong redirect for the contents table. IF there's an heading called "Story" the link should be http://www.domainsite.ext/article#STORY but the links redirect on http://www.domainsite.ext/#STORY, without "article" so the browser is redirected to the home page!!!

I think it's an hosting problem, How can I fix this? Can I modify a configuration file? Thanks in advance! --Lorenzone92


 * I'd be nice if you gave your url and your wiki information so we can help you. -PatPeter, MediaWiki Support Team  16:03, 22 December 2007 (UTC)


 * The wiki is on www.rockciclopedia.com. For istance if you go to http://www.rockciclopedia.com/index.php?title=Hard_Rock and you click on "Origini" you'll be redirected to the home page... --Lorenzone92 21:54, 22 December 2007 (UTC)


 * Someone on your wiki edited a page wrong, it is either a system file or a MediaWiki file that defines how the ToC displays. Do you have access to your wiki's system files and MediaWiki files? Ask all your admins who have the same permissions if they did anything. -PatPeter, MediaWiki Support Team  23:27, 22 December 2007 (UTC)


 * I'm the only admin and I've edited nothing... I think I have to replace relative links with absolute links in the PHP file that pertain to contents table... --Lorenzone92 13:52, 23 December 2007 (UTC)


 * Yes they need to be absolute. -PatPeter, MediaWiki Support Team  19:52, 24 December 2007 (UTC)


 * OK but I've edited nothing... So I don't know where the problem could be! What do you think? Which is the PHP file that "manage" the contents table? --Lorenzone92 22:38, 24 December 2007 (UTC)
 * MMh... no one can help me? --Lorenzone92 15:44, 26 December 2007 (UTC)

Thumbnails Not Working
I get an error for thumbnails: "Error creating thumbnail: sh: convert: command not found". My LocalSettings.php includes the line '$wgImageMagickConvertCommand = "/usr/local/bin/convert";' and this is the correct path for the convert executable. And it has execute privileges for all users. Any idea what could be wrong? (Reinstalling ImageMagick did not help either.)—99.236.141.81 04:16, 4 December 2007 (UTC)


 * Hi, I encountered the same problems like you before. Are you using a webhost to host your site? If so, this thing requires your webhost to do something as it involves some server security features. &mdash; PM Poon 12:26, 4 December 2007 (UTC)


 * No, I am not using a webhost. I'm using MediaWiki 1.11, Apache 2, PHP 5, and MySQL 5. —99.236.141.81 19:17, 4 December 2007 (UTC)


 * Perhaps I should have mentioned that the files involved were SVG files. —99.236.141.81 19:28, 4 December 2007 (UTC)


 * Try setting $wgSVGConverterPath to /usr/local/bin --Nad 20:25, 4 December 2007 (UTC)


 * Well, it works now. Thanks! —99.236.141.81 21:48, 4 December 2007 (UTC)

I had this same problem before I upgraded to 11, I haven't uploaded any images yet, I am still trying to restore my database. PatPeter 01:56, 8 December 2007 (UTC)

I have a problem that is like this: Error message: Error creating thumbnail: The system cannot find the path specified. I have a line in my Localsettings.php: $wgImageMagickConvertCommand = "/usr/bin/convert", but in that folder there are no commands, just files like svnstat and ulimit*. What command do I need to convert? How can I solve this problem? -194.138.26.89 11:52, 10 December 2007 (UTC)

Yes when I try to upload a file it asks me if I want to open or save, how can I fix this? I am using Mozilla Firefox. -PatPeter 02:33, 16 December 2007 (UTC)


 * Look here: Image. -PatPeter, MediaWiki Support Team

How to Create a New Log?
--Abercrombie 19:19, 7 December 2007 (UTC)
 * 1) Is there a way to log visits to a specifc page?
 * 2) Is there a way to log opening (downloading) of a specific image?
 * You're probably best using your webserver access log for that kind of logging - or a program which generates reports from the access logs such as webalyser etc --Nad 22:01, 8 December 2007 (UTC)

Initial installation problems - error in your SQL syntax
Everything went well until this message came up. I'm learning MySQL, PHP, and installing this Wiki as part of my start [thus a new user]. Running Win2K.

MediaWiki 1.11.0 Installation Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems.

PHP 5.2.5 installed Found database drivers for: MySQL PHP server API is isapi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (C:\Spool\TempFolder\Session) appears to be valid. PHP's memory_limit is 128M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Couldn't find GD library or ImageMagick; image thumbnailing disabled. Installation directory: C:\Inetpub\WWW\Wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file...

Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as root...success. Connected to 6.0.3-alpha-community Database wikidb exists Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default , user_token binary(32) NOT NULL default , user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) TYPE=InnoDB " failed with error code "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 20 (localhost)".

After my MediaWiki 1.11.0 download, I didn't change anything, and was following the online instructions for install.

Help is appreciated!

— 19:33, 8 December 2007 (UTC)

The layout of main page has problems
The search function should be put at the top. Google did a better job in page layout, and it improved often. Now, it puts all of its options at the very top --76.68.123.15 20:30, 8 December 2007 (UTC)


 * Please give a link to your wiki, what version: MediaWiki, PHP, MySQL, and database. -PatPeter 18:03, 13 December 2007 (UTC)

Automatic replacement of string from more than one page
Hi Nad, refer to your response at [Project:Support_desk/Archive_11#Automatic_replacement_of_string_from_more_than_one_page at Archive 11] on 6 September. I have uploaded Extension:Simple Forms successfully to my server and configure my LocalSettings.php accordingly.

I have also downloaded Yi-bot but am at a loss as to what to do with it so I uploaded it into my Extension folder? How do I activate it? Sounds so silly, hehehe, but I have never used a bot before. &mdash; PM Poon 08:17, 9 December 2007 (UTC)
 * It may not be an appropriate solution for you as you'll need to edit the yibot code with regular expressions to do the replacements you want. There's currently no way to do replacements in multiple articles with a simple interface. I'm working on an extension for this, but its a while away yet. --Nad 21:26, 9 December 2007 (UTC)
 * If you add a section to OrganicDesign:Talk:Yi-bot stating exactly what you need, I'll add a code snippet in there for you. Make sure you back up your database before using a bot to edit many articles because bots can really mess things up when they go wrong! --Nad 21:32, 9 December 2007 (UTC)

Remove buttons
Hello, I need remove math and media buttons from my encyclopedia editing toolbar. How I can do that? Thank you. --88.222.212.231 10:47, 9 December 2007 (UTC)

When editing in sysop mode, the browser downloads an index.php5 file containing no HTML
I'm running the latest version of MediaWiki (1.11.0) and whenever I click on the edit link as a sysop user, or even enter the url directly (http://www.xxx.org/wiki/index.php5?Title=Articles&action=edit), the browser downloads a file named index.php5 containing non HTML text like :

[Process] Type=Edit text Engine=MediaWiki Script=http://www.xxx.org/wiki/index.php5 Server=http://www.xxx.org Path=/wiki Special namespace=Special [File] Extension=wiki URL=http://www.xxx.org/wiki/index.php5?title=Articles&action=edit&internaledit=true

If I use the GET option &internaledit=true, I can view the edit page in the browser instead of downloading that file.

It does this only for my primary user, who's got edit and sysop rights. I bypassed the problem by creating another user with only edit rights, and using the internaledit option in the url when in sysop mode (to be able to edit items like the MediaWiki:Sidebar).

Any idea at how I can edit MediaWiki:Sidebar with the sysop user without having to add manually the internaledit option on the url ?

—87.244.158.8 21:05, 9 December 2007 (UTC)

Desktop Enabling
Hello all. I desktop-enabled my site on my computer but my idea is to make all links inside it open inside the same desktop-enabled window. Which they don't. They open in new windows. Any idea on how to fix this? Thank you. -SupervladiTM 07:06, 10 December 2007 (UTC)

Sometimes Wiki pages open and sometimes not
Hi,

Can someone please help me with this as sometimes a few pages of my MediaWiki opens and sometimes not. I made a small change in DefaultSettings file but then reversed the change as it was before and since then it is happening like this. Please help me with this. If you want please send me an email reply at bilal336@yahoo.com.

Thanks,

Bilal —67.69.129.106 15:48, 11 December 2007 (UTC)


 * Please give a link to your wiki, display the parts of defaultsettings you changed using:


 * And what do you mean "open" what happens if they don't "open"? -PatPeter 00:51, 16 December 2007 (UTC)

How to remove edit button for non-logged in users
Hi, how should I write .editsection { display: none } to MediaWiki:Common.css article for ONLY non-logged in users. The purpose is to make the page layout cleaner for users who just want to read. &mdash; 60.53.26.80 17:56, 11 December 2007 (UTC)


 * See Manual:Preventing access --Flominator 18:35, 11 December 2007 (UTC)

Thanks Flominator for trying to answer my query: Actually I have done that. Now, I would lilke to remove the word "Edit" from each section so that the pages looks neat. As it is, response from Malay language writers are particularly poor so I will concentrate more on readers instead, eg. how to make the page look more appealing for them to read. &mdash; PM Poon 21:38, 12 December 2007 (UTC)

You mean:

? Put that at the top of your page and the edit sections will disappear. PatPeter 02:41, 13 December 2007 (UTC)

Thanks, PatPeter. With Nad's assistance, I have managed to reduce the row of tabs at the top of the page for non-logged-in users. Now I want to remove the section edit buttons for non-logged-in users. Putting would apply also to those who sign in. My intention is to reduce clutters for those who just want to read. In other words, I want the page to look neat like non-wiki pages for non-contributors. &mdash; PM Poon 10:07, 13 December 2007 (UTC)


 * There's a possibility of changing usergroup permissions or viewing to make noeditseciton only displayed how you want it. -PatPeter 23:19, 15 December 2007 (UTC)


 * I had a similar issue on a test wiki I'm working on. I set it up so that the editing links and stuff are missing from the default skin {display: none;}, and created a separate skin for people with editing privileges where the links were visible. It's a long way around, I guess, but it seems to work pretty good. -Barista 13:46, 17 December 2007 (UTC)

Printing interwiki links
How can I print interwiki links (and maybe "normal" wiki links as well) the way external links are printed? Thanks, —Flominator 18:03, 11 December 2007 (UTC)

Thumbnail Size
At the image's page the size of thumbnail of the image is a per user setting ($maxWidth and $maxHeight). I wasn't able to set these two variables for a not-logged-in user (anonymous).

I changed in ImagePage.php: if ( $width > $maxWidth || $height > $maxHeight ) to if ( $width > 10000 || $height > 10000 ) as workaround.

Where can I set $maxWidth and $maxHeight for anonymous?

141.76.45.34 10:57, 12 December 2007 (UTC)

sorting all articles
The article links at the all articles page are sorted in a horizontal manner.

a1 a2 a3

b1 b2 b3

c1 c2 c3

Is it possible to sort them vertically?

a1 b1 c1

a2 b2 c2

a3 b3 c3

141.76.45.35 11:42, 12 December 2007 (UTC)


 * You have to edit the actual  in your /includes/ in the system files of the wiki. -PatPeter 02:46, 16 December 2007 (UTC)

Move whole media wiki down 90 pixels
MediaWiki: 1.11.0 PHP: 5.2.0 (apache2handler) MySQL: 5.0.27-standard Hello, I would like to add a graphic/link at the top of the all the pages. I basically need to move the whole wiki down 90 pixels. I have had some luck, but am having problems with different browsers rendering the page differently. The particular problem seems to be with keeping cactions in the right location with respect to the body. I have checked the forums, and used the mediawiki book. I am particularly trying to change MonoBook. Thank you for any help you may be able to provide.

—Wazoo42 16:20, 12 December 2007 (UTC)


 * So you want to add something similar to the Fund raising template that Wikipedia has now? -PatPeter 02:47, 16 December 2007 (UTC)


 * Messing around with MonoBook, under #p-cactions I changed top to 105px and under body, I changed margin: 0; to margin-top: 90px; I only checked it with Mozilla, though. Monobook has a lot of those *Fixes.css sheets. I'm not generally fond of the idea of separate stylesheets for different browsers, but you might want to tinker with them. -Barista 14:06, 17 December 2007 (UTC)

Adding custom header to top of page
Hi folks! I'm a php and wiki newbie. I just installed this wiki. I want to put my own header at the absolute top of all wiki pages, before any of the wiki stuff. This header consists of a few buttons and a login box for my site. The code is a number of php functions for database access etc, and finally a simple table containing the buttons and login box. It should all be inside the tag part of the page. Where in all the wiki files should I put this code? Please advice, I'm a bit lost here. Wiki, PHP, MySQL and Apache are all the latest versions as of today. - Nebol —213.67.2.154 23:39, 12 December 2007 (UTC)
 * Try editing MediaWiki:Sitenotice at your wiki --Flominator 09:47, 13 December 2007 (UTC)

Hm.. it doesn't seem to be quite what I'm looking for, Sitenotice displays a text message as part of the page, right? I need to output php and html code, and before any of the wiki stuff, it should look like this: http://www.nebol.se/temp/wiki_bar.gif - Nebol


 * You can mess around with the style sheet to move stuff down. For your header, you should include the code for it in the MonoBook.php file in the skins directory. I strongly suggest making copies of the original MonoBook.php before making any changes. A better bet is to just start a new skin based on MonoBook and tinker with that, while leaving the original MonoBook as it is. Caveat emptor - Let the buyer beware (Your mileage may vary). -Barista 14:19, 17 December 2007 (UTC)

Ok I've put in my code after the tag in MonoBook.php and I now see my little bar at the top of the page. But the MediaWiki buttons and text have not moved down accordingly but stays at the top of the page, thus partly overwrites/overlays my button bar. Why is that? Do I really have to hardcode the number of pixels to move the wiki page down?? It seems.. wrong, the browser should handle that part of the layout. My bar consists of a table cell and a number of buttons; if I reduce the width of the browser window, the button row automatically splits up and the buttons are displayed in two rows instead of one, increasing the height of the button bar to compensate for the loss of width. How can I handle that in MonoBook.php if the exakt pixel positions of the wiki elements are hardcoded? - Nebol

Get current namespace
Okay. The replies I received here were helpful, but there's just one thing I can't figure out. How can I find the namespace (name or number) of the current page from within LocalSettings.php? $wgTitle->namespace (as suggested) and $wgTitle->getNamespace does not work (it gives a fatal error about calling a member function on a non-object).—99.236.141.81 18:49, 13 December 2007 (UTC)


 * You are using the wrong command, that one doesn't even exist I believe, this is what my extra namespaces look like:

$wgExtraNamespaces = array(110 => "Portal", 120 => "Portal_talk", 130 => "Technical", 140 => "Technical_talk", 150 => "WikiProject", 160 => "WikiProject_talk", 170 => "History", 180 => "History_talk", 190 => "Manual", 200 => "Manual_talk", 210 => "Extension", 220 => "Extension_talk", 230 => "Map", 240 => "Map_talk", 250 => "Server", 260 => "Server_talk", 270 => "Modification", 280 => "Modification_talk", 290 => "Mutator", 300 => "Mutator_talk", 310 => "Unit", 320 => "Unit_talk", 330 => "Clan", 340 => "Clan_talk", 350 => "Term", 360 => "Term_talk", 370 => "Tactic", 380 => "Tactic_talk", 390 => "Weapon", 400 => "Weapon_talk", 410 => "Tank", 420 => "Tank_talk", 430 => "Role", 440 => "Role_talk", 450 => "Player", 460 => "Player_talk");

-PatPeter 19:26, 13 December 2007 (UTC)
 * No, I'm trying to retrieve the namespace of the current page, not create extra namespaces. And I'm trying to do it from within the PHP rather than from the wiki or the css. Someone suggested $wgTitle->namespace, which didn't work, and I discovered $wgTitle->getNamespace being used in Skin.php. —99.236.141.81 20:13, 13 December 2007 (UTC)


 * Your question is very unclear. All info on namespaces you are looking for can be found here, in the case you want to know where your custom namespaces are then just look it up, that is why I posted that you can check your name and numbers that way. -PatPeter 04:39, 14 December 2007 (UTC)


 * Basically I want the PHP equivalent of the wikicode . The namespace page does not include this information. I'm trying to vary the copyright logo based on the namespace, so I need to be able to check which namespace the current page is on. —99.236.141.81 21:26, 14 December 2007 (UTC)


 * What "namespace page" do you mean? And what copyright logo are you trying to vary and why based on the namespace? -PatPeter 02:37, 16 December 2007 (UTC)
 * So I can have a different copyright for each namespace. I'm referring to the logo in the bottom left corner of the wiki. I determine how I should be able to do it, but I just can't figure out how to check the namespace from the PHP. I know how to check it from the CSS and from the wiki, but not from the PHP. Do you know a variable/command that will tell me the namespace of the current page? Nad suggested $wgTitle->namespace, which didn't work. I also tried $wgTitle->getNamespace, because I found it used in Skin.php. It also didn't work. I'm using version 1.11. Any other ideas?—99.236.141.81 15:13, 16 December 2007 (UTC)
 * I've figured out why this doesn't work. LocalSettings.php is included before $wgTitle is defined. I managed to get it to work by putting it in the extensions folder as a ParserAfterTidy hook. I'm not sure that's the best hook to use, since I basically just followed the example of EditSectionIcon, but it works. —99.236.141.81 17:40, 20 December 2007 (UTC)

Is it able to force one skin, so that users cannot select antother skin?
MediaWiki: (1.11.0)

PHP: (5.2.4)

MySQL: (5.0.45)

Database: (Your version)

URL: [LINK Title]

Hi!

I want to force one skin so that all users have to use the same skin! monobook! Can I do that? And how can i remove the "powered by mediawiki" icon?

—chris


 * Well, the easiest way would be to disable all the other skins by moving them into a subfolder. Then your skins folder would have just the monobook folder, MonoBook.php, MonoBook.deps.php, and a folder containing everything else. However, I really don't see the point of this. It would no doubt annoy some people if they couldn't change the skin. As for removing the "Powered by" icon, I remember seeing that somewhere. Try searching through the support archives or the manual.—99.236.141.81 20:27, 13 December 2007 (UTC)


 * Another way is to add $wgSkipSkins = array('chick', 'cologneblue', ...); to your LocalSettings.php file. Doing this leaves the skins where they are, but won't show them to the users. -Barista 14:38, 17 December 2007 (UTC)


 * "powered by...": check /includes/Skin.php :

function getPoweredBy { global $wgStylePath; $url = htmlspecialchars( "$wgStylePath/common/images/poweredby_mediawiki_88x31.png" ); $img = '<a href="http://www.mediawiki.org/"><img src="'.$url.'" alt="Powered by MediaWiki" /></a>'; return $img; }

where $wgStylePath is probably your /skins folder. Hillgentleman 00:43, 14 December 2007 (UTC)


 * Isn't it illegal not to credit MediaWiki for their work? Especially using their software? -PatPeter 04:37, 14 December 2007 (UTC)


 * Many thanks for your help! @PatPeter: I dont think so, because this is one of the faq`s! I have tried to do it, like it is described there, but it dont works! -chris


 * It worked for me. I switched the poweredby....png to redirectltr.png, and the icon changed. Hillgentleman 08:25, 14 December 2007 (UTC)
 * There is an easier way to get rid of it. Remove or comment out the following lines in MonoBook.php:

<?php if($this->data['poweredbyico']) { ?> <?php $this->html('poweredbyico') ?>
 * You'll also need to get rid of the closing brace on the following line, I assume. Use Hillgentleman's method if you want to replace the image with another. Oh, and I neglected to say in my comment above that you also need to keep the "common" folder directly in the skins folder. —99.236.141.81 05:03, 15 December 2007 (UTC)

Create An Account or login - By Email does not work
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

Hello, we have a wiki and users go to the Create an Account or login page then enter a name and a password and hit by email.

The next page does not parse the email correctly the next page says:

Password sent. From wiki The password for 'test' has been sent to @mydomain.com.

Return to Main Page.

As you can see if doesnt parse the email correctly and nothing ever gets sent. Has anyone ran into this before?

Thanks in advance. —198.74.38.59 20:19, 13 December 2007 (UTC)

Export import problem

 * Source wiki
 * MediaWiki: 1.6.10
 * PHP: 4.4.4-8+etch4 (apache2handler)
 * MySQL: 4.1.11-Debian_4sarge7-log
 * Destination wiki
 * MediaWiki: 1.10.2
 * PHP: 5.2.0-8+etch7 (cgi-fcgi)
 * MySQL: 4.1.11-Debian_4sarge7-log

Having some trouble importing a large number of articles from an older wiki into a newer wiki. I'm using the Special:Export and Special:Import pages to do this. The exported XML files looks OK but is bigish (4MB). The error is: Upload of import file failed; perhaps the file is bigger than the allowed upload size. phpinfo tells me the upload file size is set to 16M and uploads are on. Can anyone suggest a solution? —Rob 02:48, 14 December 2007 (UTC)
 * It looks like the size is an issue as imports of only a few articles appear to work. The main import is 358 articles. --Rob 02:58, 14 December 2007 (UTC)

Desktop Enabling
Hello all. I desktop-enabled my site on my computer but my idea is to make all links inside it open inside the same desktop-enabled window. Which they don't. They open in new windows. Any idea on how to fix this? Thank you. -SupervladiTM 07:03, 14 December 2007 (UTC)

How to make a alphabetical list of sites?
MediaWiki: (1.11.0)

Hi!

How can i make a alphabetical list of linked sites! Such as

Many thanks for your help —Bpczi 11:56, 14 December 2007 (UTC)

Background image on pages?
I'm designing a page layout template for members of a wiki I admin to use for their user page and other pages that they create. I'd like to be able to use an image for backgrounds in this template. How can I accomplish this?

Extension:ConfirmAccount $wgRejectedAccountMaxAge doesnt work!
MediaWiki: (1.11.0)

Hi!

I am using the extension ConfirmAccount and the variable definition of $wgRejectedAccountMaxAge dont works! Isnt it so, that the value of this parameter defines how long rejected request will be kept? I have defined it in the SpecialConfirmAccount.php. $wgRejectedAccountMaxAge = 1 * 24 * 3600; But in the Special:ConfirmAccount there are rejected requests which are older than one day?!

Please help!

Many thanks! —Bpczi 14:54, 14 December 2007 (UTC)

Header and Footer Template
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

Sorry for my english.... my question is: How can I redesign the header and the footer of the newest german wikimedia version? I could not find any header or footer template. How can I do this?

Thanks for Information

Jan


 * What do you mean header and footer? You mean in the skin? Or a fund raising template like on Wikipedia? -PatPeter, MedaiWiki Support Team  18:43, 17 December 2007 (UTC)

Automatically undoing everything a vandalist has done
If a vandalist has written in dozens of articles, can an admin block its user and also automatically undo the relevant changes in dozens of articles? In other words, can blocking be retroactive?

If not, it's a huge issue. Imagine if you have even just 10 such vandalists. You'd have to manually revert hundreds (not to mention thousands) of articles! I know it's easier to revert for an admin, but it's still not feasible.

—79.176.153.180 17:51, 15 December 2007 (UTC)


 * If you look at the vandle's contributions there is a button for each edit called "rollback." Hold down shift when you click on it and it will do it in a new window.  100 clicks to do 100 reverts. Not so hard.  also, if the vandel makes a bunch of pages you can use Extension:Nuke. J.smith 18:38, 15 December 2007 (UTC)


 * Nevertheless, why not just allow block + revert in 1 click instead of 100? -79.178.93.100 23:09, 15 December 2007 (UTC)

Not differentiate capital letter and lower-case in the serch and the internal links
MediaWiki: 1.9.3

PHP: 5.1.6 (apache2handler)

MySQL: 5.0.24a-Debian_9ubuntu0.1-log

Database:

URL:

How can I not distinguish capital letter and lower-case in the search and the internal links? But not change the titles of articules.—Ganon 21:06, 15 December 2007 (UTC)

Based on your spelling I am guessing that that is probably the problem and not capitals, because if you spell a two-word title right and use capitals instead of lower-case then it should still pick up in the search. -PatPeter, MedaiWiki Support Team  03:36, 16 December 2007 (UTC)

MediaWiki Web Installation: Creating Tables....FAILED
MediaWiki: 1.11.0

PHP: 5.1.4

PostgreSQL: 8.2.5

Database: Apache 2.0.59

URL: [LINK Title]

I'm trying to setup MediaWiki on my Leopard box, and I always receive the following error message when running the config/install script (config/index.php):

MediaWiki 1.11.0 Installation

Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment...

Please include all of the lines below when reporting installation problems. PHP 5.1.4 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. PHP's memory_limit is 16M. Attempting to raise limit to 20M... ok. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. Found GNU diff3: /usr/bin/diff3. Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. Found GD graphics library built-in. Installation directory: /Volumes/Data/www/MediaWiki Script URI path: /MediaWiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Generating configuration file...

Database type: PostgreSQL Loading class: DatabasePostgres Attempting to connect to database "postgres" as superuser "postgres"... Checking the version of Postgres...version 8.2 is OK. User "MHMediaWiki" already exists, skipping account creation. Database "MHMediaWiki" already exists, skipping database creation. Connecting to "MHMediaWiki" as superuser "postgres" to check rights...OK Checking that tsearch2 is installed in the database "MHMediaWiki"...OK Ensuring that user "MHMediaWiki" has select rights on the tsearch2 tables...OK Schema already exists, explicitly granting rights... OK Attempting to connect to database "MHMediaWiki" as "MHMediaWiki"... Checking the version of Postgres...version 8.2 is OK. Checking for tsearch2 in the schema "public"...OK Checking tsearch2 permissions...OK Verifying tsearch2 locale with de_AT.UTF-8...OK Checking for Pl/Pgsql ...OK Schema "MHMediaWiki" exists and is owned by "MHMediaWiki". Excellent. Setting the timezone to GMT for user "MHMediaWiki" ...OK Setting the datestyle to ISO, YMD for user "MHMediaWiki" ...OK Setting the search path for user "MHMediaWiki" ...OK Connected to PostgreSQL 8.2.5 on powerpc-apple-darwin9.1.0, compiled by GCC powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) Creating tables...FAILED. Make sure that the user "MHMediaWiki" can write to the schema "MHMediaWiki"

Funny thing is, when using any PostgreSQL GUI I can create tables, indexes, etc. successfully. —86.33.85.61 22:43, 15 December 2007 (UTC)

Cannot upload images

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

Whenever I try to upload an image on Mozilla Firefox it asks me if I want to open or download, how do I stop it from doing this so I can upload images?

—-PatPeter 02:59, 16 December 2007 (UTC)

PHP dynamic display
MediaWiki: 1.10.2

PHP: 5.2.2 (cgi)

MySQL: 4.1.22-standard

I was wondering...if I have a PHP file that is being updated dynamically, and wanted to display current results (mainly statistics the PHP program would calculate, but some other stuff too), how would I go about doing this?

To elabore: Say a page is created with some static information filled out. In an certain area, like a table, the results of the PHP file would be displayed.

Thanks.

—Caedas 04:55, 16 December 2007 (UTC)


 * Write an extension - specifically, tag extensions are just php code that generate html to be included in the page. -- Duesentrieb ⇌ 15:06, 17 December 2007 (UTC)

Rendering of too-complex pages breaks: How to fix?
MediaWiki: (Your version) http://www.mediawiki.org/w/index.php?title=Project:Support_desk&action=edit&section=78 Editing Project:Support desk (section) - MediaWiki PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

(How does one find out the MediaWiki/PHP/MySQL/Database versions?)

On the French Wiktionary, we make heavy use of sometimes fairly complex templates. The rendering of some pages currently breaks (e.g. : in the "Traductions" box), the key symptom being that templates suddenly stop being resolved (in the example, this shows as "Modèle:trad" strings). We know this has someething to do with the complexity or size of the page, but in order to fix this, we need to know exactly what is the cause. Is it the gross size of the page (number of bytes "sucked in", excluding the &lt;noinclude> bits?), the number of template calls (counting recursions, if any), or something else?

—Urhixidur 18:00, 16 December 2007 (UTC)


 * You can find out your MediaWiki, PHP, and MySQL from Special:Version, as to your type of database I don't know. -PatPeter, MedaiWiki Support Team  02:50, 17 December 2007 (UTC)


 * I don't read French that well, but it looks like the templates -verb-|fr, -drv- and -trad- are each being called twice. My guess is that one of the templates is calling something it shouldn't. one or more of the templates is broken. -Barista 14:31, 19 December 2007 (UTC)


 * Actually, the templates are all fine, it's just that there are either too many raw template calls (including sub-calls), or too many bytes of page to process once all the calls are resolved. The page just stops processing template calls midway through. We need to know which of these two cases (number of calls or total number of bytes invoked) matters before we can correct the situation. Is the mediawiki limitation expressed in terms of number of template calls and sub-calls, or in terms of total bytes to process?
 * The key culprit is the trad template, which is called repeatedly within the translation tables. As for -verb-, -drv-, and -trad-, they do appear twice, because there are two major meanings for the word. Multiple calls of this sort work just fine in other contexts. Urhixidur 20:53, 20 December 2007 (UTC)

ParserFunctions extension does not work

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

Where?

—-PatPeter, MedaiWiki Support Team  04:02, 17 December 2007 (UTC)
 * I assume you mean the ParserFunctions extension, it is currently downloadable from Meta:Help:ParserFunctions --Zven 04:42, 17 December 2007 (UTC)


 * Thank you, the page was so big I couldn't find the installation files. -PatPeter, MedaiWiki Support Team  17:57, 17 December 2007 (UTC)


 * Just as the changed title says. -PatPeter, MediaWiki Support Team  04:22, 22 December 2007 (UTC)

Upload Error
MediaWiki: 1.11.0

PHP: (Ubuntu) PHP/5.1.6

MySQL: mysql Ver 14.12 Distrib 5.0.24a, for pc-linux-gnu (i486) using readline 5.1

Hello,

I use a MediaWiki as a Documentation Wiki for my development projekts. I will upload some script files in the wiki, but i ever get the Error:

Hochladen Warnung Diese Datei enthält HTML- oder Scriptcode, der irrtümlich von einem Webbrowser ausgeführt werden könnte.

in the LocalSettings.php have I set the following vars:

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'xls', 'pdf', 'tiff', 'doc', 'txt', 'htm', 'html', 'php', 'js', 'exe' ); $wgVerifyMimeType = false; $wgCheckFileExtensions = false; $wgStrictFileExtensions = false;

what's wrong?

--62.206.50.133 12:46, 17 December 2007 (UTC)


 * Some file types are explictly blacklisted, becasue they are very dangerous to upload - this includes PHP (they would be executed by the webserver when you request them!), HTML and JS (because of the possibility of cross site scripting), and also exe files (because of a high virus potential). Also, all files that only somehow look like they might contain some form of html code, javascript, php, or shell script, are requected by a hard-coded security check. See Manual:Mime_type_detection for more information -- Duesentrieb ⇌ 15:00, 17 December 2007 (UTC)

Hiding some categorizations?
MediaWiki: 1.12alpha (r28384)

PHP: 5.1.4 (apache)

MySQL: 4.0.26-max-log

Database: ???

Under Help talk:Categories, User:HappyDog mentioned a CSS trick for hiding the display of categories. I'm wondering about a variation on this theme: Can one prevent specific categories from being displayed within a specific page?

A bit of context: This issue arose on the French Wiktionary, where the translation template (used to specify the translations of a French word into another language) categorises the page where it appears under various categories such as "Category:Translations into English", etc. The category pages thus created are very helpful in enriching the vocabulary for the target languages, as translations into that language will usually be far more numerous than Wiktionary entries for those same words. However, the typical Wiktionary word page's listing of categories quickly becomes very cumbersome and hides more relevant categories in the resulting clutter (e.g. "huit", where 24 of the 28 categories are translation ones). I was hoping there existed a means for the template to categorise the page whilst at the same time preventing the display of this categorisation (using a magic word similar to DEFAULTSORT, maybe).

I looked into using the "backlinks trick", which would indeed solve the display problem, but since there is apparently no way to sort the resulting list of backlinks, it makes the pseudo-category listing nearly useless.

Any solutions? Or should this be a feature request?

—Urhixidur 18:44, 18 December 2007 (UTC)
 * It is possible to manipulate the catlinks rendering without hacking any files. See the extendCatLinks method in OrganicDesign:Extension:Workflow.php which adds extra information into the catlinks area --Nad 20:40, 19 December 2007 (UTC)


 * So a similar php could be used to hide the unwanted category listings from any and all pages in the main namespace? Cool! Can someone with the technical know-how write the necessary code and/or tell the fr.wiktionary.org powers-that-be how to install it? Urhixidur 20:57, 20 December 2007 (UTC)


 * I could do a quick extension for that if you like, but it's around an hour's work so some $ would help which can be done through the OrganicDesign wiki on the sidebar. Would you just want to make all cats starting with "Traductions" be globally removed from the catlinks area, or just for some pages? --Nad 20:15, 24 December 2007 (UTC)

Page Protection Not Working
Version: 1.11.0

Whenever I try to make it so a page can only be edited by Sysops, anyone can still edit the page. Why?

I tried setting an expiry time of "1 Year" but in the Recent Changes field, the expiry time is always the current date and time I am viewing the page.

—68.82.139.31 00:48, 19 December 2007 (UTC)


 * You have to enter the dates in code which I think is like this. As for page protection you might find an answer at Manual:Preventing access. -PatPeter, MediaWiki Support Team  19:55, 24 December 2007 (UTC)

Table of Contents and Extension Code
Hello,

To start, I am running MediaWiki 1.10.0, PHP 5.0.5, and MySQL 4.1.20 (Special:Version). I was wondering if there was any way to modify the table of contents of a page via extension code. See, for example, Rikkukin the Defender; toward the bottom, below #Strategies and above #External Links, there are some headers that are output by parser extension tags. I was wondering if there is any way, via the code behind these parser tags, to add them to the table of contents.

It's also worth noting that, while I'd rather avoid it if possible, I'm not totally against hacking this feature into the core code; I'd just need to be pointed to the right place in the code. My best guess was to hack it into Parser::formatHeadings, but couldn't seem to get anything working from there.

Thanks in advance for your time ;)

71.225.221.85 03:20, 25 December 2007 (UTC)
 * If you used a parser-function instead of a tag-hook then it can output headings as normal wikitext == style which will then be included in the TOC --Nad 06:50, 25 December 2007 (UTC)

Skinning/Config help
Is there a skin that will not show the "edit", "discussion" or "history" tabs for MediaWiki? Can this easily be done for the default skin? I am a complete newbie at wikis and need some help with this.

My primary goals are:
 * Remove edit tab for everyone but admin
 * Remove discussion tab for everyone but admin
 * Remove history tab for everyone but admin
 * Disable accounts for everyone but admin

—76.177.220.3 22:36, 25 December 2007 (UTC)


 * All that stuff is done from $wgGroupPermissions not skin, see also Manual:Preventing access --Nad 22:56, 25 December 2007 (UTC)


 * Yeah and if you disable all accounts other than admin, no one else will be able to view the wiki, no one will be able to make accounts on the wiki, basically you are completely destroying the purpose of the wiki. Just go sign up for http://www.freeforums.org/ -PatPeter, MediaWiki Support Team  03:25, 26 December 2007 (UTC)


 * Why create the limitation that a wiki should only be used in a completely public way just because that's how they were originally designed? if you want to lock it down for your own use or for your organisations private data then go for it! --Nad 20:06, 26 December 2007 (UTC)


 * I wasn't criticizing his overall use of the wiki but rather that those settings will disallow any new users to be made. -PatPeter, MediaWiki Support Team  01:32, 29 December 2007 (UTC)

Usergroups

 * MediaWiki: (Reported by your Wiki's Special:Version page) 1.10.1
 * PHP: 5.2.3 (cgi-fcgi)
 * MySQL: 5.0.24a-standard-log
 * Database:
 * URL: wiki.sakasolutions.com

How can i add new groups to the wiki. so that( my office) group which have access to some pages and other cannot see the pages like our office users can only access there things.

—Mravibsp 09:31, 27 December 2007 (UTC)


 * I think you have to create different namespace for those pages and read this: Extension:NamespacePermissions --89.175.73.253 14:05, 27 December 2007 (UTC)


 * Or Manual:Usergroups. 172.166.222.171 23:52, 27 December 2007 (UTC)

Problem with a search
Hello. I have a problem with a search: how to force it search for all word forms in russian? For example, search for "товарный" also returns "товарного", "товарным", etc. Is it possible? I have read about Lucene search, but could not understand whether it will help or not? If yes, how to compile it under Windows?
 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (apache2handler)
 * MySQL: 5.0.21-community-nt


 * Try adding the other declensions or conjugations in Infoboxes on the pages, then again it depends what you are using your wiki for, what are you using your wiki for? -PatPeter, MediaWiki Support Team  01:34, 29 December 2007 (UTC)

Using variables in templates

 * MediaWiki: 1.11.0rc1
 * PHP: 5.1.6 (apache2filter)
 * MySQL: 4.1.20
 * Database: ?
 * URL: http://en.wiki-products.org

I am trying to create a template which includes the variable "PAGENAME". This variable should not display the pagename of the template but of the page to which the template is applied. For Example: I have this template-based page ( http://en.wiki-products.org/Audi_A4_TDI_e ) and would like to include an automatically generated variable which displays "Audi_A4_TDI_e" Is that possible? —Gollum 16:56, 27 December 2007 (UTC)
 * That is the way PAGENAME already works, it returns the name of the currently requested title regardless of whether or not its being transcluded. --Nad 18:56, 27 December 2007 (UTC)
 * Sorry, I did not formulate the question properly: I use a template "car" to generate the pages "Audi", "Ford", "Toyota" etc. Using the variable "PAGENAME" within the template works fine and displays the individual pagenames on each page. Now I created a page "Comparison" using DPL to retrieve some of the parameters from the pages "Audi", "Ford", etc., one of them being the pagename. The problem now is that it does not get the pagename but the variable "PAGENAME" and thus puts the the pagename of "Comparison" instead of "Audi", "Ford" etc. I tried then to place "subst:PAGENAME" into the template but this then sets the pagename of the template. So the question is: Is it possible to write a template which places a "substitution variable" on the page to which it is applied? I hope this makes sense to you. My best, --Gollum 12:38, 28 December 2007 (UTC)

Installation Error

 * MediaWiki: Current
 * PHP: 5.2.4
 * MySQL: 5.0.45
 * Database:
 * Apache: 1.3.39 (Unix)
 * URL: www.abilitymultimedia.co/MediaWiki

After a "successful" installation, this is the error I get when I try to access the index.php page.

Warning: require(/home/abilitym/public_html/MediaWiki/includes/JobQueue.php) [function.require]: failed to open stream: No such file or directory in /home/abilitym/public_html/MediaWiki/includes/AutoLoader.php on line 302 Fatal error: require [function.require]: Failed opening required '/home/abilitym/public_html/MediaWiki/includes/JobQueue.php' (include_path='/home/abilitym/public_html/MediaWiki:/home/abilitym/public_html/MediaWiki/includes:/home/abilitym/public_html/MediaWiki/languages:.:/usr/local/lib/php') in /home/abilitym/public_html/MediaWiki/includes/AutoLoader.php on line 302

—76.27.200.155 00:45, 28 December 2007 (UTC)
 * It's saying the JobQueue.php is missing from the includes dir - check if it's there and readable, and if not, replace that file or try unpacking the codebase files again. --Nad 03:19, 28 December 2007 (UTC)