Project:Support desk/Sections/System

__NEWSECTIONLINK__ = MediaWiki System Support =

Adding extra buttons to Media Wikis
Product Version
 * MediaWiki 1.12.0
 * PHP 5.2.5 (cgi)
 * MySQL 5.0.51a-community

Hi. I want to ask this question outright. How do you add the table button and others like the wikipedia one, onto our own? Hours of trawling the net still leave this question unanswered!!!!

[EDIT] - URL: lemonbiscuit.org.uk/wiki

193.123.228.22 10:30, 19 August 2008 (UTC)

Complete Deleting of an User Account

 * MediaWiki 1.12.0
 * PHP 5.2.6 (cgi)
 * MySQL 5.0.51a-12

How is it possible? There are several double accounts and no more need for it.

--Krischan 18:26, 18 August 2008 (UTC)


 * You can use Extension:User Merge and Delete. --MF-Warburg 15:12, 26 August 2008 (UTC)

Revering mass vandalism
Are their any way to ban users and undo all of his\her edits instantly? Do I need any extension(s) to do this?--64.79.177.254 17:58, 24 July 2008 (UTC)

automatic reload of wiki pages

 * MediaWiki 	1.12.0
 * PHP 	       5.1.2
 * MySQL 	4.1

Hi, I just added the -extension to my MediaWiki and figured out, that the Wiki doesn't automatically reload the page to refresh the directory list. This is unfortunatelly not very helpful if you want to know what in a folder is:-). Do you have any recommendations, maybe a function to force wiki to recreate the page with every user access? Thanks a lot

-- Roland, 4 June 2008

Displaying links to a page
I want to have a section on my Wikiversity page that displays what other pages link to it. For example, within the project, there will be many pages that can cross-reference each other, so I want all pages that link to one page to be displayed toward the bottom of that page. Does this make sense? If so, what would be the easiest way to go about doing that? Thanks! 122.102.199.90 11:42, 29 February 2008 (UTC)

Try using the transclusion

where "name-of-your-page" is changed to the name of the page to be linked. Smaug 21:47, 26 March 2008 (UTC)

Some programming help needed

 * MediaWiki: 1.5.8
 * PHP: 4.4.0 (apache2handler)
 * MySQL: 3.23.58

For my wiki I would need some additional functions wich I hope could be possible via adding to the php code. Our users will use the wiki for their own different projects. I want them to have a way to decide if other users but them can edit their pages. We developed a "traffic light"-system for this using templates. "Green" meaning free to edit for anyone, "Yellow" please ask before editing, "Red" No editing. What would we need is the edit page to check if the "Red" template is present on a page, and if yes to not save any changes, unless the user editing is the user who first created the page. If the "Yellow" template is present in a page, the user who first created it (and that user only) should be able to revert that page.

Is this somehow possible?

—217.94.251.162 06:31, 29 February 2008 (UTC)

LDAP Groups in Wiki

 * MediaWiki: 1.11.1
 * PHP: 5.2.5
 * MySQL: 5.0.45
 * URL:

The issue we are having pertains to group access in the wiki. The code that we have lets users log in with there LDAP credentials; which is what we want. We want everyone who has a logon for our domain to have access to the information. The part that we can't get to work is we only want one group in AD to be able to edit the information on the wiki. As it stands anyone that can sign in can edit and add pages. This is the code that we are currently using. We are all new PHP so some of the code may be incorrect.

We have commented out $wgLDAPRequiredGroups, it makes the code fail when we let it run.

—198.182.163.125 18:11, 14 February 2008 (UTC)

Highly Available Wiki System

 * MediaWiki: 1.11.1 (latest)
 * PHP: 5
 * MySQL: 5.0
 * URL: (internal)

I am trying to use loadbalancing to create a highly available Wiki system. My idea is to have the wiki write to a master and read from a slave. This way, when the master fails, it can still keep on reading of the slave.

I edited the setup.php and DefaultSettings.php and added the correct values to use multiple servers, but when the master goes down, it doesn't read from the slave, it keeps on trying to go to the master...

Thanks in advance !

EDIT: It seems that when the master is up, the wiki IS conneting to the slave... Problem is that when the master goes down, the wiki crashes (which it shouldn't, it should just read from the slave)

—213.193.161.137 13:25, 18 February 2008 (UTC)


 * See Category:Database variables and particularly Manual:$wgDBservers. Try connecting to your slave server manually and test if it contains the proper data etc. Also it's bad practice to change codebase files, you should do all configuration from LocalSettings.php. --Nad 21:10, 18 February 2008 (UTC)

Thanks for your reply ! Well, I followed the manual of wgDBservers, and edited the values that are there ! When I manually connect, the slave responds and all of the data that should be there, is there :-)


 * If the slave is synchronising ok, then I don't know. All I can suggest is to analyse what's happening when it crashes. I.e are there any errors logged? is it timing out? etc --Nad 22:55, 18 February 2008 (UTC)

Well, I took the following steps:

-Edited the files according to the manual (change $wgDBservers to true and added the server to the server array).

-Set up a MySQL-master-slave replication (outside of MediaWiki, or is MediaWiki supposed to do this itself?)

Also, the slave IS NOT down, MediaWiki just doesn't seem to want to connect to it when the master goes down... I now put the following code in the LocalSettings.php and restored the other files to default...

When I put the master down, I get the following errorcode:

"Lost connection to MySQLServer during query (192.168.2.150))"

Thanks for your interest btw :)

I believe that MediaWiki still needs to write (such as page hits) this means that even though it is reading data from the DB... when it tries to write you page hit (or other data) it fails because it can not find your Write Database

Category page, contents breakdown
Cripes - what a load of text to wade through just to make a help desk request! I don't think any of it was relevant, so I deleted it all.

Here is my (version and platform independent) problem;

By default, pages in a category are broken down by the first letter of the page title (or the first letter of the category index) on the page for the category. i.e.

A A page A page by any other name Another page Annex All pages B Because Become By the way ...

To change that behaviour, for example to break down pages by the first two letters of the page title (or the category index), i.e.

A A page A page by any other name An Another page Annex Al All pages Be Because Become By By the way ...

Should I,


 * 1) Add a magic word to the category page,
 * 2) tweek a global parameter setting somewhere,
 * 3) install an extension,
 * 4) hack the source code,
 * 5) all of the above?

Thanks for help ppl. --Dmb 08:31, 19 February 2008 (UTC)


 * Well dude, you could hack the 'firstChar' function in ./languages/Language.php - it seems that the only code to use this function is exactly the call under ./includes/CategoryPage.php that you want to hack. Try to substitute this code, and you will see double character category indexing;

/**	 * Get the first character of a string. *	 * @param string $s * @return string */	function firstChar( $s ) { $matches = array; preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|'. '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|'. '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})/', $s, $matches);

return isset( $matches[1] ) ? $matches[1]. $matches[2] : ""; }

Of course you should probably rename that function, and add an option to activate this behaviour somehow. --Dmb 13:19, 19 February 2008 (UTC)

OK, now I have renamed the above function 'firstTwoChar' (keeping firstChar as it was). The relevant line to edit in ./includes/CategoryPage.php is within the addPage function ...

$this->articles_start_char[] = $wgContLang->convert( $wgContLang->firstTwoChar( $sortkey ) );

Now we need to call that selectively in response to some option... Suggestions? --Dmb 13:36, 19 February 2008 (UTC)

Postedit Error

 * MediaWiki: 1.9.3
 * PHP: 5.2.5 (cgi-fcgi)
 * MySQL: 5.1.22-rc-community


 * After editing a section, browser returns editor to the top of the article not to the section

The issue is this:
 * On Wikipedia:
 * I edit section X of an article
 * After I save, the browser keeps me on section X
 * On MediaWiki Sites that I administer:
 * I edit section X of an article
 * After I save, the browser returns me to the top of the article

This issue occurs on multiple wikis on multiple versions, so I don't think it is a versioning thing.

I want my Wikis to return to the proper section, like Wikipedia does... does anyone know how to do this? —Timneu22 14:28, 2 March 2008 (UTC)

Trying to set the script up as a SubDomain
Hi, I am trying to get the wiki to work as wiki.mydomain.com rther then domain.com/wiki, Th problem im running into is that if you goto the wiki.mydomain (which points to public_html/wiki) it trys to send me to wiki.mydomain.com/wiki. If i edit localsettings.php so that it will try to redirect to "$wgScriptPath      = ""; the page goes to text only.

Any advice on how i should edit it. or shall i start recoding it? (not sure if this is a common issue)

—90.242.137.6 10:32, 3 March 2008 (UTC)

URLs and Tables

 * MediaWiki: 1.11.0
 * PHP: 5.2.4
 * MySQL: 2.8.0.2
 * URL: RockCiclopedia

1: My wiki's urls are like this: www.domain.ext/index.php/XXXX, how can I change them to www.domain.ext/XXXX (removing index.php like wikipedia)?

2: I've MediaWiki 1.11.0 and I'd like to upgrade to the new version. I can't access to the command line of the server, so I have to run the setup another time. Are you sure that selecting the same tables of the database I won't lose something?

—Lorenzone92 13:24, 4 March 2008 (UTC)


 * For #1, you should see Manual:Short URL. I'm unable to answer #2. Timneu22 13:16, 9 March 2008 (UTC)

(RESOLVED) Generating RSS in 1.10.0
In version 1.10.0 is there a way to generate RSS in the wiki markup without adding an extension? I'm not experiencing an error. I am using mediawiki version 1.10.0. Is there a way to allow RSS to be generated through the wiki markup without having to add any extensions? Are there some hidden features that I can turn by editing the Localsettings.php file?

Thank you.

David

—70.168.46.143 14:40, 6 March 2008 (UTC)


 * Please give your Wiki info and then you may un-mark this topic from RESOLVED status. -PatPeter [[Image:Tournesol.png|20px]]  MediaWiki Support Team  18:03, 20 September 2008 (UTC)

(RESOLVED) Edit pages

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL: ErasmusWiki

Hello, Sorry, this is a simple question but I cannot find it in the FAQ (with word edit): I created a wiki and on the edit pages there is only the above toolbar, but not the one with catagories and specially languages… Where can I change this? Thanks!

—129.11.120.250 23:27, 7 March 2008 (UTC)


 * Have you checked this page already?: http://www.mediawiki.org/wiki/Help:FAQ#How_do_I_add_more_buttons_on_the_edit_page.3F My best, --Gollum 22:23, 8 March 2008 (UTC)

