Project:Support desk/Sections/System

__NEWSECTIONLINK__ = MediaWiki System Support =

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)

(RESOLVED) TOC not redirecting properly
I'm getting a wrong redirect for the TOC. IF there's an heading called "Story" the link should be http://www.domainsite.ext/article#STORY but the links redirect on http://www.domainsite.ext/#STORY, without "article" so the browser is redirected to the home page!!!

I think it's an hosting problem, How can I fix this? Thanks in advance! --Lorenzone92


 * I'd be nice if you gave your url and your wiki information so we can help you. -PatPeter, MediaWiki Support Team  16:03, 22 December 2007 (UTC)


 * The wiki is on www.rockciclopedia.com. For istance if you go here and you click on "Origini" you'll be redirected to the home page... --Lorenzone92 21:54, 22 December 2007 (UTC)


 * Someone on your wiki edited a page wrong, it is either a system file or a MediaWiki file that defines how the ToC displays. Do you have access to your wiki's system files and MediaWiki files? Ask all your admins who have the same permissions if they did anything. -PatPeter, MediaWiki Support Team  23:27, 22 December 2007 (UTC)


 * I'm the only admin and I've edited nothing... I think I have to replace relative links with absolute links in the PHP file that pertain to contents table... --Lorenzone92 13:52, 23 December 2007 (UTC)


 * Yes they need to be absolute. -PatPeter, MediaWiki Support Team  19:52, 24 December 2007 (UTC)


 * OK but I've edited nothing... So I don't know where the problem could be! What do you think? Which is the PHP file that "manage" the ToC? --Lorenzone92 22:38, 24 December 2007 (UTC)
 * MMh... no one can help me? --Lorenzone92 15:44, 26 December 2007 (UTC)
 * Pleaseeeeeeeeeeee!! :P --Lorenzone92 11:36, 30 December 2007 (UTC)


 * Ouch sort of forgot about you here, sorry. Anyway it might have been edited when you installed MediaWiki (i.e. random bad default edit or loss of info in file transfer). I can't find any help information on the Table of Contents on MediaWiki, stay posted. -PatPeter, MediaWiki Support Team  17:48, 7 January 2008 (UTC)


 * So what do you think I can do? Which files can i reupload? Which PHP file create the ToC? P.S.: Thx for your help! ;) --Lorenzone92 17:51, 9 January 2008 (UTC)


 * I'd start with re-uploading the /includes/ directory, along with its sub-directories. Tuvok[Talk/en.wp] 06:38, 10 January 2008 (UTC)


 * And re-uploading that dir I won't lose my pages? --Lorenzone92 18:27, 10 January 2008 (UTC)


 * Yes you won't lose your pages, includes aren't attached to your database. You would lose a Special page if you forgot to re-upload it though. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:32, 10 January 2008 (UTC)


 * I've reuploaded all the directory with also subdirs but the redirections don't work anyway (for example here look at the ToC.. :( I tried to set all my files/dirs CHMOD to 777 but it's the same... --Lorenzone92 18:42, 10 January 2008 (UTC)


 * Don't forget me! :P --Lorenzone92 14:24, 14 January 2008 (UTC)


 * Don't worry, as long as you continue repling to the questions and whatnot your thread will remain here until it is resolved, see the policy up above, this is just one heak of a problem. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  17:25, 14 January 2008 (UTC)

This is what the source of your TOC is:

So I am going to have to put this up for another MST member, I am pretty sure there is an option somewhere for enabling "fullURL" for ToC or something. -PatPeter,  MediaWiki Support Team  00:30, 17 January 2008 (UTC)


 * mmh... so what should i do? --Lorenzone92 17:46, 17 January 2008 (UTC)
 * mmmhh? :P --Lorenzone92 22:01, 22 January 2008 (UTC)

Good job, keep bumping, I know someone here must know the config setting to enable full URL. -PatPeter,  MediaWiki Support Team  02:28, 23 January 2008 (UTC)


 * Bump, bump, bump... :D --Lorenzone92 17:07, 25 January 2008 (UTC)


 * I'm still here....... --Lorenzone92 21:33, 5 February 2008 (UTC) :P


 * I need help..... --Lorenzone92 18:26, 11 February 2008 (UTC)


 * May someone help me? --Lorenzone92 14:07, 28 February 2008 (UTC)


 * Try searching meta for any help on ToCs. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  19:36, 3 March 2008 (UTC)


 * Searched but I found nothing.... Still need help! --Lorenzone92 20:56, 13 March 2008 (UTC)
 * RESOLVED (chatting in the IRC channel)! The problem base my meta tag  ... --Lorenzone92 13:10, 14 March 2008 (UTC)

Adding an additional Sidebar

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

Hi there I try to develop a little MediaWiki for some friends. They requested an additional Sidebar on the right side. General question: - is this possible? - I guess so... If it is possible, which file do I have to edit? I searched for Extensions but haven't found one, anyone knows about this? Ben

—212.184.19.70 10:17, 10 January 2008 (UTC)


 * You can create many sidebars as is done on this wiki, edit the MediaWiki:Sidebar article. See also Manual:Interface/Sidebar --Nad 19:41, 10 January 2008 (UTC)


 * Putting one on the right side will require some trivial CSS changes though. — color probe (talk | contribs | [[Image:Tournesol.png|20px]]Support team) 19:48, 10 January 2008 (UTC)


 * Great. Thanks for your help.Can you tell me in which file I have to add some css code?
 * CSS code can be put in the wiki article Mediawiki:Common.css --Zven 01:40, 11 January 2008 (UTC)


 * Thanks for your hint. Actually my skills writing CSS are low (sorry for that). So can you please give me more help concerning the code?
 * I read some CSS help :). Is it right, that I have to add in common.css some lines starting #rightcolumn {float:right etc} If this first thought is ok, then how to tell the code that there should be some Information in it (the right column)? Normally there is some html code e.g. text but even if I add this div tag to monobook.php I don't know how to add a WikiText into it... Hope you can understand my problems. Have a nice weekend.
 * Ok I found a possibility to insert a Wikitext into a div tag. Now the (last) problem is the Position. I added my div Container in monobook.php at several places. None of them was ok. Someone knows where exactly (after/before which lines) I have to add my code?. Or is it the wrong way? As color probe wrote I have to do the placement with "trivial" css?

(RESOLVED) Locking Down MediaWiki
Just installed v1.11.1 on Windows 2003, PHP 5.2 and MySQL at www.theearthwitch.com as a personal knowledge dump. Trying to lock it down so only myself and wife can view/add pages. Added the following statements to the LocalSettings.php file and restarted IIS. These lines are not preventing editting or creating of new accounts. What does work?

$wgWhitelistEdit = true;
 * 1) Specify who can edit: true means only logged in users may edit pages

$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help");
 * 1) Pages anonymous (not-logged-in) users may see

$wgWhitelistAccount = array ( 'user' => 0, 'sysop' => 1, 'developer' => 1 );
 * 1) Specify who may create new accounts: 0 means no, 1 means yes

