It is possible to interrupt and resume a list in some cases, but it's a bit awkward, and won't work with wiki table syntax; i.e.
#a #b #c <nowiki> </nowiki><div style=border:1px solid><nowiki> </nowiki>this is some text<nowiki> </nowiki></div> #e #f
The awkward syntax could be fixed with an extension. It would also be simple to write a list parsing extension, based on modified parser code, that could do things like start at an arbitrary number. either way, it's probably easier to implement it as an extension, rather than adding it to the core parser code.
On Fri, 03 Aug 2007 05:14:25 -0700, Paul Grinberg wrote:
Hello,
I have been maintaining my company's wiki for some time now. The number one concern that has been expressed throughout the wiki's existence is that numbered lists cannot be restarted.
For example, numbered lists are a perfect solution for procedure documentation. However, oftentimes it is necessary to insert a <pre>,
<div>, or even wiki-syntax table between two consecutive steps. In the current wiki implementation, Parser.php restarts the numbered list back at #1 after such an interjection. Am I missing something? Is there a mechanism to embed these (and possible other) non-numbered list items in a numbered list?
If there currently isn't a way to do so, then I'd like to see if there is currently any effort to hack/redesign the Parser to accept some new syntax (backwards compatible, of course) to allow for starting a numbered list at any user defined value? And if there isn't such an effort already, then I'd like to give it a try myself (I've looked at the code already and have a pretty good idea on how to do it).
Thanks in advance!
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC