Open main menu

Project:Support desk

About this board

Welcome to's Support desk, where you can ask MediaWiki questions!

There are also other places where to ask :

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  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 topic".
Previous page history was archived for backup purposes at Project:Support_desk/old on 2015-07-30.
Other languages: English  العربية čeština Esperanto français 日本語 中文

About the MediaWiki image options

1 (talkcontribs)

Hello, I'm the one who's using the MediaWiki.

The design that I want is a shape that you can see with a frame or thumbnail option. The one that the box surrounds the painting.

The thumbnail option gives me a satisfactory shape, but it puts a strain on hard capacity by creating a new size image file. (If this is wrong, let me know.)

So I want to be able to resize the image in the frame option, or I want to have another option. What I want is not to create a new size image, but simply to resize the original image. This includes the design I mentioned earlier.

Please answer.

Reply to "About the MediaWiki image options"

Showing a complete table of contents (categories and pages)

Grmblfx5 (talkcontribs)


on my wiki pages, I used the extension "NiceCategoryList2" to get a complete TOC on my starting page, as you can see here:

Unfortunately, the extension isn't maintained anymore, so I need an alternative after updating.

I tried "categorytree" and "DynamicPageList3" but wasn't able to get the same result (categories as headings, subpages as links).

For "DynamicPageList3" I studied the manual but didn't find a support page or forum to ask.

Can anyone tell me if or how I can get a complete table of contents on a wiki-page?

Thank you!

Jonathan3 (talkcontribs)

I'm pretty certain this would be possible with DPL3 - I need to do something similar and if I manage it I'll add a message here.

Jonathan3 (talkcontribs)

Just read your comments on your other topic. It's definitely possible to use recursion in DPL3 to display the category/page structure from a named top category (or alternatively to use separate sub-templates/queries for whatever level you want to go down to). I've got this working but it is similar to CategoryTree in that it displays the categories as links too, which is not what you want. I hope it will be possible to add some sort of "if" statement in the middle of the DPL3 query to show the categories as text (maybe even headings) rather than links. Maybe wishful thinking.

Reply to "Showing a complete table of contents (categories and pages)" (talkcontribs)

Hello, I have found that loading speed when reading some specific documents using the MediaWiki is slower than other documents.

I checked the commonality of slow loading documents to see what's wrong with them, and I found that I used InstantComons to insert files from Wikipedia Commons.

I'd like to know what caused this case.

Platonides (talkcontribs)

When I had this problem some years ago and digged into it, found that InstantCommons performs the image checks sequentially which, when you are using many images, is slow and user noticeable (specially taking into account that you are performing remote connection).

Reply to "InstantCommons problem"

A few Errors that I can't resolve after upgrade to 1.32

Summary by Tfreezer

Basically many of the extensions that are outdated were causing all of the errors in my wiki. I appreciate all of the support from the users on this Support page!!! Thank you again!!

Tfreezer (talkcontribs)


MediaWiki - 1.32 (installed from 1.25)

php - 7.2

mysql - 5.5

I been reading for a few hours to resolve some of my issues with my upgrade to 1.32 from 1.25. I have edited the LocalSettings to show more details on the errors and was able to disable some of the extensions that were causing errors. I am still unable to fix the following:

Deprecated: Use of Using $ceAllowConfirmedEmail is deprecated, please migrate to $wgAllowConfirmedEmail as a replacement. is deprecated. [Called from require_once in /homepages/26/d386183563/htdocs/mediawiki/includes/Setup.php at line 938] in /homepages/26/d386183563/htdocs/mediawiki/includes/debug/MWDebug.php on line 309

Warning: Html::inlineScript: Illegal character sequence found in inline script. [Called from Html::inlineScript in /homepages/26/d386183563/htdocs/mediawiki/includes/Html.php at line 578] in /homepages/26/d386183563/htdocs/mediawiki/includes/debug/MWDebug.php on line 309

I can't seem to figure out what migrate to $wgAllowConfirmedEmail means or how to do this?

The warning, I can't figure out what this is about either?

Another issue on the site is that I get the following error when I click on the Specials pages (many other errors are now appearing on the top as well)

