Hi,
I try to insert code within numbered lists and cannot get it fully working: the numbering breaks after I insert the code.
# step 1 # step 2 # step 3 <code> multi-line code </code> # step 4 # step 5
At "step 4" numbering restarts from "1".
How should I insert the code in the numbered lists?
Hi Jan,
At "step 4" numbering restarts from "1". How should I insert the code in the numbered lists?
Try something like the following, inserts a line break without forcing renumbering, don't know whether this will work for multi-line code, though:
# step 1 # step 2 # step 3 # : <code>multi-line code </code> # step 4 # step 5
hth Frank
It may also work with <br/>:
# step 1 # step 2 # step 3<br/><code>multi-line code </code> # step 4 # step 5
Bernhard -----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Frank Ralf Gesendet: Mittwoch, 14. April 2010 13:10 An: mediawiki-l@lists.wikimedia.org Betreff: Re: [Mediawiki-l] code tags break the numbering in lists
Hi Jan,
At "step 4" numbering restarts from "1". How should I insert the code in the numbered lists?
Try something like the following, inserts a line break without forcing renumbering, don't know whether this will work for multi-line code, though:
# step 1 # step 2 # step 3 # : <code>multi-line code </code> # step 4 # step 5
hth Frank
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Both work for single line code, but I have no idea how to make it working for multiline code. I also tried <source> tag.
On Wed, Apr 14, 2010 at 1:35 PM, Scheid, Bernhard < Bernhard.Scheid@oeaw.ac.at> wrote:
It may also work with <br/>:
# step 1 # step 2 # step 3<br/><code>multi-line code </code> # step 4 # step 5
Bernhard -----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces@lists.wikimedia.org [mailto: mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Frank Ralf Gesendet: Mittwoch, 14. April 2010 13:10 An: mediawiki-l@lists.wikimedia.org Betreff: Re: [Mediawiki-l] code tags break the numbering in lists
Hi Jan,
At "step 4" numbering restarts from "1". How should I insert the code in the numbered lists?
Try something like the following, inserts a line break without forcing renumbering, don't know whether this will work for multi-line code, though:
# step 1 # step 2 # step 3 # : <code>multi-line code </code> # step 4 # step 5
hth Frank
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Am 16.04.2010 14:17 schrieb Jan Kosinski:
Both work for single line code, but I have no idea how to make it working for multiline code.
Easy - simply use multiple breaks:
# test1 # test2<br/><tt>code 1</tt><br/><tt>code 2</tt><br/><tt>code 3</tt> # test3 # test4
Doesn't make a very readable wiki-code, but works for not interfering with the numbering...
Greetings Katharina
Both work for single line code, but I have no idea how to make it working for multiline code. I also tried <source> tag.
Well, the advice Daniel J. Barrett is giving in his "MediaWiki - Wikipedia and Beyond" (http://oreilly.com/catalog/9780596519681, p. 65) for komplex numbered lists is not using wiki syntax but pure HTML tags.
hth Frank
Frank Ralf writes:
... the advice Daniel J. Barrett is giving in his "MediaWiki - Wikipedia and Beyond" (http://oreilly.com/catalog/9780596519681, p. 65) for komplex numbered lists is not using wiki syntax but pure HTML tags.
That's right. Numbered lists are (in my opinion) the #1 weakness of wikitext. (#2 is the difficulty for novice users to create tables.)
Trust me, I love the MediaWiki software, but numbered lists are just implemented badly. (Granted, they are difficult things to implement well.) I recommend either using HTML <ol> & <ul> or using bulleted lists instead, which are implemented just fine in wikitext and in 90% of cases can replace a numbered list.
DanB
Daniel Barrett wrote:
I recommend either using HTML <ol> & <ul> or using bulleted lists instead, which are implemented just fine in wikitext and in 90% of cases can
replace a numbered list.
DanB
They have the same issue. It's just that you don't notice the break as you do with numbered ones.
Hi, Thanks for all responses, now everything is clear.
I will use bulleted list, at least to make it look nice.
On Sat, Apr 17, 2010 at 12:16 AM, Platonides Platonides@gmail.com wrote:
Daniel Barrett wrote:
I recommend either using HTML <ol> & <ul> or using bulleted lists
instead,
which are implemented just fine in wikitext and in 90% of cases can
replace a numbered list.
DanB
They have the same issue. It's just that you don't notice the break as you do with numbered ones.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi All,
Am 17.04.2010 00:16 schrieb Platonides:
Daniel Barrett wrote:
I recommend either using HTML <ol> & <ul> or using bulleted lists instead, which are implemented just fine in wikitext and in 90% of cases can
replace a numbered list.
DanB
They have the same issue. It's just that you don't notice the break as you do with numbered ones.
You get to see the issue, if you're "breaking" up a bullet-list in a sub-level (more than one * in front)...
Greetings Katharina
Arghh, you're right.
I switched to MediaWiki for my personal wiki site not so long time before from MoinMoin and I already regret that. Everything is so difficult to get working.
On Tue, Apr 20, 2010 at 12:47 PM, Katharina Wolkwitz wolkwitz@fh-swf.dewrote:
Hi All,
Am 17.04.2010 00:16 schrieb Platonides:
Daniel Barrett wrote:
I recommend either using HTML <ol> & <ul> or using bulleted lists
instead,
which are implemented just fine in wikitext and in 90% of cases can
replace a numbered list.
DanB
They have the same issue. It's just that you don't notice the break as you do with numbered ones.
You get to see the issue, if you're "breaking" up a bullet-list in a sub-level (more than one * in front)...
Greetings Katharina
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org