Project:Support desk

(Redirected from Project:Support)
Jump to: navigation, search
vde   This page is for questions relating to the MediaWiki software.

Welcome to's Support desk, the central on-wiki place to ask MediaWiki questions!

The greater purpose of this page is to make our Manual and other available help so good that you do not have to come here to ask questions, or making them easier to find.

There are other ways for of communication as well (IRC, mailing lists etc.). Read more here.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using:
    • MediaWiki (reported by your wiki's Special:Version page)
    • PHP (likewise)
    • Database (likewise, e.g. MySQL 5.5)
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new discussion".

Archiving topics

Topics are automatically archived when they have been inactive for three weeks. If a question you have asked is approaching this limit and still has not been answered, please 'bump' it to prevent it being archived. However do not 'bump' for other reasons.

First page
First page
Previous page
Previous page
Last page
Last page

Need to add subcategories in MediaWiki

Hi Support,

I have installed Mediawiki 1.23 in my Linux machine. I would like to add subcategories and which should show similar to (means in alphabetical order). After adding subcategories, I hope I will be able to add different KB's as shown in the above URL.

Please assist.

Thank You, 2 September 2014

See Help:Categories. You can categorize pages, as well as categories. Categorizing a category page will make it a subcategory.

Ciencia Al Poder (talk)09:57, 2 September 2014


Thank you for your reply. I have gone through the details in the URL :, however I couldn't able to create "categories" in my Mediawiki page.

Please see the snapshot of my Mediawiki main page here : and let me know how should I add the test KB posts (you can see it in that snapshot itself : Test KB and Test12 KB) to a category. Let me know the steps to create a category and the steps to link these two test KB posts to the category.

Thank You., 2 September 2014

I would like to give you a clear snapshot as in :, 2 September 2014

Some Problem on Korean Wiki

Hello. I'm korean wikipedia Admin. Today, several problems reported by ko-wiki users. Some functions shutdown.

  • Hot-cat
  • Advanced Edit Tools
  • Auto Redirect on Sereach Bar.
  • Table sort.

As I know, Other Wikipedia is normal status. But, kowiki is not.

I'm beginner Admin. I don't know where is cause of this trouble.

Could you help me? Thanks to read it :)

이강철 (talk)15:02, 29 August 2014


The best way should be to report bugs for each problem: How to report a bug | Repot a bug for Wikimedia Site/Server/Tools

