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

My data has disappeared, though searches can still be performed and change data is still there. Suddenly the data display to read the pages is gone. No error codes displayed. Thank you for any suggestions.

Actualccb (talkcontribs)

I am still having this problem and don't know what to do, can anyone help?

Actualccb (talkcontribs)

Correction to address:

Malyacko (talkcontribs)

If you look at the HTML source of any page, you see a lot of MediaWiki configuration variables listed inside <script> tags which should not show up there. No idea where that comes from but that's where I'd start to investigate.

Florianschmidtwelzow (talkcontribs)

See Manual:Errors_and_symptoms#All_pages_have_no_content.2C_but_when_editing_a_page_the_wiki_text_is_there.

Actualccb (talkcontribs)

Thank you guys, It most like is indeed my server provider updated behind me and I need to update wiki.

This is caused by a change in PCRE 8.34. You need to downgrade PCRE, or update MediaWiki to version 1.22.1 or newer (see task T60640).

I am not sure how to upgrade the wiki site but I will search on it.

I am not sure how to downgrade PCRE, but I will search on it.

Thank you.

Ciencia Al Poder (talkcontribs)

On a shared host, you can't upgrade or downgrade PCRE. That's up to the host. To upgrade MediaWiki, see Manual:Upgrading. Alternatively, you can patch your MediaWiki installation to fix the PCRE issue as described in the task, but that's not recommended, since your MediaWiki version is obsolete and may have open vulnerabilities

Reply to "Wiki Data disappeared"
Zero275 (talkcontribs)

I'm a new member and I've recently starting doing some phpwiki editing. I'd appreciate some assistance with a dilemma I've been having. I'm using MediaWiki, according to the image in the bottom left of my Wiki.

