Project:Support desk/Archives/System/001

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

(RESOLVED) 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? —The preceding unsigned comment was added by 212.184.19.70 (talk • contribs) 11:00, 11 January 2008. Please sign your posts with ~ !

(OUTDATED) LDAP Groups in Wiki

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

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)

(RESOLVED) 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 :) --IP


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

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

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

(RESOLVED) 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)
 * where "name-of-your-page" is changed to the name of the page to be linked. Smaug 21:47, 26 March 2008 (UTC)

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

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

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

(OUTDATED) Postedit Error

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


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

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

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

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

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

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

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

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

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

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

Thank you.

David

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


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

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

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

(RESOLVED) Edit pages

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

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

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


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

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

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

(OUTDATED) wgBreakFrames is undefined

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

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

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

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

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

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

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

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


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

(RESOLVED) Preventing Creation of New Pages in a single namespace

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

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?

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

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)

(OUTDATED) Customising the Search

 * MediaWiki: 1.11.0
 * PHP: 5.2.5-0.dotdeb.2 (apache2handler)
 * MySQL: 5.0.51-2-log
 * URL: sorry, not allowed to

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)

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

I have the same problem with the Hebrew language
In the Hebrew language, the search cannot find a thing. Only in English. --IP

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

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

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

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

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


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

—Anonymous


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


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

(OUTDATED) Conditional coding of LocalSettings.php

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

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

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

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

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

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


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

(RESOLVED) Check if logged in

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

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)

(RESOLVED) 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? <font color="#006500">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)

(OUTDATED) Notice: Warning: mkdir

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


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

Hallo at all,

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

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

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

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

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


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


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


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


 * It seems that owner of image directory (and/or files) is different than your's. Apache is running under www-data or nobody user and wants to write to image folder. Probably files are uploaded under your username, so try to "chmod 777 images" directory. Do you have shell access to the server? Try to compare username and group settings of image folder and images and directories inside. Don't change chmod 777 on GlobalFunctions.php, it's only script which is calling mkdir command, you MUST change permissions on destination of that mkdir command (I suppose that images directory).

78.99.224.18 11:31, 21 November 2008 (UTC)


 * had the same problem, but solved it using chmod 777 on GlobalFunctions.php no I still have the same problem--86.213.108.251 22:39, 9 November 2008 (UTC)

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

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

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

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

(OUTDATED) HTTP 404 Error

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


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

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

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

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

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


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

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

(OUTDATED) Media Wiki requires IIS restart daily

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

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.

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)

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

(OUTDATED) Get localised time in signature datestamp?

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

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

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

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

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


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

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

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

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

Problem with the search engine

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.3 (cgi-fcgi)
 * MySQL version: 5.0.24-community-nt
 * URL: not published yet

Hi there,

I have a small problem with the wiki search engine and I hope you can give me a hint how to solve it: If I include a template into one of my pages and search for a word which occurs in the template, then the page isn't shown in the results of my query. I think, the reason for it is, that the wiki search engine only searches in the source code of the pages. Over there you can of course only find the name of the template, but not its content.

1st question: is that right? 2nd question: which possibilities are there to solve the problem? Will it be solved if I update to MediaWiki 1.14.0? Or do I have to include something like the Google Custom Search Engine Extension

Thank you very much & have a nice day —Scboehm 07:19, 6 May 2009 (UTC)


 * To 1) Have a look at Help:Searching – so your thoughts seem to be right. -- JörgM 84.156.189.40 19:35, 6 May 2009 (UTC)

Display problem in Firefox

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL:

I run a small offline-wiki and now I have a display problem.

The pages have no styling. I mean the logo is gone, the sidebar is gone and only text is shown plus the search field. Additionaly all text is shown one below the other. This only happens in Firefox, in IE everything is correct.

This is my first wiki and I don't know much of php and such. I hope someone can help me.

—91.33.252.131 06:52, 11 May 2009 (UTC)

(SOLVED) Creating namespaces with special characters - Not showed correctly
Wiki info Detailed problem
 * MediaWiki version: 1.14.0
 * PHP version: 5.2.8 (cgi)
 * MySQL version: 4.1.22-max
 * URL: http://wikimanga.net
 * Wiki language: Spanish
 * Direct link to Version

I'm trying to create new namespaces, but I'm having some problems, the main reason it is the use of special characters like "´" typical on spanish language. I have tried to create namespaces without the special characters and then it ran okay. When you check the special search page, the special characters are replaced for � (attached image). I have not found any info related, any suggestion would be very appreciated.

I'm using the following code into the Localsettings.php

—Neoshinji 07:22, 11 May 2009 (UTC)


 * Encoding problem. I tried a little bit with Notepad++. Worked, when after opening the file I first changed format to utf-8, wrote the character(s) which are not ASCII, then changed format back to ANSI (gives something like A3 for an ó), saved and uploaded. There were then those ó and the German umlauts äöü shown correctly in FF1.5 using UTF-8. Worth a trial, I think. -- JörgM 84.156.133.190 19:57, 11 May 2009 (UTC)


 * Thank you very much JörgM. Now works fine :)
 * A sample vowels in ASCII encoding into php files.

--Neoshinji 00:34, 12 May 2009 (UTC)

Transport a wiki from one server to another one

 * MediaWiki version: 1.11
 * PHP version: 5.2
 * MySQL version: 5.0.45
 * URL:

Hey,

i want to transport my wiki from one server to another one.

I tried it in the following way:

I have installed the MediaWiki Software (same version) on the new server. Than i copied the old image folder into the new wiki. After that i exported the the database from the old MySql and imported it into the new MySql. Last but not least i wrote the same user entries from the old LocalSetting.php into the new one. Of course i fitted the entries for the database.

After that the new wiki works almost fine! But i have some weird problems! Some images are not shown in the articles. But not all of them. In some articles there are the images and in other ones there are no images! The same problem is with some content and links!

Do anyone know what the fault is? I have no idea! And the weird thing is that only some artciles are incomplete!

Is there maybe a better way to transport the wiki from one hardware to another one??

Thanks a lot!!

—80.171.131.17 19:09, 12 May 2009 (UTC)


 * Haven't done this yet, but Manual:Moving a wiki tells another order: First recreate the database and import the database backup, then upload the MediaWiki backup (or install a new copy of MW and upload the media and extension folders). -- JörgM 84.156.192.196 21:07, 12 May 2009 (UTC)

Password fail after upgrading 1.6.10 > 1.14.0

 * MediaWiki version: 1.14.0 and 1.6.10
 * PHP version: Php 5
 * MySQL version: 5.0.77
 * URL:

I'm upgrading directly from the 1.6.10 to 1.14.0. I unpack the script from the site. Erase LocalSettings.php. Everything works after commenting some extensions. But, here is the problem. When trying to log in as SuperUser, the password don't match. Ryan_Lane tryed to help me with IRC. I tryed : $wgPasswordSalt = false; But doesn't work either.

I'm wondering if you know where i can change this. I think the password could be crypt differently during the upgrades.

Kind Regards

—DjAngo23 17:52, 15 May 2009 (UTC)

Possible to unhook "Project" namespace and then use as custom?

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version: 5.0.66a

Hello,

We're using MediaWiki internally at our company and have changed the $wgSitename to be the name of our company ("Foo") instead of the default "Project". Now we'd like to be able to use the "Project" namespace as a custom namespace (to designate projects that we're working on), but something like "Project:Bar" is currently redirecting to "Foo:bar".

Is there a way we can unhook the "Project" namespace from being linked to our site name?

—142.9.1.100 20:21, 15 May 2009 (UTC)

I believe this is hardcoded into the software; if you really want to dig it out, you might start by looking at Language::fixUpSettings. Otherwise, you could just use the namespace "Projects". :) —Emufarmers(T 08:15, 16 May 2009 (UTC)

Email Notification with added/changes Message of the watch list

 * MediaWiki version: 1.13
 * PHP version: PHP 5.2.0 (with apache W2K Server)
 * MySQL version: MySQL 4.1
 * URL: INTRANET

Dear Folks,

is there any way to get a email notification for the watch list with information about what is changed on a site? Example: I have something like a "New Ticker" and if someone add some note I would like to have the Information in my email. Maybe with a limitation of the 100 characters?

Is that possible?

Thank you very much In advance

Remo

Date 27.05.2009 17:35


 * You need to make sure that the $wgEnotifWatchlist config setting is set to true on your wiki, then check the "receive email notification when a page I'm watching is edited" preference (not sure exactly what it's called) in your preferences. Happy ‑ melon 16:07, 27 May 2009 (UTC)

The problem is NOT to get a email, the problem is to get a email with the information what has been changed.

Example: Dear XXXX, The News Wiki page News Ticker has been changed on 07:29, 28 May 2009 by anonymous user. He insert following Information: "to day we have 50° and sonny weather, tomorrow starts raining".

That what I'm looking for. Any idea?

Remo Date 28.05.2009 09:47
 * Ah, I see. No, that functionality is not available, as far as I know. And it would be quite difficult to summarise complicated changes in that fashion (just adding a line is one thing, but what about when someone fixes a bunch of typos over the whole page?).  You could file a bug over at bugzilla, but I'm not sure there would be much interest in it. Happy ‑ melon 08:49, 28 May 2009 (UTC)

OK, thank you very much for helping. Remo

How do I manage a wiki account when the original admin leaves a company?

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

The company I work for has a wiki account set up and the original admin has left the company. I now am managing this and do not know how to login as admin and modify some of the confiugurations. The first task I have is to change the e-mail response address from the former employee's e-mail address to the company e-mail address. Any assistance will be appreciated.—Sfowlerad2 16:12, 28 May 2009 (UTC)

—Sfowlerad2 16:12, 28 May 2009 (UTC)


 * Do you have shell access? That is, many of the wiki's configuration settings are set in LocalSettings.php, a file on the server that hosts the MediaWiki installation. In order to be able to change configuration settings on the wiki, you need to be able to channge and update this file. Happy ‑ melon 16:36, 28 May 2009 (UTC)

Search not working. Only takes you to advanced search page.

 * MediaWiki version: mediawiki-1.14.0
 * PHP version: PHP 5.0.5
 * MySQL version: 4.1.14
 * URL: (Private Intranet Website)

If you enter a page name or partial name and click on "GO" or "Search" it does not search. It just takes you to the "Advanced Search" page.

Can anyone give any ideas as to what the problem can be?

—66.211.2.151 22:32, 4 June 2009 (UTC)

Optimize wiki for saving server capacity

 * MediaWiki version: 1.14.0rc1
 * PHP version: 5.2.6 (cgi)
 * MySQL version: 5.0.32-Debian_7etch8-log
 * URL: password protected...

Is there a way to save 	integrity of the server by "optimizing" the system? F.e.: Disable some functions, wich are not realley necessary? Greez

—85.4.68.161 16:38, 5 June 2009 (UTC)


 * There are many features that are configurable, and disabling almost any of them will provide an improvement in performance. Which features you consider "not really necessary" is largely dependent on your own priorities and the nature of the wiki you are running. Happy ‑ melon 17:51, 5 June 2009 (UTC)


 * This page is great^^ Exactly what I was looking for. Thx. --85.4.68.161 18:56, 5 June 2009 (UTC)

Addition signs ("+") do not work in page titles

 * MediaWiki version: 114
 * PHP version: 5
 * MySQL version: 5
 * URL: http://wikademia.org/C++

Addition signs ("+") do not work in page titles! Help, please. Thank you. : )

Wikademia


 * They're being eaten by your Apache rewrite rules. See Manual:$wgLegalTitleChars. Happy ‑ melon 21:27, 6 June 2009 (UTC)

Combining users of MediaWiki with SMF Forum

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.4
 * MySQL version: 4.1.21
 * URL: http://www.superstorm.net/wiki.php
 * Base-URL: http://wiki.superstorm.net/

Is it possible to use the same userdatabase of my SMF forum with the MediaWiki userdatabase? I'd like to set the SMF database as main, which uses SHA1 password encryption: sha1(strtolower($username) . $password) But then, in order to make my members able of just having to log in once to be logged in on both Forum and Wiki, I'd have to change the Wiki userdatabase and the password encryption used on the pages.

If you could tell me how and where to make those minor edits, I would be very pleased.

Thanks in advance, Tyilanmenyn

tyilanmenyn@superstorm.net

—77.163.53.241 08:39, 8 June 2009 (UTC)

Shortcuts definition such as WP => wikipedia. (not about interwiki)

 * MediaWiki version: 1.13.4

Hello. Where are mediawiki shortcuts define ?
 * 1) NOT in MediaWiki:Searchaliases. (this page is for MWsearch extension)
 * 2) NOT in interLinks, (this is for inter-wiki links ; not for internal shortcut.)

