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?

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 Registered users are however not prevented from creating a new page, because it starts in edit mode.

What do I do wrong?

Benny Lautrup
 * You need to uncomment the line  since all users, including registred ones are in the '*' group. i Alex  07:22, 3 July 2010 (UTC)

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

Upload files to remote servers

 * MediaWiki version: 1.15.4
 * PHP version: 5.2.10
 * MySQL version: 5.*.*
 * URL: http://www.softx.tk

I need to store uploaded file to a remote server using ftp and link to them using http because i run out of space in my host, but how?(wikipedia upload file to upload files to upload.wikimedia.org, but the way isn't explain in the manual)

—Xiaomao123 00:02, 3 July 2010 (UTC)
 * The easiest way of having the images on another server that I can think of would be to use nfs and have the upload directory just be an nfs mount. Bawolff 06:25, 3 July 2010 (UTC)

How to change e-mail confirmation link

 * MediaWiki version: 1.15.4
 * PHP version: 5.3.0 (apache2handler)
 * MySQL version: 5.1.41
 * URL: N/A

I've installed and configured wiki on local server, configured apache vhosts. It's available in my intranet by adвress wiki.mydomain.local, and it's available from outside by link https://wiki.example.com/... And i get the following issue: when wiki sends e-mail for user's email confirmation the link to confirmation page is http://wiki.mydomain.local/... and it's clearly unavailable from outside. So users have to change this part of the link to https://wiki.example.com/... manually. How can i change wiki's email confirmation link to my external addres for outside users? Is it possible to make wiki send different links according to internal or enternal users accessing?

—Echibisov 07:02, 7 July 2010 (UTC)

Protecting of Pages for reading access / Not for all users
Hello Mediawiki Team,
 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9 (apache 2)
 * MySQL version: 5.0.67
 * URL:

is there any chance to protect pages for user reading? In my case we have around 200 Users which can read and write. But it should be like that, that not all user can read all pages. Do you have any ideas for protecting a few pages for reading access? This Pages should only read a few persons. Is this possible to do with mediawiki at all?

Best regards,

Daniel

Essen, Germany

—194.7.161.147 13:30, 9 July 2010 (UTC)
 * Manual:Restricting access. Max Semenik 13:52, 9 July 2010 (UTC)

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)

Authentification via API

 * MediaWiki version: 1.15.1
 * PHP version: 5.1.2
 * MySQL version: 5.0.26
 * URL: internal

I would like to write pages to my wiki via API, but I do not get the authentification running. The Login is succesfull, but when I try to get an edittoken, I get the message that the user does not have edit rights. I suppose the problem is that I do not pass the cookies in a correct way. I would like to solve this using only Java, without any additional libraries or bots. Could you perhaps post a piece of example code demonstrating the correct use of this mechanism? The manual and the API-Documentation did not really help me...

—91.49.103.5 06:43, 20 July 2010 (UTC)

(RESOLVED) Need for new contributions list
Hello. I'm writing about Wikipedia at all, not the Russian one only. Many people, I came in contact with, and me too, consider that the current contributions list format is inconvenient. I do not need to know all the versions of articles edited by me (i.e. many lines for one article), but need for the list where are titles of articles I've ever edited (no time restriction) - one line per article strictly, no more, and the mark which shows, whether my version is the most recent. Nothing more. Is it possible to do so with the MediaWiki version used in Wikipedia? (sorry, I couldn't figure out how to find the version number). BPK 16:44, 20 July 2010 (UTC)

—BPK 16:44, 20 July 2010 (UTC)


 * The user filed 24487 since then, so I'm marking this as "resolved". By the way, this feature was implemented with site JavaScript and API, you can try it yourself on ruwiki. 72.95.215.21 21:26, 23 July 2010 (UTC)

Editing (Templates/Menus)

 * MediaWiki version: 1.15
 * PHP version: 5.2.13
 * MySQL version: 5.1.45
 * URL:


 * 1) I want to create a page template. Is that possible?
 * 2) Is there a to create collapsing menus?

Thanks,