with as much information as possible (what is broken, correct name of the function (maybe the name of the Extension providing the function, if you know?), when it brokes (last week, the week before, better a concret day, and so on).

Florianschmidtwelzow (talk)11:45, 1 September 2014

As a frist step I recommend to check out the browser's development tools (error console) if there are some Javascript issues listed (as on-wiki code like HotCat for example is out of scope for Bugzilla).

AKlapper (WMF) (talk)10:45, 2 September 2014

[DUPE] Need to add subcategories in MediaWiki

Edited by another user.
Last edit: 09:58, 2 September 2014

Dupe of Thread:Project:Support desk/Need to add subcategories in MediaWiki

Hi Support,

I have installed Mediawiki 1.23 in my Linux machine. I would like to add subcategories and which should show similar to (means in alphabetical order). After adding subcategories, I hope I will be able to add different KB's as shown in the above URL.

Please assist.

Thank You, 2 September 2014

[RESOLVED] Pass Template Value to Category

Edited by author.
Last edit: 05:23, 2 September 2014

Not sure if this is possible or not but can you have a Template value set as the category. Simple testing (MW 1.21) seems to indicate not but is there a special format to do this that I have been unable to locate?

Any help is much appreciated - even a nope it can't be done.

eg On entry page in edit mode

{{Example Template
Template:Example Template page




Sirrob01 (talk)02:52, 2 September 2014

Should ahve tried harder before asking

Parser Functions will make this work at least at some level.

The below will also check if value1 is empty

{{#if:{{{value1|}}}| Value1:[[{{{value1}}}]][[Category:{{{value1}}}]]}}
Sirrob01 (talk)05:18, 2 September 2014

I guess you resolved your problem. Let us know if not :)

Ciencia Al Poder (talk)09:56, 2 September 2014

[RESOLVED] Change letter case of the Pagename

Hi, i have an article call "Technischer Zug" on a MediaWiki instance:

The Problem with the Pagename is, that is shown with a lower case "z" instead the right upper case "Z".

The rename function tells me, that the new name are already exist.

So i think i have to change any in the DB. - Can anybody tells me in wich table and field i can fix it ?

  • MediaWiki Version: 1.23.3
  • PHP Version: 5.4.30 (cgi-fcgi)
  • MySQL Version: 5.1.73-log
  • MediaWiki instance:

--Starwhooper (talk) 12:56, 1 September 2014 (UTC)

12:56, 1 September 2014


Normally the title should show a uppercase "Z" (refer to site information: So it seems to be a problem of an extension or something else.

P.S.: Fixed: Mybe only a cache problem. You can reparse a page usin the "puge" action parameter: Manual:Purge (that was i did on the page).

Florianschmidtwelzow (talk)13:37, 1 September 2014

P.S.: Extension:SimpleAntiSpam is useless since MediaWiki 1.22, so you can remove the Extension ;)

Florianschmidtwelzow (talk)13:38, 1 September 2014

How to create a "constant" or pointer to constant or function?

With wikis with possibility of translation (with Extension:Translate), as MediaWiki, and to facilitate the translation of articles, these wikis use "constants" or pointers. For example:

...contribution under the [$cc0 CC0]. 
See [[$pd-help|Public Domain Help Pages]] for more info.

is compiled to:

...contribution under the [ CC0]. 
See {{mediawiki|Project:PD help|Public Domain Help Pages}} for more info.

How to create these constants or variables or pointers (here $cc0 and $pd-help)?

Jmarchn (talk)20:48, 29 August 2014

Maybe what you want to do is using Templates?

Ciencia Al Poder (talk)09:34, 1 September 2014

For templates and normal pages, with translations (I use Extension:Translate).

Jmarchn (talk)15:33, 1 September 2014

For translated pages, you need to use <tvar|your variable name>

See Help:Extension:Translate/Page translation administration#Segmentation. See variables.

Ciencia Al Poder (talk)09:45, 2 September 2014

[RESOLVED] LocalSettings.php not found.

I am using MediaWiki 1.17.0 after installing on a Linux server and completing the entire install process and placing the LocalSettings.php file in the root directory I am receiving an error after clicking the go to your wiki link that says"LocalSettings.php not found". I placed the file in the folder specified and I don't understand why it would say this. I tried an install on localhost but it did the same thing. I even tried setting all permissions to 7777 and still nothing. I have it up at my site and the wiki is going to be at I placed the wiki inside of another directory so it is located inside of /mentalhealth(this an elgg instalation)/wiki. I would like to have the wiki inside of the other directory because I would like my site to show it as /wiki instead of going to a whole mew site and having to setup a new subdomain. any help with this error message would be great. I wouldn't think it should matter what directory I put it in but now I don't know. Thanks, Douglas

Earthendawn22:03, 13 November 2011

Problem solved I did a fresh install and fixed it. Thanks folks.

Earthendawn22:32, 13 November 2011

That doesn't really sound like a solution. I'm having this problem too, any other ideas?, 27 January 2013

I have this problem too . how can I solving that, 15 June 2012

You installed your wiki in a folder. In this folder you have several subfolders. Some of them are images/ extensions/ or skins/.

Put the LocalSettings.php file in the same folder, in which you have these subfolders, and it will work., 15 June 2012

I've generated a LocalSettings.php file and put it in same same level as index.php / images / extensions and my mediawiki app still can not find it., 8 September 2012

How did you fix this? thanks., 19 October 2012

Are you really using MW 1.17? You should really install at least 1.19.

MarkAHershberger(talk)01:06, 28 January 2013

Edited Vector Skin - Only my personal Safari renders it

I've been working on editing the Vector skin - only CSS, mind you - and I tried to test it in my Firefox, my Chrome, another computer's Safari and Firefox, and none of them display right, at all. It becomes an unstyled white page, with black text and the like, while mine renders as it's supposed to.

Anyone know why?

Here's the link to my wiki., 1 September 2014

Are you sure you just editing vector?


That is your vector skin. If you just request the main page without specifying what skin you want, there is only one module, which could be a skin (skins.bootstrap), and this loads with an internal error:*

So make sure, that wgDefaultSkin is "vector", or fix the definition and load of your own skin (if you created your own and not edited vector) :)

Florianschmidtwelzow (talk)19:52, 1 September 2014

Whoops, forgot to change default. Thanks for the catch!, 1 September 2014

The styles are currently displaying for me: I see red feathers in the upper left-hand corner, then gray and then white to the right. Tested in Firefox., 1 September 2014

I see search results page instead of article

I've recently upgraded from MediaWiki 1.22 to 1.23, and I notice now that when I type in a search term, I always see a search results page, even if there is an article that matches the name.

  • Before, if I typed "XYZ" and if there is an article named "XYZ", the system displayed that article right away.
  • Now, I get a results page that says "There is a page named XYZ on this wiki", lists that page and then a bunch of other pages that link to it.

Is there a setting that's changed that I'm not aware of? Can somebody point me in the right direction?


Supasaru (talk)19:09, 25 July 2014

I have the same behaviour, I find it annoying, but since it worked before and there anyway are obviously no efforts to change this, I fear some people might even think that's intended., 25 July 2014

In my opinion that's the best way to handle this (but, like i said, that's my personal opinion). What is, if i want to search for the string "XYZ" in other articles? There is only one button "search", not like in past a button for "full article" and "search".

Florianschmidtwelzow (talk)14:36, 26 July 2014

Click on "containing XYZ" and you will be brought to the search page. The fact that hitting enter opens the search, although a page with exactly this name is present, is really confusing. Afterwards I always have to click the page name as if MediaWiki was asking me, if I really meant my search serious. This change lowers user experience. Or is there an option, which I could set to work around that bug?, 26 July 2014

Wikipedia, the biggest user of the MediaWiki software (if I'm not mistaken) continues to bring you directly to page XYZ, and not a search results page.

This leads me to believe there's a setting somewhere, but where? Anybody have an idea?

Supasaru (talk)23:48, 26 July 2014

I could not believe that, but you are right: While on Wikipedia this works correctly, it is broken e.g. on a system of mine (running MW 1.23.1). I also want to know, how I can fix this for my system!

There is no fitting documentation at Manual:Configuration_settings#Search, 27 July 2014

Ähm, yeah :) I have tested it now with Vector skin on my private wiki (which is running 1.24wmf12), and if i search for a page which exist, i will be redirected to this, not to the search result page. In my custom skin i will be redirected to the search result page ever, so do you use a custom skin? Then you must change the search button from fulltext to go :)

Florianschmidtwelzow (talk)12:58, 27 July 2014

Yes, I do use a custom skin. I still remember how I put a comment in my skin file at the place, where the MediaWiki devs changed the display of the search buttons, because I couldn't get it to work properly for me: The display of the buttons alwaysgot messed up, so I decided to leave them both for now. But does that (the presence of two instead of one button) also influence what happens when I hit enter (because that is where I see the problem and where it annoys me most)?, 27 July 2014

I'm using Vector with no custom skinning, so I don't understand what's causing a search results page to appear.

Supāsaru14:57, 27 July 2014

Does anybody have any answers to this?

Supāsaru12:03, 3 August 2014

I have also the version 1.23.2 and when I type XYZ in research I have a list with the 2 possibilities if the page exists

first line : XYZ second line : "including XYZ" They apperas when I move the mousse

But don't clic on the glass

Chantoune (talk)18:00, 3 August 2014

→ Bump ←

I continue to experience this "bug." Does anybody know the cause?

Supāsaru12:31, 19 August 2014

Is your wiki publicly accessible so we can look what's doing?

Ciencia Al Poder (talk)16:47, 20 August 2014

Sorry - no, it isn't.

Is there anything you'd like me send show you? Screenshots? Excerpt from LocalSettings.php?

Supāsaru01:24, 22 August 2014

Describe how do you submit the search form:

  • Pressing the enter key when inside the search box
  • Click on the search button
  • Another option?

Post an example search results page URL.

Ciencia Al Poder (talk)09:10, 22 August 2014

¡Hola Ciencia al poder!

URL of the search page: http://localhost/index.php?title=Special%3ASearch&profile=all&search=Travel+checklist&fulltext=Search

I have typed the search query and hit Enter, and I've also clicked on the magnifying glass within the search box. I don't see another option to click / type.

Here is a screenshot of the search results page.

Troubleshoot SERP instead of page.tiff

Thanks in advance for your help.

(I apologize for taking this long to reply. My MySQL server went kaput, and it took me a while to get it back going.)

Supāsaru21:53, 27 August 2014

I noticed that in the URL I provided above, it's a little different from what I see on Wikipedia. (The search is very fast on Wikipedia, but if you're watching, you'll see that the URL has &go=Go appended to the end. ) Mine doesn't have that.

Is this what's making the difference? I tried adding this query string to the URL and hitting enter, and I still see only a search results page.

Does this offer a clue?

Supāsaru16:29, 1 September 2014

You have to replace "fulltext" with "go" ;) That is the reason for this behavior. Fulltext means "always to search result page", and Go means " go to page, if query matches title, or go to search result page".

