Project:Support desk/Sections/System

__NEWSECTIONLINK__

= MediaWiki System Support =

Sidebar: edition without changes
Hello, I have Mediawiki v1.16.0beta3. From 3 days I'm trying to do sth with MediaWiki:Sidebar and everything looks ok except menu where changes never appear. Present situation: another content in MediaWiki:Sidebar, another in menu on the left where changes should be visible. Every things described on wiki help (disscusion) pages didn't work, cache cleaning, purging, trying from another admin account, deleting and renewing page either. Site: encyklopedia-ludzi.pl. Please help, I'm losing my hairs. (Adam)

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?


 * Hi there, please check in the user's preferences if the check box under the signature is hooked. Does this cause any effect to your problem? Bye --Robis.

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


 * Hi Stefan, have you filtered your Recent Changes (RC) list? See the choice in the upper part of the RC page. There is also a checkbox for filtering minor or controlled edits in the user's preferences. Bye --Robis.

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

Using new features

 * MediaWiki version: 1.16wmf4
 * PHP version: 5.2.10
 * MySQL version: 5.0
 * URL: http://www.softx.tk

I used the same version of MediaWiki but I still can't use the new feature like what is was described here:Special:UsabilityInitiativePrefSwitch

I really want to use these new feature on my website. Are there any ways?

—Xiaomao123 23:01, 18 July 2010 (UTC)
 * Extension:UsabilityInitiative. Max Semenik 04:52, 26 July 2010 (UTC)

Category Subpage Sorting expansion

 * MediaWiki version: 1.15.4
 * PHP version: 5.2.13 (cgi)
 * MySQL version: 5.0.81
 * URL: http://arctic.woodassoc.us

Is there any thought to expand the Category grouping to multiple characters? I know it systematically does it in the background but if you say want to sort pages within a category that are actually negative, such as http://arctic.woodassoc.us/wiki/Category:STRENGTH all i get is a sorted value of '-' instead of say '-2'.

Its not an ultimate problem, but with my slight OCD, id like for it to report as full as possible. Even if this was put in as an optional feature for those of thus that wanted, i would be cool with it. I would just like some flexibility as to how my wiki deployment sorts within the categories.

Thank you for your hard-work and valuable time to provide us with a great package that i have been using since 1.4. You all have come along way since the old days of pre-ajax and robust java-client.

—Goldbishop 03:15, 26 July 2010 (UTC)

Removing ISBN "MAGICNUMBER"
MediaWiki 1.15.2 PHP 5.3.2 (apache2handler) MySQL 5.1.47 URL: http://cyt-ar.com.ar

In my Wiki I use ISBN # to univoquely identify bibliographic sources with transclusions. Therefore I would like to remove the automatic redirection to the search page whenever I write an ISBN. Is it possible?

—Csoliverez, Patagonia, July 26 2010.

I have a problem with old wiki MediaWiki 1.11.0

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.5
 * MySQL version: 5.0.51
 * URL:

Hi, My Linux box was crashed and I copied all wiki folders (mediawiki, mysql, www, spool). I tried to install Apache+php+mysql and upload all folders to a new web server. But I`ve got errors: Please help me I need to restore this version or transfer all documents into a new one.

Thank you for your time!

MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred Query: SELECT value,exptime FROM `objectcache` WHERE keyname='wikidb:messages-hash' Function: MediaWikiBagOStuff::_doquery Error: 1033 Incorrect information in file: '.\wikidb\objectcache.frm' (localhost) ' in C:\xampp\htdocs\mediawiki\includes\Database.php:824 Stack trace:

1. 0 C:\xampp\htdocs\mediawiki\includes\Database.php(779): Database->reportQueryError('Incorrect infor...', 1033, 'SELECT value,ex...', 'MediaWikiBagOSt...', false) 2. 1 C:\xampp\htdocs\mediawiki\includes\BagOStuff.php(405): Database->query('SELECT value,ex...', 'MediaWikiBagOSt...') 3. 2 C:\xampp\htdocs\mediawiki\includes\BagOStuff.php(300): MediaWikiBagOStuff->_doquery('SELECT value,ex...') 4. 3 C:\xampp\htdocs\mediawiki\includes\BagOStuff.php(234): SqlBagOStuff->_query('SELECT value,ex...', 'wikidb:messages...') 5. 4 C:\xampp\htdocs\mediawiki\includes\MessageCache.php(205): SqlBagOStuff->get('wikidb:messages...') 6. 5 C:\xampp\htdocs\mediawiki\includes\MessageCache.php(441): MessageCache->load 7. 6 C:\xampp\htdocs\mediawiki\includes\GlobalFunctions.php(467): MessageCache->get('mainpage', true, true) 8. 7 C:\xampp\htdocs\mediawiki\includes\GlobalFunctions.php(421): wfMsgGetKey('mainpage', true, true, true) 9. 8 C:\xampp\htdocs\mediawiki\includes\GlobalFunctions.php(368): wfMsgReal('mainpage', Array, true, true) 10. 9 C:\xampp\htdocs\mediawiki\includes\Title.php(268): wfMsgForContent 11. 10 C:\xampp\htdocs\mediawiki\includes\Wiki.php(99): Title::newMainPage('mainpage') 12. 11 C:\xampp\htdocs\mediawiki\index.php(58): MediaWiki->checkInitialQueries 13. 12 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in fetchObject: Incorrect information in file: '.\wikidb\page.frm' (localhost)' in C:\xampp\htdocs\mediawiki\includes\Database.php:953 Stack trace:

1. 0 C:\xampp\htdocs\mediawiki\includes\MessageCache.php(314): Database->fetchObject(false) 2. 1 C:\xampp\htdocs\mediawiki\includes\MessageCache.php(251): MessageCache->loadFromDB 3. 2 C:\xampp\htdocs\mediawiki\includes\MessageCache.php(441): MessageCache->load 4. 3 C:\xampp\htdocs\mediawiki\includes\GlobalFunctions.php(467): MessageCache->get('databaseerror', true, false) 5. 4 C:\xampp\htdocs\mediawiki\includes\GlobalFunctions.php(421): wfMsgGetKey('databaseerror', true, false, true) 6. 5 C:\xampp\htdocs\mediawiki\includes\Exception.php(23): wfMsgReal('databaseerror', Array) 7. 6 C:\xampp\htdocs\mediawiki\includes\Database.php(276): MWException->msg('databaseerror', 'Database error') 8. 7 C:\xampp\htdocs\mediawiki\includes\Exception.php(125): DBQueryError->getPageTitle 9. 8 C:\xampp\htdocs\mediawiki\includes\Exception.php(88): MWException->htmlHeader 10. 9 C:\xampp\htdocs\mediawiki\includes\Exception.php(111): MWException->reportHTML 11. 10 C:\xampp\htdocs\mediawiki\includes\Exception.php(191): MWException->report 12. 11 C:\xampp\htdocs\mediawiki\includes\Exception.php(225): wfReportException 13. 12 [internal function]: wfExceptionHandler(Object(DBQueryError)) 14. 13 {main}

—203.206.230.36 08:00, 27 July 2010 (UTC)
 * Your database is damaged, refer to MySQL documentation for information on repairs. Max Semenik 08:39, 27 July 2010 (UTC)

Is there a move button in v1.15.1?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.77
 * URL: intranet
 * Skin: MonoBook

Everything I am reading suggests that I should see a move button for renaming/moving pages. e.g. http://en.wikipedia.org/wiki/How_to_rename_a_page#How_to_move_a_page

I never see a move button/tab.

We don't use namespaces so I think that means we are using the main namespace.

Is there some way of turning the move button on or is it newer functionality?

Thanks,

-board tc 14:47, 28 July 2010 (UTC)
 * Maybe you don't see it if you don't have permissions for it. Check if your user group can move pages. Max Semenik 15:43, 28 July 2010 (UTC)

I checked Special:ListGroupRights and the 'Users' group has rights to:

Move pages (move) | Move pages with their subpages (move-subpages) | Move root user pages (move-rootuserpages)

I checked and my login is in the Users list.

-board tc 16:08, 28 July 2010 (UTC)

Is there any other reason the move option is not showing?

-board tc 15:48, 5 August 2010 (UTC)

Logout after submit new page

 * MediaWiki version: 1.16
 * PHP version: various versions of v 5 except 5.2 because it is bugged for mediawiki 1.16
 * MySQL version: 5
 * URL:

When i am creating new page with many text, which take more minutes, i am logged out when i submit this page. I thing this is set from session lifetime limit, but in session i am noob. How can i be logged in until close web browser, or how to remove automatic session destroy?

—84.47.67.67 17:39, 1 August 2010 (UTC)

Searchfunction in Files

 * MediaWiki version: 1.15.4
 * PHP version: 5.3.0 (apache2handler)
 * MySQL version: 5.1.37
 * URL: Intranet

Hi there!

I've got a little question about the searchfunction in my MediaWiki. Is it possible to search not only pages fulltext but also a word or phrase inside of a file uploaded to MediaWiki? One Solution would be to create for every file a new Wikipage and Copy the text into it. This would be much work and i think there must be a better way. Maybe there is a plugin which can handle this?

Thanks for your help and i hope to hear from you soon.

Best Regards

All wikipages are of type application/opensearchdescription+xml

 * MediaWiki version:  	1.15.3
 * PHP version: 5.2.6 (apache2handler)
 * PostgreSQL version: 8.3.9
 * URL: internal

Every few days my wiki starts to act up. When you visit any page on the wiki you are prompted to download a file of type application/opensearchdescription+xml

If I restart Apache everything clears up and starts working like normal. Has anyone seen this before?

—63.214.184.6 19:52, 4 August 2010 (UTC)