—63.118.221.94 20:04, 28 February 2008 (UTC)


 * Duh, the methods you're trying to use are for MediaWiki 1.4 (which is very old) - for example, $wgWhitelistEdit was a setting which was completely removed in MediaWiki 1.5.


 * The above code prevents anonymous and logged-in users from creating accounts, but still allows users with the 'sysop' and/or 'developer' permission to create accounts.


 * The following code prevents anonymous & logged-in users from editing but allows sysops and developers to edit:


 * And this disables anonymous reading and allows them only to read pages that are defined on $wgWhitelistRead. I suppose though that your project isn't called "Wikipedia", so you might want to remove "Wikipedia:Help" from the list or add another help page instead of that there. For example, if your wiki is called "MyWiki" (see $wgSitename), you could add "MyWiki:Help" to the list. In any case:


 * And this stops anons & logged-in users from creating pages:


 * See Manual:Preventing access for lots more information about this subject. Cheers. -- Sayuri 11:59, 6 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)

Main Page boxes

 * MediaWiki: 1.11.1
 * PHP: 5.2.5
 * MySQL: 5.0.24

Hi,

Fairly new to the whole wiki thing so plase bear with me.

I'm making an internal wiki for my company and managment have told me that they want several "boxes" on the Main Page (similar to the main page on wikimedia.org and wikipedia). but how do i go about adding those in? Are they just tables with all that info added in or is there a special code i need to us?

Plus, is there any way i can set all users preferences to search all namespaces as default?

Cheers

—62.49.155.133 12:41, 29 February 2008 (UTC)


 * For the namespace by default question, see Manual:$wgNamespacesToBeSearchedDefault. Not exactly sure what you want for your main page. I think just add tables. Timneu22 13:26, 9 March 2008 (UTC)

Database driver problem

 * MediaWiki: (1.11.1)
 * PHP: (5.2.5 IIS)
 * MySQL: (5)
 * URL: Not working yet but it is installed at Http://www.glsc.usgs.gov/mediawiki/

When I load index.php at the address above, I get a message that I need to configure the wiki. That's what I expect however, it fails to find a db when I click the setup link. I get this:

MediaWiki 1.11.1 Installation

Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.

Checking environment...

Please include all of the lines below when reporting installation problems.

PHP 5.2.5 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module

I have installed MySQL but there must be a problem with it.

Thank you for any help you may be able to provide.

Rich Quintal

Webmaster

Great Lakes Science Center

—159.189.64.158 20:51, 29 February 2008 (UTC)

Will Neelen: It seems that the connector between PHP and MySQL does not work. Please make sure you have copied libmysql.dll (from the zip-package) to the PHP-program-directory. Most likely this is c:\program files\php or c:\php. Then you need to reboot the server and run the MediaWiki setup again.

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 :)

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)

(RESOLVED) I wanted to change the logo in the LocalSettings.php but the $wgLogo is not there
I wanted to change the logo in the LocalSettings.php but the $wgLogo is not there where do i change it then?

—66.176.143.166 18:46, 24 February 2008 (UTC)


 * Add it.  Mønobi 19:59, 24 February 2008 (UTC)

A N S W E R : The image for $wgLogo is wiki.png. And this image resides in skins/common/images/wiki.png.

Rename your image to wiki.png, even if it is .jpg.

$wgLogo should be able to be defined in includes/DefaultSettings.php. --Detlef Lindenthal 20:40, 24 February 2008 (UTC)
 * You should never adjust the codebase files, set your logo using the Manual:$wgLogo global in the LocalSettings.php file. Do not adjust DefaultSettings.php or rename image files from the codebase. --Nad 22:02, 24 February 2008 (UTC)
 * Dropping $wgLogo = "/images/b/bc/Wiki.png"; into LocalSettings.php may be easiest; this allows you to upload Image:Wiki.png to the wiki as just another image. --Carlb 01:26, 26 February 2008 (UTC)

(RESOLVED) Email notification won't work

 * MediaWiki: 1.11.1
 * PHP: 5.2.0-8+etch7 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch1-log
 * URL: http://werkwelt.de/mw

Hello,

I'm trying to install Mw 1.11.1; everything works fine

except for email notification :-(

Email address confirmation does work, this means that the PHP-Mailer works.

I switched on any switch in
 * LocalSettings.php and
 * includes/DefaultSettings.php and
 * Special:Preferences (Spezial:Einstellungen).

Does somebody have any idea what is missing?

mailto:detlef(at)lindenthal.com —Detlef Lindenthal 20:32, 24 February 2008 (UTC)
 * Are all settings you need of Manual:Configuration settings enabled ? Seb35 09:16, 27 February 2008 (UTC)

(RESOLVED) Signatures php script?

 * MediaWiki: 1.11.1

Doubt anyone knows this, but what is the php script for signatures ( ~ ) ? ——The TattleTale Strangler 05:53, 1 March 2008 (UTC)


 * Parser.php; and here is some more information that is semi-related. Timneu22 18:58, 2 March 2008 (UTC)

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

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

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

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

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)

Links to internal servers

 * MediaWiki: 1.11.1
 * PHP: 5.2.5
 * MySQL: 5.0.24

Is there any way of making a link on my internal wiki to a shared folder/file on my internal network?! I've tried numerous things, but to no avail.

Please help as this is vital for my wiki to be accepted by management!!

Cheers

—62.49.155.133 17:16, 3 March 2008 (UTC)


 * Does  not work? This is how I do it at my internal wiki, and I don't remember making any php changes for this to work. Timneu22 13:21, 9 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) Notice: Undefined offset: -1 in .../mediawiki/languages/Language.php on line 364

 * MediaWiki: 1.9.3
 * PHP: 5.2.4
 * PostgreSQL: 8.1.5

Hallo at all,

I installed a German Mediawiki but at the Specialpage containing the list of uploaded files I get an Error:

Notice: Undefined offset: -1 in /home/opt/lampp/htdocs/mediawiki/languages/Language.php on line 364

looking like this: [[Media:ErrorMediaWiki.png]]

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

Thank you.

--MaximilianG 07:49, 6 March 2008 (UTC)

Hallo at all,

I soluted my problem by installing the version 1.12 of Mediawiki

--MaximilianG 14:10, 25 March 2008 (UTC)

In version 1.10.0 is there a way to generate RSS in the wiki markup without adding an extension?

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

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)

(RESOLVED) How Do I Change the Article Tab Text to "recipe?"

 * MediaWiki: 1.11.1
 * PHP: 5.2.3 (apache2handler)
 * MySQL: 5.5.51a
 * URL: DishiWiki

My wiki is a wiki for recipes. How do I change the text on the Article tab to say "recipe" instead of "article" when the article is categorized as a "recipe?"

Similarly, how do I change the Article tab to say "technique" (or "tip") when the article is categorized as a "techique" or "tip," respectively?

