Project:Support desk/Archives/Formatting/002

(RESOLVED) Problems with Infoboxes/Templates

 * MediaWiki: 1.12.0
 * PHP: 5.2.6
 * MySQL: 5.0.45-community-log
 * URL: http://ilpwiki.com

I am trying to enable infoboxes with my version of MediaWiki. The template I am trying to incorporate is.

The first thing I found I need to do from reading through the help section and searching help sites was to enable parser functions. I copied the 5 files into a created "Parser Functions" folder in my extensions directory as indicated in the help section.

I then copied the source code from the wikipedia template entry indicated above and created a page on my site using the same title and copied code. The page is located here:.

However, whenever I try and use the organization template code on another page all you see on the page is the code.

How can I get this infobox template to work?


 * Did you edit LocalSettings.php to include the parser function extension? Smaug [[Image:Tournesol.png|20px]] 03:10, 8 June 2008 (UTC)


 * Yes, i did. Sorry, I forgot to include that step.  Is there anything I need to edit in the main.css or common.css files maybe?


 * You need to copy the "Infobox template style" from en:MediaWiki:Common.css too, yes. -- :bdk: 04:39, 14 December 2008 (UTC)

(RESOLVED) Using a URL in a Template appears to be broken!

 * MediaWiki: 1.12.0
 * PHP: 5.1.6
 * MySQL: 5.0.22
 * URL: Internal Wiki

Below is the definition of a Template: Note: I then add a URL link on my page as follows:

But all I get from this is: Note: If however, I only have plain text or a Interwiki link as follows:

it works and I get: Note: Go to Google for more info! (of course Google will be a link) So the main question is, am I doing the wrong thing when using the Template? Have I mis-interpreted the usage of a Template?

—Tonyk 23:58, 8 June 2008 (UTC)


 * I finally figured what I was doing wrong. The link I was trying to add had these character: '?' and '='.  I remembered having to use   to display a '#' symbol so I went to my ASCII chart and got the character codes for the '?' (63) and the '=' (61) and now all is good.
 * —Tonyk 12:26, 11 June 2008 (UTC)

(OUTDATED) Template:Listen
Hi ! Is it possible to embed something like the Template:Listen of Wikipedia in MediaWiki ? I din't find it anywhere. Thanks in advance ! Freeno

—85.1.36.105 01:25, 9 June 2008 (UTC)

(RESOLVED) Footer toolbar for automatic inserting CODE
How can I create footer table (like toolbar) for automatic inserting code into the Text area inside of creating a new page, when I make clik on button. It is something like red area on the picture at this URL: http://img367.imageshack.us/img367/3074/toolbarwk1.jpg

—Krznaric 17:31, 9 June 2008 (UTC)


 * Use Extension:CharInsert and then edit Mediawiki:Edittools. Smaug [[Image:Tournesol.png|20px]] 18:21, 9 June 2008 (UTC)

(OUTDATED) Problem with infoboxes - Update

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (apache2handler)
 * MySQL: 5.0.51a-log
 * URL: http://livre.nl/wiki/index.php/Sjabloon:Infobox_Software

I'm setting up info boxes using templates. I've copied the template 'Infobox Software' as well as the related templates directly from Wikipedia.nl to see if it would work. However, the infoboxes show up with a HTML-soup in it. It looks like the parser stops inside the table where the #if: statements begin.

Your help is very appreciated.

—Bfaas 18:09, 11 June 2008 (UTC)
 * Try installing the ParserFunctions extension... --TheDevilOnLine 10:27, 12 June 2008 (UTC)
 * Thanks for your answer. The template shows ok right now, but if I apply it to a page, it still gives the HTML-soup. See http://livre.nl/wiki/index.php/Introductie --Bfaas

(OUTDATED) After install help!!!

 * MediaWiki: huh... how?
 * PHP: 5.2.1
 * MySQL: 4+
 * URL: http://wiki.hackergrounds.com
 * Contact: deep@hackergrounds.com

Hi! My server requires files to be labelled *.php5 to make PHP v.5 work so i renamed config/index.php to index.php5 and replaced everylink inside the php file from *.php to *.php5... that worked... the problem is i get this on the mainpage

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/42/d236396506/htdocs/wiki/includes/Exception.php on line 140

You can see it on the URL provided... wuts wrong?

—62.231.248.122 21:42, 13 June 2008 (UTC)

(OUTDATED) Can a template calculate the numbers of days in February?

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.51.a
 * URL: not public

Hello everyone,

I try to make templates that return the number of days in a month. As I am only concerned with dates 1970 or later, this is no problem for January and March through December. However, I don't know how do to it for February. Can this be done with a template or do I need to program a magic word?

—80.144.75.167 16:13, 15 June 2008 (UTC)

(RESOLVED) Variables in templates, then displayed on a page.

 * MediaWiki: 1.10.1
 * PHP: 5.2.6
 * MySQL: 5.0.24a
 * URL: RTAW Reefpedia

This is more of a "can this be done" type of question. What we have is nested templates, which can go about 12 deep. What I would like to do, without having to create more templates, which makes things more confusing and difficult to manage, is specify within the template itself a string variable or something like that. When the template is included in a page, it does its normal thing, inserting text into the page at a particular location. Then, be able to insert the string at a different location on the page. Can it be done? — Dr DBW |  talk  07:28, 24 June 2008 (UTC)


 * Just after I posted this on the way home, worked out that should be able to do this using if statements. Will have a play at some point and see how it goes. -- Dr DBW  |  talk  07:05, 30 June 2008 (UTC)

(RESOLVED) Move search box on Sidebar
How can I move the search box on side bar on top of any other navigation box on sidebar? —84.47.244.191 22:50, 24 June 2008 (UTC)
 * According to the Manual you just have to edit your MediaWiki:Sidebar and insert a *SEARCH on top of the list. But it doesn't work on my wiki... --217.91.74.27 14:51, 20 August 2008 (UTC)
 * See Manual:Sidebar (you need MediaWiki 1.13+). -- :bdk: 15:09, 30 August 2008 (UTC)

(OUTDATED) WikiLatino and MediaWiki Templates?
My name is Iris Rodriguez and I am an associate at Mi Apogeo Inc. Mi Apogeo (www.miapogeo.com) is a Latino based media company targeting second and third generation Latino consumers in the U.S. A crucial component of our hybrid site is the first online self-created Latino history and culture resource, WikiLatino!

As I post entries on the WikiLatino I'm wondering if there's any way/software that can be used to create templates/make posting more user-friendly?? We use MediaWiki however we do not have all the buttons/features that exist on Wikpedia.org....and though it seems thats how it works on Wikipedia.org, I can't see people taking the time to figure out the codes to make things look the way you want them to on a page.

Hopefully someone can help, thank you!

Iris —64.52.255.3 16:07, 7 July 2008 (UTC)

(OUTDATED) Wiki Templates
Hello this is concerning my wiki and i am having numerous problems... first of all none of templates are working like the infobox and tables... how do i get these to work... or is there something i can download?

my Current Wiki... 

Thank you Andrew A. Lehti —209.240.240.138 21:40, 12 July 2008 (UTC)

(RESOLVED) How can I remove "Main page" from main page?

 * MediaWiki: 1.12.0
 * PHP: 5.2.6-3 (cgi-fcgi)
 * MySQL: 5.0.32-Debian_7etch5-log
 * URL: http://www.wikidante.helloweb.eu

How can I remove "Main page" from main page? For example, on the main page of mediawiki.org there isn't the writing "Main Page" on the top.

tanks —151.16.38.214 14:23, 19 July 2008 (UTC)


 * See Manual:FAQ -- :bdk: 15:09, 30 August 2008 (UTC)

(RESOLVED) Printing comment
I would like to print this String in Wiki < !--pdf--> (without whitespace between < and !).

how can I do it?

can I mask the comment tag?


 * You tried the HTML character set of 4 characters for a left angle bracket?


 * ie &lt;!--pdf-->


 * See edit window for the characters.


 * --Quatermass 18:13, 8 July 2008 (UTC)
 * Alternative: Use nowiki tags to surround the comment, e.g.  -- :bdk:  07:23, 31 August 2008 (UTC)

(RESOLVED) How to remove the title of "Main Page"
Hi, I would like to remove the title from the Main Page the same way as in Wikipedia. I searched google and found a solution, which included editing monobook.js, but couldn't get it working.


 * See Manual:FAQ -- :bdk: 20:11, 30 August 2008 (UTC)

