Project:Support desk/Sections/System

__NEWSECTIONLINK__

= MediaWiki System Support =

IIS7 Installation and International characters in URL bug

 * When diacritics is used in url after installation on IIS7 (tested 1.13.2 and 1.15.1, PHP 5.2.9) WIN28K, and semicolon is used, server throws an error and in URL is xn-- (yes and server throws HTTP Error 404.0 - Not Found), example:
 * original: http://localhost/index.php?title=á:á
 * when entered: http://localhost/index.xn--php?title=-14a:%C3%A1 This is fundamental problem especially when custom namespaces with accent characters are used.
 * This critical bug is not present on Apache.

edit links for Protected page are not showing with api

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.77
 * URL (Local Server)

Hi, All I'm trying to parse a page which need login condition to edit. I successfully logged in the mediawiki via api. An d try to open a protected page with following link, $h=@fopen("http://path/to/mediawiki/api.php?action=parse&page=".$pagename."&format=xml", "r"); But the output have not any edit link.

404 for non-logged in users

 * MediaWiki	1.15.1 (r59167)
 * PHP	5.2.10 (cgi-fcgi)
 * MySQL	5.0.51a-community-nt
 * URL: (private network)
 * Win2k/IIS5 (using php5isapi.dll)

Many links result in a 404 error, if the user tries to navigate as a non-logged in user. As soon as they log in, everything is then fine...

Resolved: 404 when using short url

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi-fcgi)
 * MySQL: 5.0.67.d7-ourdelta-log
 * URL: www.jainkosh.org

Hello, I have been trying to use short url for my wiki by following instructions at http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access but could not achieve the results. My server is Apache and my wiki is saved at htdocs\Mediawiki. I have tried saving the .htaccess file in htdocs\Mediawiki, htdocs\, htdocs\sample_html, htdocs\Mediawiki\sample_html, but it didn't work. Whenever I tried to go to www.jainkosh.org/wiki/Main_Page, it throws error 404, page not found. This is what I have put in my .htaccess file:

