Project:Support desk/old

= Resolved Topics = Feel free to browse these for ways to make articles better.

[RESOLVED] How to remove edit button for non-logged in users
Hi, how should I write .editsection { display: none } to MediaWiki:Common.css article for ONLY non-logged in users. The purpose is to make the page layout cleaner for users who just want to read. &mdash; 60.53.26.80 17:56, 11 December 2007 (UTC)


 * See Manual:Preventing access --Flominator 18:35, 11 December 2007 (UTC)

Thanks Flominator for trying to answer my query: Actually I have done that. Now, I would lilke to remove the word "Edit" from each section so that the pages looks neat. As it is, response from Malay language writers are particularly poor so I will concentrate more on readers instead, eg. how to make the page look more appealing for them to read. &mdash; PM Poon 21:38, 12 December 2007 (UTC)

You mean:

? Put that at the top of your page and the edit sections will disappear. PatPeter 02:41, 13 December 2007 (UTC)

Thanks, PatPeter. With Nad's assistance, I have managed to reduce the row of tabs at the top of the page for non-logged-in users. Now I want to remove the section edit buttons for non-logged-in users. Putting would apply also to those who sign in. My intention is to reduce clutters for those who just want to read. In other words, I want the page to look neat like non-wiki pages for non-contributors. &mdash; PM Poon 10:07, 13 December 2007 (UTC)


 * There's a possibility of changing usergroup permissions or viewing to make noeditseciton only displayed how you want it. -PatPeter 23:19, 15 December 2007 (UTC)


 * I had a similar issue on a test wiki I'm working on. I set it up so that the editing links and stuff are missing from the default skin {display: none;}, and created a separate skin for people with editing privileges where the links were visible. It's a long way around, I guess, but it seems to work pretty good. -Barista 13:46, 17 December 2007 (UTC)

[RESOLVED] Printing interwiki links
How can I print interwiki links (and maybe "normal" wiki links as well) the way external links are printed? Thanks, —Flominator 18:03, 11 December 2007 (UTC)
 * Place a  after the   and before the prefix. For example,   will link you to meta, but the interwiki link will be shown instead of appearing in the interwiki box on the left. See m:Help:Interwiki for more information.  Mønobi  21:13, 30 December 2007 (UTC)

[RESOLVED] sorting all articles
The article links at the all articles page are sorted in a horizontal manner.

a1 a2 a3

b1 b2 b3

c1 c2 c3

Is it possible to sort them vertically?

a1 b1 c1

a2 b2 c2

a3 b3 c3

141.76.45.35 11:42, 12 December 2007 (UTC)


 * You have to edit the actual  in your /includes/ in the system files of the wiki. -PatPeter 02:46, 16 December 2007 (UTC)

[RESOLVED] Page Protection Not Working
Version: 1.11.0

Whenever I try to make it so a page can only be edited by Sysops, anyone can still edit the page. Why?

I tried setting an expiry time of "1 Year" but in the Recent Changes field, the expiry time is always the current date and time I am viewing the page.

—68.82.139.31 00:48, 19 December 2007 (UTC)


 * You have to enter the dates in code which I think is like this. As for page protection you might find an answer at Manual:Preventing access. -PatPeter, MediaWiki Support Team  19:55, 24 December 2007 (UTC)

[RESOLVED] Skinning/Config help
Is there a skin that will not show the "edit", "discussion" or "history" tabs for MediaWiki? Can this easily be done for the default skin? I am a complete newbie at wikis and need some help with this.

My primary goals are:
 * Remove edit tab for everyone but admin
 * Remove discussion tab for everyone but admin
 * Remove history tab for everyone but admin
 * Disable accounts for everyone but admin

—76.177.220.3 22:36, 25 December 2007 (UTC)


 * All that stuff is done from $wgGroupPermissions not skin, see also Manual:Preventing access --Nad 22:56, 25 December 2007 (UTC)


 * Yeah and if you disable all accounts other than admin, no one else will be able to view the wiki, no one will be able to make accounts on the wiki, basically you are completely destroying the purpose of the wiki. Just go sign up for http://www.freeforums.org/ -PatPeter, MediaWiki Support Team  03:25, 26 December 2007 (UTC)


 * Why create the limitation that a wiki should only be used in a completely public way just because that's how they were originally designed? if you want to lock it down for your own use or for your organisations private data then go for it! --Nad 20:06, 26 December 2007 (UTC)


 * I wasn't criticizing his overall use of the wiki but rather that those settings will disallow any new users to be made. -PatPeter, MediaWiki Support Team  01:32, 29 December 2007 (UTC)

