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


 * 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

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

formatting PHP/CSS code

 * MediaWiki version: 1.13
 * PHP version: latest
 * MySQL version: latest
 * URL: http://www.bandwiki.net/

I want to edit my wiki's code so that I can place a banner down the right side of the page. I am not PHP proficient, and can't seem to figure out which mediawiki document to edit.

What I image in either I need to place a table with a fixed with (allowing for the size of the banner to its right) on the page, or modifying the div's so that the content of each page would only have a width of x00px.

Also wondering, if there would be anyway for me to use our main sites (ASP/SQL) banner rotation script to run within the mediawiki page. This probably can be down using inline-frames; right?

—64.91.123.139 15:34, 20 January 2009 (UTC)


 * Haven't tried this yet, but how about a try with Extension:DynamicSkin, for example? If I understand it's usage right, you could add templates and scripts to your site without changing code, just by using standard wiki markup on a standard wiki page. But of course you would have to play with it to find the right way. -- JörgM 84.156.161.134 08:52, 7 May 2009 (UTC)

Delete all templates or undo import

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8 (cgi)
 * MySQL version: 5.0.67-community
 * URL: http://adbandonados.info

Hi. I've tried to import a lot (a lot!) of templates of wikipedia.org. The thins went wrong (php timeout, etc) and I've imported serval times same templates. Now everything is a complete mess. Templates with loops all over arround. There is anyway to delete all templates at once, to start creating/importing it like it should be?

Thank you in adavance

—Luminoso 18:56, 21 January 2009 (UTC)


 * No site with this URL. Given it up? -- JörgM 84.156.161.134 08:54, 7 May 2009 (UTC)

Main Page Edit

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.42-servage8
 * MySQL version: 5.0
 * URL: http://wiki.tdltinc.com

How can I remove the "Main Page" header at my Main Page? Like you did to your Main Page, there's no "Main Page" header on it. The "Welcome to MediaWiki.org" comes first. How can I customize my site? Please help... And how you did those like tables blocks?

Thanks for an advance reply. Please e-mail the answer to "tdltinc@yahoo.com".

—125.60.209.72 03:09, 6 February 2009 (UTC)


 * Try adding

.page-Main_Page h1.firstHeading {display: none !important;}
 * to your MediaWiki:Common.css. And the blocks looking like derived from tables are tables, though a little bit more complex than a simple wiki table. (Have a look below under .) -- 84.156.161.134 09:20, 7 May 2009 (UTC)

Sections

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

Hi I am trying to find information for creating sections within articles that are constant throughout all articles (but not the homepage) and appear when someone is creating a new article.

For example if you look at http://www.wikihow.com/Become-a-Restaurant-Manager you will see sections such as 'Steps' and 'tips'. The same sections will appear if you try and create new page. All of these sections are also editable on their own. I am dying to find out how you create them, where you need to put code and what code...

Please help!!

Thanks Warren

—81.171.227.211 14:58, 6 February 2009 (UTC)


 * Have a look above under . -- JörgM 84.156.161.134 09:23, 7 May 2009 (UTC)

Subsection edit

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.0-8+etch11 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch6-log
 * URL:

Hi, i wanna create two subsections side by side, is this possible ? and if yes how can i manage this ??

For example == H2 == defined space length == H2 ==

thanks for ur Help

—84.179.142.87 10:39, 8 February 2009 (UTC)


 * Probably just with a table. The following code

{| cellpadding="20"
 * width="350px" |
 * width="350px" |

Headline
A lot of text ...
 * width="350px" |

Headline
A lot of text ...
 * }
 * gives the following result:

{| cellpadding="20"
 * width="350px" |
 * width="350px" |

Headline
A lot of text ...
 * width="350px" |

Headline
A lot of text ...
 * }
 * -- JörgM 84.156.161.134 09:38, 7 May 2009 (UTC)

Changing Colors in links
I would like to change the colors pf the links in my wiki. Well, I could fix the 'usual' links, to existing pages, but not the red links to not (yet) existing pages. Where can I do that? —77.165.129.87 01:31, 19 February 2009 (UTC)


 * Have a look below at . -- JörgM 84.156.188.3 20:45, 8 May 2009 (UTC)

Language template does not work

 * MediaWiki version: 1.13.4
 * PHP version: 2.11.7
 * MySQL version: 5.0.51b
 * URL:

I have set up mediawiki in our intranet, but when I use language template, I have typed the in the edit page ,but it does not working. After saving source, it just show Template:Languages link in the page. Could you help me solve this? After I click show preview button, I can see the " " button is working in this site.

but it failed on mys —The preceding unsigned comment was added by 167.230.38.118 (talk • contribs) 08:41, 23 February 2009. Please sign your posts with ~ !


 * Hm. Have you added a template named Template:Languages to your wiki? You have to do this first before using it. It's not delivered with MediaWiki. -- JörgM 84.156.188.3 20:45, 8 May 2009 (UTC)

Page is not displayed

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.8
 * MySQL version: 5.0.67
 * URL: http://www.freeallegiance.org/FAW/index.php/Enforcement_FAQ (protected; this page is editable and also affected but you need an account to edit pages.)

The page is simply not rendered at all. But the problem is pretty weird.

Here's an outline of the page:


 * 1) What's new
 * 2) Pook's Rules of Conduct for Dummies
 * 3) Players' FAQ
 * 4) Boots
 * 5) Bans
 * 6) Issues management
 * 7) Commanders' FAQ
 * 8) Boot On Sight
 * 9) Acceptance of Players
 * 10) Newbie boot protection
 * 11) Lobby booting
 * 12) Commanders' rights
 * 13) Veteran Conduct
 * 14) Newbie Servers
 * 15) Veteran Players & New Accounts
 * 16) Directives to @Alleg
 * 17) Balanced teams and accepting newbies
 * 18) Misc

Sections 1 to 4.2 render just fine. Sections 1 to 4.3 give a blank page. Sections 4.1 to 6.2 render just fine, though! There are longer pages on the wiki, and pages with more templates. There currenly is some trouble with the database; however, this seems unrelated.

—Bp 10:31, 9 May 2009 (UTC)


 * Hm. Difficult. But there are three things that let me (! I may be wrong, very wrong!) think about database, not formatting:
 * All three pages "Enforcement FAQ", "Enforcement FAQ/Sanbox" and "Enforcement FAQ/Sandbox" are affected.
 * I can't see ANY revisions of "Enforcement FAQ", "Enforcement FAQ/Sanbox" and "Enforcement FAQ/Sandbox", not only the actual revisions.
 * Texts/codes of the actual revisions of "Enforcement FAQ" and "Enforcement FAQ/Sandbox" (the third I haven't tested) render fine when copying it to a page at my 1.13.4 wiki (except for the templates I don't have).
 * By the way, the headline "What's new" is missing in the actual source code of "Enforcement FAQ".
 * I don't know what to do, but I would at least try the following, if there are no better suggestions:
 * Saving the texts of all the three pages. (At least those parts of the text which you want to use for these FAQ.)
 * Deleting all three pages. (Best if they could be deleted from the database as well, but this needs command line access to the wiki for its maintenance tools, I think. Never have done this. Or use of Extension:SpecialDeleteOldRevisions2 or something like that. Or killing it directly in the database ;-).)
 * Building the page new, sentence by sentence, paragraph by paragraph.
 * But of course, there may be better suggestions. And if it's a problem with the database, there might be more problems, perhaps not detected yet. As it's probably no formatting problem, you might also ask in another section of the support desk (system or database). -- JörgM 84.156.129.191 12:54, 9 May 2009 (UTC)


 * Thanks. I'll try and take it there. --Bp 13:21, 9 May 2009 (UTC)


 * You have an unfinished upgrade; run the update script. —Emufarmers(T 13:23, 9 May 2009 (UTC)

(RESOLVED) How do I create tables like those on the home page of MediaWiki?

 * MediaWiki version: 1.14
 * PHP version: 5.2
 * MySQL version:
 * URL:

How do I create tables like those on the home page of MediaWiki? I really like the boxed with pics.

I have searched hi and low, please help?

Sorry I just found the answer in a post above.

—59.167.230.18 07:08, 13 May 2009 (UTC)

Ordered lists broken by code listings

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.4-2ubuntu5.4 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.4
 * URL:

Hello,

I have a problem with formatting the text. Probably this is not a problem at all but I didn't find the answer on your website.

I want to add the source code extract to ordered list. But it is breaks the list due the new lines in source code. And there is no indent for code block. Please help.

Example below:


 * 1) Item1
 * 2) Item2
 * 3) Item3
 * 1) Item4

—213.184.254.169 12:23, 13 May 2009 (UTC)


 * Does probably not work just with wiki markup, but list tags are also allowed in MediaWiki (see meta:Help:HTML in wikitext). Your example works with the following code:

<ol> <li>Item1</li> <li>Item2</li> <li>Item3</li> <li>Item4</li> </ol>
 * which results in the following list:

<ol> <li>Item1</li> <li>Item2</li> <li>Item3</li> <li>Item4</li> </ol>


 * or – less elegant – with combining:


 * 1) Item1
 * 2) Item2
 * 3) Item3
 * 1) Item4</li>
 * 2) Item5
 * which results in the following list:


 * 1) Item1
 * 2) Item2
 * 3) Item3
 * 1) Item4</li>
 * 2) Item5


 * Indent for source code can be done by adding : in front of the line:


 * 1) Item1
 * 2) Item2
 * 3) Item3
 * 4) Item4</li>
 * 5) Item5
 * which results in the following list:
 * which results in the following list:


 * 1) Item1
 * 2) Item2
 * 3) Item3
 * 4) Item4</li>
 * 5) Item5
 * 1) Item5


 * Additionally, have a look at wikipedia:en:Help:List or wikipedia:de:Hilfe:Listen. -- JörgM 84.156.195.119 19:12, 13 May 2009 (UTC)

How Do I change the link on successful login to another page other than main?

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67-community-nt
 * URL: private wiki on a usb key

I've installed the Mowes mediawiki package to test/learn and play with it.

What I want to be able to do is have a main page and after successful login instead of the link pointing back to the main page have it point to another page. I understand that Special pages are not editable like the rest.

Thanks Alan —Dragos 21:28, 17 December 2008 (UTC)


 * Probably it's the system message MediaWiki:Returnto which you have to customize, accessible also via Special:AllMessages. It does not pointing back to the main page, but to the last page you have seen before logging in. Be careful, I don't know, if this message is just used after login. In doubt don't replace the link variable, just add the page you want to have a link to. -- JörgM 84.156.191.245 18:06, 5 May 2009 (UTC)


 * In 1.15rc1 there's a new configuration setting $wgRedirectOnLogin, which I think will fit to this need. See http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_15_0RC1/phase3/RELEASE-NOTES -- JörgM 84.156.181.134 10:10, 16 May 2009 (UTC)

Problem in 1.13.0 with links to pages with :: in the name.

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67-log
 * URL: (internal)

I'm in the final throes of migrating our wiki from 1.8.2 to 1.13.0 and have discovered a quirk in the handling of links such as This::That. These are handled correctly here (1.15alpha) but in 1.13.0 that link points to "That". I've looked but not found this change documented - is there a patch available that I could apply?

—Andthepharaohs 13:22, 18 May 2009 (UTC)


 * I just tried this on my wiki which is 1.13.4 and on two test wikis which are 1.11.0 and 1.9.6 – This::That gave This::That like here. -- JörgM 84.156.193.13 18:35, 18 May 2009 (UTC)

code and source tag in articles

 * Moved from Project:Forum Happy ‑ melon 21:51, 19 May 2009 (UTC)

Hi, I'm trying to insert so code sample into my articles. Unfortunatly, it seems that the code, source and poem tags do not work at all. For example, if I try to insert some CSS sample, the # becomes a list. And I loose of course the standard coding incrementation. I saw multiple mediawiki implementations working with these tags, so I wonder what I do (or did) wrong.

Thanks for your help.

--SOnO 13:22, 20 April 2009 (UTC)
 * The "code" tag is not meant to be used for multi-line code examples. You may either use "pre" instead, or use "source" after installing Extension:SyntaxHighlight GeSHi. For "poem" you should install Extension:Poem. – rotemliss – Talk 14:08, 20 April 2009 (UTC)

What is the "proper" way to modify the toc (table of contents) box to add html to the right of it?

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version: 5.0.67-log
 * URL: http://www.solarpneumatichybrid.com/wiki/Breaking_News

I love the toc (Automatically generated Table of Contents). I would like to customize my mediawiki so that anytime the toc is displayed, a div and some javascript is added after it (so that the div is displayed to the right of the toc). I'm sure a lot of people have done this already. What would be the proper way to do this? Should I write an extension? Or should I just append the code that displays the toc? I want to do this as quick and easy as possilble while ensuring that when I upgrade mediawiki in the future I won't have to re do my customization.

Thanks in advance,

—Losmurfs 15:56, 20 May 2009 (UTC)

Problem with ordered list and an indented table

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.9-2 (cgi-fcgi)
 * MySQL version: 5.0.24a-community-nt
 * URL: http://wiki.smarthome.com/index.php?title=Remotely_Setting_the_Ramp_Rate_for_an_X10_Scene_Address

1) Cannot resume numbering of an ordered list (using # character at beginnig of line), after a table. Is there a way to do this without using HTML?

2) Content after the second indented table is not returning the left margin. List item numbers 4,5 and 6 should be flush left with items 1,2 and 3. The table between list items 4 and 5 should be flush with the first two tables. After each table, I restart list item numbering with the HTML ol tag. As you can see, this seems to work for the first part of the page, but after the second table everything gets indented further. NOTE: the large table on this page is actually 3 tables embedded in another 3-cell table.

Can anyone help me fix this?"

—198.173.162.2 17:11, 21 May 2009 (UTC)


 * There's no wikimarkup way of starting an ordered list at a number other than 1; as you've found, the solution is to use the  <ol> </tt> tag directly. Try adding a linebreak between the end of the table and the  </tt>; that should reset the indentation. Happy ‑ melon 21:42, 21 May 2009 (UTC)


 * I would suggest: Use ONE ordered list with HTML tags from the beginning and don't indent the tables (they are indented by the list - at least with my FF 1.5). The following code (just simplified)

<ol> <li>Text <li>Text <li>Text {| border="0" cellpadding="2" width="50%"

<li>Text
 * }
 * }

<li>Text <li>Text </ol>
 * gives the following result:

<ol> <li>Text <li>Text <li>Text {| border="0" cellpadding="2" width="50%"



<li>Text
 * }

<li>Text <li>Text </ol>
 * If you want to indent the tables more than this, add something like style="margin-left: XXpx;" to the tables' heads.
 * Concerning resuming numbering of lists with wiki markup, see also above . -- JörgM 90.179.238.201 20:32, 22 May 2009 (UTC)

Alternative to MediaWiki:Talkpagetext for all non-Talk edit pages?

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9
 * MySQL version: 5.0.67
 * URL: n/a

Just a quick question. I want to post a link to my "article guidelines" page on each non-talk edit form in my wiki. I already found MediaWiki:Talkpagetext which does this for the talk edit forms, but I haven't found a similar page for the non-talk edit forms yet. Does it exist and if so, what's it called? Thanks! —78.20.48.49 14:57, 24 May 2009 (UTC)
 * You can make your own editnotices for any namespace: MediaWiki:Editnotice-0 for the mainspace, MediaWiki:Editnotice-2 for userspace, etc. So you just need to put a copy of (or a template containing, make sure it's protected!) the guidlines, in the editnotice for each even-numbered namespace. Happy ‑ melon 21:27, 25 May 2009 (UTC)
 * Thank you! That is exactly what I was looking for! —81.82.72.97 20:29, 26 May 2009 (UTC)

Wikipage Background

 * MediaWiki version:1.15alpha (r48892)
 * PHP version:5.2.5 (apache2handler)
 * MySQL version:5.0.51a-community-nt
 * URL: Still localhost

i want to make a wikipage got an background color like the light purple at the manual pages. how do i do this? :)

—84.27.52.84 14:14, 27 May 2009 (UTC)


 * The background colour here on mediawiki.org is set in our MediaWiki:Common.css file, which applies CSS to all wiki pages. For the Manual: namespace, we have


 * You may need to look up the syntax of CSS in order to understand what this code is doing. Hope this helps, Happy ‑ melon 16:02, 27 May 2009 (UTC)

RecentChanges Filtering

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.8
 * MySQL version: 5.0.45
 * URL:

Hi, we're using MediaWiki for organisation of our campus group. I added " " to our mainpage so that every user is advised of new topics. My problem is that that articles of a certain category are changed much more frequently than others. It doesn't make sense to get informed about changes in this categories' articles. How can I filter this category? On the RecentChanges Page itself it is possible with "$wgAllowCategorizedRecentChanges" but I don't know how to use it on our mainpage.

Thank you!

—Trop 18:39, 11 June 2009 (UTC)

Template's CSS styles not rendering all of a sudden?

 * MediaWiki: 1.15.0
 * PHP: 5.2.9
 * MySQL: 5.0.81

