Project:Support desk

About this board

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

(Read this message in a different language)

See also

Before you post

Post a new question

  1. To help us answer your questions, please indicate which versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  3. To start a new thread, click "Start a new topic".

What do I need to install for multi-column support on a self-hosted MediaWiki instance?

BinUnterwegs (talkcontribs)

I need to enable some sort of multi-column layout on a self-hosted MediaWiki instance. There appear to be several modules around somewhere, but...

I am completely confused by the existing documentation, so please excuse me if the answer would have been out there somewhere.

- Template:Columns uses tables and seems to have no documentation,

- Template:Div col looks interesting but seems to not offer its sources anywhere,

- is just the same,

- is another example,

- uses templates colbegin and colend but does not document how to install them on a local setup,

- only discusses many aspects of CSS and web design limitations, but offers nothing to install

So, seemingly simple question: What do I need to install, and how do I need to install it, so that my locally hosted MediaWiki instance offers some way of setting text in a multicolumn layout without using HTML tables?

Bawolff (talkcontribs)

You dont have to install anything just use css:

E.g. use <div style="columns: 2">put some text here</div>

Which makes:

put some text here. Here is some more text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse faucibus, massa vitae facilisis interdum, urna dolor vehicula magna, sit amet laoreet odio ex non tellus. Donec laoreet tempor erat rhoncus congue. Integer a vestibulum odio. Ut scelerisque, ipsum sed auctor finibus, massa neque maximus ante, aliquam sagittis ex enim non tellus. Pellentesque lectus turpis, malesuada vitae commodo sit amet, congue in diam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce quam risus, interdum vitae mi ac, varius consectetur sem.
Reply to "What do I need to install for multi-column support on a self-hosted MediaWiki instance?"

Editing Page Content via MySQL

3 (talkcontribs)

I'm attempting to edit a page's content by updating the underlying MySQL text table. By editing and committing this table, the new content flows through to the front end 'Edit' page but not the 'Read' page.

For example, I can append 'test str' within the MySQL text table. The appended 'test str' does not appear when refreshing a page, but DOES appear when going into edit the page on the front end. In other words, I can input changes via the SQL backend but have to commit them by hitting 'Save changes' on the front end.

I suspect I'm just missing a final step here in the underlying SQL. When 'Save changes' is executed on the front end in the normal process of updating an existing page, what SQL functionality or subprocess does this correspond to on the backend? (talkcontribs)

I did not solve the issue but found an effecitve work around by first updating the old_test field in the text table within the SQL and then running $ php update.php. This doesn't answer the question above but works in my use case.

For posterity, I was not able to fund the solution for the above but I suspect it has to do with updating the content_sha1, rev_sha1 and rev_len values though the problem is likely much deeper than just correctly updating these three values.

Bawolff (talkcontribs)

Don't do this, you're missing like 15 steps and causing potential referential integrity issues. There is a high liklihood that your wiki will break in mysterious ways later down the line.

If you need to edit from the command line, use edit.php maintenance script, or the api. If you are doing this because you need some way to redact some content, use RevDel

Reply to "Editing Page Content via MySQL"

Coolest Tool Award 2022: Call for nominations

MediaWiki message delivery (talkcontribs)
Reply to "Coolest Tool Award 2022: Call for nominations"

Perl issue when installing EasyTimeline

AlexGRFan97 (talkcontribs)

I have tried to install the EasyTimeline extension so that my Wiki, Gearknob, can support timelines. It has found Ploticus, since it no longer throws up that error, but after uploading a copy of Strawberry to the FTP, it is not recognising perl.exe as an application.

The error reads as thus: "Perl could not be executed: /perl/perl/bin/perl.exe is not an executable file. Make sure $wgTimelinePerlCommand is set correctly."

The executable's directory has been set as $wgTimelinePerlCommand = "$wgResourceBasePath/perl/perl/bin/perl.exe"; in LocalSettings.php and checking this in the FTP confirms it is the perl application. Yet it is not recognising it as such.

Bawolff (talkcontribs)

For starters, just to confirm, which operating system is your server running?

$wgTimelinePerlCommand = "$wgResourceBasePath/perl/perl/bin/perl.exe";

