Project:Support desk

Jump to navigation Jump to 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".
2003:DF:DF0A:8F72:280A:4684:F0F4:2F53 (talkcontribs)
AKlapper (WMF) (talkcontribs)
Reply to "Recent Changes like Wikipedia" (talkcontribs)

I was recently blocked for half a year and was told to use {{avblockering}} on my discussion page but how to do that if I'm blocked? It doesn't work!

Jasper Deng (talkcontribs) (talkcontribs)

Even if the first thing you wrote is correct, what's the purpose of this policy:



Publicly available proxies (including paid proxies) may be blocked for any period at any time. While this may affect legitimate users, they are not the intended targets and may freely use proxies until those are blocked. Tor editing, on the other hand, is automatically prevented. No restrictions are placed on reading Meta or another Wikimedia project through an open or anonymous proxy.

Non-static IP addresses or hosts that are otherwise not permanent proxies should typically be blocked for a shorter period of time, as it is likely the IP address will eventually be transferred or dynamically reassigned, or the open proxy closed. Once closed, the IP address should be unblocked.


Yes, I was referring to a block on Swedish Wikipedia. Who's able to help me with that?

AhmadF.Cheema (talkcontribs)
Reply to "Being blocked for say half a year"
Gerdesj (talkcontribs)

I have been maintaining this: Intranet for a while now. It is my company's formal documentation for MW installations so I do not really care what anyone thinks of it (obvs!)