Just an idea, have you set $wgVectorUseSimpleSearch to false in your LocalSettings.php?

Florianschmidtwelzow (talk)18:07, 1 September 2014

Fatal exception of type MWException (details of exception beneath)

Ive setup a new thirdparty wiki at (MediaWiki: 1.22.7 PHP: 5.3.28). Yesterday I installed one extension - WikiEditor and allowed userscripts through $wgAllowUserJs and allowed commons through $wgUseInstantCommons. I started getting Fatal exception of type MWException at various pages containing templates, for ex. here or here. I allowed the $wgShowExceptionDetails and now it gives:

[fe283430] /wiki/index.php/U%C5%BEivatel:Zef/p%C3%ADskovi%C5%A1t%C4%9B Exception from line 778 of /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/HttpFunctions.php: Error setting curl options.


#0 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(479): CurlHttpRequest->execute()
#1 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(508): ForeignAPIRepo::httpGet(string)
#2 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(183): ForeignAPIRepo->httpGetCached(string, array)
#3 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/file/ForeignAPIFile.php(61): ForeignAPIRepo->fetchImageQuery(array)
#4 [internal function]: ForeignAPIFile::newFromTitle(Title, ForeignAPIRepo)
#5 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/FileRepo.php(333): call_user_func(array, Title, ForeignAPIRepo)
#6 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(103): FileRepo->newFile(Title, boolean)
#7 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/FileRepo.php(362): ForeignAPIRepo->newFile(Title)
#8 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/RepoGroup.php(151): FileRepo->findFile(Title, array)
#9 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/GlobalFunctions.php(3534): RepoGroup->findFile(Title, array)
#10 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(3868): wfFindFile(Title, array)
#11 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(3833): Parser->fetchFileNoRegister(Title, array)
#12 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(5324): Parser->fetchFileAndTitle(Title, array)
#13 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(2087): Parser->makeImage(Title, string, LinkHolderArray)
#14 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(1825): Parser->replaceInternalLinks2(string)
#15 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(1230): Parser->replaceInternalLinks(string)
#16 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(395): Parser->internalParse(string)
#17 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#18 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/WikiPage.php(3552): WikitextContent->getParserOutput(Title, integer, ParserOptions)
#19 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/PoolCounter.php(222): PoolWorkArticleView->doWork()
#20 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Article.php(708): PoolCounterWork->execute()
#21 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/actions/ViewAction.php(44): Article->view()
#22 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(448): ViewAction->show()
#23 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(312): MediaWiki->performAction(Article, Title)
#24 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(602): MediaWiki->performRequest()
#25 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(467): MediaWiki->main()
#26 /data/www/www_trabagr_cz/trabagr_cz/wiki/index.php(49): MediaWiki->run()
#27 {main}