'LoginForm execute' appearing on screen

 * MediaWiki: 1.9.3
 * PHP: 5.1.6 (isapi)
 * MySQL: 5.0.45-community-nt

I've just created a new installation and I'm getting statements (e.g. 'LoginForm execute') injected at the top of pages. This happens on the log in page and randomly elsewhere.

LoginForm execute<!DOCTYPE html ....

How do I prevent these from being injected into the page?

—Steve Slopek 16:26, 9 March 2008 (UTC)

wgBreakFrames is undefined

 * MediaWiki: 1.11.2
 * PHP: 5.2.4 (isapi)
 * MySQL: 5.0.18-nt
 * URL: (internal company site)

An error is occuring just as a user navigates to the wiki main page:
 * 'wgBreakFrames' is undefined

This value is set in the DefaultSettings.php, so I don't understand why is message is occuring. It is set to the default value and has not been changed.

Also, this error is only occuring for a few users, not all, but it occurs every time they first open the wiki. In all instances where this occurs, the user is getting to the main wiki page from their favourites list in IE. It seems to mainly be an annoyance and does not seem to restrict them from using the wiki.

—Jenn 15:40, 10 March 2008 (UTC)

(RESOLVED) What Media wiki Supports
Does MediaWiki support ASP and SQL also.

Yesjay —203.200.33.226 12:54, 11 March 2008 (UTC)


 * Please give your Wiki info and then you may un-mark this topic from RESOLVED status. -PatPeter [[Image:Tournesol.png|20px]]  MediaWiki Support Team  18:11, 20 September 2008 (UTC)

Customising the Search

 * MediaWiki: 1.11.0
 * PHP: 5.2.5-0.dotdeb.2 (apache2handler)
 * MySQL: 5.0.51-2-log
 * URL:

Hello,

this is less an error report than a configuration matter which I didn't find in the "knowledge base", so to speak; I would like to know if you can customise the search in a way that it excludes all pages with a certain name in it (in this case it would be "Dienstberichte*"; having them searched, too, is an annoyance so I would like to generally exclude it somehow from the queries. Where do I have to add which line to be able to do so?

Oh yeah, this is a double post; i sincerely hope no one replied to me in the last 2.5 weeks because i posted in the wrong category...

—141.20.121.2 09:16, 19 March 2008 (UTC)

Problem with search in russian language
Hello, when I search for russian text in my wiki installation, it sometimes work, sometimes not, even if I enter the exact word. How to fix that? (I suppose, there is the problem with upper- lowercase conversion) —Konstbel 13:55, 19 March 2008 (UTC)
 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (apache2handler)
 * MySQL: 5.0.21-community-nt

Cannot search for numbers (e.g. IP addresses) in articles

 * MediaWiki: 1.9.3
 * PHP: 5.2.1 (apache2handler)
 * MySQL: 5.0.37-community-nt
 * URL: private

Hi guys. We have a wiki installed for internal documentation. It contains information about various servers we have in our environments. However, we are unable to perform searches based on IP addresses. For example, searches for 192.168 will not return any results. Searches for 192.168.0.1 will not return any results. Searches for 192 will not return any results. In other words, searching for an IP, partially or in whole form, produces 0 results and the IP 192.168.0.1 exists in multiple articles.

Is there a bug? Is this a known issue? Is there a setting that needs to be set for this to work?

Thanks in advance. Zach —209.202.131.98 15:08, 20 March 2008 (UTC)


 * Is there anyone who knows anything about this issue yet? I have a similar need for searching by IPs and have the same problem.

—Anonymous


 * I have this same problem - if any word in a search query is a number, then there will always be 0 results, even if I know a page has that number on it, or if I include other search terms in the query that I know are on some pages. It's not a word length issue... for example a page about a 64-bit PC is returned for searches for "PC" but not "64".  I am using PostgreSQL and MediaWiki 1.9.1.
 * I've submitted a bug about it since I found nothing about it in Google, or in Bugzilla, or the manual, or the release notes for the current version (1.13). The bug report is at: https://bugzilla.wikimedia.org/show_bug.cgi?id=15229
 * --216.204.206.146 17:57, 18 August 2008 (UTC) - Reed Hedges reed@mobilerobots.com


 * Update: I upgraded to MediaWiki 1.13 and it now seems to work.
 * (MediaWiki 1.13.1, PHP 5.2.5 (apache), PostgreSQL 8.2.6 on OpenBSD 4.3)
 * --216.204.206.146 19:59, 15 September 2008 (UTC) - Reed Hedges reed@mobilerobots.com

Conditional coding of LocalSettings.php

 * MediaWiki: 1.13.0
 * PHP: 5.2.4-2ubuntu5.3
 * MySQL: 5.0.51a-3ubuntu5.1

Checking what namespace a page is in, while in the code (of LocalSettings.php)

I am using a hook in LocalSettings.php. I would like to make the action that I am making conditional, only occuring if in certain namespaces. I looked at SkinTemplate.php (wherein is the hook I am using) to see how the software already checks for what namespace the page is in, and found on line 706.

I put  in LocalSettings.php, where the "..." is code that already was in LocalSettings.php, and that worked, but that I wished to make conditional. When I add the if statement, I get a blank page.

What is the correct way to check, in a function in LocalSettings.php for use in a hook, what namespace the page is in?

Thanks. Smaug 00:44, 21 March 2008 (UTC)


 * Well. You leave me with no choice.  Bad practice as it is, I will now edit SkinTemplate.php directly. Smaug  00:06, 27 March 2008 (UTC)

technical user rights question

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.45-community
 * URL: http://wiki.anamacha.net

Hi there!

I am running a private installation of MediaWiki 1.11, and I recently had to restrict editing because of spam problems. Based on some advice I got here, I modified my LocalSettings.php file to include the following:

$wgGroupPermissions['*']['edit'] = false;
 * 1) No anonymous editing allowed -

$wgGroupPermissions['user']['createpage'] = false;
 * 1) Anonymous users can't create pages; non-me users as well.  Creators
 * 2) will need to be sysops or bureaucrats.
 * 3) $wgGroupPermissions['*']['createpage'] = false;

$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['sysop']['edit'] = true;
 * 1) due to spam problems, only users in Sysop or Editor groups are
 * 2) allowed to edit
 * 3) thanks to Tuvok on the mediawiki helpdesk

/* Group of users who are approved to edit */ $wgGroupPermissions['editor']['edit'] = true;

Now I find that I can't edit things any more. I have two accounts, both of which are in both the bureaucrat and sysop groups; when I have them look at any page in my wiki, it says "View Source" where it usually says "edit".

I think the problem is that neither of my accounts is in the 'editor' group, but I don't know how to put them in there, as I don't know anything about MySQL or php -- I can execute commands and such, but am somewhat afraid of cocking the whole thing up with the wrong command. I've found some resources online (http://meta.wikimedia.org/wiki/Setting_user_rights_in_MediaWiki) but I'm not sure how to modify the commands properly.

Help, anyone? Thanks! —Anamacha 22:50, 25 March 2008 (UTC)


 * If your sysops have all the rights of editors, you shouldn't need to make any sysops editors. It seems like it should be working already, but try adding in

if it's not there already.
 * If that doesn't work, I must ask are the $wgGroupPermissions you listed the entirety that are in your LocalSettings.php? Smaug 02:38, 26 March 2008 (UTC)


 * no, the addition of that line didn't work. I noticed that I had two lines that said   so I commented one out while I added your suggestion.  No dice.
 * I went all through my LocalSettings.php and yes, I pasted in here all of the $wgGroupPermissions. There are none in my file that I have not quoted here.

Anamacha 22:56, 26 March 2008 (UTC)
 * Make sure all of this is at the end of LocalSettings.php. If it's too early on it could get cancelled out by DefaultSettings perhaps...
 * If you still have problems, then comment out all of the $wgGroupPermissions lines. (If you are worried about anon editing forbid access to the whole directory during this procedure, I guess.) Try to edit something.  If you can't, you know it's not an issue with $wgGroupPermissions.  If you can, then add each one in one by one and see if unexpected behavior occurs, and if so when/where. Smaug  23:36, 26 March 2008 (UTC)


 * yes, this is all at the end. There's nothing after it; your suggestion is the last line in the file.  I figure I'll have to do as you suggest; I was hoping there was an easier way.
 * are there any $wgGroupPermissions statements at the end of the stock LocalSettings.php file? and is this file read in every time someone accesses the wiki?  (i.e., so do I ahve to restart php or something)
 * Anamacha 01:40, 27 March 2008 (UTC)

Notice: Warning: mkdir

 * MediaWiki: 1.12.0
 * PHP: 5.2.4
 * PostgreSQL: 8.1.5


 * Notice: Warning: mkdir [function.mkdir]: Permission denied in [...]/mediawiki/includes/GlobalFunctions.php on line 1649

Hallo at all,

I installed a German Mediawiki but at the Specialpage containing the list of unused files (Unbenutzte Dateien) I get an Error:

Warning: mkdir [function.mkdir]: Permission denied in [...]/mediawiki/includes/GlobalFunctions.php on line 1649

looking like this: [[Media:Fehler2.PNG]]

Please help me soon, this System is the final test of my education...

Thank you.

--MaximilianG 07:26, 27 March 2008 (UTC)


 * I just got this error and did a bit of snooping, found I somehow changed file ownership from the webhost to some random numbers, after chown'ing them back, it's worked fine! The-Client 08:29, 20 April 2008 (UTC)


 * Also had this problem. Has not yet been fixed, even with the very generous chmod 777 GlobalFunctions.php 72.54.34.34 19:02, 23 May 2008 (UTC)


 * I've had this problem for awhile now and I figure it is something to do with the file permissions. When I tried to go to change the chmod to 777 on all the image files it gave me a 550 error: Operation not permitted.  I've looked everywhere to try and fix this problem but can't find it anywhere...  I get the mkdir error every time I try to upload or resize an image. Deggertsen 20:20, 03 June 2008 (UTC)

Session data lost, even though, it is not

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi-fcgi)
 * MySQL: 5.0.51a-log
 * URL: Ardapedia