As for the backstory, I'm working as a moderator for an online text game, and my primary role is to update the Wiki, which is the subject of my dilemma. The page I'm currently working on (which you'll find below) is a simple alphabetical list category page, with essentially nothing on it; rather, other pages have tags that revert to the 'category page' and thus they appear on the list in supposed alphabetical order. The tag I use is as follows:

[[Category:Units (Lightning)|Template:PageName]]

The above tag goes on other 'unit' pages, and the title of those unit pages appear on the list I'm working on. So, backstory over. Now begins the problem.

There are unit titles appearing on the list that I don't want to appear. So, naturally, I went into those unit pages, and deleted the tag from the page. Problem solved, right? No. Instead of disappearing off the list like they were supposed to, they moved from their appropriate spot alphabetically and appeared in the MIDDLE of the list for no apparent reason. After checking (and re-checking) the unit pages for ANY TAGS whatsoever, I could find no explanation for why they are appearing on my list. You'll notice, on the list itself, that 'Assassin' and 'Minor Elemental' appear out-of-order (second column, middle). Those are the titles I attempted to delete. And, because the list itself has...essentially nothing on it to delete, I can't simply edit the list and delete it. This is my problem.I've tried deleting the unit pages, and they still appear on the list. When I re-add the tag found above, they resume existing on the list in their CORRECT alphabetical spot, but other than that, there is literally no way I've found to remove them from this list.

I tried clearing the cache with ?action=purge, but this hasn't worked as far as I can readily ascertain. I was told, by an experienced friend, that the cache is filled with old data, and this is why this problem is occurring, but outside of trying the purge, I received no other suggestions, other than doing a dummy edit to update the page (which I did, unsuccessfully).

I would appreciate all the help I can get. The link is below. Thank you so much in advance.

Zero275 (talkcontribs)

This is the version, as far as I can tell:

Installed software

MediaWiki - 1.16.0

PHP - 5.3.10-1 ubuntu - 3.19 (apache2handler

MySQL - 5.5.22-0ubuntu1-log

Ciencia Al Poder (talkcontribs)

You have 2 pages with the same title on the wiki (but different page IDs):

Page ID 11409, namespace 0, title Lightning:Minor Elemental (this one has the category)|revisions|categories&rvprop=ids|timestamp|flags|comment|user|content&rvlimit=10&rvdir=newer&pageids=11409&format=jsonfm

Page ID 12324, namespace 406, title Lightning:Minor Elemental (this one is not, and is the page you're editing)|revisions|categories&rvprop=ids|timestamp|flags|comment|user|content&rvlimit=50&rvdir=newer&pageids=12324&format=jsonfm

Apparently, you added the Lightning: namespace when there were existing pages with Lightning: in the title? You'll need to run Manual:namespaceDupes.php to fix this mess...

Zero275 (talkcontribs)

Thank you so much. Could you please shed some light on how you found this page? And, perhaps how to go about running the maintenance script? As in, what would I need to do in order to proceed with the namespaceDupes?

Reply to "Tag errors, clear cache no effect"

Tried to resize images, now mediawiki crashes (timeout)

2 (talkcontribs)


I attempted to resize images on my wiki using the commands give in the FAQ [[File:XXX.jpg|50px]. Upon doing this the editor freezes, gives me a HTTP Timeout error and then trying to navigate out of the page causes the loading bar to turn and turn but essentially freeze.

I am able to get back into the wiki by clearing cookies on my browser, but any attempt to upload images, access filelist or save changes to a page causes the same issue: loading bar turning and the the page freezing until I delete cookies!.

Please let me know what I am doing wrong here. Uploading images is permitted but i don't know if I need to add subsequent permissions to stop this occuring?

Any help is much appreciated

Thanks x

Ciencia Al Poder (talkcontribs)

I don't see a connection between deleting cookies and the server being responsive again...

I'd say to look at the access and error logs of the server. Maybe the server exhausted all the memory while trying to create thumbnails for the page, or causes CPU to spike during some time, making the server irresponsive? Only a close monitoring of the server's resources can tell you.

Reply to "Tried to resize images, now mediawiki crashes (timeout)"
Edavies86 (talkcontribs)

I am a teacher and I have to admit that one of our students has changed the title of 1.2 in the one child policy page. I have changed it to administrator.

We are very sorry for any extra work that this has created. He is being dealt with by our deputy headmaster as we speak. Please feel free to contact me for further details.

Jörgi123 (talkcontribs)

Since this is the only post with your user account, I believe that you may have posted this in the wrong place.

Generally, protecting a page prevents unprivileged users from editing it. Note that there also is an option for a cascading protection: If the cascadingly protected page includes templates, then these templates automatically get protected as well.

Reply to "Change to one child policy page"
Kaysevenmm (talkcontribs)

My wiki was working when anyone tries to connect I get a message.

I am not sure what user name it is asking for but what ever I try I get this message.

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Web-Smart Server (talkcontribs)

It sounds like your MediaWiki directory might be protected by an apache password file...

Kaysevenmm (talkcontribs)

It turned out to be a DNS problem. It conflicted with the name I had in the localsettings.php


Reply to "Authorization Required"

Creating an alias using Extension:SpecialNamespaces

Stranger195 (talkcontribs)

I want to create an alias of the Laro namespace in using Special:Namespaces called "Game" (same with "Usapang laro" having a "Game talk" alias), but I can't seem to find a way to. Help. --Stranger195 (talk) 09:54, 9 October 2015 (UTC)

Reply to "Creating an alias using Extension:SpecialNamespaces"
CharlesSpencer (talkcontribs)

I have a Synology RS812 NAS, which runs DSM (a form of Ubuntu I think) via BusyBox v.1.16.1, on a Marvell Kirkwood mv6282 1.6Ghz ARM processor (Marvell ARMADA 300). uname -a reports Linux <Hostname> #5592 armv5tel GNU/Linux synology_88f6282_rs812. I have fully updated the OS, and have installed MediaWiki (and dependencies) from the default Synology repository. I've enabled both Parser Functions and Scribunto extensions. My Special:Version reports as follows:

MediaWiki 1.23.10 PHP 5.5.28 MariaDB 5.5.43 Lua 5.1.5 - so lua's definitely working/correctly installed.

I've added:

require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php"); require_once( "$IP/extensions/Scribunto/Scribunto.php"); $wgScribuntoDefaultEngine = 'luastandalone'; $wgScribuntoEngineConf['luastandalone']['errorFile'] = 'lua error log.txt'; $wgScribuntoEngineConf['luastandalone']['memoryLimit'] = 209715200; # bytes $wgMaxShellMemory = 204800; # in KB

to LocalSettings.php and raised the memory_limit in etc/php/php.ini to 384M

I have exported from Wikipedia/Imported into my local Wiki all the modules and templates I should need for Infoboxes, but all I ever get is a Lua script error where I should have an infobox - always 

'/volume1/web/MediaWiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua: line 1: syntax error: unexpected "("'

in the log file, with a "Lua error: Internal error: The interpreter exited with status 2." pop-up when I click on the red Script error on the page where the infobox should be. Raising the memory_limit in etc/php/php.ini is the supposed canonical cure for that, but it doesn't seem to work for me.

I thought I'd try to upgrade the lua binaries, since 5.1.5 is not cutting edge, but I can't seem to find a repository of arm5vtel lua binaries to do that.

What am I doing wrong? Hope someone can help! My expertise extends to following instructions, but not to cross-compiling lua for armv5 processors at a guess, unless some kind soul is REALLY happy to hold my hand!


Charles ~~~~

Ciencia Al Poder (talkcontribs)

This line seems relevant:

'/volume1/web/MediaWiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua: line 1: syntax error: unexpected "("'

A debug log may show more information. See Manual:How to debug

Reply to "Infobox problem on ARMv5"

Invalid callback MyExtensionHooks::onLogException in hooks for LogException

2 (talkcontribs)

Hi ,

I removed tthe older version of MediaWiki 1.13 and installed Mediawiki 1.25. I completed all the config changes and ran update.php and it ran fine for the first time. But now i get an exception  Invalid callback MyExtensionHooks::onLogException in hooks for LogException and the following error in debug_log

#0 /apps/Mediawiki/includes/exception/MWExceptionHandler.php(522): Hooks::run('LogException', Array)

#1 /apps/Mediawiki/includes/exception/MWExceptionHandler.php(222): MWExceptionHandler::logError(Object(ErrorException), 'error')

#2 [internal function]: MWExceptionHandler::handleError(2, 'date_default_ti...', '/apps/htdocs/wi...', 546, Array)

#3 /apps/Mediawiki/includes/Setup.php(546): date_default_timezone_get()

#4 /apps/Mediawiki/maintenance/doMaintenance.php(97): require_once('/apps/htdocs/wi...')

#5 /apps/Mediawiki/maintenance/update.php(216): require_once('/apps/htdocs/wi...')

#6 {main}


Ciencia Al Poder (talkcontribs)

Did you upgraded your extensions as well? This looks like it's being caused by one of your installed extensions. The extension may not be compatible with MediaWiki 1.25

Reply to "Invalid callback MyExtensionHooks::onLogException in hooks for LogException"
Uri Even-Chen (talkcontribs)

Hi. Regarding preventing spam on my website, - I want to try to create an invisible captcha, that will use the math captcha to ask a math question, such as 75+10. But increment each number by a number selected randomly per session (n), so for example if this number is n=2 then the captcha will display 75+10 but expect the result of 77+12 (89) and not 85. Then a JavaScript code will update the input field to 89 after 6 seconds, and all the captcha fields will be invisible by CSS or JavaScript (*position*: absolute; *left*:-10000px; *top*:-10000px;). Then humans will not see the captcha at all, but if it takes them at least 6 seconds before they submit the form then the captcha will be correct; bots who leave the field empty or enter any number which is not 89 will fail. The number n will not be visible anywhere but the JavaScript code will know the correct solution (89).

I want to know if anybody tried this solution before and if you think it can prevent bots from creating accounts or articles on my website? And are there any developers who can help me create such an extension to MediaWiki, which will be used with ConfirmEdit?

By the way, Speedypedia supports Hebrew and English, and only the English version is currently protected by username & password, because it was flooded with spam. The Hebrew version was never flooded with spam. If you want to see the English version, please contact me personally on

Ciencia Al Poder (talkcontribs)

That looks smart, although would prevent people that doesn't have JavaScript enabled to edit your wiki

Reply to "Preventing spam - invisible captcha"

free as more space as possible from database - dottor_z

4 (talkcontribs)

i need to free as more space as possible from the db, so i would like to delete entries on the following tables

fkwaexktcxl10n_cache with 11k entries

fkwaexktcxpage with 35k entries

fkwaexktcxrecentchanges with 70k entries

fkwaexktcxrevision with 70k entries

fkwaexktcxsearchindex with 35k entries

fkwaexktcxtext with 70k entries

fkwaexktcxexternallinks with 600+ Mb of space

Ciencia Al Poder (talkcontribs)

See Manual:Reduce size of the database (talkcontribs)

Shouldn't the recentchanges table be filled with changes from the last 90 days and older changes should get removed. Obviously this removal is not happening in your case.

There is a maintenance script to rebuild the contents of the recentchanges table; this will make sure that old entries get removed.

The rebuildall.php script will also rebuild the contents of the externallinks table.

Ciencia Al Poder (talkcontribs)

See Manual:$wgRCMaxAge to configure how long they should stay. Note that on each edit there is a 1% chance that the recent changes table will be purged.

I see no point in running the rebuildall.php script if it will generate the table with the same contents... A externallinks table so bloated probably means your wiki is filled with tons of spam pages. Have you ever looked who is editing your wiki? See also Manual:Combating spam although it may be too late now

Reply to "free as more space as possible from database - dottor_z"