Internal Error

XOjAL0rQOi8AAD8wnV8AAAAZ] /index.php?title=Special:SpecialPages Error from line 50 of /homepages/26/d386183563/htdocs/mediawiki/extensions/UserAdmin/SpecialUserAdminPanel.class.php: Call to undefined function wfMsg()


#0 /homepages/26/d386183563/htdocs/mediawiki/includes/specialpage/SpecialPageFactory.php(402): SpecialUserAdminPanel->__construct()

#1 /homepages/26/d386183563/htdocs/mediawiki/includes/specialpage/SpecialPageFactory.php(432): MediaWiki\Special\SpecialPageFactory->getPage(string)

#2 /homepages/26/d386183563/htdocs/mediawiki/includes/specials/SpecialSpecialpages.php(56): MediaWiki\Special\SpecialPageFactory->getUsablePages(User)

#3 /homepages/26/d386183563/htdocs/mediawiki/includes/specials/SpecialSpecialpages.php(44): SpecialSpecialpages->getPageGroups()

#4 /homepages/26/d386183563/htdocs/mediawiki/includes/specialpage/SpecialPage.php(569): SpecialSpecialpages->execute(NULL)

#5 /homepages/26/d386183563/htdocs/mediawiki/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL)

#6 /homepages/26/d386183563/htdocs/mediawiki/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

#7 /homepages/26/d386183563/htdocs/mediawiki/includes/MediaWiki.php(860): MediaWiki->performRequest()

#8 /homepages/26/d386183563/htdocs/mediawiki/includes/MediaWiki.php(517): MediaWiki->main()

#9 /homepages/26/d386183563/htdocs/mediawiki/index.php(42): MediaWiki->run()

#10 {main}

I would greatly appreciate any help to get these error fixed and the site back to normal. Thank you so much!

Tfreezer (talkcontribs)

Update: I tried to edit a page and was having a fatal error, dealing with QuestyCaptcha. I was able to update the code in LocalSettings and it fixed the issue. I was able to edit pages now. Also it removed the first error I mentioned above (AllowConfirmedEmail). The only error that pops up on all of the pages now is the Warning Html.... error as stated above. Also the Special Pages is still very much not working as well.

I will keep at it!

星耀晨曦 (talkcontribs)

It seems that the exception is brought by UserAdmin extension. As you see, the extension just support MediaWiki 1.16.x - 1.19.x, that means this extension is not compatible with MW 1.32. The error messages say Call to undefined function wfMsg(), wfMsg() function was removed in 1.27 (deprecated since 1.18).

You should remove this extension or replace it with an extension with the same feature.

Tfreezer (talkcontribs)

Thank you very much. This fixed the issue of being able to get the special pages working. Greatly appreciated.

Any thoughts on the other Warning: Html::inlineScript: Illegal character sequence... error?

I am wondering if i should just use a fresh 1.32 localsetting.php file and just copy over extensions one by one from my old file to see if it works... is that a good or bad idea... and how could i get a clean localsetting file for 1.32?

Thank you

星耀晨曦 (talkcontribs)

The template for LocalSettings.php is here.

星耀晨曦 (talkcontribs)

But it may not be the cause of the warning. Can you explain the reproduce steps?

Tfreezer (talkcontribs)

the warning simply appears at the top of the wiki when I go to the site. you are welcome to view it.

(its kinda hard to read on the site) but here is what the warning says:

Warning: Html::inlineScript: Illegal character sequence found in inline script. [Called from Html::inlineScript in /homepages/26/d386183563/htdocs/mediawiki/includes/Html.php at line 578] in /homepages/26/d386183563/htdocs/mediawiki/includes/debug/MWDebug.php on line 309

星耀晨曦 (talkcontribs)

FYI, if the javascript that will be output contain the sequence <script or </script, the warning will be trigger. But I don't know where these wrong javascript came from, I am not familiar with this aspect.

星耀晨曦 (talkcontribs)

Of course, you can choose to set display_errors in php.ini to off to prevent error messages from being sent to client.

Tfreezer (talkcontribs)

Thank you for the help you have given so far, I really appreciate it!!!

