How are numbered lists implemented in the present grammar? Would it be hard (in future) to put in some sort of number-from provision or tell the parser not to insert a </ol>?
- d. ---------- Forwarded message ---------- From: Herta Van den Eynde <[EMAIL PROTECTED]> Date: 16 Jan 2008 13:23 Subject: Re: [Mediawiki-l] numbered list broken by image or template To: MediaWiki announcements and site admin list <[EMAIL PROTECTED]> On 16/01/2008, Kilian <[EMAIL PROTECTED]> wrote: > Am Mittwoch, den 16.01.2008, 13:38 +0100 schrieb Herta Van den Eynde: > > When you use a numbered list, and insert an image or a template, the > > numbering is broken. > > E.g. > > > > # one > > # two > > [[Image:some-image.png]] > > # three > > > > will display: > > > > 1. one > > 2. two > > > > Image:some-image.png > > > > 1. three > > > > > > Is there a way to restart the numbering where you left of, so that the > > third element still reads: > > > > 3. three > > > > Kind regards, > > > > Herta > > > > Hi Herta, > > the problem is not the image but the line break. Here's how to mask it > such as not to break the item: > > # one > # two<br/>[[Image:Some-image.png]] > # three > > ~ Kilian Thanks, Kilian. That does indeed solve the problem with images. Unfortunately many (most?) of our templates contain line breaks. Any way to work around those? Kind regards, Herta -- Herta Van den Eynde "Life on Earth may be expensive, but it comes with a free ride around the Sun." _______________________________________________ MediaWiki-l mailing list [EMAIL PROTECTED] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ Wikitext-l mailing list [email protected] http://lists.wikimedia.org/mailman/listinfo/wikitext-l
