Manual talk:FAQ/2008

Active discussions

How do I add more buttons on the edit page? - Does not work


i added in two different wikis the same for additional buttons in MediaWiki:Common.js, but in one the buttons do not appear. is there any variable that needs to be added to local setting to support additional buttons or what else might be the reason?

thanks in advance
kind regards

--TurboKanne 11:22, 19 February 2008 (UTC)
Problem solved: it was only all about caching pages :)
--TurboKanne 15:03, 24 July 2009 (UTC)

Delete article and restore just last version does not really make the database smaller, does is?

To make the database in MySQL smaller I read the point 4.3 of your FAQ .

I do not like to install the maintenance script "maintenance/deleteOldRevisions.php", because I don't have a direct access to the webserver, so I tried the following:

"How do I delete an old version of a page?"

"Administrators can delete an old revision of a page by deleting the page, and then selectively undeleting revisions to be kept "

As far as I know, the old version of the articles will still be stored in the database, so I think of course the article itself (after deleting, then restoring just the last version) will be smaller, but I think the opposite happens to the database. The size of the complete database rizes, instead of getting smaller, or am I wrong?

Is it possible to remove already deleted articles from the database? Maybe by using the phpmyadmin-Tool and editing the database? --FSLEP 06:09, 25 April 2008 (UTC)

It is not possible from the web through MediaWiki. This is intentional. No irrevokable loss of information should be possble through the web interface, ever.
You can of course delete anything using phpmyadmin, but you have to be very carefull not to delte the wrong thing, or cause inconsistencies. I recommend against it. To make your database smaller, look into options for compressing old revisions, or storing them externally (that that means "another database server", usually - not sure if there are other options). -- Duesentrieb 11:08, 25 April 2008 (UTC)
Thank you for your answer--FSLEP 06:44, 8 May 2008 (UTC)

Heading error

In How do I administrate/manage my users? The noun is administration, the verb it comes from is administer.

Manual:How to use DjVu with MediaWiki

Explanations needed.

Split this page

How about splitting the FAQ into subpages so its a decent readable length again. Also, this talk page should be archived with the support questions moved to the support desk. --Cneubauer 19:50, 30 May 2008 (UTC)

Purge information accurate?

The FAQ for purging a cached page says you must use the /w path rather than the /wiki path. Is this still true or outdated information? Seems to work fine for me with /wiki in 1.12.0. Maiden taiwan 01:45, 3 June 2008 (UTC)

It works fine, you just have to use ?action=purge instead of &action=purge. --Skizzerz 02:16, 3 June 2008 (UTC)

What is the Database host

i have all the files of the wiki Site on there and i am configuring now but it says there is no connection.. and it says i need a database host.. where can i find the name of my database host? - June 22nd 2008

It might be MYSQL or loaclhost.

$wgLogo's relative path

The FAQ wrongly claims that the path is relative to LocalSettings.php, while Manual:$wgLogo is correct by saying that it is relative to the document_root. The FAQ is protected so I can't fix it. 16:52, 16 August 2008 (UTC)

$wgLogo = 'photoname.jpg';
In this example, the photo is in the same folder as the LocalSettings.php file.
This is incorrect because it assumes that the photo is in the root directory. My wiki is in /wiki/ so it would have to be /wiki/photoname/jpg
30 August 2008

Browser Crasher

This page crashes my browser, Mozilla 1.2.1 under Mac OS 9.2.2. This is unusual since I very rarely experience browser crashes under MediaWiki -- one reason I'm so faithful to the tool. I suspect it is due to the multiple links to interlanguage versions of the page, which display as metacharacters, as I don't have all the proper fonts properly loaded and encoded. I find the page does render under iCab 3.0.5 but that browser is substandard. No, it is not possible to upgrade to Firefox.

Suggest an alternate method of displaying interlanguage links, such as the popular and widely understood row of flags. While the current method may have wide support, I don't see the value in excluding a user base of older machines. Xiong 17:47, 17 August 2008 (UTC)

How do I remove tabs for users who are not logged in? - Incorrect explanation!

