Page MenuHomePhabricator

Monotonic increasing of strip markers allows information to be shared between parts of a page
Open, HighPublic

Description

The final set of numbers in a strip marker starts at 0 and goes up by 1 for each occurrence of the tag that placed the strip marker. This can be used in conjunction with obscure extension tags to pass information between different parts of a page. An example of this is that from Lua, "return frame:extensionTag('hiero', 'foo'):sub(29, 36)" returns a number 1 higher than the last each time, even between different #invoke's.


Version: 1.24rc
Severity: normal

Details

Reference
bz65259

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:24 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz65259.
bzimport added a subscriber: Unknown Object (MLST).