(RESOLVED) testing a user name to modify a template output

 * MediaWiki: 1.11.0
 * PHP: 5.2.4
 * MySQL: 5.0.51a
 * URL: www.sm-201.org

I have a wiki with a fairly large number osf "lists"

to avoid an massive list of "wanted page" entries, I have written the following template:


 * if the article does not exist, it displays the name in green (instead of red)
 * If the article exists, it has a link to that article is given, and a "NEW" icon is added.

On a regular basis, I go back through and exchange with the usual   protocol - it's a pain but it works 

I would like to know if there is a way to modify my template to test

—Robinr57 20:48, 20 July 2008 (UTC)

(RESOLVED) Navbox Template - Final Product Not Collapsing

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 4.1.22-standard
 * URL: ArtsieWiki.net

I have done everything I can think of to try and get the collapsable feature of the Navbox to work, but I can't figure it out. It would be really helpful to have! Can someone tell me what I'm doing wrong?

—99.144.158.114 23:35, 6 August 2008 (UTC)


 * I think you must edit MediaWiki:Common.js page. You can copy it from wikipedia site to your site. kgbkgbkgb 12:21, 27 September 2008 (UTC)

(RESOLVED) Using template parameters inside &lt;pre&gt;

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

How can I use parameters inside preformatted text?

I need to have a very simple template like this:

and should be pass as raw text and not parsed by wiki parser.

It is any way to obtain this behavior. —78.150.48.199 16:27, 7 August 2008 (UTC)


 * You can do this using
 * — 78.147.186.239 21:51, 13 November 2008 (UTC)

(OUTDATED) Concerning fields not filled in
On my wiki at, I have a template on which you can write five different fields (genre, genre2, genre3, genre4 and genre5). However, in most cases only two or three are filled in. On the final page (example, the code is: As a result: If for example genre5 isn't filled in, it will say and [[Category:]], which is kind of annoying. How can I fix it so this doesn't show up if the field isn't filled in? Quispiam 13:13, 31 August 2008 (UTC)
 * ,, , ,  , , ,

(RESOLVED) Nested Templates -- is it possible?
MediaWiki: 1.11.0; PHP: 5.2.6 (cgi-fcgi); MySQL: 5.0.45-community-log; URL: http://paleravens.com/

OK, I really need this, or I'mma be in hot development water. Please help!

Let's say I have two templates ...

Let's say I have Template ' defined as to make a nice table like this: ' should yield:

Let's say I have another Template  defined as Dy-no-mite! which should yield: Dy-no-mite!

Now, the problem: I want to be able to use one inside another!

Lookit, I combine them ... I SHOULD get ...

But what I actually get from is ...

... OK, I can't make Templates on this site. Click here to see it in action. I can simulate it here, though. It looks like this:

It's obvious that the closing }} of the DynamiteYellowText template is causing the NiceTable template to close prematurely and ignore the DynamiteYellowText.

What's not obvious is, HOW DO I FIX IT?

Please note, it's not a matter of how to get yellow text in a blue box. I have multiple templates that I want to combine in this way. I *really* hope there is a solution for this.

Please Help Please Help Please Help Please Help Please tengkyu

-- Töff 22:25, 3 September 2008 (UTC)


 * I Made It Work! Hah! Research! Study! Work and toil, midnight oil!


 * You have to declare the outside template's variable name, e.g., add a 1= before the template that is the variable value.


 * Like this :


 * See it here -- Woohoo! -- Töff 00:04, 4 September 2008 (UTC)

(RESOLVED) Scripting in templates doesn't seem to execute

 * MediaWiki version: 1.13.1
 * PHP version: 	5.2.6 (apache2handler)
 * MySQL version: 5.0.67-community-nt
 * URL: Internal Intranet, Sorry
 * Extensions:
 * http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

Hi, I wonder if someone can please point me in the right direction. I'm a software developer so you'd think I'd get the hand of this fairly rapidly but I'm obviously missing something crucial....

I'm trying to set up Templates on our internal Wiki in a similar manner to Wikipedia (the nice uniformly styled boxes)

I've set up a Template called Template:Documentation which contains:

I've set up a Template:Ambox which contains

and finally, I've included the Documentation template into my page with

(I've also created the appropriate styles in Mediawiki:Common.css)

The issue is that the scripting in the Template:Ambox doesn't seem to be executed. The actual output is

half inside, half outside the table.

I'm clearly missing something critical. Would someone please be kind enough to kick me and point me in the right direction

Many thanks in advance

—Basiclife 15:57, 10 September 2008 (UTC)


 * You need the ParserFunctions extension. —Emufarmers(T 02:52, 11 September 2008 (UTC)


 * Thank you SO much. It's still not quite right but at least I can now play around and get it going - I'm sure the remaining problems are due to mistakes in my Templates which I should be able to resolve on my own. Really appreciate it. Thank you. --Basiclife 12:21, 11 September 2008 (UTC)

(OUTDATED) Problems with Infobox Template

 * MediaWiki: 1.11.1
 * PHP: 5.2.5 (isapi)
 * MySQL: 5.0.45-community-nt
 * URL: http://wiki.white-wolf.com/Exalted

I am having some formatting issues with my infobox template. My footer box is sometimes overflowing to the right screenshot, and I cannot seem to find the fix to this issue. Any assistance would be greatly appreciated.

Bodhisattva 15:06, 14 September 2008 (UTC)

(OUTDATED) Table sorting broken?
The numbers with spaces for thousand separator was being sorted numerically and now is sorted alphabetically. Did something change in the javascript? Allowing for "spaces" instead of "commas" for the thousand separator should be supported, right? --MarsRover 02:27, 22 September 2008 (UTC)

(RESOLVED) Tables doesn't work + missing edit toolbar options

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.4-2ubuntu5.3
 * MySQL version: 5.0.51a
 * URL: http://out.swiatecki.com/mediawiki-1.13.1/index.php/Skabelon:Infoboks

Hello MediaWiki support desk. I have a problem when I write my articles: I should have a nice table, with borders and all, but I don't realy see it... I only see the code wrote, but at da.wikipedia.org this would work perfect.

What is wrong?

Also I'm missing some funktions in the edit toolbar. How do I get those (like upper and lower case, tables and so on)

Rasmus Becks 24-09-2008 11:37 p.m +1 GMT


 * Hej Rasmus, it seems you have to add a definition for the class "wikitable" to your MediaWiki:Common.css first.
 * For the edit toolbar, see the FAQ. -- :bdk: 22:34, 24 September 2008 (UTC)


 * And where shall I place it? Does it have a destination in the mediawiki folder, or is it a template to be added? Rasmus Becks 01-10-2008 10:27 p.m (+1 GMT)
 * MediaWiki:Common.css is one of the system messages you can simply edit when being logged in to the wiki (user interface) as an admin. -- :bdk: 04:39, 14 December 2008 (UTC)

(OUTDATED) Infobox won't split

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.4-2ubuntu5.3
 * MySQL version: 5.0.51a
 * URL: http://out.swiatecki.com/mediawiki-1.13.1/index.php/Skabelon:L%C3%A6rer

Hello Wiki support

I have a problem with my template. It doesn't split the infobox's info in two, like normal infobox's does. Do I have to chance the localsettings.php/css (can't remember what name it has) to allow html and copy a template which allready exist?

—93.160.125.134 20:27, 3 October 2008 (UTC)

(RESOLVED) Parameter expansion within XML-style tags

 * MediaWiki version: 1.14alpha (r41883)
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67-community-nt
 * URL: company intranet

I just tried to embed a parameter within xml-style tags: \\server\path\|

After wandering around trying to figure out why this wasn't working, I came across the info that parameter expansion within xml-style tags doesn't work. Is there a known workaround for this, or do I just have to figure out another way to display the info? Thanks.—SarekOfVulcan 20:45, 9 October 2008 (UTC)


 * Never mind, I just found the fix.

{{#tag:file }}
 * \\server\path\{{filepath}}}|


 * Thanks anyway!--SarekOfVulcan 21:13, 9 October 2008 (UTC)

(OUTDATED) pulling selective info from a template

 * MediaWiki version: any
 * PHP version: any
 * MySQL version: any

What I'm looking for is a way (if possible) to loop through all members of a category, and pull out some data that's defined in a template in the pages of that category... for instance, For all pages with the category "National Football League teams", display the "name" and "colors" parameters from the template Template:NFL team.

With the end result of a list of NFL team names and team colors, but with the data still only stored in one place. Is anything like this remotely possible with any version of mediawiki?

—24.196.67.58 18:46, 29 October 2008 (UTC)

(RESOLVED) Including Wiki article inside the Sidebar

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.5 (apache2handler)
 * MySQL version: 4.1.20
 * URL: http://www.reunionblues.com/tourguide/index.php/

We want to be able to include a wiki article in the sidebar but I can't seem to find the answer to how we can do it. I created a custom namespace and want to include as { { :Item:Products } } but it will not translate to the wiki article. I tried installing DynamiSkin thinking we can use a normal wiki article as the sidebar, but it appears to have a similar problem with including a seperate wiki article. Any advice would be greatly appreciated!

—Cognizance 23:16, 3 November 2008 (UTC)


 * See Manual:Interface/Sidebar for how to add new links to the sidebar. -- :bdk: 04:40, 14 December 2008 (UTC)

(RESOLVED) Importing templates
I am looking to import templates from wikipedia because I like certian articles on there. In order to use them, I obviously need some of these templates, or there are massive formatting issues. I don't understand how to copy templates, or to use templates from wikipedia and put them in my wiki.
 * MediaWiki version: 1.5.8
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.51b-community-nt
 * URL:

I don't have an address to give because it is for an intranet. Any help on how to do this would work.

For example, I am trying to get the wiki page on Fallout 3 from wikipedia into my mediawiki wiki. If I were to just copy and paste, I got major formatting issues.

Any help would be awesome. Thanks

—Tallysaturdaynightspecial 02:28, 11 November 2008 (UTC) Guessswho


 * The article Fallout 3 uses several templates. If you want the copied text being displayed exactly the same as on Wikipedia, you have to copy all the templates, you have to copy relevant parts from en:MediaWiki:Common.css, and you have to install Extension:ParserFunctions to make some of the templates work at all (if you haven't done that yet). There might be other issues too, but those are the basics. -- :bdk: 04:40, 14 December 2008 (UTC)

(RESOLVED) Backlink not highlighted using note template

 * MediaWiki version: 1.6.8
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67-log
 * URL: Intranet

I'm trying to use ref - note templates on our Wiki. It works fine however I've noticed that in english Wikipedia the backlink is highlighted. It doesn't work for me. Additionally I've made a test in polish Wikipedia and it doesn't work there either. What is missing there?

Below I'm providing a short test and it looks that it doesn't work also here - the backlink is not highlighted.

test1

Footnotes:

^ test

—Tomdzio 21:15, 12 November 2008 (UTC)


 * You have to copy the needed styles from en:MediaWiki:Common.css first (search for Highlight clicked reference in blue to help navigation there). -- :bdk: 04:40, 14 December 2008 (UTC)

(OUTDATED) How can i change the width of the texarea input fields used for editing pages?

 * MediaWiki 1.13.2
 * PHP 5.2.0-8+etch13.1 (cgi-fcgi)
 * MySQL 5.0.32-Debian_7etch8-log
 * URL:

Its currently breaking my style. The default width is col=80, can i change that somehow, or should i use the stylesheet to change it?

—84.114.140.251 11:04, 13 November 2008 (UTC)

(RESOLVED) Infoboxes

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.5 (cgi)
 * MySQL version: 5.0.67-community
 * URL: www.wiki.unholy-drilidan.com

When i add the following code;

It just says Template:Infobox how exactly do i make it show a infobox?

—92.19.132.212 20:35, 19 November 2008 (UTC)


 * Did you copy the Template:Infobox itself and the needed infobox CSS from en:MediaWiki:Common.css? (I guess you simply copied an article text from Wikipedia to your wiki.) -- :bdk: 04:40, 14 December 2008 (UTC)

(RESOLVED) Tables not aligned and not using formatting from common.css

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.6
 * MySQL version: 5.0.51
 * URL: http://www.lingwiki.com

I was working on my site as normal last night, and everything was displaying just fine. I came back this morning and suddenly the infoboxes are not aligning on the right like they're supposed to, and only explicitly stated table code is doing anything, as can be seen here. The last time my wiki went from working perfectly one moment to absolutely screwing up the next was when I last updated the Wiki software back in May; worked fine for two days, then I tried to continue where I left off before going to work when I got back and suddenly it refused to connect to the database, costing me 2 years and 20,000 pages worth of stuff to date at the time. Things are finally starting to gel again, but now...more randomness? I've checked the log to see if anyone has edited Common.css or any of the box templates recently, which they haven't. I've resaved Common.css to reassert it, nothing. I've cleared the cache, nothing. I'm out of options and feeling just a slight bit paranoid at the moment...

—71.198.127.97 15:03, 26 November 2008 (UTC)


 * Seems solved, can't see any obvious misalignments or such on your site atm. -- :bdk: 03:53, 26 December 2008 (UTC)

(OUTDATED) Template help

 * MediaWiki version: 1.11.2
 * PHP version: 5.1.6
 * MySQL version: 5.0.45
 * URL: http://dubyapedia.wiki-site.com/index.php/Main_Page

I just made a Wiki on wiki-site.org. I'm trying to use source from Wikipedia itself and I am having a problem with the template. How can I can go about installing the template on my site?

—Daniel Musto 01:31, 1 December 2008 (UTC)


 * Please be more accurate. What kind of "problem" do you have? Which Wikipedia template are you talking about? -- :bdk: 04:40, 14 December 2008 (UTC)

(RESOLVED) Changing the red format color for 'new' links to a different color

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: http://www.queencitywiki.com/

How do you change the default color of red for links to pages that are new or have not been created yet? Ive managed to edit CSS files to change the color and formatting to other links to how I want them, but I have been through about 4-5 CSS files and cannot seem to find the correct spot (or spots) to change the formatting of red to another color. Is this possible?

—74.132.72.29 21:38, 20 December 2008 (UTC)


 * Yes. Generally spoken, you have to search for a.new and adapt that bit then.
 * Put something like

a.new { color:#eeee00 }
 * in your main.css, or in MediaWiki:Common.css or in another skin's css (depends on what exactly you use and what you want to change).


 * Or, if you only want to adapt your individual css, put

a.new { color:#eeee00 !important }
 * in your personal User:Foo/monobook.css (or adequate) to individually overwrite the site's css.
 * The colour code is just an example. -- :bdk: 03:53, 26 December 2008 (UTC)

Need help on adjusting the portlets to the top on monobook template
-- Dr DBW |  talk  23:19, 18 February 2009 (UTC)* MediaWiki version: 1.13.2
 * PHP version: 5.2.5
 * MySQL version: 5.0.51
 * URL: on localhost so no url

Im using the monobook template and i want to customize it a little. What ive done in first place is to change the logo. My new logo is only 60px in height. Ive changed the logo img entry and the logo href entry in the main.css and adjusted the height there from 155px (default) to 60px. I expected that the portlets will come up a bit then, nearer to the top of the page. But nothing happens. The portlets are not moving to the top. Ive searched the css then for a option that may be necessary to change, but ive found nothing.

So my question: What should i do if i want the first portlet in my list to begin e.g. 20 px below the logo image?

Thanks in advance,

Martin —217.5.181.251 15:15, 5 December 2008 (UTC)

Templates, Where are files located and what do contents look like, e.g. language used?

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.5 (cgi)
 * MySQL version: 5.0.45
 * URL: http://www.jefferson-wiki.com/wiki/

I am trying to customize an installation of MediaWiki and have run into problems. I can not find where I should place template files and what the contents of template files are to create custom pages. Essentially, I want to create a scaffold to help avoid the problems that can happen when there are blank pages. I want to give users a format for the material I want them to enter. For example, I want them to enter their topic, a brief summary of the topic, have a large edit box for them to enter their article text, have the ability to enter a list of examples, enter a list of related topics and finally to enter references or links to further reading. How can I create a template to do this and where does it go in the directory structure? What language do I use for the template text? Any examples would be very helpful!

Thank you, Steve —Duffsb 15:44, 16 December 2008 (UTC)


 * Hm. Seems that you have found the template namespace and you are using it with templates, so this may have been resolved meanwhile? Best regards -- JörgM 84.156.163.108 08:27, 26 March 2009 (UTC)

Can I force every user to use the same template when creating a new page?
Can I force every user to use the same template when "creating a new page"? The Template I want is very simple, with no parameters involved. I hope this template can be applied automatically without manually typing –  by users. Thank you!
 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.67
 * URL: N/A

—Coulomb 23:29, 27 December 2008 (UTC)Coulomb


 * I guess you are looking for something like the mechanism we use on this page, cf. this URL, which adds an "editintro" and preloads one template. Well, there are some neat extensions at Category:Page creation extensions, namely Extension:InputBox. I don't know about any really forcing solution offhand, though (users are still able to create pages through "normal" …&action=edit URLs, or by manually removing template code from edit pages before saving). -- :bdk: 02:38, 28 December 2008 (UTC)


 * I think the mechanism used in this page is what I want! Could you tell me how to achieve this effect? Thank you!
 * —Coulomb 10:35, 29 December 2008 (UTC)


 * Well, on this support desk page we only use preloaded text for adding new sections to an already existing page; but we have an extra manual page for page creations, and that is what you want, I guess: Manual:Creating pages with preloaded text; it's linked from Extension:InputBox :-)
 * I hope this helps. -- :bdk: 14:02, 29 December 2008 (UTC)
 * I tried a extension called NewArticleTemplate. It works just like you mentioned about preload page. My problem now is that the format I created in preload page is totally lost, because I use FCKeditor, a WYSIWYG one, as a default editor. For example, the double equal sign "== text ==" in wikitext is considered "normal equal sign" in FCKEditor. Do you have experience in this sort of stuff? —Coulomb 11:46, 30 December 2008 (UTC)


 * Sorry for the late reply. Hmm, I don't know Extension:NewArticleTemplates in detail. Your question sounds as if you have to find your way through the "template jungle" first ;-) Do you still have problems with getting started? If yes, it would be best to describe how your preloaded template should look like (is it an infobox or such?). -- :bdk: 16:13, 9 January 2009 (UTC)

Creating optional parameters in templates?

 * MediaWiki version: 1.14alpha (r44990)
 * PHP version: 5.1.6 (cgi-fcgi)
 * MySQL version: 5.0.22-log
 * URL: http://www.twcenter.net/wiki/Main_Page

I am trying to make an infobox template for a local wiki about PC game modifications, where people can enter several parameters such as Screenshot and Leader, but if they don't, then those fields should not appear in the infobox at all. My code at the moment is:

However, at present, the infobox still shows empty parameters; I want it to skip those altogether. The template is at http://www.twcenter.net/wiki/Template:Mod. Any help would be greatly appreciated. It Is Me Here  t / c 14:54, 31 December 2008 (UTC)


 * Hm. Haven't tried to program templates yet, but the following code


 * gives the following result:


 * -- JörgM 84.156.191.245 18:44, 5 May 2009 (UTC)
 * Oops. Does not work this way. I am testing a little bit on your wiki. -- JörgM 84.156.191.245 19:03, 5 May 2009 (UTC)
 * Hm, okay, forget the code above :-). The following code


 * gives the following result:


 * I have changed it on your wiki and added those templates Template:! and Template:!- to your wiki. Seems to work, but test it. I also changed the word "Platform" in your guide to lowercase "platform", because you programmed the template with lowercase (so uppercase did not work). Perhaps have a look on the pages where the template is used if the usage is correctly done with lowercase. -- JörgM 84.156.191.245 21:14, 5 May 2009 (UTC)

Mediawiki FCKEditor overwrites my headers with
header== wiki markup ==

MediaWiki 1.13.2 PHP 5.2.6 (apache2handler) MySQL 5.0.51b-log I am using the FCKEditor extension.


 * URL: Intranet only so not shareable

I have pages that have table headers with HTML \<\h\2\> markup, for example:

Welcome to WIKI

When I edit this page, the FCKEditor shows up, allowing me to edit in WYSIWYG mode or swict to Wikitext mode.

If I switch the page to Wikitext mode, all my \<\h\2\> headers like the above get REPLACED with wiki table header markup (the equals signs), so the above header becomes the following:

== Welcome to WIKI ==

This is really messing up my pages. Please can you advise if I can keep my \<\h\2\> and prevent this automagical overwriting with "==" wiki markup as soon as I switch to wikitext mode?

Many thanks

—195.167.195.200 10:14, 2 January 2009 (UTC)

(RESOLVED) Defining a custom edit section
Is there any way (possibly with an extension) to define custom edit sections in an article? I mean, getting the same functionality you get automatically when you place a header; an edit link that lets you edit a specific section of the wiki text, without showing the rest. In particular, I'm interested in getting an edit link for a a single table row (where the edit link would be in the final cell of the row. Is something like this possible? Thanks. 82.215.27.77 09:06, 7 January 2009 (UTC)

—161.12.7.4 10:02, 7 January 2009 (UTC)


 * I don't know of a way to force an edit link without using a header. However, on our wiki, we had a similar need for row-by-row edit links and were able to use the exisitng header functionality to do so (see the example below).  Keep in mind however, that since these are actual headers, we usucually used the  since the table of contents would include the content of the first sell of each table row.  Hope that helps.  63.192.83.15 00:05, 5 February 2009 (UTC)

{| border=1

row1 header
row1col1 row1col2

row1 header
row2col1 row2col2
 * }

Thanks for the suggestion. That does solve the problem, but by now, we've switched to a different solution. I doubt I can get people to start using tables again. 82.215.27.77 08:50, 18 February 2009 (UTC)

External File Links

 * MediaWiki version: 1.11.0
 * PHP version: WampServer 2.0c
 * MySQL version: 5.0.51a
 * URL: Internal

I am adding links to our internal media wiki site. The links are to documents stored on non local SAN storage accessed via a shared area. These files i do not want to upload to the Media Wiki site our old HTML site we would just use <a target="_blank" href="file://ab/cde/Shared/fgh/ij/klm/Group/docs/Bureaucracy/Whereabouts.xls"> WhereAbouts We have many files that use this form. The problem is i can not get mediawiki to display them nicely. I van only get it to show the whole link. I would like it to just show say WhereAbouts.XLS as a blue link which ou click and it then opens the file into excel or IE/excel.

—161.12.7.4 10:07, 7 January 2009 (UTC)


 * Add the "file://" protocol to the $wgUrlProtocols. —The preceding unsigned comment was added by 80.156.6.164 (talk • contribs) 06:45, 7 May 2009. Please sign your posts with ~ !

couple of problems

 * MediaWiki version: 1.11.2
 * PHP version: 5.1.6
 * MySQL version: 5.0.26-standard-log
 * URL: Internal

Hello,

I am actually having a couple of problems. The first problem is when I compare our mediawiki to another, for templates, when building a new page, I am not able to select the template button and then click manual for a list of templates.

The second problem is style sheets are getting messed up by the FCK Editor... whenever I go from the Wiki Editor to just plain text mode, the style tags dissapear. The only work around is to put in the style tag and save directly without previewing, but if somebody goes to edit, they dissapear again.

The FCK editor is version FCKeditor extension (version fckeditor/mw-extension $Rev$ 2007) by Meta

The other wiki I compare it with has more hooks then ours but most notably they are using version FCKeditor (version fckeditor/mw-extension $Rev$ 2008) by Wikia... is that the reason for both of our problems by chance?

—64.86.141.133 15:33, 13 January 2009 (UTC)

(RESOLVED) Pages do not show up at category page

 * MediaWiki version: 1.9.3
 * PHP version: 5.2.1 (apache2handler)
 * MySQL version: 5.0.37-community-nt
 * URL: / (internal wiki)

Hello,

I have a problem with pages which do not show up on category page as expected.

I have created a template "Hinweis/Überarbeitung notwendig" (transl. Notice/Rework needed) which belongs to the category "Überarbeitung notwendig" (transl. Rework needed). This template is included in some pages which DO need rework. Now, I expect these pages to show up on the category page.

But only a few do.

The template looks like this: Hinweis: Diese Seite benötigt vermutlich eine Überarbeitung. Die Diskussion dazu sollten auf der Diskussions-Seite geführt werden. Ist die Überarbeitung erfolgt bzw. als unnötigt erachtet worden, sollte dieser Hinweis entfernt werden.

This works on page '/Maritime Transportlogistik':

But do not work on '/XYZ-Integration' and '/SimCorp':

Did I something wrong or do templates & categories not work this way?

Thank you very much and best regards

TG —82.83.156.25 20:36, 19 January 2009 (UTC)


 * Sounds like a cache issue. Did you try purging the pages in question? -- :bdk: 09:20, 22 January 2009 (UTC)


 * Thank you for this advise but it doesn't work. I have purged the page, the template and the category with no success. Strangly the page shows up on the category page after adding the category tag directly to the page and deleting it again. TG -- 87.193.172.106 16:57, 23 January 2009 (UTC)


 * Hello again, as I have said in my last post, it works after a tempory insert of the category. Also it works for new pages. So I think this was a parsing/caching problem. Maybe I have added the category to the template AFTER I have inserted the template into the pages. So I will mark this thread as RESOLVED. Thank you very much. TG, 87.193.172.106 14:58, 27 January 2009 (UTC)

Changing the default skin without access to PHP files
I'm using MediaWiki on a wikifarm, EditThis.Info. I would like to change the default skin to something other than MonoBook, but I haven't got access to the PHP files and the administrator informs me that he can't edit the PHP files because all the wikis on the site use the same base files. Is there a way to change every user's default skin without access to the PHP files? I don't think there is.
 * MediaWiki: 1.5.5
 * PHP: 5.2.6 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * URL: http://editthis.info/ctss/


 * What about the CSS? -- Dr DBW |  talk  05:41, 22 January 2009 (UTC)

Can someone help me figure out how to replicate the Classic skin or something like it in just CSS, so that I can add it to my Header file? Thanks. —72.171.0.147 21:22, 19 January 2009 (UTC)


 * You could try playing around with your MediaWiki:Monobook.css and with current MediaWiki's wikistandard.css. Dunno how effectively you could imitate Classic on a MW 1.5 wiki this way, though. -- :bdk: 09:29, 22 January 2009 (UTC)

Extra quote marks appearing
Using MediaWiki for our intranet everything was absolutely fine but after a recent Windows update and reboot any page containing quote marks has gone wrong. There are literally tens of quote marks where there should just be single ones so viewing pages look terrible. We have made no changes to any configuration files, php or Apache and approximately 500 pages are affected. Is there a quick way to remedy this so that the quotes are handled correctly?
 * MediaWiki version: 1.12.0
 * PHP version: 5.2.5 (apache2handler)
 * MySQL version: 5.0.51b-community-nt
 * URL:

—212.140.240.2 12:59, 20 January 2009 (UTC)Trev Warner

Open Issues
The table below lists all issues still needing to be fixed.

Every item in the table has the nowiki tags without the space. I believe it should be invisible.

—121.97.80.194 03:44, 21 January 2009 (UTC)

Changing default skin for all members
I try to change the default skin as written at Skin_configuration, but it won't work... Maybe I do something wrong. Can someone help me and describe step by step how to change the default skin for all users? Is there maybe an other way to do it? Thanks in advance

—84.27.51.65 03:50, 22 January 2009 (UTC)
 * Did you mean Manual:Skin configuration? Which ways have you tried? -- Dr DBW |  talk  05:39, 22 January 2009 (UTC)


 * "...like to change a large number of existing user's skin settings, they can use the script in the maintenance folder called userOptions.php. The syntax to use would be: $ php userOptions.php skin --old --new ". But I think I did it wrong, I don't understand it. -84.27.51.65 14:23, 22 January 2009 (UTC)


 * You really need to be more specific. You did what?  Where did you do it?  What was the exact command line?  What output did you get, including error messages?  What don't you understand?  Remember, we have no idea what you have done, you level of knowledge etc. -- Dr DBW  |  talk  23:19, 22 January 2009 (UTC)


 * Well... I don't even know how to do that, do I have to put that line somewhere in the file named useroptions.php? And where do I add that line into that file? Do I have to open that file on line after saving? What do I have to do? Thanks... :-$ -77.165.129.87 02:23, 25 January 2009 (UTC)


 * As it says on the page reference above, you have to run the script on the command line. Therefore, you have to be logged onto the server, using something like ssh, then enter the command and execute it.  If you don't have that access, your provider may be able to do it for you, you will just have to ask.  By the sound of it though, doing this is a bit above your skill level on this sort of thing. -- Dr DBW  |  talk  01:59, 30 January 2009 (UTC)

Intra-wiki link anchors don't work in tables

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.6
 * MySQL version: 4.1.22
 * URL: http://aiblog.nl/index.php?title=Competences

Intra-wiki links using an #-anchor will normally link you to the indicated site AND to the specific location within the site where the #-anchor is located. However, if I make such intra-wiki #-anchor links within TABLES, the link only leads to the appropriate page, BUT NOT to the #-anchor location.

For example: in the table on I want every cell to refer to its correlating cell in the table on  (and vice versa). However, I always end up at the TOP OF THE PAGE, and not at the specific anchor-location.

It would be nice if you could fix this, since it would make Mediawiki even more usable than it already is!

Best regards, —Wouter Beek, me@wouterbeek.com


 * Tables do not automatically generate anchors the way headers do. Use divs:   —Emufarmers(T 00:14, 28 January 2009 (UTC)

where is manual re subheadings navigation box
I'm trying to find the template or php code that automatically generates those handy navigation boxes from subheadings. It has to be somewhere, right? :-) I found the sidebar code, but I simply can't figure out how to search for this item.  All help will be much appreciated! —Quixote7 21:50, 27 January 2009 (UTC)
 * MediaWiki version: 1.9.3
 * PHP version: 5.2.8
 * MySQL version: 5.0.67
 * URL: molvray.com/govwiki


 * Are you looking for the  </tt> magic word? —Emufarmers(T 00:20, 28 January 2009 (UTC)

I think so! That looks like the right general idea, which is more than I can say for anything I found earlier. Thanks! Quixote7 02:29, 30 January 2009 (UTC)

How do I move the "table of contents" box to the RIGHT

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

How do I move the "table of contents" box to the RIGHT side, as seen here: http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia, when it is normally on the left as here: http://www.mediawiki.org/wiki/Help:Tables
 * I am looking for how this is done by default.. I know I can embed this into one particular page with

—Jwelcher 06:10, 28 January 2009 (UTC)


 * TOC above starts in source code with

.

Thank you,

Marco van Beek

—83.136.69.10 16:44, 6 February 2009 (UTC)


 * I think there is a setting for this. —The preceding unsigned comment was added by Wikademia (talk • contribs) 16:58, 26 April 2009. Please sign your posts with ~ !

Linking to social network sites

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.5 (apache)
 * MySQL version: MySQL 	5.0.45-log
 * URL:

I am thinking of linking to some social networks sites like Digg.com (but some Swedish alternatives instead).

I am making a link like <a href="www.link-to-social-site.com?url=CURRENT URL OF MY PAGE&titel=PAGE TITLE">"Digg" this"</a>

I want to know, how I trhough PHP can replace "CURRENT URL OF MY PAGE" with the current page of the site and also the same with the title. I suppose it would be something like <?php current url > or something.

Could anyone please help me out?

—Kristofer2 21:01, 8 February 2009 (UTC)


 * Create a tag extension or parser function. —Emufarmers(T 06:31, 9 February 2009 (UTC)

Questions about hide/show functions for Navboxes at bottom of articles

 * MediaWiki version: 1.15alpha
 * PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
 * MySQL version: 4.0.40-wikimedia-log
 * URL:

Hi there. I have a question about the hide/show and collapse/expand functions in the navboxes that are generally located at the bottom of articles. I am the admin on the Manx wikipedia and we there have been trying for a long time now to enable those functions, but so far to no avail (although we have had help from colleagues on other language projects). I was wondering if someone, if they have some time, would be able to have a look at the .css and .js on our site and see if there is something wrong that is stopping us from having those functions.

We would be very grateful for any assistance that could be given on this.

--MacTire02 14:31, 11 February 2009 (UTC)
 * Has this probably been solved meanwhile? Here it seems to work. -- JörgM 84.156.183.81 19:45, 26 April 2009 (UTC)

How to enable the Wiki to display XML

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.5
 * MySQL version: 5.0.51a
 * URL: http://www.afrigis.co.za/wiki

How to enable the Wiki to display XML. we type our xml code but we think there is something we need to enable to diplay our code.

—196.213.41.186 08:33, 17 February 2009 (UTC)


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

Mediawiki has been placed on our intranet site. It is the most current version available. I am not sure about the PHP or MySQL version. We are having issues with the edit function. We have many clients interested in having the edit option appear in a table. At the moment this does not occur. Are there any extensions or templates that would force an edit (opposite of ) to occur? please e-mail at royalcub@hotmail.com --207.236.147.118 21:24, 17 February 2009 (UTC)

—207.236.147.118 21:24, 17 February 2009 (UTC)

(RESOLVED) Template inclusion with parameters and references doesn't work in this case

 * MediaWiki version: 1.10.1
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67-standard-log
 * URL: http://www.masa.asn.au/masawiki/index.php/Main_Page

Are using templates in the follow format, which means can pass two parameters to it. The first is a date, second is a URL.

To use this template, use something like this:

That works fine, as the following gets displayed with the reference tag:

Now, if the URL is of the form  then it does not work, the URL is left off. I think it may be the question mark. If so, any ideas on how to get around that? I think will go and check out more on templates, see what the question mark does ... — Dr DBW |  talk  23:06, 18 February 2009 (UTC)

Actually, now it seems that the equals sign is the issue. If I replace the equal sign with the HTML encoding for it, %3D, it works fine.

Sorry, that is incorrect, need to use the ASCII code for the symbols. Have also worked out that the plus sign + also causes issues. -- Dr DBW |  talk  04:52, 19 February 2009 (UTC)

Geshi Syntax problem

 * MediaWiki version: 1.13
 * PHP version: 5.2
 * MySQL version: 5.0
 * URL: localhost intranet

hi i downloaded a extension for my mediawiki page called geshi, this is for displaying tags, i use it for sql and plsql, now when i tag something like

crazy, here now it works without a problem the box stays, whyy does it dissapear on my wiki site?

any suggestions?

—84.253.46.121 10:00, 23 February 2009 (UTC)

How to change the Tabble of Contents so that it indents bullets not numbers
Hi
 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

I've created a 'table of contents' which looks like this:

1. 1.1  1.2  1.3

2. 2.1  2.2

But I want it to like like this i.e. with indented bullets and not indented numbers:

1. •  •

2. •  •

I can't figure out how to do this - can anyone help?

Many thanks

—Jandal99 20:30, 23 February 2009 (UTC)


 * Hm. When looking at the source code of the table of contents above, it looks like

<ul> <li class="toclevel-1"><a href="#Formatting_Support"> 1 Formatting Support </a>

<ul> <li class="toclevel-2"><a href="#Need_help_on_adjusting_the_portlets_to_the_top_on_monobook_template"> 1.1 Need help on adjusting the portlets to the top on monobook template </a></li>


 * and so on. So I would try to change behaviour of classes like toclevel-2 and below at MediaWiki:Common.css with CSS like "list-style-type: disc/circle/square" (either one of those). -- JörgM 84.156.188.128 21:00, 18 March 2009 (UTC)

Special:ListUsers

 * MediaWiki version: 1.14.0

Hi, I have to link to group members in article, like Sysops :Special:ListUsers&group=sysop|Sysops

but the result page is Special:ListUsers%26group%3Dsysop

How can i do this correctly? Regards

—217.247.185.52 14:15, 24 February 2009 (UTC)


 * Link to Special:ListUsers/sysop. —Emufarmers(T 06:20, 25 February 2009 (UTC)

How can I activate "Allow wiki markup (PHP)" for MW 1.6.8?

 * MediaWiki version: 1.6.8
 * PHP version: 5.2.6-1+lenny2 (apache2handler)
 * MySQL version: 5.0.51a-24
 * URL: within an Intranet ;-)

I would like to format the sidebar using WIKI syntax elements, as described at http://www.mediawiki.org/wiki/Manual:Navigation_bar#Allow_wiki_markup_.28PHP.29, but the instructions there refer to but not to the version which is provided to us here (1.6.8).
 * MediaWiki < 1.13.2 and to
 * MediaWiki 1.13.2,

I looked into the file skins/Monobook.php of our installation, hoping that it contains the same lines to replace as specified for MediaWiki 1.13.2, but they are not identical, the lines of the Monobook.php file of version MediaWiki 1.13.2 and our version 1.6.8 with regard to the configuration of the sidebar. So I do not dare to replace the sidebar lines in that file with the lines that are specified at http://www.mediawiki.org/wiki/Manual:Navigation_bar#Allow_wiki_markup_.28PHP.29 for version 1.13.2.

How can I activate "Allow wiki markup (PHP)" for MW 1.6.8?

—195.127.43.185 10:45, 5 March 2009 (UTC)


 * Upgrade MediaWiki. —Emufarmers(T 01:25, 6 March 2009 (UTC)

--195.127.43.185 09:06, 9 March 2009 (UTC) Thanks for the advice. Fortunately I just got informed that we were provided the required access rights to upgrade our wiki ...

Since MediaWiki 1.14 Templates dont look like before

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9 (cgi-fcgi)
 * MySQL version: 5.0.51a-24
 * URL: de.narutopedia.eu

Hi, after I updated my MediaWiki, a few templates dont look like before. For example What is the difference between 1.13 and 1.14, I always thought there are only technical changes, but now some templates dont look like before. I hope you have some ideas and can help me. Thank You --91.67.156.126 13:31, 7 March 2009 (UTC)

Problem with Extension:DynamicPageList

 * MediaWiki version: 1.12.0 (r3238)
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.51b-community-nt
 * URL: (intranet)

I am using a DPL to control some content on a page, providing a listing of other pages as follows:

<DPL> category=*Capture Originating Requirements category = Lessons Learned count= addpagecounter=true ordermethod=counter order=descending </DPL>

However, I recently discovered how to effectively use templates across this site that I'm building, so I converted this listing to the following so that I could use the listing to generate a list of pages on any of our main page categories: <DPL> category=* category = Lessons Learned count= addpagecounter=true ordermethod=counter order=descending </DPL>

However, when I did this, the more generic apporach does not pick up on sub-category pages. When I use the absolute reference, I get a listing with all sub-categories, but using this relative reference only yields items that are specifically tagged with that category, and fails to provide any sub-categories.

Is this a problem or a feature? Any work arounds?

—205.175.225.24 16:23, 10 March 2009 (UTC)rwjorgen@rockwellcollins.com

(RESOLVED) film script templates needed

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.1.26-rc-5.1.26rc
 * URL: http://kein-nichts.de/wiki/index.php5?title=Hauptseite

Hello there

Mr. Sven Hagge from the german Wikimedia Support Team referred to you. He said you could help. That would be awesome!

What we wanna do is using your Wiki for an Open Source film script. A project in pretty the same area like MediaWiki:)))

Therefore some templates in WYSIWYG-outfit would be extremely helpful for the script-like look and feel from scratch as well as for organizational reasons for the later workflow.

0. Basics: - Font: Courier New - basic margins: at 3,0 cm (both sides)

1. Scene Headers: - in CAPITAL letters; e.g.       4. HARRY JUMPS - numbered

2. Dialogue: - Tabstop at 4,0 cm - margin right side of 4,0 cm

3. Dialog description: - in brackets; e.g.              (loudly crying) - Tabstop at 4,5 cm - margin right side of 4,5cm

4. Name of protagonist: - Tabstop 5,5 cm - CAPITAL letters; e.g.        VIKTORIA 5. Scene fadings: - Tabstop at 16,0 cm - CAPITAL letters

That´s it! Would U support our project by delivering these templates? Would be great. ThanX, Stephan

—84.62.29.78 17:53, 11 March 2009 (UTC)
 * Hello, Stephan, I could try it, but without warranty. If you agree, I will create an account over there for further arrangement. -- JörgM 84.156.130.207 09:30, 15 March 2009 (UTC)

Hi Jörg, (I hope this is the correct procedure to respond...) ... Actually I do not know what you mean by creating an account over there but I agree to everything what helps us! So: yes for sure please do so and please let me know about the further procedure. Could you get in touch to me via Email: info@sponduun.tv ? Perhaps that simplifies it for me:) Thanx so much, BR Stephan

Text Boxes with scroll bars in wiki?

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.77
 * URL: intranet, unfortunately

Hi everyone-

I'm using a intranet wiki as a research lab notebook, in an effort to simplify documentation and enhance collaboration. Our lab does computational genomics, and sending emails back-and-forth between researchers is getting old. I would like a way to put text boxes in my wiki, a la google sites (example I'd like to copy):

http://sites.google.com/site/howdoidowikitextboxes/

Any Ideas? Thanks in advance.

—152.132.10.2 17:32, 13 March 2009 (UTC)


 * Don't know how to arrange this just with wiki markup. But probably the whole will work similar to that page you mentioned if you enable raw HTML. (Be VERY careful before changing this setting to true.) Or try some of those extensions mentioned there. Any other suggestions? -- JörgM 84.156.179.240 22:28, 17 March 2009 (UTC)

TOC behaviour
(section headline added by 84.156.179.240 21:48, 17 March 2009 (UTC))


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

I have a page for documentation of an API. It is fairly large and the product owner doesn't want it broken up into multiple pages. The TOC is huge and causes formatting issues since it displays on the right side. Is there a way to force it to be located in a specific subsection and if not, have it initially minimized?

—206.28.72.1 17:56, 13 March 2009 (UTC)


 * 1) TOC usually is shown where you put the  magic word (see Help:Magic words).
 * 2) For registered users there is a way to suppress a TOC by changing a preference at user preferences, miscellaneous. Perhaps this will help a little bit, but I haven't tried this yet.
 * -- JörgM 84.156.179.240 22:15, 17 March 2009 (UTC)

Revision IDs: Special usage in templates

 * MediaWiki version: 11.0
 * PHP version: 5.2.5
 * MySQL version: 5.0.51
 * URL: internal

Hello! In addition to my question in the system section I am looking for a solution for the following problem: Incorporated in a template, I want to give a certain link to make it possible for the users of the page to compare the actual version of the page with a certain old version. I thought of something like

 </tt>

The problem is the oldid parameter. For easy use in the template it would be great if this parameter could be added by MW itself. Of course, it could be used with a parameter like

 } </tt>

but the oldid would have still to be determined by the person who inserts the template into a page. As those persons are not very familiar with MediaWiki insides (and are not really interested in), something like

 </tt>

e.g.  </tt>

(where that last revisionid is determined by MW) would be somehow more convenient for them, as the date is given by a certain timeline of updating the whole contents of the site to the (internal) public. Any chance for that? -- JörgM 84.156.130.207 08:45, 15 March 2009 (UTC)

Parentheticals in

 * MediaWiki version: 1.15alpha
 * PHP version: 5.2.5 (apache)
 * MySQL version: 4.0.40-wikimedia-log
 * URL: http://la.wikipedia.org/wiki/Pagina_prima

Is there any way to use but remove parentheticals? For example if a page's name is "Titanic (film)" is there a way I can use to produce only "Titanic" on a template? Thanks!

—Secundus Zephyrus 20:01, 16 March 2009 (UTC)

(RESOLVED) How can I get a discussion/talk report in home page?

 * MediaWiki version: 1.14.00
 * PHP version: 5.x
 * MySQL version: 4.x
 * URL: http://mamedev.emulab.it/undumped

As stated in the "how to report" comments on main page of the wiki, we would like to encourage the use of the discussion/talk to receive error feedbacks. I wanted to setup a part of the home page to report a list of the last, say, 10 active talks, summarizing the talk (eg, reporting the first 200 characters of the discussion or similar) I tried to google about hints on this, but seraching for "mediawiki talk report" or similar returns a huge amount of talk:report about something mediawiki pages all over the world, and no hint on how I can proceed. Can anybody please give me a hint on how to start to build this feature? Eg: a template to fit to my pages? A special page/extension to load? Thanks a lot for help, patience and assistance. s_bastian

—212.17.198.19 11:03, 18 March 2009 (UTC)
 * Problem solved, I just had to use the transclude function on special:recentchanges. I leave my question here for future reference

(RESOLVED) How can I change the toolbox section on sidebar?

 * MediaWiki: 1.9.3
 * PHP: 5.2.5 (cgi)
 * MySQL: 4.1.22-standard-log

How can I change the toolbox section on the sidebar? The reason the I am looking for an answer is I am trying to change the destination page for Upload file page rather than using the default page. Thanks for the answer.

—Manco Capac 11:52, 18 March 2009 (UTC)


 * There's something said about changing the sidebar including toolbox at Manual:Interface/Sidebar. Perhaps that helps for some steps ahead? -- JörgM 84.156.188.128 20:45, 18 March 2009 (UTC)


 * Thanks for the answer. I have checked but unfortunatyely that explanation is not so understandable if you are not familiar with programming. Therefore ı need more explanation in order to understand which file I have to edit? Thnaks in advance for the answer. --Manco Capac 20:22, 24 March 2009 (UTC)


 * According to that manual page the page to edit is your (!) MediaWiki:Common.js.
 * Copy the whole code which is shown on Manual:Interface/Sidebar in the section "code" to your MediaWiki:Common.js.
 * Change the following section of the code:


 * to something like the following:


 * Beware: You must have got admin rights to change your MediaWiki:Common.js! -- JörgM 84.156.192.48 21:53, 24 March 2009 (UTC)


 * Thanks a lot. Great! Now It's working. Best regards, --Manco Capac 11:00, 25 March 2009 (UTC)

Templates: On the articles using a template the noinclude includeonly tags work great but provide a white line.

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.5
 * MySQL version: 5.0.45
 * URL: http://wiki.sleepingfox.nl (Not editable for outsiders, sorry!)

This problem happens when using a predefined template on an article. The and  which are added on the used template generate a white line-space in it's place. How can i keep it from generating that white space in it's place? (Besides it generating a line-space, it works as it should.)

Example: http://sleepingfox.nl/wiki/index.php/Adamant_Warhammer (Directly under the colorized paragraph)

When using firebug (firefox), you can see the white space is a , and by messing around with the placement of I found out that this was causing it.

Thanks in advance for any help you might offer me.

—84.104.59.72 15:30, 21 March 2009 (UTC)

Uploading multiple image files?

 * MediaWiki version: 1.6.8
 * PHP version: 5.0.4
 * MySQL version: 4.1.10a-nt
 * URL:

How do I upload multiple images to the wiki that I'm using for internal documentation such as an installation guide.

—207.134.68.154 15:06, 26 March 2009 (UTC)


 * There are for example the Extension:MultiUpload or the PHP script Manual:ImportImages.php. -- JörgM 84.156.135.245 22:06, 26 March 2009 (UTC)


 * OK. But what about on the Windows side? [updated]


 * http://code.google.com/p/wikimediacommonplace/


 * Sorry, haven't seen your question update, moved it to a place where it can be seen in a better way. Yep, there are external programs like User:Wikademia mentions above. I tried Commonist, but this worked on Wikimedia Commons and failed to work on my own Wiki, though settings seemed to be correct. Haven't tried any other yet. -- JörgM 84.156.183.81 19:53, 26 April 2009 (UTC)


 * I have exactly the same problem for my localhost installation! Commonist on localhost --WikipediaMaster

How to achieve such effect: http://www.colbest.com/

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

This is a site powered by other wiki software: http://www.colbest.com/

I am wondering does this effect could be achieved by Mediawiki. Could I just use some CSS/HTML to do the same thing in Mediawiki?

—Code263 12:24, 11 April 2009 (UTC)
 * Which effect do you mean? All of those question marks which I get??? -- JörgM 84.156.139.76 15:42, 24 April 2009 (UTC)
 * It looks like they are using special software. It could probably be achieved through CSS/HTML, and maybe some PHP hacking. I doubt it would be too simple, but probably decently doable given enough desire/motivation.
 * Sorry for asking again, but which effect do you mean? I cannot see anything very special there, but I might be blind for it. -- JörgM 84.156.183.81 19:17, 26 April 2009 (UTC)

Editing the Sidebar

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.6
 * MySQL version: 5.0.37
 * URL: prabhupadvision.com/info

I have tried reading the FAQ's but am still unsure of how to properly edit the sidebar. I want to remove the search and toolbox, leaving only the navigation section. I tried editing the Mediawiki:Sidebar page and removed everything except for


 * navigation
 * mainpage|mainpage-description

But the search and toolbox sections still remain. I am not sure what I need to do. I am guessing that there is a php or js file somewhere that I need to edit.

Can you please tell me where I can find that file or what I need to do to successfully remove the search and toolbox sections from the sidebar?

Thankyou

—121.245.117.115 06:14, 12 April 2009 (UTC)
 * This could be a bug, or else maybe there is some setting hidden away somewhere. I could not do that either.
 * I am afraid that this is not a bug, but a feature. Remember, MediaWiki is intended for Wikimedia projects where you usually need a search bar and the toolbox, so it probably it is not intended to remove both from the sidebar. (Sorry, this is just my personal opinion about, and I know this does not help to do removing. But MediaWiki programmers seem not to read the questions on the support desk ...) -- JörgM 84.156.183.81 19:29, 26 April 2009 (UTC)

TOC is not displayed for anonymous users

 * MediaWiki version: 1.13.2
 * PHP version: 5.0.4 (apache)
 * MySQL version: 4.1.13
 * URL:

I have a problem because TOC is not displayed for anons. As soon as a user is logged in, the TOC is properly displayed. All articles are started with the magic word as first line. Do you guys may know if this is due to a configuration error or if there's a setting somewhere to explicitly enable TOC for anonymous users? After spending days with investigating the Manuals (for LocalSettings.php, Skins, User Preferences, etc), FAQs and even Google I run out of ideas on how to find a solution. Hope this posting will help to resolve this issue - any hint or help is thankfully appreciated.

—KlausDH 17:12, 22 April 2009 (UTC)
 * Hm. A table of contents is just shown, if there are more than 3 headlines on the page.  is just giving a place for the table of contents. To force a table of contents on the page, even if there are less than 4 headlines on it, use  (maybe with adding  on the place where you want to have your TOCs). But I don't know if this helps you, your description seems to show a more complex problem ... Any URL for having a look onto those pages if the text above does not give a solution? -- JörgM 84.156.139.76 17:08, 24 April 2009 (UTC)


 * First of all: Thanks a lot for your comment! Based on your hint I made a test with but got the same result. Am just thinking of a solution to grant access for you to the wiki as it is operated as an intranet solution. --KlausDH 06:42, 6 May 2009 (UTC)

Many templates are not formatting properly

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.6
 * MySQL version: 5.0.67
 * URL: http://wikademia.org/Nagina_Group

@ Wikademia the template displays differently than at: http://en.wikipedia.org/wiki/Nagina_Group

Same with: http://wikademia.org/Sulphur_Springs_Municipal_Airport - The main template there should be smaller, have a border, and on the right side of the screen.

Many templates seem to not be working as they should. Why might this be?

—Wikademia 13:12, 26 April 2009 (UTC)


 * Concerning the template you first mentioned, there is missing at least the css class "infobox" in your MediaWiki:Common.css. As an alternative, you could put all those css code to the respective infobox templates. -- JörgM 84.156.183.81 19:14, 26 April 2009 (UTC)

YAML skin for MediaWiki

 * MediaWiki version: 1.14
 * PHP version: 5.1.2
 * MySQL version: 5.0.x
 * URL: localhost
 * YAML: 3.0.6

Hello,

i developed a skin for MediaWiki based on the YAML Framework.

How is it possible to get this checked (css id's and classes) by MediaWiki experts?

At the moment the 1st version is getting checked by some yaml experts, but still some verifying of MediaWiki experts' needed.

And how is it possible to deploy this as an official skin option into further MediaWiki branches??

Kind Regards

Guido Palacios

Related Links
YAML (HTML / CSS Framework)

—91.46.184.179 22:28, 29 April 2009 (UTC)


 * Ask on IRC or the mailing list. —Emufarmers(T 03:11, 30 April 2009 (UTC)

1)SVGs 2)Categorytree in sidebar 3)Autocollapse tables

 * MediaWiki version: 13.3
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.2.6 (cgi-fcgi)
 * URL: www.peacecorpswiki.org

1) Occasionally I get "Error creating thumbnail: convert: Non-conforming drawing primitive definition `polygon'." with SVG files. Tried suggestion on: http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Image_Thumbnails_not_working_and.2For_appearing Would you recommend changing to Batik as an alt SVG image render?

2)I would like to incorporate the category tree on my sidebar....with the Modern skin. The monobook skin displays the tree fine and the directions state it should run on with the modern skin: http://www.mediawiki.org/wiki/Extension:CategoryTree#Using_CategoryTree_in_the_Sidebar

3) I would like to auto collapse tables: http://www.mediawiki.org/wiki/Manual:Collapsible_tables Implemented this code in the appropriate location and NO tables could be collapsed with the the exception of the default TOC

—Mappc 15:02, 1 May 2009 (UTC)


 * to 3) I tried the code on my 1.13.4 wiki, and it worked with simple tables (like shown on Manual:Collapsible tables) both in wiki markup and in html markup. So the code itself is working. -- JörgM 84.156.129.221 19:20, 1 May 2009 (UTC)

(RESOLVED) Link color

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.50sp1a-enterprise-gpl-log
 * URL: http://conduit.wikia.com/

How can I change the color of the links in my Wiki? I'm referring to the existing pages links, not the red links. As you can see, they're sky blue, but I want to make them a darker blue, so they don't blend in with white backgrounds. I would really appreciate your help.

