Project:Support desk

Jump to: navigation, search

About this board

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

There are also other places where to askCommunication: IRCCommunication#Chat, mailing listsMailing lists, Q&A etc.

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".
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL

Make certain pages exempt from Special:Random

Tribly (talkcontribs)

Is it possible to make certain pages exempt from showing up when someone clicks on the Special:Random button? (talkcontribs)

Yes, it is. You can use the Extension:ExcludeRandom, which does exactly that.

If you don't want to use an extension, you can use the hook SpecialRandomGetRandomTitle to modify the criteria used to get a random page.

Tribly (talkcontribs)

Cool! Thanks!

Extension:Semantic Glossary plural variant

Koalopete (talkcontribs)

Hi, how do I get the plural variant of a term into the definition so that "website" and "websites" share the same definition? cheers

Reply to "Extension:Semantic Glossary plural variant"
2602:306:3AEE:2F60:79F7:D003:5B98:EFED (talkcontribs)

create an account

AKlapper (WMF) (talkcontribs)

Do you have a question? Could you elaborate please where to create an account exactly?

Reply to "talamantezjesse0"

Error creating thumbnail: Unable to save thumbnail to destination

Summary by AKlapper (WMF)

Resolved according to author

Kiwkius (talkcontribs)

MediaWiki 1.26.2

PHP 5.5.9-1ubuntu4.17 (apache2handler)

MySQL 5.5.49-0ubuntu0.14.04.1

ICU 52.1

Kiwkius (talkcontribs)

It has been resolved.

Kiwkius (talkcontribs)

MediaWiki 1.26.2

PHP 5.5.9-1ubuntu4.17 (apache2handler)

MySQL 5.5.49-0ubuntu0.14.04.1

ICU 52.1

AKlapper (WMF) (talkcontribs)

Does Extension:VisualEditor#Troubleshooting help? If not, could you elaborate?

Reply to "VisualEditor Not Working"

Session Hijacking error after Update 1.19.14

7 (talkcontribs)


after updating my Intranet-Wiki to Mediawiki 1.19.14 I receive an error on every Password Reset. This can be reproduced by all users: There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again.

I already tried different things, but can't find a solutiong. My /tmp is writeable. I am using Mediawiki 1.19.14, PHP 5.3.10, MySQL 5.5.35 on an Ubuntu 12.04 LTS. Can anybody please help on this issue?

Thanks in Advance.

AKlapper (WMF) (talkcontribs)

Who triggers that error? MediaWiki itself? Your browser? (talkcontribs)

The error ist triggered by Mediawiki. I commented out the Diffs which came with MW 1.19.14 to includes/special/SpecialChangePassword.php and the errors dissapear.

AKlapper (WMF) (talkcontribs) lists bugzilla:62497 as the culprit. You might want to provide browser information and bring it up there.

Grunny (talkcontribs)

This was a mistake in the backport to MW 1.19.14. I already sent a patch for it to Markus to see if we can get the fix released. If you want to fix it in the mean time, open up includes/specials/SpecialChangePassword.php go to line 154 which should be:

			$loginOnChangeToken = LoginForm::getLoginToken();

And change it to:

			$loginOnChangeToken = Html::hidden( 'wpLoginOnChangeToken', LoginForm::getLoginToken() ); (talkcontribs)

This fix works, thank you very much! (talkcontribs)

The error here occurred in a MediaWiki v1.16.5 install in BlueOnyx server. The Apache error log exceeded 3.2GB was corrected by purging it with:

Reply to "Session Hijacking error after Update 1.19.14"
TraaBBIT (talkcontribs)


I have MW version 1.26

I installed WikiEditor but it is not displayed.

wfLoadExtension( 'WikiEditor' );

# Enables use of WikiEditor by default but still allows users to disable it in preferences

$wgDefaultUserOptions['usebetatoolbar'] = 1;

# Enables link and table wizards by default but still allows users to disable them in preferences

$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

# Displays the Preview and Changes tabs

$wgDefaultUserOptions['wikieditor-preview'] = 1;

# Displays the Publish and Cancel buttons on the top right side

$wgDefaultUserOptions['wikieditor-publish'] = 1;

AhmadF.Cheema (talkcontribs)

Can you verify that this extension shows up in your Wiki's Special:Version page?

Ciencia Al Poder (talkcontribs)
  • Check Special:Version on your wiki and see if it's listed as an installed extension
  • Be sure you have the Enable enhanced editing toolbar preference turned on (save your preferences just in case)
  • Open the error console of your browser to see if there's any JavaScript error. You can open it usually hitting F12. If other parts of the site that require JavaScript aren't also working (search suggestions, collapsible sections) this may be the problem.
TraaBBIT (talkcontribs)


MediaWiki - 1.26.3

PHP - 5.5.33 (cgi-fcgi)

MySQL - 5.6.28

IUC - 52.1

WikiEditor - 0.5.0

I restore my preferences to default.

In error console I have that:


Internal error

Internal error

Problematic modules: {"startup":"error"} load.php:8:39

