https://bugzilla.wikimedia.org/show_bug.cgi?id=66351

            Bug ID: 66351
           Summary: message preview on Special:AbuseFilter does not handle
                    $2
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: AbuseFilter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to