—SilverBlade784 19:15, 1 May 2009 (UTC)


 * I just added

a {color: silver;}
 * to my MediaWiki:Common.css: most of the internal links were changed to silver (just the user navigation bar on the top not). External links have a separate class "external text", so you would have to add this class, too, if you want to change their colour. Internal links to non-existing pages (those red links) have the class "new", so they should not be touched by a change. -- JörgM 84.156.129.221 19:38, 1 May 2009 (UTC)

Thanks, but is there a specific place in MediaWiki:Common.css to add that? I put it right at the botton of the code, and it hasn't changed the color of the links. —SilverBlade784 19:15, 3 May 2009 (UTC)


 * Sorry, it seems this is caused by the Wikia wiki farm and it's usage of skins. If I am right you are using a skin named Monaco, and a dark variant of it. There's something about this at http://help.wikia.com/wiki/Help:Customizing_Monaco/Dark_skin, and I think you have to customize your page http://conduit.wikia.com/wiki/MediaWiki:Monaco.css instead of http://conduit.wikia.com/wiki/MediaWiki:Common.css. You should delete the color code for "a" on Common.css before adding it to Monaco.css. On the bottom of the page would be the best, but there are a lot of definitions for links on this page so you probably have to play a lot to find the right way. Maybe you better change just the existing color definitions for links. Color for internal links is A0E0FF, so check all the respective selectors where this colour is used.
 * By the way, "silver" was just the colour I used to check the behaviour on my wiki. Which colour is appropriate on your wiki pages you have to find out yourself. -- JörgM 84.156.128.106 20:09, 4 May 2009 (UTC)

