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, Wikimedia Developer Support, Q&A, mwusers (unofficial forum) 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".

Extension:ConfirmAccount Does Not Remove User After Rejection

Johnywhy (talkcontribs)

Installed and confirmed basic usage of extension.

But, after Admin rejected an account request, the same username/email could not submit another request.


Username is already in use in a pending account request.

Any fix? thx

Ciencia Al Poder (talkcontribs)

The page says, in the Known Issues section: If only a few people view the confirm accounts page, the randomly triggered pruning of old requests will not trigger often, so old rejected requests may persist.

Johnywhy (talkcontribs)

Thx for catching that. It seems the quote you shared isn't precisely correct. I found the following in \ConfirmAccount\frontend\specialpages\actions\ConfirmAccount_body.php

# Every 30th view, prune old deleted items

if ( 0 == mt_rand( 0, 29 ) ) {



Maybe i can force prune on every rejection? The function `runAutoMaintenance` lives in \ConfirmAccount\backend\ConfirmAccount.class.php

class ConfirmAccount {

/** * Move old stale requests to rejected list. Delete old rejected requests. */

public static function runAutoMaintenance() {...

thx (talkcontribs)
Johnywhy (talkcontribs)

Since this is not MW core, it seems the Archtecture meeting isn't the appropriate place to discuss.

Instead, i contacted the extension author. Thread:


Johnywhy (talkcontribs)
Reply to "Extension:ConfirmAccount Does Not Remove User After Rejection"
Genefe (talkcontribs)

Hi everyone! I'm a newbie here. I just want to ask if there's a payment in every edit that I will do?

Ciencia Al Poder (talkcontribs)

Not on this website. If you came here from another wiki you should ask them

This post was hidden by Clump (history)

500 Internal Server Error for image galleries

Nicole Sharp (talkcontribs)

I keep getting a 500 Internal Server Error whenever attempting to copy and paste the following syntax to MediaWiki on DreamHost Shared Hosting. Any ideas on what might be causing it or how to fix it?

Syntax does not save: user:Nicole Sharp/sandbox

Syntax does save: wikipedia:user:Nicole Sharp/sandbox

Since the single image gallery does save but the page with two galleries does not, it looks like there is some kind of limitation preventing the larger page from being saved. I have tried increasing the allotted PHP settings but to no avail, so that does not appear to be the issue, especially since the full sandbox page does save on AlterVista (which has less resources than DreamHost does):

Nicole Sharp (talk) 16:01, 20 March 2018 (UTC)

Nicole Sharp (talkcontribs)
Nicole Sharp (talkcontribs)

Qapla'!! Switching from FastCGI to CGI resolved the problem.

Reply to "500 Internal Server Error for image galleries"

How do I add a custom script at the opening of the <head> tag on all pages?

5 (talkcontribs)

Need to add a short JS script that loads almost instantly on page-load. It needs to be as soon as the <head> tag begins.

Nicole Sharp (talkcontribs)

Not sure if this would work, but try using the Google Analytics Extension maybe. It allows you to load custom JavaScript for tracking codes, but it might work for other things too. Nicole Sharp (talk) 16:06, 20 March 2018 (UTC) (talkcontribs)

Thank you Nicole. I found this extension: Extension:HeadScript. Does anyone have experience with it? It looks like it *might* do what I need.

Nicole Sharp (talkcontribs)
Nicole Sharp (talkcontribs)

Just tried out Extension:HeadScript. It works for Google Analytics with a Global Site Tag. You can use it for multiple scripts. FYI, the new Google Analytics Global Site Tag is not compatible with the Google Analytics Extension. Nicole Sharp (talk) 14:58, 21 March 2018 (UTC)

Reply to "How do I add a custom script at the opening of the <head> tag on all pages?"

RESTBase. How to define a different interface

Pulsargranular (talkcontribs)

Hi everyone.

I tried to set up the RESTBase server. The server itself runs fine, but it binds to the wrong IP address (I have a machine with several network interfaces). It just takes the first network interface it finds, which is wrong. The Mathoid server has a setting in the conf: section called «interface». The RESTBase server also supports this setting but it is neither documented nor present in the example configuration.

It would be helpful to add this to your documentation!



Reply to "RESTBase. How to define a different interface"
Gmlacey (talkcontribs)

I have two templates (they look like infoboxes) that I am transcluding onto one page. They are tables and properly right-align, but there appears a line-break between the bottom of the first one and the top of the second one. I would like these to flush up to one another, so that the bottom border of the top one is also the top border to the bottom one, or as close as possible.

I currently transclude the templates as: Template:Infobox ATemplate:Infobox B

Any thoughts? Thanks very kindly!

Gmlacey (talkcontribs)

I figured it out. I just added "margin-top: -15px;" to the bottom template and presto. (talkcontribs)

The system will not recognize my password. It has been a while since I used it. I asked the system to reset password but I never receive an email after it send it. It is not in spam. I do not have other email addresses. Apparently knows the account exists but I get to reset email. Help.

Reply to "Need help with log in"

Fatal error: Class 'SpecialSearch' not found

1 (talkcontribs)

Been trying to google my way to an answer, but I haven't been very successful at that. I just recently put up a new wiki using mediawiki. But when I try and search a name or a word to try and create a new page with it. I get the following error:

Fatal error: Class 'SpecialSearch' not found in /DOMAIN/mediawiki/includes/specialpage/SpecialPageFactory.php on line 392

It's a fresh install, and I can't seem to be able to figure it out. Any ideas?

Reply to "Fatal error: Class 'SpecialSearch' not found"

Bug? Embedded {{Special:PrefixIndex}} Does Not Embed Search Controls

Summary by Johnywhy

Transcluding special pages only outputs results.

Johnywhy (talkcontribs)

Embedded Special:PrefixIndex in a page does not embed search controls. Instead it displays a very large list of pages.

How to display search controls?


Wargo (talkcontribs)

Transcluding special pages only outputs results. You can set parameters as in templates to customize display but users can not set another values without changing page source.

Andrea.bozzano87 (talkcontribs)

Hi everyone,

for my project, i'm developing some Bots for my Wiki to edit pages.

After i successfully logged in with my script, i need an Edit Token to edit or create pages. My question is: does this mean that I need to retrieve an edit token for each page the bot is gonna edit or do i need just one edit token per session?

I'm using MediaWiki 1.29.2 and developing bots in PHP 7.0.

Reply to "About Edit Tokens"