I have been looking for the php.ini file for a while now and can't seem to locate it.

Regarding the javascript: I am not sure either... It doesn't seem to be affecting the functionality at this point. Are there any maintenance programs I can run to maybe solve this problem?

星耀晨曦 (talkcontribs)

> I have been looking for the php.ini file for a while now and can't seem to locate it.

If you can access shell and put php executable file to $PATH, execute php --ini, the output will prompt the location of php.ini. if you can't access shell or can't find php executable file, put


to a new file and upload to website then access it via browser.

> Are there any maintenance programs I can run to maybe solve this problem?

This cannot be fixed by the maintenance script. My guess the JS code comes from an extension. You can try to disable the extensions that are not maintained by WMF to rule out the possibility.

Tfreezer (talkcontribs)

ok I can try and systematically remove extensions.. to see if that comes up with anything.

Regarding the php.ini. I ran that file and it shows me a location... /etc/php7.2/php.ini - would this be located on my hosting company's side as I am unable to find it in the mediawiki folders? Thank you again for all your help!

星耀晨曦 (talkcontribs)

> a location... /etc/php7.2/php.ini - would this be located on my hosting company's side as I am unable to find it in the mediawiki folders?

This is expected. php.ini is PHP config file, that is not a part of MediaWiki.

Tfreezer (talkcontribs)

So I found the issue!... yay!!! it was an extension that was causing the problem... was an old one called MultiMediaPlayer. Thank you so much for your help! I really appreciate it.

I know this last question isn't an error persay, but I used to have all of my Category pages in 3 columns, now they are defaulting back to a single column. Can you direct me on which file to edit. Ive looked Help:Categories#Sort key and Help:Sorting but it doesnt seem to answer this question (that I can tell)

Here is what it currently looks like

Here is what i want it to sort like: Category:Extensions by category

AhmadF.Cheema (talkcontribs)
Tfreezer (talkcontribs)
Tfreezer (talkcontribs)

Yeah its working, I just needed to clear out my browser cache.Thank you all so much for your help!!!

Extarys (talkcontribs)

I'm not sure if I should ask this in the talk page of the related subject or here as I saw a warning trying to add a topic there. So I'm posting here.

I have a template and I'm trying to include a table in it

{{{{BASEPAGENAME}}/bubble | content = {{{!}} {{!}} my cell {{!}}- {{!}} my cell {{!}}} }} (Wrong formatting I don't know how to fix it)

But the result is the 'bubble' with raw wikitext in it. Any idea what could cause this and how I can fix it? :) Cheers!

Jonathan3 (talkcontribs)

What about just sending |mycell1=...|mycell2=... and having the table wikitext in the template itself?

Extarys (talkcontribs)

What you are saying is that it's impossible? :( I could create a second template based on the first one for this purpose... I'll investigate, thanks for the idea.

Reply to "Include a table in a template"
2003:DE:AF23:6100:4164:2072:556B:5ED8 (talkcontribs)

I am using Media Wiki 1.32.1. I would like to include a video in mp4 format.

Can someone tell me which extension I need?

What are your experiences?

Victwana (talkcontribs)

My experience is very limited as it been few days ago I've been using or joined Wikipedia.

AhmadF.Cheema (talkcontribs)
2003:DE:AF23:6100:84CB:6414:DFA1:A917 (talkcontribs)

Thank you for the tip. But when I add the extension to the localSettings.php

wfLoadExtension( 'TimedMediaHandler' );

I can't reach my side anymore. The wiki website is then white.

AhmadF.Cheema (talkcontribs)
2003:DE:AF23:6100:E0C8:4FCE:B5BB:E074 (talkcontribs)

Can somebody give me a hint on what I can do?

Would like to use the TimedMediaHandler extension.

I get the following message in my browser:

Uncaught Exception: /var/www/vhosts/ does not exist! in /var/www/vhosts/ Stack trace: #0 /var/www/vhosts/ ExtensionRegistry->queue('/var/www/vhosts...') #1 /var/www

Malyacko (talkcontribs)

You could post version information for TimedMediaHandler and you could post a complete stacktrace (your last post is just a small part of the stacktrace) with line breaks.

