Last modified: 2011-07-03 17:44: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 T27721, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25721 - Adding better parsing for single closing braces at the end of a parameter
Adding better parsing for single closing braces at the end of a parameter
Status: NEW
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-31 09:17 UTC by Umherirrender
Modified: 2011-07-03 17:44 UTC (History)
1 user (show)

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


Attachments

Description Umherirrender 2010-10-31 09:17:16 UTC
When have a parameter with a single braces at the end of the parameter, the braces does not go to the parameter:

{{template|1={text}}} get parsed as {{template|1={text}} } (parameter 1 is {text) not as {{template|1={text} }} (parameter 1 is {text}).

Adding a space behind the closing braces is the only way to avoid the wrong parsing.

In my opinion the preprocessor should respect balanced single braces, so the example get parsed better.
Comment 1 db [inactive,noenotif] 2011-07-03 17:44:44 UTC
related wrong brackets handling: bug 26996 and bug 11239

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


Navigation
Links