(I don't think a new tab for "recipe" or "technique" or "tip" makes sense, do you?)

I love the MediaWiki software and Site! When I get good at it, I'm going to pitch in.

—72.220.150.243 17:16, 6 March 2008 (UTC)


 * Solution: Change your mediawiki:nstab-main text. Timneu22 21:59, 6 March 2008 (UTC)
 * Thanks! That's just what I needed to know while in the meantime I'm reading all the MediaWiki documentation. 72.220.150.243 18:45, 8 March 2008 (UTC)

Warning: mkdir

 * MediaWiki: 1.11.0
 * PHP: 5.2.5
 * MySQL: 5.0.51a
 * URL: www.BrandweerExpert.nl

After deleting an image I've got the following warning:

Warning: mkdir [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 626 is not allowed to access ……/wiki/images/deleted/c/8/n owned by uid 100 in ……./wiki/includes/GlobalFunctions.php on line 1670

The maps "images" and "deleted" have "Write" right for "Group" and "World".

Can you help me?

—Jaap Smit 11:36, 7 March 2008 (UTC)
 * Use CHMOD -R and/or CHOWN -R to give the apache user the rights to Write and read in the Images directory AND bellow! That should fix your problem! --TheDevilOnLine 12:49, 29 May 2008 (UTC)

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)

(RESOLVED) Changing Copyright Text in the footer

 * MediaWiki:1.11.0rc1
 * PHP: 5.1.6 (apache2filter)
 * MySQL: 4.1.20
 * URL: http://de.wiki-products.org/Hauptseite

How can I change the text concerning the copyright in the footer of our wiki? It is clear how to change the second part of the text (which displays the license of our Wiki), but how can I change the first part from "Content is available under" to "Text is available under"? This is necessary since we are using images from wikicommons which are not licensed under the GNU. Thanks for helping and best wishes, —Gollum 22:18, 8 March 2008 (UTC)


 * Maybe I'm not sure exactly what you want, but I think you want to change Mediawiki:Copyright, MediaWiki:Copyrightwarning2 or MediaWiki:Copyrightwarning. Otherwise, check special:allmessages to find the text you're changing. Sorry if this doesn't exactly answer what you want, but I think this is what you need. :} &mdash; Timneu22 22:47, 8 March 2008 (UTC)


 * Yes, that is exactly what I was looking for! Thanks!! --Gollum 08:40, 9 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)

Link to a directory.
Is it possible to make a link to a directory on a server? And if it is possible how do I have to do it? &mdash; Nico Van Hessche


 * Just type  Timneu22 10:37, 11 March 2008 (UTC)

What Media wiki Supports

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

Does MediaWiki support ASP and SQL also.

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

Preventing Creation of New Pages in a single namespace
I know how it is possible to prevent and allow groups of users from editing a specific namespace (using $wgNamespaceProtection). Is it possible to prevent and allow groups of users from creating a new page in a specific namespace?

—Smaug 16:57, 18 March 2008 (UTC)


 * Here's a sample of my local settings; it does what you're asking. You should get the idea.

$wgGroupPermissions[ '*' ][ 'ns0_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns0_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns0_create' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns0_move' ] = true;
 * 1) regular pages

$wgGroupPermissions[ '*' ][ 'ns1_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns1_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns1_create' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns1_move' ] = true;
 * 1) regular talk pages

$wgGroupPermissions[ '*' ][ 'ns2_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns2_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns2_create' ] = true;
 * 1) user pages

$wgGroupPermissions[ '*' ][ 'ns3_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns3_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns3_create' ] = true;
 * 1) user talk pages

$wgGroupPermissions[ '*' ][ 'ns4_read' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns4_edit' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns4_create' ] = true;
 * 1) wiki pages

$wgGroupPermissions[ '*' ][ 'ns6_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns6_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns6_create' ] = true;
 * 1) images

$wgGroupPermissions[ '*' ][ 'ns7_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns7_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns7_create' ] = true;
 * 1) image talk

$wgGroupPermissions[ 'bureaucrat' ][ 'ns8_read' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns8_edit' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns8_create' ] = true;
 * 1) mediawiki pages

$wgGroupPermissions[ '*' ][ 'ns10_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns10_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns10_create' ] = true;
 * 1) templates

$wgGroupPermissions[ '*' ][ 'ns11_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns11_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns11_create' ] = true;
 * 1) template talk

$wgGroupPermissions[ '*' ][ 'ns12_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns12_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns12_create' ] = true;
 * 1) help

$wgGroupPermissions[ '*' ][ 'ns13_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns13_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns13_create' ] = true;
 * 1) help talk

Timneu22 01:02, 26 March 2008 (UTC)


 * Thanks for the response. But how do you define what those custom rights mean? MediaWiki doesn't automatically know what 'ns0_create' means. Smaug  02:42, 26 March 2008 (UTC)


 * Those rights come from Extension:NamespacePermissions. —Emufarmers(T 03:15, 26 March 2008 (UTC)

(RESOLVED) Rewrite Rules for changed Namespace Name?
I successfully modified my .htaccess file so that I now have short URLs.

This process made me wonder if there is a way using those Apache rewrite rules to do the following: I have used the $wgNamespaceAliases array to rename a namespace. I would like this to be reflected in the URL that the user sees. As it is, typing in the alternate name just redirects to the original namespace in terms of the URL (so the $wgNamespaceAliases editing worked).

How can I use Apache rewrite rules (or any other way, for that matter) to cause the namespace to appear how I like in the URL?

Thanks for any ideas. Smaug 19:07, 18 March 2008 (UTC)


 * Solved this after discussions on irc. Didn't have to use Rewrite rules after all!  I used
 * where # is the number of the namespace I was changing the name of and NewName is the name I changed it to. Apparantly $wgExtraNamespaces overwrites old namespaces in addition to adding new ones. Smaug  [[Image:Tournesol.png|20px]] 02:42, 15 April 2008 (UTC)
 * where # is the number of the namespace I was changing the name of and NewName is the name I changed it to. Apparantly $wgExtraNamespaces overwrites old namespaces in addition to adding new ones. Smaug  [[Image:Tournesol.png|20px]] 02:42, 15 April 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 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.

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)

Check if logged in

 * MediaWiki: 1.6.10
 * PHP: 5.2.2 (cgi)
 * MySQL: 4.1.22-standard
 * URL:

I am trying to add ads to my wiki in monobook.php but I don't want to show ads to logged in users. How can I check if someone is logged in?

—70.17.137.112 20:02, 21 March 2008 (UTC)
 * In the code they sometimes use the if statement  to determine if a user is logged in.  Try that. Smaug  21:25, 21 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. <font color="#006500">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)

(RESOLVED) Template parser down after accessing on other php site on same server

 * MediaWiki: 1.11.2
 * PHP: 5.2.0.8+etch10
 * MySQL: 5.0.32
 * URL: wiki only available on my companie's intranet

hi !

I would like to resolve this nasty problem, i don't understand what is the really cause :

I have two site installed on my web server :

/mediawiki with files are on /usr/share/mediawiki

/egroupware with files are on /usr/share/egroupware

When i surf on egroupware it cause a crach of the template parser on mediawiki and my template are not interpreted correctly

as an result example i have a : "about " in the footer of my mediawiki pages. template is not interpreted and replaced by "about okparanoidwiki" assuming that okparanoidwiki is the name of my wiki...

i have one apache configuration files for each site :

mediawiki.conf Alias /mediawiki /usr/share/mediawiki

<Directory /usr/share/mediawiki/> Options +FollowSymLinks AllowOverride All php_value memory_limit 32M php_value upload_max_filesize 8M </Directory>

egroupware.conf Alias /egroupware /usr/share/egroupware

<Directory "/usr/share/egroupware/"> AllowOverride None php_value memory_limit 32M php_value max_execution_time 60 php_flag register_globals Off php_flag magic_quotes_gpc Off php_flag magic_quotes_runtime Off # settings for the file upload, you might increase them further php_value upload_max_filesize 16M # session handling: now the check for expired sessions is done on every 10th session creation php_flag session.use_trans_sid Off php_value session.gc_probability 1 php_value session.gc_divisor 10 # multibyte extension: needed for utf-8 php_value mbstring.func_overload 7 </Directory>

<Location /egroupware/rpc.php> php_value mbstring.func_overload 0 Order allow,deny Allow from all </Location> Could someone please help to resolve this problem ?? I will really appreciate some help !

PS : i have first reported this problem on mediawiki mailing list but i have no answer and this problem is very annoying for us...

—83.145.100.34 19:11, 26 March 2008 (UTC)


 * Resolved : this is a php bug : http://bugs.php.net/bug.php?id=27421 when we use a per directory configuration with mbstring.func overload option
 * i have removed "php_value mbstring.func_overload 7 "from my egroupware conf file and it works now. Okparanoid 09:47, 5 April 2008 (UTC)

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

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

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)

Section edit not working

 * MediaWiki: 1.12.0
 * PHP: 5.0.4 (apache2handler)
 * MySQL: 4.1.20
 * URL:

After upgraded to 1.12.0, full page editing is ok but section edit was not working and getting internal server errror - Invalid h node passed to PPNode_DOM::splitHeading

Backtrace:


 * 1) 0 /var/www/html/wiki/includes/Preprocessor_DOM.php(1348): PPNode_DOM::splitHeading
 * 2) 1 /var/www/html/wiki/includes/Parser.php(4605): PPNode_DOM->splitHeading
 * 3) 2 /var/www/html/wiki/includes/Parser.php(4675): Parser->extractSections('This is a test,...', '2', 'get', false)
 * 4) 3 /var/www/html/wiki/includes/EditPage.php(193): Parser->getSection('This is a test,...', '2', false)
 * 5) 4 /var/www/html/wiki/includes/EditPage.php(982): EditPage->getContent(false)
 * 6) 5 /var/www/html/wiki/includes/EditPage.php(473): EditPage->initialiseForm
 * 7) 6 /var/www/html/wiki/includes/EditPage.php(323): EditPage->edit
 * 8) 7 /var/www/html/wiki/includes/Wiki.php(444): EditPage->submit
 * 9) 8 /var/www/html/wiki/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 10) 9 /var/www/html/wiki/index.php(90): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 11) 10 {main}

I appreciate if any one can let me know what I can do to resolve this issue. Would it help if I upgrade to latest php and mysql? I am running fedora 4 and apache, would there be any compatibility issues with php 5.2 and mysql 5.x?

Thanks for your attention

—12.106.66.116 21:42, 1 April 2008 (UTC)


 * Try this link. I had the same problem and it worked. --Baumanns 17:04, 9 April 2008 (UTC)

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

 * 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

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)

URL

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

Hello, I'am administrator of www.spiriwiki.com. Every page shows in the browser http://www.spiriwiki.com/index.php?title=Main_Page Is it possible to get rid of the index.php?title= part of it ?

Great thanks Spiriwiki.com 08:27, 3 April 2008 (UTC)

—Spiriwiki.com 08:27, 3 April 2008 (UTC)


 * Yes it is. <font color="#006500">Smaug 20:15, 3 April 2008 (UTC)


 * Great.... can yoy tell me how ? Spiriwiki.com 10:18, 4 April 2008 (UTC)


 * Go to Manual:Short URL. In my first response, "Yes it is" is a link to that page.  I'm sorry for not being more clear.  <font color="#006500">Smaug  19:54, 4 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

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

< 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)

How to make a categorytree

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

Hello, how do I make a categorytree ? Manu thanks..

—[User:Spiriwiki.com|Spiriwiki.com] 19:48, 6 April 2008 (UTC)
 * Look at the CategoryTree extension.  mgrabovský  | talk  (DJ Jeri)  [[Image:Tournesol.png|25px]] MW Support Team  12:13, 10 April 2008 (UTC)

Email notification of every change
Is it possible to be notified via email whenever a page is added or edited? I'm the only administrator, but I'd like to be notified when anyone contributes/vandalises something.

--EchilonUser:Echilon 20:29, 1 April 2008 (UTC)  mgrabovský  | talk  (DJ Jeri)   MW Support Team  12:10, 10 April 2008 (UTC)
 * The only way I can think of is adding all pages to your watchlist and choosing to receive an e-mail when a page on your watchlist is edited in your preferences. --Erwin 22:42, 9 April 2008 (UTC)
 * Look at $wgUsersNotifiedOnAllChanges</tt>. So you can use:

Thanks Jeri, exactly what I needed. :)

--Echilon 14:57, 13 April 2008 (UTC)

Get localised time in signature datestamp?

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

* 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)

Policy on section title length?
I think succinct section titles are more appropriate than lengthy ones, so long as they accurately summarize the section, which is why I shortened a couple in the Expelled (film) article, but then someone reverted it, claiming "POV" edits. I looked all over the Namespace for a policy relating to section title lengths, but couldn't find out. Any ideas? 67.84.249.197 04:09, 20 April 2008 (UTC)


 * Is this question about MediaWiki (software) or Wikipedia (website)? If the latter, you should ask it on wikipedia.org itself, as you won't find answers here. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 13:18, 22 April 2008 (UTC)

(RESOLVED) No Superuser password!

 * MediaWiki: 1.12 Alpha
 * PHP: LAMPP 1.6.6
 * MySQL: LAMPP 1.6.6
 * URL: company intranet

Hello,

i had to take over the administration of a mediawiki. my probem is, the first administrator has forgotten the WikiSysop password. is there any chance to change it?

Audioslave

—Audioslave 12:11, 22 April 2008 (UTC)

Edit (23 April 2008):

Ok, i got it. Took me quite a while :)

$wgOut->redirect function dies

 * MediaWiki: 1.5.3 and 1.6.10
 * PHP: 4.3.2
 * MySQL: 4.1.12-standard-log
 * URL: (site is not publically available)

I have a mediawiki installation which has been working fine for several years. Suddenly, the system's internal redirects are no longer working. Thus,


 * 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)

(RESOLVED) Error while sorting ImageList

 * MediaWiki: 1.12.0
 * PHP: 5.2.5-0.dotdeb.0 (cgi-fcgi)
 * MySQL: 4.1.15-Debian_0.dotdeb.4-log
 * URL: Power Rangers Wiki

When i'm visiting Special:Imagelist and clicking on an column header to sort the imagelist, i get an error: Fatal error: Call to a member function getURL on a non-object in /pr/w/includes/SpecialImagelist.php on line 119. The error might be since one or two releases already. I'm using the images also on another local wiki on the server.

—Serpen 09:29, 27 April 2008 (UTC)
 * There was a problem with an imagename with + within, after deleting image names with + in the filename the error disappeared. --Serpen 10:02, 11 May 2008 (UTC)

Prevent annon users from editing any page EXCEPT talk pages

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.45-community
 * URL: http://en.codevwiki.org

I want to stop annon users from editing pages, simple enough I can do this:

$wgGroupPermissions['*'   ]['edit']             = false;

BUT I still want them to be able to edit talk pages.--71.217.200.78 23:43, 27 April 2008 (UTC)
 * See Extension:EditTalkRight. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 00:37, 28 April 2008 (UTC)
 * Ok I am using that extension and it's working but now I want to also allow them to edit Project:Help Desk as well. I asked the edit talk right extension author about this he had me email him then tried to sell me a custom extension for $20 when all thats needed is to modify the edit talk right extension to work if it's a talk page or this one specific page.  Not a PHP scriptor myself I am not sure but I know its quite simeple so I definatley am not goin to spend $20.  So if someone could tell me how to do this or perhaps point out an easier method to acomplish the same thing, that would be great, I am not against paying you for your work if you have to extend this extension but I do as that you charge a resonable amount.  Thanks for your time.--71.221.196.127 02:20, 20 May 2008 (UTC)
 * Try Extension:EditSubpages. Or you could probably edit the extension you have, as well. You could use it as a PHP learning experience. Either way. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 22:01, 20 May 2008 (UTC)

