Last modified: 2009-05-13 18:53:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13262, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11262 - Parser function rendered improperly if condition branch begins with wikimarkup for lists
Parser function rendered improperly if condition branch begins with wikimarku...
Status: RESOLVED DUPLICATE of bug 12974
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-09 18:46 UTC by Danny B.
Modified: 2009-05-13 18:53 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Danny B. 2007-09-09 18:46:38 UTC
lorem{{#if:true|#foo|bar}}ipsum

gives

lorem
   1. fooipsum

Special:ExpandTemplates test expands it as:

lorem
#fooipsum

Same with "lorem{{#if:true|*foo|bar}}ipsum" and "lorem{{#if:true|:foo|bar}}ipsum".

So it's impossible to have this kind of results of test as inline text (expected result for first case would be lorem#fooipsum).

While it's impossible to remove the newline, it's easy to add it to have #*: behave as list items.
Comment 1 George Dowding 2007-12-16 14:24:50 UTC

*** This bug has been marked as a duplicate of bug 10687 ***
Comment 2 Splarka 2009-05-13 18:53:44 UTC

*** This bug has been marked as a duplicate of bug 12974 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links