I would be grateful for responses to the following:

  • Do I create a OS install step by step with piccies? At the moment I stipulate "install Ubuntu minimal "Bionic" which is a bit terse.
  • Do I do a Windows server version? (I've only been wrangling the bloody things for 20 odd years but prefer Linux)
  • How do you find my writing style?

The last point is very important, I think. I try to be concise and try to avoid en_GB if I can but am I too technical or too terse or whatever? If you think my docs can be improved in any way, I am happy to see contributions and brutal (constructive) edits and comments.

(PS: Try going to the home page and looking for installation instructions. You'll likely find this link and start here: Manual:Installation guide That is not my idea of a good start page. That page may well be the first impression that someone gets of MW. I wonder how many wikis are lost to MW because of that? Perhaps this lot: might like to look into this)

AhmadF.Cheema (talkcontribs)

Perused through it. Everything looks fine.👍

Gerdesj (talkcontribs)

Thanks but please feel free to actively criticise. I really will not be offended.

Reply to "Docs - Request For Comments"
Uniondalecemetery (talkcontribs)


We are doing research on Notable people buried in our cemetery and would like to make "Union Dale Cemetery" searchable on wiki. I tried to create a username to begin doing this but didnt read the full directions before creating a username and am now blocked. Can you help me please.

Leaderboard (talkcontribs)

You'll need to appeal on your Wikipedia talkpage, not here.

Reply to "Union Dale Cemetery"
Spiros71 (talkcontribs)

I use PAGENAME in a template as part of a URL. However, when the pagename is more than a word (has space) the URL breaks. Is there a way to use it in a URL safe way?

Notmadewelcome (talkcontribs)

Use Uul0qlni8jnp5kpo, a variant that encodes spaces to make a valid URL

Reply to "Using {{PAGENAME}} in a URL"

How to disable grouping of categories by sort key on a category page?

Summary by Redponey

The solution was the add CSS code to Common.css to hide the header tag for the sorted category groupings.

Redponey (talkcontribs)

I want to disable the grouping of categories by their sort key on a categories page. I still want the sorting to happen, but not have the separate sections with headers for each key (i.e. there should be no big letter "A" in front of all the pages that start with the letter A).

I've looked at the Category documentation and talk page and searched the manual and

AhmadF.Cheema (talkcontribs)

In your MediaWiki:Common.css, add:

#mw-content-text > > #mw-pages > div > h3 { display: none; }
Redponey (talkcontribs)

That did the trick, thanks!!!

Sorting citation list items by keys

1 (talkcontribs)

Hi all, I am trying to find ways to auto-sort a list of citations (like *{{cite book|title=book A|year=2000}} *{{cite book| book B|year=1990}}) by their year published.

I already know how this can be partly done via sort_list (, which can re-sort a list by item's alphabetical order, in the case of a list of citations, this is usually a sorted list of the authors' last name. However, could something be done to parse out the year within the citation text, and re-sort them by the year (or other keys) as well?

This could be done easier probably via a "wikitable sortable," but it would be great to know what's possible for a list. Thanks!

Reply to "Sorting citation list items by keys"

Persistent 504 gateway errors on editing pages - never on reading

Antek Baranski (talkcontribs)

Hi there,

I am very new to MediaWiki, never touched the thing until this week. :D

I have 8 wikis running on and I am having timeout issues on 2 ( and of them when submitting a change to a page, the other 6 wikis save pages just fine albeit they are a little slower than I'd like them to be but that's not the main problem right now.

The nginx/fpm-php frontend runs on its own 8CPU 16GB RAM system and the databases & `runJobs` scripts for the 8 wikis run on a 16CPU 32GB RAM system.

I've looked at increasing the fpm-php timeout to 300 and also tried using `set_time_limit(120);` in my LocalSettings.php but neither option appears to have any impact what so ever.

Examknow (talkcontribs)

I looked on your site and found nothing wrong with it. Maybe it is your computer.

Antek Baranski (talkcontribs)

Is that a serious answer or are you just a troll?

Examknow (talkcontribs)

@Antek Baranski No I am definitely not a troll. It is my mission to keep wikis free of trolls. If you check your site maybe on another computer, then it might work. However as far as I can see there is nothing wrong. Also I noticed that you are hosting on a hosting provider. If you have further issues, you should let them know.

Antek Baranski (talkcontribs)

The behaviour only occurs when you EDIT pages as I wrote in the first post, and its been confirmed by at least 12+ people, so how you were able to verify this I don't understand because unless you are already registered as a contributor you won't be able to edit anything.

As for hosting, the wikis are running on an EC2 instance behind CloudFlare, so I am not entirely sure what you mean by a `hosting provider`.

Examknow (talkcontribs)

Okay never mind. I am going to remove myself before a dispute arises. Please do not reply to me any further.

Ciencia Al Poder (talkcontribs)

How long does it take when you submit the edit until you get the 504 error? Does it match the configured timeout? It could be on different layers: Cloudflare has a timeout, the webserver (nginx, apache...) another, php-fpm another... You'll hit the lowest value from all of them.

About the slowness, I'm not sure if setting a debug log for a couple of requests would give timestamps on the debug log, which should give some indication on where it seems to spend most of the time. Manual:Profiling would definitively help in diagnosing the problem.

Antek Baranski (talkcontribs)

The timeout occurs on 2 fronts, CloudFlare & php-fpm.

CloudFlare responds that the 'nginx' server replied with a 504 after 60 seconds which is the default nginx proxy timeout, which if memory serves me right is what is used when passing a request on to php-fpm, I've bumped up nginx timeouts like this:

        client_header_timeout 300;

        client_body_timeout 300;

        fastcgi_read_timeout 300;

        proxy_read_timeout 300;

        proxy_send_timeout 300;

And I also modified the php & php-fpm timeouts to be 300 seconds.

On the php-fpm I am seeing the following 5 recurrent issues:

[19-Feb-2019 16:17:38 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/docs/master_wiki/includes/exception/MWExceptionHandler.php on line 521

[19-Feb-2019 17:58:58 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/docs/master_wiki/includes/exception/MWExceptionHandler.php on line 388

[19-Feb-2019 16:27:01 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/docs/master_wiki/includes/exception/MWExceptionHandler.php on line 154

[19-Feb-2019 18:03:35 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/docs/master_wiki/includes/json/FormatJson.php on line 144

[19-Feb-2019 18:53:01 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/docs/master_wiki/includes/exception/MWExceptionHandler.php on line 154

None of those changes seems to have had any meaningful impact

Ciencia Al Poder (talkcontribs)

Try the debug log thing. Set up a debug log, perform an action that takes that long time, and disable it. Then inspect its contents and try to identify any possible problem from the log.

Reply to "Persistent 504 gateway errors on editing pages - never on reading"

How can I create a new page (article)?

Monocero (talkcontribs)


I would like to know how to enter the function of creating new pages? How to create a link to create new pages (articles)? Do I have to enter some code to LocalSettings.php file or use an extension?  

I have installed the "InputBox" plugin and on this page: Help:Starting a new page is the code for creating a new page "Using article creation template", but how can I create a new page at all? What should I click?

I would like to have a link to create a page immediately, something like Upload file in Tools tab.

I'm a beginner at MediaWiki.

Please help me.

Examknow (talkcontribs)

What I did for my wiki is that I put in a link on the sidebar. Using the MediaWiki:Sidebar page I put this code into the side bar page ** Create Page|Create Page. Now you will need to make a page called Create Page. In the page input the following wiki text <inputbox> type=create break=no </inputbox> . Then you should be good to go.

Monocero (talkcontribs)

Thank you for the information.

"What I did for my wiki is that I put in a link on the sidebar. Using the MediaWiki:Sidebar page I put this code into the side bar page".

How can I put the same link? How to do it exactly?

Is this explained here?

Manual:Configuration settings

AhmadF.Cheema (talkcontribs)
  1. Install Extension:InputBox.
  2. Browse to any page on your Wiki, in the address bar of your browser, replace the Wiki page name with: Project:Create Page.
  3. Click on the Create tab and then enter the following text: <inputbox> type=create break=no </inputbox>.
  4. Go to your Wiki's version of the page MediaWiki:Sidebar.
  5. Add: ** Project:Create Page|Create Page (better to replace "Project" with your site name).

You can also use some extensions. See Extension:Create Page and Extension:CreatePageUw.

Monocero (talkcontribs)

1. I have this extension installed.

2. Explain it to me more clearly. Example link: how to change this link in "Project: Create Page"?

In this way?

3. If so then after going to the editor and after entering this code an error occurred: Input box type "create break=no" not recognized. Please specify "create", "comment", "search", "search2" or "fulltext".

4. Can you explain it more clearly? I do not really understand.


I installed this extension and the link to create a new page is located in the special pages tab. How can I add this link to the Tools tab on the main page?

And in the Configuration tab is such a code, should I add this code to LocalSettings.php file?

$wgCreatePageUwUseVE = true;

AhmadF.Cheema (talkcontribs)
This post was hidden by Tomybrz (history)
Monocero (talkcontribs)

Thank you for the explanation.

To go to edit the sidebar should to do it this way:


Only now I realized how to do it. :)

I managed to add this link to this sidebar but I would like to know whether I can add this link below to the Tools tab?

I added the same post by case as a guest. How can I report that post to be deleted?

AhmadF.Cheema (talkcontribs)

From Topic:Scrgphbajks15l61:

"Toolbox items are not editable. They're generated based on MediaWiki/skin/extensions.

If you know PHP you could use the BaseTemplateToolbox hook to modify the items in PHP"

Some hacks are mentioned at Manual talk:Interface/Sidebar, if you want to give them a try.

A more convenient method would be to create a new section in the sidebar:

* Actions
** Special:CreatePage|Create New Article
Examknow (talkcontribs)

That post was deleted. Yes that I how you edit the sidebar. I am not aware of a way that you can edit the tools section without going deep into the backend and risking breaking the toolbox function.

Monocero (talkcontribs)


I understand. Thank you for the explanation.

I would like to know if the "Create Page" link can be set to be visible only after logging in?

I would like to know how can I put other links in sidebar? E.g. forum link etc.


This post is still visible, it is hidden. I do not want my IP to be publicly visible in that post.

AhmadF.Cheema (talkcontribs)
Monocero (talkcontribs)
AhmadF.Cheema (talkcontribs)
Monocero (talkcontribs)
AhmadF.Cheema (talkcontribs)
Monocero (talkcontribs)

This solution also does not work.

Links disappeared: Home page, Forum, Recent changes, Random page and Create page. And occur a mistake visible on the screen.

I think that rather there is no solution.

AhmadF.Cheema (talkcontribs)
Monocero (talkcontribs)

I did not create MediaWiki:anon_sidebar page. Do you have a hidden link "Create Page" for anonymous users in your Wiki? I ask out of curiosity. I see that there is a lot of try with this.

It is possible that it will be left as it is. Or I will remove the Create page from navigation link.

Examknow (talkcontribs)
AhmadF.Cheema (talkcontribs)

When you say "Links disappeared: Home page, Forum, Recent changes...", is this for anonymous users or logged-in users. If it is only for anonymous users, then this probably is the expected behaviour. Anonymous users will see the sidebar defined through the MediaWiki:anon_sidebar page, in the absence of which they will see p5gDBBv.png including the "mistake".

I personally have never set-up a hidden link "Create Page" for anonymous users, seems much more trouble than it's worth.

Reply to "How can I create a new page (article)?"

how to delete a user or at least change the user name

Damien.royer (talkcontribs)

This account has been created by mistake ( and I am very sorry for that ) . Actually the user name is not even mine and it may be kind of problematic. I didn't contribute yet and I would like to have the permission to change the username of remove the account of possible. How can I do it on

I tried but seems that I don't have the permission to merge the account with another one, or delete the account.

I need your advise. Thanks !

AhmadF.Cheema (talkcontribs)
Reply to "how to delete a user or at least change the user name"