[RESOLVED] Usergroups

 * MediaWiki: (Reported by your Wiki's Special:Version page) 1.10.1
 * PHP: 5.2.3 (cgi-fcgi)
 * MySQL: 5.0.24a-standard-log
 * Database:
 * URL: wiki.sakasolutions.com

How can i add new groups to the wiki. so that( my office) group which have access to some pages and other cannot see the pages like our office users can only access there things.

—Mravibsp 09:31, 27 December 2007 (UTC)


 * I think you have to create different namespace for those pages and read this: Extension:NamespacePermissions --89.175.73.253 14:05, 27 December 2007 (UTC)


 * Or Manual:Usergroups. 172.166.222.171 23:52, 27 December 2007 (UTC)
 * Per-page/per-namespace read restrictions are possible via extensions, but they all have loopholes which allow people to read the restricted pages anyway if certain conditions are met. Because you're trying to restrict page viewing instead of merely editing, you're better off using a proper CMS (Content Management System) instead of MediaWiki (MediaWiki simply wasn't designed to prevent people from seeing only bits and pieces of it). --Skizzerz talk 16:15, 29 December 2007 (UTC)

[RESOLVED] How can a person become a site administrator on a current Wiki
Hello, I am a member of a current Wiki site at www.rebootwiki.com. I have talked with the system administrator about becoming one of the sites administrators or sysops as they are called. She likes the idea but does not know how to make a regular member into an administrator. Can you help us with the technical applications and process to make a member an administrator? Thank you,

email: tal-shiar@hotmail.com
 * Special:makesysop, then enter your current username into the form. See Help:User rights.  Mønobi 21:35, 30 December 2007 (UTC)

[RESOLVED] Upload Error
MediaWiki: 1.11.0

PHP: (Ubuntu) PHP/5.1.6

MySQL: mysql Ver 14.12 Distrib 5.0.24a, for pc-linux-gnu (i486) using readline 5.1

Hello,

I use a MediaWiki as a Documentation Wiki for my development projekts. I will upload some script files in the wiki, but i ever get the Error:

Hochladen Warnung Diese Datei enthält HTML- oder Scriptcode, der irrtümlich von einem Webbrowser ausgeführt werden könnte.

in the LocalSettings.php have I set the following vars:

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'xls', 'pdf', 'tiff', 'doc', 'txt', 'htm', 'html', 'php', 'js', 'exe' ); $wgVerifyMimeType = false; $wgCheckFileExtensions = false; $wgStrictFileExtensions = false;

what's wrong?

--62.206.50.133 12:46, 17 December 2007 (UTC)


 * Some file types are explictly blacklisted, becasue they are very dangerous to upload - this includes PHP (they would be executed by the webserver when you request them!), HTML and JS (because of the possibility of cross site scripting), and also exe files (because of a high virus potential). Also, all files that only somehow look like they might contain some form of html code, javascript, php, or shell script, are requected by a hard-coded security check. See Manual:Mime_type_detection for more information -- Duesentrieb ⇌ 15:00, 17 December 2007 (UTC)

[RESOLVED] Using variables in templates

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

I am trying to create a template which includes the variable "PAGENAME". This variable should not display the pagename of the template but of the page to which the template is applied. For Example: I have this template-based page ( http://en.wiki-products.org/Audi_A4_TDI_e ) and would like to include an automatically generated variable which displays "Audi_A4_TDI_e" Is that possible? —Gollum 16:56, 27 December 2007 (UTC)
 * That is the way PAGENAME already works, it returns the name of the currently requested title regardless of whether or not its being transcluded. --Nad 18:56, 27 December 2007 (UTC)
 * Sorry, I did not formulate the question properly: I use a template "car" to generate the pages "Audi", "Ford", "Toyota" etc. Using the variable "PAGENAME" within the template works fine and displays the individual pagenames on each page. Now I created a page "Comparison" using DPL to retrieve some of the parameters from the pages "Audi", "Ford", etc., one of them being the pagename. The problem now is that it does not get the pagename but the variable "PAGENAME" and thus puts the the pagename of "Comparison" instead of "Audi", "Ford" etc. I tried then to place "subst:PAGENAME" into the template but this then sets the pagename of the template. So the question is: Is it possible to write a template which places a "substitution variable" on the page to which it is applied? I hope this makes sense to you. My best, --Gollum 12:38, 28 December 2007 (UTC)
 * Yes, on the template instead of just or , you need something like  on the template page. Then, when you subst the template on another page, the PAGENAME will get substituted there as well. Another option is modifying the DPL that you're using to grab the actual name of the page (via %TITLE%) instead of taking the parameter from the template. --Skizzerz talk 16:09, 29 December 2007 (UTC)
 * Meta contains more information on magic words (see Help:Magic Words).  Mønobi 21:02, 30 December 2007 (UTC)

= Active Topics =

Moving the top menu on Monobook skin

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: (Likewise)
 * MySQL: (Likewise)
 * Database: (Your version)
 * URL: [LINK Title]

Is their a way to move down a little bit the menu on the top of the Monobook skin (the menu where you have login/log out, edit, my watchlist, etc). The server where my wikipage is hosted have a banner on the top and we can't move that so the menu is on the top of the banner so it's hard to see the menu I use mediawiki 1.16 with PHP 4 and a mysql database

—142.217.158.244 16:30, 21 December 2007 (UTC)

Default skin
I am running media wiki with a LAMP (Linux, Apache, MySql, PHP) Platform but for some reason when I change the default skin for the site it does not apply color and formating, I check the HTTP error log but I am not finding anything to point me to the source of the problem. Is there a variable that I need to set to use skins? also the wiki is not formatting the page correctly, it is showing something like:
 * MediaWiki: 1.9.4
 * PHP: 5.2.4 (apache2handler)
 * MySQL: 5.0.45
 * Database: MYSQL?? I am unsure of the question
 * URL: [LINK Title]

-- -- --
 * Main Page (article) |
 * t | |
 * o| |
 * o| |
 * l | |
 * b| |
 * a| |
 * r | |

instead of

-- --
 * t | |
 * o|Article |
 * o|Article |
 * l |Article |
 * b|Article |
 * a|Article |
 * r | |

my version info is
 * MediaWiki: 1.9.4
 * PHP: 5.2.4 (apache2handler)
 * MySQL: 5.0.45

—67.129.206.249 04:07, 22 December 2007 (UTC)

wikimedia 1.6.10 extentions

 * MediaWiki: 1.6.10
 * PHP: 4.4.7 (apache)
 * MySQL: 4.1.22-standard
 * Database:
 * URL: http://www.bala6y.org/wiki2/

I have php 4.4.7 on my server .. and currently i can't upgrade it. So, i installed wikimedia 1.6.10 and i want to find all the extention that can be applied to it.

Thanks

—84.36.187.29 01:35, 24 December 2007 (UTC)

problems with GIF after upgrade to MediaWiki 1.11.0

 * MediaWiki: 1.11.0
 * PHP: 5.2.4 (cgi-fcgi)
 * MySQL: 5.0.27

Hi, I upgraded from MediaWiki 1.6 to 1.11.0 and all went well except: Images in GIF format don't show anymore on the pages. PNG and JPG images are OK, but when I put, it will give me only this text as a hyperlink, w/o showing the image.. Any help appreciated! —Theo s 10:03, 24 December 2007 (UTC)


 * Found an answer at, but unfortunately this script maintenance/rebuildImages.php is not at my server... :( Theo s 10:16, 24 December 2007 (UTC)
 * Well, found the script, but it contains errors...

code-snippet as of line 82:

printf( "%s: %6.2f%% done on %s; ETA %s [%d/%d] %.2f/sec <%.2f%% updated>\n",                       wfTimestamp( TS_DB, intval( $now ) ),                        $portion * 100.0,                        $this->table,                        wfTimestamp( TS_DB, intval( $eta ) ),                        $completed,   // $completed does not appear to be defined.                        $this->count,                        $rate,        // $rate does not appear to be defined.                        $updateRate * 100.0 ); flush; }

The comments state that 2 variables ($completed and $rate) are not defined, and that's the case.. Theo s 11:55, 24 December 2007 (UTC)

Anybody any suggestions please...?? Theo s 11:11, 27 December 2007 (UTC)

Different Syle - HowTo "install" on the server
I know, that MediaWiki is not responsible for the different styles, which you can get from: http://meta.wikimedia.org/wiki/Gallery_of_user_styles

But anyway it yould be good, to get an explaination, how to install it on the server, so everybody uses this style. This would make the Wikimedia fit more the personal/ company belongings.

So does anybody could explain, who to integrate for example the: Grey lady look

Thanks fr your help!

—193.16.48.5 15:08, 6 December 2007 (UTC)

Upload new version not working
I am using MediaWiki for an internal intranet wiki at work, but we have discovered that attempting to upload a new version of a file does not seem to be working - MediaWiki reports that it uploaded the file successfully, but the copy on the server is still the old one; MediaWiki does not replace the file with the new version. Does anyone know why this is happening? Is there a way to fix this?

Thanks! —82.68.75.38 17:09, 6 December 2007 (UTC)

All messages
um my problem is that the allmessages special page won't appear up after my migration see l3ga.tk —86.90.194.103 17:59, 6 December 2007 (UTC)

You mean this link: ? PatPeter 02:00, 8 December 2007 (UTC)

Right! It's that link, however I mean that site, the http://l3ga.ferrywijsman.nl/Special:Allmessages doesn't work! Please help me. 86.90.194.103 10:09, 8 December 2007 (UTC)

Oh well then thats obvious, its because the Wiki is set in German (or at least I think it is German), so that Special page doesn't exist. PatPeter 23:38, 10 December 2007 (UTC)

It's Dutch, and in Dutch the page is called http://l3ga.ferrywijsman.nl/Speciaal:AlleBerichten, but still it doesn't work... though it worked on the earlier (l3ga.freehostia.com) site it. 86.90.194.103 16:07, 11 December 2007 (UTC)

Huh thats weird, usually Mozilla Firefox would copy http://l3ga.ferrywijsman.nl/Speciaal:AlleBerichten but instead it copied the login page. Check your system messages folder if you have access to the database. PatPeter 17:56, 13 December 2007 (UTC)

What do you mean by that? I have access but what should I check? 86.90.194.103 18:09, 14 December 2007 (UTC)

I am looking at http://l3ga.ferrywijsman.nl/Speciaal:SpecialePaginas right now and Speciaal:AlleBerichten is not listed. Try taking SpecialAllmessages.php from the MediaWiki zip.gz file and reupload in into your /includes/ folder. -PatPeter, MediaWiki Support Team  19:46, 24 December 2007 (UTC)

Mmm, replaced the allpages file and know it just works, but nothing really changed (same filesize)? Still thanks! Maybe is it because I changed another message, just directly, instead clicking through Allmessages! Thanks!

It's becáuse I changed a message it works again, because when I upload allmessages.php, it gives a blank screen again. If I change then MediaWiki:Sidebar, it's over and AlleBerichten works again. Is this a bug!? 86.90.194.103 13:22, 28 December 2007 (UTC)

DschosCalendar
Hello All. I recently installed MediaWiki on a SME server I have running. The installation went smoothly, and we already have users starting to play with it. However, I attempted to install the Dschos Calendar, I was unsuccessful. I created the DschosCalendar.php and calendar_template.html files using touch and pico as requested in the documentation below.

>Copy DschosCalendar.php and calendar_template.html into the extensions/ directory. Then, I attempted to follow the directions below. The first request went fine. When attempting to edit the "MediaWiki:Calendar-url" I found it did not exist. Do I just create it? That is what I tried, and the calendar still does not show up.

''>You might want to edit the sidebar: just edit the page MediaWiki:Sidebar, add a line '** calendar-url|calendar', then edit >the page MediaWiki:Calendar-url to contain just the string Special:Calendar, and the page MediaWiki:Calendar to contain just >the string Calendar. This will add the calendar to your navigation menu on the left side.''

Lastly, I attempted to follow the instructions below:

''>Changes to LocalSettings.php >require_once("$IP/extensions/DschosCalendar.php");''

Putting the line at the top of the script caused MW to crash. Puttin it under the existing "require_once" line also did not correct the problem.

If someonw would lead me in the correct direction, I'd gladly edit the install page to better assist non PHP programmers (like myself) to get this working.

Chris Curtis

Copyright Icons
How do I change the copyright shown in the bottom left? And can it be done on a per-namespace basis? There doesn't seem to be a MediaWiki page that handles this. —99.236.141.81 21:24, 6 December 2007 (UTC)

Hi, the copyright information is in your LocalSettings.php. As for per namespace basis, I am not knowledgeable enough to give an answer. Hope Nad or someone else will come to your rescue. &mdash; PM Poon 14:31, 7 December 2007 (UTC)
 * Set $wgUseDatabaseMessages to true in your LocalSettings, then you can change any of the interface text messages directly from the wiki articles listed in your Special:Allmessages page. You can do this on a per-namespace basis by adding appropriate conditions into the wikitext of the message, eg


 * Note that you need the ParserFunctions extension installed to use #if --Nad 22:08, 8 December 2007 (UTC)
 * Sorry I only just noticed you said "icons" not "text" - use $wgCopyrightIcon and change on a per namespace basis by cheking $wgTitle->namespace --Nad 22:13, 8 December 2007 (UTC)
 * So I have to add an if clause to my LocalSettings.php? Something like this?

if ( $wgTitle->namespace == "ns name here" ) { $wgCopyrightIcon = "image here"; }
 * —99.236.141.81 00:25, 12 December 2007 (UTC)
 * Wait - what's the difference between $wgCopyrightIcon and these lines?

$wgEnableCreativeCommonsRdf = true; $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/3.0/"; $wgRightsText = "Attribution-Noncommercial-Share Alike 3.0 Unported"; $wgRightsIcon = "http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png";
 * If I set $wgCopyrightIcon, would I have to do something with those, too?—99.236.141.81 02:08, 12 December 2007 (UTC)
 * $wgTitle->namespace does not work. Nor does $wgTitle->getNamespace. It gives the following error:

Fatal error: Call to a member function getNamespace on a non-object in LocalSettings.php on line 119
 * —99.236.141.81 13:35, 13 December 2007 (UTC)

toolbox and titles of pages
I have several questions because I didn’t find a solution for my problems in this website:
 * First question: I am administrator of a mediawiki and I would like to render the toolbox invisible for not registered users.
 * Second question is about the titles of pages: I would like to change their style for instance, center the title of the article, change the colour of the title,....

I thank you for your help.
 * 1.) Nad should be able to help you with this. I remember having read about this before but I can't find it. Try searching the mediawiki helppages or search with google for "mediawiki", "toolbox" etc
 * 2.) This can be set in your css-file which should be monobook.css.


 * -Mazi

templates, buttons and editor
3 questions:

1. how do I insert this template on my wiki?

http://en.wikipedia.org/wiki/Template:Infobox_VG

like this too:

http://www.mediawiki.org/wiki/Extension:Polyglot (the box in the right of the page)

2. how do i insert buttons like in this wiki: http://www.wikia.com/wiki/MediaWiki

if you look in the footer you will see: Rate this article, Share this acrticle -> digg, del.icio.us, stumbleupon, etc

(last one) 3. i can't remember where, but in a wiki a saw some extra buttons in the editor bar... is there any reference about this?

sorry for too many questions, is just that i want to learn more :p

thanks btw

—foxfirediego 10:56, 7 December 2007 (UTC)

1. Your need the Extension:ParserFunctions extension to use that template for one. For two you need to define the CSS in the HTML classes such as:

class="infobox bordered vevent"

which I have no idea how to do. As for 2 and 3 I can't help you. -PatPeter, MediaWiki Support Team  19:51, 24 December 2007 (UTC)


 * 2 is probably being helped along by custom extensions. Check the wiki's Special:Version page to see what extensions they have, and possibly (depending on the extension) links to pages where you can get the extension.


 * 3 is likely the custom edit buttons functionality, like on Wikipedia. Those buttons are added by JavaScript to the array  in MediaWiki:Common.js. See Manual:FAQ for instructions. Cheers! Sorry, but I don't have any knowledge of the box CSS either. :( — Tuvok[Talk/en.wp] 14:45, 31 December 2007 (UTC)

Contents Table not redirecting properly
I'm getting a wrong redirect for the contents table. 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? Can I modify a configuration file? 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 to http://www.rockciclopedia.com/index.php?title=Hard_Rock 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 contents table? --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)

Thumbnails Not Working
I get an error for thumbnails: "Error creating thumbnail: sh: convert: command not found". My LocalSettings.php includes the line '$wgImageMagickConvertCommand = "/usr/local/bin/convert";' and this is the correct path for the convert executable. And it has execute privileges for all users. Any idea what could be wrong? (Reinstalling ImageMagick did not help either.)—99.236.141.81 04:16, 4 December 2007 (UTC)


 * Hi, I encountered the same problems like you before. Are you using a webhost to host your site? If so, this thing requires your webhost to do something as it involves some server security features. &mdash; PM Poon 12:26, 4 December 2007 (UTC)


 * No, I am not using a webhost. I'm using MediaWiki 1.11, Apache 2, PHP 5, and MySQL 5. —99.236.141.81 19:17, 4 December 2007 (UTC)


 * Perhaps I should have mentioned that the files involved were SVG files. —99.236.141.81 19:28, 4 December 2007 (UTC)


 * Try setting $wgSVGConverterPath to /usr/local/bin --Nad 20:25, 4 December 2007 (UTC)


 * Well, it works now. Thanks! —99.236.141.81 21:48, 4 December 2007 (UTC)

I had this same problem before I upgraded to 11, I haven't uploaded any images yet, I am still trying to restore my database. PatPeter 01:56, 8 December 2007 (UTC)

I have a problem that is like this: Error message: Error creating thumbnail: The system cannot find the path specified. I have a line in my Localsettings.php: $wgImageMagickConvertCommand = "/usr/bin/convert", but in that folder there are no commands, just files like svnstat and ulimit*. What command do I need to convert? How can I solve this problem? -194.138.26.89 11:52, 10 December 2007 (UTC)

Yes when I try to upload a file it asks me if I want to open or save, how can I fix this? I am using Mozilla Firefox. -PatPeter 02:33, 16 December 2007 (UTC)


 * Look here: Image. -PatPeter, MediaWiki Support Team

How to Create a New Log?
--Abercrombie 19:19, 7 December 2007 (UTC)
 * 1) Is there a way to log visits to a specifc page?
 * 2) Is there a way to log opening (downloading) of a specific image?
 * You're probably best using your webserver access log for that kind of logging - or a program which generates reports from the access logs such as webalyser etc --Nad 22:01, 8 December 2007 (UTC)