2003:DE:AF23:6100:E0C8:4FCE:B5BB:E074 (talkcontribs)

Sorry about that. Here is the complete message

Fatal error: Uncaught Exception: /var/www/vhosts/ does not exist! in /var/www/vhosts/ Stack trace: #0 /var/www/vhosts/ ExtensionRegistry->queue('/var/www/vhosts...') #1 /var/www/vhosts/ wfLoadExtension('TimedMediaHandl...') #2 /var/www/vhosts/ require_once('/var/www/vhosts...') #3 /var/www/vhosts/ require_once('/var/www/vhosts...') #4 /var/www/vhosts/ require('/var/www/vhosts...') #5 {main} thrown in /var/www/vhosts/ on line 107

Malyacko (talkcontribs)

My previous comment asked for version information for TimedMediaHandler and a complete stacktrace (having every line end in "..." is not a complete stacktrace), but anyway: /var/www/vhosts/ does not exist!

So you have to find out why it does not exist. And explain how exactly you install TimedMediaHandler.

AhmadF.Cheema (talkcontribs)

From where exactly did you download the Extension:TimedMediaHandler files (or maybe you didn't)?

What is the version of your MediaWiki?

Can you provide a link to your Wiki?

2003:DE:AF23:6100:E0C8:4FCE:B5BB:E074 (talkcontribs)

During the installation of the TimedMediaHandler in the LocalSettings.php the directory wiki/extensions/

the TimedMediaHandler extension or folder is not created.

2003:DE:AF23:6100:E0C8:4FCE:B5BB:E074 (talkcontribs)

I defined the extension in Localsettings.php as follows: wfLoadExtension( 'TimedMediaHandler' );

The version of the Media Wiki is 1.32.1

Corraggiouno (talkcontribs)
AhmadF.Cheema (talkcontribs)

Have you followed this step:

  • Download and place the file(s) in a directory called TimedMediaHandler in your extensions/ folder.
Corraggiouno (talkcontribs)

Okay, that worked. Great. The Wiki page is available again. I also did an update. What I unfortunately noticed. If I want to upload a video (about 20 MB) mp4, then I get the following message: [55fbb821de0d3c8f870f2623] 2019-05-23 14:30:20: Fatal exception error of type "Error 

AhmadF.Cheema (talkcontribs)

For the "Fatal exception error", in your LocalSettings.php, set:

$wgShowExceptionDetails = true;

$wgDevelopmentWarnings = true; error_reporting( -1 ); ini_set( 'display_errors', 1); error_reporting(E_ALL);

and then perform the same actions which led to the fatal error. This should provide a more detailed error description.

Corraggiouno (talkcontribs)

Thank you so much for your help. This is my output:

/wiki/extensions/TimedMediaHandler/includes/handlers/Mp4Handler/Mp4Handler.php(12): ID3Handler->getID3(string)

/httpdocs/wiki/extensions/TimedMediaHandler/includes/handlers/ID3Handler/ID3Handler.php(51): Mp4Handler->getID3(string)

t/httpdocs/wiki/includes/utils/MWFileProps.php(84): ID3Handler->getMetadata(FSFile, string)

httpdocs/wiki/includes/upload/UploadBase.php(509): MWFileProps->getPropsFromPath(string, string)

httpdocs/wiki/includes/upload/UploadBase.php(444): UploadBase->verifyPartialFile()

httpdocs/wiki/includes/upload/UploadBase.php(347): UploadBase->verifyFile()

httpdocs/wiki/includes/upload/UploadFromFile.php(95): UploadBase->verifyUpload()

/httpdocs/wiki/includes/specials/SpecialUpload.php(503): UploadFromFile->verifyUpload()

httpdocs/wiki/includes/specials/SpecialUpload.php(207): SpecialUpload->processUpload()

httpdocs/wiki/includes/specialpage/SpecialPage.php(569): SpecialUpload->execute(NULL)

/wiki/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL)

/wiki/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

/httpdocs/wiki/includes/MediaWiki.php(860): MediaWiki->performRequest()

