Jump to content

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

Recommended tooltip extension

4
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!

Fannon (talkcontribs)

@Jonathan3: Unfortunately I'm not active in the MediaWiki space anymore because of my new Job. But the SimpleTooltip extension is still maintained by @Planetenxin

Reply to "Recommended tooltip extension"
2001:8003:E4B9:8400:15F0:D710:905:E999 (talkcontribs)

Hi,

I cannot find the colour wheel anywhere on Inkscape. I have seen on the help panel that it should be below the "fill" section, but nothing there. I don't have any way to change the colours of my design other than by picking the pre selected colour palettes on the bottom of the screen.

Reply to "Colour Wheel Unfound"

Import Templates from Wikipedia

4
MarinaTheRanger (talkcontribs)

Hi, I'm looking to import templates from Wikipedia, such as Infobox: military conflict or Template: flag but can't figure it out. Can anyone tell me how I can import Templates or do I have to write my own?

Thanks for any help.

TheDJ (talkcontribs)

English Wikipedia has extremely complex infoboxes, and they are pretty difficult to import. You'll need a good dose of knowledge of Wikipedia, and several extensions like ParserFunctions, Scribunto, TemplateStyles. And even then, many Infoboxes now have a level of integrations with Wikidata, which you won't have, that might require you to explicitly REMOVE that code from your imported templates. In many cases it will be easier to make your own simpler version of infoboxes.

Leaderboard (talkcontribs)

It may be worth looking at older versions of the infobox, or those from other wikis, which may be less complex.

MarinaTheRanger (talkcontribs)

Sorry for the late reply, but I'm having trouble viewing anything but the documentation. How could I view the source code for the older infobox versions??

Reply to "Import Templates from Wikipedia"

Missing category entries

7
Andrew Branscom (talkcontribs)

I am in the process of merging my other wikis into one. I can easily import the pages from these other wikis, but they are not added to existing categories until a page is saved. This is becoming a rather large wiki and having to save each and every page to fix the categories has become a large task. Is there a way to mass update the categories with the imported pages? The merged wiki is version 1.41.1.

Bawolff (talkcontribs)

refreshLinks.php cli script will do this


Although in principle they should be added automatically on import, so maybe you are experiencing some sort of bug.

TheDJ (talkcontribs)

@Andrew Branscom do you have a job runner ? Cause if u do imports without a continuous job runner in the background, you might be behind on processing background jobs

Andrew Branscom (talkcontribs)

I have no root access to my server. I do have cPanel access. It sounds like refreshLinks.php is what I need. I see it in the maintenance folder, but am not quite sure how to run it. Forgive me for my ignorance in this. Am I able do it from my cPanel or browser?

Bawolff (talkcontribs)

You don't need root access but you do need shell (also called ssh or terminal) access.


As a work around, if you only have cpanel, sometimes cpanel lets you set cron scripts which can be used as a work around.

Andrew Branscom (talkcontribs)

I don't have shell access. I have never done anything with cron scripts. My cPanel has a Cron Jobs section that has frequency fields and a command field, but am unsure exactly what to enter. I should mention that there are other databases on my account, like for a phpBB forum. There are a couple of different PHP versions assigned.

I doubt that I can get much help from my hosting service. Another company bought my hosting service and now has lousy support. There is no longer any phone support

My Wikis have pages with code examples and newer versions of the Wikis changed the GeSHi SyntaxHighlight highlighter to requires the installation of Pygments, which broke my highlighting. The new hosting service refuses to install Pygments. I do not bring this up to ask for help with that, but just as an example of how unhelpful their support has been. The previous company had great support.

Andrew Branscom (talkcontribs)

I had my hosting service run the refreshLinks.php, but it did not help. Note that the only thing that did not work right after importing the pages is the inclusion on the categories. Search works, recent changes work, etc. It does relink with its categories when the page is saved, but we are talking about several 10s of thousands of pages.

Reply to "Missing category entries"

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"