Everything was working fine, I was editing some article categories and uploading some images, and when I went to randomly test out the $wgReadOnly variable, it didn't seem to work, and instead all of my templates' CSS styling codes stopped rendering. The site skin worked, the images were good, just simple stuff like table background color showing as  instead of modifying the text / background. Why is this? I turned the $wgReadOnly off and still nothing, reconfigured my LocalSettings.php back to default, nothing, cleared my cache, nothing. Although the table borders are fine...

In a normal wiki, it would show this:

But instead it shows this:

Can anyone help? 99.252.59.196 02:31, 28 June 2009 (UTC)


 * Alright, I found that if you removed the second pipe from the "rowspan" line, it rendered. However, it used to render with or without it. Is that going to be a problem for future templates of that kind? 99.252.59.196 02:47, 28 June 2009 (UTC)

Displaying the true (raw) content of a parameter inside a template
I want to pass wiki code in a parameter to a template.
 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9-1 (apache2handler)
 * MySQL version: 4.1.22-community-nt
 * URL:

The template has to display the parameter's wiki code in two ways:


 * 1) As code (raw text as it is given by the parameter)
 * 2) As normal wiki output (the normal output that comes from the code in the parameter)

Normal wiki output is easy: I simply write inside the template: The code inside this parameter is automatically converted to wiki output.

But I don't know how to display the parameter's "raw" value.

For example, I call the following template:

If I use

in the template, the following output is done:


 * line 1
 * line 2

Now, how to I get the template to show the "raw value" of the parameter:


 * line 1
 * line 2

If I use this:

I only get:

If i use:

I only get:


 * line 1
 * line 2

with Courier New font.

Thanks

Frank

—213.221.89.78 14:20, 22 June 2009 (UTC)

Response
Hey Frank, Have you made a Template page of what your trying to do? The way to do what you are doing is to first create a page Template:Something.

On this page type in your format as such

Then when you are trying to use it this is your wiki format: Then it will spit out this: Let me know if this works for you, i did this on the fly and havent done templates for my wiki in a while (got them done first and then left them alone). Goldbishop 15:35, 3 July 2009 (UTC)

(Resolved) Custom skin does not work after upgrade

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.8
 * MySQL version: 5.0.51a-log
 * URL: http://plee-the-bear.sf.net/wiki

Hi,

I have upgraded our wiki from version 1.13 to 1.15.0 and, then, our custom skin stopped working (the pages were displayed with no css at all). The skin was made of files wiki/skins/Plee.php, wiki/skins/Plee.deps.php and the directory wiki/skins/plee. Everything was copied from the monobook skin and the colors were modified. I finally made things working by copying the file wiki/skins/plee/main.css in the MediaWiki:Plee.css page. Nevertheless, I still can't make external links working properly. The picture external.png never shows with the links (but there is an empty place for it).

Second point, the source code displayed with the SyntaxHighlight_Geshi extension has different margins if I use line numbering (see ).

Regards,

—Julien Jorge 16:58, 26 June 2009 (UTC)


 * Resolved by copying the new code of the MonoBook skin. —Julien Jorge 12:27, 30 June 2009 (UTC)

Sidebar and JS

 * MediaWiki version: 1.15
 * PHP version: 5
 * MySQL version: 5
 * URL: sl3d.woodassoc.us

I am trying to develop my sidebar through the Common.js page. I have added 2 sections programmatically through the javascript page and was wondering, if it was possible to make the sidebar sections conditional. By this i want to have something like this.

If thats not possible in the MediaWiki:Sidebar page then can i do that in the Common.js page. Here is my current code segment that deals with the sidebar. As i am not sure how the wiki stores the authentication and the security group the user is contained in, if it is a session state variable, where would i go to find out what the session variable is? So i can put the javascript conditional statement in the function CustomizeModificationsOfSidebar? I am relatively confortable with javascript but again not sure of the source of the wiki engine so just need someone to point me in the direction as all the searches i have done have ended up at Extensions or Explaining user rights and not necessarily how to pull the user rights during a page refresh(whether a hard refresh or click through refresh)

—Goldbishop 15:18, 3 July 2009 (UTC)


 * Each page loaded includes a number of useful JS variables, one of which is wgUserGroups</tt>, an array of strings of the groups the user is in. The MediaWiki software parses the user's login credentials (which are stored in a cookie) and sets appropriate values for this variable; all you have to do is use code like


 * Is that what you're looking for?
 * Also, there is the predefined function:


 * Which can be used to make adding links to the sidebar much easier. Hope this helps. Happy ‑ melon 15:34, 3 July 2009 (UTC)


 * So i can just put the if statement in the Common.js area of code to evaluate what usergroup the login user is in as you stated above and if that usergroup is present then it will parse out the section of code i put in the conditional section?

Goldbishop 15:46, 3 July 2009 (UTC)
 * Well ended up pasting this in the Common.js after doing some testing and im not quite sure why it is working but should be interesting to try and figure out why.


 * Not quite sure why puting NOT in front of the comparison works cause it would seem to me to be anti what i am trying to do.
 * Goldbishop 18:28, 3 July 2009 (UTC)

(resolved) Problem with a template, I want empty/unused variables to leave blank spaces not

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version:  5.0.67-0ubuntu6-log
 * URL: http://wildedibleplants.wikia.com/wiki/Template:Bigsitelinks http://wildedibleplants.wikia.com/wiki/Taraxacum_officinale

I'm trying to write a simple template which will create a table. Each variable is to contain only the URL to a link which is to go into the table. All the other formatting is to be done by the template (putting the link in square brackets and giving it a name). I can get all that to work so long as all the variables are filled in at on the wiki using the template. What I haven't been able to do, and I've been trying to use parser functions to do it, is to have empty cells in the table (instead of or whatever) when a variable is empty. I tried using the #if function and I think I used it correctly, but it doesn't seem to work with variables.

The reason I'm doing this instead of just doing it manually is that there will potentially be many links per page when this wiki I started gets going (*crosses fingers*) and I want to start organizing the common, big sites now, keeping them in the same order.

There's probably a simple answer to this but I haven't found it in the help pages I've read...

Thanks for your time

—Khono 00:33, 22 June 2009 (UTC)


 * Still looking for an answer. Khono 03:17, 8 July 2009 (UTC)


 * You can specify a default value for when a parameter is not defined:  </tt> displays "foo" when the parameter is not defined in the template.  So you probably need   </tt>, to give an empty default.  Is this what you're looking for? Happy ‑ melon 10:46, 8 July 2009 (UTC)


 * While that gets rid of the it's not appropriate for what I'm trying to do.  I'm trying to make the template accept only the URL, since everything else is style and we may (and likely will 'cause it looks horrible now) change what we do with that URL.  I currently put square brackets around it to make it a link, so leaving it blank results in: "[ Wikipedia]" instead of the goal of just: "Wikipedia".  So I'd want to be able to leave out all the supporting code around that parameter if the parameter's empty.  Thanks anyway, though :)  Khono 13:34, 9 July 2009 (UTC)


 * You could also use this and make your templates a living nightmare :) | #ifeq usage
 * something to look at as far as usage, i have about 20 templates that have required fields which are shown in the black box below but the optional fields are invisible but are still in the template format when someone uses them, i even went so far as to nest conditional fields for the template even if someone uses the field, it wont show unless there is another field that is used first. This is to show you how complex you can build a template and this is a light complexity compared to what i have seen on other wikis.
 * You can go here and view the source to get a better understanding of this templates customizable attributes
 * If you have any questions, just send me a email through my account Goldbishop 12:54, 8 July 2009 (UTC)


 * Hah, thank you very much, Goldbishop! It's now working as I intended and without too much pain!  I'm fine with using these parser functions.  I didn't have much luck using them before and I didn't find any useful examples of the #if functions until you showed me yours.  I looked at the code for the only other template I could think of that showed different content based on what was entered and it's RIDICULOUSLY!! complex.


 * I do have some questions, though. The link you gave to the documentation of #ifeq shows different.. umm, code structure than you used in your example.  In your example you wrote:
 * Which, if I understand correctly, can be described as:
 * The documentation you linked to doesn't mention an else function and it uses a | before the first value instead of a :. While it seems I understand since I got my template to work (see the links I posted in the original question if you care to see), I am curious as to why the discrepancy.  Again, thanks so much, you made my day :)  Khono 14:19, 9 July 2009 (UTC)
 * The documentation you linked to doesn't mention an else function and it uses a | before the first value instead of a :. While it seems I understand since I got my template to work (see the links I posted in the original question if you care to see), I am curious as to why the discrepancy.  Again, thanks so much, you made my day :)  Khono 14:19, 9 July 2009 (UTC)
 * The documentation you linked to doesn't mention an else function and it uses a | before the first value instead of a :. While it seems I understand since I got my template to work (see the links I posted in the original question if you care to see), I am curious as to why the discrepancy.  Again, thanks so much, you made my day :)  Khono 14:19, 9 July 2009 (UTC)


 * The #ifeq: parser function is from the ParserFunctions extension. Happy ‑ melon 14:31, 9 July 2009 (UTC)


 * Cool, thanks again, Happy-melon. Khono 15:27, 9 July 2009 (UTC)

Help with templates and basically everything

 * MediaWiki version: 1.15.0
 * PHP version: 2.11.9.5
 * MySQL version: 4.1.22
 * URL: www.mysite.com

Can anyone lay out a simple explanation of how I put info boxes and things on my wiki? The tutorials on here really make no sense and there is no good one out there.

Basically, I want to make it have everything wikipedia has on their website.


 * RTFM. I'm afraid no one is going to help you with a 'problem' like this, because you haven't demonstrated any effort to help yourself.  There are hundreds of pages of tutorials, help guides, Q&As, FAQs, template documentation notes, and other useful information, available on this website, enwiki, and (just a Google search away) on dozens of other sites.  "everything wikipedia has" has been built up over eight years by a team of thousands of editors.  Learning how it all works is a gradual process, not one that you can expect to master instantly.  If you have specific queries about particular features or markup, we're always here to help.  But your question is essentially "how do I write a wiki", the answer for which comprises this entire site. Happy ‑ melon 15:30, 3 July 2009 (UTC)

—Tab01 04:45, 3 July 2009 (UTC)


 * Sorry, I should have clarified my question. Obviously I can't make mine look exactly like Wikpedia. I simply wanted the infoboxes that way I can create my own. I've went through and edited the LocalSettings.php to include the parser function and added it to the extension folder. There is no good template out there on what to actually edit or include into your site to allow it to read infoboxes. At least I have found a single good tutorial on how to do it.


 * Here are a bunch of examples of templates. I looked at a few and they seem pretty simple yet there are various types with different appearances.  Perhaps these will help you out.  If you use these examples along with the tutorials for writing Templates, I believe you will learn how to make your own.  Khono 09:09, 10 July 2009 (UTC)

Sidebar changes not showing up
I've followed the directions at http://www.mediawiki.org/wiki/Manual:Interface/Sidebar but for some reason my changes are not showing up. I've tried purging the cache but this hasn't worked for me. I was able to have my changes show up before, so I'm not sure what I'm doing differently now that this isn't working any more. My sidebar has now reverted to the default settings it had when I first installed MediaWiki and no matter how much I edit MediaWiki:Sidebar I cannot get it to change. I'd be grateful for any advice. Thanks, Iain. —75.157.101.247 17:04, 17 July 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: http://wiki.documentation.nelsonwaldorf.org/wiki/MediaWiki:Sidebar

Wiki toolbar missing in edit page after applying skin

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (cgi-fcgi)
 * MySQL version: 5.0.81-community-log
 * URL: Tar Heel Wiki

The roundedblue2 skin installed on my site, tarheelwiki for some reason doesnt display a toolbar in the edit tab.

I can change the default skin for the site to monobook and the toolbar appears in the edit tab, so it has to be something with the skin, I assume.

Can anyone help me fix this issue?

—Theothertomjones 21:04, 23 July 2009 (UTC) No relation :P
 * Well where did the skin come from? Did you design it? I would suggest going to the Developers section and looking up the ID's of the different sections, in case they are not there like yours is doing.  Here is a link for your ease -> []
 * Goldbishop 21:24, 23 July 2009 (UTC)

—

Disregard - The fix is to add the following to:

The skins php file:

php print Skin::makeGlobalVariablesScript( $this->data ); (I removed the php open and closing tags for this statement so the formatting wouldnt conflict)

<script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js?<?php echo $GLOBALS['wgStyleVersion'] ?>">

And have this in your localsettings php file:

$wgAllowUserJs = true; $wgAllowUserCss = true; $wgEnableMWSuggest = true; $wgUseAjax = true;'

At least this fixed the issues I was having.

—Theothertomjones 21:04, 23 July 2009 (UTC) No relation :P

How to add a Template to the End of a Page

 * MediaWiki version: 1.15
 * PHP version:
 * MySQL version: 5.0.51a
 * URL: http://multiweb.gesis.org/mediawiki/

We have a Semantic Mediawiki, with Personal pages where every Person can see his Projects, Meetings and Vacation times. so we got a Person Template an want to have at the end of every Page the list of Meetings and Vacation's. Is there a way to inculde the Vacation and Meetings Templates in there Person Template after the part of the Free text ever Person can write to his Page?

Something like:

Text at the end of the Page ???

—193.175.238.250 09:01, 30 July 2009 (UTC)

edit-link in articles and templates

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9-0.dotdeb.1 (cgi-fcgi)
 * MySQL version: 5.0.83-0.dotdeb.0
 * URL: http://musikpedia.jbcompany.org/wiki/Hauptseite

Hello!

I need your help. I am from Austria and I hope you understand my English. ;-)

I have installed the MediaWiki on my webspace. There are no problems and you can go to to see my Wiki.

Now I want to change the look of "Monobook". The edit-links (in the articles) should be on the right side behind the heading - just like Wikipedia.

But I have another question too: I want to have an "Infobox" to sum the articles, for instance: bands, musicians, albums, ... I have created a table. But now I want to have a "template", so the user can integrate the table in their articles easily. How can I do a template therefrom? It's so difficult and I don't understand the instructions.

Thank you for your help! I really appreciate it.

Jakob from Vienna, Austria

—188.23.73.8 14:11, 9 August 2009 (UTC)

How can I center some text?

 * MediaWiki version: Semantic MediaWiki, but also the latest MediaWiki in another environment

Is there any way to make text be centered, other than straight html?

danielbaker2@att.net —76.104.163.53 23:34, 9 August 2009 (UTC)

(RESOLVED) Templates

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8 (apache2handler)
 * MySQL version: 5.1.30-community
 * URL:

Hi! I've copied a template from Wikipedia to my wiki and it became messy like in this image. I think it is a extension in wikipedia that doesn't exists in mine. Is there a extension on wikipedia for templates?

—Umdiaqualquer 01:05, 11 August 2009 (UTC)


 * You need the ParserFunctions extension. Matěj Grabovský 08:03, 13 August 2009 (UTC)


 * Worked, thanks! Umdiaqualquer 17:26, 13 August 2009 (UTC)

HTML displaying in infoboxes

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10
 * MySQL version: 5.0.84
 * URL: http://www.televisionunlimited.net/wiki/index.php/WDJT-TV

For some reason some of my infoboxes will display HTML code. I have installed the ParserFunctions extension and it still does it. What can I do to solve this problem?

—68.76.156.5 02:16, 14 August 2009 (UTC)

Table of Content nesting issue

 * MediaWiki version: 1.14
 * PHP version: 5.2.9
 * MySQL version: 5.0.51a-community
 * URL:

On some pages with a forced TOC (I believe it is a page with less than 4 headers) (using the magicword) each top level past the first gets nested into the previous top level. The following is what it should be. The following is what it is doing Changeing the following line in the Parser.php file under includes/parser had no effect. I have tried a number as low as 0 and as high as 9000. (($numMatches >= 4 ) || $this->mForceTocPosition); Also of note is that I have added a global template to all my pages with a and then forcing a TOC with a template where I want it on certain pages. However, the nesting issue only manifests on pages with fewer than 4 headers.
 * First Level
 * Second Level
 * Second Level
 * First Level
 * Second Level
 * Second Level
 * First Level
 * Second Level
 * Second Level
 * First Level
 * Second Level
 * Second Level

98.221.161.224 14:05, 18 August 2009 (UTC)

Strange Problems after Migration: Edit text within a template and it doesn't show unless you're logged in.
MediaWiki 1.15.0 PHP 5.2.6-3ubuntu4.1 (apache2handler) MySQL 5.0.75-0ubuntu10.2 http://wiki.micds.org

This is not a public wiki necessarily. So it will be tough to see the actual issue, but I'll try to explain. We moved the wiki from one server to another with little issue other than the following. The new server is running Ubuntu.

When editing inside of one of our templates, (See Upper School in the left navigation), the edits don't show unless you're logged in. Obviously you need to login to edit, but if you logout the links to the new pages do not show. It seems strange that this would be due to a move and that the symptoms are limited to this one template. It looks like our other template, (Middle School) is working fine.

Any thoughts?

—12.41.115.66 21:02, 18 August 2009 (UTC)

class plainlinks

 * MediaWiki version: 1.14.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.51b
 * Skin: Modern

Hi there, it is not an error but I have found no other place on this wiki to ask this question. How do I have to change the Common.css if I want all external links to be shown as plainlinks as a standard? Your help will be greatly appreciated. Thank you and cheers —kgh 09:16, 20 August 2009 (UTC)