RewriteEngine On RewriteRule ^wiki/(.*)$ /Mediawiki/index.php?title=$1 [PT,L,QSA] RewriteRule ^wiki/*$ /Mediawiki/index.php [L,QSA] RewriteRule ^/*$ /Mediawiki/index.php [L,QSA]

Can you please help me in getting this working?

Thanks a lot, Vikas

I tried the same settings on Godaddy.com server and it worked fine there. Somehow on my localhost it didn't work and was giving 404. Works great on the godaddy server.

(Resolved) Error 404 Page Not Found - MediaWiki Install on IIS 6.0, PHP, Windows 2003, FastCGI
I had some trouble resolving the error 404 Page Not Found Resolution IIS virtual directory configuration: On Home Directory tab, click on Configuration and add Application Extension Mapping for php. The entry must be ".php" and "C:\WINDOWS\system32\inetsrv\fcgiext.dll" for FastCGI, otherwise use c:\php\php5isapi.dll. My version of fcgiext.ini had incorrect [Types] section... Should be (verify php path on your install) [Types] php=PHP

[PHP] ExePath=C:\PHP\php-cgi.exe InstanceMaxRequests=10000 ActivityTimeout=600 RequestTimeout=600 EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000,PHPRC:C:\PHP\

Also, http://blog.tjitjing.com/index.php/2006/05/php5-with-iis6-on-windows-server-2003.html was very helpful.

Signatures don't work properly on 1.15.1
Also asked here: http://en.wikipedia.org/wiki/Wikipedia_talk:Signatures#Invalid_links_in_signatures_-_MediaWiki_1.15.1.

I just realized that ~ is creating links to SomeUserName and not User:SomeUserName. Is this a known MediaWiki bug? Is there a fix and/or workaround?


 * HELP! Anyone?

Something similar to early WikiWords?
Hey, I'm setting up a wiki right now and i need to know if it is possible to create variables/functions for strings in wiki articles and pages?
 * MediaWiki: 1.14.0

e.g. wikipage Some text on the page And even more text. So now i know for sure that ppl at my company filling the wiki will miss to add links to other pages from time to time. I just want to make sure that the links to other pages that exist will be created. So i need to know if it's possible (maybe using MagicWords) if i set the string text as a variable for the function text. I have no idea how to do that and if it is even possible :).

TOC/Numbered List Formatting Bug

 * MediaWiki version: 1.12.0 and 1.15.1
 * PHP version: 5.1.6 (apache2handler)
 * MySQL version: 5.0.27
 * URL: http://wiki.electronicvisions.com/index.php/Formatbug

There is a formatting bug when a left aligned TOC has a numbered list to its right. The indentations don't appear to occur and the numbers themselves are located within the TOC box.

I tried upgrading to 1.15.1 to see if it had been fixed but it looked the same. (I then went back to 1.12.0 because I was having trouble convincing 1.15.1 to allow page edits, but that's likely my issue)

Here's the simple code that my example page uses to test it:

Special notice text

Sample Section Heading

 * First item in an indented, numbered list
 * Second item in an indented, numbered list
 * Third item in an indented, numbered list

Another Sample Heading
Blah, blah, blah

(Resolved) Change the name of the "Administrator" or "Bureaucrat" groups?

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.27-Debian_0.dotdeb.1
 * URL:

This is a fairly general question: on my wiki, I'd like to change the "Administrators" group to read "Sysops". I've found MediaWiki:Grouppage-sysop, which changes the page that is linked to, but this still leaves the links in Special:UserRights and Special:ListUsers reading "Administrators". Is there a way to change this text?

—99.51.212.208 23:17, 10 March 2010 (UTC)


 * I've found it; it's Mediawiki:group-sysop and Mediawiki:group-sysop-member. 99.51.212.208 11:05, 13 March 2010 (UTC)

Cascade protection doesn't function
Cascade protection doesn't function.
 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

—200.63.164.84 13:38, 16 March 2010 (UTC) Applying the cascade protection only apply in the actual page and not in the recursive pages.

"500 Internal Server Error" when adding external links

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4 (apache2handler)
 * MySQL version: 4.1.15
 * URL: jdp.jongerendienstgouda.nl/wiki (protected)

When I edit a page, and try to add in an external link, something goes wrong. When I try to preview the page, or save it, the browser returns a 500 Internal Server Error. I can easily go back and remove the link, and I can then preview or save the page.

—145.94.175.87 10:21, 18 March 2010 (UTC)

Running a mediawiki farm

 * MediaWiki version: 1.15 (but any, really)
 * PHP version: any
 * MySQL version: any
 * URL:

People running MediaWiki farms have a very hard time finding support for doing so. Wikimedia doesn't seem to publish the scripts it uses on the backend to generate new language-instances of an existing Project, or the bots used to help maintain active Projects, or other interfaces or tools used to maintain and monitor a collection of MW instances.


 * How to host a set of language-variations for a single wiki
 * How to host localizations for a custom MW instance so that localized interface strings are shared across all such wikis
 * Scripts used to generate a new language instance.
 * Scripts used to clone the above process to host multiple language instances of a new Project
 * None of the 6 different methods listed on MediaWiki:Wiki family are obviously the 'right' way to do it... and commenters say that the guidelines aren't complete for any of the 6.
 * How to keep vandalism at bay for a farm of wikis
 * Scripts to counter common vandalism
 * Vandal-fighting scripts to monitor recentchanegs and otherwise provide semi-automated human-run change patrolling.
 * The combination of irc channels, live rc feeds, and client-side visualizations used by modern Wikipedia and SWMT monitors

There is surely more; people with these issues don't currently have a place to come discuss them, and mw.org hasn't clearly been a place to do so to date. [on the other hand, so many people are running mw and trying some of these things... if we more actively encouraged such discussions, or reviews of extensions rather than just a place to list them, we might have a better-connected extension-writing network. ] 140.247.4.212 22:54, 21 March 2010 (UTC)

—140.247.4.212 22:54, 21 March 2010 (UTC)

No Entries in "Recent Changes"

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4-2ubuntu5.10(apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.5
 * URL: www.scienceofintelligence.de

In the menu entry "Recent Changes" is no entry listed. I cannot find any solution for this Problem in the internet. Hopefully, someone here can help me

—Stefan

How to Run Commands

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.3 (apache2handler)
 * MySQL version: 5.0.41-community-nt
 * URL: http://localhost/wi/ (It's on my hard disk!!)

Hello, I read Manual:Wiki_on_a_stick/ja (I'm Japanese.) and built wiki on my hard disk.

I wanted to upgrade Media Wiki and I read manual of this site, which says I must run a command (usually begins with " ").But I couldn't find how to run commands.


 * First, I looked for phpMyadmin. But I couldn't run commands using it.
 * Next, I tried to run a command through windows' command prompt. But I failed.
 * Then, I came to know that MySQL Command Line Client is the software with which I can run commands, but I couldn't find it on my hard drive.

As I don't know how to run commands, almost everything -- e.g. Backing up a wiki, Upgrading ... is impossible. Please tell me how to do it.

—March Second 14:23, 22 March 2010 (UTC)

Deleted pages remain under categories - intended?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12 (isapi)
 * MySQL version: 5.1.43-community
 * URL: internal

Whenever I delete an article it still retains in the categorizes it was assigned to which leads to the "this page was deleted" page. Is this intended behavior? It's rather unintuitive to provide links to users for pages that don't exist. The only way I figured out how to avoid this behavior is to remove the categories from the page body, save it and then delete but it's a rather cumbersome procedure. Is there a better way of doing as I can't find anything in help docs.

—Macsux 20:39, 1 April 2010 (UTC)

How can i read data from a text file and present it to my mediawiki web? I use the following: <? echo "System uptime: ";readfile ("uptime-output");echo " hours"; ?>
 * MediaWiki version: 1.15.2
 * PHP version:
 * MySQL version:
 * URL:

Unable to complete installation of mediawiki on RHEL PHP could not find suitable database driver error - (not sure how to compile PHP using mysql)
MediaWiki 1.15.2 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.
 * MediaWiki version: 1.15.2
 * PHP version: 5.1.6-20
 * MySQL version: 5.1.45-1
 * URL: http://kirin.amherst.com  (would like it to be http://amherstwiki.amherst.com/index.php

PHP 5.1.6 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module —132.228.195.207 15:30, 5 April 2010 (UTC)