For example in en:wikipedia: where is it defined that [[WP:xxx ]] =>  [[Wikipedia:xxx ]] so that for example WP:About will not be a red link if Wikipedia:About exists. ? —almaghi 09:06, 4 June 2009 (UTC)
 * 1) REDIRECTxxx ? Greudin 09:57, 4 June 2009 (UTC)


 * They are set as namespace aliases. See Manual:$wgNamespaceAliases. Happy ‑ melon 15:09, 4 June 2009 (UTC)
 * Thx Happy-melon, didnt notice. Greudin 18:28, 4 June 2009 (UTC)
 * OK, thank you very much for helping. It was written on manual:Namespace but I needed to read it twice before viewing it... --almaghi 13:40, 9 June 2009 (UTC)

What is category id?

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

What is a category id? Is it an integer generated based on the category name?

—158.130.93.78 18:17, 16 June 2009 (UTC)


 * Every page, piece of text, user, event, revision, or other object is identified within the software not by its name, which can have many wierd-and-wonderful properties (and often doesn't make sense: what is the 'name' of a log event?), but by a number or 'id' which is assigned when the object is stored in the database. So every time a user saves an edit, a new revision is created (with an associated revision id), which links to the user themselves (identified by a user id), to the text of the revision (identified by a text id), which page the revision was made to (identified by a page id), and various other properties.
 * Categories are, as you note, identified by a category id. The category is the actual place where category links lead to, and the page on which the category listing is displayed.  That page may or may not exist: if it does, there will be an associated page with a separate page id that contains the introductory text, but nonexistent categories can still have a category id.  Thus any category that has a page categorised into it (or which has had members in the past) has an associated category id.  Hope this clarifies. Happy ‑ melon 12:44, 17 June 2009 (UTC)

Same article in all pages articles

 * MediaWiki version: 1.12
 * PHP version: PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli)
 * MySQL version: Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
 * URL: (Local Intranet)

I have installed mediawiki on debian lenny for my local intranet from apt-get install mediawiki mediawiki-math mediawiki-extensions and configured it, and work fine, them downloaded eswiki20090609-pages-articles.tar.gz and from command line run java -jar mwdumper.jar --format=sql:1.5 eswiki20090609-pages-articles.tar.gz | mysql -u root -p wikidb and all article are on my wikidb, them run RebuildTextindex.php, My problem is when i go to see any article or random page, in all page article in the top of the page are the same article (Carlos Iglecias) under the article that i desire to see, and when i loggin as wikisysop i see another article in the same place of all pages. I have make this many times, another way was downloading mediatikiXX.tar.gz uncompressing on my website directory and follows the install procedure, but the problem continues, i will make this with enwiki to see whats happens because i believe the problem is on the eswiki20090609-pages-articles.tar.gz, have downloaded another's pages-articles but the problem continue


 * To clarify: you go to any page on the wiki, and you see the same title for all articles ("Carlos Iglecias"), but the correct article text? When logged in, you see a different title, but still the correct texts?  Happy ‑ melon 14:28, 17 June 2009 (UTC)


 * Yes when i go to any page i see not only the same title for all aticles, including login form, search, all, i see the title and the text of that article (Carlos Iglecias) and under the correct text of article or login form, special page.., and when i logged as wikisysop i see different title but still the correct text, somes times  happens when i clic in a link this go to a page that no correspond to the link, for example, link in Mexico and go to mexico article page but i see tow articles in one, under the title Mexico i see the table with data(population, area ect..) of this country thas  correct but more under i see an article named  Street Fighter and at the end i see the other part of mexico article. in the mediawiki-l email list i read this problem is fix after run rebuildall.php script, by now i'm dumpling eswiki-pages-articles to another database with mediawiki-1.15 the proces no has finished, the first problem not show by now, but somes times happens to me the second problem , i'm waiting finished to see whats happend.

How to assign group to mass number of users?

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

How to assign group to mass number of users? Is there a script? Is there another way of doing it one-user-after-one-user? —almaghi 10:27, 18 June 2009 (UTC)
 * Is this something you need to do on a regular basis, or as a one-off fix? Happy ‑ melon 10:40, 18 June 2009 (UTC)
 * It is a one-off fix. (but I wish to capitalize about it to share ability of doing it, I think it would be useful to other users). --almaghi 12:48, 18 June 2009 (UTC)
 * Then I guess you want a maintenance script (if it can be done by a sysadmin) or a bot script if it has to be done by the users. I don't think such a script exists ATM; perhaps you should try writing one! Happy ‑ melon 12:56, 18 June 2009 (UTC)

a link to Special:UserRights/{username} in tollbox for bureaucrat
Hello. I'd like to add on UserPage a link in toolbox for Bureaucrat so that they can easily check or change userRights; how should I do?
 * Use an existing Extension:CustomSidebar?
 * write a javascript?
 * write an extension?
 * ...other ideas?

—almaghi 10:37, 18 June 2009 (UTC)


 * The simplest is probably JavaScript; just wrap an addPortletLink</tt> call in a check against the wgUserGroups</tt> array. Happy ‑ melon 10:40, 18 June 2009 (UTC)
 * Ok I try this, with examples from w:WP:WikiProject User scripts/Scripts/Compact Navigationw:WP:WikiProject_User_scripts/Scripts/User_tabs. If I manage to do it, I will put it on Javascript mediawiki manual.--almaghi 13:00, 18 June 2009 (UTC)

Should this script work or is there any error?

a 7lines Javascript working on Wikipedia but not on my wiki
I've tested this script in my monobook.js on wikipedia, it is working. But on my wiki it doesn't work. It is strange because javascript work on my wiki, for example HotCat.js and SubPages.js are well working. What could be wrong?

My wiki:
 * MediaWiki : 1.13.4
 * PHP :	5.1.6 (apache2handler)
 * MySQL :	5.0.22 --almaghi 14:32, 18 June 2009 (UTC)
 * edit: I put the script as a gadget and it does work as expected. Previously I added it to Special:MyPage/monobook.js and then it doesn't work? Any idea of what's wrong?? I missed something...--almaghi 14:56, 18 June 2009 (UTC)
 * Personal CSS and JS have to be enabled on wikis: see Manual:$wgAllowUserJs. Happy ‑ melon 15:28, 18 June 2009 (UTC)
 * Yeah OK... Thanks for this.
 * There's a strange stuff on my wiki: when I set it to true my wiki gets broken and serve a blank page. Yet another good idea to help me? ;) --almaghi 15:50, 18 June 2009 (UTC)

configuring $wgForeignFileRepos

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli)
 * MySQL version: 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
 * URL: (local Intranet)

Hello all i'm trying set $wgForeignFileRepos to see remotes images on my local wikipedia adding the follows lines to my LocalSettings.php: To CURL request:

$wgHTTPTimeout = 3000; $wgHTTPProxy = "http://myProxyIp:Port";

$wgForeignFileRepos[] = array(  'class'                   => 'ForeignAPIRepo',   'name'                    => 'shared',   'apibase'                 => 'http://commons.wikimedia.org/w/api.php',   'fetchDescription'        => false,    'descriptionCacheExpiry'  => 43200,    'apiThumbCacheExpiry'     => 43200, );;

but i don't see images in articles only show me an empty box in the  place of image and the rigth description, in debug log i see:


 * Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3ACommons-logo.svg&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata%7Cmime&prop=imageinfo&format=json&action=query

FileCache MISS for Commons-logo.svg Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3ACommons-logo.svg&iiprop=url&iiurlwidth=15&iiurlheight=-1&prop=imageinfo&format=json&action=query ForeignAPIRepo::getThumbUrl got remote thumb http://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/15px-Commons-logo.svg.png ForeignAPIRepo::getThumbUrlFromCache could not write to thumb path Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3AWikibooks-logo.svg&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata%7Cmime&prop=imageinfo&format=json&action=query FileCache MISS for Wikibooks-logo.svg Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3AWikibooks-logo.svg&iiprop=url&iiurlwidth=15&iiurlheight=-1&prop=imageinfo&format=json&action=query ForeignAPIRepo::getThumbUrl got remote thumb http://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/15px-Wikibooks-logo.svg.png ForeignAPIRepo::getThumbUrlFromCache could not write to thumb path)

I have enable uploads to my local wiki and the permissions over image directory are 777 by now my math formula are working fine. in images/tumb are many folders with image names but empty. whats more i need to complet this please?

--Enriluis 20:28, 19 June 2009 (UTC) —Enriluis 20:28, 19 June 2009 (UTC)

getThumbUrlFromCache could not write to thumb path
configuring $wgForeignFileRepos * MediaWiki version: 1.15.0 * PHP version: 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) * MySQL version: 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2 * URL: (local Intranet)

Hello all i'm trying set $wgForeignFileRepos to see remotes images on my local wikipedia adding the follows lines to my LocalSettings.php: To CURL request:

$wgHTTPTimeout = 3000; $wgHTTPProxy = "http://myProxyIp:Port";

$wgForeignFileRepos[] = array(

'class'                  => 'ForeignAPIRepo', 'name'                   => 'shared', 'apibase'                => 'http://commons.wikimedia.org/w/api.php', 'fetchDescription'       => false, 'descriptionCacheExpiry' => 43200, 'apiThumbCacheExpiry'    => 43200,

);;

but i don't see images in articles only show me an empty box in the place of image and the rigth description, in debug log i see:

Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image% 3ACommons-logo.svg&iiprop=timestamp%7Cuser%7Ccomment%7Curl% 7Csize%7Csha1%7Cmetadata% 7Cmime&prop=imageinfo&format=json&action=query

FileCache MISS for Commons-logo.svg Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image% 3ACommons-logo.svg&iiprop=url&iiurlwidth=15&iiurlheight=-1&prop=imageinfo&format=json&action=query ForeignAPIRepo::getThumbUrl got remote thumb http://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/15px-Commons-logo.svg.png ForeignAPIRepo::getThumbUrlFromCache could not write to thumb path Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3AWikibooks-logo.svg&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata%7Cmime&prop=imageinfo&format=json&action=query FileCache MISS for Wikibooks-logo.svg Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3AWikibooks-logo.svg&iiprop=url&iiurlwidth=15&iiurlheight=-1&prop=imageinfo&format=json&action=query ForeignAPIRepo::getThumbUrl got remote thumb http://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/15px-Wikibooks-logo.svg.png ForeignAPIRepo::getThumbUrlFromCache could not write to thumb path)

I have enable uploads to my local wiki and the permissions over image directory are 777 by now my math formula are working fine. in images/tumb are many folders with image names but empty. whats more i need to complet this please? --Enriluis 20:54, 19 June 2009 (UTC)

Troubleshooting

 * MW: 1.13.4

As I set this global parameter, my wiki gets broken, rendering a blank page. Any idea? --almaghi 14:13, 22 June 2009 (UTC)