Hi, I wrote a bot API for MediaWiki in Ruby (http://freifunk-halle.de/~konstantin/rubot). That API runs smooth on my local wiki, a test wiki and so on. And if I try it with Ardapedia it works, too, but only from my laptop, not if I run it on my server. However, on my server I've got exactly the same version of Ruby and the Ruby Net::HTTP library I'm using, it even is exactly the same OS (Ubuntu Gutsy), though my server is amd64 and my laptop x86, but that should not matter. If I run exactly the same script on my server, login works fine and all, but when trying to edit some page, I get an error: "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in." Still, the bot is logged in. Logging out and in and things like that don't solve it. And it is not possible that this error depends on my server's internet connection or something, since my local bot uses a private proxy on the server (since I'm surfing the internet via a wireless community network that the server is connected to via VPN). I even tried to use the proxy when running the script on the server, still session data is lost.

I don't use the build-in MediaWiki API, since it's not available on most of the wikis I intended the bot to be used for.

Note: I cannot change the wiki's configuration and contacting their technical admin really is a pain in the lower bottom. And since I want the bot to run smooth on as many wikis as possible this wouldn't be a satisfying solution, neither. And I have to run the bot on my server, since it is supposed to check for changes frequently.

Any help is welcome, thanks in advance. —88.198.51.136 09:06, 28 March 2008 (UTC)

texvc will not render a simple array box

 * MediaWiki: 1.7.1
 * PHP: 5.2.0-8+etch10 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch5-log
 * URL: My Math Wiki

Attempting "\begin{array}" in a math formula causes texvc to give an F code back, this is "unknown command." Sandbox tests on the Wikimedia projects shows their subversion distributions have no problems with formulas that contain "\begin{array}".

I suspect there is a texlive package I might be missing that is needed, but I have hit a brick wall in understanding what texvc needs to correctly render this image.

—Wguynes 03:28, 31 March 2008 (UTC)

HTTP 404 Error

 * MediaWiki: 1.11.0
 * PHP: Server has both PHP 4 and 5 running (Register_globals is ON due to another CMS system I have running on the same server that is old enough to require it)
 * MySQL: 4.1.22
 * URL: http://wiki.horizonfleet.net/index.php5?title=Main_Page


 * Server giving HTTP 404 Error when trying to access Wiki main page

Basically the error can be seen by going to the Wiki. When someone tries to access the wiki it throws up a 404 error reading: "The requested URL /cgi-sys/php5/index.php5 was not found on this server."

The Wiki was working fine until about a week ago. My only working theories are that someone changed something they weren't supposed to in trying to put in a new skin or some of my server settings were changed by the hosting company. Unfortunately, I can't even find a reference to the file or directory that the 404 error references in any of the code.

Any ideas what's causing this? —98.27.189.117 02:49, 3 April 2008 (UTC)

'Special: Recent Changes' not working

 * MediaWiki: 1.12.0
 * PHP: 5.?
 * MySQL: 4.?
 * URL: Wyfopedia

I have backed up the database and image files, and upgraded to v. 1.12.0. The site now seems to be working again. However, I have the following error on 'Recent Changes':

'Fatal error: Class 'ChangesList' not found in /home/fhlinux182/w/wyfopedia.org.uk/user/htdocs/includes/SpecialRecentchanges.php on line 221'

-Wyfopedia 13:07, 3 April 2008 (UTC)

Media Wiki requires IIS restart daily
Media Wiki requires IIS restart daily, Windows 2000, IIS 6, URL not accessible from outside our network. I am looking for suggestions on what to check. It seems to only be Media Wiki because IIS says it is running fine however our Wiki pages will not come up unless I give IIS a restart command.


 * MediaWiki: 1.10.1
 * PHP: 5.2.4 (isapi)
 * MySQL: 5.0.24-community-nt

UPDATE: just happened again, nothing at all in the MS error logs. Could it be a problem in the SQL? Anyone have any idea?

—65.192.212.98 20:06, 4 April 2008 (UTC)

Get localised time in signature datestamp?

 * MediaWiki: 1.10.1
 * PHP: 5.2.3 (cgi-fcgi)
 * MySQL: 5.0.24a-standard-log

The date/time preferences don't enable the time in signatures when you use four tildes to display in your local time. Is there a fix/being worked on? And is there a way to customise the display of the generated time e.g. by making it bold. Did look in system messages / google but did not find anything. Thanks

—Zacknuts 23:32, 18 April 2008 (UTC)

$wgOut->redirect function dies
I have a mediawiki installation which has been working fine for several years. Suddenly, the system's internal redirects are no longer working. Thus,
 * MediaWiki: 1.5.3 and 1.6.10
 * PHP: 4.3.2
 * MySQL: 4.1.12-standard-log
 * URL: (site is not publically available)


 * browsing to http://my.url.com/wiki instead of http://my.url.com/wiki/index.php?title=Main_Page results in a blank page
 * edits made to pages go through, but the user only sees a blank page

Following along what happens in index.php, I've ascertained that the script gets to the following conditional: else if ( ( $action == 'view' ) &&	(!isset( $_GET['title'] ) || $wgTitle->getPrefixedDBKey != $_GET['title'] ) &&	!count( array_diff( array_keys( $_GET ), array( 'action', 'title' ) ) ) ) {	/* redirect to canonical url, make it a 301 to allow caching */ $wgOut->setSquidMaxage( 1200 ); $wgOut->redirect( $wgTitle->getFullURL, '301'); }

but nothing seems to happen. I've tested and $wgTitle->getFullURL is populated properly.

I am observing this behavior in both mediawiki versions 1.5.3 and 1.6.10. PHP is version 4.3.2, MySQL is version 4.1.12-standard-log. —Chris.braiotta 20:38, 23 April 2008 (UTC)

Parameters index.php

 * Wikipedia:FR & Commons

Hello,

I am writing a JavaScript code for use on the above projects; at one moment it does save a page, but that is hidden.

Is there a way (some parameter) to get a text-only version of the page after the submission? (to not load the image if it is an image description page, to save some bandwidth).

Thanks, François &#91;Discussion&#93; 21:35, 3 May 2008 (UTC)
 * Perhaps you could enabled editing via the API and using AJAX? Aaron 16:04, 5 May 2008 (UTC)
 * Unfortunately editing via the API is currently not allowed on the Wikimedia projects... (Also I wanted to not use AJAX) -- François &#91;Discussion&#93; 21:20, 30 May 2008 (UTC)

Problems with "umlaute"

 * MediaWiki: 1.12
 * PHP: Xampp 5.2.3
 * MySQL: Xampp 5.0.45

Hi, I have many Problems with german "umlaute" like ä ö ü. When I edit a new Page called Übersicht, in the Adressbar the Browser makes %C3%9Cbersicht with this word. When i then try to upload a Picture calles müll.jpg in the Adressbar I see http://127.0.0.1/mw/index.php/Bild:M%C3%BCll.jpg the link is then not available with this error: Error 404 127.0.0.1 05/04/08 18:01:47 Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 The Collation for the Database is utf8_unicode_ci.

Thats a very big Problem and I can not find a solution for this Problem. It would be very helpfull, if someone could help me

—87.154.139.187 16:11, 4 May 2008 (UTC)

Editing problems

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.45-community-nt
 * URL: Internally Accessible at this point

Yesterday all was good, today
 * one user can edit anything - HTTP 500 Internal Server Error (in IE) (No Error just times out in Firefox)
 * one user can edit what he had been editing last week only
 * one user can edit nothing

Log in as the Admin user - it can't do anything either (to add to the above summary) Search a lot and no joy as yet. I tried editing the .htaccess files with - application/x-httpd-php5 .php

I think that is just happened - all was good last week and then suddenly this morning not. Subversion was upgraded on the same server, but no code was updated. The server is Windows 2003 R2,

—IRobert 08:11, 5 May 2008 (UTC)

How to use generator sitemap?

 * MediaWiki: 1.12
 * PHP:
 * MySQL: 5.0
 * URL:

I use latest stable version (Mediawiki 1.12), and this pages says it have been google sitemap integrated http://www.mediawiki.org/wiki/Extension:Google_Sitemap

But i still cant use that google sitemap function

How to use the google sitemap actually?

i cant open this file (its say 404 error) http://www.faq.web.id/w/Maintenance/generateSitemap.php

or this (its says No such special page) http://www.faq.web.id/wiki/Special:GoogleSitemap

I install mediawiki from dreamhost one click panel, and reference to this installation tutorial http://wiki.dreamhost.com/index.php/MediaWiki

Quote: If your wiki is install under a "www." subdomain

so i install it to www.yourdomain.com/w and the content results are www.yourdomain.com/wiki/Content_title

the installation is success here it is http://www.faq.web.id/wiki/

this is my root htaccess

Quote: RewriteEngine On

RewriteRule ^$ /wiki/Main_Page [R]
 * 1) uncomment this rule if you want Apache to redirect from www.mysite.com/ to www.mysite.com/wiki/Main_Page

RewriteRule ^wiki/?(.*)$ /w/index.php?title=$1 [L,QSA]
 * 1) do the rewrite

please share your knowledge guys, if it need to re install i can do it too

--61.94.18.109 08:30, 7 May 2008 (UTC)


 * Try looking at Manual:Maintenance_scripts and then Manual:GenerateSitemap.php. Smaug [[Image:Tournesol.png|20px]] 18:56, 7 May 2008 (UTC)

How to remove special character in all url?
my wiki site is about question, so everybody will give question character "?" (without quotes) in they title (in they url automatic too), for example like this http://www.faq.web.id/wiki/What_is_your_name%3F

i think this is problem for all mediawiki owner....

so how to automatically remove all special character in the url after they create new page....

any hacks or extension, or setting will be help

—61.94.8.65 13:53, 9 May 2008 (UTC)

Guide to Google Sitemap

 * Mediawiki 1.12


 * Please create complete official guide to use automatic google sitemap

I still dont understand how to use google sitemap in mediawiki 1.12 (latest stable version)

i try with 2 new installation mediawiki

the first installation

i dont know what instruction that i use with this installation, i use few instruction to have sitemaps, i have this two sitemap (and its automatically growing each time new page created in the wiki)

http://www.faq.web.id/w/sitemap.xml.php

and today i have this file again automatically (1 day created after above sitemap)

http://www.faq.web.id/w/sitemap.xml

the second installation

i try all instruction like in first installation above, but i dont have any sitemap

http://www.lirik.web.id/w/sitemap.xml.php

or

http://www.lirik.web.id/w/sitemap.xml

but i can use ssh command to generatesitemap.php and produce this 2 sitemaps (but we need manually to generate, and its created in maintanance folder)

http://www.lirik.web.id/sitemap-index-lirikweb2-wiki_.xml

http://www.lirik.web.id/sitemap-lirikweb2-wiki_-NS_0-0.xml.gz

