Project:Support desk

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
2602:306:CF0E:7C29:44D5:B931:B6DA:FA67 (talkcontribs)

Tried to register three times. never received validation e-mail. ow it says my user name is taken

Reply to "Registration"
Jcanos (talkcontribs)


Mi pregunta es: ¿se puede conectar Wiki con el directorio activo de microsoft (ldap) ?, he estado investigando e implementando varias extensiones y métodos y ninguno me ha dado solución, ¿me pueden ayudar?....

De antemano gracias.

Ciencia Al Poder (talkcontribs)

Existe Extension:LDAP Authentication. Si necesitas ayuda puede ser más conveniente escribir en inglés porque apenas hay usuarios de habla hispana por aquí y yo personalmente no uso LDAP.

Jcanos (talkcontribs)

Esta bien, voy a revisar la extension, y si es verdad deberia ser en ingles, Gracias...

Reply to "Conexion con Active Directory" (talkcontribs)

Hi. I'd like to know how to hide the title of a page, like the Wikipedia main page, for example.

Thank you.

Reply to "Hide page title"

In our wiki, are emerging errors that are solved at time alone which generates mistrust in the tool, for example (required pages did not appear the pages not created nor when creating them disappeared from the list)

6 (talkcontribs)

No se porque sucede pero al tiempo se solucionan solos los errores, desearia que me apoyaran

Ciencia Al Poder (talkcontribs)

Empieza describiendo detalladamente el problema, pasos para reproducirlo, y si el wiki es público dar un enlace al mismo. (talkcontribs)

Mira, el problema fue mas que todo el de las paginas requeridas que al crear un link inexistente se debería sumar a la lista de las "Paginas Requeridas" pero no funcionaba, ni tampoco cuando creábamos la pagina de esos links inexistentes se eliminaba de la lista de las "Paginas Requeridas", ese fue el problema básicamente el cual estuve investigando y no halle respuesta alguna, al otro día revise la Wiki y ya no estaba el problema; esa es mi pregunta, ¿Por que se soluciono solo?

(la Wiki es privada)

De antemano gracias.

Ciencia Al Poder (talkcontribs)

El resultado de esas páginas se encuentra en caché (como bien debería advertir un mensaje al inicio de la página especial) y se actualizan cuando se ejecuta el script updateSpecialPages.php. (talkcontribs)

Entonces, ¿se actualiza cada vez que tenga un error?

Ciencia Al Poder (talkcontribs)

En principio su actualización es únicamente cuando se ejecuta el script antes mencionado. Si tienes programado en un proceso cron la ejecución diariamente, o lo ejecutas de forma manual, entonces será en ese momento cuando los datos se actualizarán, hasta entonces seguirá mostrando lo mismo que la última vez que se ejecutó (posiblemente tachando algunos de los títulos que fueron corregidos desde la última ejecución). Tendría que revisarlo de nuevo, pero diría que no hay otra forma de que se actualice automáticamente esas páginas si no es por medio del script (y por lo menos nuestra documentación no lo menciona)

[RESOLVED] Widget:Google Spreadsheet fails

EFFemeer (talkcontribs)

Note In order to keep my wiki up to date, I now embedded the most important sheets with the Iframe widget. Still convinced that Widget:Google Spreadsheet isn't working properly.

All the sudden my Widget:Google Spreadsheet (such as started to fail with a Refused to display '' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. message. This is the sheet. (published and shared anyone with the link) Widget:Google Document however works fine ... Published everything the same way.

  • Manual:$wgBreakFrames
  • Manual:$wgApiFrameOptions and similar

don't change anything.

My site is

Product Version
MediaWiki 1.24.1
PHP 5.3.28 (apache2handler)
MySQL 5.0.95

Any idea?

Thanks in advance.

Ciencia Al Poder (talkcontribs)

I don't know if changed anything, but I see that the chart displays correctly on the page, without error now.

EFFemeer (talkcontribs)

Dear Ciencia, in order to keep my wiki upto date I altered the most important sheet using the Iframe Widget.

Please look at to see a failing sheet.

Ciencia Al Poder (talkcontribs)

The problem isn't your MediaWiki installation.

Manual:$wgBreakFrames and Manual:$wgApiFrameOptions etc won't help you, since that controls whether to allow your wiki to be inserted inside another page in a frame. But this is different. That's about inserting google spreadsheets inside your MediaWiki.

If you take a closer look, you'll see that your iframe widget is using one URL for the spreadsheet, while the google spreadsheet widget is using a different one. Editing how it constructs the URL in so it's the same as the iframe that works would solve the issue.

EFFemeer (talkcontribs)

Thank you for this hint Ciencia. I'll try to modify the URL.

However I don't understand why the widget has been working properly for several weeks and then all the sudden stopped.

EFFemeer (talkcontribs)

Thank you Ciencia. Your hint made the widget work. Could you ask the responsibles to change the code?

For all those who might encounter the same problem:

1) Download the latest version of the Widget at:

2) Replace <iframe> .... </iframe> by:

<iframe src="<!--{$url|validate:url}-->" frameborder="<!--{$border|validate:int|default:0}-->" width="<!--{$width|escape:html|default:400}-->" height="<!--{$height|escape:html|default:300}-->"></iframe>