I have no idea how to deal with "Error setting curl options". Any help would be appreciated!!

Wesalius (talk)11:08, 1 September 2014

The message dissapears with commenting out $wgUseInstantCommons. I am filing a bug on bugzilla on this.

Wesalius (talk)17:18, 1 September 2014

li (or ul) position for category, file and etc.

Not horisontal, but vertical

Dimon4ezzz (talk)14:53, 23 August 2014

Hi, do you have a question related to that image and positioning of items? If so, feel free to ask it here.

AKlapper (WMF) (talk)15:32, 24 August 2014

No, it's about categories and link in "File" menu

Dimon4ezzz (talk)19:47, 28 August 2014

OK. Do you have any question? If you have a question, please ask a question. Thanks. :)

Malyacko (talk)20:07, 28 August 2014

How to make it horisontal, not vertical?

Dimon4ezzz (talk)14:40, 29 August 2014

Use CSS:

display: inline;
list-style-type: none;
Florianschmidtwelzow (talk)13:41, 1 September 2014


Dimon4ezzz (talk)13:24, 1 September 2014

Class ParserHooks not found; skipped loading - properties not working

A thread, Thread:Project:Support desk/Class ParserHooks not found; skipped loading - properties not working, was moved from here to Extension talk:ParserHooks. This move was made by Florianschmidtwelzow (talk | contribs) on 1 September 2014 at 12:04.