Thank you very much. It worked. I just added a new color to #wikia_page a { color:#5599ba; } I'll add "resolved" to the title of this post. --SilverBlade784 00:06, 5 May 2009 (UTC)

surely there is a way to download and install the Templates
Hi,
 * MediaWiki version: 1.14
 * PHP version: 5.2.6-2ubuntu4.2
 * MySQL version: 5.0.67
 * URL: intranet

I've copied some pages from wikipedia to the local mediawiki at our school, as examples of other schools' wiki pages for our students to ponder. But all of them use Templates, and those Templates in turn include other Templates... surely there is a way to download and install the Templates just as I downloaded and installed the mediawiki software itself? But I haven't been able to discover it. Can someone please point me to it? Thanks in advance.

—Jfmxl 05:03, 2 May 2009 (UTC)


 * No, templates are usually simple MediaWiki pages like any standard article at Wikipedia, so you usually can copy them like a simple page. There's a special namespace for them, in English "Template:", but it's also possible to embed almost any other MediaWiki page as a template with resp.  if it's a page from the main namespace (see Help:Templates for a first overview). But beware: Simple templates can be complete, but complex templates, as you mentioned in your question, refer also often to MediaWiki:Common.css for Cascading Style Sheets or need Extension:ParserFunctions or something like that. Best is: Try to find out who made or worked on the templates you need and ask him/her for help, because there is no easy standard procedure – unfortunately. -- JörgM 84.156.143.47 09:19, 2 May 2009 (UTC)