this wiki sitemaps makes me crazy, i think someone need to create correct tutorial to use this sitemap in mwusers.com or mediawiki.org (automatically sitemaps is good like in my first installation above)

if i dont know how to use this with the correct way, i will remove all my installation and install again and again

this is all instruction that i follow, but its need to compile what is working for Mediawiki 1.12 and not completed instruction

http://www.mediawiki.org/wiki/Extension:Google_Sitemap http://www.mediawiki.org/wiki/Manual:GenerateSitemap.php http://www.mediawiki.org/wiki/Manual:Maintenance_scripts http://www.mwusers.com/wiki/index.php/Common_installation/configuration_problems#Running_maintenance_scripts

http://forum.dreamhosters.com/3rdparty/95681-Mediawiki-and-generateSitemap.php.htm (working for my second installation)

Problem with upgrading from 1.9.3 to 1.12

 * MediaWiki: (Reported by your Wiki's Special:Version page)  -- 1.9.3 and 1.12
 * PHP: 5.1.6
 * MySQL: 5.0.27
 * URL:  https://wiki.vcommerce.com

I've upgraded from 1.9 to 1.12. I have a couple glaring issues: ''
 * 1) Instead of the edit link in subsections of pages, I get the following:

This persists even after reverting to the 1.9 codebase, so it appears to be DB related as I did NOT revert to the older DB


 * 1) My authentication no longer works. Here is a snippet of my LocalSettings.php related to the auth (sanitized)

require_once( 'extensions/LdapAuthentication.php' ); $wgAuth = new LdapAuthenticationPlugin;

global $wgLDAPUpdateLDAP, $wgLDAPWriterDN, $wgLDAPWriterPassword;

$wgLDAPDomainNames = array( "MYCOMPANY" ); $wgLDAPServerNames = array( "MYCOMPANY"=>"mail.MYCOMPANY.com" ); $wgLDAPSearchStrings = array( "MYCOMPANY"=>"MYCOMPANY\\USER-NAME" ); $wgLDAPUseSSL = true; //not recommended but OK for testing $wgLDAPUseLocal = false; $wgMinimalPasswordLength = 1;
 * 1) $wgLDAPRetrievePrefs = true;
 * 2) $wgLDAPDisableAutoCreate = array( "MYCOMPANY"=>false );

This worked flawlessly in the 1.9

—98.165.89.85 18:08, 13 May 2008 (UTC)

Timezone crashes wiki

 * MediaWiki 1.12.0
 * PHP 5.2.1 (cgi-fcgi)
 * MySQL 5.0.51a-community-nt
 * URL:

When using $wgLocaltimezone with a setting other than null, pages take 10 seconds to load but then give a 500 error. Using $wgLocalTZoffset = date("Z") / 60; works but then gives an error when sending emails about how its inaccurate and such.

Tried different types of time zones in config but they all 500....

Any ideas? —86.164.140.62 03:14, 17 May 2008 (UTC)

How can I dynamically add some text to an article?

 * MediaWiki: 1.12
 * PHP: 5.2.5
 * MySQL: 5.1.23rc

Hi! Please help solve my problem.

I need to modify standard behaviour of viewing an article. Some wiki-text should be dynamically generated and added to the end of an article. Describe what I mean by the example.

 =Hello, world!=  '' =Hello, world!=
 * There is next text of Article in the database:
 * I need mediawiki to show the next:

dynamically generated internal link ''

Note that it is impossible to store  dynamically generated internal link  text into the article's body because it is generated dynamically.

At first I was going to use ArticlePageDataAfter hook but this one doesn't allow to modify $article. So, now I'm confused and I don't know what I should to do.

Please, help me. Thanks!

—89.254.228.47 19:27, 19 May 2008 (UTC)

Special:Categories page is blank
I have created several category pages by opening a url to Category:, then editing the page with a short description.

When I browse to my Special:Categories page, all I see is:

The following categories exist in the wiki. (first | last) View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500) (first | last) View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500)

Is there a quick and dirty method for regenerating/rebuilding the Category list for this Special page?

Thanks, --Oldr4ver 02:07, 20 May 2008 (UTC)


 * umm? duH! I am a retard!!


 * I think if a category doesn't have any pages in it, it won't show up in Special:Categories even if it exists. Smaug [[Image:Tournesol.png|20px]] 21:57, 20 May 2008 (UTC)


 * I had the same problem. I think that is a bug when update to 1.13 version when you ar using postgres database :-(
 * I solve it with this script (only tested on postgres):


 * This script regenerate category table with category counts. Please check if it is correct. I'm not mediawiki guru.

Request for Enhancement: Special Pages: Unprotected Pages

 * MediaWiki: 1.10.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.45-log
 * URL: http://theguildedage.net/wiki/index.php?title=Special:Specialpages

I am looking for an enhancement in the Special Pages. I would like a link to all UNprotected pages, so that if one was inadvertently missed when setting it up, we can protect it without having to go through ALL the pages to find it.

Thanks! ~Sal

—Ravensun 14:37, 23 May 2008 (UTC)

Standard text of confirmation email

 * MediaWiki: 1.11.0
 * PHP:
 * MySQL:
 * URL:

Hello! At our German project with version 1.11.0 there was found a standard confirmation email text at MediaWiki:Confirmemail body which refers to Wikipedia instead to our project. It's no problem to correct it, but it would be better if these texts would not refer to Wikipedia at all in the download versions which are used outside Wikipedia or Wikimedia projects. Regards

—213.30.234.106 16:51, 29 May 2008 (UTC)

How do page counts get determined? Why does history increase it?

 * MediaWiki: 1.10.0
 * PHP: 5.2.2
 * MySQL: 5.037
 * URL: Not Public

What types of accesses cause the page_count field to increment? I cannot relate any specific type of access in my Apache access.log with page_count numbers for any particular article. Recently, someone's run-away robot hammered our site and caused certain articles' counts to go through the roof. I was hoping to revert the damage by examining the access.log. But, cannot figure out which lines correspond to an incremented page view.

Also, I noticed that if I go into the history of an article, and click through the old versions, each click generates 2 page views, reported at the bottom of the original article. Is this a bug? Thanks.

—Cedarrapidsboy 19:26, 29 May 2008 (UTC)

Message Notification
Hi, I took another Skin (Wordpress) and it works fine, but I wonder about the non-working Notification. Could it be that the Skin template is responsible for that? (Mediawiki 1.12) --Krischan 03:22, 30 May 2008 (UTC)

Request for Enhancement: Special Pages: Default Protect

 * MediaWiki: 1.10.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.45-log
 * URL: http://theguildedage.net/wiki/index.php?title=Special:Specialpages

Hi,

I am looking for an enhancement to set the default protect on all pages and files to "Sysops Only".

Thanks! ~Sal

—Ravensun 12:40, 30 May 2008 (UTC)

How to force SSL/HTTPS?

 * MediaWiki: 1.12.0
 * PHP: 5.2.3
 * MySQL: 5.1.11-beta
 * URL: none (closed Wiki)

Hi,

today I tried to switch my Mediawiki from http to https (only!) but I had no luck... I set $wgServer, $wgServerName an $wgProto in my LocalSettings.php but I can still access my Wiki with http.

So my question is: How can I force my Mediawiki (without .htaccess) to use https://$host? - Thanks for your answers!

—88.72.252.186 12:57, 4 June 2008 (UTC)


 * You probably have to specifically redirect all requests from http://whatever to https://whatever. Typically this is done with an .htaccess file but you can probably simulate this behavior in index.php.  Try:


 * There are probably ways to break this using headers or something. .htaccess is still better.  --Cneubauer 14:53, 4 June 2008 (UTC)

Configuring a Wiki Family on Windows 2003

 * MediaWiki: 1.11.0 (Reported by your Wiki's Special:Version page)
 * PHP: 5
 * MySQL: 5.0.50
 * URL: localhost/mediawiki

I've used several configuration examples to try and configure the wiki family. But it's not working. I tried the documented notes from http://www.mediawiki.org/wiki/Manual:Wiki_family - Scenario 3 and http://www.steverumberg.com/wiki/index.php?title=WikiHelp&w=myc. On the method 1 from Steve Rumberg, I don't see the cookie moving to the next pages, not sure why. Any suggestions would be great.

Thanks, Melissa —Mdougherty08 14:53, 6 June 2008 (UTC)

version 1.6 + breaking iframes

 * MediaWiki: version 1.6.10
 * PHP: php4
 * URL: http://brokencloud.com/ivote/wiki

Hello, I am trying to display pages from my wiki in iframes. I have tried setting the following lines to comments (as shown) and clearing my cache. // Un-trap us from framesets //if (window.top != window) window.top.location = window.location;

Is there some other line involved in this for version 1.6?

Thanks. —67.191.214.247 04:57, 7 June 2008 (UTC)

texvc compile error with cygwin on Windows

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL: localhost

I'm trying to enable TeX support in a localhost installation of MediaWiki under Windows XP Pro (SP3). I have MediaWiki itself installed already.

In cygwin, I cd to the mediawiki/math subdirectory. There I execute make (GNU make). I get the following error output:

ocamlopt -c util.ml >> Fatal error: cannot open Pervasives.cmi Fatal error: exception Misc.Fatal_error make: *** [util.cmx] Error 2

What do I do now? I do have ocaml installed in cygwin, and Pervasives.cmi is in the subdirectory lib/ocaml of the cygwin directory.

—MurrayE 21:06, 8 June 2008 (UTC)

Merge two Wikis

 * MediaWiki: 1.10.0
 * PHP: 5.2.2 (apache2handler)
 * MySQL: 5.0.41
 * URL: None, it's in our Intranet

Hello together,

we have one main mediawiki installed in our Enterprise. For external firms, we plan to install another, second, mediawiki because we don't want the external firm looking in our main mediawiki.

In this second mediawiki the external firm is able to do document the progress in their project. After that project is finished, we want to migrate the documentation into our main mediawiki.

My question is now, is there a way to merge the whole second mediawiki into the main mediawiki? At first i'm thinking about the database. But also the Images folder has to be merged into the main mediawiki.

Do you know a solution for that? Or maybe a different way but with the same result?

Thanks in advance.

Ps: Sorry for my bad english, i was not sure if you understand german.

—194.1.176.242 10:07, 9 June 2008 (UTC)

Multiple 'Subdomains' with One MediaWiki Installation?

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (cgi-fcgi)
 * MySQL: 5.0.24a-standard-log
 * URL: n/a

Hi, I'm investigating setting up a MediaWiki installation and whether what I'm hoping to achieve is actually technically possible. As the wiki would have quite a few subsections, each with the same pages, I'm thinking that using subdomains to house each subsection would be a good way to organise things: If I had three subsections, each with a Main_Page, the URLs might appear something like:

subsection1.wikisite.com/wiki/Main_Page

subsection2.wikisite.com/wiki/Main_Page

subsection3.wikisite.com/wiki/Main_Page

The most important question is: is such a thing possible without actually having to 'create' each subdomain and install a separate MediaWiki installation to it?

Could just one MediaWiki installation be used to achieve this? (RewriteRule would no doubt have to be used)

Many thanks.

—195.137.100.182 06:24, 18 June 2008 (UTC)

Redirect to page other than User:'username'
Hi all. I'd like to change the href when a user name link is clicked on. That is, when the link is clicked, I want to redirect elsewhere other than the User:'username' page. Can anyone give me any pointers?

—Malatorr 07:54, 18 June 2008 (UTC)

Web Browser Compatibility

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.45-community
 * URL: Guitarpedia


 * compatibility problem with some web browsers like: Firefox, IE 6, Safari..

1.) Ok, i got a compatibility problem with some web browsers like: Firefox, IE 6, Safari and may be other Web browsers. the problems with site are different from one browser to another but in IE 7 it's exacly like i planned. before i going to detail the main problems with site i want to mention that i changed a little bit the visual apperance of the site. the main problems:
 * the whole site is messed up and the size of some subjects are not as it shown in IE 7 browsers.
 * the links in the right tool bar are not button able...meaning in some browsers i can't push those links, they are shown but not as a link.

2.) i got another issue... i want to know if there a option to make link which can add the current page to favorite / Home page.