Is almost certainly wrong, as $wgResourceBasePath is a url value not a file system path (your error message also suggests that you are setting this in the wrong order and it might be uninitialized when you set wgTimelinePerlCommand). Without knowing where you put the perl binary on your server, i can't tell you what the correct value would be.

AlexGRFan97 (talkcontribs)

The server was provided by OVH, but attempts to access it with SSH in order to identify the OS, even after checking that my account had SSH privileges, I've been unable to access it after following their guide, and have received zero technical support despite multiple correspondences, a common problem many on the provider have noted. And there's no way for me to get a refund.

Foolish on my part to have not done more proper vetting before registering my domain with them, but I'll likely move to another provider next time around which is a little more receptive.

I can provide a file tree if it'll help in regards to the second part of your response, but at this point it seems more likely I'll just use Wikipedia as a proxy to generate the timelines I require in the editor and then upload the generated image to my Wiki.

Reply to "Perl issue when installing EasyTimeline"
BHPphil (talkcontribs)

I'm trying to download a table I've created in our wiki. It's not huge -- I could re-type the 20 or so rows, or paste cell contents, but I'd like to capture the current table, and take it offline. Is there a way other than print it and scrape it?

Version details:

Product Version
MediaWiki 1.35.7
PHP 7.4.30 (fpm-fcgi)
MariaDB 10.3.34-MariaDB-0+deb10u1-log
Jonathan3 (talkcontribs)

Do you mean you want the HTML version of a wikitext table?

BHPphil (talkcontribs)

That would be fine. We want to give it to something like Excel or Google Sheets, turn it into a spreadsheet.

Jonathan3 (talkcontribs)
BHPphil (talkcontribs)

OK, that looks promising. I tried to log into our wiki, now getting this. I'll start a new thread. I don't see any answers already logged on this error.

[2c54cfe70897692dd7533069] 2022-10-01 00:00:18: Fatal exception of type MWException

Jonathan3 (talkcontribs)

Yes start a new thread. You'll get asked to turn on debugging to get a better error :-)

Reply to "download a page?"

No such service: DBLoadBalancerFactory

MikleWik (talkcontribs)


I try upgrade my mediawiki 1.37.6 to 1.38.4 and I receive this error

Fatal error: Uncaught Wikimedia\Services\NoSuchServiceException: No such service: DBLoadBalancerFactory in /var/www/mediawiki1_38/vendor/wikimedia/services/src/ServiceContainer.php:468

Stack trace:

#0 /var/www/mediawiki1_38/vendor/wikimedia/services/src/ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService()

#1 /var/www/mediawiki1_38/includes/MediaWikiServices.php(294): Wikimedia\Services\ServiceContainer->getService()

#2 /var/www/mediawiki1_38/includes/MediaWikiServices.php(928): MediaWiki\MediaWikiServices->getService()

#3 /var/www/mediawiki1_38/includes/exception/MWExceptionHandler.php(136): MediaWiki\MediaWikiServices->getDBLoadBalancerFactory()

#4 /var/www/mediawiki1_38/includes/exception/MWExceptionHandler.php(201): MWExceptionHandler::rollbackPrimaryChangesAndLog()

#5 /var/www/mediawiki1_38/includes/exception/MWExceptionHandler.php(170): MWExceptionHandler::handleException()

#6 [internal function]: MWExceptionHandler::handleUncaughtException()

#7 {main}

  thrown in /var/www/mediawiki1_38/vendor/wikimedia/services/src/ServiceContainer.php on line 468

Bawolff (talkcontribs)

Can you enable your mediawiki debug log - see How to debug.

What method did you use to upgrade? Are you sure all files are for the right version of mediawiki?

Reply to "No such service: DBLoadBalancerFactory"

modifier ma page et ajouter une photo !

Voilamarie (talkcontribs)

je suis marie talon  j'ai écrit le texte de ma page wikimonde en 2014 ou je ne sais plus au juste, mais j'aimerais bien pouvoir actualiser!!!!     je ne vois pas comment faire   de plus il manque une photo je veux bien la mettre mais je n'ai toujours pas trouvé le bouton sur lequel appuyer qui me demanderait de joindre la photo en question!!

Ammarpad (talkcontribs)
Reply to "modifier ma page et ajouter une photo !"

- In Front Of Main Page Title

JulianMalcolm08 (talkcontribs)