Making changes to LanguageGa.php

 * MediaWiki: 1.13alpha (r33926)
 * PHP: 5.2.5 (apache)
 * MySQL: 4.0.40-wikimedia-log
 * URL: Vicífhoclóir

Not sure if this is the right place to ask, but...I’m an admin at the Irish Wiktionary and I’ve been doing some translation over at Betawiki. I’m interested in making a small addition to LanguageGa.php so that we can handle nouns after numbers more idiomatically. Something along the lines I’m thinking of seems to have been done already in LanguageCy.php - counting in Welsh works in a similar way.

My question is do I have to download everything and become a fully fledged developer to achieve this or is there and easier way (I have plenty to do already!) —☸ Moilleadóir ☎ 05:12, 29 April 2008 (UTC)


 * Well downloading MW won't help you change wiktionary's copy of LacguageGa.php. You need to find someone with access to it or be awarded access it yourself.  Try bringing this issue up on the wikictionary site, I bet they have some sort of policy page, or check their irc channel (I would bet but do not know that they have one).  While you're not supposed to talk about Wikipedia or Wiktionary on this site, if this is a change that you think should be applied to all wikis, like it seems it is, there is probably a page on mediawiki.org to bring up this issue, if you can't find one then go to MW's irc channel. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 14:38, 29 April 2008 (UTC)

(RESOLVED) How can I get my wiki faster?

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.51
 * URL: DJs-ONLY-Wiki

Hello, if someone of you may take a look on my wiki, you'll see, that it takes a time until it loads complete. So, what can I do to get this faster? Thanks for your help. Best Regards. Mirko.

—91.3.107.148 10:13, 3 May 2008 (UTC)
 * See this link. Aaron 17:28, 3 May 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)

(RESOLVED) Edit Bar

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.45-community
 * URL: http://en.codevwiki.org

I want to figure out how to get the well i'll call it the edit bar, I've seen it on wikimedia projects and its on here, its a bar below the buttons like save, ect. It has a drop down menu, and depending on what is selected in the drop down menu you have several links, clicking on one adds something to the text you are editing, usually it will dedfault to showing some common templates, or some wikicode. I want to know how to get that on my wiki, is it an extension or is it only in the mediawiki version 1.13alpha (r34147) the wikimedia projects seem to be running?--71.217.196.15 14:00, 4 May 2008 (UTC)
 * Any idea's? This wiki has it too.  Right below the submit button.-71.221.196.127 22:56, 19 May 2008 (UTC)
 * You want to edit MediaWiki:Edittools after having installed Extension:CharInsert. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 01:09, 20 May 2008 (UTC)
 * Awesome, you are a big help, thanks.--71.221.196.127 02:43, 20 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)


 * 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)

(Mediawiki 1.12) How to use generator sitemap?

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * 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. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 18:56, 7 May 2008 (UTC)

search function with less than 4 letters

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

How can I use the search function with less than 4 letters like "ARM" or "1A" Is there a configuration file or what can I do?

Wrbrgds

Remo

—195.82.74.220 09:45, 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)

(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)

(RESOLVED) How I should modify MediaWiki engine to prevent HTML tags replacement?
—61.94.16.45 11:55, 10 May 2008 (UTC)


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

Hello! I use MediaWiki 1.12 (with MySQL) 5.1.23 and want to change it. I wish some pages don't clear from html tags, i. e.,. So I need to find the way how I can do it. I suppose that there is no way to do it without modification of mediawiki itself. In particular hooks seem to be useless. Is there anybody who can hint me where I should modify output of an article to prevent such replacement (for example): tag to "&_lt;form&_gt;" (symbol "_" is special)?

P. S. Sorry for my poor English. :)

—89.254.232.70 20:47, 11 May 2008 (UTC)

al_artem@mail.ru


 * Try $wgRawHTML. Read the warning on that page too, though. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 21:46, 11 May 2008 (UTC)

Thanks for your advice! But I wouldn't enable raw HTML for all pages. It should be done for a set of pages (articles) that are protected against editing. I shortly describe what I need.
 * 1) I have a link at my Main Page to the Special Page (article).
 * 2) At this Special Page should be placed some forms (i. e., ... ). I need to keep tags (and some others) only for this page.
 * 3) Some of these tags produce submit button that lead a user to creation of new article.

Thus, can you hint me a way I should go to solve my problem? At this moment I trend to use $wgRawHtml = true only for my Special Page. In such way I don't reduce mediawiki's security. Or maybe I should read about such things as API, extentions, hooks?


 * What exactly are you trying to do? Perhaps there is a built in way to do it without using html forms. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 20:57, 12 May 2008 (UTC)

Ok, I'll try to describe my problem in detail.
 * 1) There is a link to the Special Page at my Main Page.
 * 2) At the Special Page should be a form (at least it will contain a drop-down list). User will do its choice and press submit button.
 * 3) After this some additional actions will be implemented. A user will not notice them and will be redirected to a creation of a new article.

So, now I'm tending to the next solution.
 * 1) I examine two approach.
 * Using Simple Forms extention (or even $wgRawHtml = true) I'll create the Special Page with a required form.
 * Also I think about writing my own extention which will parse tags and use eval function for its content. In this way I hope that I'll be able to create my form dynamically. In other words I hope to use php code to retrieve data from some DB and fill elements of my form with it.


 * 1) By pressing submit button unknown.php script will be called.
 * 2) It will implement some additional actions and then will redirect a user to index.php script to create a new article.

''Should you advice me more rational method to solve my problem? Thanks for you help anyway! :)''


 * If you feel up to writing an extension that is what I reccomend. If this is just a single special page, however, you should make an extension that adds a special page, not an extension that adds a parser hook.  Good luck. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 13:52, 13 May 2008 (UTC)

Actually I need a set of special pages. Thus I should use an extension that adds a parser hook. Thanks once again!

What determines the change in the versions? What determines if the document goes from 1.0 to 1.1 or 1.0 to 2.0?
—192.85.50.1 21:00, 12 May 2008 (UTC)


 * Generally convention. Different types of documents may increment in different ways.  Is there some specific document or type of document you were wondering about? <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 00:35, 13 May 2008 (UTC)

Domain Transfer Question
Hi Harry,

I have a small technical question for you. I cannot seem to find any documentation on this topic, but perhaps you can point me in the right direction. I had mediawiki installed all normally. I had to change the url for whatever reasons. When i transferred the domain, all of the text stayed, but none of the images work. Not the uploaded images, not the logo etc.

What am I missing?

- User:BenParsons - 20:58, 12 May 2008


 * Hi Ben.
 * I've moved your question here, because that way you'll probably get a better answer.
 * Strange that both the uploaded images and the wiki logo would break. They're two different types of images.
 * So what was involved in the change? did you have to move files and database onto a new server? or did you just register a different domain name for your hosting?
 * What's the URL of your wiki? Can we take a look at it? Do any of the skin images load at all, e.g. do you see the grey book pages background?.
 * For uploaded images, you're presumably seeing a broken image error now, so right-click on this and go 'properties'. What is the 'Address (URL)' if the broken image? I wonder if that is still saying your old domain name.
 * —Harry Wood 15:28, 13 May 2008 (UTC)

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: '<editsection-bracket>'
 * 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)

