Project:Support desk/Archives/Miscellaneous/008

From mediawiki.org

External editors

I have this problem with ee.pl. Nobody can help me?—B3t 10:24, 2 May 2010 (UTC)[reply]

two navigation bars AND custom image in the navigation bar

  • MediaWiki version:i cant find the version number but i downloaded it a month ago
  • PHP version:
  • MySQL version:
  • URL:

hi, am a very new to wikipedia... its a simple question :-) how to get two navigation bars on wikimedia? one left and one right? regards, ar

second question: i would like to add a image to the sidebar like:

  • navigation
    • Spezial:Alle_Seiten|Alle Seiten
    • mainpage|mainpage-description
    • portal-url|portal
    • currentevents-url|currentevents
    • recentchanges-url|recentchanges
    • randompage-url|randompage
    • Index|Index
    • helppage|help
  • SEARCH
  • TOOLBOX
  • LANGUAGES

bild:seitenbanner.jpg

the preview shows the image but when i save the sidebar, the picture does not appear. what can i do?


78.55.33.253 09:22, 20 April 2010 (UTC)[reply]

For the second question see here. — Matěj Grabovský 20:31, 7 May 2010 (UTC)[reply]

Novice user needs help backing up Wiki site

  • MediaWiki version: Don't know how to find this out
  • PHP version: Don't know how to find this out
  • MySQL version: Don't know how to find this out
  • URL: Intranet site

Dear colleagues,

I have been ordered to back up a Wiki site used internally on my employer's intranet site.

I found the following link to back up a Wiki :

Exporting all the files of a wiki

And a link on this page taking me here :

m:Special:AllPages

Can anyone advise on what I need to fill in on this link? It asks for "Display pages starting at:" and "Display pages ending at:". What do I put in these fields? I tried inserting the url for my wiki site but this did not work.

Unfortunately I have no knowledge whatsoever about Mediawiki so have no idea how to back it up. None of the terminology means anything to me. I don't even know how to find out which version of Mediawiki I'm using! Any help appreciated.

129.230.248.1 11:20, 4 May 2010 (UTC)[reply]

To find out the version of MediaWiki that you're using, go to Special Pages in your wiki and then choose the page Version. To backup your database, check Manual:Backing up a wiki. Hamilton Abreu 19:39, 4 May 2010 (UTC)[reply]

How do I convert a Mediawiki page to HTML

How do I convert a mediawiki page to HTML? 71.100.1.71 12:22, 5 May 2010 (UTC)[reply]

See Extension:DumpHTML. — Matěj Grabovský 20:23, 7 May 2010 (UTC)[reply]

Saving pages in Wiki; possible statistics

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.5 (apache2handler)
  • MySQL version: 5.0.26
  • URL:
  • Is it possible for user to save different Wiki articles as one pdf-file or other file for printing? Or how to do it possible in MediaWiki?
  • Is it possible to make user specific statistics, e.g. to see from which country the changes were made?

Thank you!

193.103.148.88 09:26, 4 May 2010 (UTC)[reply]

For the first part, I think you may want Extension:Collection; for the second part, you'll need to use a web analytics software such as Piwik with Extension:Piwik Integration. iAlex 12:23, 16 May 2010 (UTC)[reply]

WMF branch sync with trunk

  • MediaWiki version: 1.16wmf4 (r65931)

What's up with the WMF branch? When are updates to the trunk moved to the WMF branch? I see that there are issues fixed in the trunk for a couple of weeks now, but still not in effect in the WMF branch. (Referring to the English wikipedia here.)

Thanks, -Nageh 08:29, 5 May 2010 (UTC)[reply]

Only few revisions from trunk are merged in the WMF branch (generally important fixes). You will have to wait until next full software update to have these fixes live on Wikipedia (don't ask me when this will happen; I don't know). iAlex 12:19, 16 May 2010 (UTC)[reply]
  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

The advice on the above page is about useless, RHL hasn't been around for years having beeen replaced by Red Hat Enterprise Linux (and CentOS) and Fedora.

A document that does not cover installing mediawiki and keeping SELInux enabled isn't going to get it installed as securely as it might be.

Documentation addressing RHEL 4,5 and the forthcoming 6 (and CentOS), plus Fedora 12 (11 will become unsupported shortly) and 13 (nearing release) would be useful


58.6.192.22 07:14, 16 May 2010 (UTC) John Summerfield j20100516@js.id.au[reply]

Wiki got spammed

Recently my wiki got spammed. I tried some google searches and couldn't find the exact problem. The problem is basically when someone searches my site on google, some of the result pages link to spam, but if you go to the actual page there is no spam. Searching "site:www.koreanwikiproject.com" on google gives a lot of "Buy cialis" links, and recently I edited a page, and the next page was spam, clicked reload and made it go away (this only happened once for some reason). Could anyone help me identify this problem or how to fix it? Any help would be appreciated, thank you —Bluesoju 01:58, 15 May 2010 (UTC)[reply]

Possibly someone hacked your site, inserted some php code into mediawiki files that triggers randomly (hard to know for sure if thats the issue without looking at the code). (if you have wordpress installed, might have something to do with that as the generator on the spam version of the page is set to wordpress). Perhaps re-install all your files and check for any security issues. Bawolff 04:23, 15 May 2010 (UTC)[reply]
Should I go with a fresh install? I'm worried it might leave the infected files intact, but also not really sure how i would get it back to my old wiki. I guess copy the uploaded files folder, skins, and reinstall my extensions. You think that will do? I do have wordpress installed, but it seems that only the wiki pages generate spam, so I think it's either my wiki or sql that is generating the spam. --Bluesoju 00:27, 16 May 2010 (UTC)[reply]
You have to rescue first what you don't want to lose, but first check if they aren't hacked too. You can still dump your MySQL database (I think). --Diego Grez return fire 01:39, 16 May 2010 (UTC)[reply]
By rescue you mean backup right? The problem is, I don't know the source of the hack, so I don't know how to check or where. Which is why I wanted to do a fresh install and load my files i previously uploaded and use the same database --Bluesoju 02:30, 16 May 2010 (UTC)[reply]
Sure, but check twice if they aren't hacked :) --Diego Grez return fire 02:38, 16 May 2010 (UTC)[reply]
I wish I knew how. The odd thing too is these google search results don't take you to the spam actual website, it just brings my page rankings down :( --Bluesoju 02:42, 16 May 2010 (UTC)[reply]
Do you really need these hacks? If I were you, I should just do a fresh install, to avoid any further problems. Maybe these hacks provoked the unstability of your website that caused the spamming. Just backup the database :) --Diego Grez return fire 02:55, 16 May 2010 (UTC)[reply]
What "hacks" do you mean? All I need is the files i've uploaded, because there are thousands. I guess i'll just try a fresh install. Do I just copy and paste the files into the new mediawiki and import my settings file? --Bluesoju 03:28, 16 May 2010 (UTC)[reply]

1st step: Download MediaWiki. 2nd step. Upload it to your website. 3rd step. Install it. That is a fresh install. Do not edit any file. That provoked certainly the security hole. --Diego Grez return fire 03:30, 16 May 2010 (UTC)[reply]

