Project:Support desk

Jump to: navigation, search

About this board

vde   Welcome to's Support desk, where you can ask MediaWiki questions!

There are also other places where to askCommunication: IRCCommunication#Chat, mailing listsMailing lists, Q&A etc.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new topic".
Language:Project:Language policy English  español
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Zoranzoki21 (talkcontribs)

How to (on example) word test (on all pages) comes rename on Test2 (on example)? I do not think the rename page, but on changing the word in the text?

Reply to "Help me for pywiki"

Any way to list out all images from Wikimedia Commons been used in current wiki now?

Zoglun (talkcontribs)

For wiki enabled InstantCommons, what is the best way to get a list of files' name that cite from Wikimedia Commons?

Zoranzoki21 (talkcontribs)

From Wikimedia Commons.

Reply to "Any way to list out all images from Wikimedia Commons been used in current wiki now?"

trying to use gimp but keep sending me to other programs

Summary by Zoranzoki21

Duplicate of Topic:Tle00ruvfuiwh4ah (talkcontribs)

trying to use gimp but keeping sent to other sites like this one. pls help a granny (talkcontribs)

where is create image button???

Zoranzoki21 (talkcontribs)

You need to register to be able to upload files. It is located on the left sidebar.

Reply to "where is create image button???"
CSchrieb (talkcontribs)

I know this is probably over-asked, but I'm running out of time. I'm having trouble finding information on creating Templates, specifically for Infobox, for a private MediaWiki site. I understand the hesitation to offer the information, due to the chance someone may take it as license to make changes to public sites. However, as a private site, I have some specific needs.

I attempted to follow the Import/Export process spelled out here (below), but I get a Server 500 error when I do the import. (The XML appears well-formed to me, though.)

Manual:Importing Wikipedia infoboxes tutorial

Any direction that can be provided would be appreciated.

MediaWiki version 1.28.0 (release 83)

PHP version 5.4

MySQL version -- unsure

My proof of concept site (my testing for compatibility with the full need) is

Fokebox (talkcontribs)

Please, see here:

CSchrieb (talkcontribs)

Thank you. I may be misunderstanding the topic. It looks like this is where I needed to start.

CSchrieb (talkcontribs)

Unfortunately, this primarily shows how to consume a template. I'm looking to create a template, (and additionally, figure out how to format it so that it moves to the right, like you see on MediaWiki pages).

Any further direction greatly appreciated!

AhmadF.Cheema (talkcontribs)

The server 500 error you are getting is likely because of some server side configuration issue. Take a look at this: Manual:How to debug, in order to get more error information.

CSchrieb (talkcontribs)

I'm still having trouble understanding the relationship between "Template:Infobox" and "Template:Infobox connector", for example. Is Infobox required to create a template like Infobox connector?

I'm literally just trying to create something simple that gets offset to the right:

Name = Bob_File

Location = GLBS22\peer

Acceptance Date = Mar 22, 1988

Am I perhaps not looking for the right object?

Clump (talkcontribs)

If you just a basic infobox on the right then you don't need anything complex; make a div with style="float:right", and include a table within it for your fields. An example is on User:Clump.

CSchrieb (talkcontribs)

Thank you Clump. I'll start there. Can this be made into a template, to be reused in multiple places? Seems like that would just be a matter of making some of the fields parameters, right?

Clump (talkcontribs)

Yes, just replace the text you want to pass in with the template call with {{{1}}}, {{{2}}}, etc.

Reply to "Template Information"

Extension:pdfHandler - Restrict rendering of pdf

Carchaias (talkcontribs)

I have a Wiki wich contains a lot of pages wich list a larger amount of uploaded pdf-files (by semantic mediawiki). I tried to activate Extension:PDFHandler but it acquired so much system resource when calling that pages that errors come up. I think thats some timeout and the initial rendering is very slow. There is no problem with pages that contain only some pdf-files and / or even smaller ones. I'm not very interrested in having thumbnails for each pdf on everywhere but I like the preview on the File:-pages. Is it somehow possible to control where pdf-handler should render the pdf-s and where not. Maybe a magicword like __nopdfhandler__ on the pages which contain larger number of links to pdf files or the like would help. One could include this to templates.

AKlapper (WMF) (talkcontribs)

What is the exact error that comes up? That should be the first thing to investigate, not necessarily some ideas for random workarounds...

Carchaias (talkcontribs)

The message is

"This page is experiencing technical difficulties. "

Malyacko (talkcontribs)

You get a completely blank page and the only single thing that is displayed literally says "This page is experiencing technical difficulties" in English, and nothing else at all? I'm asking as I can imagine that's not an error created by MediaWiki.

