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

$wgAutopromote EDITCOUNT condition
APCOND_EDITCOUNT from $wgAutopromote counts edits from main namespace or all namespaces? Danilo.mac 20:43, 7 April 2010 (UTC)
 * All namespaces, this will also include deleted edits. i Alex  06:57, 25 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)

math functions
Hello, I want to use math functions in my wiki. I've written $wgUseTeX = true; in LocalSettings.php, but it shows me: Parser-Fehler (Das texvc-Programm wurde nicht gefunden. Bitte math/README beachten.) Parser-Error (The texvc-program wasn't found. Please note math/README) What shall I do? --84.179.90.80 12:08, 2 May 2010 (UTC)

Preventing spam bot writing
How could I prevent a wiki form spam bot writing? I'd like to block bot writing for all that are not flagged as bot. —★ → A  ir  on Ĉ  13:21, 2 May 2010 (UTC)
 * MediaWiki version: 1.13.4
 * PHP version: 5.2.6-1+lenny8 (apache2handler)
 * MySQL version: 5.0.51a-24+lenny3-log