Project:Support desk

Jump to navigation Jump to search

About this board

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

(Read this message in a different language)

See also

Other places to ask for help:

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".
84.177.144.165 (talkcontribs)

Links auf übergeordnete Kategorien werden teilweise nicht ausgeführt. Was kann ich tun?

84.177.144.165 (talkcontribs)

Erklärung:

Wenn ich einem Lemma am Schluß eine Kategorie zuordne, wird dies einmal ausgeführt, einmal nicht.

Malyacko (talkcontribs)

Any example link? Which MediaWiki version? What is a Lemma?

84.177.144.165 (talkcontribs)

Kategorie:Example - Version 1.30.0 - Lemma=article

Malyacko (talkcontribs)

You are using an ancient version full of security issues. Please upgrade to a supported version for your own safety.

84.177.144.165 (talkcontribs)

What is a Parser? Maybe a Parser-Problem?

Malyacko (talkcontribs)

It's still unclear to me what to "execute" here and who to execute something. Please provide a list of steps, as a list, then what you expect to happen, and what happens instead. Thanks!

84.177.144.165 (talkcontribs)

...(Bearbeitet)Original wiederherstellen

Malyacko (talkcontribs)

See my previous comment: Please provide a list of steps, as a list, then what you expect to happen, and what happens instead.

Reply to "Kategorien"

Numbers not showing in English

6
Kaleem Bhatti (talkcontribs)

Hi numbers not showing in English on sindhi wikipedia history of any page check and help us for showing numbers in english

Malyacko (talkcontribs)
Kaleem Bhatti (talkcontribs)

yes but what's solution of this

Malyacko (talkcontribs)

Answering all the questions there

Kaleem Bhatti (talkcontribs)

which questions?

Malyacko (talkcontribs)
Reply to "Numbers not showing in English"
2A02:587:AE14:A900:FD80:326B:5EFC:18F5 (talkcontribs)

If i download mediawiki from bitnami is the same?

Malyacko (talkcontribs)

We are not "Bitnami", so you may have to ask "Bitnami" what they do...

Reply to "download from bitnami"

Cannot login to Active directory in windows

2
JohnAintree (talkcontribs)

After upgrade from 1.23 to 1.30 and PHP to 7.3.19 all worked the media wiki updated the My sql db.


site is up looks good but now cannot login.


Host is server 2016 with IIS and PHP


Do not know why or where to look can anyone help?

Malyacko (talkcontribs)

Why would you go from an old unsupported insecure version (1.23) to an old unsupported insecure version (1.30) instead of using a supported and maintained version? Also, why can you not log in?

Reply to "Cannot login to Active directory in windows"

How to add an email field to a ContactPage contact form?

2
49.230.16.152 (talkcontribs)

I have a principally all core 1.34.2 MediaWiki website with one extension (Extension:ContactPage)

I went through ContactPage documentation here and through HTMLForm documentation here and didn't find any mention for an email field.

Just a side note - email fields are well accepted in Drupal and WordPress so I am a bit surprised not to find them in MediaWiki; perhaps I miss something.

How to add an email field to a ContactPage contact form?

Ammarpad (talkcontribs)

There's already an email field by default. 'RequireDetails' => true, will make it mandatory.

Reply to "How to add an email field to a ContactPage contact form?"

Is there an equivalent to Special:AllPages with no redirects?

2
YousufSSyed (talkcontribs)

or is there a way to hide them on the page? I want to see all non-redirect pages in the main namespace.

Ammarpad (talkcontribs)

There's an option to hide redirects, but it's disabled if the wiki is using $wgMiserMode. If you're on your on wiki, you should be able to see it. On Wikimedia wikis it's not possible since miser mode is enabled.

Reply to "Is there an equivalent to Special:AllPages with no redirects?"

What is the difference between label and contact-label in ContactForm?

2
49.230.16.152 (talkcontribs)

MediaWiki 1.34.2 with Extension:ContactPage