Automatic redirect to current month
Is it possible to make an automatic redirect from the page "sündmused maailmas" ("current events" in Estonian) to August 2024 ? Right now, we change it every month manually, but is there a way to do it automatically? #REDIRECT August 2024 does not work (no automatic redirect). —Jaan513 07:09, 21 August 2009 (UTC)
 * MediaWiki version: 1.16alpha-wmf (r55286)
 * PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
 * MySQL version: 4.0.40-wikimedia-log
 * URL: http://et.wikipedia.org

NOT SUPPORTING .ASC FORMAT

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

DOES WMS8.2 NOT SUPPORT .ASC FILE FORMAT? IF NOT THEN HOW DELINEATE THE WATERSHED HAVING IN .asc format.

—210.212.8.61 12:12, 24 August 2009 (UTC)

External dynamic images in MediaWiki

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.6-1+lenny3 (apache2handler)
 * MySQL 5.0.51a-24+lenny1-log
 * URL: http://www.nobaq.net

Hi,

I want to include a small piece of HTML in my Sidebar:

<A HREF="http://6bone.informatik.uni-leipzig.de/ipv6/stats/stats.php3">

<IMG SRC="http://6bone.informatik.uni-leipzig.de/ipv6/stats/log.php3?URL="dns des webservers"></a>

I read that I can't use HTML in Mediawiki. So I would take Mediawikis syntax. The link is no problem but how to I include external non-static images like above?

Thank you!

—93.83.102.170 16:13, 29 August 2009 (UTC)

Question about html in templates

 * MediaWiki version:  1.15.0
 * PHP version: 5.2.10
 * MySQL version: 5.0.68
 * URL: http://wiki.arameen.be

Hello,

I'm from Belgium, sorry for my english I'm new on mediawiki...i'had a problem with the template on my site Modèle:Infobox Saint the html code like (, , or link to images don't show correctly ). What is the problem ?

thx for your help

—193.74.142.250 08:47, 1 September 2009 (UTC)

How do I stop the search results showing formatting wikitags?

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

Hi there

I have searched everywhere i can for an answer to this, so sorry if it has been answered; it must have been but I can not find it.

When my users use the Search option the results that are returned include wiki formatting tags

example


 * 1) About

Supported Devices
There is a full list of Supported Devices 5 KB (751 words) - 10:00, 21 August 2009

Below is a list of devices which are confirmed to run with the current version o… We also maintain a list of unsupported devices 716 B (107 words) - 00:33, 25 August 2009
 * 1) Supported Devices

Yet, when I search in this MedaiWiki for something the results are returned with no formatting tags

How do I stop the search results returning things like the links symbols [] ' etc

thanks

—Daj 14:48, 1 September 2009 (UTC)

Moving Template:Infobox Country from Wikipedia to kanto.referata.com

 * MediaWiki version: 1.15.1 (r53910)
 * PHP version: 5.2.1 (apache)
 * MySQL version: 5.0.81-community
 * URL: kanto.referata.com

When I copy Template:Infobox Country from Wikipedia to [kanto.referata.com], the gray background and horizontal dividers that appear on Wikipedia do not appear on my site. How do I get them back? Also, how do I remove all the links from the infobox that I will never use? —CJMiller 02:48, 5 September 2009 (UTC)

Help with changing CSS in Monobook template

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

Hi, I need help with the monobook.css

I have been trying to change the property of these borders to test out different colors and transparency. I cannot seem to find the CSS tags and attributes for the circled borders below: The sidebar, the top tabs and the border underneath the heading. I would also like to make the white space inside the top tabs transparent. Can anyone please tell me what tags format the color of these and just to specify the filename if other than monobook.css. Please and thank you. :)



Mdkcheatz—Mdkcheatz 19:25, 6 September 2009 (UTC)

Need help installing the new Vector skin

 * MediaWiki version: 1.15.1
 * PHP version: 5.1
 * MySQL version: 4.0
 * URL: http://workoutwiki.org

I am trying to configure the new vector skin. However, after downloading the files from this site: http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/skins and uploading to my server, when trying to select the skin from the list, I get the following error message:

"Override this function."

What am I missing? Thanks for your help!

—Rarroyo 01:03, 2 September 2009 (UTC)

I have the same problem with this skin (only using PHP version 5.2). Does anybody have any hints for an solution?

—Christian 07:44, 8 September 2009 (UTC)

template formatting problems

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10 (apache2handler)
 * MySQL version: 5.1.35-community
 * URL: none

Produces on the page:

Leaf1

Leaf2

etc.....

—Nashville Monkey 22:25, 19 September 2009 (UTC)

I've built pages that use a table template for layout. The titles in the table heading "bar" are tagged h1, and I've added an editpage link in the template to easily navigate to edit view. However, editpage does not open just the section using any type of section link; it only opens the whole page in edit view.
 * MediaWiki version: 1.14.0
 * PHP version: 5.2.1 (apache2handler)
 * MySQL version: 4.1.10
 * URL: (intranet)

Here's the code used for the editpage link:

[]

Again, I have used all types of paths for the section link, especially a link copied from the on-page TOC, using the full path.

The editpage link works great for links that are off the page. It just will not open only the section if the link points to a section on the page; again it opens the entire page in edit view. My authors have to find the section to edit.

I would like this to work like the edit link that sits next to headings in the regular page layout.

Here is the entire table template code:

<div style="position: relative;border: 1px solid ;background: ;color: ;padding: .1em;text-align: center;font-weight: bold;font-size: 100%;margin-bottom: 0px;border-bottom: none;-moz-border-radius-topleft:.7em;-moz-border-radius-topright:.7em;"><span class="plainlinks" style="position: absolute;top: 1px;right: 1px;background: transparent;border: 0px;margin-bottom:0em;font-size:80%;font-weight: normal;">[ <font color="#FFFFFF">edit ] <h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:4; padding-bottom:.1em;"><font color="#FFFFFF"> <div style="display: block;position: relative;border: 1px solid ;vertical-align: top;background: ;color: ;margin-bottom: 10px;padding: .3em;margin-top: 0em;padding-top: 0em;-moz-border-radius-bottomleft:.7em;-moz-border-radius-bottomright:.7em;">

I guess you have to look at this code in edit view to see proper layout.

Any input is appreciated. Thanks,

-Cheriew 19:49, 21 September 2009 (UTC)

Resolved - Add new side navigation pages and links

 * MediaWiki version: 1.15.1
 * PHP version: Not Sure
 * MySQL version: Not Sure
 * URL: http://wiki.triumphtalk.com/index.php

I am trying to add new side navigation pages and links. I have read this page Interface/Sidebarbut I just cannot get it to work for me. When I run the link //yourdomain/yourwiki/index.php?title=MediaWiki:Sidebar&action=edit it just edits my Main Page? I need to add quite a few new areas in my navigation bar and now am stuck

—DirtBanger 06:18, 22 September 2009 (UTC)


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

I am trying to find out the state, or possibility of embedding MathML in wikimedia. I know the browser limitation (No IE) but is there any patch or tool that allows one to enter mathml in a wikimedia page?

Thank you

—66.169.236.180 21:18, 22 September 2009 (UTC)

Alterations of MediaWiki:Common.css
After updating my wiki from MediaWiki version 1.13.5 to 1.15.1 all my alterations of MediaWiki:Common.css are being ingnored, though they are still there. Thus the Wiki is back to standard. Help would be greatly appreciated. Thank you and cheers --kgh 19:56, 23 September 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.51b

wikipedia print size change

 * MediaWiki version: my guess
 * PHP version:
 * MySQL version:
 * URL:

I have noticed your print size has changed in the last year. I am concerned that it now takes almost twice as much paper to copy an article. My concern is partly because of my own additional paper costs, and also because other wikipedia users are using almost twice as much paper for their copies--not a good ecological policy. When I first noticed the size change I thought it was due to a change in my computer--then I realized the print of the article was actually larger, (I compared it to an old copy I had made about a year ago on the same subject.) Although I have used the zoom feature on my screen to show 75%, the printout is still 100%--very large, and actually more difficult to read. I would like to suggest you go back to the previous size print. Save the trees, and my pocketbook, please. —76.246.47.196 19:29, 29 September 2009 (UTC)

wiki address always the same in the URL address field.
MediaWiki 1.13.1 PHP 5.2.4-2ubuntu5.7 (apache2handler) MySQL 5.0.51a-3ubuntu5.4
 * MediaWiki version: Product Version


 * URL: www.wikiprogress.org username: progress password: forward

There is a frameset sitting on top of the wiki which is making www.wikiprogress.org stay in the URL window even when you go to an external site. All links that are supposed to be internal actually lead to another site (progress.oecd.org). I'm new on this site and there is no institutional memory. How can I get rid of that frame set (see source on homepage) and direct all internal links to www.wikiprogress.org.

