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

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)
 * As the error says, read that file since you'll need to compile "texvc" to use this feature. i Alex  11:23, 14 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

I want to create wiki for certain topics and want to host on ISP on shared hosting basis.Can I do that?I am asking this question because for installation of Media wiki it is necessary to run some scripts.Is it possible on shared hosted enviornment?If not then please suggest me some good solution.

My e mail ID is altafhsayyed@yahoo.com

MediaWiki on multiple servers

 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Hi

Is it possible to setup Media Wiki to run on a web cluster of 2 servers, I basically just want to point the other server to the Media Wiki database,

Is there an easy way yo to do this?

Regards

—85.92.214.142 10:13, 13 May 2010 (UTC) Matt Purser Betgenius LTD

mpurser@betgenius.com
 * Yes, you'll need to install MediaWiki on both servers, with the same configuration (otherwise users will experience strange behavior). Also, check the following settings:
 * $wgDBserver to point to the correct server
 * if you use object caching with a PHP accelerator (i.e. $wgMainCacheType set to ), consider using memcached instead.
 * i Alex  11:21, 14 May 2010 (UTC)

Do not allow unconnected visitors to see source code

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.10
 * MySQL version: 5.0.84

Hi,

I'm searching a way to deny the access to "see source code" on pages. I use UserFunctions and SimpleSecurity to restrict access to my Wiki, but this option is a problem for me...

Do anyone knows how to do it, with an option, an extension, modifing the template ?

Thanks a lot !

Greg
 * You can try to deny the "edit" action to unprivileged, so that users won't be able to see the "view source" page, but there's a lot of way to get it: "submit" and "raw" actions, Special:Export, and maybe some others. i Alex  11:28, 14 May 2010 (UTC)


 * Thanks for your answer. If I deny the "edit" right, they cannot change the page but they cannot click on "view source" button, like on the Home page of mediawiki.org. :/ And I don't want that, because I have private sections in pages (I know, it's not the normal usage...)
 * Greg
 * I didn't say the "edit" right, but action (i.e. when you have "action=edit" in the URL), you can use Extension:Lockdown for this with $wgActionLockdown. i Alex  12:28, 16 May 2010 (UTC)

permissions error?

 * MediaWiki version: Don't know
 * PHP version: don't know
 * MySQL version: don't know
 * URL: http://uark.edu/ua/kxuaweb/wiki/index.php/

Hi, for some reason our wiki simply stopped working a few days ago. When I tried to look at the local settings file it said it hadn't been modified in a year, but I am unable to open that file from my ftp program, it says there is a permissions error, and sure enough permissions seems to be completely turned off for any user, that is no read, write, or execute for anyone, and the file won't let me change those permissions, so I can't even open the file. I imagine that that error means that it can't execute the localsettings.php file, which would explain why the wiki is broken. Am I at all correct? Can someone please help me out? I only know the very bare minimum, and I really don't want to loose this wiki. thanks, --Kidinbed 20:35, 15 May 2010 (UTC)