I have read the following sentence in HTMLForm documentation here which maybe I don't understand:

Label for a form input/button. Overridden by hlabel-message.

What is the difference between label and contact-label in ContactForm?

Isn't declaring a label makes contact-label redundant?

Ammarpad (talkcontribs)

Where did you see "contact-label"? It's neither in the master branch of ContactPage nor in HTMLForm.

Reply to "What is the difference between label and contact-label in ContactForm?"
88.71.80.181 (talkcontribs)

I had a problem with the template TOCright.

When I ad __notoc__ the template is deletet. But when I ad {{TOCright}} nothing happens.

Normaly the table of contents should appear on the right, but it is still on the left.

Ammarpad (talkcontribs)

Have you actually created a {{TOCright}} template?. __notoc__ is not a template, it's a behavior switch magic word understood by the parser, so it will work by default without you doing anything, but not so for templates.

Reply to "TOCright"
Marymar99 (talkcontribs)

I am trying to log in to my page by writing localhost/mediawiki(while having apache and mysql started)but the page is not loading

Bawolff (talkcontribs)

is it white screen, or is it a cannot connect to host error?


For the former, enable php error reporting, see How to debug, for the latter, verify that apache is really running and configured to use port 80 (use netstat commend to verify that it really is). Also check apache error log.

2.84.71.39 (talkcontribs)

e screen is white and its tremblingh

Reply to "my page is not loading"
R2D2XDZ1 (talkcontribs)

Hi, I am installing mediawiki 1.30.0 in a webserver and I got a problem when I add the LocalSettings.php

I was configured the installation good and when I download the LocalSettings.php and add to the server, the website show this:

--

MediaWiki internal error.

Original exception: [46a8f0d2d0b93415cd011235] 2018-05-12 19:51:58: Fatal exception of type "MWException"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

--

I was set $wgShowExceptionDetails to show detailed debugging information and then the website show this:

-

MediaWiki internal error.

Original exception: [5888fe7966d3fdf5d8c131f7] /index.php?title=Main_Page MWException from line 361 of /home/mywebsite/public_html/includes/resourceloader/ResourceLoader.php: ResourceLoader module info type error for module '0': expected ResourceLoaderModule or array (got: NULL)

Backtrace:

#0 /home/mywebsite/public_html/includes/resourceloader/ResourceLoader.php(264): ResourceLoader->register(boolean)

#1 /home/mywebsite/public_html/includes/OutputPage.php(2993): ResourceLoader->__construct(GlobalVarConfig, MediaWiki\Logger\LegacyLogger)

#2 /home/mywebsite/public_html/includes/OutputPage.php(2792): OutputPage->getResourceLoader()

#3 /home/mywebsite/public_html/includes/OutputPage.php(2812): OutputPage->getRlClientContext()

#4 /home/mywebsite/public_html/includes/OutputPage.php(3052): OutputPage->getRlClient()

#5 /home/mywebsite/public_html/includes/skins/Skin.php(644): OutputPage->getBottomScripts()

#6 /home/mywebsite/public_html/includes/skins/SkinTemplate.php(485): Skin->bottomScripts()

#7 /home/mywebsite/public_html/includes/skins/SkinTemplate.php(249): SkinTemplate->prepareQuickTemplate()

#8 /home/mywebsite/public_html/includes/OutputPage.php(2442): SkinTemplate->outputPage()

#9 /home/mywebsite/public_html/includes/MediaWiki.php(858): OutputPage->output(boolean)

#10 /home/mywebsite/public_html/includes/MediaWiki.php(870): MediaWiki->{closure}()

#11 /home/mywebsite/public_html/includes/MediaWiki.php(523): MediaWiki->main()

#12 /home/mywebsite/public_html/index.php(43): MediaWiki->run()

#13 {main}

Exception caught inside exception handler: [5888fe7966d3fdf5d8c131f7] /index.php?title=Main_Page MWException from line 361 of /home/mywebsite/public_html/includes/resourceloader/ResourceLoader.php: ResourceLoader module info type error for module '0': expected ResourceLoaderModule or array (got: NULL)

