-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I am creating a numbered list with a code snippit between two of the items and having problems with MediaWiki resetting the numbering after the code snippit. Here is an example:
- ------------------------------------------------------ # Item 1 # Item 2 <pre>Some code here Some code here Some code here Some code here</pre> # Item 3 # Item 4 - ------------------------------------------------------
The way it comes out is:
- ------------------------------------------------------ 1. Item 1 2. Item 2
Some code here Some code here Some code here Some code here
1. Item 3 2. Item 4 - ------------------------------------------------------
How do I tell it to continue using the same list? We're running MediaWiki 1.1.2.0
Thanks,
Chris Miller ServerMotion www.servermotion.com
Hi,
Am Sat, 16 Aug 2008 15:35:29 -0500 schrieb Chris Miller cmiller@servermotion.com:
# Item 1 # Item 2 <pre>Some code here Some code here Some code here Some code here</pre> # Item 3 # Item 4
use: - ------------------------------------------------------ <ol> <li>Item 1</li> <li>Item 2 <pre>Some code here Some code here Some code here Some code here</pre></li> <li>Item 3</li> <li>Item 4</li> </ol> - ------------------------------------------------------
Matthias
Matthias Korn wrote:
Hi,
Am Sat, 16 Aug 2008 15:35:29 -0500 schrieb Chris Miller cmiller@servermotion.com:
# Item 1 # Item 2 <pre>Some code here Some code here Some code here Some code here</pre> # Item 3 # Item 4
use:
<ol> <li>Item 1</li> <li>Item 2 <pre>Some code here Some code here Some code here Some code here</pre></li> <li>Item 3</li> <li>Item 4</li> </ol> - ------------------------------------------------------
Matthias
It's probably easier to use - ------------------------------------------------------ # Item 1 # Item 2 <pre>Some code here Some code here Some code here Some code here</pre> # <li value=3>Item 3 # Item 4 - ------------------------------------------------------
Cheers, Filip
Filip Maljkovic [dungodung@gmail.com] wrote:
It's probably easier to use # Item 1 # Item 2 <pre>Some code here Some code here Some code here Some code here</pre> # <li value=3>Item 3 # Item 4
Interesting idea, but that doesn't work:
1. The <pre> doesn't apply to the last 3 "Some code here" lines 2. The <li value=3> does print a "3", but directly on top of the "1" produced by the "#" (overstriking it)
This is in 1.13.
DanB
Hi tutti, question about #tag or {{{param=}}}
I would like to use SubPageList3 (<splist />), but by the way of a template {{sous-page|1|2}} with parameters, and so I simply call {{sous-pages}} with the good "parent page" with a parameter (named or unamed, I tried both) . And I don't succeed ! (MW1.12 on localhost/WinXP/WAMP2.0)
I believed that {{#tag:MyExtension |param}} would allow to give/transmit parameters to that kind of ExtensionTag, but I probably misunderstood something http://www.mediawiki.org/wiki/Extension:SubPageList3 (I 've read articles about TagParser and new #tag included in MW1.12)
So I defined {{sous-page}} like this : {{ #tag:splist | parent={{{1|{{FULLPAGENAME}} }}} | showparent={{{showparent|no}}} | sort=desc | sortby=title | liststyle=bar | showpath= | kidsonly=yes | debug=0 }}
Apparently this template (this code above) works directly in a test-page and I get the list (so MW seems to understand {{ #tag:splist | parent={{FULLPAGENAME}}..)
But it works not when I call {{Sous-pages | Espace:Nompage}} ... It looks like it doesn't understand {{ #tag:splist | parent={{{1}}}..) The message is :"Sous-pages n'a pas de sous-pages à énumérer."
Please what happens ??
Merci d'avance et bon WEnd à tous ;O) @+ de jfb "0.02$"
mediawiki-l@lists.wikimedia.org