thank you very much.. i want to know how can i help more to solve this problem.

again thank you in advanced..

—Goan 22:25, 19 June 2008 (UTC)

Automatic propositions in the search field

 * MediaWiki: 1.11.0 (r29541)
 * PHP: 5.2.5-pl1-gentoo (cgi-fcgi)
 * MySQL: 5.0.54-log
 * URL: (restricted access)

Hello, I want to know how I can configure my wiki so that when typing a few letters in the search field, I can get suggestions exactly as I get them in a small scrolling menu when doing it on Wikipedia.

On my wiki, we have a similar function, but :
 * I can't get any result while I have not typed at least three characters ;
 * results appear on the body of the page, hiding the page I was consulting, instead of in a little scrolling menu ;
 * results differs on the the fact that I use capital letters or not, whereas on Wikipedia it doesn't take it into account ;
 * I can only get results from the main namespace, whereas on Wikipedia I can get any page as soon as I have typed the namespace and the colon.

Do you know what I should do about it ? install a specific extension ? update the MediaWiki version ? create a widget ?

Thanks a lot if you have the solution ! — Cos (talk page) 17:40, 20 June 2008 (UTC)

Hiding categories doesn't work

 * MediaWiki: 1.12.0rc1
 * URL: http://wiki.rockciclopedia.com

My wiki is http://wiki.rockciclopedia.com I'd like to don't show the categories in the main page, how can I do? I've tried to add __HIDDENCAT__ to the categories pages but it doens't work... look at the main page... How can I fix this problem?

Thanks in advance,

—Lorenzone92 16:24, 21 June 2008 (UTC)


 * Mmh... can you help me? --Lorenzone92 19:31, 21 June 2008 (UTC)

search with wildcards?
Hi,

in my wiki its not possible, to use the wildcardsearch like ka*

The word "katrin" and other words with ka.... are there.

What could be the problem? —213.183.88.50 11:26, 25 June 2008 (UTC)

(RESOLVED) Display source code

 * MediaWiki: 1.12.0
 * PHP: 5.1.6 (apache2handler)

Hi,

I need to add source code on my page. The source code contains html : <#-- Liste des documents de type "ISFB:actualité" --> <#-- Shows the Icon and link to the content for the doc, also the size in KB and lock status --> <#assign rowcount=0> <#assign allNews=companyhome.childrenByXPath["//.[@ISFB:actualite='isfbActu']"]?reverse> <#--assign allNews=companyhome.childrenByLuceneSearch["TYPE:ISFB:actualite"]-->

As usually, I added a space at the beginning of each line. But the result is ugly, partially displayed as source code and partially interpreted as html. How could I display source code without having it interpreted by mediawiki ?

Best regards

Lil —213.162.13.162 10:30, 26 June 2008 (UTC)


 * please use  and/or   tags to surround that code, see also Category:Syntax highlighting extensions -- :bdk:  11:23, 3 September 2008 (UTC)

Login error: Wiki uses cookies to log in users.

 * MediaWiki: 1.12.0
 * PHP: 5.2.6
 * MySQL: 5.0.51b
 * URL: http://localhost


 * Login error: Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.

I'm having a similar problem to what was going on here Manual_talk:$wgCookiePath where when i try to login using Internet Explorer it will give me the error message Login error:wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again. When i use firefox it doesn't give me any problems and allows me to log right in. I went through the guide that was posted as the solution for the guide above where i created the php directories c:\php\uploadtemp and c:\php\sessiondata. I made sure to give them write permissions but I didn't know what was meant by adding the user IUSR_. I didn't know what to replace server name with. The name of the windows machine or the name of the apache server?

I too have the wiki setup on an internal server. This server was running mediawiki 1.4.5 before and didn't have any issues with Internet Explorer logins. Since the upgrade from 1.4.5 to 1.12 it has been giving me this error. The server is currently running on Windows XP with Apache 2.2.8

Checking through the Apache logs. I see that firefox only generates the following in the access logs

"POST /wiki/index.php?title=Special:Userlogin&action=submitlogin&type=login HTTP/1.1" 200 8837

Where Internet Explorer will generate "POST /wiki/index.php?title=Special:Userlogin&action=submitlogin&type=login HTTP/1.1" 302 "GET /wiki/index.php?title=Special:Userlogin&wpCookieCheck=login HTTP/1.1" 200 9914

I also noticed that in the php\sessiondata directory that an IE login will create 2 cookies, 1 that has nothing written in it while the other has the user name and what looks to be the security key. A Firefox login only generates 1 session file.

—198.70.193.2 00:00, 27 June 2008 (UTC)

Install Problems

 * MediaWiki: (1.12.0)
 * PHP: <5.2.4>
 * MySQL: <5.0.45>
 * URL:

I am trying to create a wiki documentation page. I have installed the software and ran the install script (twice). The install script says it was successful. I am running this on a minimalistic laptop. I have tested both Apache, PHP & Mysql and know they are all working.

The Unix is Fedora Core 8 and the rest of the statistics you should have. When I try to go to the Wiki page, I just get a blank web page.

If it could be a permission problem, what should the wiki directory be set to? It is currently set to apache. What other possible issues should I be looking at?

Output for Failure.php:

Please include all of the lines below when reporting installation problems.  PHP 5.2.4 installed Found database drivers for: MySQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title</tt>)</li> Have XML / Latin1-UTF-8 conversion support.</li> Session save path (<tt>/var/lib/php/session</tt>) appears to be valid.</li>PHP's <tt>memory_limit</tt> is 32M. </li> Couldn't find <a href="http://turck-mmcache.sourceforge.net/">Turck MMCache</a>, <a href="http://eaccelerator.sourceforge.net/">eAccelerator</a>, <a href="http://www.php.net/apc">APC</a> or <a href="http://trac.lighttpd.net/xcache/">XCache</a>; cannot use these for object caching.</li>Found GNU diff3: <tt>/usr/bin/diff3</tt>.</li>Found ImageMagick: <tt>/usr/bin/convert</tt>; image thumbnailing will be enabled if you enable uploads.</li> Installation directory: <tt>/var/www/html/mediawiki-1.12.0</tt></li> Script URI path: <tt>/mediawiki-1.12.0</tt></li> Installing MediaWiki with <tt>php</tt> file extensions</li> Environment checked. You can install MediaWiki.</li>

 Generating configuration file... </li> Database type: MySQL</li> Loading class: DatabaseMysql</li>Attempting to connect to database server as wikiuser...success.</li> Connected to 5.0.45</li> Database <tt>wikidb</tt> exists</li> <li>There are already MediaWiki tables in this database. Checking if updates are needed...</li> </ul> ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards ...hitcounter table already exists. ...have rc_type field in recentchanges table. ...have user_real_name field in user table. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. Already have pagelinks; skipping old links table updates. ...have rc_ip field in recentchanges table. ...image primary key already set. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...logging table already exists. ...have user_token field in user table. The watchlist table is already set up for email notification. ...watchlist talk page rows already present ...user table does not contain old email authentication field. ...page table already exists. ...have log_params field in logging table. Logging table has correct title encoding. ...have ar_rev_id field in archive table. ...have page_len field in page table. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have user_email_token field in user table. ...have ar_text_id field in archive table. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...have img_media_type field in image table. ...already have pagelinks table. No img_type field in image table; Good. Already have unique user_name index. ...user_groups table already exists. ...user_groups is in current format. ...have ss_total_pages field in site_stats table. ...user_newtalk table already exists. ...transcache table already exists. ...have iw_trans field in interwiki table. ...trackbacks table already exists. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. ...have ipb_range_start field in ipblocks table. Setting page_random to a random value on rows where it equals 0...changed 0 rows ...have user_registration field in user table. ...templatelinks table already exists ...externallinks table already exists. ...job table already exists. ...have ss_images field in site_stats table. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...have ipb_anon_only field in ipblocks table. Checking for additional recent changes indices... ...index `rc_ns_usertext` seems ok. ...index `rc_user_text` seems ok. ...have user_newpass_time field in user table. ...redirect table already exists. ...querycachetwo table already exists. ...have ipb_enable_autoblock field in ipblocks table. Checking for backlinking indices... Checking if pagelinks index pl_namespace includes field pl_from... ...index pl_namespace on table pagelinks seems to be ok Checking if templatelinks index tl_namespace includes field tl_from... ...index tl_namespace on table templatelinks seems to be ok Checking if imagelinks index il_to includes field il_from... ...index il_to on table imagelinks seems to be ok ...have rc_old_len field in recentchanges table. ...have user_editcount field in user table. ...page_restrictions table already exists. ...have log_id field in logging table. ...have rev_parent_id field in revision table. ...have pr_id field in page_restrictions table. ...have rev_len field in revision table. ...have rc_deleted field in recentchanges table. ...have log_deleted field in logging table. ...have ar_deleted field in archive table. ...have ipb_deleted field in ipblocks table. ...have fa_deleted field in filearchive table. ...have ar_len field in archive table. ...have ipb_block_email field in ipblocks table. Checking for categorylinks indices... Checking if categorylinks index cl_sortkey includes field cl_from... ...index cl_sortkey on table categorylinks seems to be ok ...have oi_metadata field in oldimage table. ...usertext,timestamp key on archive already exists. ...usertext,timestamp key on image already exists. ...usertext,timestamp key on oldimage already exists. ...have ar_page_id field in archive table. ...have img_sha1 field in image table. ...protected_titles table already exists. Deleting old default messages (this may take a long time!)...Done Checking site_stats row...ok. Purging caches...done.