Last time I upgraded MW to 1.23.

After that I can't upload any files. I got that error:

Uploading files to this wiki is not enabled. Please upload to Wikimedia Commons.

To be able to use this special page to upload to this wiki, an administrator needs to add one or more license options to the page MediaWiki:Licenses.

Use the following format: * Template name|Label. Use any text to enable uploading without license options.

I also have MsUpload but after upgrading it disapere on editor.

TraaBBIT (talk)08:55, 1 September 2014

What is your question, and what is unclear about the error message which is supposed to tell you how to fix the problem?

AKlapper (WMF) (talk)10:53, 1 September 2014

OK. But why MsUpload disapeared?

TraaBBIT (talk)11:44, 1 September 2014

Login Authentication Issue


I got the username from sso, without password authentication that user should login into my mediawiki, how ? and which file?

Mediawiki 1.21, 1 September 2014


Are you trying to set up SSO for MediaWiki or is it already set up an you want to know, how to log in?, 1 September 2014

SSO already there from one common application im getting the user name,, for ex consider one user "111" i got the user name from that sso response, in mediawiki 111 user should login automatically without any other authentication,

in mediawiki index.php i got that userid, then how to proceed to set login cookies, for automatic login,

without any extension, 1 September 2014

Without any extension this is nearly impossible :) It's not enough to get the username from elsewhere (i hope, that you don't edit the index.php ;)). MediaWiki povides the AuthPlugin and the hook Manual:Hooks/UserLoadFromSession with which you can implement an external authentication :)

Maybe you want to use LDAP? Then here is an extension that provides LDAP auth for MediaWiki ( i haven't tested it): Extension:LDAP_Authentication

Florianschmidtwelzow (talk)11:07, 1 September 2014

ok but in previous ver of mediawiki which i used 1.12 authentication code did in index.php

$user_from = $_SERVER['HTTP_SM_USER'];

$wgTitle = $mediaWiki->checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );

$wgUser=User::newFromName( $user_from );



in the above $user_from is user name which get from response of someother application,., 1 September 2014

How to Remove Access


I want to remove an email address of a person who was working with us as our Wiki page Administrator a year ago.

Can anyone help me out in removing his email address.


Ofarooq (talk)08:55, 1 September 2014


Where is it that you want the e mail address to be removed? In his user account? In a wiki page? Anywhere else? Or do you in fact want to disable one user's account?, 1 September 2014


I want to totally disable the user account totally on wiki page. No Access! Want to delete his entire details.


Ofarooq (talk)09:31, 1 September 2014

First you should take the user out of the special user groups, he might still be in, see Help:Assigning_permissions for that. Additionally you can then block the user as described at Help:Blocking_users. The user will then only be able to log in, but he won't be able to do anything else; for him the wiki is read-only then. If you even want to prevent him from logging in, then you can additionally change his username, e.g. with Extension:Renameuser.

Ahh: And you can delete the user's userpage (just in case you want to be really clean)., 1 September 2014

Creating tags in gerrit.

A thread, Thread:Project:Support desk/Creating tags in gerrit., was moved from here to Talk:Gerrit/Advanced usage. This move was made by Ciencia Al Poder (talk | contribs) on 1 September 2014 at 09:42.