It looks like the entire site was set up with progress.oecd.org and then when they got the domain, they dropped this frameset on the top of it to put www.wikiprogress.org in the URL. Where is this frame? It looks to be one level above index.php somewhere.

—80.124.192.14 14:34, 7 October 2009 (UTC)

How to process a returned template?

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.4 (apache2handler)
 * MySQL version: 4.1.16-nt-log
 * URL: Intranet-only

We needed a solution to list sub-pages, and consolidate name space indexes. The most elegant I found was the following wiki code. It would be useful to us to be able to process such a list, and perhaps to hash children or grandchildren pages out of the returned list. Having no administrative access to the PrefixIndex template to process something like that, is there any way one could process this list? Is there a way to use Regex on the returned items? Can the items even potentially be itemized and checked individually? Does the goal require access to the PHP or MySQL behind the Wiki? If not, what would you propose to help meet our goal?

—70.167.109.234 16:46, 13 October 2009 (UTC)

Hiding category links

 * MediaWiki version: 1.11
 * PHP version: 5.2.5 (apache2handler)
 * MySQL version: 5.0.24a-log
 * URL: intranet based

Is it possible include a Category tag on a page but not have that category show up in the category box at the bottom of the page?

—GerryMander123 07:33, 16 October 2009 (UTC)


 * Yes, it is! Just add __HIDDENCAT__ to the page of the category that should be hidden. See also Help:Magic_words Cheers --kgh 18:40, 16 October 2009 (UTC)


 * --217.6.174.66 08:47, 26 October 2009 (UTC)
 * Or if you don't feel like adding the __HIDDENCAT__ tag to every page of your wiki you can edit it in the skin you are using.
 * e.g. in Monobook.php

edit from <?php if($this->data['catlinks']) { $this->html('catlinks'); } ?> (l.127) to <?php if($this->data['catlinks']) { $this->html(''); } ?> (l.127)
 * That way you still have it in your category overwiev. But this action will make every category link on every page disappear!

Heading in Contents as a Link

 * MediaWiki version: 1.12.0
 * PHP version: 5
 * MySQL version:
 * URL:

Is it possible to creat a Link from the heading in the contents to another Article. If somebody click on it now it went to the section of the Atricle. If it is not possible I think that i have to build a own contents and delet the real one.

— 16:25, 27 October 2009 (UTC)

if statements in templates

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4 (cgi)
 * MySQL version: 5.0.83-log
 * URL: http://cncstrategywiki.com/index.php?title=Command_and_Conquer_Strategy_Wiki_-_Your_open_source_strategy_guide!

I am trying to make a template where a variable being called by the page will determine the background color in a table in the template. Any advice on how to do this? Also can anyline link be to where I can find details in the if statement for MediaWikIi?

—67.177.14.141 08:38, 1 November 2009 (UTC)

Multicol template

 * MediaWiki version: 1.9.3
 * PHP version: 5 ( experimental on http://www.altervista.org )
 * MySQL version: 4.1.x
 * URL: http://wikibove.altervista.org/php5

Hello. I'm experiencing problems with the templates, basically Multicol. I see any template must be edited within the site, but how? Should I edit a specific page called "Template:Multicol" containing the code or what else? Could you suggest me a tutorial bout this problem?

Kind Regards

—151.92.83.45 08:40, 4 November 2009 (UTC)

TOC/Numbered List Formatting Bug

 * MediaWiki version: 1.12.0 and 1.15.1
 * PHP version: 5.1.6 (apache2handler)
 * MySQL version: 5.0.27
 * URL: http://wiki.electronicvisions.com/index.php/Formatbug

There is a formatting bug when a left aligned TOC has a numbered list to its right. The indentations don't appear to occur and the numbers themselves are located within the TOC box.

I tried upgrading to 1.15.1 to see if it had been fixed but it looked the same. (I then went back to 1.12.0 because I was having trouble convincing 1.15.1 to allow page edits, but that's likely my issue)

If the source is not visible, a copy is available at http://www.svalli.com/FormatBug.txt in plain wikitext.

—216.199.48.59 15:52, 6 November 2009 (UTC)

Remove the Logo Entirely

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

Product 	Version MediaWiki 	1.15.1 PHP 	5.2.9 (cgi-fcgi) MySQL 	5.0.81-community-log

I would like the remove the logo entirely and raise the left hand side.

The FAQ says:

"If you want to remove the logo completely, comment out the wgLogo variable. Then set the column-one padding to a small value, such as 21:


 * 1) column-one { padding-top: 21px; }

You don't have to go edit the css file directly. You can go to <Your Wiki URL>?title=MediaWiki:Monobook.css. Hit edit and make your changes there. This has preference over the monobook main css."

However, when I go to that page, I am not able to edit at all. I just get:

"MediaWiki:Common.css From Wiki Jump to: navigation, search

Note - After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh); Konqueror: click Reload or press F5; Opera: clear the cache in Tools → Preferences; Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5. "

I would upload a pic, but it won't let me... You can see it here:

http://www.thesolarforum.com/wiki/?title=MediaWiki:Monobook.css

I am logged in as admin and member of admin group...or so it says.

—173.117.129.203 06:32, 8 November 2009 (UTC)

Lifespan template

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11 (apache2handler)
 * MySQL version: 5.0.86-log
 * URL:

I need help making a template. I want to use this template to help standardize birth and death information, as well as prompt for desired information about individuals.

This template would go after a person's name on their page, such as: Jim Henson (born September 24th, 1936 in Greenville, Mississippi, died May 16th, 1990 in New York City at age 53)

This template collects the following variables:


 * birth year
 * birth month
 * birth day
 * birth location
 * death year
 * death month
 * death location

Desired outputs with random dates and numbers, include:


 * born January 1st, 2000 in San Francisco
 * born January 1st in San Francisco
 * born January in San Francisco
 * born 2000 in San Francisco
 * born January 2000 in San Francisco
 * born in San Fransisco
 * born January 1st, 2000
 * born January 1st
 * born January
 * born 2000
 * born January 2000


 * born January 1st, 2000 in San Francisco, 9
 * born January 1st in San Francisco, 9
 * born January in San Francisco, 9
 * born 2000 in San Francisco, 9
 * born January 2000 in San Francisco, 9
 * born in San Fransisco, 9
 * born January 1st, 2000, 9
 * born January 1st, 9
 * born January, 9
 * born 2000, 9
 * born January 2000, 9


 * born January 1st, 2000 in San Francisco, died December 31st, 2001 in New York City at age 1

and similar deviations

It should also automatically put the article into categories, such as:


 * Born in 2000
 * Died in 2001
 * Born January 1st
 * Died December 31st
 * Died at age 1
 * Born in San Francisco
 * Died in New York City
 * Born on January 1st, 2000
 * Died on December 31st, 2001
 * Capricorn

The variable input should be tolerant with possible including:

birth and death years:
 * 2000
 * 2001

birth and death months:
 * 1
 * 01
 * 12
 * January
 * December
 * Jan
 * Dec
 * JAN
 * DEC
 * JANUARY
 * DECEMBER
 * Jan.
 * Dec.
 * JAN.
 * DEC.

birth and death days:
 * 1
 * 1st
 * 01
 * 31
 * 31st

—Gpaper 15:40, 9 November 2009 (UTC)


 * MediaWiki version: 1.15.1
 * URL: http://wiki.rockciclopedia.com

I've integrated MediaWiki with SMF, I've fixed almost all problems... the one that I can't fix is that the buttons above the content box aren't... above the box.. I've tried with position:absolute to move 'em and give 'em the proper position, but it changes from browser and browser and for every resolution is different!! Also, if you reduce the browser window they go out of the page! The CSS I used (wrong!!) is this:

position: absolute; top: 17.8em; left: 37em; margin: 0; white-space: nowrap; width: 76%; line-height: 1.1em; overflow: visible; background: none; border-collapse: collapse; padding-left: 1em; list-style: none; font-size: 95%; }
 * 1) p-cactions {

...how can I have 'em in the proper position? Please, please help me!!!!

—Lorenzone92 18:37, 12 November 2009 (UTC)

Template re-use from Wikipedia
How can I use the Wikipedia Templates e.g. Template:Infobox in my wiki powered by mediawiki? —SamiIslam 13:03, 20 November 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.3.0
 * MySQL version: 5.1.37
 * URL:

page actins tabs got "unstuck"

 * MediaWiki version: 1.15.1
 * PHP version:  	5.2.9 (apache)
 * MySQL version:  	5.0.67-log
 * URL: http://wiki.mirchar.ru

Hello,

I've been working on my wiki and all was fine, until I tried to install a counter on the pages. I've added the counter code to Monobook.php, cleared the cahe and suddenly thhere appeared an emty space between the page actions tabs and the main content field. As you can see, the tabs are not attached to the main body as they should, but are floating several pixels above it. Or, rather, it's the main body that moved down a bit.

I removed the counter code, but it did not help. I dowloaded a fresh Monobook.php from SVN, then a fresn main.css for monobook (I've been altering mine, I know it's not very good, but I'm so bad at css I couldn't figure out how to work with common.css), then commented out all the extensions from Localsettings.php. Yet, the tabs are still floating in space.

Please help me out, what could the problem be?

—Mirchar 08:05, 21 November 2009 (UTC)

toolbox in sidebar

 * MediaWiki version: 1.13.2
 * PHP version:5.2.0-8+etch15 (apache2handler)
 * MySQL version:5.0.32-Debian_7etch11
 * URL:http://www.deutsch-in-japan.de/emu/index.php/Hauptseite

Hello everybody. I have been trying to put links such as "e-mail to user" and "what links here", into the sidebar of our wiki, but I failed. Could anybody please tell me what to do? I was not able to find these items in in mediawiki:sidebar in other wikis such as wikipedia, nevertheless they are shown on article and user pages.

—ペーター 07:27, 22 November 2009 (UTC)

Table of contents bookmark urls

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

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

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

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

Show/Hide buttons
I am on a wiki which is local to my home island, Shetlopedia (http://www.shetlopedia.com). For a while I've tried to get the show/hide button links over but I haven't been able to figure out how to do it. Do I have to install an extention or is this simply a template one can make with code?

To be entirely precise, I mean the kind of show/hide that is at the very bottom of | this page


 * MediaWiki version: Unknown, not the owner of the site, presumably the most up-to-date.
 * PHP version: As above
 * MySQL version: As above
 * URL: http://www.shetlopedia.com

Thank you

—139.133.7.38 14:35, 27 November 2009 (UTC)

How to reveal more of headbg image above the main content window ??

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4-2ubuntu5.7
 * MySQL version: 5.0.51a-3buntu5.4
 * URL:

Using monobook skin/css, I want to lower the main content window (window with the tabs at the top) to reveal more of my headbg image (localized). likely really simple margin change, but as a newbie to PHP, don't know what they are yet. Looking for location in css and metric for adjustment. General info on physical adjustments would be good.

. . . bob

—64.5.141.2 23:46, 2 December 2009 (UTC)

empty space before table

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

Hey, when i write a text and create a table right after the text, a free space between the text and the table appears. The free space is proportionate to the numbers of colums of the table has.

This is the code(but between COSTUMER and the Table is more empty space):

Customer

I really would appreciate your advise, Thanks

—88.75.198.212 22:15, 3 December 2009 (UTC)

User Name and TIme stamp for leaving comments on discussions pages

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

Is there a way to force a time/date & username "stamp" on a wiki page that someone has edited. I want to be able to have this come up on any comments that someone adds to the discussions pages in my wiki. I don't like the fact that you can add comments anonymously

Thanks

—Mediawiki78 12:12, 11 December 2009 (UTC)

No page header

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: http://trans.mushigames.com/

Hi.

I'm new to the mediawiki software, and I recently started a wiki for a translation project. I changed my default skin for the wiki to "Modern" almost immediately and added the Mediawiki:Common.css code in order to use a specific table formatting, among other things. I noticed today that the TITLE for each page doesn't show up at all. I'm wondering if I have to alter some code or script, or if Iscrewed something up when I made changes.

Thanks for the help. --68.10.159.236 02:41, 22 December 2009 (UTC)

Change page title displayed in category

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

When adding a page into a category, how can I change the page name displayed on the category?

—93.106.193.101 12:15, 22 December 2009 (UTC)

RESOLVED: Custom template leaves new-line when used in a list

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.5 (cgi-fcgi)
 * MySQL version: 5.0.67.d7-ourdelta-log
 * URL: http://wiki.worldsunknown.com

Hello, I seem to be encountering some inconsistent formatting with a template I've created to link between two wikis for cross-referencing.

The problem is that when my template is used inside of a list (* bullet list, # numbered list, or ; definition list) that the portion included by the template gets stuck on a new line. This problem does not occur when used in a normal paragraph, or if I leave a new line manually.

Template: http://wiki.worldsunknown.com/wiki/Template:X

Examples: http://wiki.worldsunknown.com/wiki/Din_H%C3%AEn#Vital_Statistics

On this page, you can see numerous uses of my template that behave as desired within normal paragraphs. Scrolling to the bottom (search on the word "TEST" if you need to), you'll observe the new lines that are started when this template is used in a list. Whether the page that is linked to exists or not has no effect on this behavior.

Goal: I'd like to figure this out so that these new lines do not occur when I use my "cross-reference" template in bullet lists. I want it to behave exactly as it does in normal paragraphs.

RESOLUTION: I had to remove all of the noinclude and nowiki text from the template. (i.e. the hidden info that listed the purpose of the template and the syntax for its use)

Regards, -Laithoron

—71.75.82.14 19:08, 27 December 2009 (UTC)

How to create an infobox on a new wiki
I just started my own wiki today with MediaWiki, and I'm trying to create an infobox for biographical information, which would look essentially the same as the Infobox Person functions on Wikipedia. I copied the template from Wikipedia, and it told me that I needed to create certain other templates as well for this one to work. I've been copying and pasting templates for an hour now, but I frequently get "Template loop detected" messages and "Expression errors, and I don't know if I'm any closer to making this work. I installed the ParserFunctions extension, and I don't know if there's something else I need as well. If there is a tutorial somewhere on creating templates on a brand new wiki, I'd love to see it because I haven't been able to find one. Thanks. —Cheeselouise 01:56, 29 December 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11
 * MySQL version: 5.1.41
 * URL: it's a private wiki, so I don't think that would be helpful

Merging Articles while preserving edit history
Hi am involved in a project in MEPIS wiki. I am working on re-writing an article and its associated sub articles. My problem is I would like to merge 2 articles into 1 article. I would like to do this merge and preserve edit history of old articles somehow, either archived or as part of the new article, is it possible with this wiki and how do I do it.
 * MediaWiki version: 1.6.8
 * PHP version:5.2.6-1+lenny3 (apache2handler)
 * MySQL version:5.0.51a-24+lenny2
 * URL: http://www.mepis.org/docs/en/index.php/User:Moksha

—Moksha 03:15, 3 January 2010 (UTC)

Sortable tables in older Mediawiki versions
Is there a way to add this feature to older versions? I'm using on, and due to technical problems with my hosting service provider, upgrading to a newer version is problematic. Is there some hack/patch? I saw the DataTable extension, but obviously I don't want to use anything that is labeled a major security risk.
 * Mediawiki 1.6.10
 * PHP 4
 * MySQL 4

Any help would be appreciated --132.67.110.227 14:17, 4 January 2010 (UTC)

change the left menu

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL: local, in developpement

I would like to use MediaWiki in a minimal form. I have no use for the users of all the menus, I would like to delete them. I will have 100 pages that the admin create. Then users will just have the right to modify. I want to put my 100 pages in the left menu, and / or put them in my home pages. How can I do ?

Thanks !

—81.64.141.234 13:40, 23 December 2009 (UTC)

Hello, If you are talking about editing the navigation bar (Main Page, Current Events) edit the page MediaWiki:Sidebar and follow the format provided (dot points).

--Thompson.matthew 11:00, 8 January 2010 (UTC)

Yellow Indentations on talk pages

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.0-8+etch16 (cgi-fcgi)
 * MySQL version: 5.0.51a-24+lenny2-log
 * URL: http://www.ovirtuel.com/wiki/

Hello.

I saw that on many Wikimedia projects, the indentations on the talk pages are yellow.

How can I get the same effect ?

Thank you.

—Headradio 10:36, 5 January 2010 (UTC)

Template above Title

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10 (apache2handler)
 * MySQL version: 5.0.67-community
 * URL: http://rossmoyne.host56.com/wiki

Hello, I have a template of a padlock which I add on protected pages. I want to put it above the title (as in Wikipedia). I have tried adding   with closing tags ect... but nothing appears.

Also, if you can, could you tell me how you could allow only Admins to add a Template (once again, like Wikipedia). It's no problem if it's too difficult to explain.

Thank you in Advance.

—Thompson.matthew 10:54, 8 January 2010 (UTC)

Implementing Infoboxes, other templates as well
The Wiki I am doing is entirely dedicated to the state I live in. The problem is, I cannot get several templates/features working correctly. I cannot get the following working:
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (cgi-fcgi)
 * MySQL version: 5.1.30
 * URL: [http://www.wikiutah.tk
 * Template:Infobox - Infoboxes wont work. This includes all the templates that Template:Infobox requires as well.
 * references / & ref and /ref tags wont work. Not sure how to properly implement ref lists.
 * Can't get thumbnails working correctly.

—98.202.34.8 03:48, 6 February 2010 (UTC)
 * Note: I have temporarily unlocked all template pages I have created so other people can better assist me.

Applying formatting to columns
What's the current best way to assign a style to a given column (which may or may not be a header)?

Context: This is being proposed as a replacement means of displaying test, as opposed to the current method. There's currently a debate whether the control images should be treated as headers, and if not, how to apply a specific presentation to a given column. As far as I know, it should be possible in raw HTML. --Sigma 7 19:40, 6 February 2010 (UTC)
 * The best way would be to use the HTML COLGROUP and COL elements and apply styles to those, but MediaWiki doesn't allow that. Wanderer 20:34, 6 February 2010 (UTC)

Iframes
Does wiki support iframes?
 * MediaWiki version: 1.15.1
 * PHP version: 5.0
 * MySQL version: ~
 * URL: http://www.urcorp.net/wiki

Ryan J —74.217.37.58 16:16, 11 February 2010 (UTC)

searching for new css files like wikipedia

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

I got an problem with the css and infoboxes, when I create a table or an infobox, then there is no css, It's completely different from wikipedia code

I'm searching for new css file to create same things as in wikipedia

—Biggie 11:13, 15 February 2010 (UTC)

Aligning a table to the right

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

I'm having some trouble getting a wikitable to align to the right, while pushing everything in the way to the left. See this page for what is going on now. The [edit] text for the section is on the left side of the wikitable (stuff on the right), but the separation line for the section is not stopping, but continuing.

How can I make it align to the right while pushing everything else to the left?

-TRF


 * Login required :( -- Sidcom 18:42, 23 February 2010 (UTC)

howto : template to set cell's background color ?

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

Hi,

migrating a moinmoin wiki to MW, I came across an interesting formatting syntax for table cells' background : ||<#80ff80> some_text.

Looking for a way to implement this in MW using templates, but ideally without also passing the text of the cell as an argument, in order to prevent issues with | symbol. Anyone here has a good idea how to code this ? Thanks.

—84.150.146.218 00:29, 16 February 2010 (UTC)


 * Why do you need to pass the text? Wouldn't the template only replace the part before it? What do you want the template to look like - or how would you like to use it? -- Sidcom 18:48, 23 February 2010 (UTC)


 * MediaWiki version:  1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.1.33
 * URL: swiftarrowsworld.blogdns.com/wiki/index.php/Main_Page

Hey,

My issue is in the use of infoboxes and templates. I've read up on guides as to how to add them and i cannot get them to work in any way.

When i paste the infobox code from these guides (including the one on this site) it simply makes a link to create the a template with its name. So i paste the infobox template code into that template, and then it gives a loop error or gives me a link to make yet ANOTHER template....

Is this intended? have i missed something?

Reply to this email : Swiftarrowenterprises@hotmail.co.uk

—203.59.81.43 15:00, 16 February 2010 (UTC)

Templates importing problems

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10 (apache2handler)
 * MySQL version: 5.1.34-community
 * URL: http://vazia.no-ip.org/ It is down often :)

Hi, I tried to import the TODO_LIST Temaplate by "Special:Import" page. No any errors or warnings were not appeared after submiting the Import form. But template is showed incorrect. I see <th class="mbox-text" style="text-align:left; padding:1px;">Файл:Stock post message.svg To-do list for Шаблон:Todo: <td class="mbox-empty-cell"> instead nice header of TODO List. What is wrong?

Please note, that       tags are occures in edit box of this page. It is very strange, because MediaWiki has its own specification of tables creating. Code from edit box: {| class="  t-todo" style="border-collapse:separate; " cellspacing="4" <th class="mbox-text" style="text-align:left; padding:1px;">{{

—VaZia 21:24, 22 February 2010 (UTC)

HTML tags do not work in version 1.15

 * MediaWiki version: 1.15
 * PHP version:
 * MySQL version:
 * URL: http://wiki.processmaker.com

In version 1.6 of MediaWiki I was able to insert tags inside of my Wiki text. This was very useful when linking to parts of the text without creating new section headers. When I upgraded MediaWiki to version 1.15, the tags no longer work and are now displayed like ordinary text. Is there any configuration option in version 1.15 to allow tabs to work properly?

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

Getting 'nowiki' into a template

 * MediaWiki version: 1.13.2
 * PHP version: 5.1.6
 * MySQL version: 5.1.77
 * URL:

In articles about Subversion on our company wiki I often need to include example URL's, which have the format of a URL but are not real links. I have been wrapping these in &lt;nowiki> tags to prevent mediawiki from creating links.

I've just thought of creating a template for this, but I haven't found a way to make it work; because if the &lt;nowiki> is in the template, it applies to the argument before substitution.

That is, I tried in the template but of course that just gave me 1

I also tried &amp;lt;nowiki>&amp;lt;/nowiki>

but that produced the 'nowiki' as text in the result page.

Is there any way to achieve this?

I've concocted the markup above so that what you see in the rendered page is what I put in the edit box of the template)

--ColinFine 16:47, 12 March 2010 (UTC)


 * MediaWiki version: 1.15.2
 * PHP version: 5.3.0 (apache2handler)
 * MySQL version: 5.1.37
 * URL:

Hi, I would like to have two languages: english first and german second. But I did not find information for people who use the mediawiki how to set it up. I tried the Language Temaplate, but it did not work. I also tried out a language link, but this did also not work. Is it possible to add Multilanguage topic in the manual? That would be great. I googled but I did not find useful information.

I would also like to know how this FlaggedRevs works. We need also a system to set a status of the page.

—79.223.172.19 19:23, 19 March 2010 (UTC)


 * MediaWiki version: 1.16alpha-wmf
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version: 5.0.84
 * URL: http://en.wikibooks.org/wiki/Help:Links

I want mywiki work like wikibook site. and I stuck on relative subpage link like in the url.

I want this work in my wiki. how can I do that? I installed necessary extension in my wiki. what should i do?

—211.211.79.164 13:36, 22 March 2010 (UTC)

Templates searchable and in kind of WikiCommon

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.12 (cgi-fcgi)
 * MySQL version: 5.0.51a-24+lenny2+spu1
 * URL: http://wiki.digitus.de/de/Sandbox

Oversight; SpecialInterwiki; SPQRobin; Extension Manager (Version 1.1.1); RawRight, StubManager (Version 1.3.0);ExtensionManager, RawRight, ViewsourceRight; ViewsourceRight (Version 1.1.0)

We want to place a Table with OS-Compatibility-informations to our Wiki. Our Wiki is available in german ( main language) and now translated to english-version. Other languages will follow, but are not supported by the german Wiki-Team... To make sure, that the information on the table is correct for all languages we want to correct only one Table and should be seen from all other languages ( same as the WikiCommon for Pictures). Or is there a better way to to it? the best will be, if this could work even with the links for the products ( Like http://wiki.digitus.de/de/OSCOMP#DN )if you click on the DN-7044 you are linked to the right german article. If the "wikiCommon-Template" would work, the link should forward to the right language ( for example you are on the english OSCOMP-Page and you can see the templated table, you should be forwarded to the english version of DN-7044...)

then i found a little Problem: if i put the Table into a template (http://wiki.digitus.de/de/Sandbox) and you use the seach-Button for trying to find the Article "DOCK5" for example, you can only find the "OS-Kompatibilität" Article, but not the Sandbox-Article... is there a way to let the search-function(Site/fulltext) find the "templated" content too???

Thanks to all for help in advance, Christian

—217.7.83.50 11:06, 30 March 2010 (UTC)

How to change template from default to homepage

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.12
 * MySQL version: 5.0.89
 * URL:

In my new page it says that pages can be set to be "plain" in the Edit page by selecting the homepage template instead of the default template.

But in the editing page I can't find anywhere to change it. I've searched and searched but all the doc I can find is on creating new templates.

—64.81.246.211 00:07, 31 March 2010 (UTC)

Reference list not auto-numbering and subscript / superscript format issues.

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version: 5.0.87
 * URL: http://netgainadvisors.com/wiki/Test_page_2
 * Browsers: IE 8.0 and Firefox 3.5.9

I think this is a formatting question rather than an extension question. I have cite.php installed. I can insert references but when I add the

On my own wiki, that doesn't work - how can I get it to work so that the background for the "Save page" button is green?

-- <font color="#307D7E">Phantom <font color="#55CAFA">Steve /<font color="#008000">talk &#124;<font color="#000080">contribs \ 09:30, 22 June 2010 (UTC)