3) include the widget with:

{{#widget:Google Spreadsheet |
url= Google Sheet code/pubhtml |
width=200 |
height=350 }}

Don't forget to remove the compiled widget code!

Ciencia Al Poder (talkcontribs)

Note that the repository of widgets seems to be , which has a different syntax. (talkcontribs)

Which adds to the confusion, as that page says:

* Since Google Docs migrated to Google Drive, the reference for the template code has change. The latest is available [ here].

Reply to "[RESOLVED] Widget:Google Spreadsheet fails"

Categories Don't Work!!!

Summary by Ssotocano

Thanks very much to all. The solution was explain in this Topic:Tlgkqz1mbpx8mg1g , and the script whit I could solve this was Manual:UpdateSpecialPages.php


Ssotocano (talkcontribs)


I have a big problem. The categories of my WIKI do not work. I tried to recover the database and it works, but I return the original database and the categories do not work.

The problem is that I create a category but the register don't insert in database, then isn't visible in the especial:Categories. And when I reffer to a category from a any page, don't appear in the list of pages to this category.

I don't know why happen this. I think that is a problem of databases because when changing the databases for a backup, It works correctly but the information is outdate.

Please your help.

Thanks a lot beforehand.

Sergio Andrés

AhmadF.Cheema (talkcontribs)

See Topic:T8jd8uxlq4jqb0np.

Subfader (talkcontribs)

Whoa, MW turned into shit. It was great once :( (talkcontribs)

You are free to use a different system. Or fix the "shit", if you really care about it.

Ssotocano (talkcontribs)

Thanks very much to all. The solution was explain in this Topic:Tlgkqz1mbpx8mg1g , and the script whit I could solve this was Manual:UpdateSpecialPages.php


URLs to Uploaded Files are Being Unintentionally Redirected

Jordan Barden (talkcontribs)

Hello all:

I have a MediaWiki installation--viewable at ""--that is running MediaWiki 1.27.1, PHP 5.6.27 and MySQL 5.1.56, and have come across a couple of issues that have me stumped.

1. The URLs to some of the uploaded files are redirecting improperly when accessed without the "www." prefix. For example, when I click on, the "www." prefix is appended, as intended, but the "w/images/" portion is being stripped from the URL.

I have no clue why this is happening, given the current .htaccess file, the contents of which follow:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^alecexposed\.org$ [NC]

RewriteRule ^(.*)$$1 [L,R=301]

RewriteRule ^/?wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]

RewriteRule ^/?wiki/*$ /w/index.php [L,QSA]

RewriteRule ^/*$ /w/index.php [L,QSA]

2. Additionally, it appears that some of the uploaded files are not searchable within the list of uploaded files (, despite the fact that they do appear in the list. I ran rebuildtextindex.php to rebuild the search index but it did not fix the problem.

I'm not sure if these two issues are related or it's just a coincidence that they are occurring simultaneously.

Any assistance you can give me is greatly appreciated.

Thank you!

Ciencia Al Poder (talkcontribs)

there must be another .htaccess somewhere. Is this one the .htaccess inside the /images folder? in this case, it may be this:

RewriteRule ^(.*)$$1 [L,R=301]

Although it's a bit strange because this one will append the whole URL at the end of the server name. The [L] will skip processing the rest of the rewrite rules.

Reply to "URLs to Uploaded Files are Being Unintentionally Redirected"

Need to restrict editing to a few logged in users

Nomad63 (talkcontribs)

I have been handed a media-wiki (ver 1.25) webserver as a part of a project I took on from an employee who left the company. I don't believe he had much knowledge of setting this thing up other than what the software did at the initial install time. It requires you to login, using the company-wide active directory authentication, but after one logs in, it is free for all as far as editing goes. Even though it is against the idea of wiki, I need to restrict this editing capability to only a handful of people, due to the critical nature of information on this website. This site is intranet only and have no Internet facing parts, if it makes any difference.

On my own, I have researched quite a bit and found the file /var/www/html/includes/DefaultSettings.php and found the section where lines starting with $wgGroupPermissions, followed by some rules, but I could not figure out how to change these lines and how to add people (AD UserIDs) to the groups mentioned, or create new groups if necessary. I need either a document, explaining how this is accomplished step-by-step, or need a light hand-holding as I am a wikimedia beginner.

Thanks in advance

Malyacko (talkcontribs)

See Manual:User rights. Also, 1.25 is an ancient unsupported version that is nowadays full of security issues. Please update: Download.

Reply to "Need to restrict editing to a few logged in users"
Wang.carl (talkcontribs)

I Setup a mediawiki in my company, and we think load balancing is needed, but I don't known how to deal with the image, is there a extension can help me fix this issue. If you notice this issue, please help me, thanks very much!

This comment was hidden by Malyacko (history)
This comment was hidden by Malyacko (history)
This comment was hidden by Malyacko (history)
Reply to "Load Balancing issue"

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.

Ciencia Al Poder (talkcontribs)

Apparently, there's no information about which files are in local file repository or in external repository in the database, or at least I was unable to find that info in the image table.

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