Project:Support desk/Sections/Formatting

__NEWSECTIONLINK__

= Formatting Support =

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)

Existing pages with table code doesn't work in mediawiki 1.13.2

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.51a
 * URL: localhost

I have upgraded mediawiki version 1.10.0 with 1.13.2. I have executed update.php and refreshLinks.php. But the pages which have table code has broken. The data is in text table. All the pages are working good with 1.10.0 version. But doesn't work with 1.13.2.

So, I have edited the page which was not working on 1.13.2 and copied the data from other system where it is working with 1.10.0 and saved the changes. but the page is not saving properly and it is removing the '|' and also placing some extra characters to the data.

Even the table format is good also the page is not getting displayed in tabular form.

It works good when i create a new page with table format.

Please help me that what's wrong with version 1.13.2 that doesn't support existing page table code? —The preceding unsigned comment was added by 208.88.84.10 (talk • contribs) 20:49, 31 December 2008. Please sign your posts with ~ !


 * I really need your help in finding this problem. Actually, it looks like there is some encoding problem some where with mediawiki version 1.13.2. This is corrupting the page display. If you are already aware of the problem then please let me know what could be the solution? —The preceding unsigned comment was added by 208.88.85.100 (talk • contribs) 18:21, 13 January 2009. Please sign your posts with ~ !

nowiki tags appear

 * MediaWiki version: 1.13.3
 * PHP version: 5.5
 * MySQL version: 5
 * URL:

Hi all,

I have a certain issue which makes  appear on the results of an mssql query below are the source



Fixed Issues
The table below lists all issues fixed since the last release.

include a path and transfer a excel table

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

Hello I'm trying to include the path on the top of a site (example wiki>help>diskussions>). Are there a command? I'm looking for a tool to transfer excel tabel in a wiki table? Thanks for help

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    tag directly. Try adding a linebreak between the end of the table and the  ; 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)

 Text Text Text {| border="0" cellpadding="2" width="50%"

Text
 * }
 * }

Text Text 
 * gives the following result:

 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)