Initial installation problems - error in your SQL syntax
Everything went well until this message came up. I'm learning MySQL, PHP, and installing this Wiki as part of my start [thus a new user]. Running Win2K.

MediaWiki 1.11.0 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 Found database drivers for: MySQL PHP server API is isapi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (C:\Spool\TempFolder\Session) appears to be valid. PHP's memory_limit is 128M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Couldn't find GD library or ImageMagick; image thumbnailing disabled. Installation directory: C:\Inetpub\WWW\Wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file...

Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as root...success. Connected to 6.0.3-alpha-community Database wikidb exists Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default , user_token binary(32) NOT NULL default , user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) TYPE=InnoDB " failed with error code "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 20 (localhost)".

After my MediaWiki 1.11.0 download, I didn't change anything, and was following the online instructions for install.

Help is appreciated!

— 19:33, 8 December 2007 (UTC)

The layout of main page has problems
The search function should be put at the top. Google did a better job in page layout, and it improved often. Now, it puts all of its options at the very top --76.68.123.15 20:30, 8 December 2007 (UTC)


 * Please give a link to your wiki, what version: MediaWiki, PHP, MySQL, and database. -PatPeter 18:03, 13 December 2007 (UTC)

Automatic replacement of string from more than one page
Hi Nad, refer to your response at [Project:Support_desk/Archive_11#Automatic_replacement_of_string_from_more_than_one_page at Archive 11] on 6 September. I have uploaded Extension:Simple Forms successfully to my server and configure my LocalSettings.php accordingly.

I have also downloaded Yi-bot but am at a loss as to what to do with it so I uploaded it into my Extension folder? How do I activate it? Sounds so silly, hehehe, but I have never used a bot before. &mdash; PM Poon 08:17, 9 December 2007 (UTC)
 * It may not be an appropriate solution for you as you'll need to edit the yibot code with regular expressions to do the replacements you want. There's currently no way to do replacements in multiple articles with a simple interface. I'm working on an extension for this, but its a while away yet. --Nad 21:26, 9 December 2007 (UTC)
 * If you add a section to OrganicDesign:Talk:Yi-bot stating exactly what you need, I'll add a code snippet in there for you. Make sure you back up your database before using a bot to edit many articles because bots can really mess things up when they go wrong! --Nad 21:32, 9 December 2007 (UTC)

Remove buttons
Hello, I need remove math and media buttons from my encyclopedia editing toolbar. How I can do that? Thank you. --88.222.212.231 10:47, 9 December 2007 (UTC)

When editing in sysop mode, the browser downloads an index.php5 file containing no HTML
I'm running the latest version of MediaWiki (1.11.0) and whenever I click on the edit link as a sysop user, or even enter the url directly (http://www.xxx.org/wiki/index.php5?Title=Articles&action=edit), the browser downloads a file named index.php5 containing non HTML text like :

[Process] Type=Edit text Engine=MediaWiki Script=http://www.xxx.org/wiki/index.php5 Server=http://www.xxx.org Path=/wiki Special namespace=Special [File] Extension=wiki URL=http://www.xxx.org/wiki/index.php5?title=Articles&action=edit&internaledit=true

If I use the GET option &internaledit=true, I can view the edit page in the browser instead of downloading that file.

It does this only for my primary user, who's got edit and sysop rights. I bypassed the problem by creating another user with only edit rights, and using the internaledit option in the url when in sysop mode (to be able to edit items like the MediaWiki:Sidebar).

Any idea at how I can edit MediaWiki:Sidebar with the sysop user without having to add manually the internaledit option on the url ?

—87.244.158.8 21:05, 9 December 2007 (UTC)

Sometimes Wiki pages open and sometimes not
Hi,

Can someone please help me with this as sometimes a few pages of my MediaWiki opens and sometimes not. I made a small change in DefaultSettings file but then reversed the change as it was before and since then it is happening like this. Please help me with this. If you want please send me an email reply at bilal336@yahoo.com.

Thanks,

Bilal —67.69.129.106 15:48, 11 December 2007 (UTC)


 * Please give a link to your wiki, display the parts of defaultsettings you changed using:


 * And what do you mean "open" what happens if they don't "open"? -PatPeter 00:51, 16 December 2007 (UTC)

Thumbnail Size
At the image's page the size of thumbnail of the image is a per user setting ($maxWidth and $maxHeight). I wasn't able to set these two variables for a not-logged-in user (anonymous).

I changed in ImagePage.php: if ( $width > $maxWidth || $height > $maxHeight ) to if ( $width > 10000 || $height > 10000 ) as workaround.

Where can I set $maxWidth and $maxHeight for anonymous?

141.76.45.34 10:57, 12 December 2007 (UTC)

Move whole media wiki down 90 pixels
MediaWiki: 1.11.0 PHP: 5.2.0 (apache2handler) MySQL: 5.0.27-standard Hello, I would like to add a graphic/link at the top of the all the pages. I basically need to move the whole wiki down 90 pixels. I have had some luck, but am having problems with different browsers rendering the page differently. The particular problem seems to be with keeping cactions in the right location with respect to the body. I have checked the forums, and used the mediawiki book. I am particularly trying to change MonoBook. Thank you for any help you may be able to provide.

—Wazoo42 16:20, 12 December 2007 (UTC)


 * So you want to add something similar to the Fund raising template that Wikipedia has now? -PatPeter 02:47, 16 December 2007 (UTC)


 * Messing around with MonoBook, under #p-cactions I changed top to 105px and under body, I changed margin: 0; to margin-top: 90px; I only checked it with Mozilla, though. Monobook has a lot of those *Fixes.css sheets. I'm not generally fond of the idea of separate stylesheets for different browsers, but you might want to tinker with them. -Barista 14:06, 17 December 2007 (UTC)

Adding custom header to top of page
Hi folks! I'm a php and wiki newbie. I just installed this wiki. I want to put my own header at the absolute top of all wiki pages, before any of the wiki stuff. This header consists of a few buttons and a login box for my site. The code is a number of php functions for database access etc, and finally a simple table containing the buttons and login box. It should all be inside the tag part of the page. Where in all the wiki files should I put this code? Please advice, I'm a bit lost here. Wiki, PHP, MySQL and Apache are all the latest versions as of today. - Nebol —213.67.2.154 23:39, 12 December 2007 (UTC)
 * Try editing MediaWiki:Sitenotice at your wiki --Flominator 09:47, 13 December 2007 (UTC)

Hm.. it doesn't seem to be quite what I'm looking for, Sitenotice displays a text message as part of the page, right? I need to output php and html code, and before any of the wiki stuff, it should look like this: http://www.nebol.se/temp/wiki_bar.gif - Nebol


 * You can mess around with the style sheet to move stuff down. For your header, you should include the code for it in the MonoBook.php file in the skins directory. I strongly suggest making copies of the original MonoBook.php before making any changes. A better bet is to just start a new skin based on MonoBook and tinker with that, while leaving the original MonoBook as it is. Caveat emptor - Let the buyer beware (Your mileage may vary). -Barista 14:19, 17 December 2007 (UTC)

Ok I've put in my code after the tag in MonoBook.php and I now see my little bar at the top of the page. But the MediaWiki buttons and text have not moved down accordingly but stays at the top of the page, thus partly overwrites/overlays my button bar. Why is that? Do I really have to hardcode the number of pixels to move the wiki page down?? It seems.. wrong, the browser should handle that part of the layout. My bar consists of a table cell and a number of buttons; if I reduce the width of the browser window, the button row automatically splits up and the buttons are displayed in two rows instead of one, increasing the height of the button bar to compensate for the loss of width. How can I handle that in MonoBook.php if the exakt pixel positions of the wiki elements are hardcoded? - Nebol

Get current namespace
Okay. The replies I received here were helpful, but there's just one thing I can't figure out. How can I find the namespace (name or number) of the current page from within LocalSettings.php? $wgTitle->namespace (as suggested) and $wgTitle->getNamespace does not work (it gives a fatal error about calling a member function on a non-object).—99.236.141.81 18:49, 13 December 2007 (UTC)


 * You are using the wrong command, that one doesn't even exist I believe, this is what my extra namespaces look like:

$wgExtraNamespaces = array(110 => "Portal", 120 => "Portal_talk", 130 => "Technical", 140 => "Technical_talk", 150 => "WikiProject", 160 => "WikiProject_talk", 170 => "History", 180 => "History_talk", 190 => "Manual", 200 => "Manual_talk", 210 => "Extension", 220 => "Extension_talk", 230 => "Map", 240 => "Map_talk", 250 => "Server", 260 => "Server_talk", 270 => "Modification", 280 => "Modification_talk", 290 => "Mutator", 300 => "Mutator_talk", 310 => "Unit", 320 => "Unit_talk", 330 => "Clan", 340 => "Clan_talk", 350 => "Term", 360 => "Term_talk", 370 => "Tactic", 380 => "Tactic_talk", 390 => "Weapon", 400 => "Weapon_talk", 410 => "Tank", 420 => "Tank_talk", 430 => "Role", 440 => "Role_talk", 450 => "Player", 460 => "Player_talk");

-PatPeter 19:26, 13 December 2007 (UTC)
 * No, I'm trying to retrieve the namespace of the current page, not create extra namespaces. And I'm trying to do it from within the PHP rather than from the wiki or the css. Someone suggested $wgTitle->namespace, which didn't work, and I discovered $wgTitle->getNamespace being used in Skin.php. —99.236.141.81 20:13, 13 December 2007 (UTC)


 * Your question is very unclear. All info on namespaces you are looking for can be found here, in the case you want to know where your custom namespaces are then just look it up, that is why I posted that you can check your name and numbers that way. -PatPeter 04:39, 14 December 2007 (UTC)


 * Basically I want the PHP equivalent of the wikicode . The namespace page does not include this information. I'm trying to vary the copyright logo based on the namespace, so I need to be able to check which namespace the current page is on. —99.236.141.81 21:26, 14 December 2007 (UTC)


 * What "namespace page" do you mean? And what copyright logo are you trying to vary and why based on the namespace? -PatPeter 02:37, 16 December 2007 (UTC)
 * So I can have a different copyright for each namespace. I'm referring to the logo in the bottom left corner of the wiki. I determine how I should be able to do it, but I just can't figure out how to check the namespace from the PHP. I know how to check it from the CSS and from the wiki, but not from the PHP. Do you know a variable/command that will tell me the namespace of the current page? Nad suggested $wgTitle->namespace, which didn't work. I also tried $wgTitle->getNamespace, because I found it used in Skin.php. It also didn't work. I'm using version 1.11. Any other ideas?—99.236.141.81 15:13, 16 December 2007 (UTC)
 * I've figured out why this doesn't work. LocalSettings.php is included before $wgTitle is defined. I managed to get it to work by putting it in the extensions folder as a ParserAfterTidy hook. I'm not sure that's the best hook to use, since I basically just followed the example of EditSectionIcon, but it works. —99.236.141.81 17:40, 20 December 2007 (UTC)

Is it able to force one skin, so that users cannot select antother skin?
MediaWiki: (1.11.0)

PHP: (5.2.4)

MySQL: (5.0.45)

Database: (Your version)

URL: [LINK Title]

Hi!

I want to force one skin so that all users have to use the same skin! monobook! Can I do that? And how can i remove the "powered by mediawiki" icon?

—chris


 * Well, the easiest way would be to disable all the other skins by moving them into a subfolder. Then your skins folder would have just the monobook folder, MonoBook.php, MonoBook.deps.php, and a folder containing everything else. However, I really don't see the point of this. It would no doubt annoy some people if they couldn't change the skin. As for removing the "Powered by" icon, I remember seeing that somewhere. Try searching through the support archives or the manual.—99.236.141.81 20:27, 13 December 2007 (UTC)


 * Another way is to add $wgSkipSkins = array('chick', 'cologneblue', ...); to your LocalSettings.php file. Doing this leaves the skins where they are, but won't show them to the users. -Barista 14:38, 17 December 2007 (UTC)


 * "powered by...": check /includes/Skin.php :

function getPoweredBy { global $wgStylePath; $url = htmlspecialchars( "$wgStylePath/common/images/poweredby_mediawiki_88x31.png" ); $img = ''; return $img; }

where $wgStylePath is probably your /skins folder. Hillgentleman 00:43, 14 December 2007 (UTC)


 * Isn't it illegal not to credit MediaWiki for their work? Especially using their software? -PatPeter 04:37, 14 December 2007 (UTC)


 * Many thanks for your help! @PatPeter: I dont think so, because this is one of the faq`s! I have tried to do it, like it is described there, but it dont works! -chris


 * It worked for me. I switched the poweredby....png to redirectltr.png, and the icon changed. Hillgentleman 08:25, 14 December 2007 (UTC)
 * There is an easier way to get rid of it. Remove or comment out the following lines in MonoBook.php:

data['poweredbyico']) { ?> html('poweredbyico') ?>
 * You'll also need to get rid of the closing brace on the following line, I assume. Use Hillgentleman's method if you want to replace the image with another. Oh, and I neglected to say in my comment above that you also need to keep the "common" folder directly in the skins folder. —99.236.141.81 05:03, 15 December 2007 (UTC)

Create An Account or login - By Email does not work
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

Hello, we have a wiki and users go to the Create an Account or login page then enter a name and a password and hit by email.

The next page does not parse the email correctly the next page says:

Password sent. From wiki The password for 'test' has been sent to @mydomain.com.

Return to Main Page.

As you can see if doesnt parse the email correctly and nothing ever gets sent. Has anyone ran into this before?

Thanks in advance. —198.74.38.59 20:19, 13 December 2007 (UTC)

Export import problem

 * Source wiki
 * MediaWiki: 1.6.10
 * PHP: 4.4.4-8+etch4 (apache2handler)
 * MySQL: 4.1.11-Debian_4sarge7-log
 * Destination wiki
 * MediaWiki: 1.10.2
 * PHP: 5.2.0-8+etch7 (cgi-fcgi)
 * MySQL: 4.1.11-Debian_4sarge7-log

Having some trouble importing a large number of articles from an older wiki into a newer wiki. I'm using the Special:Export and Special:Import pages to do this. The exported XML files looks OK but is bigish (4MB). The error is: Upload of import file failed; perhaps the file is bigger than the allowed upload size. phpinfo tells me the upload file size is set to 16M and uploads are on. Can anyone suggest a solution? —Rob 02:48, 14 December 2007 (UTC)
 * It looks like the size is an issue as imports of only a few articles appear to work. The main import is 358 articles. --Rob 02:58, 14 December 2007 (UTC)

Desktop Enabling
Hello all. I desktop-enabled my site on my computer but my idea is to make all links inside it open inside the same desktop-enabled window. Which they don't. They open in new windows. Any idea on how to fix this? Thank you. -SupervladiTM 07:03, 14 December 2007 (UTC)

How to make a alphabetical list of sites?
MediaWiki: (1.11.0)

Hi!

How can i make a alphabetical list of linked sites! Such as

Many thanks for your help —Bpczi 11:56, 14 December 2007 (UTC)

Background image on pages?
I'm designing a page layout template for members of a wiki I admin to use for their user page and other pages that they create. I'd like to be able to use an image for backgrounds in this template. How can I accomplish this?

Extension:ConfirmAccount $wgRejectedAccountMaxAge doesnt work!
MediaWiki: (1.11.0)

Hi!

I am using the extension ConfirmAccount and the variable definition of $wgRejectedAccountMaxAge dont works! Isnt it so, that the value of this parameter defines how long rejected request will be kept? I have defined it in the SpecialConfirmAccount.php. $wgRejectedAccountMaxAge = 1 * 24 * 3600; But in the Special:ConfirmAccount there are rejected requests which are older than one day?!

Please help!

Many thanks! —Bpczi 14:54, 14 December 2007 (UTC)

Header and Footer Template
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

Sorry for my english.... my question is: How can I redesign the header and the footer of the newest german wikimedia version? I could not find any header or footer template. How can I do this?

Thanks for Information

Jan


 * What do you mean header and footer? You mean in the skin? Or a fund raising template like on Wikipedia? -PatPeter, MedaiWiki Support Team  18:43, 17 December 2007 (UTC)

Automatically undoing everything a vandalist has done
If a vandalist has written in dozens of articles, can an admin block its user and also automatically undo the relevant changes in dozens of articles? In other words, can blocking be retroactive?

If not, it's a huge issue. Imagine if you have even just 10 such vandalists. You'd have to manually revert hundreds (not to mention thousands) of articles! I know it's easier to revert for an admin, but it's still not feasible.

—79.176.153.180 17:51, 15 December 2007 (UTC)


 * If you look at the vandle's contributions there is a button for each edit called "rollback." Hold down shift when you click on it and it will do it in a new window.  100 clicks to do 100 reverts. Not so hard.  also, if the vandel makes a bunch of pages you can use Extension:Nuke. J.smith 18:38, 15 December 2007 (UTC)


 * Nevertheless, why not just allow block + revert in 1 click instead of 100? -79.178.93.100 23:09, 15 December 2007 (UTC)

Not differentiate capital letter and lower-case in the serch and the internal links
MediaWiki: 1.9.3

PHP: 5.1.6 (apache2handler)

MySQL: 5.0.24a-Debian_9ubuntu0.1-log

Database:

URL:

How can I not distinguish capital letter and lower-case in the search and the internal links? But not change the titles of articules.—Ganon 21:06, 15 December 2007 (UTC)

Based on your spelling I am guessing that that is probably the problem and not capitals, because if you spell a two-word title right and use capitals instead of lower-case then it should still pick up in the search. -PatPeter, MedaiWiki Support Team  03:36, 16 December 2007 (UTC)

MediaWiki Web Installation: Creating Tables....FAILED
MediaWiki: 1.11.0

PHP: 5.1.4

PostgreSQL: 8.2.5

Database: Apache 2.0.59

URL: [LINK Title]

I'm trying to setup MediaWiki on my Leopard box, and I always receive the following error message when running the config/install script (config/index.php):

MediaWiki 1.11.0 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.1.4 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. PHP's memory_limit is 16M. Attempting to raise limit to 20M... ok. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. Found GNU diff3: /usr/bin/diff3. Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. Found GD graphics library built-in. Installation directory: /Volumes/Data/www/MediaWiki Script URI path: /MediaWiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Generating configuration file...

Database type: PostgreSQL Loading class: DatabasePostgres Attempting to connect to database "postgres" as superuser "postgres"... Checking the version of Postgres...version 8.2 is OK. User "MHMediaWiki" already exists, skipping account creation. Database "MHMediaWiki" already exists, skipping database creation. Connecting to "MHMediaWiki" as superuser "postgres" to check rights...OK Checking that tsearch2 is installed in the database "MHMediaWiki"...OK Ensuring that user "MHMediaWiki" has select rights on the tsearch2 tables...OK Schema already exists, explicitly granting rights... OK Attempting to connect to database "MHMediaWiki" as "MHMediaWiki"... Checking the version of Postgres...version 8.2 is OK. Checking for tsearch2 in the schema "public"...OK Checking tsearch2 permissions...OK Verifying tsearch2 locale with de_AT.UTF-8...OK Checking for Pl/Pgsql ...OK Schema "MHMediaWiki" exists and is owned by "MHMediaWiki". Excellent. Setting the timezone to GMT for user "MHMediaWiki" ...OK Setting the datestyle to ISO, YMD for user "MHMediaWiki" ...OK Setting the search path for user "MHMediaWiki" ...OK Connected to PostgreSQL 8.2.5 on powerpc-apple-darwin9.1.0, compiled by GCC powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) Creating tables...FAILED. Make sure that the user "MHMediaWiki" can write to the schema "MHMediaWiki"

Funny thing is, when using any PostgreSQL GUI I can create tables, indexes, etc. successfully. —86.33.85.61 22:43, 15 December 2007 (UTC)

Cannot upload images

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

Whenever I try to upload an image on Mozilla Firefox it asks me if I want to open or download, how do I stop it from doing this so I can upload images?

—-PatPeter 02:59, 16 December 2007 (UTC)

PHP dynamic display
MediaWiki: 1.10.2

PHP: 5.2.2 (cgi)

MySQL: 4.1.22-standard

I was wondering...if I have a PHP file that is being updated dynamically, and wanted to display current results (mainly statistics the PHP program would calculate, but some other stuff too), how would I go about doing this?

To elabore: Say a page is created with some static information filled out. In an certain area, like a table, the results of the PHP file would be displayed.

Thanks.

—Caedas 04:55, 16 December 2007 (UTC)


 * Write an extension - specifically, tag extensions are just php code that generate html to be included in the page. -- Duesentrieb ⇌ 15:06, 17 December 2007 (UTC)

Rendering of too-complex pages breaks: How to fix?
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

(How does one find out the MediaWiki/PHP/MySQL/Database versions?)

On the French Wiktionary, we make heavy use of sometimes fairly complex templates. The rendering of some pages currently breaks (e.g. : in the "Traductions" box), the key symptom being that templates suddenly stop being resolved (in the example, this shows as "Modèle:trad" strings). We know this has someething to do with the complexity or size of the page, but in order to fix this, we need to know exactly what is the cause. Is it the gross size of the page (number of bytes "sucked in", excluding the &lt;noinclude> bits?), the number of template calls (counting recursions, if any), or something else?

—Urhixidur 18:00, 16 December 2007 (UTC)


 * You can find out your MediaWiki, PHP, and MySQL from Special:Version, as to your type of database I don't know. -PatPeter, MedaiWiki Support Team  02:50, 17 December 2007 (UTC)


 * I don't read French that well, but it looks like the templates -verb-|fr, -drv- and -trad- are each being called twice. My guess is that one of the templates is calling something it shouldn't. one or more of the templates is broken. -Barista 14:31, 19 December 2007 (UTC)


 * Actually, the templates are all fine, it's just that there are either too many raw template calls (including sub-calls), or too many bytes of page to process once all the calls are resolved. The page just stops processing template calls midway through. We need to know which of these two cases (number of calls or total number of bytes invoked) matters before we can correct the situation. Is the mediawiki limitation expressed in terms of number of template calls and sub-calls, or in terms of total bytes to process?
 * The key culprit is the trad template, which is called repeatedly within the translation tables. As for -verb-, -drv-, and -trad-, they do appear twice, because there are two major meanings for the word. Multiple calls of this sort work just fine in other contexts. Urhixidur 20:53, 20 December 2007 (UTC)

ParserFunctions extension does not work

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

Where?

—-PatPeter, MedaiWiki Support Team  04:02, 17 December 2007 (UTC)
 * I assume you mean the ParserFunctions extension, it is currently downloadable from Meta:Help:ParserFunctions --Zven 04:42, 17 December 2007 (UTC)


 * Thank you, the page was so big I couldn't find the installation files. -PatPeter, MedaiWiki Support Team  17:57, 17 December 2007 (UTC)


 * Just as the changed title says. -PatPeter, MediaWiki Support Team  04:22, 22 December 2007 (UTC)

Hiding some categorizations?
MediaWiki: 1.12alpha (r28384)

PHP: 5.1.4 (apache)

MySQL: 4.0.26-max-log

Database: ???

Under Help talk:Categories, User:HappyDog mentioned a CSS trick for hiding the display of categories. I'm wondering about a variation on this theme: Can one prevent specific categories from being displayed within a specific page?

A bit of context: This issue arose on the French Wiktionary, where the translation template (used to specify the translations of a French word into another language) categorises the page where it appears under various categories such as "Category:Translations into English", etc. The category pages thus created are very helpful in enriching the vocabulary for the target languages, as translations into that language will usually be far more numerous than Wiktionary entries for those same words. However, the typical Wiktionary word page's listing of categories quickly becomes very cumbersome and hides more relevant categories in the resulting clutter (e.g. "huit", where 24 of the 28 categories are translation ones). I was hoping there existed a means for the template to categorise the page whilst at the same time preventing the display of this categorisation (using a magic word similar to DEFAULTSORT, maybe).

I looked into using the "backlinks trick", which would indeed solve the display problem, but since there is apparently no way to sort the resulting list of backlinks, it makes the pseudo-category listing nearly useless.

Any solutions? Or should this be a feature request?

—Urhixidur 18:44, 18 December 2007 (UTC)
 * It is possible to manipulate the catlinks rendering without hacking any files. See the extendCatLinks method in OrganicDesign:Extension:Workflow.php which adds extra information into the catlinks area --Nad 20:40, 19 December 2007 (UTC)


 * So a similar php could be used to hide the unwanted category listings from any and all pages in the main namespace? Cool! Can someone with the technical know-how write the necessary code and/or tell the fr.wiktionary.org powers-that-be how to install it? Urhixidur 20:57, 20 December 2007 (UTC)


 * I could do a quick extension for that if you like, but it's around an hour's work so some $ would help which can be done through the OrganicDesign wiki on the sidebar. Would you just want to make all cats starting with "Traductions" be globally removed from the catlinks area, or just for some pages? --Nad 20:15, 24 December 2007 (UTC)

Table of Contents and Extension Code
Hello,

To start, I am running MediaWiki 1.10.0, PHP 5.0.5, and MySQL 4.1.20 (Special:Version). I was wondering if there was any way to modify the table of contents of a page via extension code. See, for example, Rikkukin the Defender; toward the bottom, below #Strategies and above #External Links, there are some headers that are output by parser extension tags. I was wondering if there is any way, via the code behind these parser tags, to add them to the table of contents.

It's also worth noting that, while I'd rather avoid it if possible, I'm not totally against hacking this feature into the core code; I'd just need to be pointed to the right place in the code. My best guess was to hack it into Parser::formatHeadings, but couldn't seem to get anything working from there.

Thanks in advance for your time ;)

71.225.221.85 03:20, 25 December 2007 (UTC)
 * If you used a parser-function instead of a tag-hook then it can output headings as normal wikitext == style which will then be included in the TOC --Nad 06:50, 25 December 2007 (UTC)
 * I've considered this, but it makes the functionality considerably more complicated to use for editors. Correct me if I'm wrong (I haven't explored parser functions in their entirety), but they have to be passed in order, correct?  Which would mean that the (relatively) simple , which in and of itself is pretty simple - but if the user wishes to omit one or more options, it becomes much more complicated, right? 71.225.221.85 01:17, 30 December 2007 (UTC)
 * You can still use named parameters in your parser functions, eg  , but you will need to manually split the args into key/value pairs in your callback function, such as in the following example code:

This snippet will create an array called $args from the arguments passed to your callback function (ignoring any which are objects such as the first one which is $parser). $args will contain numeric keys for all the normal non-named parameters in your parser-function, and non-numeric keys matching all the name=value parameters. --Nad 03:55, 30 December 2007 (UTC)

Problem with a search
Hello. I have a problem with a search: how to force it search for all word forms in russian? For example, search for "товарный" also returns "товарного", "товарным", etc. Is it possible? I have read about Lucene search, but could not understand whether it will help or not? If yes, how to compile it under Windows?
 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (apache2handler)
 * MySQL: 5.0.21-community-nt


 * Try adding the other declensions or conjugations in Infoboxes on the pages, then again it depends what you are using your wiki for, what are you using your wiki for? -PatPeter, MediaWiki Support Team  01:34, 29 December 2007 (UTC)

Installation Error

 * MediaWiki: Current
 * PHP: 5.2.4
 * MySQL: 5.0.45
 * Database:
 * Apache: 1.3.39 (Unix)
 * URL: www.abilitymultimedia.co/MediaWiki

After a "successful" installation, this is the error I get when I try to access the index.php page.

Warning: require(/home/abilitym/public_html/MediaWiki/includes/JobQueue.php) [function.require]: failed to open stream: No such file or directory in /home/abilitym/public_html/MediaWiki/includes/AutoLoader.php on line 302 Fatal error: require [function.require]: Failed opening required '/home/abilitym/public_html/MediaWiki/includes/JobQueue.php' (include_path='/home/abilitym/public_html/MediaWiki:/home/abilitym/public_html/MediaWiki/includes:/home/abilitym/public_html/MediaWiki/languages:.:/usr/local/lib/php') in /home/abilitym/public_html/MediaWiki/includes/AutoLoader.php on line 302

—76.27.200.155 00:45, 28 December 2007 (UTC)
 * It's saying the JobQueue.php is missing from the includes dir - check if it's there and readable, and if not, replace that file or try unpacking the codebase files again. --Nad 03:19, 28 December 2007 (UTC)

Background configuration
Hello! I installed the version 1.11.0 and want to change the main background design. I only want to remove the background image and to change the background color into a simple grey. Where or how have I to change this? Thank you, Doc Taxon 15:48, 29 December 2007 (UTC)
 * Edit MediaWiki:Monobook.css to hide the background image and change the background color. In particular, add the following lines:


 * Then, clear your browser cache and the image should disappear and the color should change to grey. Of course, you can change the color of the grey to something else, and there may be other elements/classes that then provide a clash, but those two lines should do the basics of what you want done. --Skizzerz talk 16:04, 29 December 2007 (UTC)
 * Okay, thank you very much! Doc Taxon 16:10, 29 December 2007 (UTC)

Bilinguial Mediawiki website
Hi, I am planning to start a Malay/Indonesia language website with one language in the main namespace, and the other in the talk namespace as in this Malay/English page, for example. This arrangement has the advantage of having both language side by side for easy cross-reference.

However, a critical weakness of this arrangement is that one language is subordinate to the other, when in actual fact, it should be on equal footing. How can I tweak the Mediawiki software so that I can have users choose the language that they want from my Main Page such that whatever language they choose, that language will appear to be in the main namespace, and the other language becomes subordinate to it?

Alternatively, is there a better way of doing a bilingual website based on the Mediawiki software? &mdash; PM Poon 17:48, 29 December 2007 (UTC)
 * I haven't done much with the multilingual side of MW, but I think you may have to do something like allow a session variable to override the users language preference, and that clicking on a language icon sets the session variable. --Nad 04:10, 30 December 2007 (UTC)

Awww Nad, you are my best hope for a solution and now it's gone, hehehe. "Session variable" sounds so cryptic to me. &mdash; PM Poon 11:01, 30 December 2007 (UTC)


 * You should do it like Wikipedia. For example, ml.yourwiki.whatever and in.yourwiki.whatever and then use interwiki links. -79.181.126.193 10:22, 31 December 2007 (UTC)

Thanks anonymous. Sounds like a good idea. Can I have one website with two database sharing the same software? &mdash; PM Poon 16:43, 31 December 2007 (UTC)
 * Yes you can have a single MediaWiki code base which set the $wgDBname etc and default language based on the domain (in $_SERVER['SERVER_NAME']). --Nad 07:02, 1 January 2008 (UTC)

Personal tools
Hello! I installed the version 1.11.0 and want to change the content of the div of the "Personal tools" in the right top corner. I want to change the terms there and its arrangement there. Where or how have I to change this? Thank you, Doc Taxon 19:36, 29 December 2007 (UTC)
 * You'll probably have to edit the MediaWiki space. Enter special:allmessages into your search bar, and look for the correct MediaWiki config.  Mønobi 18:00, 30 December 2007 (UTC)

Delete "my contributions"
Hello! In what data file can I delete the link "my contributions" on the top of my wiki 1.11.0? Thank you! Doc Taxon 08:09, 30 December 2007 (UTC)

Removing the quickbat for guests

 * MediaWiki: 1.11
 * PHP: 5.5
 * MySQL: 5
 * Database: Mysql
 * URL:

—72.70.98.214 16:37, 30 December 2007 (UTC)

I am using the skin cologneblue. I would like to change it so that GUESST users (those who have not logged in) will not see the quickbar and all its contents. When a user logs in they will get the quickbar.

Is there a way I can do this?

I would also like to get rid of some of the links in the top bar for all users.

Thanks, Louis

Infobox not working as planned

 * MediaWiki: 1.11

I'm trying to include an infobox on my site, but it's not working as I hoped.

http://www.gamecrushes.com/Chun-Li

http://www.gamecrushes.com/Template:Character

http://www.gamecrushes.com/Template:Character/row

Those are my site's, compared to these that I found on Wikipedia:

http://en.wikipedia.org/wiki/Sonya_Blade

http://en.wikipedia.org/wiki/Template:Mortal_Kombat_character

http://en.wikipedia.org/wiki/Template:Mortal_Kombat_character/row

I'm not completely sure what the /row thing is supposed to do, but whatever it does on Wikipedia, it's not doing on my page. While it looks 'invisible' on the Wikipedia page but still has definite code, when I try and copy the code over, it ends up spewing some html lines as the output. Is there a config setting I missed, or is there something else I'm missing?


 * I'm having similar issues with templates like warning outputting extra table tags. Odd. — Tuvok[Talk/en.wp] 14:49, 31 December 2007 (UTC)

The problem is that Template:Mortal Kombat character/row in Wikipedia contains tr and td tags that can only be used if rawhtml is enabled. Most of us have it disabled by our webhosts for security reasons. I have entered your website to tweak it but am wondering what {{{if{{{test|}}} means and whether it is the same as {{#if: {{{test}}}. Please delete templates Mortal Kombat character and Mortal Kombat character/row in an hour if I don't succeed. &mdash; PM Poon 16:15, 31 December 2007 (UTC)

UPDATE: Okay, I found out that you also did not upload the ParserFunctions.php file that enables the use of the "if" function. You can get it at Help:ParserFunctions. Hope I get the solution right, as I am also not an expert, LOL. &mdash; PM Poon 16:39, 31 December 2007 (UTC)


 * Just to clarify - the tags are not disabled by $wgRawHtml, they are disabled by $wgUserHtml. Innocuous HTML like table tags are enabled by default.  Don't upload the ParserFunctions.php file - install Extension:ParserFunctions.  --Michael Daly 22:38, 31 December 2007 (UTC)

Rollover (Mouseover) Images

 * MediaWiki: 1.11.0
 * PHP: 5
 * MySQL: 4
 * Database: ?
 * URL:

Are rollover images possible on a MediWiki page? I would like to have multiple rollover images on a page. Is there an extension that can be used? Any help would be appreciated.

—65.81.102.72 13:00, 31 December 2007 (UTC)

RHEL Instructions are Inaccurate

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

—98.200.35.40 15:36, 31 December 2007 (UTC)

I just wanted to make mention that the RHEL instructions page needs some careful updating.. It states that it is the install instructions for RHEL (RedHat Enterprise Linux), however, then cautions the world that if they are running "Redhat Linux" that they should upgrade to fedora and should never run anything except RH 7.3 or 9. In fact RedHat itself does not exist after the End Of Life and very unsupported versions of 7.3 and 9, it has since moved to the much more supported versions of Redhat ENTERPRISE Linux ver. 3, 4, and 5 with 3 soon to be EOL.. It is a correct statement that the RedHat "free" distro aimed at the general public and desktop user has branched into the Fedora project(s), but, RHEL still exists and deserves the proper credit and attention.

Sean
 * Then by all means update the page. You may do so by clicking on the appropriate edit button near the section if all you need to change is one section, or click the edit tab at the top of the page if you need to edit more. Then, update the necessary information inside the edit box, fill in an appropriate edit summary in the Summary field, check over your edit by using Show preview, then once you're confident that your changes look the way you want them to, click on the Save page button. --Skizzerz talk 17:16, 31 December 2007 (UTC)

Autolinking

 * MediaWiki: 1.11.0
 * PHP: 5...
 * MySQL: 4...
 * Database: no idea
 * URL: l3ga.tk

How can I disable the autolinking, that's when I write http://, it's getting linked?

86.90.194.103 17:10, 31 December 2007 (UTC)
 * You can enclose the http:// link inside of a &lt;nowiki&gt; (for example: &lt;nowiki&gt;http://example.com&lt;/nowiki&gt; would yield http://example.com ). --Skizzerz talk 17:16, 31 December 2007 (UTC)

Multiple Talk Pages
Is it possible to have multiple talk pages per article? I do not mean sub-pages of a talk page. I mean have each namespace have two talk namespaces associated with it?

Thanks.

Smaug 22:01, 31 December 2007 (UTC)
 * You can add an extra namespace for the second talk page with $wgExtraNamespaces, and add an extra action link for it using the SkinTemplateContentActions hook. It would not function quite the same way in the case of article which are not in the main namespace, for example if you had a second talk namespace called "talk2" and you were on the MediaWiki:Foo page, then the second talk page would have to be something like Talk2:MediaWiki:Foo rather than MediaWiki talk2:Foo. --Nad 06:57, 1 January 2008 (UTC)
 * Thank you, I will try that out. Are there any plans to put multiple talk spaces into a future MW version? Smaug  16:30, 1 January 2008 (UTC)

Design of new page created with create article box

 * MediaWiki: 1.11.0
 * PHP: PHP 5.2.5 + PEAR
 * MySQL: 5.0.51

Hi!

I have installed a create article box with an extension in my wiki! Now I want to make a standardized Design of all new pages which will created with that box. How can I realize this? With templates?

Many thanks for your help!!

best reagards

—Bpczi 09:53, 2 January 2008 (UTC)