Finished update checks. Creating LocalSettings.php...

Output for Settings.php:

<?php


 * 1) This file was automatically generated by the MediaWiki installer.
 * 2) If you make manual changes, please keep track in case you need to
 * 3) recreate them later.
 * 4) See includes/DefaultSettings.php for all configurable settings
 * 5) and their default values, but don't forget to make changes in _this_
 * 6) file, not there.
 * 1) file, not there.

if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }
 * 1) If you customize your file layout, set $IP to the directory that contains
 * 2) the other MediaWiki files. It will be used as a base to locate files.

$path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path );

require_once( "$IP/includes/DefaultSettings.php" );


 * 1) If PHP's memory limit is very low, some operations may fail.
 * 2) ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } }
 * 1) Uncomment this to disable output compression
 * 2) $wgDisableOutputCompression = true;

$wgSitename        = "ShOp";

$wgScriptPath      = "/mediawiki-1.12.0"; $wgScriptExtension = ".php";
 * 1) The URL base path to the directory containing the wiki;
 * 2) defaults for all runtime URL paths are based off of this.


 * 1) For more information on customizing the URLs please see:
 * 2) http://www.mediawiki.org/wiki/Manual:Short_URL

$wgEnableEmail     = true; $wgEnableUserEmail = true;

$wgEmergencyContact = "root@localhost"; $wgPasswordSender = "root@localhost";

$wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true;
 * 1) For a detailed description of the following switches see
 * 2) http://www.mediawiki.org/wiki/Extension:Email_notification
 * 3) and http://www.mediawiki.org/wiki/Extension:Email_notification
 * 4) There are many more options for fine tuning available see
 * 5) /includes/DefaultSettings.php
 * 6) UPO means: this is also a user preference option

$wgDBtype          = "mysql"; $wgDBserver        = "localhost"; $wgDBname          = "wikidb"; $wgDBuser          = "wikiuser"; $wgDBpassword      = "xxxxxxxx";

$wgDBprefix        = "";
 * 1) MySQL specific settings

$wgDBTableOptions  = "TYPE=InnoDB";
 * 1) MySQL table options to use during installation or update

$wgDBmysql5 = false;
 * 1) Experimental charset support for MySQL 4.1/5.0.

$wgDBport          = "5432"; $wgDBmwschema      = "mediawiki"; $wgDBts2schema     = "public";
 * 1) Postgres specific settings

$wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array;
 * 1) Shared memory settings

$wgEnableUploads      = false; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert";
 * 1) To enable image uploads, make sure the 'images' directory
 * 2) is writable, then set this to true:


 * 1) If you want to use image uploads under safe mode,
 * 2) create the directories images/archive, images/thumb and
 * 3) images/temp, and make them all writable. Then uncomment
 * 4) this, if it's not already uncommented:
 * 5) $wgHashedUploadDirectory = false;

$wgUseTeX          = false;
 * 1) If you have the appropriate support software installed
 * 2) you can enable inline LaTeX equations:

$wgLocalInterwiki  = $wgSitename;

$wgLanguageCode = "en";

$wgProxyKey = "f3ad946ce9d6ff3a4df8ab0f7dc3e3577536be45ce4cee636fbfaad8d3a82b22";

$wgDefaultSkin = 'monobook';
 * 1) Default skin: you can change the default skin. Use the internal symbolic
 * 2) names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = "";
 * 1) For attaching licensing metadata to pages, and displaying an
 * 2) appropriate copyright notice / icon. GNU Free Documentation
 * 3) License and Creative Commons licenses are supported so far.
 * 4) $wgEnableCreativeCommonsRdf = true;
 * 1) $wgRightsCode = ""; # Not yet used

$wgDiff3 = "/usr/bin/diff3";

$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );
 * 1) When you make changes to this configuration file, this will make
 * 2) sure that cached pages are cleared.

--12.216.145.162 27 June 2008

language problems
Hi, I have a question about the language in mediawiki. I've installed mediawiki 1.6.10 and selected the interface language as polish but still some parts of the site are in english (e.g. page tabs (article, edit etc.) or some messages like "Login required to edit") How can I change it?

I'd really appreciate your help

Thanks in advance!

tsp. —83.19.119.82 11:33, 27 June 2008 (UTC)

Probably because in 1.6.10 (it's a very old version) not all phrases have been translated into polish. Updating to 1.13.1 will fix the problem I think.

86.90.194.103 17:36, 15 September 2008 (UTC)

Restrict viewing Categories by AD Group

 * MediaWiki: 1.12.0
 * PHP: 5.1.4 (apache2handler)
 * MySQL: 4.1.12-log
 * URL: Local Intranet

Ok I just installed MediaWiki for my companies internal wiki that I am creating. So far I have successfully installed the LdapExtension and have added some data to the wiki and everything is working perfect! But before I go farther into the project, I need different parts of the site to be secured for different groups (from Active Directory). I have looked around the site here and all the forums I could find and could not find any extensions or any instructions on how to go about restricting access by categories. Is there a way to do this or an extension that I can add?

Thank you in advance!

Stephen Lindauer —151.145.238.91 20:25, 27 June 2008 (UTC)

Mediawiki protected by htaccess

 * MediaWiki: 1.11.0
 * PHP: 5.2.5-pl1-gentoo (cgi-fcgi)
 * MySQL: 4.1.22-log page)


 * Mediawiki protected by htaccess gives an internal error when accessed through a proxy

My mediawiki works fine when accessed without passing thourgh a proxy, however when accessed through a proxy from an intranet workplace I get the following error when I try to login for editing. Read only without login works perfectly well.

Are there wrong proxy server settings?

May there be an error or missing items in LocalSettings.php

Interner Fehler

SkinTemplate::makeTalkUrlDetails given invalid pagename Benutzer:

Backtrace:

—130.92.9.55 07:58, 3 July 2008 (UTC)
 * 1) 0.../includes/SkinTemplate.php(562): SkinTemplate->makeTalkUrlDetails('Benutzer:')
 * 2) 1.../includes/SkinTemplate.php(436): SkinTemplate->buildPersonalUrls
 * 3) 2.../includes/OutputPage.php(696): SkinTemplate->outputPage(Object(OutputPage))
 * 4) 3.../includes/Wiki.php(301): OutputPage->output
 * 5) 4.../index.php(90): MediaWiki->finalCleanup(Array, Object(LoadBalancer), Object(OutputPage))
 * 6) 5 {main}

The Unresolvable Edit Conflict

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (cgi-fcgi)
 * MySQL: 5.0.51-log
 * URL: Security Wire

I've got an Edit Conflict that I just can't seem to fix. I've run a few of the maintenance scripts in hopes of rebuilding or fixing or clearing the error. But to no avail. If I save the page as instructed, I am repeatedly brought back to the blank original, forced to start over, which eventually brings me full circle again.

I'm making the edits as WikiSysop the only bureaucrat, so this problem is baffling. I am using the FCKEditor Extension.

If someone visits my site - the page I am having issues with is linked from the SideBar called Tool List.


 * NOTE This appears to only happen on large edits. Small edits are not affected.


 * Update I removed FCKEditor and reverted code changes for the EditBeforeConflict changes on the install page. No luck. I still am conflicting on most edit attempts larger than 15-30 lines of text.

--oldr4ver 17:48, 4 July 2008 (UTC)

Automated editing via Index.php

 * MediaWiki: 1.13alpha
 * PHP: 5.2.0-8+etch11 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch5-log
 * URL: localhost :P

I posted this on IRC, but everyone was AFK, so here's it again: Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service. <NotATree>	Here's the lib I'm working on

<NotATree>	http://pastebin.com/d1854d1c8

<NotATree>	The token is returned just fine

<NotATree>	I don't know what I could be doing wrong in passing it in the post to edit the page

I know without a doubt that my edit token is returning what is it suppose to, but, what do I do with the +\ on the end? Do I pass that through?

—NotATree 03:47, 8 July 2008 (UTC)

Connection to Wikipedia?
I was wondering how to tell whether your independent wiki page is connected to the rest of Wikipedia - is it searchable, etc. The page is already created, but I can't find it when I type in the title in Wikipedia's search engine. If my wiki page isn't connected to the rest of Wikipedia, how do I go about doing that? (Also, I used MediaWiki to develop it) Thanks.

—209.198.77.94 13:38, 9 July 2008 (UTC)

Independent Wiki page question

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

I was wondering how to tell whether your independent wiki page is connected to the rest of Wikipedia - is it searchable, etc. The page is already created, but I can't find it when I type in the title in Wikipedia's search engine. If my wiki page isn't connected to the rest of Wikipedia, how do I go about doing that? (Also, I used MediaWiki to develop it) Thanks.

—209.198.77.94 13:39, 9 July 2008 (UTC)

Automatic template when creating article
Is there a way so a template will automatically be added when you create a article in a specific category? Thanks, --Boebi 10:50, 13 July 2008 (UTC)

Hindi Unicode title - bulk editing

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * URL: "http://jainkosh.org/Mediawiki/

Hi there I installed media wiki and have couple hundred pages to add. I am trying to automate this so I don't have to manually enter everything. So I am navigating to this URL to create/edit a page called 'परिवर्तन' - http://jainkosh.org/Mediawiki/index.php?title=परिवर्तन&action=edit

But this gives ???????? for the title of the page. If I enter the word manually in search box (परिवर्तन) and then click create page, URL looks like this:

http://jainkosh.org/Mediawiki/index.php?title=%E0%A4%AA%E0%A4%B0%E0%A4%BF%E0%A4%B5%E0%A4%B0%E0%A5%8D%E0%A4%A4%E0%A4%A8&action=edit