Did a fresh install so we'll see how that goes. Found the source of the evil, it was in the index php file at the bottom, a bunch of compressed text that apparently contains arrays of other junk. This is for anyone else who might get this problem, now idea how the code was injected though. --Bluesoju 12:13, 16 May 2010 (UTC)[reply]
Even after a fresh install, somehow the code got injected back in a few days later! Ahhhhhhhhhhhh why am I the only one having this problem? --Bluesoju 04:19, 21 May 2010 (UTC)[reply]
Probably the same way it happened the first time. Check your web server access logs to see what happened. Quite possibly they are attacking some other php script you happen to have installed that is insecure. fix whatever hole allowed the bad people to hack you in the first place (if you can't find one, making sure your webserver and other software is up to date is a good first step). Change passwords on the offchance that the attacker knows your password, etc. Bawolff 02:43, 24 May 2010 (UTC)[reply]

Import dump and templates problem

I imported a wiktionary dump with mwdumper and templates are broken. I am trying to create a mirror of different wiktionary sites and I am encountering trouble with imported templates. After a fresh install of the necessary components on mac osx (please see below for mediawiki versions and extension info), I am using mwdumper and the swedish wiktionary dump to import the swedish wiktionary db info. The import runs fine. However, when I look at the pages, all the templates are not transcluding. What I am seeing is something like Template:some template, where I should be seeing the transcluded template data.Clicking on the template itself redirects to a page edit page where it is possible to enter in some template data, and when I go back to the original page which has the template and "preview" it on the edit page, the template works. Therefore, it doesn't seem that this is a parser issue... it seems more like problem with the import itself.Furthermore, in looking at the rows in the "page" table of the db, I noticed that all the template entries have a namespace of 14... that seems odd because the template namespace is 10.

Has anyone else encountered this problem? I would really appreciate any information on how to resolve this issue. Thanks in advance!

Product Version MediaWiki 1.15.3 PHP 5.2.12 (apache2handler) MySQL 5.1.46 Extensions Cite (Version r47190) ParserFunctions (Version 1.1.1) Winter (Wiki INTERpreter) (Version 2.2.0)

Did you set manual:$wgCapitalLinks to false? . Bawolff 02:35, 24 May 2010 (UTC)[reply]

Infobox alternating colors

Wookieepedia's infobox templates alternate colors on the lines between white and light grey. Mine refuse to do that, even when I copy the template word for word. I also copied Common.css, Common.js, Monobook.css, Monobook.js, Functions.js, Upload.js completely over from Wookieepedia, and I installed every single extension they have. Still my infoboxes refuses to alternate colors. In fact I don't think any of the java is working. I distinctly remember having this same problem about a year and a half ago with another Wiki and I managed to fix it somehow.. but I don't remember. Any suggestions? -- 69.76.11.171 03:00, 22 May 2010 (UTC)[reply]

[RESOLVED] URL variables to automate an edit

  • MediaWiki version: 1.15.3
  • PHP version: 5.2.10-2ubuntu6.4 (apache2handler)
  • MySQL version: 5.0.87-b20-log
  • URL: http://starwars.wikia.com/

Hello. I am trying to create a URL that can open the edit box, autofill the box with a snippet of code, and save the page, all with one click. I remember seeing such URLs on userpages on Wikipedia, but can't seem to find them again to get the code from them. We already have something similar with our vandal reporting template, which uses variables(?) in the URL to set block expiry and other settings on the Special:Block page. Essentially, what I'm looking to do is take step 2 in this template and modify it to provide a URL that would be something like http://starwars.wikia.com/index.php?title=Wookieepedia:Featured_article_nominations&action=edit&section=new&text={{Wookieepedia:Featured article nominations/{{{1|{{PAGENAME}}}}}}}&save=yes. This would simplify that step of the nomination process slightly, but I'm not sure how to code the last two parts. Is this possible, and if so, how? wikia:starwars:User:Master Jonathan 23:28, 18 May 2010 (UTC)

Use &preload=<some template name> to prefil the box. Auto saving you'd need to use javascript. See Manual:Parameters to index.php for a list of url parameters. Consider also using extension:Inputbox Bawolff 02:39, 24 May 2010 (UTC)[reply]
Never mind, I found the JS code for this on Wikipedia. Since installing that code on a sitewide basis isn't practical, particularly since I'm not an admin, I'll probably just leave it the way it is. Thanks for the help anyway. wikia:starwars:User:Master Jonathan 03:05, 25 May 2010 (UTC)

[RESOLVED] Log in error after installing MediaWiki.

  • MediaWiki version: 1.15.3
  • PHP version: 5.2.13(cgi)
  • MySQL version: 5.0.81-log
  • URL:

After successful installation of MediaWiki, I try to log in with the account information which was entered on the same page as the database information. I enter the username and password then it gives me the error:

Login error There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please hit "back" and reload the page you came from, then try again.

I can create a new user and it does the same thing.

Please help! Thank you.



173.217.106.74 21:21, 23 May 2010 (UTC)[reply]

Do you have a link or it is intranet? --Diego Grez return fire 21:25, 23 May 2010 (UTC)[reply]
The URL is www.rocketwiki.org. Feel free to create a new account. Bigone5500 21:48, 23 May 2010 (UTC)[reply]
Yeah, I've got the same problem. I hope someone more experienced pops in. --Diego Grez return fire 22:24, 23 May 2010 (UTC)[reply]
Works fine for me. (if it didn't work fine, I was going to make the guess that perhaps you had something related to session support misconfigured in php.ini) Bawolff 02:32, 24 May 2010 (UTC)[reply]
How can I get support for getting the php.ini file to be configured correctly? Bigone5500 21:08, 24 May 2010 (UTC)[reply]
Bigone5500, it seems that the problem was fixed, I managed to login too. Could you try logging in too by yourself? --Diego Grez return fire 21:11, 24 May 2010 (UTC)[reply]
Guys, this is great. But I really wish I knew what was going on. I like when things start working, but when they fix themselves, it leaves one wondering what happened to begin with. Bigone5500 22:07, 24 May 2010 (UTC)[reply]
I don't know either :) It is working pretty good [1] --Diego Grez return fire 22:20, 24 May 2010 (UTC)[reply]

[RESOLVED] Change default skin for entire wiki

  • MediaWiki version: 1.15.3
  • PHP version: 5.2.13(cgi)
  • MySQL version: 5.0.81-log
  • URL:

How can I make the skin 'Cologne Blue' the default skin for the entire wiki and disable changing it to another? —Bigone5500 21:08, 25 May 2010 (UTC)[reply]

$wgDefaultSkin. Happymelon 21:13, 25 May 2010 (UTC)[reply]
Is this changed in the php.ini file? --Bigone5500 22:34, 25 May 2010 (UTC)[reply]
No, in LocalSettings.php you add:
$wgDefaultSkin = "vector";
If you want Vector, you can change it to any other skin, like "nostalgia", "chick", etc. This won't override the user's preferences. --Diego Grez return fire 22:36, 25 May 2010 (UTC)[reply]
How can I disable being able to change this for registered users? Bigone5500 22:38, 25 May 2010 (UTC)[reply]
You can't, but most likely people will use the default skin. --Diego Grez return fire 22:39, 25 May 2010 (UTC)[reply]
Thanks guys! Bigone5500 23:01, 25 May 2010 (UTC)[reply]
I have added a line in LocalSettings.php to include the above code. I changed the text to cologneblue. I logged out and hit ctrl>F5 and the skin stayed at the default. What do you think I did wrong? Bigone5500 23:24, 25 May 2010 (UTC)[reply]
Try logging out. And check if you added $wgDefaultSkin = "cologneblue"; --Diego Grez return fire 23:36, 25 May 2010 (UTC)[reply]
Is there a proper place I should insert this code? —Bigone5500 22:03, 26 May 2010 (UTC)[reply]
(2 edit conflicts) You should place that everywhere into your LocalSettings.php. --Diego Grez return fire 22:06, 26 May 2010 (UTC)[reply]
Not to sound really dumb, but what is meant by 'everywhere'? --Bigone5500 22:58, 26 May 2010 (UTC)[reply]
<_< Place that at the very bottom of your LocalSettings. OK? --Diego Grez return fire 23:00, 26 May 2010 (UTC)[reply]
Awesome! That did it Diego! Thanks man! --Bigone5500 23:06, 26 May 2010 (UTC)[reply]

No problem. Glad to help. --Diego Grez return fire 04:23, 27 May 2010 (UTC)[reply]

(resolved/invalid) Mediawiki is friendly to spammers

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

This message is about the site/organisation. I posted somewhere here on May 16, using a time-expiring email address. Just as well it expires, it got flooded with spam. Google finds it sitting in clear view

The (now expired) email address I used is j20100516@js.id.au


58.6.192.22 09:05, 28 May 2010 (UTC)[reply]

Thats not a mediawiki issue. We can't stop users from doing stupid things like that if they want to. Bawolff 10:09, 28 May 2010 (UTC)[reply]

(RESIGNED) Short URLs

  • MediaWiki version: 1.15.4
  • PHP version: 5.2.*
  • MySQL version: 5.0.81-community
  • URL: [www.giantspedia.netai.net]

I'm trying to make Short URLs at my wiki but now my pages are styleless (no CSS). Why? My installation directory is not /w but /public_html but in LocalSettings.php change /w to /public_html have the same effect as making no changes. What I got to do?

81.190.174.209 13:53, 28 May 2010 (UTC)[reply]

Add an image as a link to show on all pages

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

I would like to know how to add an image to the bottom of my pages. I have an image which I want to provide as a link to my web host affiliate account. I would like to have it show on all pages. --Bigone5500 15:08, 29 May 2010 (UTC)[reply]

Two Questions

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

Two questions. 1. I've installed 1.16.0beta3.tar.gz but it doesn't have the same looks as wikipedia.org (it looks less nice) why is this? 2. My wiki doesn't seem to support single carriage returns, whereas all other wiki's do?

  1. Wikipedia's new skin, Vector, is not enabled by default in 1.16, see $wgDefaultSkin.
  2. Please explain further. Can you give a link to your wiki? Max Semenik 10:25, 31 May 2010 (UTC)[reply]

Add buttons on edit toolbar

  • MediaWiki version: 1.15.3
  • PHP version: 5.1.6 (apache2handler)
  • MySQL version: 5.0.77
  • URL:


Hello,

I would like to add buttons on my edit toolbar. I've try to modify the MediaWiki:Common.js (as in the FAQ) and it doesn't work. Do have any others issue ?

Regards

Bruno Richard

164.128.235.36 10:03, 31 May 2010 (UTC)[reply]

(RESOLVED) How can I manually create user accounts?

  • MediaWiki version: 1.15.4
  • PHP version: 5
  • MySQL version: 5

I have set my wiki so you have to be logged in, and visitors cannot create accounts; I want it to be private and only open to people I add.

I have looked far and wide to find how I can create user accounts manually, ie what do I do if I want to give access to a friend?

I would have guessed that an Administrator (sysop) can create new user accounts, but I have not found how anywhere ...

Thanks

Poirot 03:26, 1 June 2010 (UTC)[reply]

Go to [[Special:Userlogin]], click create an account, fill in appropriate fields, then you can either create them directly or have temporary password sent to them, if email is properly configured. Max Semenik 20:08, 2 June 2010 (UTC)[reply]
Thanks Max! --Poirot 00:31, 4 June 2010 (UTC)[reply]

dumpBackup.php

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL: m:Help:Export

The link to dumpBackup.php on the m:Help:Export is not working. It's reported on the discussion part in 2009 but no one seems to be able to help. Can you do something about it?


212.45.32.70 10:54, 9 June 2010 (UTC)[reply]

neue Einstellungen

Hallo mein Name ist Harald

ich arbeite in der http://www.stausberg-wiki.de/mediawiki-1.6.11/index.php?title=Hauptseite , und möchte gerne drei neue Links Installieren, die da als wären; Kritik und Anregungen, Mitarbeiterportal und Chronologica, leider weis ich nicht, wie man das macht, da ich technisch nicht versiert bin, und zum anderen weis ich nicht, wie würde man diese Links bearbeiten.

Da ich nur ein Geschichtsschreiber bin, habe ich davon keine Ahnung

Bitte hiermit höflichst um Hilfestellung


--88.152.13.95 20:38, 9 June 2010 (UTC)[reply]

Some users think my mediawiki site is emitting a trojan threat.

Users with strict intrusion protection running on their machines get an error about a Trojan coming from my mediawiki site. I can't reproduce it, even with Google Chrome, but I was in a canadian fedgov office where I witnessed it. I figured I had been hacked, so I ran up a fresh copy of the software, replaced the config files so it would look like my site and ran from there yet the trojan is still present according to certain visitors.

Hmmm. Is it possible that my version of mediawiki is behaving as if a trojan is present like some emails look like span to some spam filters? I've (again) compared the distribution code to the code that's running my site and it's the same. How can this be?

Tim Penner Greely, ON, Canada toolshop_sysop@whereelse.ca

99.254.11.16 17:56, 11 June 2010 (UTC)[reply]

Question about names and emails

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

I am a Volunteer at the Christopher and Dana Reeve Foundation and we were thinking about starting a MediaWiki and I had a question about the collection of names and emails. For all the members/users that would register under our MediaWiki, would we have access to their names and email addresses for organization purposes?


Please contact me at intern2@christopherreeve.org

Thank you

I am going to respond here (and I will also leave a message linking here on your talk page, when I look it up on the history), as I do not like giving my email address to people I don't know!
There are a few extensions which would allow you to see the emails and real names, including Extension:LookupUser and Extension:UserSnoop -- PhantomSteve/talk|contribs\ 09:54, 22 June 2010 (UTC)[reply]
Talkback left on IP's talk page -- PhantomSteve/talk|contribs\ 10:30, 22 June 2010 (UTC)[reply]

Searching in user's contributions.

How can I search for a a particular term in a users contributions, e.g User:XYZ made a edit ABC, how do I search for it. ? --Yousaf465 08:58, 12 June 2010 (UTC)[reply]

Как поменять вид адресной строки?

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:


Как поменять? Адресс в браузере выглядит как http://www.endodontics.ru/index.php?title=about Чтобы было http://www.endodontics.ru/about


81.89.182.254 13:33, 24 June 2010 (UTC)[reply]

Manual:Short URL. Max Semenik 08:30, 27 June 2010 (UTC)[reply]

How to handle donate ?

  • MediaWiki version: 1.15.4  
  • PHP version: 5.2.5
  • MySQL version: 5.0.51
  • URL: localhost

I have installed Mediawiki local. I am planning install it on host and public it.
How I can add "Donate" button ? --Borneq 14:45, 26 June 2010 (UTC)[reply]

How insert mathematical formula

  • MediaWiki version: 1.15.4
  • PHP version: 5.2.5
  • MySQL version: 5.0.51
  • URL: localhost

When I insert


I don't see formula in local host (here I see)
How to compile texvc? --Borneq 07:50, 27 June 2010 (UTC)[reply]

Manual:Running_MediaWiki_on_Windows#Mathematics_Support Max Semenik 08:29, 27 June 2010 (UTC)[reply]
Thanks, it works, but occupied 400 MB! I install in my computer, how can I install on host?--Borneq 20:36, 27 June 2010 (UTC)[reply]

Transclusion and text replacement made by extensions

  • MediaWiki version: 1.15.3
  • PHP version: 5.2
  • MySQL version: 5
  • URL:

I'm using transclusion for a kind of 'today's featured article' in our wiki. So every day, I copy the content of a page to another named 'today_featured_article/June 29th,2010'. It works very well.

My problem is when the content is displayed on the main page, some text replacements injected by a hook are not done. I have in one of my extensions a 'ParserBeforeStrip' hook which replace ids of pages by their title. When the page is transcluded, this replacement is not done. Of course, if I display the page by its url (I mean for example http://mywiki.com/index.php/today_featured_article/June 29th,2010, everything works)

Why amy parser hooks are not called during transclusion ?

What can I do ?

Thank you in advance

158.169.9.14 09:36, 28 June 2010 (UTC)[reply]

group-permissions

  • MediaWiki 1.15.4
  • php 5.2.13
  • MySQL 5.0.67

Is it possible to protect (read, edit ...) parts (special created namespaces) of a wiki for all users except a special usergroup?

It is necassary, that nobody but the special people can read artikels. (Antwort gern auch in deutsch :-)) --Antropositiv 19:12, 4 July 2010 (UTC)[reply]

Last Viewed Date

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.2 (apache2handler)
  • MySQL version: 5.0.24a-log
  • URL:

Is it possible to get the last date that a page was accessed for a whole bunch of pages in a specified category?


168.224.1.14 11:19, 7 July 2010 (UTC)[reply]

Heading

Text under the heading.

Correct interpretation of the combined article
This is a new combined article.
I don't know if it works there, but I think it will:
Look at this text
The subpages are linked in the headlines, and if you watch the etiting window of the page and its subpages, you will see, how it works. --Kersti 10:32, 8 July 2010 (UTC)[reply]

Some extension installation please

  • MediaWiki version: 1.16wmf4
  • PHP version: 5.2.4-2ubuntu5.7wm1 (apache2handler)
  • MySQL version: 4.0.40-wikimedia-log
  • URL:

Sir I am an sysop in hindi wiki, there are some tools that is not installed in hindi wiki.We have a requirement of abuse filter and to have priveledge(right) to a sysop to add some user group like roll backers, reveiwers , confirmed user. In absense of these we will have to grant admin status for user which are good in these area.please enable this for admin like english wiki.you can check english wiki user right table and hindi wiki user right table, here in hindi wiki admin has no right to add new user group like Rollbackers, Account creators, Edit filter managers, Autopatrolled, Confirmed users, Reviewers except ip block exemptions. I have no privilegde to edit LocalSettings.php, as i donot know where it is or admins cannot watch and edits it.Please install these feature.We will be grateful to you, Regards--Mayurkumar 21:06, 12 July 2010 (UTC)[reply]

The best place would be site requests component in bugzilla:. – Nikerabbit 07:05, 16 July 2010 (UTC)[reply]

api.php does not expand DPL content

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

MediaWiki 1.14.0 (r2090) PHP 5.2.10 (apache2handler) MySQL 5.1.34-community-log URL: http://developer.symbian.org/wiki/api.php?action=query&prop=revisions&titles=SW:S60_9_2:/sf/app/iptelephony&rvprop=content&rvexpandtemplates=1


I'm accessing page content content through the API, some of which contains DPL. Unfortunately, while the api will happily expand an ordinary template, the API returns an empty/blank page if any DPL is in the page (either directly or through a template). I am raising this here because I'm not sure if this is an API.php issue or a DPL issue. Can you give me advice on the proper place to raise this as a defect?

Hamishwillee 00:09, 19 July 2010 (UTC)[reply]

If its only happening with dpl's, seems most likely to be a dpl issue. The proper place would be bugzilla (product Mediawiki extensions, component DynamicPageList2), however first you should follow the instructions at Debugging to get the actual error message (blank page usually indicates fatal php error). 24.65.69.94 05:22, 19 July 2010 (UTC)[reply]
Just as a sidenote, I wasn't able to reproduce the issue on my own setup, so perhaps it was something fixed in the latest version. Bawolff 06:03, 19 July 2010 (UTC)[reply]

group=notes, named ref?

  • Jeez, this place is a forbidding maze!! Is there a way to change {{#tag:ref|content here|group=notes}} into a named ref? I tried {{#tag:ref name="ThisName"|content here|group=notes}}, but it didn't work... I'm working on en:User:Ling.Nut/Sandbox, and have both "Notes" and "Footnotes"; the "Notes" contain longer passages of text. I want to be able to used named refs to point to them more than once... if that's clear... TksLing.Nut 14:42, 20 July 2010 (UTC)[reply]

81.89.182.254 12:11, 19 July 2010 (UTC)[reply]

How do if find the autoconfirmed group?

I wanted to use this:

# Only allow autoconfirmed users to edit Project namespace
$wgNamespaceProtection[NS_PROJECT] = array( 'autoconfirmed' );

As the Version I use is 1.12 there schould be the possibility to give my users the autoconfirmed right. But in "User rights management" I found only the following groups: Bots, Sysops, Bureaucrats - where do I find the "autoconfirmed" group?

And - is this the solution to my problem? I want that everybody is allowed to write in his own (User:Example and User:Example/xxx) namespace, but only user I confirmed are allowed to write in the projekt namespace. Everybody schould have the possibility to write on Diskussion pages. --Kersti 11:50, 3 July 2010 (UTC)[reply]

I found the solution. There seems to be everything here, the problem ist to find it! --Kersti 21:05, 23 July 2010 (UTC)[reply]

Totally Moderated Content

  • MediaWiki version: 1.16.0
  • PHP version: Current downloadable supported version
  • MySQL version: Current downloadable supported version
  • URL: not up yet

I'm a little hesitant about posting and I will admit to not having read everything, but I did read the handbook and all the different ways to prevent edits/user access, but....

I have a general question.

I'm thinking of setting up a highly technical Wiki where I would need to moderate all the uploaded content (eventually probably get help in this regard). But I would not want anybody to be able to just edit the pages.

I would want them to be able to submit comments to me or other admins why they disagree with the uploaded content or proposed changes/additions, but these would not be public.

In other words, everything would have to be filtered, so once it's approved, it stays up unless a serious bug is found or a way to improve it is posted and approved by admins.

Is this feasible with your software?

How do I go about setting this up?

I will try to tinker and experiment with the software and I do apologize if this is a common newcomer question.

208.120.50.196 22:59, 28 July 2010 (UTC)[reply]

Apache HTTP Server Crashes When Trying To Access Preferences

  • MediaWiki version: 1.15.0
  • PHP version: PHP5_SE (Version 5.3.0)
  • MySQL version: MySQL5_SE (Version 5.1.35)
  • URL: This is local


Why does the Apache HTTP Server crash each time I try to access Special: Preferences page? Yet the Mowes Portable interface shows that Apache is running? Thanks.


-Alex

Also seeing this in new install under IIS7 (PHP 5.3.3, MySQL 5.1.45, local install) -Steve

Check your PHP log, because it contains details that will allow us to help you. siebrand 12:39, 30 July 2010 (UTC)[reply]

** Section Links **

Hello, I have mediawiki v1.15.4.

Ok while i was playing with my wiki during setup i noticed that when editing an article with headings if i specified the section number as 0 i could edit all the text before the first heading, maybe this is a bug but i would like to take advantage of it. i would like to place a link to the far right like the other section edit links that will edit section 0 what file should i edit. i looked through OutputPage.php and ParserOutput.php but i don't know where those links are being made Thanks for you suggestions

There's a gadget called 'edittop' which does that. Max Semenik 12:52, 30 July 2010 (UTC)[reply]

ReWrite /URL


How do I set friendly URLs? Everything I have tried does not work. I already have wordpress installed.

98.231.139.97 18:35, 23 July 2010 (UTC)[reply]

See Manual:Short URL for details. siebrand 12:36, 30 July 2010 (UTC)[reply]

upgrade from MediaWiki 1.6.8 to MediaWiki 1.13.4

  • MediaWiki version: 1.13.4
  • PHP version: 5.2.6 (apache2handler)
  • MySQL version: 5.0.45
  • URL:

When I upgraded from MediaWiki 1.6.8 to MediaWiki 1.13.4 I noticed that the number of records in the 'page' table reduced from 10201 (in wiki 1.6.8) to 8723 (in wiki 1.13.4) - I know this is an estimated count for Innodb engine but I looked at the data and noticed that id's from 2-934 had disappeared.

Would this be the expected behaviour for an upgrade from vers. 1.6.8 to 1.13.4?

195.188.250.62 07:53, 30 July 2010 (UTC)[reply]

I think that a lot of those are system messages by User:Mediawiki default, which were no longer necessary -- Bryan (talk|commons) 11:54, 30 July 2010 (UTC)[reply]
Also, please be aware that MediaWiki 1.16.0 has been released recently, and MediaWiki 1.13.4 is considered outdated and insecure. siebrand 12:35, 30 July 2010 (UTC)[reply]

need to find and optionaly replace a "<tag>"

  • MediaWiki version: 1.15.4-1~bpo50+1
  • PHP version: 5.2.6-1+lenny8 (apache2handler)
  • MySQL version: 5.0.51a-24+lenny4-log
  • URL:

Hi. I need to find in my wiki all entries like <colorize> and optionaly replace it with other text. Unfortunaltely a builtin search seems to ignore tags.


Sena 15:31, 30 July 2010 (UTC)[reply]

Font size suddenly increased - inline styles?

  • MediaWiki version: 1.13.0
  • PHP version: 5.2.4
  • MySQL version: 5.0.45
  • URL: [Internal site]

Our wiki's font has all of a sudden become too large. (Yes, I checked my browser settings first. It's happening on everyone's computer. ;) Due to my company's policy and firewall, I don't have access to Firefox on my machine, only IE 7, so I saved one of the pages as a flat HTML file and then opened it on a standalone machine using Firefox. The computed CSS for font size is now 16px, but I'm unable to find exactly WHERE that's being declared.

The only clue I can find is a table class that doesn't exist anywhere in our stylesheets and the name seems to appear to be generated as an inline style. (It says table class="diptable collapsible" - but there's no diptable in any of the stylesheets.) There are also some tables whose CSS seems to be messed up by inline styles, as they're not lining up properly as they were before -- almost as if the width was changed.

The only change I've made recently (and I undid the changes after the site started acting wonky) was a change in the UserLogin.php template -- I added another table row in with text that could be edited in Special:AllMessages. However, I undid all the changes once the site started acting weird, but it's still showing the bloated font size/messed up layout.

Any advice would be very much appreciated. Thank you!

(Posted this on the Formatting page without realizing support had been discontinued... sorry for the double-post!)

169.253.4.21 16:32, 30 July 2010 (UTC)[reply]

Starting "MediaWiki", "pgsql.so module" asked !

  • MediaWiki version: Not yet known ! Does not open ! Loaded with a package "Apache, PostgreSQL, etc !
  • PHP version: The provided one in the package ! Before, I loaded the latest from "PHP Site" !
  • MySQL version: Here, it is "PostgreSQL", latest version !
  • URL: <<eric.beaussart@orange.fr>>

Sir, it is simple : After I loaded a Package from "PostgreSQL", I had the Chance to find "MediaWiki" for a Download. I already loaded it thru anoter way, but, "unzipped", it just gave a long list of "Modules in PHP" and similar, but no "Setup" or "Installer.exe" ! But now, I have in "PostgreSQL Add-on" a "Working MediaWiki". Unfortunately, when I "Click" on it, it gives only : << PHP 5.2.13 installed Could not find a suitable database driver!

	For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module>>

Where in the Hell could I find this "pgsql.so module", and How I can Install it conveniently in my computer ? Sorry to be such a dumb, I have been in Computers Maintenance between 1980 and 1994, but I did not practice since ! Well, I hope you can help ! Thanks anyway for providing a way to contact You ! Eric Beaussart.



83.202.222.86 22:38, 30 July 2010 (UTC)[reply]

Printing a wiki page without showing the URLs behind the links

When I print, or print preview, a page on my wiki, it always displays the URL behind each link on the page. Is there a way to suppress the URL, to make the printed document more attractive (and readable)?

Thegn 14:11, 31 July 2010 (UTC)[reply]

Parameters when embedding Special:WhatLinksHere

  • MediaWiki version: 1.13.5
  • PHP version: 5.2.14 (cgi-fcgi)
  • MySQL version: 5.0.51a-24+lenny4
  • URL: not available to the public

(should work also on

  • MediaWiki version: 1.15.4 (to be updated ...)
  • PHP version: 5.2.5
  • MySQL version: 5.0.51
  • URL: not available to the public)

Embedding special page Special:WhatLinksHere works when using the solution on m:Help:Embed_page#Embedded_Special_Pages (i.e. changing an array at includes/SpecialPage.php). So it can embedded using {{Special:WhatLinksHere/Pagename}}.

What I am looking for is if there is any possibility to add a parameter for a certain namespace (something like {{Special:WhatLinksHere/Pagename|namespace=X}}), maybe by using a programmed template or something else. I have got solutions which

  • change standard parameters in includes/specials/SpecialWhatlinkshere.php (this is site-wide; results in disability for giving links from ALL namespaces),
  • give just a pre-defined link instead of embedding (user has to click on the link),
  • embed an iframe with a pre-defined link (user gets a whole wiki page in the iframe including links, which results maybe in further reading and editing in the iframe),

but there is always something not being that convenient (as described above). Any ideas? Best regards -- JörgM 84.156.136.138 06:24, 4 August 2010 (UTC)[reply]

Database Error. The page i was editing gave me the error once i saved -Revision::insertOn". MySQL returned error "1062: Duplicate entry '348' for key 'PRIMARY' (localhost)

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

I get the error message while i was editing a page and saving it. Revision::insertOn". MySQL returned error "1062: Duplicate entry '348' for key 'PRIMARY' (localhost)


71.178.253.218 19:46, 5 August 2010 (UTC) Karthik Kona. karthiks_kona@yahoo.co.in[reply]

signup issue after upgrading to 1.15.4

  • MediaWiki version: 1.15.4
  • PHP version: 5.2.13 (apache2handler)
  • MySQL version: 5.0.77
  • URL: www.schoolwiki.in

i have installed the mediawiki 1.5.6 and its working fine. Noe we have to upgrade the mediawiki to the latest 1.15.4 and its shifted to 64 bit (centOS) operating system. The upgrading procedure is done as per the Upgrading procedure. Now there is two issues :

1. can't to create a new user account. we are enter the user details and click the submit button, then a blank winodow is dislayed.At that time there is no error reported in the error.log file. 2. cant open the mass email extension. open this extension in special pages then an internal error displayed. error details are as follows:

Invalid special page name ""

Backtrace:

  1. 0 /xxxx/xxxxx/xxxxxx/includes/SpecialPage.php(813): SpecialPage::getTitleFor(NULL, NULL)
  2. 1 /xxxx/xxxxx/xxxxxx/includes/SpecialPage.php(541): SpecialPage->getTitle(NULL)
  3. 2 /xxxx/xxxxx/xxxxxx/includes/Wiki.php(229): SpecialPage::executePath(Object(Title))
  4. 3 /xxxx/xxxxx/xxxxxx/includes/Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
  5. 4 /xxxx/xxxxx/xxxxxx/index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))

pls help me..............

Thanks and regards

Bibin Esthen bibinesthen@gmail.com

Two questions:
  • Have you run maintenance/update.php to update yout data model?
  • Are all the configured extensions in a version that are supported by the installed version of MediaWiki? I.e. try disabling all extensions and enabling them one by one.
siebrand 12:49, 9 September 2010 (UTC)[reply]

Watching pages

(Technical info not applicable)

Is there a way one can look at who is watching their user page and user talk page on Wikipedia? I can't ask them because they ignore support questions from IP's and I can't create an account because my IP has been blocked because of someone else's stupidity. TLPGHOME YACK 21:31, 6 September 2010 (UTC)[reply]

Wiki farm and Simlinks

  • MediaWiki version: 1.17.0
  • PHP version: 5.2.4-2ubuntu5.17 (apache2handler)
  • MySQL version: 5.0.51a-3ubuntu5.8
  • URL: de.crowiki.info

I try to install a wiki farm with Method 4: Multiple wikis sharing common resources. I still worked as described but after I changed the described folders to simlinks, I receive follwoing error:

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/var/www/vhosts/crowiki.info/subdomains/pool/httpdocs/includes/WebStart.php) is not within the allowed path(s): (/var/www/vhosts/crowiki.info/subdomains/de/httpdocs:/tmp) in /var/www/vhosts/crowiki.info/subdomains/de/httpdocs/index.php on line 43