(RESOLVED) How to change article Edit page?

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

Hi! I need a wise advice.

Situation
 * 1) I call index.php script in the following way:
 * index.php?title=New_Article&action=edit&add_param1=value1&add_param2=value2

add_param1 and add_param2 are certain parameters.
 * 1) I set a hook on ArticleInsertComplete or ArticleSaveComplete event. This one calls my_event_handler function as an event handler.
 * 2) User edits an article and press "Save page" button. Then I need to implement some actions using my_event_handler and values of add_param1 and add_param2 parameters. More precisely function my_event_handler uses these add_param1 and add_param2 parameters.

So this is my question and my problem

I need to pass through my additional parameters to index.php script which is called by pressing "Save Page" button.

What should I use to modify Edit page as I need? For example, I would change of "Save Page" button by adding next code into it: <input type="hidden" name="add_param1" value="value1"> <input type="hidden" name="add_param2" value="value2">

But I don't know how I can implement it. Now I'm experimenting with hooks and searching for an appropriate extension. Are there another ways to solve my task? Or maybe somebody with great experience can help me, show me the right way(s)?

''Please, hint me something. Thanks anyway!''

ANSWER

I've found one way in using EditPage::showEditForm:fields hook. So, I have no problem already.

—217.9.147.66 14:32, 15 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)

(RESOLVED) Search in Namespace Discussion

 * MediaWiki: 1.12
 * PHP: 5
 * MySQL: 5

Hi, I have installed my own Mediawiki and it works fine, but when I search it will by default not find something in Discussion Namespaces. How can I change the Option, to search also in other Namespaces by default, for example in Discussion?

—87.154.132.153 08:27, 18 May 2008 (UTC)
 * I have solved my Problem with this...

(RESOLVED) Special:UncategorizedImages

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

Hi,

Since a while I'm getting a warn when I'm trying to open Speciaal:NietGecategoriseerdeAfbeeldingen (in Dutch) Special:UncategorizedImages

What can I do to solve this problem?

Best regards, 86.88.44.213 14:24, 18 May 2008 (UTC)
 * It's already solved. Thanks. 86.88.44.213 14:10, 19 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:<Topic_Name>, 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. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 21:57, 20 May 2008 (UTC)

Can MediaWiki run on a Windows server and use Sequel as the database.

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

We have a hosting agreement that doesn't account for PHP and MYSQL applications. Can we have MediaWiki run without using PHP or MYSQL? Can it run in a Windows environment?

—Lin light 13:35, 20 May 2008 (UTC)


 * There are one or two SQLs you could use in place of MySQL, though MySQL is the probably the best-supported. You cannot to my knowledge use MW without PHP. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 22:05, 20 May 2008 (UTC)

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)

(RESOLVED) Renaming MediaWiki:Toc

 * MediaWiki: 1.11.2
 * PHP: 5.1.6 (apache2handler)
 * MySQL: 5.0.22
 * URL: http://sfbuilder.wiki-site.com/

Hello! I want to change the content of this system message which is naming the title row for the tables of contents, as far as I know, from (in German) „Inhaltsverzeichnis“ to „Inhalt / Navigationshilfe“. It works fine when doing this on my own 1.9.6 wiki, but on this 1.11.2 wiki it has no effect (see http://sfbuilder.wiki-site.com/index.php/Benutzer:JörgM/EDV/Gesamt_-_Test_1). Might it be overridden by the wiki-farm? Changing of some other system messages (common.js, common.css, sidebar) worked ...

—89.55.172.232 06:50, 27 May 2008 (UTC)


 * Works now. Seems to need a little bit more time to be executed on this wiki farm. -- 212.65.3.130 15:00, 5 June 2008 (UTC)

Math Funktion will not work

 * MediaWiki: 1.12
 * PHP: 5.2.0-8+etch11 (cgi-fcgi)
 * MySQL: 5.0.45-Dotdeb_0.dotdeb.1-log
 * URL: internal installation

Hi,

must i activate my Math funktion? If i put the code into my editfunktion i would not see the Mathfunktion i see the Code My code: $$U = \frac {P}{I}$$ works on Wikipedia!??! Whats wrong?

—91.17.101.237 14:52, 28 May 2008 (UTC)


 * See Manual:Math and subsequent pages. In short: You must enable TeX support on your wiki. Regards -- 89.55.190.92 07:54, 29 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)

How do I protect MediaWiki:Sitenotice
It seems strange, but as an admin with sysop powers, I cannot protect MediaWiki:Sitenotice from editing on neither of my two wikis, why? Odessaukrain 20:33, 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: Upload Multiple

 * 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 that will permit me to upload multiple files at one go, much like Photobucket does. This would be extremely useful!

Thanks! ~Sal

—Ravensun 12:38, 30 May 2008 (UTC)
 * You can try Extension:MultiUpload. <font color="#66A7CC">i <font color="#9966CC">Alex  14:23, 6 June 2008 (UTC)

Need to upgrade to 1.12 -- getting Parse error: syntax error, unexpected ':', expecting '(' in /homepages/5/d182076830/htdocs/theguildedage.net/wiki/maintenance/dumpBackup.php on line 59'''

''' when I try to run dumpBackup.php...

I am using 1.10.0...

—<font color="#007500">Ravensun

Correction:

Using PHP5, I am getting:

'''(uiserver):u41814739:~/theguildedage.net/wiki/maintenance > /usr/local/bin/php5 dumpBackup.php --current X-Powered-By: PHP/5.2.6 Content-type: text/html

DB connection error: Unknown error'''

Any ideas?

—<font color="#007500">Ravensun


 * Is upgrading not an option? If you upgrade, the extension will work and solve the problem, it seems. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 01:26, 13 June 2008 (UTC)

I did upgrade after posting this, and I tried the extension, but I am getting the following error:

Here's the line that is causing the error:

<font color="#FF0000">$wgOut->addWikiText( "left|thumb" );

And here is the error message:

<font color="#FF0000">Parse error: syntax error, unexpected '(', expecting '}' in /homepages/5/d182076830/htdocs/theguildedage.net/wiki/extensions/MultiUpload/SpecialMultipleUpload.php on line 474

I don't know php well enough to try and fix the thing myself!

I've emailed the developer, but I haven't heard back from him yet... help?

—<font color="#007500">Ravensun

FYI - heard back from the developer. Here is the fix:

<font color="#FF0000">$wgOut->addWikiText( "left|thumb" );

Thanks! -<font color="#007500">Ravensun

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)

phpBB and MW

 * MediaWiki: 1.12.0
 * PHP: 5.2.5-dev (cgi-fcgi)
 * MySQL: 4.1.22-community-nt
 * URL: www.riev.nl/wiki

Hi, Is it possible to combine my phpBB-userlist & their passwords with my wiki? Like people from my forum are able to login to the wiki, without creating a new account... Thanks. —98.16.158.41 19:27, 5 June 2008 (UTC)


 * See Extension:PHPBB/Users Integration. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 19:40, 5 June 2008 (UTC)

