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".
Language: 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
Summary by Gochiusa


Gochiusa (talkcontribs)

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure stylesheet ''. This request has been blocked; the content must be served over HTTPS.

I Changed Server, And Make HTTP to HTTPS.

And Get That Error. How To Fix That?

Vincenzo1492 (talkcontribs)

Please block @Shastri devrajji - another spammer on Talk:Reading/Web/Projects/Related pages. Thanks

Az1568 (talkcontribs)


My LocalSettings.php file got deleted accidentally

Pjoona11 (talkcontribs)

My LocalSettings.php file got accidentally deleted! What do I do now?

Do I have to start everything -- hours of work -- all over again?

Could someone give me the code of a default LocalSettings.php file or something?

Pjoona11 (talkcontribs)

Nevermind, I created a new database.

Kiwkius (talkcontribs)

Server Setting


$wgLocaltimezone = "Asia/Tokyo";

date_default_timezone_set( $wgLocaltimezone );

PHP Setting

date.timezone = Asia/Tokyo


Ciencia Al Poder (talkcontribs)

Yes, the server time is UTC (talkcontribs)

How To change that?

Reply to "Timezone UTC?" (talkcontribs)

Anyway.. logs and recent changes aren't logging. The issue was apparent right after I upgraded from 1.26.2 to 1.27. I checked the database and the recent changes table is stuck in history, i.e before the upgrade.

Reply to "Logs/Recent Changes aren't logging."

Unable to change Vector CSS back, wiki broken :(

NessBirdSupport (talkcontribs)

Trying to hide the left sidebar, I accidentally changed the Vector CSS rather than the Common one. Now I am unable to edit the custom CSS page for some reason -- when I go there, the text appears but is not in an editing window, and there is no save button.


NessBirdSupport (talkcontribs)

Changed to a different skin. Would like Vector back :) (talkcontribs)

Easiest solution: In your user preferences, change the skin, which your user account uses, to Monobook or so, essentially to anything that is not Vector. Then fix the page, e.g. by going back to an older revision and switch the skin back to Vector.

Some way more difficult solutions would be this: If you have direct access to the database, you could fix it by manipulating the conents of the Vector.css page inside the database. Apart from that it will be hard to guess what you have changed (and so what you would have to change back, e.g. using Firebug) in order to make the editing field and the button visible again.

NessBirdSupport (talkcontribs)

I'm sorry, I can't figure out how to "go back to an older revision". There is no link or button for this...? When I try to "change visibility of selected revisions" I get:

Revision visibility could not be updated:

Error hiding the item dated 18:30, 23 September 2016: This is the current revision.

It cannot be hidden.

There is no delete button. Thanks for your help! (talkcontribs)

It is way easier: Just go to the revision history with action=history in the URL. Then check the different revisions and find one, which did not have the problem. Then hit "Edit" and save. This will effectively roll the page back to that revision.

But you can also choose any other way to go to an older revision - the point only is that you again put content on the Vector.css page, which does not cause the problem.

NessBirdSupport (talkcontribs)

Oh NOW I get it! Before I modified the code, I could just enter something in the text window. Once I saved it, it created an edit link in the top, but I never saw it. Duh. It just never occurred to me that this was a page like everything else.

Thanks for your help ;=}

2620:15C:281:FD0F:6491:1019:3193:855E (talkcontribs)

I have a file, "all.js", that I want to include in every page. I'm wondering:

1. Where is the best place to do this?

2. How do I make sure that the mediawiki object (mw) is available?

Cheers! (talkcontribs)

It depends:

  • If your file depends on other things, e.g. on jQuery, then you should integrate it using a ResourceLoader module. This should especially be done, if the file is used inside a skin or an extension. It might then be possible to use a hook to integrate the file.
  • If the file does not depend on anything, then you can just put its contents into one of the CSS pages. See Manual:Interface/Stylesheets for more information!
Ciencia Al Poder (talkcontribs)

See Snippets/Load an additional JavaScript or stylesheet file on all pages. If you use this or MediaWiki:Common.js, etc, mw and jQuery should be available.

Reply to "Include javascript file on every page"
Strangeweegee105 (talkcontribs)

every time I try to save I get a error telling me to connect. I am logged in though so i dont know what to do. i have tried reinstalling roblox and it still happens

Reply to "Login in issue"
Sergezolotukhin (talkcontribs)


I have multilingual wiki-site with custom namespace "Story". The name of this namespace is good for english version, but in russian version i want to translate "Story" to rus "История" like done special namespaces Category (Категория), User (Пользователь) and so on.

What's the right way? Okay I can definde NS_STORY_EN, NS_STORY_RU ... but it's not good i bet.

Ciencia Al Poder (talkcontribs)

See Topic:Ru13btkitdgp8l2s

Sergezolotukhin (talkcontribs)

that is not exactly what I`m asking, but thank you :-P (talkcontribs)

The name, which is displayed on a namespace tab, this name comes from an interface message. And interface messages can be localized.

That way it should be possible to display a different name on the tab and this depending on user language. I don't know how confusing this might be, but technically it should be possible.

Reply to "Localized alias for namespace"

How can I add a localized name to a custom namespace?

Jan Sende (talkcontribs)

Hey guys, I followed the manual for adding a custom namespace via LocalSettings.php and it works fine. However i want to display it's text differently in multiple languages. How can I achieve that? I tried using variants of:<br\> $namespaceNames['de'] = array( NS_EXERCISES => 'Übungen', NS_EXERCISES_TALK => 'Übungen_Diskussion', );<br\> But nothing happens. I even tried modifying the variables directly in the language file, but still nothing happened. So, what is the right way to do this?

Nemo bis (talkcontribs)

I've never heard of a way to have a namespace have a different name in each language on a same wiki; you probably got confused. At most you can set $wgNamespaceAliases.

If you want to translate the display title of pages, please use Translate. Be aware of bugzilla:29928.

This comment was hidden by (history)
Sergezolotukhin (talkcontribs)

Try $wgExtraNamespaces[NS_EXERCISES ] = "Übungen"; (talkcontribs)

I don't see how $wgExtraNamespaces would display the name differently depending on language.

Sergezolotukhin (talkcontribs)

Oh. I read the question no closely

Ciencia Al Poder (talkcontribs)

You can define an alias for a namespace, for example, Image: is an alias for File:, but, only one of those alias is the main one and the one that will be displayed and used by MediaWiki. You can link a page using an alias namespace, but it will point to the "canonical" namespace name.

So if you define german aliases for english custom namespaces, you can use them to link to pages of that namespace, but when your users follow that link they'll see the english namespace and not the german one.

It can't be done per "user language", because that will break the cache, URLs (namespace is part of the URL) and who knows what other things.

Sergezolotukhin (talkcontribs)

Thank you!

Aliases do not solve the problem.

> It can't be done per "user language" -- but it works with internal namespaces. I mean there are different sites with one namespace value (NS_PROJECT for example) and different titles:

so on...

Ciencia Al Poder (talkcontribs)

As I said, it doesn't work per "user language". Служебная:Спецстраницы doesn't work on any english wiki, no matter if your language is set to russian. (talkcontribs)

So the answer is: If you want to link to a namespace, then this only is possible with its real name.

However, the name, which is displayed on a namespace tab, this name omes from an interface message. And interface messages can be localized. That way it should be possible to display a different name on the tab and this depending on user language. I don't know how confusing this might be, but technically it should be possible.

Ciencia Al Poder (talkcontribs)

Using aliases you can link with an alias or the real name. However only the real name will be displayed on the URL and the page title.

Reply to "How can I add a localized name to a custom namespace?"