Warning: require_once(/var/www/vhosts/crowiki.info/subdomains/pool/httpdocs/includes/WebStart.php) [function.require-once]: failed to open stream: Operation not permitted in /var/www/vhosts/crowiki.info/subdomains/de/httpdocs/index.php on line 43

Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/crowiki.info/subdomains/pool/httpdocs/includes/WebStart.php' (include_path='.:') in /var/www/vhosts/crowiki.info/subdomains/de/httpdocs/index.php on line 43

I tried different ways to manage it but I still have no luck.

Every solution or idea is welcome.


87.181.9.230 18:50, 26 June 2011 (UTC)[reply]

You need to change open_basedir. If you can't do that, you need to work within the directory restrictions open_basedir imposes, which may mean you can't use symlinks here. —Emufarmers(T|C) 05:41, 28 June 2011 (UTC)[reply]

Undefined method SpecialPage::specialpage() Error

  • MediaWiki version: 1.17.0
  • PHP version: 5.2.5
  • MySQL version: 4.1.12
  • URL: intranet only

I have just upgraded my Wiki 1.12.0 to 1.17.0. Everything seems to be fine but when I click on the "Special pages" link in the Nav bar, I got the following error: Fatal error: Call to undefined method SpecialPage::specialpage() in /var/www/html/extensions/Deleteuser/SpecialDeleteuser_body.php on line 5

