Last modified: 2014-06-09 10:00: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 T68351, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66351 - message preview on Special:AbuseFilter does not handle $2
message preview on Special:AbuseFilter does not handle $2
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-08 21:08 UTC by db [inactive,noenotif]
Modified: 2014-06-09 10:00 UTC (History)
2 users (show)

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


Attachments

Description db [inactive,noenotif] 2014-06-08 21:08:28 UTC
The message shown to the user to warn him or let him know that the action is not possible supports two parameters, but the preview of the message on Special:AbuseFilter/1 does not handle this.

At the moment a action=render is used and after that the $1 is replaced with the description, but this way is not the best for $2, because that can also be used in wikilinks and there will be red with $2, but stay red when the $2 is replaced by the number. Needs use of the api here (api.php?action=query&meta=allmessages&ammessages=abusefilter-warning&amargs=description|1&amenableparser=&amlang=userlanguage)
But that can also be handled as a seperate bug (Feel free to clone)

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


Navigation
Links