Page MenuHomePhabricator

CentralNotice's Special:NoticeTemplate's insert links should not be hardcoded
Closed, ResolvedPublic

Description

When you go to a page like http://meta.wikimedia.org/w/index.php?title=Special:NoticeTemplate/view&template=2010_testing44 there are helpful "insert" links. When you click "hide link" for example, it inserts some code into the <textarea>.

The returned code that's inserted into the textarea is hardcoded into the extension files. Instead of hardcoding it, it would be nice if it could insert the contents of a MediaWiki message. Like clicking "hide link" would insert the contents of "MediaWiki:Centralnotice-hide-link-insert". This will allow better and easier customization in the future (if we want to remove brackets from the "translate" link for example) without requiring developer/sysadmin intervention.


Version: unspecified
Severity: enhancement

Details

Reference
bz25431

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:12 PM
bzimport set Reference to bz25431.

Good idea. Will try to squeeze this in before the fundraiser if possible.

This was added for the fundraiser, although due to objections to this sort of wikimedia-specific customization I'm planning on removing it soon. For next year, I'll probably be developing some kind of "shared banner component" interface that will make this issue obsolete.