Project:Support desk

About this board

Welcome to the MediaWiki Support desk. This is a place where you can ask any questions you have about installing, using or administrating the MediaWiki software.

(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 version of MediaWiki you are using, as found on your wiki's Special:Version page:
  2. If possible, add $wgShowExceptionDetails = true;error_reporting( -1 );ini_set( 'display_errors', 1 ); to LocalSettings.php in order to make MediaWiki show more detailed error messages.
  3. 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.
  4. To start a new thread, click the box with the text "Start a new topic".

Link different accounts

3
Hopefighter (talkcontribs)

I would like to know if it's possible to link my new account with the google account. (Is also the account that I add for my account on MediaWiki too)

If it is, can you send me a link or if it is already on settings list and I didn't see it, may you give me an " 101 idiot course " please?

Thank you for your time, good luck with your donations request and congratulation for your resilience and a heroic job !

Bawolff (talkcontribs)

Hi, this depends on which website you are referring to. If you mean this website or Wikipedia, then no.

If you want to set this up for your own website, see Extension:OpenID Connect

Hopefighter (talkcontribs)

Thank you !

Reply to "Link different accounts"

Table of content and/or annotation

3
85.187.27.11 (talkcontribs)

Does MediaWiki support any form of internal links?

I am trying to create:

  1. Table of content for some pages with internal link to anchors inside the page.
  2. Table of annotation with links to parts of the page.
Bawolff (talkcontribs)

Yes, you can link to something on the same page by putting a # sign followed by the section of what you are trying to link to. e.g. If you have ==Section== on a page [[#Section]] will link to it. You can also link to any element that has an id attribute in the same fashion.

TheDJ (talkcontribs)
Reply to "Table of content and/or annotation"

Show different versions of a page

2
85.187.27.11 (talkcontribs)

I am trying to create different versions of a page. For example with colored title and without colored title.

Is it possible to create a links to different versions of the history of a page?

Jonathan3 (talkcontribs)
Reply to "Show different versions of a page"
ApoyoHispano (talkcontribs)

Hi I would like to know how to change my username

Tropicalkitty (talkcontribs)

In terms of your own wiki setup, please see Manual:Renameuser.

On other wikis, such as MediaWiki.org and other Wikimedia projects, see Special:GlobalRenameRequest. A email address may be required to be added in your user preferences for this.

How to remove unused languages

3
Mpolito1969 (talkcontribs)

Dear all,

I run a small private Wiki for my personal use. As the "languages/i18n/" directory is one of the biggest and I need to spare some disk space, I'd like to remove all languages but mine.

What's the best way to do that?

Can I just remove directories with unused languages?

Should I expect any problem at the next Mediawiki update?

Thanks

Ciao,

Max

Jonathan3 (talkcontribs)
Bawolff (talkcontribs)

Its important that english is still present, as english is used as a fallback for any messages that are missing in the other language.

Reply to "How to remove unused languages"

Npm package installation

2
Antoine7812 (talkcontribs)

Hello,

I would to know if it possible to install package in Wikibase especially in extension development (for example: Special Page).

In my case, I have an extension where it is developed in Vue and I would like for example to install this kind of library: https://primevue.org/

I try with the ResourceLoader but no successful, it is not possible to install via NPM ?

Do you know how to do and if it is possible ?

Thanks a lot.

Bawolff (talkcontribs)

Generally people who use npm add some sort of build step to integrate the npm result into resource loader.

Reply to "Npm package installation"
Summary by Clump

Done.

Mahabarata73 (talkcontribs)

I'm looking for any autoconfirmed user to fix a page.

On this page Wikitext - MediaWiki, in the "User documentation" section, the first link arrives on meta.mediawiki.org pages (according to the language) instead of mediawiki.org pages.

See Help:Wikitext examples - Meta for a better understanding of this issue.

In another way of speaking :

<code>[[m:Special:MyLanguage/Help:Wikitext examples|Help:Wikitext examples]]</code>

should be replaced by :

<code>[[Special:MyLanguage/Help:Wikitext examples|Help:Wikitext examples]]</code>

("m:" needs to be removed).

Translations of categories not shown on category pages

1
Mahabarata73 (talkcontribs)

I give an example of this problem :

look at this page Category:Variables/fr

In the "Sous-catégories" section, all the links are in English with a "/fr" at the end.

But if you follow the links (for example the first one "Actions variables/fr") you will see that most of them have been translated.

It would be a great improvement if this section showed the translated texts rather than the English texts.

Reply to "Translations of categories not shown on category pages"

Recommended tooltip extension

3
Jonathan3 (talkcontribs)
Yaron Koren (talkcontribs)

I think RegularTooltips is good, but of course I'm biased. I don't know of any problems with it.

Jonathan3 (talkcontribs)

Thank you.

I've just seen from the talk page of SimpleTooltip that there's yet another version, by @Fanra, at https://github.com/fanra/simpletooltip purely to get rid of a deprecation warning in MW1.38. The main extension says 1.39+ so I imagine events have overtaken the original need for the fork.

On that note, "SimpleTooltip" says 1.39+ but "SimpleTooltip (Universal-Omega)" says 1.38+ so maybe the same applies to this version too.

If so, then it's going to be a comparison between SimpleTooltip and RegularTooltips!

Reply to "Recommended tooltip extension"

Upgrade to 1.42.3 with DB Error 1044: Access denied

4
TasteOfIT (talkcontribs)

Hi,

i updated my MW from 1.42.1. to 1.42.3 and finaly run the Web Updater for Database Upgrade and got this error:

...have af_actor field in abuse_filter table.

...have afh_actor field in abuse_filter_history table.

...mathoid doesn&#039;t exist.

...mathlatexml doesn&#039;t exist.

An error occurred:

Error 1044: Access denied for user 'xxx'@'localhost' to database 'virtual'

Function: Wikimedia\Rdbms\DatabaseMySQL::doSelectDomain

Query: USE `virtual`

Any Ideas or a solution?

Thx

TheDJ (talkcontribs)

Do you have OAuth installed ? In that case it is likely phab:T371849

Bawolff (talkcontribs)
TasteOfIT (talkcontribs)

Hi,

sorry i got no notification via email, so its by chance to see your replies. Thanks for that. No i do not have OAuth installed. I finaly solved it like Bawolff recommended. I run an Update on command line. I got some errors, but the Wiki works, so i hope it get fixed in the next release. Sorry i got not much time for that.

Again thx for your answers and time.

Reply to "Upgrade to 1.42.3 with DB Error 1044: Access denied"