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

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)

$wgAutopromote EDITCOUNT condition
APCOND_EDITCOUNT from $wgAutopromote counts edits from main namespace or all namespaces? Danilo.mac 20:43, 7 April 2010 (UTC)

Loss of edit function on left toolbar
I was working on a wiki page and added a page and somehow the edit section on the left hand toolbar disappeared! I don't know what I did, but I need to know how to get it back. Please help! (By the way, it's in Catalan - English husband trying to help out).
 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Address: http://cv.uoc.edu//app/wiki/g092_02_509_05_04/index.php?n=Main.PlanificacioIValoracioGrupal

—195.60.133.10 10:49, 10 April 2010 (UTC)

Hiding IP addresses from most users
Users who aren't logged in have their real-world IP addresses recorded and publicly displayed. For my client's application, this needs to be impossible. Short of disallowing anonymous edits, is there anyway to hide these ips from non-sysop users? For example, replace the raw IPs with some other unique-identifier? I found a 2004 request for this feature, but no word if it was ever implemented.

—Inquisite mwfan 20:53, 15 April 2010 (UTC)

How do I hide the Namespace list in the search result window?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4-2ubuntu5.10 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.5
 * URL: Belcan SEED Intranet

I would like to hide the large "Search in namespaces" list that is at the bottom of the search window results. I notice that may sites do not show this, but I have spent hours looking for the way to do this without success. Most of our users do not need the option to search in other namespaces.

Thank you. Don Michaels Belcan Engineering, Solon, Ohio

—66.42.141.5 20:11, 20 April 2010 (UTC)

Core Dumps with new Version

 * MediaWiki version: 1.15.3
 * PHP version: 5.2.10 (cgi-fcgi)
 * MySQL version: 5.0.90-community5.0.90-community
 * URL: wiki.pcgen.org

My webmaster has noticed we have 39 GB of core dump files. Since these are in binary format, we can't decipher what the issue is. However, we went from 1.14 to 1.15.3, leaving us with the idea it's either the new version, or an extension that is no longer supported. However, the Wiki seems to be working fine.

- Andrew Maitland, Admin for PCGen Project.

—75.12.115.221 07:07, 24 April 2010 (UTC)

My Logo
Hi, I've got a question. I am trying to get a logo without a white background on every single square face of the corner on Monobook. How did you guys get your logo to blend in with the Monobook theme? Any help will be appreciated. --Mediagerbil 20:44, 24 April 2010 (UTC)