So I am wondering how can I generate this URL progamatically given a UNICODE word and use it to create the page. Any help or pointers will be helpful.

thanks, VJ

—71.139.10.75 06:09, 24 July 2008 (UTC)


 * This is weird. If I click the link above from this page with परिवर्तन, it opens the page fine and doesn't display the ??? chars. If I take the same link on a test page and then click it, it starts showing ???? again. I thought these Unicode chars may need to be converted to HEX numbers, but looking at their encoding, doesn't seem to match. Any ideas ? or any other way to bulk insert to the DB with Unicode?
 * —207.250.105.254 14:06, 25 July 2008 (UTC)


 * Check how your browser is set to display character encoding. Firefox, for example, has several options (and they kinda change on me without warning sometimes). -- töff 19:53, 7 September 2008 (UTC)

directory error: needs a "public" dir?!

 * MediaWiki: 1.12.0
 * PHP: 5.2.3 (apache2handler)
 * MySQL: 5.0.45
 * URL: (firewalled)

I have a mediawiki originally created with mediawiki-1.9.3, updated to mediawiki-1.11.0rc1 and now updated to 1.12. Everything worked fine, except some little adjustments... I'm happy with the new version!

But now I encountered a problem, that is very suspicious to me and I'm not able to understand what exact is the problem. "Googling" around the net could not help me out...

Here is the problem: I have uploads enabled and also allowed '.zip' as filetype. I have already a file in the wiki called 'Wifi_patch.zip', now if I try to update/overwrite this file by a new one, I get this message: Interner Fehler Die Datei „public/5/56/Wifi_patch.zip“ konnte nicht nach „public/archive/5/56/20080717085028!Wifi_patch.zip“ umbenannt werden. I would translate it in this way: Internal error The file „public/5/56/Wifi_patch.zip“ could not be renamed to „public/archive/5/56/20080717085028!Wifi_patch.zip“. My problem here is I don't know in what place that directory should be. It seems to me that images got replaced with public since the link to this file is .../images/5/56/Wifi_patch.zip. Is it possible that 1.12 stores other that default file types to a new directory called 'public'? How to update my old wiki structure to reflect those changes?? Any help would be very welcome! —DrTrigon 18:23, 26 July 2008 (UTC)


 * {| cellspacing="8" cellpadding="0" style="background-color: #f9f9f9; border-color: #aaaaaa;border-width: 1px; font-size: 100%; border-style: solid; margin-top: 2px; margin-bottom: 2px; position:relative;"

! Conclusion (here is the most recent) |- | First entry in Manual talk:Upgrading to 1.12. |- | Second entry in Project:Support desk/Sections/System (here). |- | Then found a description at Bugzilla (MediaWiki) and this e-mail which explains a lot! Hopefully this explains everything...?! |- | For further information (e.g. in case of a new appearance of this error) look at Support and contact someone from Project:Support desk/Support team directly.
 * }
 * --DrTrigon 08:26, 29 July 2008 (UTC)

Short URL-Problem
As recommended I moved my mediawiki-folder to c:/XAMPP/xyz. Though I tried with every possible configuration one can think of, I didn't get this short-URL-thing working. Meanwhile I found out, that the instruction withhold the information, that for folders outside the root-folder apache has to be granted access explicitly. But though I added ... <Directory C:/XAMPP/xyz> Order allow,deny Allow from all </Directory> ... to the httpd.conf I got nothing but 403-messages when open http://localhost/xyz/Main_Page

So please, could anyone tell me, what to put in these settings to make this thing operate properly? The last try was with

LocalSettings.php $wgScriptPath      = "/xyz"; $wgScriptExtension = ".php"; $wgScript          = "$wgScriptPath/index.php"; $wgArticlePath     = "/xyz/$1";
 * 1) Short URL:

httpd.conf <Directory C:/XAMPP/xyz> Order allow,deny Allow from all </Directory> Alias /xyz/index.php C:/XAMPP/mediawiki/index.php Alias /xyz C:/XAMPP/mediawiki/index.php Alias /xyz/ C:/XAMPP/mediawiki/ Alias /index.php C:/XAMPP/mediawiki/index.php Alias /xyz/images/ /wiki/images/ Alias /xyz/skins/ /wiki/skins/ Thank you very, very much... --Martin Balser 21:27, 27 July 2008 (UTC)

What file formats come with MediaWiki apart from PHP?

 * MediaWiki: Trunk version
 * PHP: 5.26
 * MySQL: Latest
 * URL: On freeunlimitedweb.com when I can upload it!

It's my first time uploading MediaWiki to a server, but not using it, as I've used the software since 2005 at Wikipedia (the English one!). However, what other file formats come when you upload it??

What exactly are .d files, and some of the other formats that come with the zip/gz downloads (apart from XML, which I understand!). If anyone can explain, I'd be glad to know. This is because I want to set up my wiki on freeunlimitedweb.com, but I need to know what files are available other than PHP so I can upload them via FTP. I'm not new to running/maintaining websites, I did that in university in 2005/2006, but have never done it with MediaWiki apart from on a localhost (it was really a case of download files, copy folders, and run install script for me!) All advice is much appreciated. --Malrick 09:26, 4 August 2008 (UTC)

Remove Search Namespaces and turn off auto Edit of new pages

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.1.26-rc
 * URL: Local LAN Only URL

I would love to know how to accomplish two things.


 * 1) How do I turn off the Auto Edit for pages that do not have content (New URL's)? I would like users to see the message that the page is new and have to click the "Edit Page" option to edit it. I have disallowed anonymous users from editing and this throws an error rather than showing the page such as category pages.
 * 2) How can I remove the default namespaces from the search window (check boxes) so my custom namespaces are the only ones there with the exception of a couple of default ones like Main, Talk, etc.

—Andrewggrant 01:02, 6 August 2008 (UTC)

How can I link to files/documents on users system?

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: (unknown, but certainly latest version)
 * MySQL: (unknown, but certainly latest version)
 * URL: (intranet only)

How can I link to a file on the users environment like c:/haystack/2007/monday.doc ? As it is simple to do so in Excel, I want to link from a wiki-page. Thank you very much in advance -Rob.

—85.115.0.242 07:33, 7 August 2008 (UTC)

Problems with templates

 * MediaWiki: 1.11.0
 * PHP: 5.25
 * MySQL: 5.0.51

Hello,

I have a problem with templates. I made an export of a few articles from the wikipedia-project. I imported this xml file with the php tool into my private wiki.

When I open one of these imported pages, I see only a part of the original page.

original:

my copy:

How you can see, the box on the right side is missing, but the template "Infobox Chemikalie" is stored in the wiki.

Can you tell me, what I have to do, to let my imported page look like the original one?

Best Regards

Sven Mayer

Replace

 * MediaWiki: 1.13.0rc2
 * PHP: N/A
 * MySQL: N/A
 * URL: N/A

I have what I hope is a straightforward question. I want to do an str_replace on the page of html code that is rendered by Mediawiki at the last possible moment before it hits the user's screen, and I would like to know in what file such a replacement should take place, at what point (a line number would be useful, so it gets executed for every page returned by Mediawiki) and what variable name is used for the string representing the page. This is not for a complicated set of replacements or something that will drastically slow down the rendering, just a simple replace at the end. I hope you can help

—84.158.245.87 21:16, 13 August 2008 (UTC)

'Go' button in search box produces unexpected results

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.51a-community
 * URL:

Hi,

I have just changed the DNS location of my Mediawiki install - previously, it was the same URL without the leading www. Since doing this, everything seems to work find apart from the search box in the left-hand column. Entering a search term and clicking 'Search' brings up the search results as nature intended. However, doing the same thing and clicking on 'Go' now doesn't work. Instead, it seems to try and load the correct page without the www. in the URL. Try it yourself using th term 'dfax', which is a valid article name.

I expect that this is a simple fix, as i'm a relative n00b with Mediawiki, but any help would be greatly appreciated ^_^

—195.173.57.160 16:17, 14 August 2008 (UTC)

Display recent changes in TABLE format
MediaWiki: 1.11.0; PHP: 5.2.6 (cgi-fcgi); MySQL: 5.0.45-community-log; URL: http://paleravens.com/