Exporting a portal in mediawiki

 * MediaWiki version: 1.15.0
 * PHP version: 5.1.6
 * MySQL version: 5.0.45
 * URL: Not accessable

I have to take over the maintenance of a wiki powered by mediawiki. At the same time I have to move it to another server. The wiki contains two portals. At the new location it would be better to have two wikis instead of having two portals in one wiki. Is it possible to export the portals of the current wiki separately and to import them on the new server as two wikis?

—194.237.142.20 08:20, 24 June 2009 (UTC)

Google indexes page links with redirect=no

 * MediaWiki version: 1.12.0
 * PHP version: 5.1.6 (apache2handler)
 * MySQL version: 5.0.271.12.0
 * URL: http://www.cookipedia.co.uk/
 * The code for this wiki has been hacked around a bit but nothing (AFAIK) that would cause this behaviour.

Google indexes pages on this wiki that include "redirect=no" in the link so when the pages are followed from a search engine, the visitor sees a blank redirect page and is not redirected to the correct page.

As Google has already indexed 1000's of pages like this, ideally I would like to hack the core so "redirect=no" is ignored *unless* the referrer is from this wiki. A starting point for hackery would be gratefully recieved.

Example link —CookipediaChef 13:45, 7 July 2009 (UTC)


 * MediaWiki 	1.15.0
 * PHP 	5.1.6 (apache2handler)
 * MySQL 	5.0.45
 * URL: INTERNAL

When searching for a word MakeShare, I created a page, it looks great.

when I searched/go makeshare it wanted me to create another page. Is it possible to make case sensitive words not matter? So when I search makeshre, it directs me to the page with MakeShare?

Removing extra line on article save

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

Does anyone know if there is a way to avoid MediaWiki automatically inserting an extra line at the end of an article upon saving? Specifically, I am trying to figure out a way to remove the "     " that is being spawned onto a page which includes a template which contains no actual text, only a category.

—Bsmithme 03:32, 11 July 2009 (UTC)

Radius authentication not working after upgrading
Hello,
 * MediaWiki version: 1.15.0
 * PHP version: 5.0.4
 * MySQL version: 4.1.12
 * URL:

I've created a test environment which is a copy of our production environment. The starting point is mediawiki 1.4.5, same versions of php and mysql. I did an inplace upgrade of mediawiki per the online upgrade instructions. All in all, everything worked pretty smoothly. I had to upgrade libxm2 to 2.6, but outside of that, the only thing that appears to no longer function is our custom authentication.

In the old world, we had things setup to authenticate users against our radius server. This no longer appears to work. To do this in version 1.4.5 we made changes to

LocalSettings.php by adding the following at the end:

$wgRemotePasswordCheck = true; $wgRemotePasswordServer = "localhost"; $wgRemotePasswordPort = 80;

User.php by commenting out the existing checkPassword function and adding: function checkPassword( $password ) {			global $wgRemotePasswordCheck, $wgRemotePasswordServer, $wgRemotePasswordPort; $this->loadFromDatabase; $ep = $this->encryptPassword( $password );

if ( $wgRemotePasswordCheck ) { $lower = strtolower( $this->mName ); $credentials = $lower. ":" . $password; $out = "GET /security/index.htm HTTP/1.1\r\n"; $out .= "Host: $wgRemotePasswordServer\r\n"; $out .= "Authorization: Basic " .base64_encode($credentials). "\r\n\r\n"; $fp = fsockopen( $wgRemotePasswordServer, $wgRemotePasswordPort, $errno, $errstr, 30 ); if( !$fp ) { echo "$errstr ($errno) "; } else { fwrite( $fp, $out ); $test = fgets( $fp, 128); fclose( $fp ); }			  if( 0 == strcmp( $test, "HTTP/1.1 200 OK\r\n" ) ) { {					return true; }				}			}		}

AuthPlugin.php

change autocreate and UserExists to true

