Last modified: 2006-06-03 23:33:59 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 T5285, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3285 - Parsing of nested extension tags is inconsistent
Parsing of nested extension tags is inconsistent
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://playwiki.wegge.dk/index.php?ti...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-27 21:45 UTC by Anders Wegge Jakobsen
Modified: 2006-06-03 23:33 UTC (History)
0 users

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


Attachments

Description Anders Wegge Jakobsen 2005-08-27 21:45:18 UTC
Nesting two extensions gives some strange results. With two extensions, each
returning "This is extension # and i was passed'" . $text ."'"; the following
wikitext fragment 

<ext1> Extension one alone </ext1>

<ext2> Extension two alone </ext2>

<ext1> Extension one including  ext2: '<ext2> Extension two inside extension1
</ext2>' </ext1>

<ext2> Extension two including  ext1: '<ext1> Extension one inside extension2
</ext1>' </ext2>

The resulting text is not quite what is expected:

This is extension1 and I was passed ' Extension one alone '

This is extension2 and I was passed ' Extension two alone '

This is extension1 and I was passed ' Extension one including ext2: ' Extension
two inside extension1 ' '

This is extension2 and I was passed ' Extension two including ext1: 'This is
extension1 and I was passed ' Extension one inside extension2 '' '
Comment 1 lɛʁi לערי ריינהארט 2005-10-08 15:33:32 UTC
¿does this relate to?

bug 1310: Recursive tags in extensions.
Comment 2 Brion Vibber 2006-06-03 23:33:59 UTC
This was recently fixed on trunk.

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


Navigation
Links