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 日本語 中文

TimedMediaHandler won't transcode anything

Eluphay (talkcontribs)

TimedMediaHandler won't transcode anything, am not really qualified to be making my own wiki, but so far i have gotten most things to work, this is one of two things i can't seem to get to work, am making a local only site just for me and my friends to screw around with, so it does not need to be able to handle work outside of the local network.

it keeps saying, failed transcodes, in the Special:TimedMediaHandler part of the site

i suspect that i might have not setup the locations of the trancoders properly, perhaps someone that knows more could check them for me...

$wgFFmpegLocation = 'C:/Bitnami/wampstack-7.1.30-0/ffmpeg413/bin';

windows location is.... C:\Bitnami\wampstack-7.1.30-0\ffmpeg413, do i included the bin that contains the exes?

$wgFFmpeg2theoraLocation = 'C:/Bitnami/wampstack-7.1.30-0/ffmpeg2theora';

windows location is.... C:\Bitnami\wampstack-7.1.30-0\ffmpeg2theora, exe is in the actual folder on this one.

$wgOggThumbLocation = 'C:/Bitnami/wampstack-7.1.30-0/php/OggTools/bin';

Windows location is... C:\Bitnami\wampstack-7.1.30-0\php\OggTools\bin, do i included the bin that contains the exes?

TimedMediaHandler 0.6.0 (5d59610)21:40, June 13, 2019

Installed software

Product Version
MediaWiki 1.32.1
PHP 7.3.7 (apache2handler)
MySQL 5.7.23
ICU 64.2
Lua 5.1.4

if anyone needs more information, please let me know what they need and i'll try get it for them.

Ciencia Al Poder (talkcontribs)

$wgFFmpegLocation should point to the full path of ffmpeg, not only the folder where it's placed. I guess it should be C:/Bitnami/wampstack-7.1.30-0/ffmpeg413/bin/ffmpeg.exe or similar. The same for other settings.

Eluphay (talkcontribs)

awesome, that seems to have solved the access problem, now i just need to fix my other issues

Eluphay (talkcontribs)

am now getting this error instead,

Error creating thumbnail: "C:/Bitnami/ff/ffmpeg.exe" -threads 1 -ss 137 -y -i "C:\Bitnami\wampstack-7.1.30-0\apps\mediawiki\htdocs/images/b/b0/video.webm" -ss 3 -s 720x480 -f mjpeg -an -vframes 1 "C:\Windows\TEMP/transform_6ca548108731.jpg" 2>&1 wgMaxShellMemory: 32768000 The filename, directory name, or volume label syntax is incorrect.

Ciencia Al Poder (talkcontribs)

The problem seems to be the "2>&1" part of the command executed, which only works on bash shell (linux) and not on Windows. If you can locate it on the code, just remove it and it should work. That's worth a BUGREPORT

Eluphay (talkcontribs)

okay removed the 2>&1 part of the command in TimedMediaThumbnail.php,

now it just says...

Error creating thumbnail: "C:/Bitnami/ff/ffmpeg.exe" -threads 1 -ss 137 -y -i "C:\Bitnami\wampstack-7.1.30-0\apps\mediawiki\htdocs/images/b/b0/video.webm" -ss 3 -s 720x480 -f mjpeg -an -vframes 1 "C:\Windows\TEMP/transform_6ca548108731.jpg" 2>&1 wgMaxShellMemory: 32768000

Ciencia Al Poder (talkcontribs)

There's still a 2>&1 somewhere...

Eluphay (talkcontribs)

Error creating thumbnail: "C:/Bitnami/ff/ffmpeg.exe" -threads 1 -ss 137 -y -i "C:\Bitnami\wampstack-7.1.30-0\apps\mediawiki\htdocs/images/b/b0/video.webm" -ss 3 -s 720x480 -f mjpeg -an -vframes 1 "C:\Windows\TEMP/transform_c415afd9e35c.jpg" wgMaxShellMemory: 32768000

got rid of it, still nothing

Eluphay (talkcontribs)

i forgot to save the changes to TimedMediaThumbnail.php, i was being an idiot, sorry about that

Eluphay (talkcontribs)

still nothing though

Ciencia Al Poder (talkcontribs)

