Page MenuHomePhabricator

Language fallback does not work (anymore?) for AbuseFilter warnings.
Closed, DuplicatePublic

Description

On ptwiki, pt:Special:AbuseFilter/92 is supposed to warn¹ new users that attempt to upload files about the local policies. However, if the user set the language to pt-BR² in his preferences, the extension shows only a generic warning³ which do not explains anything.

I hope this is only a regression from some refactoring in the way fallback works, otherwise most of our users never got a decent warning message when they were hit by some edit filter...

¹ https://pt.wikipedia.org/wiki/MediaWiki:Abusefilter-warning-URC?oldid=21674185
² ...or any other language!
³ https://pt.wikipedia.org/wiki/MediaWiki:Abusefilter-disallowed?oldid=36899882

Event Timeline

He7d3r created this task.Oct 23 2016, 12:34 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 23 2016, 12:34 PM
He7d3r updated the task description. (Show Details)Oct 23 2016, 12:36 PM

https://pt.wikipedia.org/wiki/MediaWiki:Abusefilter-disallowed needs to be copied on https://pt.wikipedia.org/wiki/MediaWiki:Abusefilter-disallowed/pt-br , and the same for any other customised message which you want to work in both user interface languages.

He7d3r added a comment.Nov 6 2016, 5:52 PM

Oh well.. in that case, it is better to just transclude it so we don't forget to make updates...

Yes, that may work as well (for messages which support wikitext, like these).