t/httpdocs/wiki/includes/MediaWiki.php(517): MediaWiki->main()

/wiki/index.php(42): MediaWiki->run()

#15 {main}

Ciencia Al Poder (talkcontribs)

That's the stack trace but not the error message. The extension may be missing the id3 library, that you need to get with composer.

Inside the TimedMediaHandler extension directory, run:

composer install --no-dev
Corraggiouno (talkcontribs)

I don't have SSH access. But I have the alternative via


   "extra": {

       "merge-plugin": {

           "include": [






Added to the DAtei composer.json. Unfortunately I still get the error message

extensions/TimedMediaHandler/includes/handlers/ID3Handler/ID3Handler.php: Class 'getID3' not found

Ciencia Al Poder (talkcontribs)

Without running composer, adding that line won't do anything...

You can download the TimedMediaHandler folder to your PC, run composer locally to get the id3 library, and upload it again to the server

Corraggiouno (talkcontribs)

Thank you. What else do I need (I have a PC with Windows) so that I can even use the command

composer install --no-dev

can execute?

Malyacko (talkcontribs)
Corraggiouno (talkcontribs)

Hi. I did the composer installation locally and that worked so far.

Loading composer repositories with package information

Updating dependencies

Package operations: 1 installation, 0 updates, 0 distances, 0 distances

  - Installing james-heinrich/getid3 (v1.9.17): Download (100%)

Writing a lock file

Creating autoload files

Then I uploaded the folder TimedMediaHandler again. Unfortunately I still get the following error message:

Warning: require(/var/wwww/vhosts/ Stream could not be opened: No such file or directory in /var/wwww/vhosts/ on line 109

Warning: require(/var/wwww/vhosts/ Stream could not be opened: No such file or directory in /var/wwww/vhosts/ on line 109

Serious error: require(): Failed opening required '/var/wwww/vhosts/' (include_path='/var/wwww/vhosts/') in /var/www/vhosts/ on line 109

Reply to "Video extension"
Summary by Kghbln

Ask the people at (talkcontribs)

hello, I need to remove a resume stored in a ADEMPIEREBR repository but I can not access it with the user which I registered at some time and the page does not help me

Malyacko (talkcontribs)

Why do you think this is related to MediaWiki?

I need to remove a resume stored in a ADEMPIEREBR repository

Summary by Kghbln

Ask the people at (talkcontribs)

hello, I need to remove a resume stored in a ADEMPIEREBR repository but I can not access it with the user which I registered at some time and the page does not help me

I need to remove the file that is in that location

can you help me please ???

Kghbln (talkcontribs)

What makes you believe that someone here may help you with removing content from a random website?

UploadStashFileException when uploading image in Visual Editor

Czech.Fox (talkcontribs)

Hello, after update to MW 1.32.1 (Windows Server 2008 R2, PHP 7.1.14, MariaDB 5.5.5-10.3.14) it is not possible to upload image through interface of Visual Editor. The dialog returns a strange error after click "Upload".

Could not store upload in the stash (UploadStashFileException): "Could not store file "D:\Wiki\Dev/App_Data/temp/chunkedupload_cb59cde85454" at "mwstore://local-backend/local-temp/2/29/20190520131613!chunkedupload_cb59cde85454.".".

However, it is possible to upload file through Special:Upload page.

Any idea ?

Thank you

星耀晨曦 (talkcontribs)

In any case, you can always upload files via Special:Upload.

Reply to "UploadStashFileException when uploading image in Visual Editor"

Add custom html menu on top of the page, and padding down content.

4 (talkcontribs)


I'm trying to find a way to add a custom html menu to the top of the page, which in result will pad down everything else in the page. What are the files I should edit?

It should look something like this (image from similar thread on SO):

I've tried in vectortemplate.php, but it keeps adding the content under main page.

Thank you in advance!

Malyacko (talkcontribs) (talkcontribs)

I've checked this, but it's not what i'm looking for. This adds custom content in the content.

Malyacko (talkcontribs)

Add your customization to the <div id="mw-header-container"> before <div id="mw-header">?

Reply to "Add custom html menu on top of the page, and padding down content."