When I load into my wiki from the url it displays a dash in front of the page title. How do I remove this? I did not add it and it appeared after I hid the redirect message to make that page the main page.

Ammarpad (talkcontribs)
Reply to "- In Front Of Main Page Title"

cirrusSearch update jobs getting into delayed queue

Pspviwki (talkcontribs)

For some reason some cirrusSearchIncomingLinkCount jobs get delayed, the count is rising and never going down; cirrusSearchIncomingLinkCount: 0 queued; 0 claimed (0 active, 0 abandoned); 72 delayed. It is not for every page update, looks random, could not find any pattern in it. showJobs.php --list shows: cirrusSearchIncomingLinkCount page_name cluster= jobReleaseTimestamp=1664451200 namespace=0 title=page_name requestId=dd390dc412db263d9a341422 (uuid=c07b189e556d4edfa172955ea1861b30,timestamp=1664451197,attempts=) status=delayed. What might be the root cause? Search is otherwise fine.

Reply to "cirrusSearch update jobs getting into delayed queue"
NGC 54 (talkcontribs)

I try to install MediaWiki 1.36.0, and I receive this error:

MediaWiki 1.36 internal error

Installing some PHP extensions is required.

Required components

You are missing a required extension to PHP that MediaWiki requires to run. Please install:

Malyacko (talkcontribs)

What is unclear with the error message and its instructions?

NGC 54 (talkcontribs)

What instructions? I have already installed MediaWiki 1.35.0 and 1.35.1, and I did not received this error.

Taavi (talkcontribs)

As noted in the MediaWiki 1.36 upgrade notes, 1.36 and newer require the php intl extension. What instructions? "You are missing a required extension to PHP that MediaWiki requires to run. Please install: intl".

NGC 54 (talkcontribs)
Malyacko (talkcontribs)

Which exact operating system is running on that machine?

NGC 54 (talkcontribs)

MediaWiki files are installed on my computer, that uses a version of Windows 10.

NGC 54 (talkcontribs)
NGC 54 (talkcontribs)
Jonathan3 (talkcontribs)

This is from my notes of setting up an Ubuntu 18.04 Digital Ocean VPS recently:

sudo apt install php-intl

I think after that you need:

sudo systemctl restart apache2 (talkcontribs)

Similar issue here, intl is installed, but WikiMedia does not recognize it as such. Extension is enabled in php.ini, extension dir is set correctly, other extension prerequisites that wikimedia reported run fine, but intl does not. (talkcontribs)

Even though intl is installed, wikimedia reports the extension as missing. Does it need a default_locale?


Internationalization support => enabled

ICU version => 68.1

ICU Data version => 68.1

ICU Unicode version => 13.0

Directive => Local Value => Master Value

intl.default_locale => no value => no value

intl.error_level => 2 => 2

intl.use_exceptions => Off => Off

Bawolff (talkcontribs)

check if its enabled on the webserver. Whether intl is enabled in commandline php is separate from if its enabled on the webserver.

2A02:8070:E1BA:4C00:7497:77A6:8A5C:9F27 (talkcontribs)

How can I check, if intl is running in easyphp devserver. I enabled intl in php.ini, restarted server and restarted PC (windows). Still error message: extension intl is missing.

Bawolff (talkcontribs)

you can create a php webpage containing just

<?php phpinfo();

And have it served by websserver and view in browser.

Rogelioga (talkcontribs)

These work's for me, removing the semicolon from:


in the file php.ini

2A02:8070:E1BA:4C00:46A:63DD:80A4:4DC1 (talkcontribs)

Hi, thanks for the answer, but with enable intl i mean, i tried uncommenting it and activate it in the easy php server settings :( still the error message. I even tried using a little older version of php.

any other ideas? (talkcontribs)

Where do I find the php.ini file?

Ciencia Al Poder (talkcontribs)
2A02:8070:E1BA:4C00:748A:BF4F:EE49:160C (talkcontribs)

Thanks, but still get the error message. Any other ideas?

Jaya Johnson (talkcontribs)

I share my solution in windows. click on the xampp's apache' config and choose the PHP(php.ini),change the ;extension=intl to extension=intl. In the end ,restart the xampp and start the apache and mysql.

Tumbuka Arch (talkcontribs)


Your instructions are incomplete .Nothing really happens.It just shows a notepad with many instructions and introductions.

Reply to "intl"