Can someone help me please

I think I have read every page about templates there is. I have search info from google about these Templates. Only topics about these templates I have found are people talking how confusing these are. I haven't found one step by step tutorial. Am I just too dumb?

My first question would be, why is there "copy and paste on top of your page" if that doesn't work :)

Even on this page there were that "create extension" and after that, foo. I have now wrote --> Template:Infobox4all in search.--> (On my own wiki!) Create the page ---> I have copied everything from "view source" from this page.

Now I get broken code with red-links. I have struggled with this for 4 days now. Do I need some Extension? Does somewhere on this page read what extensions would be needed. (I have parserfunctions btw.)

I would really appreciate if someone could help me with this. Please., 29 August 2014

Error running the update script

So I'm not the most savvy person when it comes to this sort of stuff, but I've made due in the past. But when things go wrong, I typically am at a loss. Case in point:

I've got a wiki PHP version 5.4.31 MySQL version 5.5.37-cll

Now, I installed this wiki about two years ago at version 1.20.6, using Softaculous via my cpanel. When a new update came out for my MediaWiki installation shortly thereafter, I went to Softaculous to update. I ran the updater, and was prompted to navigate to run the update script. I selected my language, and hit next... and the screen went white. There was no option to proceed with the update. My entire wiki was unresponsive, too. All empty white pages, no content, no titles, no logo, no nothing. (Much like it is at this moment, if you navigate to my wiki right now).

At the time, I just restored my backup and opted not to really do anything about it. I looked into it a bit, but never could figure it out, so I just kept an outdated version for a while. That is until now...

Suddenly, the content of my wiki went missing. The pages were still there, the titles were still there, but no content. When I click to edit a page, the content shows up ready to edit. I googled my issue and found: (In the section called "All pages have no content, but when editing a page the wiki text is there.") The fix? Update your wiki!

