Last modified: 2011-01-06 01:50:16 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 T27431, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25431 - CentralNotice's Special:NoticeTemplate's insert links should not be hardcoded
CentralNotice's Special:NoticeTemplate's insert links should not be hardcoded
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Ryan Kaldari
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-06 00:37 UTC by MZMcBride
Modified: 2011-01-06 01:50 UTC (History)
0 users

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


Attachments

Description MZMcBride 2010-10-06 00:37:41 UTC
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.
Comment 1 Ryan Kaldari 2010-10-06 16:47:32 UTC
Good idea. Will try to squeeze this in before the fundraiser if possible.
Comment 2 Ryan Kaldari 2011-01-06 01:50:16 UTC
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.

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


Navigation
Links