SpecialUserLogin.php comment out the processLogin if (0 == $u->getID block and add:

If (0 == $u->getID ) {			$u = & $this->init_user ($u);                  /* and add this line */ }

Can someone clue me in on what has changed? (Looks like SpecialUserLogin.php isn't used anymore).

Does someone have the procedure for enabling radius authentication in version 1.15.0? Any help would be appreciated.

Thanks, -Erik erik.watts@ecitele.com

—63.94.127.33 16:55, 13 July 2009 (UTC)

system messages - wikitext or html
The page MediaWiki:Badaccess-group0 doesn't render wikitext neither html....

What should be done to add a link to it?!

—almaghi 14:41, 24 July 2009 (UTC)

Automatic login script

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.9
 * MySQL version: 5.1.33
 * URL: http://r99kmjnr8.device.mst.edu:8500/aepi/wiki

Is there a way i can write a custom login script to automaticly login users when they login to our site? We have a Coldfusion login script that I would like to also redirect to php script that queries the users mediawiki credentials from one of our databases and uses it to login to our mediawiki.

Any help is greatly appriciated

Thanks, Kevin

—131.151.129.81 00:21, 28 July 2009 (UTC)

How do I edit the body tag?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.81

I'd like to edit the HTML body tag to add an onload value for a bit of javascript. I've looked in the OuputPage.php file, but I can't see an easy way. Can someone help me? thanks in advance.

—Weirdy12 11:28, 27 July 2009 (UTC)


 * The structure of the outputted page is defined by the skin templates, in the /skins folder. However, if you want to load JavaScript, you can call $wgOut->addScript( 'path_to_script' )</tt> to load an extra JS file.  Or you can just set $wgUseSiteJs</tt> and put the script in MediaWiki:Common.js on your wiki. Which is probably much easier than editing the output page. Happy ‑ melon 16:57, 27 July 2009 (UTC)


 * Thanks! I've tried the Common.js method, but I can't get it to load as it runs before the output is finished. Where would I call $wgOut->addScript( 'path_to_script' )</tt>?

--Weirdy12 11:57, 29 July 2009 (UTC)

non-standard port redirection bug

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.51b-community
 * URL: http://taras.dlinkddns.com:8888/

My provider blocks the 80 port and I have to use non-standard one(for example 8888). I configured Apache and MediaWiki and all works fine exept fast search. When the name of the existing article is written into the search line, MediaWiki automatically redirects to this article, but the port number is losing. For example, writing "cуп" or "Суп" in the search line, redirection goes to http://taras.dlinkddns.com/wiki/Cуп (The article with this name exists). But I need redirection like http://taras.dlinkddns.com:8888/wiki/Cуп. And when I am writing in browser link http://taras.dlinkddns.com:8888/wiki/cуп (in word "cуп" the first letter is in the lowercase but the article name starts with the uppercase), redirection is also http://taras.dlinkddns.com/wiki/Cуп. All works fine in all other cases. Help me please with this trouble.

—77.122.36.5 00:42, 29 July 2009 (UTC) Taras, Ukraine, Kyiv

What has replaced mediawiki:Copyrightwarning in 1.16?
We had customized the copyrightwarning on our site. Since the 1.16 update, we see a different message under the edit box. Could someone tell me what is the new mediawiki page that is being called here? Thanks! Shushruth 13:27, 18 July 2009 (UTC)
 * MediaWiki: 1.16alpha-wmf (r53410)
 * PHP: 5.2.4-2ubuntu5wm1 (apache2handler)
 * MySQL: 4.0.40-wikimedia-log
 * URL: kn.wikipedia.org


 * That's for Licensing update. See here how to translate. That particular message was moved to Wikimedia-copyrightwarning. Please use  to translate it. --Nemo bis 01:21, 1 August 2009 (UTC)

Expression Engine

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

We use expression engine - can we download WordPress on our site?

—167.154.46.98 21:18, 29 July 2009 (UTC) Janet Geary Nevada Magazine jmgeary@nevadamagazine.com

User order on enhanced recentchanges
See Help_talk:Tracking_changes. I can't understand if there's a logical order or there's a bug. Thank you, Nemo bis 01:16, 1 August 2009 (UTC)

Duplicating links because second or later words not Capitalized

 * MediaWiki version: 1.15.1
 * PHP version: 5.1.6. apache2handler
 * MySQL version: 5.0.45
 * URL:

(By default at least) MediaWiki cannot tell that Star Formation and Star formation are the same thing. I could not find a hook or any other easy way to have it capitalize every word or otherwise solve this issue. As it stands, I am getting problems with users duplicating pages that already exist and broken links. Is there a work around for this issue? -- Thanks

James Wadsley —130.113.172.122 14:27, 29 July 2009 (UTC)


 * Standard way is to make the uncapitalised version a redirect to the capitalised version, or to which every one is the "standard" for the wiki. -- Dr DBW |  talk  04:03, 5 August 2009 (UTC)

Thanks for the reply. Yes, we have been doing this but it seems like wasted effort when it should be easy to generate the redirect in software rather than having people go through the hassle of manually creating a redirect. I was wondering if a hook was available that could do this. In practice, it would be equivalent to stripping the case from all wikiwords. -- James --130.113.172.122 18:28, 10 August 2009 (UTC)

Removing Main Page from "Special:Uncategorized" pages

 * MediaWiki version: All
 * PHP version:
 * MySQL version:
 * URL: http://ml.wikipedia.org/

Hello, I am Shiju Alex (http://ml.wikipedia.org/wiki/User:Shijualex) from "Malayalam wikipedia" (http://ml.wikipedia.org).

We have a peculiar problem with the "Main Page" (പ്രധാന താള്‍) in Malayalam wikies. Currently the "Main Page" (പ്രധാന താള്‍) is listed in "Special:Uncategorized" (http://ml.wikipedia.org/wiki/Special:UncategorizedPages) pages. Can some one tell us how to remove it from the list of Special:Uncategorized page?

—Shijualex 05:57, 1 August 2009 (UTC)


 * Well, add a category. :-) You can also use a hidden category, adding __HIDDENCAT__ to the category page. --Nemo bis 09:22, 1 August 2009 (UTC)

But I have a query. Is this is the way Main Page is removed from Special:UncategorizedPages from all media wiki wikies? I am not able to locate any hidden category on the English Wikipedia Main page. Kindly advice--Shijualex 12:58, 1 August 2009 (UTC)


 * Currently en: has Hidden categories: Articles containing Japanese language text | Articles containing Chinese language text. --Nemo bis 09:05, 2 August 2009 (UTC)

Thank you for the support. --Shijualex 10:49, 2 August 2009 (UTC)

Hide history
Hi, is it possible to completely hide all of the history pages for 'normal users'? If so, how can I do that? Thanks in advance. —84.31.241.145 01:07, 7 August 2009 (UTC)
 * I'm not quite exactly sure what you mean. You could flag a user as a bot, and then their contributions will not show up in the recent-changes. Dr. Eme
 * I would like to hide for all normal users and guests all old versions, so you cannot look to previous versions, changes, et cetera. So, is it possible to show for those users only the 'regular pages'? -84.31.241.145 22:33, 15 August 2009 (UTC)

HTTP 500 Error when edit/create pages

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4
 * MySQL version: 5.0.51
 * URL: intranet

Hi,

I logged in as registered user or Admin and tried to edit the pages. I ONLY can edit "Main Page" without any problem, but I keep receiving the "HTTP 500 internal server error" when I edit, create, or visit any other pages.

The folowing pages which I get HTTP 500 error when I click "edit" or "create": MediaWiki:Sidebar, Community_Portal, Current_events, Help:Contents

Also, I get HTTP 500 error as well when I visit Special:SpecialPages

We highly appriciate with your helps,

Thanks in advance,

Natalie

—65.219.237.54 14:12, 9 August 2009 (UTC)


 * MediaWiki version: Mediawiki1.6.7
 * PHP version: PHP5.1.4 (apache2handler),
 * MySQL version: MySQL4.1.19-standard
 * URL: Internal system within organisation

I need to know if we can disable "discussion" tab on each page. As per the legal & compliance we can not allow users for back and forth conversations. Please assist.

Thanks, Gaurav

—192.223.243.6 22:52, 12 August 2009 (UTC) Gaurav

No Rights to Unlock Mainpage? [RESOLVED]
I secured my Main Page, but now it is not possible to unlock it. It says I don't have the rights, so contact... MYSELF! Tried to log out, made another account bureaucrat, tried to let that account change that page, but same problem. What do I have to do to unlock it? —84.31.241.145 01:46, 16 August 2009 (UTC)
 * MediaWiki version: 1.12.0
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 4.1.22-community-nt
 * URL: www.sintforum.nl/wiki

Autoblock - disable?
—66.93.197.185 22:01, 19 August 2009 (UTC)


 * MediaWiki version: 1.6.10
 * PHP version: 5
 * MySQL version:
 * URL: comp.missouri.edu/wiki/

I cannot find an answer to this problem. I am making accounts manually for the wiki, and each account gets autoblocked when the new user tries to login. The user confirms the account via an email sent by the wiki, but the wiki then autoblocks. I unblock the user, but the next time the user tries to login, she is autoblocked again. How can I disable the autoblock feature?

jeff —128.206.44.134 19:35, 20 August 2009 (UTC)

Need more information on Special:Listusers page

 * MediaWiki version: 1.12.0
 * PHP version: 5.1.3RC4-dev (cgi-fcgi)
 * MySQL version: 5.0.83
 * URL:

Hello,

I use the Special:Listusers page to know all the accounts created on my wiki, but it doesn't show anything else than the account name and the status (admin, sysop, etc...).

How can I have mors information like date of creation ?

Thank you by advance, I haven't found the answer yet on the internet...

—Le squal 14:44, 23 August 2009 (UTC)

User groups stopped working

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.81-community-log
 * URL: http://developer.newsgator.com/wiki/

The wiki has been up and running fine for quite a while now. Recently something changed, and all users are acting like "unprivileged" users - I can't see any of the admin special pages, create/delete regular pages, etc. This affects all users, including sysops. When I look at users in the user list they still show their group memberships. So it seems that users are still in groups, but for some reason they aren't getting the permissions they should have.

There had been no configuration changes for almost a year prior to this problem appearing, and this was verified by the file timestamps. There are a limited number of sysops - I have talked to them and all say they haven't touched anything. I also looked in the database and the user and user_group tables look fine to my untrained eye.

I've poked around the help sections here and elsewhere, but haven't had any luck. Any help would be appreciated.

—38.97.237.188 22:06, 17 August 2009 (UTC)
 * Special:Listusers lists no privilegied users (no Editor, Sysop or Bureaucrat). You will need to re-add these group manually in the database before being able to edit the wiki again. <font color="#66A7CC">i <font color="#9966CC">Alex  22:22, 17 August 2009 (UTC)

- Thanks for looking Alex. I see what you mean. However, if you look up a specific user (eg, breischl) it shows the groups. I also looked at the database table user_groups, and it has what look like reasonable values. Here are a few example rows from that table:

ug_user	ug_group 1	bureaucrat 11	bureaucrat 12	editor 1	sysop 2	sysop

So it seems like the groups are there, but they're somehow messed up. Is there something else I need to do to fix the groups? Thanks again for your help.

-38.97.237.188 15:15, 18 August 2009 (UTC)


 * Trim the names. Looks like they have trailing spaces:

ug_user	ug_group 1	'bureaucrat     ' 11	'bureaucrat     ' 12	'editor         ' 1	'sysop         ' 2	'sysop         ' as opposed to ug_user	ug_group 1	'bureaucrat' 11	'bureaucrat' 12	'editor' 1	'sysop' 2	'sysop'
 * Platonides 15:25, 18 August 2009 (UTC)

- You're right that they're padded out, but I think that's because the column is a varbinary(16). I tried updating the rows to remove the spaces, but then they end up null-padded. ug_user	ug_group 1	bureaucrat\0\0\0\0\0\0 1	sysop\0\0\0\0\0\0\0\0\0\0\0

They don't seem to work right that way either - I still have no rights, and the user list shows no users. I tried modifying the LocalSettings.php file to force a reload, but that didn't seem to do anything. I'll leave the groups null-padded for now in case that changes something I don't know to look at. Thanks for your help.

-38.97.237.188 16:00, 18 August 2009 (UTC)

Well, I got this fixed. I dug up an old backup of the database and restored the user and user_groups tables from that. The SQL in the backup doesn't look any different than some SQL I had already run, but for some reason it worked as a restore.

Thanks all for your help!

-38.97.237.188 15:32, 25 August 2009 (UTC)

Remove Donations message at top left (above tabs)

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.3 (cgi-fcgi)
 * MySQL version: 5.0.24-community-nt
 * URL: private

Since upgrading to 1.15.1, I notice that logged out users see a rotating message at the top of the page, above the tabs, requesting donations to Wikipedia. E.g. "Wikipedia is sustained by people like you. Please donate today."

In addition to the upgrade, I have recently installed the extension NewestPages (but disabling the extension doesn't appear to remove the message).

I have searched at length, and have ascertained that this is NOT the MediaWiki:Anonnotice message (which appears below the tabs). But, as a new MediaWiki admin, I'm at a loss - please can someone point me in the right direction to remove or modify this message.

Thanks!

Funny, I have the same wiki version and I do not have this issue. Maybe you installed an extention which is doing this? By uninstalling extentions, the easiest way to do so is by removing the line(s) of code listed in the LocalSettings.php in the root of your wiki's source. This line of code, if removed, will not point your wiki to the extention and therefore should go away. If such extention does not go away, I would suggest you maybe consider the idea that such extention did not have the effect on such areas of the wiki you are assuming to have affected the wiki post installing the extention. Mdkcheatz

—203.58.179.34 03:03, 24 August 2009 (UTC)

NEED MORE USER PERMISSIONS!!!

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (cgi)
 * MySQL version: 5.0.81-community
 * URL: Cannot distribute, Sorry.

Hi, I have started an all gamers wiki and research website based on your Mediawiki engine. I have noticed that you have not put a lot of effort into adding more user group permissions. One matter that really will help is by having a permission that will allow guests to free add/submit articles at will, but that such additions/edits MUST BE approved PRIOR to the article becoming global.

This will help with not only my own wiki, but pretty much every wiki that is born. You must understand that staff, especially in the gaming scene, is greatly unavilable, and vandelism exceeds even that of wikipedia. This will be a change to consider for whichever version you are currently working on (verson 1.16.1).

Please keep in mind that the GroupPermissions Management extention and DocApproval are NOT what I am looking for.

Thank you for your help. :)

Mdkcheatz—72.255.48.170 22:38, 24 August 2009 (UTC)


 * Extension:FlaggedRevs —Emufarmers(T 22:58, 24 August 2009 (UTC)

How to edit Site:About or Site:FAQ
I have installed a new empty Wiki using instructions for Win2003. As I start to do some initial setup and customization, I can't figure out how to edit the About Page, FAQ Page, or any page that is in the category of my named site (e.g. my site is named Site, How do I edit http://machinename/index.php?title=Site:About ) Thanks in advance, —205.175.240.252 17:44, 27 August 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9-1 (cgi-fcgi)
 * MySQL version: 5.0.24-community-nt
 * URL: - behind a firewall
 * I must be missing something here, but why can't you simple click on the edit link at the top of the page of that title? Or if the page doesn't exist, and you follow a link to that page, you will be given an editing page. -- Dr DBW  |  talk  05:36, 31 August 2009 (UTC)

Although flaggedrev and docapproval are good extentions, that wasn't what I had in mind. Note how I need articles approved PRIOR to globally viewable. Sep 1st 2009

Update - when I click on the About page link I simply get a 404 - Page not found. I would also expect to get an editing page like I do if I create a link in one of the main pages and follow it... I'm lost. Thanks!

Editing the history output page

 * MediaWiki version: 1.15.1
 * PHP version: 5
 * MySQL version: 4.1
 * URL: Local development copy

Hello, I am working on creating a new History pattern for my wiki. I am editing the history result page which comes after choosing history versions. I would like to know how to edit that data. So if someone could help me on letting me know which file should i edit to get this done.

I would be very greatful. Thanks.

—Prasath 13:49, 2 September 2009 (UTC)

How to block creation of namespaces or delete them ?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.3 (apache2handler)
 * MySQL version: 4.1.22-community
 * URL: ? (intranet)

Hy, sorry for my bad english, I'm french guy :/

Sorry if the subject already exists, my search yielded nothing. I use the wiki for a short time, and the creation of namespaces is not blocked by default, how block that ? Then, how to delete a namespace?

Thank you in advance for your help!

—80.118.24.35 14:40, 3 September 2009 (UTC)

Blank screen in Firefox and error in IE

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4
 * MySQL version: 5.0.45
 * URL: http://wiki.allthingsroyal.net/

At the moment I have the problem of blank white screen in Firefox and an error in IE when I do the following:


 * template (called sjabloon at my wiki) Beginnetje and template afkomstig van Wikipedia give the mentioned problem.
 * when I edit an article and add the template tag, after hitting the submit button.
 * sometimes when I create a new article with a lot of text.

I also get sometimes this error:

Er is een syntaxisfout in het databaseverzoek opgetreden. Mogelijk zit er een fout in de software. Het laatste verzoek aan de database was:

(SQL-zoekopdracht verborgen)

vanuit de functie “Article::insertOn”. MySQL gaf de foutmelding “1205: Lock wait timeout exceeded; try restarting transaction (localhost)”.

(it means there was a syntaxiserror and there probably is an error in the software. The error was the 1205 lock wait timeout exceeded-error)

To make it weirder:


 * when I get the blank screen in Firefox, hitting F5 for a few times helps in some occassions.
 * I never had the SQL-error before, but a month ago I did have the blank screen error (before that I experienced no errors). After a few days everything was normal again until this week.
 * It seems a bit related with spammers, yesterday a spammer went on a small editing spree and the problem started one or two days before. This was also the case last time. Could it be they are sending a lot of requests? Yesterday my whole wiki wouldn't load (although my other subdomains and the main domain did load. Only my wiki was terribly, terribly slow)

I upgraded in june or july from the 1.13 branch to 1.15.1. It went without a problem, and after that I also upgraded my extensions. I don't think it is related, but you never know...

I suspect it is serversided (memorylimit or something, but that is already upped to 32m via .htaccess), but on the other hand,: on a other subdomain I run Wordpress and no errors there. Anyone an idea on what it could be?

—Sophies choice 15:31, 4 September 2009 (UTC)

error at login after 64bit upgrade and localsettings.php is not created anymore

 * MediaWiki version: 1.15.1 previous 1.14
 * PHP version: 5.2.9
 * MySQL version: 5.0.45
 * URL: http://www.ra-sc.at/wiki/index.php?

ERRORS: login error after 64bit update of the server to solve this error i tried to install version 1.15 - and there localsettings.php isn't even created.

detail information:

I have some problems with my mediawiki

Actuall i had version 1.14 and it was running fine till the server was upgraded to a 64bit machine. Since that update i got serious errors that php5 isn't supported on php5.

to overcome this issues my server provider added the following lines to the .htaccess file

Action php /cgi-php52/php AddHandler php52 .php AddHandler php52 .php5

After this change wiki was working again, but i couldn't login anymore. When i tried to login i always get the message "... user doesn't exit"

Then i tried to reinstall wiki version 1.15, i backuped the database and deleted all wiki files and copied the 1.15 files on the server.

But the localsettings.php file is not created

MediaWiki 1.15.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.9 installed Found database drivers for: MySQL SQLite PHP server API is cgi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/tmp) appears to be valid. PHP's memory_limit is 64M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. Found GNU diff3: /usr/bin/diff3. Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. Found GD graphics library built-in. Installation directory: /home/www/web346/html/wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Generating configuration file...

—80.121.201.70 12:04, 8 September 2009 (UTC)

(RESOLVED) Mediawiki keeps logging me out
I have having a major issue with my Mediawiki logging me out after going to a different page after logging in. -This is NOT a cookies issue - I have cleared all cookies and I have tried this on 3 different browsers and two different computers. -It works fine when I use a different internet connection (I am on satellite internet), however sites like Mediawiki.org and Wikipedia.org do NOT cause this problem while I'm using my current connection. Do they have some kind of special setting? -It is not a PHP sessions problem - I have checked with my web host and now even switched web hosts just to verify this is not the case. I also have a InvisionBoard set up on this same site and it is not having any trouble staying logged in. —Qscott86 00:17, 10 September 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.81
 * URL: http://www.umheadquarters.com


 * The problem is that HughesNet has a proxy which prefetches the logout link. -- Tim Starling 05:26, 6 October 2009 (UTC)

(RESOLVED) Page look-and-feel (and login status) differs by page & user after upgrade from 1.12 to 1.15.1
We recently upgraded our intranet wiki from 1.12 to 1.15.1, to get access to collapsible tables (with a little customization). However, the look-and-feel of pages varies. Most pages for me look "better" ie. what I presume is the latest theme. Whereas, some pages look decidedly less artful - and they also display the "Log In" link - whereas I am shown as logged in on the "better" pages. A page can look different depending on who the logged-in person is, but the view seems consistent for a given user & page. Unsure whether the correct look-and-feel is only for pages I have recently modified, but I could mount an argument. Browsers used are Firefox & IE (later versions). I know nothing about the use of skins. Installed extensions: ParserFunctions (version 1.2.0); SyntaxHighlight Any help would be greatly appreciated. —203.8.33.195 08:12, 7 September 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.3 (isapi)
 * MySQL version: 5.0.24-community-nt
 * URL: (intranet wiki)

Problem was apparently due to the browser's cookie handling. Logging out, then logging in again, seems to have fixed the problem. —203.8.33.195 00:23, 16 September 2009 (UTC)

Load Issues on server

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.8 (cgi-fcgi)
 * MySQL version: 5.1.30
 * URL: http://poketeca.com

My hosting says that my installation is causing load issues on the server. They recommend me asking here for assistance in improving the performance of my wiki. The hosting tells me abaout Caching but, what more can I do?

—87.221.133.156 20:02, 11 September 2009 (UTC)


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

Hi!

I find how you can move a text and create redirects but I want an automatic redirect. How do I do so that everytime someone searches for "Cbetting" they will get to "Cbet" ?

—83.233.131.131 19:56, 17 September 2009 (UTC)


 * MediaWiki version: 1.15.1
 * PHP version: 5.3.0
 * MySQL version: 5.1.37
 * URL: stopphei.zapto.org/wiki

How can I only use "wiki/(etc)" instead of "wiki/index.php/(etc)" when someone use my wiki?

—82.116.83.55 15:57, 24 September 2009 (UTC)

a page doesn't exist

 * MediaWiki version: 1.15.1
 * PHP version: 5.3
 * MySQL version: 5.1
 * URL: intranet

I'm working for a EDF, and we will install a wiki. Our server is a ZendServer, and php was exectuted in CGI mode. We just install it, and when I click on Help so this URL : http://my-adresse.fr/wiki/index.php/Help:Accueil I have and error message because the page doesn't exist.

But with this URL : http://my-adresse.fr/wiki/index.php/Category:Toto It works...

So I don't know why. Do you have a answer??

—Olivier.riche 15:17, 28 September 2009 (UTC)

Do you have apache on zendserver or is it proprietary? If its proprietary I suggest you load Windows Server 2008 R2, or 2008 Standard...I could probably get you a key too if you need one...if you get my hint. If you really like an old windows server version or linux, well than, you could get dumb iis 6 or stupid linux, and run apache on that. But anyways, we need to see the redirection rule. --Pwgus 14:31, 14 October 2009 (UTC)

Issue with searching (1.14)

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9 (isapi)
 * MySQL version: 5.1.32-community-nt
 * OS: Windows 2003 Server
 * URL: Intranet

When searching for articles that have a "." in them, they do not show in the title search.

For example, we search for the words "UNIX EXECUTE". We have an article titled "UNIX.EXECUTE", but it does not show up in the search results (it is a short page, and the words UNIX EXECUTE aren't on the actual page).

Now, I have a copy of our wiki running MediaWiki 1.13.0, PHP 5.2.9, MySQL 5.0.67-community-nt and this search works fine (it brings up, in the title search, UNIX.EXECUTE).

Digging in a bit more, I've determined that the SearchIndex tables look a little bit differently in their data (though their structure is identical).

In 1.14: si_title = "unixu82eexecute"

In 1.13: si_title = "unix execute"

I was able to track down that it appears that changes to the languages.php add the u82e, but I can't figure out how it would work for others and not for us.

--Clayton Boucher 18:27, 9 October 2009 (UTC)

Antivirus Setup Issue (1.16alpha usually latest revision)

 * MediaWiki version: 1.16alpha (r57681)
 * PHP version: 5.2.11 (cgi-fcgi)
 * MySQL version: 5.1.39-community
 * URL: festiva.bntbtc.com

I'm trying to setup ClamAVWin with Windows Server 2008 R2, I can get it to successfully scan on the command line like so:

C:\Users\Administrator>"C:\Program Files (x86)\ClamWin\bin\clamscan.exe" --database=c:\avdb --no-summary c:\forefrontinstall.log c:\forefrontinstall.log: OK C:\Users\Administrator>

and heres my setup in localsettings.php, based on the default one for clamav:

$wgAntivirus = "ClamAV"; $wgAntivirusRequired = true; $wgAntivirusSetup = array(    #setup for clamav     'ClamAV' => array ( 'command' => "C:/Program Files (x86)/ClamWin/bin/clamscan.exe --database=C:\avdb --no-summary ", 'codemap'=> array (            "0"=>  AV_NO_VIRUS, #no virus             "1"=>  AV_VIRUS_FOUND, #virus found             "52"=> AV_SCAN_ABORTED, #unsupported file format (probably immune)             "*"=>  AV_SCAN_FAILED, #else scan failed         ), 'messagepattern'=> '/.*?:(.*)/sim', ),     #setup for f-prot     'f-prot' => array ( 'command' => "f-prot ", 'codemap'=> array (            "0"=> AV_NO_VIRUS, #no virus             "3"=> AV_VIRUS_FOUND, #virus found             "6"=> AV_VIRUS_FOUND, #virus found             "*"=> AV_SCAN_FAILED, #else scan failed         ), 'messagepattern'=> '/.*?Infection:(.*)$/m', ), );
 * 1) Setup clam antivirus

yet I contiunue to get errors!! it still says my files are infected after I submit the file to be uploaded, with a return code of 1:

Upload warning The file contains a virus! Details: 1

Ideas?? Help?? Please!! I'm thinking maybe I need to add a variable on the end of the command string to specify the file, but I can't seem to figure it out. And yes I realize MediaWiki is not officialy supported by Windows, but Windows is by far my strong point, and I hate Linux, as I have just never had good luck with it. Also, if you need further PHP config background information, try http://php.bntbtc.com, which should display a PHP test page

—Pwgus 21:34, 13 October 2009 (UTC)

hiding an added sidebar portlet from logged out

 * MediaWiki 1.15.1
 * PHP 5.2.6-3ubuntu4.2 (apache2handler)
 * MySQL 5.0.75-0ubuntu10.2
 * URL:

I have a "For Editors" portlet added to MediaWiki:Sidebar

For Editors
 * Recent Changes
 * To be Fixed...

I would like to hide this to logged out but not the <p-navigation> portlet above it.

In monobook.php I'm already hiding two divs from logged out thus:

<?php if(!$this->data['loggedin']) { ?> .editsection { display: none; } .editornote { display: none; } <?php } ?>

I have tried to do what I want by adding the line


 * 1) p-editors .portlet {display: none;}

but it does not do the trick.

Have I got the wrong syntax or should I try and add the for editors box some other way as a custom box to make it easier to hide? Thanks

—Zacknuts 05:37, 15 October 2009 (UTC)

Simultaneous edit handling

 * MediaWiki version: 1.15.1
 * PHP version: 5.3.0
 * MySQL version: 5.1.36
 * URL: Intranet

How are multiple concurrent edits to the same page handled?

Suppose I have a page dedicated to reports that many users may be simultaneously editing. Will the wiki handle their edits without loss of any information?

—Ilnolen 19:46, 16 October 2009 (UTC)

Hide / Show content for specific users or anonymous users (via permissions)

 * MediaWiki version: newest
 * PHP version: newest
 * MySQL version: newest
 * URL: -

Is it possible to hide specific content for some people? Only who have high privileges can read specific content?

—86.81.6.117 16:15, 15 October 2009 (UTC)


 * Have you tried the Blacklist-Extension? It allows to create a namespace and make it visible to users of a certain group only. -- Achimbode 15:15, 19 October 2009 (UTC)

Manual:$wgDefaultLanguageVariant - variant or full code?
Solved by trial and error, Manual:$wgDefaultLanguageVariant improved.

—G.Hagedorn 21:52, 22 October 2009 (UTC)

Navigating to a page and then pressing back during an edit loses edit

 * MediaWiki version: 1.15.1
 * PHP version: 5.3.0
 * MySQL version: 5.1.37
 * URL: N/A (localhost)

I'm using XAMPP 1.7.2 When I'm editing an article and then navigate to an new page and afterwards press back the content that I edited reverts to the version before the edit. Also when pressing back after pressing Show preview I get a session timeout error.

This doesn't happen on the official English Wikipedia.

Can you help me fix this?

—79.179.55.171 11:24, 27 October 2009 (UTC)

More than 200 articles in Category View
I have two questions for MediaWiki Technician: I ask because it specifically at the use of a categorytree would be clearer for my applications. Where there is a parameter, which can arise from eg 200 to 1000? Best wishes: --80.120.157.197 11:56, 4 November 2009 (UTC) (GT1976 from Austria - ) —80.120.157.197 12:03, 4 November 2009 (UTC)
 * 1) Is it possible to view the Wikipedia categories for more than 200 articles in a category on one page without going to the next 200?
 * 2) Is it possible to display a self MediaWiki operated more than 200 articles in a category?

Problem with saving Sites with Tables

 * MediaWiki version: 1.15.1
 * PHP version: 5.1.6
 * MySQL version: 5.0.45
 * URL: internal URL (not available for external users)

Hi,

i have a problem with saving tables in Mediawiki. When i set up a site with a table inside it will go up to 2 minutes when try to save changes. But if i set up the checkbox "Nur Kleinigkeiten wurden geändert" the changes will be saved in less than 5 seconds.

We are using the Prettytables in our Mediawiki.

There are no error messages in the logfiles. This problem is after we have updated our system to the new Version 1.15.1

Is there any way to solve this problem? Thank you in advance

Best regards Dirk

—85.115.15.134 11:32, 5 November 2009 (UTC)

Final Section Heading
Blah, blah, blah —216.199.48.59 15:58, 6 November 2009 (UTC)

creating a personal wiki

 * MediaWiki version: 1.15.1
 * PHP version: 5
 * MySQL version: 5
 * URL: 2dotnet.co.cc/wikien/

What should i do in order to allow users to create a personal wiki (i mean somthig like the service given by www.wiki-site.com) ?

Thanks ahead.

awad_nayif@yahoo.com

—79.182.33.106 16:35, 14 November 2009 (UTC)

Wiki intermittently slow to load

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10 (cgi-fcgi)
 * MySQL version: 5.0.51a-24+lenny2
 * URL: http://www.actscoutaction.org.au/wiki/

G'day guys,

I have installed MediaWiki 1.15.1 and am finding that it is intermittently very (very) slow - often working fine, but othertimes taking up to three minutes to load a simple page.

My ISP has pointed me to its status page so I can see what versions of 'stuff' they are running - it is at http://www.netregistry.com.au/support/kb/questions.php?questionid=59 which shows that they are running Zend Accelerator.

I'm guessing I need to modify my LocalSettings.php to tell it to use Zend - any clues what I might add/change?

Any other tips greatly appreciated

—Isanders 20:39, 16 November 2009 (UTC)

Permissions not working correctly

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9-1 (cgi-fcgi)
 * MySQL version: 5.0.24-community-nt
 * URL: Behind Firewall

I am having issues with users (including sysops) not beign able to edit, upload files, etc, when the $wgGroupPermissions['*'][value] = false. For instance, I want anonymous users to NOT be able to edit pages, but when I change the ['edit'] to FALSE, no one can edit pages. I have looked in the admin guides and forums and have not been able to find an answer as to why this is happening. Below is what I have for permissions set in my LocalSettings.php

$wgAddGroups['sysop'] = array( 'bot' ); $wgRemoveGroups['sysop'] = array( 'bot'); $wgGroupPermissions['sysop']['userrights'] = true; $wgGroupPermissions = array( 'sysop' ); $wgGroupPermissions['sysop']['passwordresetself'] = true; $wgGroupPermissions['sysop']['passwordreset'] = true; $wgGroupPermissions['sysop']['move'] = true; $wgGroupPermissions['sysop']['read'] = true; $wgGroupPermissions['sysop']['edit'] = true; $wgGroupPermissions['sysop']['viewedittab'] = true; $wgGroupPermissions['sysop']['createpage'] = true; $wgGroupPermissions['sysop']['createtalk'] = true; $wgGroupPermissions['sysop']['userrights'] = true; $wgGroupPermissions['sysop']['noratelimit'] = true; $wgGroupPermissions['sysop']['block'] = true; $wgGroupPermissions['sysop']['createaccount'] = true; $wgGroupPermissions['sysop']['delete'] = true; $wgGroupPermissions['sysop']['bigdelete'] = true; $wgGroupPermissions['sysop']['deletedhistory'] = true; $wgGroupPermissions['sysop']['undelete'] = true; $wgGroupPermissions['sysop']['editinterface'] = true; $wgGroupPermissions['sysop']['editusercssjs'] = true; $wgGroupPermissions['sysop']['import'] = true; $wgGroupPermissions['sysop']['importupload'] = true; $wgGroupPermissions['sysop']['move'] = true; $wgGroupPermissions['sysop']['patrol'] = true; $wgGroupPermissions['sysop']['autopatrol'] = true; $wgGroupPermissions['sysop']['protect'] = true; $wgGroupPermissions['sysop']['proxyunbannable'] = true; $wgGroupPermissions['sysop']['rollback'] = true; $wgGroupPermissions['sysop']['trackback'] = true; $wgGroupPermissions['sysop']['upload'] = true; $wgGroupPermissions['sysop']['reupload'] = true; $wgGroupPermissions['sysop']['reupload-shared'] = true; $wgGroupPermissions['sysop']['unwatchedpages'] = true; $wgGroupPermissions['sysop']['autoconfirmed'] = true; $wgGroupPermissions['sysop']['upload_by_url'] = true; $wgGroupPermissions['sysop']['ipblock-exempt'] = true; $wgGroupPermissions['sysop']['blockemail'] = true; $wgGroupPermissions['sysop']['markbotedits'] = true; $wgGroupPermissions['sysop']['suppressredirect'] = true; $wgGroupPermissions['sysop']['apihighlimits'] = true; $wgGroupPermissions['sysop']['browsearchive'] = true; $wgGroupPermissions['sysop']['deleterevision'] = true; $wgGroupPermissions = array( 'user' ); $wgGroupPermissions['user']['read'] = true; $wgGroupPermissions['user']['createpage'] = true; $wgGroupPermissions['user']['createtalk'] = true; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['user']['viewedittab'] = true; $wgGroupPermissions['user']['upload'] = true; $wgGroupPermissions = array( '*' ); $wgGroupPermissions['*']['createaccount'] = true; $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['edit'] = true; $wgGroupPermissions['*']['createpage'] = true; $wgGroupPermissions['*']['createtalk'] = true; $wgGroupPermissions['*']['upload'] = true; $wgGroupPermissions['*']['viewedittab'] = true;

—Rob Presley


 * You're repeatedly overwriting your variable:

$wgGroupPermissions = array( 'sysop' ); ... $wgGroupPermissions = array( 'user' ); ... $wgGroupPermissions = array( '*' );
 * Max Semenik 07:52, 21 November 2009 (UTC)

How to show search hits but hide page content?

 * MediaWiki version:  	1.15.1
 * PHP version: 2.5.6
 * MySQL version: 5.0.67
 * URL:

Is there any way to display search hits to a page but hide the page content from unregistered users?

Bruce—130.76.32.181 23:23, 20 November 2009 (UTC)

TOC bookmark URLs

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6-3ubuntu4.2 (apache2handler)
 * MySQL version: 5.0.75-0ubuntu10.2
 * URL: http://www.spacetimeresearch.com/wiki/

We have installed MediaWiki in a sub folder of our website /wiki. LocalSettings.php has been modified to ensure that /wiki is setup as the $wgScriptPath. All the links to different wiki entries etc are working as expected, however Table of Contents URLs are linking to /index.php#bookmarkname rather than /wikki/index.php?title=Page_Name.

Is there some setting that needs to be set to ensure that this is working correctly?

Thanks

—202.124.118.98 01:39, 26 November 2009 (UTC)

Problem Loading Page

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.77
 * URL: http://www.familiesteinborn.de/wiki/index.php

When I click on "impressum", "Über SteinbornWiki" and "Datenschutz" Links at the bottom of the Mainpage and on all the other pages on the left menu the requested pages will shortly appear and afterwards a 404 error "the page could not be found" appears! Why? And how could this be solved?

—Max Semenik 11:26, 3 December 2009 (UTC)

Zero-length results given back for some pages only when returned with gzip content encoding.

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.10-2ubuntu6.3
 * MySQL version: 5.1.37-1ubuntu5
 * URL: intranet

Certain pages are returning zero length only when returned with content encoding.

For example, the following wget produces expected results. See "Content-Length" in the response. Everything is fine. $ wget -O history.html http://192.168.1.90/mediawiki/index.php?title=Main_Page\&action=history -d

---request begin--- GET /mediawiki/index.php?title=Main_Page&action=history HTTP/1.0 User-Agent: Wget/1.11.4 Accept: */* Host: 192.168.1.90 Connection: Keep-Alive ---request end---

---response begin--- HTTP/1.1 200 OK Date: Thu, 03 Dec 2009 19:04:37 GMT Server: Apache/2.2.12 (Ubuntu) X-Powered-By: PHP/5.2.10-2ubuntu6.3 Content-language: en Vary: Accept-Encoding,Cookie X-Vary-Options: Accept-Encoding;list-contains=gzip,Cookie;string-contains=wikidbToken;string-contains=wikidbLoggedOut;string-contains=wikidb_session Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: private, must-revalidate, max-age=0 Last-Modified: Thu, 03 Dec 2009 18:45:12 GMT Content-Length: 14152 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 ---response end---

Now, try that again with 'Accept-Encoding: gzip', and the result is zero bytes! See Content-Length below.

$ wget -O history-90.html.gz http://192.168.1.90/mediawiki/index.php?title=Main_Page\&action=history -d --header='Accept-Encoding: gzip'

---request begin--- GET /mediawiki/index.php?title=Main_Page&action=history HTTP/1.0 User-Agent: Wget/1.11.4 Accept: */* Host: 192.168.1.90 Connection: Keep-Alive Accept-Encoding: gzip ---request end---

---response begin--- HTTP/1.1 200 OK Date: Thu, 03 Dec 2009 19:06:44 GMT Server: Apache/2.2.12 (Ubuntu) X-Powered-By: PHP/5.2.10-2ubuntu6.3 Content-language: en Vary: Accept-Encoding,Cookie X-Vary-Options: Accept-Encoding;list-contains=gzip,Cookie;string-contains=wikidbToken;string-contains=wikidbLoggedOut;string-contains=wikidb_session Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: private, must-revalidate, max-age=0 Last-Modified: Thu, 03 Dec 2009 18:45:12 GMT Content-Encoding: gzip Content-Length: 0 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 ---response end---

This is not a wget-specific problem. Same results with Opera, Safari, and curl. This happens to some pages and not others. All 'history' and 'edit' pages have this behaviour. Some "Special:" pages have it, others work fine.

I have also set up a brand new server with ONLY MediaWiki (and pre-req's, of course), and still this behaviour persists for me.

Unfortunately, it means I cannot use MediaWiki on this server, because I can't go around and tell all my regular web clients to disable "Accept-Encoding" headers.

Thanks so much for any help you can provide!

—Jc000 19:13, 3 December 2009 (UTC)

(Resolved) Search results displaying raw HTML code?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11
 * MySQL version: 5.0.81
 * URL: (Disclosed)

I have decided to convert all of my HTML pages for my internal work website into a Wiki page. I have added the $wgRawHtml = true; in the LocalSettings.php file so it would be an easy transition.

What I ran into when searching, was that when it displays a result, it does show the correct page, but instead of a clean 'description', it shows the raw HTML from that page, or table, containing the string that I searched for.

It seems like the search function isn't wanting to use the raw HTML as easily as the pages. Is there a fix for that?

Here's a little screen shot of what I'm talking about since I can't provide the URL since it's in the intranet. Click here

--24.154.0.21 16:39, 8 December 2009 (UTC) Cory


 * MediaWiki version: latest from November 2009
 * PHP version:
 * MySQL version:
 * URL:

I keep on wondering on one tiny thing I'm getting totally confused with: if I've successfully installed the wikimedia system on my server and if I've already written a few articles - is there any option/menu to see some kind of "table of contents" of my wiki? some kind of article-overview about stuff that has already been written? Some kind of summary where readers can easily pick out their favoured articles?

I'm aware of the fact that there are some extension flying around that generate article lists but isn't there any already built in system within the mediawiki basic installation - or is it just me who hasn't found the option yet, even if it is right before my eyes...

So, I hope you can help me a bit, Greetings from Austria,

Stefan (novalis_@gmx.net)

—88.117.121.169 20:16, 9 December 2009 (UTC)


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

MediaWiki 1.15.1 PHP 5.2.10 (apache2handler) MySQL 5.0.51a-3ubuntu5.4 Os - Ubuntu 9.10 (on VMWare workstation).

My problem is - I can not save changes in "my preferences". When I enter some changes (real name for example) and then click "save", page reloads and all changes are discarded. No changes appear in mysql database - I checked it. I don't receive any error messages (I tried to turn error_reporting (E_ALL)). I tried from various computers and browsers - the same problem, so I suppose It is not client-side issue.

All other functions works fine. I can create users, create and edit pages and so. Only edit user preferences doesn't work.

—92.243.174.132 13:55, 15 December 2009 (UTC)

action=raw gives an error

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.9
 * MySQL version: 5.0.77
 * URL: http://www.mansonwiki.com/

Hi, I've recently switched from using an addon domain (siteground, cpanel) to using a parked domain for my wiki. By using the right mod_rewrite rules I managed to let everything work exactly as before, simply by rewriting all traffic incoming to the domain to the proper subfolder. In that folder there is a wiki install (in /w/, as usual) and of course the mod_rewrite rules that come with it, including for short urls.

As stated, everything works as before, with one exception: action=raw gives an error, saying it can only be accessed through the primary script entry point. This means some of my custom css doesn't load. I don't get what I've done wrong, how can a mod_rewrite break something internal like a parameter to index.php? The exact url that's requested: http://www.mansonwiki.com/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000 (and 3 others)

—Litso 11:06, 18 December 2009 (UTC)
 * It's a known issue, and looks like it has been fixed for some time. If upgrade to 1.15.1 doesn't help, please reopen that bug. Max Semenik 11:21, 18 December 2009 (UTC)


 * Ah, bummer, I'll have to try and upgrade. Thanks :) Litso 11:28, 18 December 2009 (UTC)

NS Name appears in category titles in MW 1.16a
MediaWiki 1.16alpha PHP 5.2.11 (cgi-fcgi) MySQL 5.0.67-userstats-log

On a page listing categories, the categories appears with "Category:" in front of the category name, such as:


 * Category:Beverages


 * Category:Beef Dishes

I can't find anything to indicate that this is the way MW 1.16a is designed to work, and I can't find anything to configure the category namespace name so that it doesn't appear. I looked at and experimented with Sort, but I think I understand correctly that Sort has nothing to do with our issue. This behavior is very difficult to describe in words, so please see the Recipes category page on our wiki and see how the subcategories (in this case) are set out.

I can't imagine when this redundancy could be helpful or wanted. In any event, where is this new behavior coming from? And how can I configure our wiki so that the category namespace name "Category:" does not appear in front of each category name on a category page? (Did I say that right -- lol?) THANK you! Brian7632416 17:47, 25 December 2009 (UTC)
 * I expect the reason this has not been noticed is that Wikimedia uses the CategoryTree extension, which alters the appearance of the subcategory links. You might like to try installing that extension on your wiki.  Happy ‑ melon 18:51, 26 December 2009 (UTC)

Oddity with test wiki on Apache

 * MediaWiki version: SVN build
 * PHP version: 5.28
 * MySQL version:
 * URL: http://IPaddress

I just installed MediaWiki and it works well, but for some reason, when I edit, it does not display my IP in page histories, only 192.168.1.1, why is this? —82.42.145.228 01:06, 27 December 2009 (UTC)

Includes without { {Templates:*}}

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10 (apache2handler)
 * MySQL version: 5.0.81-community
 * URL: Sorry it's password protected: http://dorf4.max-greive.de

I want to ask you how it is possible to include a normal page (!not a template) in any site like done in http://www.mediawiki.org/w/index.php?title=Project:Support_desk&action=edit. In my wiki if I'm using  the Interpreter makes  out of it. (Vorlage == Template  It's a german wiki)

If the heading is bad (as i think) please change it.

Sorry for my bad english but it's really difficult for me to describe such problem in english. :(

PS.: I've recognized that this wiki does the same with my question. If I wrote it shows

--87.245.29.51 12:02, 2 January 2010 (UTC)


 * I think basically you just add a : before the page name, like this: . -kotra 08:58, 3 January 2010 (UTC)


 * As Kotra pointed out, simply prefix the page you want to include with it's namespace. If you wanted to transclude Beans from mainspace you'd use -> . The help page goes over this. OverlordQ 12:44, 3 January 2010 (UTC)

(RESOLVED) Text editor for admins and guests are different...(admin one is worse)

 * MediaWiki version: 1.15.1 (latest at this time)
 * PHP version: 5.2.11
 * MySQL version: 5.0.85-community
 * URL: http://www.grindsquad.co.cc/fablesolace/wiki/

Hi, for some strange reason, when I'm logged in as the administrator, the article editor is not like the one when you don't log in (the one with the bar on top with B, I, etc. Also, the box for the textediting is very small, maybe 4 rows I think.

Is there some option I need to turn on?

Thanks -Tony, pro.4.life@live.com

—71.141.99.93 03:31, 11 January 2010 (UTC)

I fixed it, i just went to preferences -> edit

Adding page title illegal characters
How does one add additional illegal characters for page titles to the default ones? I wish to make "&" and "+" illegal due to the "Ampersand problem" (the non-.htaccess fix [I can't access .htaccess] at Manual:Short URL/Ampersand solution didn't work for me).
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: http://portlandwiki.org

I've fiddled around with Manual:$wgLegalTitleChars, but it appears only capable of adding legal characters, not illegal characters.

Thanks for any help! -kotra 08:53, 3 January 2010 (UTC)
 * Just copy $wgLegalTitleChars into LocalSettings and remove the ones you want to make illegal. Mr.Z-man 04:14, 11 January 2010 (UTC)


 * Sorry about the slow response, and thanks for your help. I did actually try this, and it didn't work, as alluded to above. I think the problem with $wgLegalTitleChars is that it only allows you to legalize chars that are in the default "illegal" list. The "default value" in the documentation page appears to be misleading, since removing characters from the list doesn't make them illegal (at least, not in my test). -kotra 03:22, 18 January 2010 (UTC)

Disable right-click

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.77
 * URL (Local Server)

Hello, I want to disable the right-click in my mediawiki, but I don´t find a way to disable it. Because the wiki is in our Intranet my boss ask me to disable it. Can yomebody tell me how I can make it?

—91.52.137.227 13:43, 12 January 2010 (UTC)
 * Scripts to disable right clicks can be found all over the web, which you could place in MediaWiki:Common.js. I can't think of any situation where that would be a good idea though. What is the purpose of this? Preventing people from viewing the page source? People can easily get around those limitations, and the MediaWiki software provides a page where they can view the wikitext as well. Meanwhile, it will annoy people who may have legitimate reasons to right-click the page. Not worth the hassle. If someone's using the source of your organization's web pages for nefarious purposes, that should be dealt with by the appropriate people in your organization. Reach Out to the Truth 16:03, 12 January 2010 (UTC)


 * You can try it with the following code in the MediaWiki:Common.js
 * function click
 * if (event.button==2)
 * alert('Pustekuchen!')
 * }
 * }
 * document.onmousedown=click
 * When somebody use the right mouse button, then he will get an alert with the text "Pustekuchen".
 * document.onmousedown=click
 * When somebody use the right mouse button, then he will get an alert with the text "Pustekuchen".

-- RacoonyRE 09:15, 13 January 2010 (UTC)

Article in other language or more languages

 * MediaWiki version:
 * PHP version: 1.15.1
 * MySQL version: 5.0
 * URL: www.playerwiki.com

Greetings.

I would like to create an article in Danish, but i would also like it to be in English. How do i make a link in the left menu like on www.wikipedia.com?

—90.185.17.127 20:07, 16 January 2010 (UTC) Janza
 * Those are interlanguage links to other wikis that are part of the same wiki family. Read Manual: Wiki family and Manual:Interwiki for help setting that up. If you prefer having all the languages hosted on a single wiki like the way this site is set up you could create subpages for each language. If you do that you could then use Extension:Polyglot, which provides automatic redirects based on a user's language settings and also adds the other language versions of a page to the Languages sidebar. Reach Out to the Truth 00:00, 17 January 2010 (UTC)


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

I have to develop a script to get recentchanges in a pdf file. The problem is not here. I want it independant from the mediawiki system as I will use it from a cron job.

So I want to know which mediawiki files I have to include in the head of my php script (via require or include) in order to be able to use mediawiki core functions as User::newFromName or to do queries on the database via mediawiki db functions.

I think just include LocalSettings.php is not enough because it's just settings stuffs.

Thank you in advance.

—158.169.9.14 13:12, 19 January 2010 (UTC)

I cannot search for the word "sar" in any pages.

 * MediaWiki version: 1.13.x
 * PHP version: 5.2.6
 * MySQL version: 5.1.26
 * URL: Internal

For some reason I cannot search on the word sar. I have a page that has the word sar in it. A page was created on how to enable sar on a solaris box. I can find the page if I put "enable sar" It shows sar in red showing that it sees it. But if you only put "sar" it cannot find the word. Any ideas? —158.147.20.51 17:23, 21 January 2010 (UTC)
 * Your MySQL is configured to avoid searching for short words. Upgrade to MediaWiki 1.15.1, which has a workaround for that, and run maintenance/rebuildtextindex.php. 1.13 is out of support anyway. Max Semenik 17:58, 21 January 2010 (UTC)

Question about Special:PopularPages

 * MediaWiki version: 1.14
 * PHP version: na
 * MySQL version: na
 * URL: http://www.sascommunity.org/wiki/Special:PopularPages

Hello, can you please advise what is included in the Popular pages list? I'm under the impression it is a list of all wiki pages, excluding files and User namespace pages. Can you give the specifics of what is included please? Thank you very much..

Lainie

—LainieH 17:16, 31 January 2010 (UTC)
 * It uses $wgContentNamespaces to determine what pages to include. Max Semenik 17:45, 31 January 2010 (UTC)

[Resolved] Create page redirect not working properly

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

on my site if i try to make a new page using the url i get redirected to a page just showing the coding for what the page should look like....

can someone tell me whats wrong with it?

Cheers

—85.92.180.114 15:41, 1 February 2010 (UTC)

The article.php file has been corrupted at upload, reuploaded file and it works perfectly now!

Make all Files not readable for not registered users

 * MediaWiki version: 1.16alpha-wm
 * PHP version: 5.2.4-2ubuntu5.7wm1 (apache2handler)
 * MySQL version: 4.0.40-wikimedia-log
 * URL: n/a

Hello Team, is there any possibility to disallow not registert users to see any atteched file? So, i like to do somethink in my settings that way, that only registered users are able to see pages within the "file"-namespace. (in German the "Datei"-Namespace) I've just tried it with ExtraNameSpaces but it does not work. Please help me. Thanks in advance. Hendrik

—78.51.138.109 17:10, 1 February 2010 (UTC)

(RESOLVED) Recent changes options

 * Special:Version from Wikipedia - pt

I search a lot but didn't find the answer, so here I'm. I want to know how to make changes in the Recent changes options, so we could add a new button to improve the vandal tracking. My idea is to put a Show/Hide autoconfirmed users button to show anonymous and new-registered users in the same list. Thanks, Bozomal (Talk) 06:45, 29 January 2010 (UTC)


 * Well, I talked to a Mediawiki developer and he answered this question, thanks Bozomal 05:50, 2 February 2010 (UTC)

[Resolved] BagOStuff.php Error

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version: 5.0.81-community
 * URL: Private

After uninstalling the SMW extension, every so often my wiki presents this error at the top of any page: Warning: unserialize [function.unserialize]: defined (__autoload) but not found in /home/strainje/public_html/team/wiki/includes/BagOStuff.php on line 425

It presents this error twice and I cannot find any correlation to fix it. It only happens some of the time, but when it does it is a annoyance and messes up the formatting of the pages.

Any ideas? Thanks

—199.119.29.65 13:06, 5 February 2010 (UTC)
 * I got that error too (I don't know why it happens only sometimes). If you want to remove the error, you can edit includes/AutoLoader.php</tt> and comment out the line  (line 5). This problem has been fixed in 1.16 though. <font color="#66A7CC">i <font color="#9966CC">Alex  13:17, 5 February 2010 (UTC)

[Resolved] class="wikitable" not working

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version: 5.0.81-community
 * URL: Private

I'm trying to make some tables on my wiki look "good", though some of the examples from the Table documentation aren't working; mainly the class wikitable. I've looked and it appears to be in the CSS required for the monobook skin, but I might be missing something.

Any ideas?
 * These CSS classes aren't standard, you have to copy them manually from w:MediaWiki:Common.css. Max Semenik 07:47, 6 February 2010 (UTC)


 * Where is the location of common.css? And where would I need to put it? --68.209.251.67 01:12, 9 February 2010 (UTC)
 * Nevermind. --68.209.251.67 01:52, 9 February 2010 (UTC)

[Resolved] Mediawiki partially working after fresh install

 * MediaWiki version: 1.15.0 (Ubuntu 9.10 package)
 * PHP version: 5.2.10 (also Ubuntu package)
 * MySQL version: 5.1.37 (Ubuntu package)
 * URL: (sorry, behind a firewall)

This is a fresh install of mediawiki using Ubuntu pre-compiled packages. I ran the "config" and it created the database. I moved LocalSettings into the correct directory.

Now, when I browse to the top mediawiki URL, I do get the Main_Page, but if I try to view the Special Pages or edit any page, what is sent to the browser is 0 characters in length. View Source says that there's nothing in the page.

Can you give me some suggestions of what I've done wrong or where to look to fix this issue?

Thank you, in advance.
 * See blank page. Max Semenik 06:12, 7 February 2010 (UTC)

Thanks for the quick response, Max. I believe it was the memory_limit. Once I changed it to 32M in the php.ini file(s) and the LocalSettings file, I'm now able to view Special Pages and the Edit page comes up. THANK YOU!

—68.111.202.208 04:46, 7 February 2010 (UTC)

INCATEGORY search method - not works.

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

Hi, I have Mediawiki in my INTRANET version 1.11 I am trying to search with INCATEGORY method but I do not get any results.. Do I need to do something to enable this search method!?

Thank you, Gabi.

—212.25.124.145 10:43, 9 February 2010 (UTC)


 * IIRC, the incategory: search function was added recently to MW. Try upgrading your installation to the latest version (1.15). Happy ‑ melon 15:25, 9 February 2010 (UTC)

email notification (enotif) when a new page created

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12 (cgi-fcgi)
 * MySQL version: 5.0.90-community-n
 * URL: N/A (as it's internal wiki)

Hi,

Some of my wiki users want to receive email when a new page is created. I checked all enotif options in http://www.mediawiki.org/wiki/Manual:Configuration_settings#Email_notification_.28Enotif.29_settings but none of them helps me as none of them are mentioning "a new page created".

I also checked an old Extension in http://www.mediawiki.org/wiki/Extension:Email_notification#Features. I see that this is retired as the MediaWiki already contains this stuff. But I don't see an option like "Send me an email when a new page is created" in my mediawiki's "My Preferences/User Profile" page under "Email".

Am I missing something ?

thanks, faruk

—85.159.65.150 20:58, 9 February 2010 (UTC)

Simple NON-dynamic listing of ALL articles

 * MediaWiki version: 1.15.1
 * PHP version: 5
 * MySQL version: 5.1.43
 * URL:

Hello.

I know we have a search form to search pages (Special:Allpages), and also the Dynamic Article Listing that create special listings, but I don't need any of these shiny stuff, all I need is a simple, non-dynamic alphabetical listing of ALL articles in my wiki. Something like the listing of articles I get when visiting a Category page. My site will not have that much articles that not all could fit on one page.

I find it a great flaw, and disturbingly strange that while there are possibilities to create shiny special listings, there seems to be no any known way to create a very simple full listing. (I was searching both this wiki, the Meta wiki and Google for a long time with various keywords, with no relevant result...) This should be a core function in MediaWiki (Maybe with the added option of pagination if there are a lot of articles.).

I hope you can help, and add this vital and fundamental function to the next version of MediaWiki.

-- Storm 09:31, 10 February 2010 (UTC)

Search problem

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

Hi,

I have one problem with the search function. The search doesn't find anything that is in the text. I only get hits from the headline.

thx Bertram

—93.199.200.155 23:33, 10 February 2010 (UTC)

add custom parameter to transclude RecentChanges
I saw how to add parameters when you want to transclude RecentPages and it's works. I want to know if it is possible to add custom parameters that could be access by hooks like SpecialRecentChangesQuery. I tried to put the same parameter name as I use in the form defined in the SpecialRecentChangesPanel hook but it doesn't work. It is possible ?
 * MediaWiki version: 1.15
 * PHP version: 5.2
 * MySQL version: 5

Thanks in advance

—Melliol 09:52, 12 February 2010 (UTC)

Can I link files directly off my server to our wiki page, or must they be uploaded?

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

Is it possible for me to link files from my server to MediaWiki without uploading them. We have an extensive database of projects we would like to incorporate into the our wiki site but do not want to duplicate all those files by uploading them.


 * You can just create "external links", if that's what you mean. Like this:  that will make: Name of the external link. --213.17.13.41 12:45, 23 February 2010 (UTC)

Custom Edit Buttons

 * MediaWiki version: 1.15.1

Hi. I tried to customize my Edit Buttons using this manual: Manual:Custom_edit_buttons As this didn't work, I assumed it was outdated and found Customizing_edit_toolbar.

The method stated there (it's the same as in the FAQ) works, but only with common.js. (I tried using it in User:Username/skin.js - but it didn't work.)

Is there a way, for a single user to change his Edit Buttons? Is there a way, for a single user to remove one of the standard buttons?

—Sidcom 11:05, 23 February 2010 (UTC)

Session data lost error

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12
 * MySQL version: 5.1.42
 * URL: fotoholix.nl

When editing a page on my Mediawiki every user gets the "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out and logging back in." error when trying to save changes. I searched for possible clues and implemented a session_save_path command into a mediawiki subdir i created. At first, nothing happened there. After some hours session-files filled the subdir. But the errors remain and they occur on a 100% level.

Now for the strange bit: I have 4 computers at home, and only my own Mac has not been giving these errors. The other 3 have constantly, with different users and different browsers. Cleaning cookies and cache doesn't help. Since this morning, my Mac has been giving the same errors. So now i cannot change anything to the Wiki. My host does not allow access tot php.ini, and has not been very responsive in solving this issue. I don't understand why my own Mac hasn't been affected, and has now. Please advice to cure this problem, as a static Wiki is no Wiki!

Thanx for your support, Kind regards, Cas (admin of fotoholix.nl) The Netherlands

—77.250.107.241 12:10, 23 February 2010 (UTC)

SSO integration with our own database/table/user/password

 * MediaWiki version: 1.15.1
 * PHP version: 5
 * MySQL version: 5.0
 * URL:

I am currently developing a software and with Media Wiki 1.15.1 and PHP 5. I need to enable SSO in Media Wiki.

We have our own MySQL database and table for users (table name : mw_users). We would like to do authentication based on this user name and password.

I login to my application using the above said user authentication. This application integrates with many tools (like MediaWiki, Forums, Doc Managament etc). I want MediaWiki also to make use of this user and implicitly login through SSO (without asking user to enter username/pwd). Please help us in doing so.

—203.101.103.2 03:53, 25 February 2010 (UTC) Am2010
 * You can use the UserLoadFromSession to login users that are already logged in (with cookies or something else) by another system. If you want MediaWiki to look on your own user table when the user enters a username/password, you can use AuthPlugin. <font color="#66A7CC">i <font color="#9966CC">Alex  08:27, 25 February 2010 (UTC)

Alphabethically listing by letter headings

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11
 * MySQL version: 5.0.32
 * URL: http://osteroy-sogelag.org/mediawiki

I have been searching all around the mediawiki pages, no luck so far. I'd like to have an alphabethically listing with letter headings on my main page, something like this page on mediawiki: [] How is it possible to have such a listing, where it's easy to find all the pages under a certain letter? Ormhaugen

—Ormhaugen 22:06, 25 February 2010 (UTC)
 * It was made manually. Max Semenik 22:11, 25 February 2010 (UTC)

Ok, thanks, but is it possible to get some clues on how to do it? Ormhaugen

(RESOLVED) The "Log in" link leads to an empty page so it is impossible to log in

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.4-2ubuntu5.10
 * MySQL version: 5.0.51a-3ubuntu5.5
 * URL: http://www.aquafadas.eu/wiki/Welcome

Hi,

After a server migration, the “Log in“ link leads to an empty page with the following error message : “index.php There is currently no text in this page, you can search for this page title in other pages or edit this page.” The URL of the page is : http://www.aquafadas.eu/wiki/index.php?title=Special:Userlogin&returnto=Welcome Which does not corresponds with the “Log in“ link : <a href="/wiki/index.php?title=Special:Userlogin&returnto=Index.php">Log in</a> It seems that the MediaWiki system is looking for the title "index.php" instead of looking for the special page Userlogin.

I managed to get to the log in page with this URL : http://www.aquafadas.eu/wiki/Special:Userlogin But after entering my username, my password and clicking on the "Log in" button I get this error message : “No such action The action specified by the URL is not recognized by the wiki” The URL of the error : http://www.aquafadas.eu/wiki/index.php?title=Special:Userlogin&action=submitlogin&type=login

I do not know the MediaWiki system very well so i cannot find the source of this problem. Best regards

—62.147.149.185 16:37, 26 February 2010 (UTC)
 * That's a problem with your rewrite rules, since you use the same path (/wiki) for the wiki base and the short urls. So when you call "/wiki/index.php?title=Special:Userlogin", your server thinks you want to access the "Index.php" article. The best thing to do is to use two different paths (e.g. /w for the wiki and /wiki for the short urls, like here). <font color="#66A7CC">i <font color="#9966CC">Alex  20:22, 26 February 2010 (UTC)

Varnish workaround
MediaWiki: 1.15.1 PHP:      5.2.6 (apache2handler) MySQL:    5.0.77-log URL:      http://judgepedia.org

I use Rackspace Cloud hosting. They use Varnish to cache the images even though I have caching turned off. The problem is mediawiki is picking up the cache IP instead of the user IP so it thinks the user is logged off. I have done the settings as described on the Varnish page where I turn squid on and put in some IPs in into the NoPurge array (127.0.0.1 and 172.2.x.x range - yes I typed out each IP). The problem is they use the entire 172 range and that is not feasible to put into the array. How can I get around this issue?

—67.184.222.111 22:16, 26 February 2010 (UTC)

Fehler beim speichern

 * MediaWiki version: 1.15.1
 * PHP version: 5.0.51a-3ubuntu5.5-log
 * MySQL version:
 * URL: http://www.das-grosse-tierforum.de/wiki/index.php/Hauptseite

Wenn ich eine Seite Speichern moechte oder erstellen moechte und dann speichern moechte, bekomme ich diesen Fehler:

Deine Bearbeitung wurde zurückgewiesen, da dein Browser Zeichen im Bearbeiten-Token verstümmelt hat. Eine Speicherung kann den Seiteninhalt zerstören. Dies geschieht bisweilen durch die Benutzung eines anonymen Proxy-Dienstes, der fehlerhaft arbeitet.

Mein Englisch ist nicht so gut und ich weiss nicht was ich jetzt machen soll.

—76.23.61.61 01:34, 2 March 2010 (UTC)

Blank pages and 404s when accessing freshly installed mediawiki

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.10-2ubuntu6.4 (apache2handler)
 * MySQL version: 5.1.37-1ubuntu5.1

I have a problem where certain pages show up as blank. I can't edit my main page, can't search, because pages show up blank. In addition Privacy policy, About ... and Disclaimers all give me 404 errors.

This is a fresh install. I have edited the php.ini file to include the 32mb of memory.

Thanks.

—129.42.208.184 19:55, 2 March 2010 (UTC)

Update: I found the problem...I had changed $wgSitename to something other than the installed value, I changed it back to the original and things started working. Is there any way to change this?

Upload page

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12 (cgi)
 * MySQL version: 5.1.43-community-log
 * URL:

I've edited LocalSettings.php of my wiki and I've added the function $wgMaxUploadSize = 4194304;, but in Upload's Page there is a 'sentence' that it's says the limit is 64 MB. How do I do to make it works properly? — GNU  Marcoo  20:47, 2 March 2010 (UTC)