How can I edit the name of a page without changing the URL?

 * MediaWiki: 1.10.1
 * PHP: 5.2.3
 * MySQL: 5.0.27-community-nt

All is in the title, I need to change the head name of a page and keep the same URL as before. Is there any way to do it?

—FB 13:58, 6 June 2008 (UTC)


 * Could you just rename the page? It should create an automatic redirect, and if not can make one yourself.  Then the URL will lead to the page, though the page's url will be different. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 15:12, 6 June 2008 (UTC)
 * (Note to readers, discussion continues here. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 00:12, 9 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)

Searchengine

 * MediaWiki: 1.9.2
 * PHP: 5.1.6 (apache2handler)
 * MySQL: 5.0.22

Hello there, i have a question about the built in seach mechanism of mediawiki. I noticed that if a three character long string is typed into the search field the search is completely ignored. If the number of characters is increased it searches perfectly.

Is there a possible to decrease the number of "recognised" characters in the search mechanism?

Thanks a lot for your help!

Greetings,

Florian H.

—87.160.23.73 11:21, 8 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)

(RESOLVED) Javascript errors preventing Common.js from parsing

 * MediaWiki 1.11.0
 * PHP 5.1.4 (cgi-fcgi)
 * MySQL 4.1.20
 * URL http://wiki.xentax.com/index.php?title=Game_File_Format_Central

I have a scripting problem: I've tried copying several scripts from wikipedia:MediaWiki:Common.js, only to find that they don't work. IE complains of two script errors: 'wgBreakFrames' is undefined on line 55, and 'tooltipAccessKeyRegexp' is null or not an object on line 533. It may be worth noting that the wiki was originally installed with MediaWiki version 1.6.0 (IIRC), and was upgraded directly to 1.11.0. Any help? Dinoguy1000 20:31, 9 June 2008 (UTC)


 * It seems that this is caused by a "dirty" upgrade... I've not actually fixed it yet, but the problem is some old files left over from 1.6. — Dino guy  1000  18:30, 28 June 2008 (UTC)

(RESOLVED) MediaWiki:Common.js not working

 * MediaWiki: 1.12.0
 * PHP: 5.2.3
 * MySQL: 4.1.20-log
 * URL: Internal (not accessable from outside)

MediaWiki:Common.js is not working. We are using the Monobook skin and upgraded from 1.6.9 to 1.12.0 in order to get Mediawiki:Common.js and a bunch of other features. The way I'm testing it is with this code in the box on the Mediawiki:Common.js page:

-- addOnLoadHook(function { window.status = "Mind control! Mind control!'; }); --

But the window status bar never changes (well, to be clear, it says "Done" but I think that is Firefox loading the page). If can change the window.status text with JavaScript in my browser without issue. I also tried something like:

-- addOnLoadHook(function { alert('test'); }); --

But that isn't working either. I do see Common.css in the page headers and I also see this (in appropriate tags to load as JavaScript): -- /CORECT_PATH/?title=-&amp;action=raw&amp;smaxage=0&amp;gen=js&amp;useskin=monobook --

The wgUseSiteCss and wgUseSiteJs are both default (enabled). Do you have any suggestions? Thank you in advance for your time. --Cymen 16:20, 10 June 2008 (UTC)

—Cymen 16:20, 10 June 2008 (UTC)

SOLUTION: I kept getting Raw pages must be accessed through the primary script entry point. so I edited includes/RawPage.php and changed it to print out the values ($wgScript, $url -- it expects them to be the same) and it turned out that a secondary included file for our configuration mistakenly alterated the $wgScript path (removing index.php). With that corrected, Mediawiki:Common.css and Mediawiki:Common.js started working (and yes, a plain "alert(test!);" actually worked in MediaWiki:Common.js).

can't edit / redirected to base page

 * MediaWiki: (1.12.0)
 * PHP:
 * MySQL:
 * URL:

Whenever i try to edit a page, i'm redirected to my parent page. e.g.

www.danda-comics.co.uk/wiki/MainPage

edit

save changes

www.danda-comics.co.uk is loaded, and the mainPage is left exactly as it was. I'm fairly sure it has to do with some permissions. BUT just not sure which ones i should be touching.

[RESOLVED] as i was looking through some other stuff, i noticed a few things about uploading certain directories having no effect on the install etc, so i just re-uploaded the includes directory and it worked fine.

Similar note.

Is there a way to disable registration of new users?


 * Adding the following line to your wiki will disable the registration of new users:
 * --TheDevilOnLine 10:30, 12 June 2008 (UTC)
 * --TheDevilOnLine 10:30, 12 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'

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

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)

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

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

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)

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)

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

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

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. <ul class="env-check"> <li>PHP 5.2.4 installed</li> <li>Found database drivers for: MySQL</li> <li>PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title</tt>)</li> <li>Have XML / Latin1-UTF-8 conversion support.</li> <li>Session save path (/var/lib/php/session</tt>) appears to be valid.</li><li>PHP's memory_limit</tt> is 32M. </li> <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><li>Found GNU diff3: /usr/bin/diff3</tt>.</li><li>Found ImageMagick: /usr/bin/convert</tt>; image thumbnailing will be enabled if you enable uploads.</li> <li>Installation directory: /var/www/html/mediawiki-1.12.0</tt></li> <li>Script URI path: /mediawiki-1.12.0</tt></li> <li>Installing MediaWiki with php</tt> file extensions</li> <li style="font-weight: bold; color: green; font-size: 110%;">Environment checked. You can install MediaWiki.</li>

<li style="list-style-type: none; list-style-image: none; list-style-position: outside;"> Generating configuration file... </li> <li>Database type: MySQL</li> <li>Loading class: DatabaseMysql</li><li>Attempting to connect to database server as wikiuser...success.</li> <li>Connected to 5.0.45</li> <li>Database 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. <ul><li>Finished update checks.</li> <li style="list-style-type: none; list-style-image: none; list-style-position: outside;"> 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.

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:31, 27 June 2008 (UTC)

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)

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 gives an internal error when accessed through a proxy
* MediaWiki: 1.11.0 * PHP: 5.2.5-pl1-gentoo (cgi-fcgi) * MySQL: 4.1.22-log page)

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}

(RESOLVED - workaround developed) Sysop rights disappeared

 * MediaWiki: 1.11.0
 * PHP: 5.2.6 (cgi)
 * MySQL: 5.0.51a-community
 * URL: Forget the Franchise

I have suddenly lost my sysop privileges on my wiki. As well as that all my protected pages have now become unprotected. On my users page if I ask it to display all users, then after my username (wikisiak) it has (bureaucrat, sysop ). However, if I select the sysop group on the user list and ask it to display those users with sysop rights then no users are displayed.

I have looked in my users table and my id is 1 and then i looked in the user_groups table and ID 1 has both bureaucrat and sysop. Does anyone know what is happening here and how can i fix it so that I get sysop rights back and can once again protect some of my pages?

Any help is much appreciated. Cheers!


 * SOLUTION

I noticed that in the user list when it displayed my user name it would have spaces after the sysop and bureaucrat. I thought that this may cause issues so updated these fields in the user_groups table trimming the space off the field. However, the table now displayed: ug_user 1 and ug_group bureaucrat\0\0\0\0\0\0; sysop\0\0\0\0\0\0\0\0\0\0\0. I changed the field from a varbinary to a varchar and updated these field. I have now got my sysop right back. However, I also had to change the field types in the page_restiction tables from VARBINARY to VARCHAR in order to get page protection to work again.