Is a there a setting or extension to display recent changes in TABLE format? Wouldn't it be easier to read? I think so! -- töff 03:39, 16 August 2008 (UTC)
 * ... aww, nobody? really? -- töff 01:02, 30 August 2008 (UTC)
 * Seemed like such a simple thing :( -- töff 18:49, 7 September 2008 (UTC)
 * Maybe I'll hack the durn thing myself. The generator seems to be ChangesList.php. Kinda complicated, and I don't know the programming language. But that's never stopped me before! -- töff 19:22, 7 September 2008 (UTC)

InitialiseSettings.php questions

 * MediaWiki: 1.14alpha current version from SVN
 * PHP: 5.26
 * MySQL: latest
 * URL: http://sunstarnet.freeunlimitedweb.com/testwiki/index.php/Main_Page

I installed the latest version from SVN, the install went correctly. However, I would like to know how to get InitialiseSettings.php and CommonSettings.php to work for my version of MediaWiki on the host I've got it installed at - www.freeunlimitedweb.com

I am not sure how to configure these correctly for my database setup. If anyone has any advice, please can they contact me at sunstar.nwxp@www.com Ta, —Sunstar NW XP 19:29, 17 August 2008 (UTC)

Edit Buttons in each box?
I have recently upgraded to the latest version of mediawiki and like many of the changes. I have a query though, in the past on the main page (which for me re-uses much of the wikipedia source code) an edit button was visible for each section (in the top right corner of each box). This is no longer there. I am definatley logged in with rights to edit the page. How can i get these buttons back?

—20.139.226.50 08:25, 19 August 2008 (UTC)

Move page creates error
When you try to revert a page being moved, this error came up on my host: Notice: Object of class Title could not be converted to int in /www/freeunlimitedweb.com/s/u/n/sunstarnet/htdocs/devwiki/includes/specials/SpecialMovepage.php on line 91
 * MediaWiki: 1.14 SVN version
 * PHP:
 * MySQL:
 * URL: sunstarnet.freeunlimitedweb.com/devwiki/index.php/Main_Page

Notice: Object of class Title to string conversion in /www/freeunlimitedweb.com/s/u/n/sunstarnet/htdocs/devwiki/includes/Title.php on line 168

Warning: htmlspecialchars expects parameter 1 to be string, object given in /www/freeunlimitedweb.com/s/u/n/sunstarnet/htdocs/devwiki/includes/Sanitizer.php on line 724

Does anyone know why these errors came up, and is it something I have to resolve with my webhost?? Ta, —Sunstar NW XP 17:35, 19 August 2008 (UTC)


 * This still comes up every time you revert a pagemove... --Sunstar NW XP 18:56, 19 August 2008 (UTC)

Edit links missing from sidebar!

 * MediaWiki: 1.13.0
 * PHP: 5.2.5
 * MySQL: 5.0.51
 * URL: local

I am a Sysop, I have read the instructions hundreds of times, etc. etc. The edit links are simply not there on the sidebar page.

They are on other pages, no problem, but none on sidebar page. I am going mad. HELP!

How to change the password of user?
—200.255.38.2 14:35, 25 August 2008 (UTC)

(RESOLVED) ed2k://

 * URL: pt.wikipedia.org

How is establishing a link ed2k? (e.g. http:// (http://pt.wikipedia.org/), https://, mailto:// ) --Econt 23:23, 26 August 2008 (UTC)


 * Hmm, I'm unsure if you asked for pt.wikipedia in particular or if you only used the link as an example.
 * Well, in general please see Manual:$wgUrlProtocols.
 * For enabling such an option on Wikipedia, I'm pretty sure this won't be done, at least not in the foreseeable future – see URI schemes (you can open a new bug though). -- :bdk: 14:58, 2 September 2008 (UTC)

Disabling Search Preview
When you type a word into the search box, it displays a list of articles along with a short "preview" of that article's contents. Is it possible to disable this preview on a page-by-page basis, via use of extensions or...? Otherwise, how would I go about disabling it altogether on my personal Wiki, if possible? Soonshort 02:16, 1 September 2008 (UTC)


 * Just a quick update, did some search around but only people asking for this feature. It seems it's possible, just no one wants to do it. Soonshort 06:46, 10 September 2008 (UTC)

cannot modify header error

 * MediaWiki: 1.13.0
 * PHP: 5.2.0-8+etch10 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch4-log
 * URL: http://dconan-forum.xail.net/

I have modifyed index.php and wiki.php but then i deleted the changes and thaved it. But now on my site come this errors: Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /var/www/user/dconan-forum.xail.net/index.php:1) in /var/www/user/dconan-forum.xail.net/includes/WebResponse.php on line 10 I have nothing modifyed on webresponse.php

And how to enable html codes in wiki pages? Thx —89.12.137.45 13:23, 2 September 2008 (UTC) Sorry for my bad english i came from Germany.


 * Do you still get these errors? If yes, where exactly (which action)?
 * For eabling html, see Manual:FAQ
 * Btw, you should look up your Special:Version page to get the version info (you wrote "I don't know" – I filled out the above information for you now) ;-) -- :bdk:  14:42, 2 September 2008 (UTC)

Saving a page returns a white page : memory problem

 * MediaWiki: 1.11.0 & 1.12.0
 * PHP: 5
 * MySQL: 5

When I save a page (not all it seems), the script returns a white page. With the debug options, I saw the error :

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 23040 bytes) in /var/www/vhosts/.../htdocs/includes/Exif.php on line 665

But this doesn't help me a lot. After some research on Google, I found out that it's possible but not recommended to change the memory limit with ini_set("memory_limit", '16M'); for example. But it also says that the script is not optimized.

So what can I do ? Pages are saved correctly, but the fact that a white page appears can be really confusing...

Matt84 10:02, 3 September 2008 (UTC)

I upgrade MW to 1.12 (from 1.11) and now every load of a page leads to a white page. But if I refresh it's ok. Could it be a problem of cache or... ??


 * If PHP runs out of memory, give it more memory. (Wikimedia Foundation wikis have a memory limit of 50MB.) —Emufarmers(T 22:38, 3 September 2008 (UTC)

Matt84 12:57, 4 September 2008 (UTC)

I don't have the rights to change the memory limit (even with ini_set).

The error is :


 * Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 20 bytes) in /var/www/vhosts/coaching.epfl.ch/htdocs/languages/messages/MessagesAr.php on line 2469

But I don't understand why it opens MessagesAr.php which is for arabic... and I only use English or French..

How to rid of redirect from site root to "Main_page"?

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.5-pl1-gentoo (apache2handler)
 * MySQL version: 5.0.44
 * URL: http://www.ecg.su

How can I rid of redirect from site root to "Main_page"?

Poxwiki.com is typical example of such a trick, but I have no idea how they did it.

—Organic 19:27, 3 September 2008 (UTC)

Get rid of history - Only one version

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.6 (ucgi5
 * MySQL version: 5.0.66a-log
 * URL: http://fiszopedia.trejderowski.pl/ (available in Polish only!)

Is there ANY way in WikiMedia to disable writing history of articles or pages? I mean - to have ONLY ONE version of each article, which is overwritten each time I save a new one. I don't mean to just remove history tab.

I'm looking for this solution for many reasons. To lower database, because I need to, because I want to, because I want to assure myslef that it is possible! :)

I'm doing a simple "private" Wiki, which will be edited by only one person (rest can view). Administrator know what he or she is doing and therefore doesn't need a history of edits or an abillity of reverting article to previous version.

I've searched the Internet and MediaWiki for this and found nothing (maybe due to incorectly defined search), that's why I'm asking.

—Trejder 10:30, 8 September 2008 (UTC)

Groups and Group Management

 * MediaWiki version: 1.11.2
 * PHP version: 5.2.4-2ubuntu5.3 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.1
 * URL: Intranet/private

My question/suggestion refers to user group management. Is there currently a way, or extension that will allow wiki interface to ADD/MODIFY/DELETE user groups when logged in as admin??? I added the extensions CategoryPermissions and GroupBasedAccessControl, and I've also added groups in to the MySQL database under table mywiki_user_groups but they do not show up in the admin user group management - I still only see the defaults (sysop/bot... etc). I've read about editing the LocalSettings.php to pass new groups but those also do not show up in the group list.

My suggestion would be if there is not a way to definitely integrate this into future versions. It would be a very simple addition to the database by adding a single table and using the existing _user_groups table with a many to many relation between the group table and user table. This would allow inherent user by user access control via extensions while still maintaining the core focus of a wiki. (IE allowing both public and private wikis to group users in logical ways which could also be used for ACL if needed.)

—T3chn0m0nk3y 16:09, 8 September 2008 (UTC)

Automatic Login to the wiki from another site.

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6
 * MySQL version: 5.0.51b

I'm trying to set up an internal wiki for employees of a company. We want it so that they access the wiki from an another site which they have to log into. Once they click on a "Go to the Wiki" button, it will either send a $_POST variable or set a $_SESSION variable to the wiki which will log them in as a generic 'user' that can't edit the pages, just view them. I have it setup so that no one can edit the pages but the Admin, and all that works perfectly. Just can't find where I would be able to set an:

if(isset($_POST['login'])) {       loginAsUser; etc, etc, etc.   }

Thanks for the help!

—99.255.213.206 15:58, 10 September 2008 (UTC)

Navigation tool
MediaWiki	1.13.1 PHP	5.2.6 (cgi) MySQL	4.1.22-standard http://bovenaangoogle.nl/wiki

I want to install this tool http://en.wikipedia.org/wiki/Wikipedia:NAVPOP

In order to do that i need to edit my monobook.js file. But where can i find that? I`am searching for like 2 hours and still nothing came up

Please help

—145.52.201.38 11:50, 11 September 2008 (UTC)

Search api

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.51a-community
 * URL:

My search api doesn't like to give suggestions to Firefox.

See:
 * http://l3ga.site40.net/w/api.php?action=opensearch&search=welkom (gives: ["welkom",[]], as expected)
 * http://l3ga.site40.net/w/api.php?action=opensearch&amp;search=welkom (gives: [null,[]])

The first url works, but Firefox can't create a search plugin without &amp;amp; (causing errors).

Thereby I've got a non-existing page: http://l3ga.site40.net/wiki/Kop%C3%AFeren_en_plakken but it's listened at: http://l3ga.site40.net/wiki/Speciaal:AllePaginas (all pages, my wiki is in Dutch). How can I delete this one (manually)?

What should I do? —86.90.194.103 10:03, 14 September 2008 (UTC)


 * Those two URL's look identical to me. .... I don't understand the problem, but is this something an HTML META redirect could work around? -- töff 18:32, 16 September 2008 (UTC)


 * See the source code of this page, you'll see the difference. 129.250.211.12 15:34, 17 September 2008 (UTC)

How To Transclude Categories?
MediaWiki: 1.11.0; PHP: 5.2.6 (cgi-fcgi); MySQL: 5.0.45-community-log; URL: http://paleravens.com/

I'd like to make a page that shows the contents of TWO existing categories. But the categories' lists don't appear. How can I put two category LISTS on one page? -- töff 22:53, 15 September 2008 (UTC)

MediaWiki research for e-portfolio

 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

I am a part of a leadership program. I am helping an organization in the development of an E-Portfolio as a team project. We are looking into your product (MediaWIKI). Can you assist with answering the following questions?

WEB ADDESS/CONTACT INFO Is your product Web 2.0 compatible? Who are your clients? List of references we can contact Do you provide: - Support for synchronization to these enterprise systems; Additional cost for upgrades; 24 hour technical support; Emergency outage notifications; Administrative handbooks for end users; Do you provide hosted version from locations outside of the client institution? Do you provide technical support to deal with technical question/problems? What training do you provide for users (University, faculty, and students) in organizing and using the system and data? For initial server space rental; for changes in server space used; for maintenance/updates; for data download to students (upon graduation); for initial set-up; for training; Do you provide training or orientation to new users? What are the projected hardware impacts (costs, equipment requirements, etc.) upon the client? What are the hardware and system requirements required to run the product? Will the client have a single POC at your company or will there be a group interactive dynamic? Will you work with the client to make changes over time to the system to maximize their needs? Do you have any other clients that are using a similar system in a similar manner? Do you provide unlimited storage space or a limited default storage space? If limited, what is the default setting (e.g. 25MB) Do you provide system integration capability - (e.g. can this tool be integrated into existing systems such as institutional data bases or other university systems?	How do you provide privacy and security to student/faculty data? Are student/faculty IDs and passwords encrypted?  	Can students download and save their eportfolios?

—205.254.147.8 22:32, 16 September 2008 (UTC)


 * What is MediaWiki? —Emufarmers(T 06:39, 17 September 2008 (UTC)