Backtrace:

#0 /home/mywebsite/public_html/includes/resourceloader/ResourceLoader.php(264): ResourceLoader->register(boolean)

#1 /home/mywebsite/public_html/includes/OutputPage.php(2993): ResourceLoader->__construct(GlobalVarConfig, MediaWiki\Logger\LegacyLogger)

#2 /home/mywebsite/public_html/includes/OutputPage.php(2792): OutputPage->getResourceLoader()

#3 /home/mywebsite/public_html/includes/OutputPage.php(2812): OutputPage->getRlClientContext()

#4 /home/mywebsite/public_html/includes/OutputPage.php(3052): OutputPage->getRlClient()

#5 /home/mywebsite/public_html/includes/skins/Skin.php(644): OutputPage->getBottomScripts()

#6 /home/mywebsite/public_html/includes/skins/SkinTemplate.php(485): Skin->bottomScripts()

#7 /home/mywebsite/public_html/includes/skins/SkinTemplate.php(249): SkinTemplate->prepareQuickTemplate()

#8 /home/mywebsite/public_html/includes/OutputPage.php(2442): SkinTemplate->outputPage()

#9 /home/mywebsite/public_html/includes/exception/MWException.php(160): OutputPage->output()

#10 /home/mywebsite/public_html/includes/exception/MWException.php(201): MWException->reportHTML()

#11 /home/mywebsite/public_html/includes/exception/MWExceptionHandler.php(73): MWException->report()

#12 /home/mywebsite/public_html/includes/exception/MWExceptionHandler.php(130): MWExceptionHandler::report(MWException)

#13 /home/mywebsite/public_html/includes/MediaWiki.php(550): MWExceptionHandler::handleException(MWException)

#14 /home/mywebsite/public_html/index.php(43): MediaWiki->run()

#15 {main}

--

What I should do now?

Thanks in advance.

Ciencia Al Poder (talkcontribs)

Did you install any extension or skin? Try to disable all extensions and skin (commenting out all require_once, wfLoadExtension or wfLoadSkin) in LocalSettings to see if the problem is solved, then try to enable one by one to find which one is causing it.

R2D2XDZ1 (talkcontribs)

Hi thanks for your reply.

I search all require_once, wfLoadExtension or wfLoadSkin and I have found only wfLoadSkin:

--

# Enabled skins.

# The following skins were automatically enabled:

wfLoadSkin( 'CologneBlue' );

wfLoadSkin( 'Modern' );

wfLoadSkin( 'MonoBook' );

wfLoadSkin( 'Vector' );

--

I try slove the problem deleting all the skins except vector that is actually in use but then the website show the same error.

--

## Default skin: you can change the default skin. Use the internal symbolic

## names, ie 'vector', 'monobook':

$wgDefaultSkin = "vector";

--

I also found this line on the LocalSettings.php:

--

# Path to the GNU diff3 utility. Used for conflict resolution.

$wgDiff3 = "/usr/bin/diff3";

--

What path should be here? Im not sure if that is the good path.

Thanks again and I hope your reply.

PS: If you talk in spanish, that is better for me :)

Ciencia Al Poder (talkcontribs)

$wgDiff3 no tiene nada que ver.

¿Es una instalación limpia? Yo tengo un wiki en 1.30 y nunca he tenido ese problema. ¿Qué versión de PHP usas?

R2D2XDZ1 (talkcontribs)

Hola, gracias por contestar. Sí, es una instalación limpia y estoy usando la versión de PHP 5.0

AhmadF.Cheema (talkcontribs)
R2D2XDZ1 (talkcontribs)

Sorry, I was talking with my hosting provider and he said me that the PHP we use is 5.5 branch.

AhmadF.Cheema (talkcontribs)

Can you make sure that it is 5.5.9? PHP 5.5.0 – 5.5.8 might cause some issues.

Reply to "MediaWiki internal error."