Page MenuHomePhabricator

Allow wiki markup in the sidebar
Closed, ResolvedPublic

Description

It is sometimes desirable to include wiki markup directly into the sidebar, as reported on http://www.mediawiki.org/wiki/Manual:Sidebar#Allow_wiki_markup_.28PHP.29
MediaWiki should allow it without needing to change the code.


Version: 1.16.x
Severity: enhancement

Details

Reference
bz21278

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport set Reference to bz21278.
bzimport added a subscriber: Unknown Object (MLST).

Proposal

Backwards compatible sidebar syntax expansion to allow wikitext for entries with the form {{text}}, taken from MediaWiki:text.
The parser usage is probably not correct, but shouldn't need half dozen lines, either.

attachment bug 21278.patch ignored as obsolete

Patch has conflicts on trunk. Please submit an updated patch.

Updated patch

Patch updated to trunk. What do you think, Siebrand?

Attached:

This syntax seems pretty odd; {{text}} would seem to indicate template expansion of Template:Text, whereas this sounds a little more like it would look like {{int:text}}?