Ciencia Al Poder (talkcontribs)

In Extension:PdfHandler there's a configuration variable called $wgPdfCreateThumbnailsInJobQueue. Have you tried that? It should queue the thumbnails so they're rendered one at a time. This should mitigate the issue when a page contains lots of embedded PDFs and all need to be rendered, speeding the load, but the thumbnails in this case may be delayed (not all PDFs would have thumbnails).

Carchaias (talkcontribs)

I doublecheckt what happens when I turn pdfHandler on. On pages that contain a larger amount of links to uploaded pdf-files (by semantic mediawiki #ask) -> It take about 2 minutes with a white screen and the the following message appears (on the white screen)

"An internal server error occurred. Please try again later."

I found out that some of the pdf that have to be rendered cause errors. I checked this by calling the file:-pages one by one. One error is

<pre>"An internal server error occurred. Please try again later."</pre>

as above.

Another errror is the File:-Page loads but there is something like

<pre>"Fehler beim Erstellen des Vorschaubildes: convert: unable to acquire cache view `File too large' @ fatal/cache-view.c/AcquireAuthenticCacheView/121."</pre

instead of the thumbnail.

Yes I think that message is not generateed by mediawiki but at least it is related to pdfHandler (and it's environment), cause there are no problems when turning it of.

I tried $wgPdfCreateThumbnailsInJobQueue = true and = false but I can't see any difference .

This comment was hidden by Ciencia Al Poder (history)
Reply to "Extension:pdfHandler - Restrict rendering of pdf"

Hown to have the same usernames on different wikis?

Kianlolcat99 (talkcontribs)

Without making wiki farms. Basically how Wikipedia is like. If you don't understand what I am saying: For example, my Wikipedia user and mediawiki user is the same exact. If I get a notification on mediawiki and I amust on Wikipedia, a notification for it will show.

AhmadF.Cheema (talkcontribs)

Probably something to do with Extension:OAuth and Extension:OAuthAuthentication.

AKlapper (WMF) (talkcontribs)


Kianlolcat99 (talkcontribs)

AKlapper Should I do it with a wikifarm, or no?

Reply to "Hown to have the same usernames on different wikis?"

Sorry! This site is experiencing technical difficulties.

Kianlolcat99 (talkcontribs)

Hello, My wiki is not on the internet, rather I am editing it locally. It worked perfectly. I moved my wiki from one computer to another. Now when I open it, it says the following message- "Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(Cannot access the database)"

I am using XXAMP (on both computers), and both computers are windows. Can someone help me? Thanks, Kianlolcat99.

Edit: This is Mediawiki 1.26 (talkcontribs)

In LocalSettings.php you have the database credentials, which MediaWiki is using to connect to the database. On the new server these credentials obviously are different from the old one.

Make sure that database name, MySQL username, password and host are correct!

Reception123 (talkcontribs)

It could be a problem with the ports. Be sure to check those and check that you haven't changed the MySQL username or password.

Kianlolcat99 (talkcontribs)

Ok I will check them then. When I do both of the things you suggested, I will report what happened.

Kianlolcat99 (talkcontribs), do I have to update my media wiki version? (talkcontribs)

No, to get this problem solved you don't have to update MediaWiki. All you have to do is adjust the database variables in LocalSettings.php. Then MW 1.26 will work again.

However, when you are looking at Version lifecycle you will notice that MW 1.26 no longer is supported. So you in fact should upgrade - in order to keep your system safe.

Kianlolcat99 (talkcontribs)

What database variables do I have to adjust?

Ciencia Al Poder (talkcontribs)

Manual:Configuration settings#Database settings.

Setting $wgShowSQLErrors to true may also display a more detailed error message.

Be also sure that the database server is running.

Kianlolcat99 (talkcontribs)
Reply to "Sorry! This site is experiencing technical difficulties."

What is the difference between CentralAuth and a Shared Data Base

Kianlolcat99 (talkcontribs)

Please make the explanation simple. I read the pages, and I think I do know what are the differences, but I am not 100 percent sure however. Please explain it as simple as possible. Thank you.

Reply to "What is the difference between CentralAuth and a Shared Data Base"

What are the recommended file and directory permissions for MediaWiki?

Tommyheyser (talkcontribs)

New install of MediaWiki 1.28 on Ubuntu 16.04. Permissions for /var/www/html set to 755, owned by me user:www-data.

Did a Download from Git install, before and after doing composer install, the file and directory permissions are readable and writable but not executable for group. Should I set them to 755 manually?

Reply to "What are the recommended file and directory permissions for MediaWiki?"