—79.181.31.126 19:11, 20 July 2010 (UTC)

Registration Problem

 * MediaWiki version: 1.16beta3
 * PHP version: 5.2.11
 * MySQL version: 5.1.47-log
 * URL: http://www.softx.tk/

When registering, mediawiki say it couldn't can't open socket. For detailed information, try to register on my wiki

Fixed, because of ReCaptcha extension

—Xiaomao123 00:04, 21 July 2010 (UTC)

Need assistance with namespaces.

 * MediaWiki version: 1.15.1
 * PHP version: 5.x
 * MySQL version: 4.1
 * URL: www.wolfebay.com/TheSandbox/

My site is hosted by godaddy.com, and I used their application software to install media wiki so I could play with wiki code without screwing up the main wiki sites like wikia's wiki sites and wikipedia. I've named it The Sandbox for that reason. However, I've encountered the problem that I can't create namespaces (may be using the wrong term here.), such as, www.wolfebay.com/TheSandbox/Template:Example or www.wolfebay.com/TheSandbox/Portal:Example. I keep getting my site's 404 error page. I've tried to read the manual on namespaces, but it seems to only describe what name spaces are, not exactly how to configure them.

I've managed to find the code to create custom name spaces (see code below), however it does not let me create www.wolfebay.com/TheSandbox/Portal: with a blank page to create content for Portal:. A working example of this idea is on WoWWiki's page, http://www.wowwiki.com/Template:Example for a working Template: in use, OR http://www.wowwiki.com/Template:Example1 for a new template page that could be created by a user. define( "NS_PORTAL", 100 ); define( "NS_PORTAL_TALK", 101 ); $wgExtraNamespaces[NS_PORTAL] = "Portal"; $wgExtraNamespaces[NS_PORTAL_TALK] = "Portal_talk"; When I've added the code above to LocalSettings.php in the TheSandbox directory, I still can't get http://www.wolfebay.com/TheSandbox/Portal:Example to work, just a 404 error page. I can however put: and the word Portal shows up on the article page where the code was inserted, however it does not link to anything.

I'm at a loss here on how to make this work. Is it even possible with other wikimedia sites? Thanks for any assistance! Wolfebay 23:54, 22 July 2010 (UTC)

Bug in markups &lt;nowiki> and &lt;onlyinclude>
MediaWiki 1.15.2 PHP 5.3.2 (apache2handler) MySQL 5.1.47 URL: http://cyt-ar.com.ar

It seems to me that markup &lt;nowiki>Text and markups&lt;/nowiki> does not work with markup &lt;onlyinclude>. Transclude, por instance,

&lt;nowiki>&lt;onlyinclude>Text &lt;/onlyinclude>&lt;/nowiki>

where the code is outside a single markup &lt;onlyinclude>...&lt;/onlyinclude>. You get Text in the target page, when you should get nothing.

Am I mistaken?

—Csoliverez 21:49, 22 July 2010 (UTC)
 * Nowiki means NO wki markup will ne interpreted, including onlyinclude. Max Semenik 04:15, 23 July 2010 (UTC)


 * Then, there is a bug in MediaWiki. Look at http://cyt-ar.com.ar/cyt-ar/index.php/Kk .—Csoliverez, 23 July 2010.

api.php query doubt with cookies

 * MediaWiki version: 1.16.0 beta3
 * PHP version: 5.3.3
 * MySQL version: 5.1.41
 * URL: localhost

Hello. I've been trying to develop a loader project in C#, but in order to upload a file, the user is supposed to be authenticated in the Wiki website. For now, all what I've got is to use "api.php?action=query&meta=userinfo", but I guess it needs the cookies. Everytime I visit that site from my browser, it gives me the right ID and username, but when I try to access from the C# Web Request, it just keeps giving me the ID as 0 and as a non-authenticated user. How can I solve this? Regards

Any information I could receive will be appreciated on fladei.contrer@gmail.com Regards
 * API:Login. Max Semenik 13:09, 23 July 2010 (UTC)

—78.41.128.14 12:34, 23 July 2010 (UTC)Contreras_i