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) Remove "This category has the following..."-text and changing "subcategories"-header

 * MediaWiki version: 1.15.1

Hi. I'd like to remove the text "This category has the following..." and instead let the header be: subcategories (12/28)

Is there a way to do this, without changing the php-files? If not, where should i start? Thx — Sidcom 11:17, 23 February 2010 (UTC)
 * Yes, go to the page "Special:AllMessages" on your wiki, and then search for the messages you want to change. In your case, I think you want "category-article-count", "category-file-count" and "category-subcat-count". i Alex  20:33, 27 February 2010 (UTC)


 * Thanks! Almost all I needed and pointed me in the right direction :) (Had to edit CategoryPage.php as well, to get it in one line). Sidcom 13:24, 7 March 2010 (UTC)

Fehler beim speichern

 * MediaWiki version: 1.15.1
 * PHP version: 5.0.51a-3ubuntu5.5-log
 * MySQL version:
 * URL: http://www.das-grosse-tierforum.de/wiki/index.php/Hauptseite

Wenn ich eine Seite Speichern moechte oder erstellen moechte und dann speichern moechte, bekomme ich diesen Fehler:

Deine Bearbeitung wurde zurückgewiesen, da dein Browser Zeichen im Bearbeiten-Token verstümmelt hat. Eine Speicherung kann den Seiteninhalt zerstören. Dies geschieht bisweilen durch die Benutzung eines anonymen Proxy-Dienstes, der fehlerhaft arbeitet.

Mein Englisch ist nicht so gut und ich weiss nicht was ich jetzt machen soll.

—76.23.61.61 01:34, 2 March 2010 (UTC)

Blank pages and 404s when accessing freshly installed mediawiki

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.10-2ubuntu6.4 (apache2handler)
 * MySQL version: 5.1.37-1ubuntu5.1

I have a problem where certain pages show up as blank. I can't edit my main page, can't search, because pages show up blank. In addition Privacy policy, About ... and Disclaimers all give me 404 errors.

This is a fresh install. I have edited the php.ini file to include the 32mb of memory.

Thanks.

—129.42.208.184 19:55, 2 March 2010 (UTC)

Update: I found the problem...I had changed $wgSitename to something other than the installed value, I changed it back to the original and things started working. Is there any way to change this?

Upload page

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12 (cgi)
 * MySQL version: 5.1.43-community-log
 * URL:

I've edited LocalSettings.php of my wiki and I've added the function $wgMaxUploadSize = 4194304;, but in Upload's Page there is a 'sentence' that it's says the limit is 64 MB. How do I do to make it works properly? — GNU  Marcoo  20:47, 2 March 2010 (UTC)

My site has been cracked

 * MediaWiki 1.15.1
 * PHP 5.2.8 (cgi)
 * MySQL 5.0.89-community
 * URL: http://interwiki.info/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:Version

screenshot: http://interwiki.info/HckedBySarBoT511.jpg

php-info: http://interwiki.info/php-info.php

My site has been cracked.

Files have been changed: index.php and index.php5

New loadings of files in a script this day was not.

New users were not.

The rights to all folders are installed in 755

The rights to all files are installed in 644

Only this Monday has refreshed the version of a script with 112 on 1151

Where there is a hole?

—77.121.0.13 19:03, 3 March 2010 (UTC)

Cracked index.php

 ~

 Greatz [2] :

 #  Lezr.com  #  Black Zero

 #

 L!nuX Dr0x



# 

Third Devil

 #  aB0

m0h4mM3d <font color="#FFFF00"> # </b>

<p dir="ltr" align="center"><b><font color="#FFFF00"> \.. <font color="#FF0000">

His0ka <font color="#FFFF00"> #

<font color="#FF0000"> hAx0r^sA

<font color="#FFFF00"> #

<font color="#FF0000"> Dev!L-Fuck3r

<font color="#FFFF00"> ../ </b><p dir="ltr" align="center">

<p align="center" class="style7"><span style="background-color: rgb(0, 0, 0);">

<font color="#ffff00"> [ Copyright : 2 0 0 0 - 2 0 10

<font color="#ffff00">© ]


 * Hm. SarBoT511 seems to be a rather prolific Saudi Arabian hacker. The only real advice I could find was at http://forums.cpanel.net/f185/servers-hacked-preventing-sql-inject-132557.html. Take a look at that and see if it helps. Reach Out to the Truth 22:32, 3 March 2010 (UTC)
 * It has appeared, that have cracked a hosting. Thanks! --77.121.0.13 16:38, 4 March 2010 (UTC)

How can I change search behaviour (namespace suggestions) ?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: /

Hey guys, i'd like to know how the following search function is done:

Search Behaviour of wiki software:

@MediaWiki: if you type "magic" in the search box it shows "Manual:Magic words" as suggestion.

@My Wiki: the namespace must also be typed in to show those suggestions => "magic" won't work - you would have to type "Manual:magic"

How can I change this behaviour? I hope this is not introduced through lucene search, cause I don't have command line access :(

—84.60.152.19 03:31, 6 March 2010 (UTC)


 * A simple solution that wouldn't get to the core problem (something to do if there isn't another workaround) would be to put a redirect in the main namespace matching your keyword, and redirecting to the target page. 99.51.212.208 04:50, 11 March 2010 (UTC)

User Permissions - Edit Discussion Only and Not Page

 * MediaWiki version: 1.15.1
 * PHP version: 5.1.6 (apache2handler)
 * MySQL version: 5.0.77
 * URL: N/A - Intranet

Hello - I'm trying to set up a wiki where we have official release information on the actual pages and allow for requests for updates on the discussion tab for a page. Ideally it would be one group able to only edit the discussion tab for pages and then another group that would have edit priviledges for the discussion and the actual pages themselves to post official "released" info in response to the requests on the discussion tab to clear the item. Can anyone tell me how to do this? Thanks!

—140.239.58.226 21:31, 9 March 2010 (UTC)


 * This page: Manual:Preventing_access shows how to do that. 99.51.212.208 04:45, 11 March 2010 (UTC)

(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)