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".
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

2
MikleWik (talkcontribs)

Hello!

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"

Perl issue when installing EasyTimeline

2
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.

Reply to "Perl issue when installing EasyTimeline"

modifier ma page et ajouter une photo !

2
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

2
JulianMalcolm08 (talkcontribs)

Hi,


When I load into my wiki from the url nedefenses.com 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

1
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

71.9.94.49 (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.

71.9.94.49 (talkcontribs)

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


intl

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:


;extension=intl


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?

178.254.128.122 (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)

Hi,

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

Reply to "intl"

BOTS/Adding Texts to my Wiki?

2
Msima2022 (talkcontribs)
Malyacko (talkcontribs)
Reply to "BOTS/Adding Texts to my Wiki?"

How to sort by alphabet of page title name, when using search bar?

5
Karl-police (talkcontribs)
Bawolff (talkcontribs)

Presumably its not a choice.

Karl-police (talkcontribs)

Yeah, it could be a good useful feature though.

Karl-police (talkcontribs)

How to request it as a feature?

Bawolff (talkcontribs)
Reply to "How to sort by alphabet of page title name, when using search bar?"

I have a shared hosting, how to install with pretty URLs?

4
2A10:8012:9:333E:D4F4:9008:FF4A:EE99 (talkcontribs)

I have a shared hosting, how to install with pretty URLs with a directory for all Wikipedia articles?

all articles under wiki/ while all non-article-pages not under wiki/.

Thanks,

Malyacko (talkcontribs)
2A10:8012:9:333E:3535:FE7:D027:EE66 (talkcontribs)

It appears from here that root configuration is needed but as I said I host on shared hosting.

Manual:Short URL/Apache

TheDJ (talkcontribs)

Please read the .htaccess section.

Reply to "I have a shared hosting, how to install with pretty URLs?"