Can you open CMD and execute the command directly?

"C:/Bitnami/ff/ffmpeg.exe" -threads 1 -ss 137 -y -i "C:\Bitnami\wampstack-7.1.30-0\apps\mediawiki\htdocs/images/b/b0/video.webm" -ss 3 -s 720x480 -f mjpeg -an -vframes 1 "C:\Windows\TEMP/transform_c415afd9e35c.jpg"
Reply to "TimedMediaHandler won't transcode anything"

Chinese variants conversion problems

Winston Sung (talkcontribs)

In Chinese-translated pages on this site, every conversion markup works fine except the -{T|}- markup used for zh title conversions (same as {{DISPLAYTITLE:}} (namely Translations:Help:Extension:Translate/Translation_example/Page_display_title/zh in Help:Extension:Translate/Translation_example/zh), but {{DISPLAYTITLE:}} cannot make any conversions, so the -{zh:Chinese content;zh-hans:Simplified Chinese content;zh-hant:Traditional Chinese content;}- markup doesn't work in the Page_display_title section), maybe the problem is the page “Translations:Help:Extension:Translate/Translation_example/Page_display_title/zh transcluded in Help:Extension:Translate/Translation_example/zh” by Extension:Translate will override the -{T|}- markup, so neither the the -{T|}- markup parameter “T” in Template:NoteTA works.

How can we fix it, or maybe it's a bug?

MarkAHershberger (talkcontribs)
Winston Sung (talkcontribs)


Amire80 (talkcontribs)

This question is more for @Nikerabbit as the Translate extension expert, and maybe even more so for @Cscott as an expert in both the Parser and the Language converter.

Reply to "Chinese variants conversion problems"

Wow -- been a long time since I have needed help

2601:881:8100:8F22:AD73:90D2:CD44:8ACA (talkcontribs)

Ron, W5RRP here. Long time user, been off air for a couple weeks. Suddenly HRD and my IC7300 have decided not to communicate. HRD is unable and for the life of me I cant even figure out how to sign in. The problem is that HRD is not able to read frequencies on my receiver. I guess I getting old (75), and it is really frustrating. I simply can't figure out what to do. I've tried lots of things, but nothing seems to work. Saturday evening now, and I've got to go to bed 'cause I'm a clergy person, and soon it will be Sunday morning. I will be available after 2:00 p.m. (edt) pm Sunday. What can I say other than "PLEASE HELP

AhmadF.Cheema (talkcontribs)

Apologies, but unfortunately you're on the wrong support forum.😕

Reply to "Wow -- been a long time since I have needed help"

"MediaWiki:Cite references prefix" no longer exists -> how to add headline to citations?

Stefahn (talkcontribs)

I use <references /> in a template for all my articles. If there's at least one reference in the wikitext, the references are shown and via MediaWiki:Cite references prefix a headline was shown for the references. This worked fine in MediaWiki 1.27.

Now I updated to MediaWiki 1.31 and I found that MediaWiki:Cite references prefix no longer exists. What is the new equivalent to it?

Extension:Cite doesn't say anything about it.

MarkAHershberger (talkcontribs)
Reply to ""MediaWiki:Cite references prefix" no longer exists -> how to add headline to citations?"

Can see thumbnails but not full-sized images

Summary by TheBGPMan

Issue was in the two following lines, as pointed in Mark's response:

$wgUploadDirectory = "images";

$wgUploadPath = "images/img";

Which were changed to:

$wgUploadDirectory = "$IP/images/img";

$wgUploadPath = "$wgScriptPath/images/img"; (talkcontribs)

When I upload an image I can see the thumbnail in my article.

But when I click the thumbnail I cannot see the full-sized image.

Any idea as of why this would be happening?

AhmadF.Cheema (talkcontribs)

On viewing the full-sized image, does the Console section of the browser developer tools (F12) give any errors? (talkcontribs)
MarkAHershberger (talkcontribs)

It looks like $wgServer or a related setting is wrong. It should not have "index.php" in it.

TheBGPMan (talkcontribs)

I just created an account.

My $wgServer line reads as following:

$wgServer = "h ttp: // example. com:9000";

I was having issues with it before so I had to edit it to include the port number since I'm not using port 80.

I'm still trying to isolate what could be causing this issue.

MarkAHershberger (talkcontribs)

Is index.php mentioned anywhere in your LocalSettings.php? If not, could you paste it here with your passwords removed?

TheBGPMan (talkcontribs)

I have edited the personal information, passwords and keys:

TheBGPMan (talkcontribs)

There's only one line with index.php but it's just a comment.

MarkAHershberger (talkcontribs)

Do you have short urls enabled on your wiki? Or anything in a .htaccess file at the top level?

MarkAHershberger (talkcontribs)

Your problem is likely the $wgUploadDirectory and/or $wgUploadPath. You probably want something like:

$wgUploadDirectory = "$IP/images";
$wgUploadPath = "$wgScriptPath/images/img";
TheBGPMan (talkcontribs)

Hi Mark, sorry for the delayed response. I just came back home.

You were right on point, I changed those fields to the following:

$wgUploadDirectory = "$IP/images/img";

$wgUploadPath = "$wgScriptPath/images/img";

And now everything is working just fine.

Thanks a lot!

Mobile version error 404

Samuelwiki12 (talkcontribs)

hello everyone, now I just need that everything I publish on is published on

AhmadF.Cheema (talkcontribs)
Reply to "Mobile version error 404"

Sphinx (Read the Docs) Documentation conversion to Mediawiki ?

Sevan2911 (talkcontribs)

Hello Friends,

i am new to this so please bare with me: I was presented a documentation which was made in Sphinx and uses the "read the Docs" theme. Now i am not familiar with any of this but i was asked to set up a Mediawiki where all that stuff should be transfered to. Now i am asking you if anyone knows how i could pull that off ? Is there any way i can convert every "Page" of the Sphinx/RtD Documentation into my wiki ?

Thanks in Advance

Malyacko (talkcontribs)
Reply to "Sphinx (Read the Docs) Documentation conversion to Mediawiki ?"

30 days more and my editing is still review

2 (talkcontribs)

Please help me,

I have 3 article ,I edited them, but still review.

why this review take more longer than usual ? thanks

DannyS712 (talkcontribs)

can you elaborate? You don't appear to have made other edits to this site, no I'm assuming you are talking about a different wiki

Reply to "30 days more and my editing is still review"

How reliable is MediaWIki? How to make MediaWiki more reliable?

Shendaowu (talkcontribs)

Reliable like a page won't be lost. Can mediaWiki be more reliable without extensions?

MarkAHershberger (talkcontribs)

Once you create a page in MediaWiki, the contents are stored in the database.

The only way a page could be "lost" by MediaWiki is if there is a bug that causes the deletion. If you run MediaWiki without any extensions, then a bug like that would be very, very, very surprising since people have used MediaWiki to store millions if not billions of pages.

A page could also be lost because of database corruption, but this, too, is extremely unlikely unless you have other problems with your physical computer.

Malyacko (talkcontribs)

Please provide clear information how you measure how "reliable" some software is.

In general, you can make MediaWiki (or your computer, or your car, or anything else) more reliable by finding wrong behavior and repairing that wrong behavior by making it right behavior.

Shendaowu (talkcontribs)

Are there any bugs that caused the page to be lost in the history of MediaWIki?

MarkAHershberger (talkcontribs)

Maybe. I'm not familiar with any that have, but if you'd like to know you can search phabricator which contains all the reported bugs. (Here is one that was first reported in 2004 on SourceForge and then moved to Bugzilla and, finally, to Phabricator, for example.)

Reply to "How reliable is MediaWIki? How to make MediaWiki more reliable?"
Samuelwiki12 (talkcontribs)

hello, greetings to the support I need your help, I have a domain which is which is mounted on mediawiki and I also want to have a mobile version which is I already have the theme for mobile and the subdomain M just need to relate the two domains that when published on is also published on as well as automatically someone between from a mobile device redirects you to, THANK YOU VERY MUCH THANK YOU VERY THANK YOU AGAINST from a mobile device redirects you to, THANK YOU VERY YOU!

please give me the code...

MarkAHershberger (talkcontribs)
Reply to "Mobile Version Subdomain"