Below is the log piece: [root@wiki01 tmp]# vi wiki.log Start request

GET / HTTP HEADERS: Host: wiki01.imagitas.com User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 DNT: 1 Connection: keep-alive Cookie: mw_installer_session=q1fjhlcdhvhojifmf38ejha1d2

CACHES: FakeMemCachedClient[main] SqlBagOStuff[message] SqlBagOStuff[parser] Unstubbing $wgMessageCache on call of $wgMessageCache::addMessages from wfExtensionAWCMultiFileUploader Use of MessageCache::addMessages is deprecated. [Called from call_user_func_array in (internal function)] LocalisationCache: using store LCStore_DB Use of SpecialPage::addPage is deprecated. [Called from wfExtensionAWCMultiFileUploader in /var/www/html/extensions/awc/multi_file_uploader/main.php at line 7] Fully initialised Unstubbing $wgContLang on call of $wgContLang::getCode from MessageCache::get Connecting to localhost imagidoc... Connection failed to localhost imagidoc. Failed to connect to database 0 at localhost ~


How would I go about to fix these errors? Many thanks for your help. fyi. I was able to connect to the mysql database using myspq -u root -p from command line.

76.191.40.2 15:32, 12 September 2011 (UTC)[reply]

Deleteuser hasn't been updated in four years it seems, so it's way out of date. It's also not a good way of deleting user accounts. It is recommended that you use Extension:User Merge and Delete instead.
Also, please use the main support desk in the future, as this one is no longer used. Reach Out to the Truth 21:19, 12 September 2011 (UTC)[reply]