However, the same issue occured. I again restored a backup and tried to perform an update manually (as per I downloaded the files, uploaded them to my server, unzipped them, added the files from the old install it says I need to move, renamed it to the old pathway name, and went to run the update script. Aaannndd... white pages. Everywhere. I can't seem to run an updater at all.

The recommendation to rename .htaccess seems to be a different issue. So my question is can you help little old me fix this and update my wiki so that we have content on it again?

-Shawn, 9 August 2014


First: On single step might not be enough to solve this problem. It might be that you need to do several steps until this problem is solved.

At the point when everything is there, only the content seems to be missing, but when you click "edit" you can see it, this points to a version of PCRE on the new server, with which your MediaWiki version is not compatible. This problem is solved in the current version of the 1.22 branch and in 1.23.2. Updating MediaWiki is the solution for that problem.

A blank page (which you see when you updated) points to a PHP error. Activate error reporting by adding these two lines to LocalSettings.php

error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

and view the updater again... Which is the error message/are the error messages, which you get?, 9 August 2014

Unless I am doing something very wrong here... there are no error messages. I added the lines to the bottom of my LocalSettings.php file, saved it, and navigated again to my page. It's blank, white, nothingness. I see no error messages., 9 August 2014

It's unclear to me which exact MediaWiki version you upgrade to, and which PCRE version is on your system.

AKlapper (WMF) (talk)16:03, 10 August 2014

I'm trying to upgrade to the latest stable release (1.23.2).

I don't know what PCRE is, if I'm honest. I believe my Perl version 5.8.8., 11 August 2014

PCRE stands for Perl Compatible Regular Expressions.

I just downloaded the program, but where to place it on the wiki.

Nsgaeverine (talk)21:41, 31 August 2014

Adding that code won't help if the error is happening in the mw-config directory, since it doesn't load LocalSettings.php.

You should set up them on php.ini. If you can't edit that file, you might try to change them in .htacess [1].

Even when error reporting is disabled, those fatal errors are usually logged in the apache error_log. Check your cpanel for any sort of "error logs" to see if you get a descriptive error there.

Ciencia Al Poder (talk)09:28, 12 August 2014

you...are overestimating my capabilities, I think.

I can found both my and .htaccess files, and found I can edit them both. I'm not sure what you'd have me do with them. They both are practically empty.

I added the code suggested to me above into the files

error_reporting( E_ALL ); ini_set( 'display_errors', 1 );

That...did not work. So I removed it.

As for error logs, it's empty. I tried to access the updater again, and checked back at the log and it still didn't have anything other than the errors from me adding that code to those files.

-Shawn, 17 August 2014

From Manual:How to debug:

For php.ini:

error_reporting = E_ALL
display_errors = On

For .htaccess [1]:

php_value error_reporting -1
php_flag display_errors On
Ciencia Al Poder (talk)14:37, 20 August 2014

group permission to be set for admin

Hi how can I set a setting in localsettings that lets me choose users groups even though I am a user because I had to redo the database and it was corrupted so I had to redo tables so I just used tables.sql because it would not let me do it trough web updater so please help., 29 August 2014

See Manual:User rights!, 29 August 2014

Hi I looked at that but it doesent tell you how to set admin to user so that I can set myself as admin and The other highest group permission you can set. Because my database became corrupt and so I had to repaire it,, 1 September 2014

$wgGroupPermissions['*']['userrights'] = true;, 1 September 2014

[RESOLVED] Error creating thumbnail: Unable to save thumbnail to destination

Hello, I'm running Mediawiki 1.19.0 on IIS7 (win server 2008, php 5.4.3 and mysql 5.5.24) and it doesn't generate any thumbnail. I tried ImageMagick 6.6.7 and also GD version ($wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php";) but I'm still getting this error. Full image works, but not thumbnail. There is granted all permissions to "images" folder (as uploading files works). Thank you., 31 May 2012

I'm having the same problem with MW 1.19.0 on Apache/MySQL/Ubuntu -- I just upgraded from 1.18.x. What's more annoying is that sometimes the thumbnails are actually there until I refresh the File page...

Woozle (talk)19:22, 7 June 2012

I dove into the code and figured it out. The exact problem may be different from server to server, but in my case the problem was occurring at this line in /includes/filerepo/backend/TempFSFile.php:

$newFileHandle = fopen( $path, 'x' );

The value of $path is partly based on the global wfTempDir() function, defined in /includes/GlobalFunctions.php. This function does several checks to find a good temp folder for creating images; on my system, it failed to find anything in the environment and was falling back to sys_get_temp_dir(), which told it to use "/tmp".

This should have been valid, because that folder is world-writable and there are in fact temp files there... but when I told fopen() to use a different path, it started working.

What I did was to explicly set, in LocalSettings.php, one of the environment variables to point to a temp directory I had created in my account space:


After that, everything was happy again.

Woozle (talk)22:38, 7 June 2012

/includes/filerepo/backend/TempFSFile.php seems to have moved, there is no /backend folder in /filerepo, 14 February 2013

Looks like it's moved to /includes/filebackend/TempFSFile.php.

Also, Woozle's solution appears to have worked for me, as well.

C.C. Principalis (talk)06:20, 2 March 2013

It would be nice if MW would report an error when it can't write to the folder it is using for temporary files. Should I file this as a bug report?

Woozle (talk)22:38, 7 June 2012

I had a similar problem. Turned out that C:\Windows\Temp was not in open_basedir (set in php.ini). Found the problem by checking php-errors.log, 4 July 2012

Put the absolute path to your tmp folder. Works like a charm

$wgTmpDirectory = "/home/username/";, 11 April 2013

I just ran across this problem as well while upgrading to 1.20.5. But I had this set in LocalSettings.php:

$wgTmpDirectory = "{$wgUploadDirectory}/tmp";

I solved it by commenting this line out completely. I assume I was trying to get around some prior bug. But now mediawiki finds the tmp directory without a problem. So my solution was to remove this (old) setting., 6 May 2013

Thanks !, 13 May 2013

For me this settings in LocalSettings.php worked:

$wgEnableUploads = true;

$wgUseImageMagick = false;

$wgImageMagickConvertCommand = "/usr/bin/convert";

$wgTmpDirectory = "$IP/images/temp";

and create "temp" folder in /images, 2 June 2013

I also encountered this issue and removed the old setting. Thanks!

~ Seb35 [^_^]06:54, 1 September 2014
First page
First page
Previous page
Previous page
Last page
Last page