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

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

Registered users are however not prevented from creating a new page

 * MediaWiki version: 1.15.1
 * PHP version: 5.2
 * MySQL version: 5.0.32
 * URL:

Hi, I have put the following permissions at the end of LocalSettings.php

$wgEmailConfirmToEdit = true;
 * 1) permissions


 * 1) $wgGroupPermissions['*']['edit']            = false;
 * 2) $wgGroupPermissions['*']['createpage']      = false;
 * 3) $wgGroupPermissions['*']['createtalk']      = false;
 * 4) $wgGroupPermissions['*']['writeapi']        = false;

$wgGroupPermissions['user']['upload']        = false; $wgGroupPermissions['user']['reupload']      = false; $wgGroupPermissions['user']['reupload-shared']= false; $wgGroupPermissions['user']['createpage']    = false; $wgGroupPermissions['user']['purge']         = false; // can use ?action=purge without clicking "ok" $wgGroupPermissions['user']['edit']          = true;

$wgGroupPermissions['sysop']['createpage']    = true; $wgGroupPermissions['sysop']['purge']         = true; // can use ?action=purge without clicking "ok"

Registered users are however not prevented from creating a new page, because it starts in edit mode.

What do I do wrong?

Benny Lautrup

Hydrowiki - No Display of Content in Read Mode, BUT in Edit Mode

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.11
 * MySQL version: 5.0.45
 * URL: http://nordsee.lfi.rwth-aachen.de/wiki/

First we had a Raid Crash - We had to copy all the data to new HDDs All Rights were set to read only, then to 775 WWWRUN:WWW for the Hydrowiki

Now when accessing the Site all Hydrowiki articles are not displayed at all, BUT when going in Edit Mode the content of each Hydrowiki article is there.

Here is a screenshot of the database - http://nordsee.lfi.rwth-aachen.de/temp/hydrowiki-db.jpg

Here is a screenshot of the hydrowiki in reading mode - http://nordsee.lfi.rwth-aachen.de/temp/hydrowiki-read.jpg

Here is a screenshot of the hydrowiki in edit mode - http://nordsee.lfi.rwth-aachen.de/temp/hydrowiki-edit.jpg

Has anyone seen this behaviour ?

We installed a fresh copy of the newest mediawiki with a fresh database setup and the problem is the same!

Hope Someone can help us out here!

Greetings Michael

Use the manual, Luke
Where I can find administrator's panel? For example activities such as export/import, removing users, blocking IP, moderating, overview of all users editions ? —Borneq 19:52, 26 June 2010 (UTC)

How can I delete articles and categories? —Borneq 20:41, 27 June 2010 (UTC)


 * Articles: by hitting the "delete" tab over the content box. Categories: by removing all the entries   on every page (or using a find/replace extension to do so). Bye --Robis 04:37, 29 June 2010 (UTC)

How display all articles and category? —Borneq 20:46, 27 June 2010 (UTC)
 * Help:Contents. Max Semenik 03:29, 28 June 2010 (UTC)

Different start/home page for non logged in users

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.12
 * MySQL version: 5.0.89
 * URL: local

Hi all, my Wiki is for logged in users, only. How can I redirect all access from non logged in users immediately to the "Log in/Create an account" page? By default the user gets an error page from which he has to click manually to open the login page; there's supposed to be a shorter way, isn't it?

Thank you very much. —Robis 04:32, 29 June 2010 (UTC)