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

How can I only load template and modules from enwiki dump

1
Sajangohil11 (talkcontribs)

I would like to load only template and module pages from wikipedia data dumps to my database in installation of mediawiki. Is this possible? Even after loading, How can I identify if a page is a template or module page?

Thank you

Reply to "How can I only load template and modules from enwiki dump"
108.39.140.52 (talkcontribs)

Trying to fresh install 1.37.2. I see:


"[random string] /w/mw-config/index.php?page=Install Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?

Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information."


How do I backtrace to see more? Which query failed? This user is fully granted on the DB.

108.39.140.52 (talkcontribs)

It seems to get more output I have to create a LocalSettings.php...which messes with the installer.

Malyacko (talkcontribs)
Reply to "Database setup error"

Need these log problems be addressed?

2
Summary by Larrydberg

Log errors should be addressed but probably aren't causing slowdown; object cacheing is important even for low-traffic instances.

Larrydberg (talkcontribs)

MediaWiki 1.37.2, PHP 7.4.29 (litespeed), MySQL 5.6.51-cll-lve, http://horawiki.org/

Hi. I'm trying to improve the slow behavior of my wiki. I suspect the real problem is load at the hosting service (GoDaddy) but I'm grasping at every straw.

I'm currently getting lots of logged warnings, and the question is whether they should be addressed. They're of two kinds:

1) PHP Deprecated, for Title::isWatchable and User::isLoggedIn and ContentHandler::getForTitle and maybe others, called from MinervaNeue and MobileFrontEnd and maybe others.

2) PHP Notice for undefined properties stdClass::$page_namespace and stdClass::$page_title, in includes/Title.php.

Are any of these not ignorable?

BTW: I haven't set up any cacheing because the site is very low traffic: At most a few thousand hits per day (including everything) and a handful of edits per month. But I'll cheerfully go that route if it's a good idea despite the low traffic.

Thanks, as always, for your help.

Bawolff (talkcontribs)

these are probably not causing your performance issues.

However they shouldn't be happening and may indicate a buggy or out of date extension. Make sure all skins/extensions are the correct version for your version of mediawiki.

For caching - there are different types, some more helpful than others. Object caching ($wgMainCacheType) is very important, and will improve performance even on low traffic sites.

I forgot my user name & password

5
2601:483:C480:710:65B8:630B:93CC:593 (talkcontribs)

I forgot my username & password & I need assistance. Can someone help me please?

Bawolff (talkcontribs)

Create a new account.

2601:483:C480:710:65B8:630B:93CC:593 (talkcontribs)

I don't want to.

Malyacko (talkcontribs)

If you don't know the username and address then nobody can help with a key to access that address...

Jonathan3 (talkcontribs)
Reply to "I forgot my user name & password"
NemesisAT (talkcontribs)

Hi all, following feedback from users on my wiki I'd like to create a map that allows all articles to be viewed as points, using the coordinates input with the GeoData extension. Is this currently possible? Thanks

Jonathan3 (talkcontribs)

You could use the Cargo extension.

Reply to "Create map using GeoData"

Error: expandTemplate: template

2
95.67.19.130 (talkcontribs)
Bawolff (talkcontribs)

The error seems pretty self-explanatory

Reply to "Error: expandTemplate: template"
Thepainking (talkcontribs)

Hello. Hope all are well.

My wiki sometimes gets an internal error I am not aware of why or what it is. Can someone please explain to me what this means and why this is happening? The following message comes up:

[YoO_Wl0PMPGEqgm7K-uljwAAABk] 2022-05-17 15:29:30: Fatal exception of type MWException

Any assistance would be greatly appreciated to resolve this issue.

TIA

Malyacko (talkcontribs)
Thepainking (talkcontribs)

i dont see the option "post a new question" anywhere on the side bar...?

Bawolff (talkcontribs)

most importantly, set $wgShowExceptionDetails=true; so that the error message is more detailed.

The message malyacko is referencing to is on the right in desktop and on the top in mobile.

Thepainking (talkcontribs)

These are the details i received:

Parse error: syntax error, unexpected end of file in /nfs/c10/h05/mnt/229444/domains/encyclopediaoftouchbodysenseandpain.com/html/LocalSettings.php on line 196

initially it said line 206 which was blank so deleted all the blank lines upto 196 and now it says this. Can someone please explain this to me and how i can fix it?

TIA

Bawolff (talkcontribs)

You need to post file to be sure,but probably a missing quote mark or semi-colon.

Malyacko (talkcontribs)

It depends on what is exactly in that very line in that file. :)

Jonathan3 (talkcontribs)
Reply to "Unknown Internal Error"

Не раскрывается изображение

2
Inzilya Safargaleeva (talkcontribs)

Создали свою страницу на викимедиа, в текст я добавила ссылку на изображение из викисклада

Схема переработки сырья

вот тут это изображение раскрывается, а на моей викистранице (закрытой) только надпись Файл:Снимок экрана 2022-05-06 в 10.54.16.png выходит. Подскажите, почему так?

Bawolff (talkcontribs)
Reply to "Не раскрывается изображение"
Sockerz (talkcontribs)

I want to change the title of a single page, but the "copy" function is not working, because I just want to change the title of the page from uppercase to lowercase - as the page still exists as a "delete-log" it still keeps the same writing :( what can I do?

thank you

Reply to "change title of a page"

Synology & Visual Editor

1
Roycruse (talkcontribs)

Hi,

Ive installed the Mediawiki Package from synology on my Synology NAS.

Its Version 1.35.5-1050

The Visual Editor extension is included in this version and after reading this page Extension:VisualEditor#Installation it would appear that for basic operation there should be no further config required.

However i see no VisualEditor when i try to edit a page. Can anyone help me with diagnosing the problem - i contacted Synology Support and they just sent me here.

Reply to "Synology & Visual Editor"