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
Uğurkent (talkcontribs)

I am global rollbacker. I get an error:rollback fails, ''There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again.'' I can't take any changes back. It also remains the same, although I change the language settings on the wiki. For example, I change the language of menu's in the Ukrainian Wikipedia. I am setting the Turkish language but again becomes the Ukrainian language. I am using Tagger for Speed deletions tool when I get invalid token error. Also api.php responded with unknown result: WrongToken on Huggle.

Reply to "I need help on many issues"

Infobox templates show {{#se: / {{#if: code

Rodriguewilson (talkcontribs)

I read everything I found about templates, ParserFunction and Scribunto installation as well lua. I was able to install those extensions.

I have also imported all the recomended templates. Eventhoug, when I copy or use a template, the template appears with code {{#se:   / {{#if:

and the template does not show up inside the box, but occupies all article width as you can see here:

How can I solve these problems?

Thank you for your help!

Reply to "Infobox templates show {{#se: / {{#if: code"
Hansie (talkcontribs)

Dear Member,

While registering an e-mail is send.

But I get the following error-code : Failed to connect to [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )]

I added the folowwing code :

$wgSMTP = array(

'host' => '',

'IDHost' => '',

'port' => 25,

'username' => '',

'password' => '',

'auth' => false


How can the error be prevented?

Thank you in advance.


Reply to "E-mail while registering"

I am translating to Tagalog and the recommended English translation is not good.

AzimuthPolarity5 (talkcontribs)


Shirayuki (talkcontribs)

Learn wiki markup before translating. (talkcontribs)

The English text usually are the "originals". So if they are not ok, the correct workflow is to first change the original and to later update the translation accordingly.

Reply to "I am translating to Tagalog and the recommended English translation is not good."
Codecraze (talkcontribs)

Warning: Cannot modify header information - headers already sent by (output started at /home/content/48/2798248/html/wp-admin/includes/template.php:1947) in /home/content/48/2798248/html/wp-includes/pluggable.php on line 1228 (talkcontribs)

This is a WordPress problem. However, here is the Support Desk for MediaWiki - we do not know how WordPress is supposed to work.

Reply to "not solved by removing spaces"

Special:Log/Patrol looking for "no-auto" only

Juetho (talkcontribs)
  • MediaWiki: 1.27.0-wmf.12 (0915d8b) 02:16, 5. Feb. 2016
  • PHP/Database: n/a
  • Project: WMF

I'm able to look for auto-patrolled edits and for all edits; I'm not able to look for edits that are not auto-patrolled.

Special:Log/Patrol works as follows: showing auto-patrolled edits only. On the other side, I tried parameters like "noauto", "no-auto", "notauto", "not-auto" but all these wrong parameters are ignored. Is there any suitable parameter to call no-auto edits only?

ApiSandbox works similarly. shows all edits differed by

<params curid="782016" previd="781892" auto="" />
<params curid="782008" previd="782007" />

As far as I remember I found a test showing auto-patrolled edits only (but don't know how). I didn't find a way to show no-auto edits only.

Of course, I can remove all auto edits manually. Is there a more direct way? Thanks in advance, Jürgen (User:Juetho)

Juetho (talkcontribs)

No answer 'til now, so I created a help by myself:

  1. Create a dotNet application using
  2. Use the Api query command "list=logevents" as linked to the ApiSandbox above.
  3. Store the result as internal Xml inside the application.
  4. Check each item of the result whether <params> contains the auto attribute or doesn't.

I don't mark the problem as solved hoping that someone else shows a more direct way. Jürgen

Reply to "Special:Log/Patrol looking for "no-auto" only"

Page Import created orphaned pages - How to Fix?

2601:248:4703:DD60:78E7:7501:A8DA:C564 (talkcontribs)

I am new to mediawiki and I imported 1088 pages from a formatted XML file. During the import it froze and only 900 some imported. From viewing all pages though it appeared those pages were made successfully. I ran a secondary import of the remaining pages and this completed successfully, but upon further inspection, I noticed my wiki's statistics only said I had 169 pages (pages done in second import), and the other pages were all orphans.

I've tried some mass delete extensions to just delete the 900 some orphans and re-import them, but I couldn't get the extensions to work! I actually don't 100% what the severity of the page being orphaned is in the first place, but being a bit OCD it irks me my site statistics only shows 169 pages when I really have 1088 pages! Is this something I need to fix, and if so, what is the easiest way to fix the orphaned pages?

EDIT: The orphaned pages are in the MySQL database tool, the only difference I see from the 169 regular pages being the "page_links_updated" column is set to "NULL" for the orphans whereas the 169 regular pages all have a long number inserted there.

Thank you for any help on this!

Reply to "Page Import created orphaned pages - How to Fix?"
Jfoster81747 (talkcontribs)

Lua error in mw.title.lua at line 68: attempt to concatenate field 'nsText' (a boolean value).

The error above is now still popping up. I have updated the Module:Shortcut from Wikipedia and the Module Shortcut/config.

Reply to "New issue with mediawiki 1.27"
Jfoster81747 (talkcontribs)

OK I have it running and seems all good except for couple of things. The Navigation pane is at the bottom of the mainpage for the site and the custom logo does not show up anywhere. Along with that and likely related , the login and preferences links that were at the top of all pages along with the edit buttons are all located at the bottom of the mainpage as well. For anyone who has a minut to look at it. the site is a test site: Thanks for any assistence.

Jfoster81747 (talkcontribs)

OK the issues are solved. I needed to update the skins to a newer version.

Reply to "New Mediawiki1.27 with Php7 , 1 bug left"
Jfoster81747 (talkcontribs)

I'm experimenting with the new 1.27 mediawiki and have it installed on a working LAMP system ubuntu. I am getting this apache error message when I try to start the server:

[Thu Feb 04 10:03:24.654584 2016] [:error] [pid 26404] [client] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/includes/PHPVersionCheck.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/index.php on line 36

I see that the there is no longer a index.php5 file in the start up and the index.php file is vastly different than 1.25.2 mediawiki. Any tips on what to do.


Jfoster81747 (talkcontribs)

FYI: I also am running and have verified that it works Php7. Just need to figure out how to configure the mediawiki1.27 to use it. chave also run composer update and only get a depreciation error warning on constraints. that should no stop the mediawiki from running.

Ciencia Al Poder (talkcontribs)

Does /var/www/html/includes/PHPVersionCheck.php exist and can the server read it?

Jfoster81747 (talkcontribs)

Yes it does exist and as far as I know the server has access, however I did just now compare the files ownership to my provious working set up and see they are different. Fixing that & will report.



Jfoster81747 (talkcontribs)


That did get the very basic site to running. However now its full of bugs. used the basic recycled LocalSettings from the older running site. However it craps out when I try to run php update.php to get the site updated. I'm getting this error regardless of which extension I put in there.

PHP Parse error:  syntax error, unexpected 'require_once' (T_REQUIRE_ONCE) in /var/www/html/LocalSettings.php on line 190. I do not know if this is because of the new style of loading extensions, but that does not work either. Any tips??



Jfoster81747 (talkcontribs)

OK I'm now getting this error using the new load syntax:

PHP Parse error:  syntax error, unexpected 'wfLoadExtension' (T_STRING) in /var/www/html/LocalSettings.php on line 190 (talkcontribs)

You obviously have an error in your LocalSettings file near that line. If you can't figure out what it is, post the lines near that area (redacting any private information).

Jfoster81747 (talkcontribs)

Thanks to all who assisted. The site is now up and running Mediawiki 1.27 on php7. VERY fast...Now to debug the few things missing..

Reply to "PHP version missmatch on mediawiki1.27"