Doubling of Content-Length in HTTP header

  • MediaWiki version: 16.0
  • PHP version: 5.2.17 (cgi)
  • MySQL version: 5.0.91-log
  • URL: www.isogg.org/w/api.php

I am trying to track down a bug in the api which is causing a double content-length in the header. This is causing a lot of issues with a python bot. Here is the report from web-sniffer showing the content of the api.php call from this wiki. All other pages when called, i.e. the Main page, etc. only report 1 content-length. Is the api forcing the headers? Why is doubling only the one?

Status: HTTP/1.1 200 OK Date: Mon, 30 Jan 2012 14:31:25 GMT Content-Type: text/html; charset=utf-8 Connection: close Server: Nginx / Varnish X-Powered-By: PHP/5.2.17 MediaWiki-API-Error: help Cache-Control: private Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 16656 Content-Length: 16656

As you can see this is a Nginx server. Could that be the issue? Thanks.

Hutchy68 14:49, 30 January 2012 (UTC)[reply]

MediaWiki my custom skin disappeared after upgrade to 1.20

MediaWiki 1.20.2

PHP 5.3.8 (cgi-fcgi)

MySQL 5.0.51b-community-nt

Server: IIS

  • Upgraded from 1.15 to 1.20.2
  • Copied existing skins folder to the new folder.
  • My customized skin disappeared...looks like monobook replaced it.
  • Clicking preferences link gets 500 error.
  • $wgDefaultSkin is correct in localSettings (the name is claysterweb, that is the name of a folder within the Skins folder).
  • The ClaysterWeb.php file is within the Skins/claysterweb folder.
  • Placed requirement in localSettings: require_once( "$IP/skins/claysterweb/ClaysterWeb.php");
  • Tried copying he ClaysterWeb.php file to the Skins folder. This broke login.

Can anyone advise me? Thank you very much.

Jeff Freund

85.229.192.213 13:39, 8 January 2013 (UTC)[reply]