There is an incorect explanation in discussed article, in section How do I remove the article/edit etc tabs for users who are not logged in?! Please note that there is "(...) for users who are not logged in" in the question. Provided solution (setting #ca-edit { display: none; }) actually removes edit tab for all kind of users, also those logged in. It is obvious and natural - how CSS should know if user is logged in or not? It hides (display-none) mentioned element in all kind of situation. Dot. End. Actually there isnt't correct solution on how to remove tabs for only those users, who are not logged in in this FAQ. Sad but true. Trejder 11:19, 15 September 2008 (UTC)

Happens to both old version. Newest vesion gave blank frontpage. Whats happening? I'm a n00b

     Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /customers/ on line 27
   * PHP 4.4.9: ok
   * Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads.
   * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
   * Have XML / Latin1-UTF-8 conversion support.
   * PHP's memory_limit is 16M. If this is too low, installation may fail! Attempting to raise limit to 20M... failed.
   * Have zlib support; enabling output compression.
   * Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions
   * GNU diff3 not found.
   * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
   * Installation directory: /customers/
   * Script URI path:
   * Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it manually.
   * Connecting to pokertilsynet_n on localhost as pokertilsynet_n...success.
   * Connected to 5.0.32-Debian_7etch6-log; using enhancements for mySQL 4.
   * Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it manually.
   * Database pokertilsynet_n exists
   * Creating tables... using MySQL 3/4 table defs...Query "CREATE TABLE wiki_categorylinks ( cl_from int(8) unsigned NOT NULL default '0', cl_to varchar(255) binary NOT NULL default , cl_sortkey varchar(86) binary NOT NULL default , cl_timestamp timestamp NOT NULL, UNIQUE KEY cl_from(cl_from,cl_to), KEY cl_sortkey(cl_to,cl_sortkey), KEY cl_timestamp(cl_to,cl_timestamp) ) TYPE=InnoDB" failed with error code "Specified key was too long; max key length is 1000 bytes".

hard to search

If you are having trouble finding things in the more lengthy articles all i can say is that if you use the FIND function on your computer it makes it so much easier to search for a specific sentence or phrase in the article.

mentioning software appliances as a deployment option for MediaWiki

I edited the installation guide to mention software appliances as a deployment option for MediaWiki and since the FAQ touches on installation issues I think it would be a good idea for it to at least mention software appliances a possibility since it allows users to skip installation altogether and deploy a ready-to-use self contained system that just works, which many users find to be a very convenient option.

LirazSiri 04:52, 7 November 2008 (UTC) is not a place to advertise. While I do believe these appliances may be useful to some users, it is not acceptible to go around promoting them on every single page as the recommended way of installing MediaWiki. If anything, they should be linked to in a "See Also" section, if applicable to the page itself. Before you try to say that "well, the page you linked to says that we're allowed to advertise MediaWiki," allow me to clarify the meaning of what that sentence means. It means you're allowed to promote the software itself, not any 3rd-party packages that bundle it, etc. By mentioning "When you can, install <insert 3rd-party package here>", you are advertising that software package. To be honest, if I didn't see you earlier on mwusers, I probably would have blocked you for a while for just signing up and starting to advertise your product all over the place. --Skizzerz 22:25, 1 December 2008 (UTC)
Skinnerz has a point. We moved the discussion to User talk:Skizzerz -- LirazSiri 15:55, 6 December 2008 (UTC)

AJAX-Search as Default setting in version 1.13 ??

If i'm not incorrect the default setting for the AJAX-search in the version 1.13 is OFF (and can be changed by each user in his settings).
In version 1.14 i think the default is: AJAX-Search is ON. (and can be switched OFF by the user)

Can i modify this in version 1.13 in my wiki? (Because the "normal" user has no log-in and so cannot switch to ON in my wiki?) (info: the $wgAJAX... in the LocalSettings.php is already added, so the AJAX-search works for the few loggid-in users).--FSLEP 14:36, 18 December 2008 (UTC)

In LocalSettings.php, add: $wgDefaultUserOptions['ajaxsearch'] = 1;Emufarmers(T|C) 22:15, 18 December 2008 (UTC)
Thank you very much. I cannot remember how i could manage my life before wiki existed and this helpful community :-) --FSLEP 07:07, 19 December 2008 (UTC)

Why can't I download... (outdated)

The version 1.14 has already been released. Source: Download --Lazer erazer 15:52, 6 March 2009 (UTC)

Fixed. Thanks for reporting this. —Emufarmers(T|C) 05:50, 7 March 2009 (UTC)


I have my own wiki, how do add a language to it. For example on Wikipedia, it has a article in many languages, how do I do that on my wiki. 23:33, 7 March 2009 (UTC)

Answer: Install more than one wiki and name it somthing eles. but have a main page that users can chooose what they speek and under stand. Do somthing like Wikipedia


How do I edit the monobook.php so that I can add a Google advert banner on the top center. The advert is saved in a file called adsense.php .

 <!-- Google AdSense -->
  <?php include("adsense.php") ?>

I put it between this:

<div class="visualClear"></div>

  <!-- Google AdSense -->
  <?php include("adsense.php") ?>

      <div id="column-one">
	<div id="p-cactions" class="portlet">

But the advert goes to the left below toolbox Sachein 17:42, 18 March 2009 (UTC)

URLs and Titles

In section 3.22 I think it would be a good idea to add a comment on how the function associated with DISPLAYTITLE can be modified to permit page titles to be set independently of URLs. Many people, including myself, wind up needing to do this. An explanation can be found at m:Help talk:Magic words#DISPLAYTITLE. --Beastin 01:04, 24 March 2009 (UTC)

Removing background image

The background image appears to be set by "background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;" in the /skins/monobook/main.css file. Changing it to "background: white;" will remove it. (94.170.64.* 11:44, 8 April 2009 (UTC))

Database errors?

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "OutputPage::addCategoryLinks". MySQL returned error "1146: Table 'involun_wiki.magicsolutions_page_props' doesn't exist (".

There wasn't any documentation I could find on database errors like the one above. It could be useful.-- 14:32, 2 May 2009 (UTC)


A 1.11 wiki can hold o can upload SVG images? --Vilarrubla 09:12, 4 June 2009 (UTC)

Return to "FAQ/2008" page.