<anonimowa> load.php:8


index.php:373 Uncaught ReferenceError: $ is not defined Uncaught TagError: adsbygoogle.push() error: No slot size for availableWidth=119

index.php?title=Eddard_Stark&action=edit:1 Refused to execute script from '' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. Failed to load resource: net::ERR_TUNNEL_CONNECTION_FAILED

Enabler.js:100  [  0.007s] [studio.sdk]

Enabler.js:100  [  0.010s] [studio.sdk]

2Enabler.js:100  [  0.045s] [studio.sdk] Asset properties have been set by host.

2Enabler.js:100  [  0.045s] [Enabler] ad visible Failed to load resource: the server responded with a status of 404 ()

2Enabler.js:100  [  1.053s] [studio.sdk] Using default ad parameters in test environment. Simulating local events.

My webpage is

If You can please register there and check it by Yourself.

Ciencia Al Poder (talkcontribs)

It says: Fatal error: Class 'ResourceLoaderSchemaModule' not found in /home/budrysl2/domains/ on line 563

I'm wondering if you did an upgrade from older version, and some files failed to overwrite new ones? (that shouldn't happen if you follow instructions of Manual:Upgrading (talkcontribs)

See also Topic:T6f0rvawtv3ktjnk.

I think the problem behind both of these issues is the same: The upgrade has been done incorrectly. The dependencies are missing.

This is not the first issue of that kind in the last days - Trabbit, have you followed the Upgrade guide?

TraaBBIT (talkcontribs)

Yes, I followed the Upgrade guide.

Maybe I should upload MW files again and run update.php again?

TraaBBIT (talkcontribs)

WikiEditor is still not displayed

Ciencia Al Poder (talkcontribs)

And the error message in load.php is still present

ResourceLoaderSchemaModule class is provided by Extension:EventLogging. This extension is required by Extension:GettingStarted, which you have installed, but you don't have EventLogging

Reply to "WikiEditor is not displayed"

Is it possible to have loop in category hierarchy?

Franklin Yu (talkcontribs)

For example, category A < category B < category C < category A (where "<" means "is sub-category of"). If possible, how do we prevent/detect that?

Ciencia Al Poder (talkcontribs)

It is possible, and there's no way to prevent that AFAIK. The operation to find such a loop may be expensive, imagine traversing the chain of thousands of categories on Wikipedia... Doing this may require a Maintenance script, or a bot that would download all categories and constructing the tree client-side. I've done a quick search to see if Pywikibot has a script to do this but I haven't found it.

Franklin Yu (talkcontribs)

Thank you. I believe detecting the cycles regularly (annually or monthly) is expensive (roughly time and memory each time, since in most Wikipedia it is a sparse graph). However, I am wondering whether it would be less expensive to detect once, and monitor for change? Categories does not get changed frequently.

Ciencia Al Poder (talkcontribs)

Well, it depends on how long a chain of categories can be, because the code would need to perform a query for each step of the chain to find the parent one, because there's no way to retrieve the entire chain on a single query, unless a new table is created tracking all subcategories of a given category recursively.

This check can also be triggered more often than you think, for example, adding/changing a category on a template used on a lot of pages.

Anyway, feel free to request such a feature on phabricator

Reply to "Is it possible to have loop in category hierarchy?"
TraaBBIT (talkcontribs)


After upgrading MW to 1.26 when I want to go to MediaWiki:Vector.css I grt error:

Fatal error: Class 'Symfony\Component\Process\ProcessBuilder' not found in /home/budrysl2/domains/ on line 286

Could anybody help me with that? (talkcontribs)

You need to run composer install in geshi's directory

TraaBBIT (talkcontribs)


So I need to install composer in GeSHi folder? (talkcontribs)

Yes, you need to run the command composer install in that folder. Once that finished successfully, you can delete the composer file again.

The other option is that you take the files from the tarball. For the tarball, which contains the extensions (it is the bigger one on, this tarball will already contain the things, so that you do not have to use composer at all.

TraaBBIT (talkcontribs)

So it is from this site:

and this file:



This comment was hidden by (history) (talkcontribs)

Exactly, the file mediawiki-1.26.3.tar.gz will contain what you need.

TraaBBIT (talkcontribs)

I deleted all from SyntaxHighlight_GeSHi catalog and upload files from mediawiki-1.26.3.tar.gz.

Still have this error:

Fatal error: Class 'Symfony\Component\Process\ProcessBuilder' not found in /home/budrysl2/domains/ on line 286

TraaBBIT (talkcontribs)

I fixed that.

I go to SyntaxHighlight_GeSHi catalog.

There instal again composer and then run:

php composer.phar require symfony/finder

to instal Symphony

Nobita931 (talkcontribs)

Hello. I want install the wikia skin on my wiki. I can install the wikia skin in my wiki?

AhmadF.Cheema (talkcontribs)

I don't know if things have changed or not, but this was the case two years ago: Thread:Project:Support desk/Wikia's Oasis Skin

Reply to "Skin"