I then had to do the same to img_minor_mime field in the image table to get my images to be displayed. Change the type to VARCHAR and then run - update images set img_minor_mime = trim(img_minor_mime)

If any experts read this then please let me know your thoughts on how this happened. Also if you think that this could cause issues further down the line then please let me know.

Cheers

—78.150.45.63 13:03, 4 July 2008 (UTC)

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)


 * 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: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)

(RESOLVED) Linking to Local Files
I run a personal wiki and would like to link to useful files on my computer. I have been using to open up pdf files, for example, but I've used it for other file types.

However, the MOST important things I want to link to are some of the Administrative Tools -- for example, services.msc. When I type The link shows, and the location it links to is correct, but nothing happens when I click on the link. Why does this happen, and is there any way I can overcome it by editing LocalSettings or something similar? Soonshort 04:58, 11 July 2008 (UTC)

Just an update, I still have not been able to get this working. I have tried the UNC extension and still no luck. Soonshort 05:52, 25 July 2008 (UTC)

Solution
For security reasons Firefox browser does not follow local links. Please check http://kb.mozillazine.org/Links_to_local_pages_don%27t_work

--83.171.172.159 14:36, 26 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?


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

—207.250.105.254 14:06, 25 July 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)

(RESOLVED) How to set right to edit for bureaucrats?
The options to prevent an article from being edited are "All", "Non registred users", "Sysops" only. How can I grant bureaucrats (including sysops) to edit a page? Thx :o) --Rob.
 * The simplest thing to do would just be to promote your bureaucrats to sysops too (by default, they can do this themselves anyway!). However, if you really want what you're asking, you can use $wgRestrictionLevels:


 * You might then need to edit MediaWiki:Protect-level-cratop to say something along the lines of "Bureaucrats and sysops only". —Emufarmers(T 09:49, 27 July 2008 (UTC)

Great! Thank you very much. I really don't understand, why this is not generally implemented, but anyway, this solution works perfectly. This should be documented in an appropriate place. Bye for now --Rob.

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)

Search doesn't work

 * MediaWiki: (last stable version!)
 * PHP: 5.1
 * MySQL: 5.0.51
 * URL: it's only for internal users sorry ^^

The Search don't work correctly! For example I search for AGB and he don't find the page. The word AGB is 4 or 5 times in the text, but it is not found. When I search for ÖBB it will be found. Where is the Problem?

—80.122.110.40 08:46, 29 July 2008 (UTC)


 * Adjust MySQL. —Emufarmers(T 08:21, 30 July 2008 (UTC)

Group permissions not being honored

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (cgi)
 * MySQL: 5.0.51a-community
 * URL: http://lostcoastgaming.com/wiki/index.php?title=Main_Page

The subject line says it all. Not only that, Mediawiki's parsing of the groups/permissions seems to be erratic. (And that, on the face of it, makes no sense -- I fully admit that.)


 * USERID 1 "bureaucrat" does not have Special:Userrights permission, even though this is the default (and has not been changed), Special:Userlist shows USERID 1 as having those privileges (and I looked at the database tables and both bureaucrat and sysop are clearly assigned.


 * No other user with 'bureaucrat' privileges has access to Special:Userrights either, even though they are a member of the 'bureaucrat' group.


 * I can force access to the Special:Userrights tables by opening up the system: $wgGroupPermissions['*']['userrights'] = true;. (And I can force editing access by opening up the system too.)


 * 'sysop' privileges are not being honored -- accept when they are; behavior seems erratic.


 * Other permissions settings are not being honored -- accept when they are; behavior seems erratic. According to my understanding of the below, I should be denying edit permissions to unknowns and to "user"; but then allowing a set of permissions, including edit permission, to users that are either 'emailconfirmed' or 'trusted user'. Unfortunately, that is not what is happening -- except when it does.

$wgGroupPermissions['*']['edit'] = false; #if you're not registered you can't edit $wgGroupPermissions['user']['edit'] = false; $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED; #put users with confirmed e-mail addresses in the group $wgImplicitGroups = array( 'emailconfirmed' ); #hide group from user list $wgGroupPermissions['emailconfirmed']['edit'] = true; #assign desired permissions to group $wgGroupPermissions['emailconfirmed']['createpage'] = true; $wgGroupPermissions['emailconfirmed']['createtalk'] = true; $wgGroupPermissions['emailconfirmed']['move'] = true; $wgGroupPermissions['trusted user']['edit'] = true; #manually promoted; a bit higher than emailconfirmed $wgGroupPermissions['trusted user']['createpage'] = true; $wgGroupPermissions['trusted user']['createtalk'] = true; $wgGroupPermissions['trusted user']['move'] = true; $wgGroupPermissions['trusted user']['delete'] = true;


 * Last night edit permissions worked as expected, though access to Special:Userrights was still flaky. This morning edit permission is denied to users listed in the Special:Userlist as members of either the 'emailconfirmed' or 'trusted user' groups (or both). Also, acknowledgment of 'sysop' status is being ignored. I tried to install the AWC forum, and even USERID 1 who is 'bureaucrat' and 'sysop' (obviously) is told he cannot install it because he's not a sysop.

So I am confused. DefaultSettings.php has not been touched, as per standard instructions. All changes have been made to LocalSettings.php. I have checked the contents of the database against what mediawiki tells me it's finding and have found no errors.

To my mind that leaves some kind installation error or a system error (bad bad bad since this is running on a drak.net server).

I hope you can clear this up, cuz right now the wiki cannot be opened up to users.

—Blackhawke 16:19, 3 August 2008 (UTC)

Is there a WORDCOUNT feature or extension available anywhere?
MediaWiki: 1.11.0; PHP: 5.2.6 (cgi-fcgi); MySQL: 5.0.45-community-log; URL: http://paleravens.com/

Is there a WORDCOUNT feature or extension available anywhere? Something that will, um, simply, tell me how many words are in any article?

—Töff 01:18, 4 August 2008 (UTC)


 * Has anybody tried this? ... http://www.dementedkitty.com/index.php/2007/11/24/mediawiki_word_count_tab ... I'mma try it. Worst that can happen, I destroy my wiki, right? --Töff 03:47, 4 August 2008 (UTC)


 * Holy crap, it works :) cool. --Töff 04:32, 4 August 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)


 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * 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:00, 6 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)

MediaWiki authentication by URL (GET method)

 * MediaWiki: 1.5.3
 * PHP: 5.0.4 (apache2handler)
 * MySQL: 4.1.13
 * URL:

Hi!

Because we want to use a crawler, which indicates the articles of our internal mediawiki, i have to find a way to login to our mediawiki by GET paramter (URL). Is this possible?

Thanks in advance.

best regards

Marc

—87.167.172.174 10:02, 6 August 2008 (UTC)


 * Use the API. You'll probably have to upgrade first. —Emufarmers(T 10:25, 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)

Is it possible to deny anonymous users to read (view) images of the wiki?
Is it possible to deny anonymous users to read (view) images of the wiki? How can I do that? Thanks, —217.190.243.64 08:37, 9 August 2008 (UTC)
 * With img_auth.php. Aaron 21:53, 9 August 2008 (UTC)
 * Well... is there an other way to protect the images? I dont have permission to edit the httpd.conf file to add the two aliases. :-( --217.190.240.191 08:03, 10 August 2008 (UTC)