Jump to content

Project:Support desk/Sections/Formatting: Difference between revisions

From mediawiki.org
Latest comment: 15 years ago by Happy-melon in topic Wikipage Background
Content deleted Content added
Happy-melon (talk | contribs)
autoarchiving
m Archiving 48 thread(s) (older than 21d) to Project:Support desk/Sections/Formatting/Archive 1.
Line 1: Line 1:
<noinclude>__TOC__ __NEWSECTIONLINK__
<noinclude>__TOC__ __NEWSECTIONLINK__
{{User:MiszaBot/config
{{User:MiszaBot/config
|maxarchivesize = 250K
|counter = 1
|algo = old(21d)
|algo = old(21d)
|archive = Project:Support desk/Sections/Formatting/Archive %(counter)d
|archive = Project:Support desk/Sections/Formatting/Archive %(counter)d
|counter = 1
|maxarchivesize = 250K
}}
}}
</noinclude>
</noinclude>


= [[Project:Support desk/Sections/Formatting|Formatting Support]] =
= [[Project:Support desk/Sections/Formatting|Formatting Support]] =

== Need help on adjusting the portlets to the top on monobook template ==

--[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 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
—[[Special:Contributions/217.5.181.251|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
—[[User:Duffsb|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 [[Special:Contributions/84.156.163.108|84.156.163.108]] 08:27, 26 March 2009 (UTC)


== How Do I change the link on successful login to another page other than main? ==
== How Do I change the link on successful login to another page other than main? ==
Line 59: Line 29:


: In 1.15rc1 there's a new configuration setting [[Manual:$wgRedirectOnLogin|$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 [[Special:Contributions/84.156.181.134|84.156.181.134]] 10:10, 16 May 2009 (UTC)
: In 1.15rc1 there's a new configuration setting [[Manual:$wgRedirectOnLogin|$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 [[Special:Contributions/84.156.181.134|84.156.181.134]] 10:10, 16 May 2009 (UTC)

== Can I force every user to use the same template when creating a new page? ==

* MediaWiki version: 1.13.2
* PHP version: 5.2.6
* MySQL version: 5.0.67
* URL: N/A
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!

—[[User:Coulomb|Coulomb]] 23:29, 27 December 2008 (UTC)Coulomb

: I guess you are looking for something like the mechanism we use on this page, cf. [http://www.mediawiki.org/w/index.php?title=Project:Support_desk/Sections/Formatting&action=edit&editintro=Template:Questions-preload&preload=Template:Signature-preload&section=new 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" <tt>…&action=edit</tt> URLs, or by manually removing template code from edit pages before saving). --[[User:Bdk|<span style="color:#116611">:bdk:</span>]] 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!
::—[[User:Coulomb|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. --[[User:Bdk|<span style="color:#116611">:bdk:</span>]] 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? —[[User:Coulomb|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?). --[[User:Bdk|<span style="color:#116611">:bdk:</span>]] 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:

<pre>{| class="infobox" cellpadding="2" cellspacing="0" style="float:right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
|-
| colspan="2" style="text-align:center;" | {{#if: | | [[Image:{{{modscreenshot}}}]]}}<br>{{#if: | | {{{platform}}}}}
|-
! Era:
| {{#if: | | {{{era}}}}}
|-
! Mod Leader:
| {{#if: | | {{{leader}}}}}
|}</pre>

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. '''[[User:It Is Me Here|<font color="#006600;">It Is Me Here</font>]]''' <sup>'''[[User_talk:It Is Me Here|<font color="#CC6600;">t</font>]] / [[Special:Contributions/It Is Me Here|<font color="#CC6600;">c</font>]]</sup>''' 14:54, 31 December 2008 (UTC)

: Hm. Haven't tried to program templates yet, but the following code
<pre>{| class="infobox" cellpadding="2" cellspacing="0" style="float: right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
|-
{{#if: {{{modscreenshot|}}} | colspan="2" style="text-align:center;" {{!}} [[Image:{{{modscreenshot}}}]]}}<br>{{#if: {{{platform|}}} | {{{platform}}}}}
|-
{{#if: {{{era|}}} | ! Era: || {{{era}}}}}
|-
{{#if: {{{leader|}}} | ! Mod Leader: || {{{leader}}}}}
|}</pre>
: gives the following result:
{| class="infobox" cellpadding="2" cellspacing="0" style="float: right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
|-
{{#if: {{{modscreenshot|}}} | colspan="2" style="text-align:center;" {{!}} [[Image:{{{modscreenshot}}}]]}}<br>{{#if: {{{platform|}}} | {{{platform}}}}}
|-
{{#if: {{{era|}}} | ! Era: || {{{era}}}}}
|-
{{#if: {{{leader|}}} | ! Mod Leader: || {{{leader}}}}}
|}
<br style="clear: both;" />
: -- JörgM [[Special:Contributions/84.156.191.245|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 [[Special:Contributions/84.156.191.245|84.156.191.245]] 19:03, 5 May 2009 (UTC)
: Hm, okay, forget the code above :-). The following code
<pre>{| class="infobox" cellpadding="2" cellspacing="0" style="float: right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
{{#if: {{{modscreenshot|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{modscreenshot}}}]]
}}
{{#if: {{{platform|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} {{{platform}}}
}}
{{#if: {{{era|}}}|
{{!-}}
! Era:
{{!}} {{{era}}}
}}
{{#if: {{{leader|}}}|
{{!-}}
! Mod Leader:
{{!}} {{{leader}}}
}}
|}</pre>
: gives the following result:
{| class="infobox" cellpadding="2" cellspacing="0" style="float: right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
{{#if: {{{modscreenshot|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{modscreenshot}}}]]
}}
{{#if: {{{platform|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} {{{platform}}}
}}
{{#if: {{{era|}}}|
{{!-}}
! Era:
{{!}} {{{era}}}
}}
{{#if: {{{leader|}}}|
{{!-}}
! Mod Leader:
{{!}} {{{leader}}}
}}
|}
<br style="clear: both;" />
: 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 [[Special:Contributions/84.156.191.245|84.156.191.245]] 21:14, 5 May 2009 (UTC)


== Existing pages with table code doesn't work in mediawiki 1.13.2 ==
== Existing pages with table code doesn't work in mediawiki 1.13.2 ==
Line 197: Line 48:


: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? <small>—The preceding unsigned comment was added by [[User:208.88.85.100|208.88.85.100]] ([[User talk:208.88.85.100|talk]] • [[Special:Contributions/208.88.85.100|contribs]]) 18:21, 13 January 2009. Please sign your posts with <nowiki>~~~~</nowiki>!</small><!-- Template:Unsigned -->
: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? <small>—The preceding unsigned comment was added by [[User:208.88.85.100|208.88.85.100]] ([[User talk:208.88.85.100|talk]] • [[Special:Contributions/208.88.85.100|contribs]]) 18:21, 13 January 2009. Please sign your posts with <nowiki>~~~~</nowiki>!</small><!-- Template:Unsigned -->

== Mediawiki FCKEditor overwrites my <h2> 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:

<h2 style="margin:0; background:#ddcef2; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align:center; color:#000; padding:0.8em 0.4em;">Welcome to [[Wiki:Introduction|WIKI]]</h2>

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:

<pre>== Welcome to [[Wiki:Introduction|WIKI]] ==</pre>

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

—[[Special:Contributions/195.167.195.200|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. [[Special:Contributions/82.215.27.77|82.215.27.77]] 09:06, 7 January 2009 (UTC)

—[[Special:Contributions/161.12.7.4|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 <nowiki>__NOTOC__</nowiki> since the table of contents would include the content of the first sell of each table row. Hope that helps. [[Special:Contributions/63.192.83.15|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. [[Special:Contributions/82.215.27.77|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
<nowiki><a target="_blank" href="file://ab/cde/Shared/fgh/ij/klm/Group/docs/Bureaucracy/Whereabouts.xls"> WhereAbouts</nowiki>
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.

—[[Special:Contributions/161.12.7.4|161.12.7.4]] 10:07, 7 January 2009 (UTC)

: Add the "file://" protocol to the $wgUrlProtocols. <small>—The preceding unsigned comment was added by [[User:80.156.6.164|80.156.6.164]] ([[User talk:80.156.6.164|talk]] • [[Special:Contributions/80.156.6.164|contribs]]) 06:45, 7 May 2009. Please sign your posts with <nowiki>~~~~</nowiki>!</small><!-- Template:Unsigned -->

== 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?

—[[Special:Contributions/64.86.141.133|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:
<nowiki><div style="border:black solid 1px;background-color:#FF9933;padding:5px;margin-bottom:20px;">
'''Hinweis:'''<br/>
Diese Seite benötigt vermutlich eine Überarbeitung. Die Diskussion dazu sollten auf der [[Diskussion:{{{Seite}}}|Diskussions-Seite]] geführt werden. Ist die Überarbeitung erfolgt bzw. als unnötigt erachtet worden, sollte dieser Hinweis entfernt werden.

{{{Benutzer}}}
</div>
[[Kategorie:Überarbeitung notwendig]]</nowiki>

This works on page '/Maritime Transportlogistik':
<nowiki>{{Hinweis/Überarbeitung notwendig|Seite=Maritime Transportlogistik|Benutzer=[[Benutzer:XY|XY]] 18:22, 19. Jan. 2009 (CET)}}</nowiki>

But do not work on '/XYZ-Integration' and '/SimCorp':
<nowiki>{{Hinweis/Überarbeitung notwendig|Seite=XYZ-Integration|Benutzer=[[Benutzer:XY|XY]] 18:16, 19. Jan. 2009 (CET)}}</nowiki>
<nowiki>{{Hinweis/Überarbeitung notwendig|Seite=SimCorp|Benutzer=[[Benutzer:Tiga|Tilo Gau]] 18:20, 19. Jan. 2009 (CET)}}</nowiki>

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

Thank you very much and best regards

TG
—[[Special:Contributions/82.83.156.25|82.83.156.25]] 20:36, 19 January 2009 (UTC)

:Sounds like a cache issue. Did you try [[Manual:Purge|purging]] the pages in question? --[[User:Bdk|<span style="color:#116611">:bdk:</span>]] 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 -- [[Special:Contributions/87.193.172.106|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, [[Special:Contributions/87.193.172.106|87.193.172.106]] 14:58, 27 January 2009 (UTC)

== Changing the default skin without access to PHP files ==

* MediaWiki: 1.5.5
* PHP: 5.2.6 (cgi-fcgi)
* MySQL: 5.0.45-log
* URL: http://editthis.info/ctss/
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.

: What about the CSS? --[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 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. —[[Special:Contributions/72.171.0.147|72.171.0.147]] 21:22, 19 January 2009 (UTC)

:You could try playing around with your [http://editthis.info/ctss/MediaWiki:Monobook.css MediaWiki:Monobook.css] and with current MediaWiki's [http://en.wikipedia.org/skins-1.5/common/wikistandard.css wikistandard.css]. Dunno how effectively you could imitate Classic on a MW 1.5 wiki this way, though. --[[User:Bdk|<span style="color:#116611">:bdk:</span>]] 09:29, 22 January 2009 (UTC)

== Extra quote marks appearing ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.12.0
* PHP version: 5.2.5 (apache2handler)
* MySQL version: 5.0.51b-community-nt
* URL:
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?

—[[Special:Contributions/212.140.240.2|212.140.240.2]] 12:59, 20 January 2009 (UTC)Trev Warner


== formatting PHP/CSS code ==
== formatting PHP/CSS code ==
Line 382: Line 79:
[http://10.5.1.5:8060/track-360/printItem.action?key={{{1}}} '''{{{1}}}''']
[http://10.5.1.5:8060/track-360/printItem.action?key={{{1}}} '''{{{1}}}''']
<pre>
<pre>
==Fixed Issues==
== Fixed Issues ==

The table below lists all issues fixed since the last release.
The table below lists all issues fixed since the last release.
{{#mssql: 10.5.1.5 | WikiUser | Redmap | TrackPlus360 | Select [Issue Number], Subsystem, Build, Synopsis FROM ReleaseNotes WHERE (Project LIKE '{{{1}}}') AND ([Release Scheduled] LIKE '{{{2}}}') AND ([Release Scheduled] NOT LIKE [Release Noticed]) ORDER BY [Issue Number]}}
{{#mssql: 10.5.1.5 | WikiUser | Redmap | TrackPlus360 | Select [Issue Number], Subsystem, Build, Synopsis FROM ReleaseNotes WHERE (Project LIKE '{{{1}}}') AND ([Release Scheduled] LIKE '{{{2}}}') AND ([Release Scheduled] NOT LIKE [Release Noticed]) ORDER BY [Issue Number]}}

==Open Issues==
The table below lists all issues still needing to be fixed.
{{#mssql: 10.5.1.5 | WikiUser | Redmap | TrackPlus360 | Select [Issue Number], Subsystem, Synopsys AS Synopsis FROM [Outstanding Issues] WHERE (Project LIKE '{{{1}}}') AND (Release LIKE '{{{2}}}') ORDER BY Subsystem}}
</pre>
Every item in the table has the nowiki tags without the space. I believe it should be invisible.

—[[Special:Contributions/121.97.80.194|121.97.80.194]] 03:44, 21 January 2009 (UTC)


== Delete all templates or undo import ==
== Delete all templates or undo import ==
Line 411: Line 101:
: No site with this URL. Given it up? -- JörgM [[Special:Contributions/84.156.161.134|84.156.161.134]] 08:54, 7 May 2009 (UTC)
: No site with this URL. Given it up? -- JörgM [[Special:Contributions/84.156.161.134|84.156.161.134]] 08:54, 7 May 2009 (UTC)


== Changing default skin for all members ==
== include a path and transfer a excel table ==

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

—[[Special:Contributions/84.27.51.65|84.27.51.65]] 03:50, 22 January 2009 (UTC)
: Did you mean [[Manual:Skin configuration]]? Which ways have you tried? --[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 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 <old skin name> --new <new skin name>". But I think I did it wrong, I don't understand it. -[[Special:Contributions/84.27.51.65|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. --[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 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... :-$ -[[Special:Contributions/77.165.129.87|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. --[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 01:59, 30 January 2009 (UTC)


==include a path and transfer a excel table==
* MediaWiki version: 1.13.2
* MediaWiki version: 1.13.2
* PHP version: 5.2.0-8+etch13 (cgi-fcgi)
* PHP version: 5.2.0-8+etch13 (cgi-fcgi)
Line 436: Line 112:
I'm looking for a tool to transfer excel tabel in a wiki table?<br/>
I'm looking for a tool to transfer excel tabel in a wiki table?<br/>
Thanks for help {{unsigned|212.101.18.161|08:23, 22 January 2009}}
Thanks for help {{unsigned|212.101.18.161|08:23, 22 January 2009}}

== 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 [http://aiblog.nl/index.php?title=Competences] I want every cell to refer to its correlating cell in the table on [http://aiblog.nl/index.php?title=CompetencesCourses] (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: <code><nowiki><div id="Learning_skills">'''[[Competences#Learning skills | Learning skills]]'''</div></nowiki></code> —[[User:Emufarmers|Emufarmers]]<sup>([[User talk:Emufarmers|T]]|[[Special:Contributions/Emufarmers|C]])</sup> 00:14, 28 January 2009 (UTC)

== where is manual re subheadings navigation box ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.9.3
* PHP version: 5.2.8
* MySQL version: 5.0.67
* URL: molvray.com/govwiki
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!
—[[User:Quixote7|Quixote7]] 21:50, 27 January 2009 (UTC)

:Are you looking for the <tt><nowiki>__TOC__</nowiki></tt> [[Help:Magic words|magic word]]? —[[User:Emufarmers|Emufarmers]]<sup>([[User talk:Emufarmers|T]]|[[Special:Contributions/Emufarmers|C]])</sup> 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! [[User:Quixote7|Quixote7]] 02:29, 30 January 2009 (UTC)

== How do I move the "table of contents" box to the RIGHT ==
<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.13.3
* PHP version: 5.2.8
* MySQL version: 5.0
* URL:
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->
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
<nowiki>{| align="right"
| __TOC__
|}</nowiki>


<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[User:Jwelcher|Jwelcher]] 06:10, 28 January 2009 (UTC)

: TOC above starts in source code with
<pre><table id="toc" class="toc" summary="Contents"></pre>
: so try to change behaviour by editing the class table.toc at your [[MediaWiki:Common.css]]. -- JörgM [[Special:Contributions/84.156.188.128|84.156.188.128]] 21:32, 18 March 2009 (UTC)

== Creating a Custom Infobox ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.13.3
* PHP version: 5.2.5
* MySQL version: 5.0.51a
* URL: http://naruto.wikipedia.com/wiki/
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

I am trying to create my own Infoboxes, I have been searching for the past few days but it seems like it's more of a clerical thing on another's end than my end. Any information would be great. I don't want to use already created Infoboxes, I want to make my own CUSTOM infobox.

<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[User:Moselekm|Moselekm]] 08:20, 30 January 2009 (UTC)

: So, what is your question then? Infoboxes are simply templates, you can set them up how ever you want. --[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 02:32, 4 February 2009 (UTC)

==I can see my editing only when i'm logged in==

* MediaWiki: 1.6.10
* PHP: 4.3.9 (apache2handler)
* MySQL: 4.1.22

Since last week, i can only see my editing when i'm logged in.
When i'm signing out of my wiki site, trying to see the changes i made - The old page appear, without the changes i made. I tried to check in different computers, but the problem persists.
More strangely that there are few pages that does work - I can edit them and see the changes i made, even when i'm logged out.
I tried to find any differences between those pages - didn't find any...

[[User:Energidi|Energidi]] 20:24, 31 January 2009 (UTC)

== How can I change all fonts to Tahoma? ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.13.3
* PHP version: 5.2.6 (cgi-fcgi)
* MySQL version: 5.0.67-community-log
* URL: http://wiki.navaa.ir/

I have installed MediaWiki on my website, and chosen Farsi language. The default font is not looking nice for Farsi, and I'd like to change all fonts to Tahoma (as do all Farsi sites). On my local server, in my computer, I tried to change all font names in front of all "font-family:" lines in all .css files to Tahoma, but nothing changed. What should I do to change the default used font?



—[[Special:Contributions/84.241.1.37|84.241.1.37]] 08:07, 1 February 2009 (UTC)
Mani Pashaei Rad

: I have just tried to put
<pre>body {font-family: Tahoma;}</pre>
: to the [[MediaWiki:Common.css]] of my 1.13.4-wiki, and this works there. -- JörgM [[Special:Contributions/84.156.188.128|84.156.188.128]] 21:16, 18 March 2009 (UTC)


== Main Page Edit ==
== Main Page Edit ==
Line 581: Line 156:


: Have a look above under [[#Can I force every user to use the same template when creating a new page?]]. -- JörgM [[Special:Contributions/84.156.161.134|84.156.161.134]] 09:23, 7 May 2009 (UTC)
: Have a look above under [[#Can I force every user to use the same template when creating a new page?]]. -- JörgM [[Special:Contributions/84.156.161.134|84.156.161.134]] 09:23, 7 May 2009 (UTC)

== Getting external links (URL's) to open in another window ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.13.3
* PHP version: 5.2.4-2ubuntu5.4 (apache2handler)
* MySQL version: 5.0.51a-3ubuntu5.4
* URL:
Is there a way of formatting a link (URL mainly, but could also be useful for internal links as well) to open in a new window? For example in the case of a URL, the html code would be something like this (written so MediaWiki will show it properly):
<code><a href="someurl.com" target="_blank">Some URL</a></code>.

Thank you,

Marco van Beek

—[[Special:Contributions/83.136.69.10|83.136.69.10]] 16:44, 6 February 2009 (UTC)

: I think there is a setting for this. <small>—The preceding unsigned comment was added by [[User:Wikademia|Wikademia]] ([[User talk:Wikademia|talk]] • [[Special:Contributions/Wikademia|contribs]]) 16:58, 26 April 2009. Please sign your posts with <nowiki>~~~~</nowiki>!</small><!-- Template:Unsigned -->


== Subsection edit ==
== Subsection edit ==
Line 644: Line 201:
: -- JörgM [[Special:Contributions/84.156.161.134|84.156.161.134]] 09:38, 7 May 2009 (UTC)
: -- JörgM [[Special:Contributions/84.156.161.134|84.156.161.134]] 09:38, 7 May 2009 (UTC)


== Linking to social network sites ==
== Changing Colors in links ==


<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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?

—[[User:Kristofer2|Kristofer2]] 21:01, 8 February 2009 (UTC)

:Create a [[Manual:Tag extensions|tag extension]] or [[Manual:Parser_functions|parser function]]. —[[User:Emufarmers|Emufarmers]]<sup>([[User talk:Emufarmers|T]]|[[Special:Contributions/Emufarmers|C]])</sup> 06:31, 9 February 2009 (UTC)

== Questions about hide/show functions for Navboxes at bottom of articles ==
<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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 [[:gv:|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.

--[[User:MacTire02|MacTire02]] 14:31, 11 February 2009 (UTC)
: Has this probably been solved meanwhile? [http://gv.wikipedia.org/wiki/John_Quincy_Adams Here] it seems to work. -- JörgM [[Special:Contributions/84.156.183.81|84.156.183.81]] 19:45, 26 April 2009 (UTC)

== How to enable the Wiki to display XML ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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.



<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/196.213.41.186|196.213.41.186]] 08:33, 17 February 2009 (UTC)

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version:
* PHP version:
* MySQL version:
* URL:
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->
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 <nowiki>__NOEDITSECTION__</nowiki>) to occur?
please e-mail at royalcub@hotmail.com --[[Special:Contributions/207.236.147.118|207.236.147.118]] 21:24, 17 February 2009 (UTC)




<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/207.236.147.118|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.

<code><nowiki>
(http://tolweb.org): Maddison, D. R., K.-S., Schulz (eds.), ''The Tree of Life Web Project'', 1996-2006{{#if: {{{1|}}}|, Retrieved: {{{1}}}}}{{#if: {{{2|}}}|, {{{2}}}}}.
</nowiki></code>

To use this template, use something like this:

<code><nowiki>
<ref name="TOL 1 May 2007">{{Tree of Life|1 May 2007|http://tolweb.org/Octopodidae/20194/2007.02.16}}</ref>
</nowiki></code>

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

<code><nowiki>
↑ 1.0 1.1 (http://tolweb.org): Maddison, D. R., K.-S., Schulz (eds.), The Tree of Life Web Project, 1996-2006, Retrieved: 1 May 2007, http://tolweb.org/Octopodidae/20194/2007.02.16.
</nowiki></code>

Now, if the URL is of the form <code><nowiki>http://www.fishbase.org/Summary/SpeciesSummary.php?id=7217</nowiki></code> 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 ... —[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 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. --[[User:Dr DBW|<span style="color:darkgreen; font-weight: bold;">Dr DBW</span>]] | [[User talk:Dr DBW|<span style="color:darkgreen; font-weight: bold;">talk</span>]] 04:52, 19 February 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?<br>
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?<br>
—[[Special:Contributions/77.165.129.87|77.165.129.87]] 01:31, 19 February 2009 (UTC)
—[[Special:Contributions/77.165.129.87|77.165.129.87]] 01:31, 19 February 2009 (UTC)
Line 749: Line 209:


== Language template does not work ==
== Language template does not work ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.13.4
* MediaWiki version: 1.13.4
Line 760: Line 221:


: 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 [[Special:Contributions/84.156.188.3|84.156.188.3]] 20:45, 8 May 2009 (UTC)
: 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 [[Special:Contributions/84.156.188.3|84.156.188.3]] 20:45, 8 May 2009 (UTC)

== Geshi Syntax problem ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.13
* PHP version: 5.2
* MySQL version: 5.0
* URL: localhost intranet
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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 <nowiki><source lang="plsql"></nowiki> then is shows it all nicely how it is supposed to. but i cant make those nice little boxes like this one

nice box!

as soon as i add this

<nowiki><source lang="plsql"></nowiki>

the nice box dissapears.

any help ?

example:

<source lang="PLSQL">
declare
number1 number(2);
number2 number(2) := 17;
text1 varchar2(12) := 'Hello world';
text2 date := SYSDATE; -- current date and time
begin
SELECT street_number
into number1
from address
where name = 'Billa';
end;
</source>


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

any suggestions?

<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/84.253.46.121|84.253.46.121]] 10:00, 23 February 2009 (UTC)

== How to change the Tabble of Contents so that it indents bullets not numbers ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version:
* PHP version:
* MySQL version:
* URL:
Hi

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




<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[User:Jandal99|Jandal99]] 20:30, 23 February 2009 (UTC)

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

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

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

: 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 [[Special:Contributions/84.156.188.128|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 [[:Special:ListUsers&group=sysop|Sysops]] :Special:ListUsers&group=sysop|Sysops

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

How can i do this correctly? Regards

—[[Special:Contributions/217.247.185.52|217.247.185.52]] 14:15, 24 February 2009 (UTC)

:Link to [[Special:ListUsers/sysop]]. —[[User:Emufarmers|Emufarmers]]<sup>([[User talk:Emufarmers|T]]|[[Special:Contributions/Emufarmers|C]])</sup> 06:20, 25 February 2009 (UTC)

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

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.6.8
* PHP version: 5.2.6-1+lenny2 (apache2handler)
* MySQL version: 5.0.51a-24
* URL: within an Intranet ;-)
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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
* MediaWiki < 1.13.2 and to
* MediaWiki 1.13.2,
but not to the version which is provided to us here (1.6.8).

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?

<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/195.127.43.185|195.127.43.185]] 10:45, 5 March 2009 (UTC)

:[[Manual:Upgrade|Upgrade MediaWiki]]. —[[User:Emufarmers|Emufarmers]]<sup>([[User talk:Emufarmers|T]]|[[Special:Contributions/Emufarmers|C]])</sup> 01:25, 6 March 2009 (UTC)

--[[Special:Contributions/195.127.43.185|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: [http://de.narutopedia.eu/wiki/Hauptseite de.narutopedia.eu]

Hi, after I updated my MediaWiki, a few templates dont look like before. For example [http://de.narutopedia.eu/wiki/Vorlage:Navigation_Konoha]
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
--[[Special:Contributions/91.67.156.126|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=*<nowiki>{{PAGENAME}}</nowiki>
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?

—[[Special:Contributions/205.175.225.24|205.175.225.24]] 16:23, 10 March 2009 (UTC)rwjorgen@rockwellcollins.com

== (RESOLVED) film script templates needed ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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



<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/84.62.29.78|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 [[Special:Contributions/84.156.130.207|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.

—[[Special:Contributions/152.132.10.2|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 [[Manual:$wgRawHtml|raw HTML]]. (Be VERY careful before changing this setting to true.) Or try some of those extensions mentioned there. Any other suggestions? -- JörgM [[Special:Contributions/84.156.179.240|84.156.179.240]] 22:28, 17 March 2009 (UTC)

== TOC behaviour ==

(section headline added by [[Special:Contributions/84.156.179.240|84.156.179.240]] 21:48, 17 March 2009 (UTC))
<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version:
* PHP version:
* MySQL version:
* URL:
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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?

—[[Special:Contributions/206.28.72.1|206.28.72.1]] 17:56, 13 March 2009 (UTC)

# TOC usually is shown where you put the <nowiki>__TOC__</nowiki> magic word (see [[Help:Magic words#Behaviour switches]]).
# 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 [[Special:Contributions/84.156.179.240|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><nowiki>{{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid=4457}}</nowiki></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><nowiki>{{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid={{{1}}}}}}</nowiki></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><nowiki>{{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid={{last revisionid prior to certain date}}}}</nowiki></tt>

e.g. <tt><nowiki>{{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid={{last revisionid prior to 20090201}}}}</nowiki></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 [[Special:Contributions/84.156.130.207|84.156.130.207]] 08:45, 15 March 2009 (UTC)

== Parentheticals in <nowiki>{{PAGENAME}}</nowiki> ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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 <nowiki>{{PAGENAME}}</nowiki> but remove parentheticals? For example if a page's name is "Titanic (film)" is there a way I can use <nowiki>{{PAGENAME}}</nowiki> to produce only "Titanic" on a template? Thanks!

—[[User:Secundus Zephyrus|Secundus Zephyrus]] 20:01, 16 March 2009 (UTC)

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

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.14.00
* PHP version: 5.x
* MySQL version: 4.x
* URL: http://mamedev.emulab.it/undumped
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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

<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/212.17.198.19|212.17.198.19]] 11:03, 18 March 2009 (UTC)
** Problem solved, I just had to use the transclude function on [http://www.mediawiki.org/wiki/Help:Recent_changes special:recentchanges]. I leave my question here for future reference

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

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki: 1.9.3
* PHP: 5.2.5 (cgi)
* MySQL: 4.1.22-standard-log
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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.


<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[User:Manco Capac|Manco Capac]] 11:52, 18 March 2009 (UTC)

: There's something said about changing the sidebar including toolbox at [[Manual:Interface/Sidebar#Add or remove sections (JavaScript)]]. Perhaps that helps for some steps ahead? -- JörgM [[Special:Contributions/84.156.188.128|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. --[[User:Manco Capac|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#Add or remove sections (JavaScript)]] in the section "code" to your [[MediaWiki:Common.js]].
:::* Change the following section of the code:
<div style="margin-left:2em;"><source lang="javascript">
function CustomizeModificationsOfSidebar() {
//adds [[Special:CategoryTree]] to toolbox
ModifySidebar("add", "toolbox", "CategoryTree", "http://en.wikipedia.org/wiki/Special:CategoryTree");
//removes [[Special:Upload]] from toolbox
ModifySidebar("remove", "toolbox", "Upload file", "http://en.wikipedia.org/wiki/Special:Upload");
}
</source></div>
:::: to something like the following:
<div style="margin-left:2em;"><source lang="javascript">
function CustomizeModificationsOfSidebar() {
//removes [[Special:Upload]] from toolbox
ModifySidebar("remove", "toolbox", "Upload file", "http://urlofyourstandardmediawikiuploadpage");
//adds [[whatever the pages name is]] to toolbox
ModifySidebar("add", "toolbox", "Upload file", "http://urloftheuploadpageyouwanttouseinstead");
}
</source></div>
::: Beware: You must have got admin rights to change your [[MediaWiki:Common.js]]! -- JörgM [[Special:Contributions/84.156.192.48|84.156.192.48]] 21:53, 24 March 2009 (UTC)
*Thanks a lot. Great! Now It's working. Best regards, --[[User:Manco Capac|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. ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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!)
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->
This problem happens when using a predefined template on an article.
The <nowiki><includeonly><includeonly> and <noinclude></noinclude></nowiki> 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 <nowiki><p></nowiki>, and by messing around with the placement of <nowiki><includeonly></nowiki> I found out that this was causing it.


Thanks in advance for any help you might offer me.


<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/84.104.59.72|84.104.59.72]] 15:30, 21 March 2009 (UTC)

== Uploading multiple image files? ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.6.8
* PHP version: 5.0.4
* MySQL version: 4.1.10a-nt
* URL:
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->
How do I upload multiple images to the wiki that I'm using for internal documentation such as an installation guide.

<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/207.134.68.154|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 [[Special:Contributions/84.156.135.245|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 [[Special:Contributions/84.156.183.81|84.156.183.81]] 19:53, 26 April 2009 (UTC)

::::I have exactly the same problem for my localhost installation! [http://commons.wikimedia.org/wiki/Commons_talk:Tools/Commonist/Other_Wikis Commonist on localhost] --WikipediaMaster

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

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version:
* PHP version:
* MySQL version:
* URL:
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

This is a site powered by other wiki software: [http://www.colbest.com/ 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?


<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[User:Code263|Code263]] 12:24, 11 April 2009 (UTC)
: Which effect do you mean? All of those question marks which I get??? -- JörgM [[Special:Contributions/84.156.139.76|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 [[Special:Contributions/84.156.183.81|84.156.183.81]] 19:17, 26 April 2009 (UTC)

== Editing the Sidebar ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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


<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/121.245.117.115|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 [[Special:Contributions/84.156.183.81|84.156.183.81]] 19:29, 26 April 2009 (UTC)

== TOC is not displayed for anonymous users ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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 <nowiki>__TOC__</nowiki> 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? <br>
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.

—[[User:KlausDH|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. <nowiki>__TOC__</nowiki> 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 <nowiki>__FORCETOC__</nowiki> (maybe with adding <nowiki>__TOC__</nowiki> 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 [[Special:Contributions/84.156.139.76|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 <nowiki>__FORCETOC__</nowiki> 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. --[[User:KlausDH|KlausDH]] 06:42, 6 May 2009 (UTC)

== Many templates are not formatting properly ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.14.0
* PHP version: 5.2.6
* MySQL version: 5.0.67
* URL: http://wikademia.org/Nagina_Group
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->
@ 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?
<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[User:Wikademia|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 [[Special:Contributions/84.156.183.81|84.156.183.81]] 19:14, 26 April 2009 (UTC)

== YAML skin for MediaWiki ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.14
* PHP version: 5.1.2
* MySQL version: 5.0.x
* URL: localhost
* YAML: 3.0.6
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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===
[http://www.yaml.de YAML (HTML / CSS Framework)]

<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/91.46.184.179|91.46.184.179]] 22:28, 29 April 2009 (UTC)

:Ask on [[MediaWiki_on_IRC|IRC]] or the [https://lists.wikimedia.org/mailman/listinfo/mediawiki-l mailing list]. —[[User:Emufarmers|Emufarmers]]<sup>([[User talk:Emufarmers|T]]|[[Special:Contributions/Emufarmers|C]])</sup> 03:11, 30 April 2009 (UTC)

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

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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

—[[User:Mappc|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 [[Special:Contributions/84.156.129.221|84.156.129.221]] 19:20, 1 May 2009 (UTC)

==(RESOLVED) Link color==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.14.0
* PHP version: 5.2.6 (apache2handler)
* MySQL version: 5.0.50sp1a-enterprise-gpl-log
* URL: http://conduit.wikia.com/
<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->

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.


<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[User:SilverBlade784|SilverBlade784]] 19:15, 1 May 2009 (UTC)

: I just added
<pre>a {color: silver;}</pre>
: 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 [[Special:Contributions/84.156.129.221|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. —[[User:SilverBlade784|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 [[Special:Contributions/84.156.128.106|84.156.128.106]] 20:09, 4 May 2009 (UTC)

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

== surely there is a way to download and install the Templates ==
<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.14
* PHP version: 5.2.6-2ubuntu4.2
* MySQL version: 5.0.67
* URL: intranet
Hi,

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.

—[[User:Jfmxl|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 <nowiki>{{pagename}}</nowiki> resp. <nowiki>{{:pagename}}</nowiki> 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 [[Special:Contributions/84.156.143.47|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.

[[User:Jfmxl|Jfmxl]] 14:25, 2 May 2009 (UTC)

== "Split" main page ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* 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?

—[[Special:Contributions/212.183.54.101|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).

{| width="100%" cellspacing="0" cellpadding="0" style="background-color: #ffffff; border: 1px solid silver; border-collapse: collapse; width: 100%; margin: 0 0 1em 0;"
|-
| style="background-color: #d8e8ff; border-bottom: 1px solid silver; text-align: center; font-size: 1em; font-weight: bold; margin-top: 0; margin-bottom: 0; padding-top: 0.1em; padding-bottom: 0.1em;" | Headline
|-
| style="padding: 0.3em 0.8em 0.4em 0.8em;" |
Text
|}

{| width="100%" cellspacing="0" cellpadding="0"
|-
| width="50%" style="vertical-align: top;" |
{| style="background-color: #ffffff; border: 1px solid silver; border-collapse: collapse; width: 100%; margin: 0 0.5em 0 0;"
|-
| style="background-color: #d8e8ff; border-bottom: 1px solid silver; text-align: center; font-size: 1em; font-weight: bold; margin-top: 0; margin-bottom: 0; padding-top: 0.1em; padding-bottom: 0.1em;" | Headline
|-
| style="padding: 0.3em 0.8em 0.4em 0.8em;" |
<nowiki>{{a template}}</nowiki>
|}
<nowiki>{{another template}}</nowiki>
| width="50%" style="vertical-align: top;" |
{| style="background-color: #ffffff; border: 1px solid silver; border-collapse: collapse; width: 100%; margin: 0 0 0 0.5em;"
|-
| style="background-color: orange; border-bottom: 1px solid silver; text-align: center; font-size: 1em; font-weight: bold; margin-top: 0; margin-bottom: 0; padding-top: 0.1em; padding-bottom: 0.1em;" | Headline
|-
| style="padding: 0.3em 0.8em 0.4em 0.8em; background-color: orange;" |
Text
|}

{| style="background-color: #ffffff; border: 1px solid silver; border-collapse: collapse; width: 100%; margin: 1em 0 0 0.5em;"
|-
| style="padding: 0.3em 0.8em 0.4em 0.8em;" |
Text
|}

{| style="background-color: #ffffff; border: 1px solid silver; border-collapse: collapse; width: 100%; margin: 1em 0 0 0.5em;"
|-
| style="background-color: #d8e8ff; border-bottom: 1px solid silver; text-align: center; font-size: 1em; font-weight: bold; margin-top: 0; margin-bottom: 0; padding-top: 0.1em; padding-bottom: 0.1em;" | Headline
|-
| style="padding: 0.3em 0.8em 0.4em 0.8em;" |
Text
|}
|}
: -- JörgM [[Special:Contributions/84.156.131.135|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)


== Page is not displayed ==
== Page is not displayed ==
Line 1,492: Line 293:


== Ordered lists broken by code listings ==
== Ordered lists broken by code listings ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.14.0
* MediaWiki version: 1.14.0

Revision as of 16:44, 27 May 2009


  • 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)Reply

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

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 (talkcontribs) 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 (talkcontribs) 18:21, 13 January 2009. Please sign your posts with ~~~~!

formatting PHP/CSS code

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

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

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 < nowiki ></ nowiki > appear on the results of an mssql query below are the source

{{{1}}}

== Fixed Issues ==

The table below lists all issues fixed since the last release.
{{#mssql: 10.5.1.5 | WikiUser | Redmap | TrackPlus360 | Select [Issue Number], Subsystem, Build, Synopsis FROM ReleaseNotes WHERE (Project LIKE '{{{1}}}') AND ([Release Scheduled] LIKE '{{{2}}}') AND ([Release Scheduled] NOT LIKE [Release Noticed]) ORDER BY [Issue Number]}}

== 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

—[[User:Luminoso|Luminoso]] 18:56, 21 January 2009 (UTC)

: No site with this URL. Given it up? -- JörgM [[Special:Contributions/84.156.161.134|84.156.161.134]] 08:54, 7 May 2009 (UTC)

== 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? <br/>
I'm looking for a tool to transfer excel tabel in a wiki table?<br/>
Thanks for help {{unsigned|212.101.18.161|08:23, 22 January 2009}}

== Main Page Edit ==

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. -->
* MediaWiki version: 1.13.3
* PHP version: 5.2.42-servage8
* MySQL version: 5.0
* URL: http://wiki.tdltinc.com

<!-- Now, please report your error, or ask your support question below. (You can remove this line before saving.) -->
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".

<!-- The following bit will be converted to a signature with timestamp. (You can remove this line before saving.) -->
—[[Special:Contributions/125.60.209.72|125.60.209.72]] 03:09, 6 February 2009 (UTC)

: Try adding
<pre>.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 #"Split" main page.) -- 84.156.161.134 09:20, 7 May 2009 (UTC)Reply

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

Have a look above under #Can I force every user to use the same template when creating a new page?. -- JörgM 84.156.161.134 09:23, 7 May 2009 (UTC)Reply

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

Probably just with a table. The following code
{| cellpadding="20"
|-
| width="350px" |
=== Headline ===

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

A lot of text ...
|}
gives the following result:

Headline

A lot of text ...

Headline

A lot of text ...

-- JörgM 84.156.161.134 09:38, 7 May 2009 (UTC)Reply

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

Have a look below at #(RESOLVED) Link color. -- JörgM 84.156.188.3 20:45, 8 May 2009 (UTC)Reply

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 {{languages}} 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 "{{languages}}" button is working in this site.

but it failed on mys —The preceding unsigned comment was added by 167.230.38.118 (talkcontribs) 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)Reply

Page is not displayed

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
    1. Boots
    2. Bans
    3. Issues management
  4. Commanders' FAQ
    1. Boot On Sight
    2. Acceptance of Players
    3. Newbie boot protection
    4. Lobby booting
    5. Commanders' rights
  5. Veteran Conduct
    1. Newbie Servers
    2. Veteran Players & New Accounts
  6. Directives to @Alleg
    1. Balanced teams and accepting newbies
    2. 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)Reply

Hm. Difficult. But there are three things that let me (! I may be wrong, very wrong!) think about database, not formatting:
  1. All three pages "Enforcement FAQ", "Enforcement FAQ/Sanbox" and "Enforcement FAQ/Sandbox" are affected.
  2. I can't see ANY revisions of "Enforcement FAQ", "Enforcement FAQ/Sanbox" and "Enforcement FAQ/Sandbox", not only the actual revisions.
  3. 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:
  1. Saving the texts of all the three pages. (At least those parts of the text which you want to use for these FAQ.)
  2. 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 ;-).)
  3. 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)Reply
Thanks. I'll try and take it there. --Bp 13:21, 9 May 2009 (UTC)Reply
You have an unfinished upgrade; run the update script. —Emufarmers(T|C) 13:23, 9 May 2009 (UTC)Reply

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

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
some code here
  1. Item4

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

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>
<source lang="text">
some code here
</source>
<li>Item4</li>
</ol>
which results in the following list:
  1. Item1
  2. Item2
  3. Item3
  4. some code here
    
  5. Item4
or – less elegant – with combining:
#Item1
#Item2
#Item3
<source lang="text">
some code here
</source>
#<li value="4">Item4</li>
#Item5
which results in the following list:
  1. Item1
  2. Item2
  3. Item3
some code here
  1. Item4
  2. Item5
Indent for source code can be done by adding : in front of the line:
#Item1
#Item2
#Item3
::<source lang="text">
some code here
</source>
#<li value="4">Item4</li>
#Item5
which results in the following list:
  1. Item1
  2. Item2
  3. Item3
some code here
  1. Item4
  2. 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)Reply
  • 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)Reply

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

code and source tag in articles

Moved from Project:Forum Happymelon 21:51, 19 May 2009 (UTC)Reply

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

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. – rotemlissTalk 14:08, 20 April 2009 (UTC)Reply

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

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

Problem with ordered list and an indented table

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

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> tag directly. Try adding a linebreak between the end of the table and the <ol start=4>; that should reset the indentation. Happymelon 21:42, 21 May 2009 (UTC)Reply
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
{| border="1" cellpadding="2"
| Text
| Text
| Text
| Text
| Text
|}
<li>Text
<li>Text
{| border="0" cellpadding="2" width="50%"
|
{| border="1" cellpadding="0" width="100%"
! Text
! Text
|-
| Text
| Text
|-
| Text
| Text
|}
|
{| border="1" cellpadding="0" width="100%"
! Text
! Text
|-
| Text
| Text
|-
| Text
| Text
|}
|
{| border="1" cellpadding="0" width="100%" valign="top"
! Text
! Text
|-
| Text
| Text
|-
| Text
| Text
|}
|}
<li>Text
{| border="1" cellpadding="2"
| Text
| Text
| Text
| Text
| Text
|}
<li>Text
<li>Text
</ol>
gives the following result:
  1. Text
    Text Text Text Text Text
  2. Text
  3. Text
    Text Text
    Text Text
    Text Text
    Text Text
    Text Text
    Text Text
    Text Text
    Text Text
    Text Text
  4. Text
    Text Text Text Text Text
  5. Text
  6. Text
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 #Ordered lists broken by code listings. -- JörgM 90.179.238.201 20:32, 22 May 2009 (UTC)Reply

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

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. Happymelon 21:27, 25 May 2009 (UTC)Reply
Thank you! That is exactly what I was looking for! —81.82.72.97 20:29, 26 May 2009 (UTC)Reply
  • 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:13, 27 May 2009 (UTC)Reply

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

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
/* NS Manual + Manual_talk (light bluish violet) */
.ns-100 #content, .ns-101 #content { background: #f3f3ff; }
.ns-100 div.thumb, .ns-101 div.thumb { border-color: #f3f3ff; }
You may need to look up the syntax of CSS in order to understand what this code is doing. Hope this helps, Happymelon 16:02, 27 May 2009 (UTC)Reply