Well... thanks I guess. No thanks I'm sure! It's just that this looks like a very messy job at this point as there are quite a few Templates involved. I hope that someone is looking into these 2nd generational problems with the wiki. Thanks again.

Jfmxl 14:25, 2 May 2009 (UTC)

"Split" main page

 * MediaWiki version: 1.13
 * PHP version: 5.2.6-1+lenny2
 * MySQL version: 5.0.51a-24+lenny1-log
 * URL:

Hi,

I use MediaWiki as my personal homepage. Now I would like to "split" my main page the same way as in http://www.mediawiki.org/wiki/MediaWiki. I do not know how to accomplish this.

How can I simply define these boxes and arrange them on the main page?

—212.183.54.101 10:47, 3 May 2009 (UTC)


 * Basically it's a table with different cells. The cells are filled with other tables resp. templates containing tables. (That's an old HTML trick for columns and rows on a webpage, as far as HTML can't do it by default.) The frames are defined by css, probably at MediaWiki:Common.css, I think, but this can be done in the table's code as well, though it's blowing out the code. Below is a simple (but not elegant) example which at least works on one webpage (just all the text is omitted).


 * -- JörgM 84.156.131.135 12:21, 3 May 2009 (UTC)


 * Thank you very much!
 * I just thought it would be something more sophisticated ;-)
 * --Niki 15:15, 3 May 2009 (UTC)