Problem with RevisionDelete messages
Hello. I do not know if this is the proper site to ask. Excuse me. I'm a steward and, when performing revision deletion/suppression on wikis, even if I have the preferences in English in that site, some messages of RevisionDelete still appears in the local wiki language (like the options and the logs entries in Special:Log/suppress). Any way to fix this? Thanks in advance.
Honestly, I have given up on trying to follow what is happening inside FlaggedREvs. The developer, like no other developer we know of, keeps on changing messages in the extension (mostly noted as 'tweaks'). I suggest you bug him directly or through bugzilla:.
Hello Siebrand. Thanks for your reply. The problem is not with FlaggedRevs, but with RevisionDelete. Shall I go to bugzilla too? Best regards.
Right. I misread that. Log entries are often in the content language, because the entries are stored in plain text. You could file a change request for this in bugzilla. I would expect all run time UI texts to be able to display in your preferred language if the translation is present, with final fallback to English.
If you see any content language in UI texts, while you expect something different, please refer to a URL where this can be observed, or add a screenshot so we can analyse further.
Actually, the problems are with this messages:
- MediaWiki:Revdelete-restricted.
- MediaWiki:Revdelete-unrestricted.
- MediaWiki:Revdelete-hid.
- MediaWiki:Revdelete-unhid.
These are system messages; but no matter wich language you have in the preferences, you see them in the local wiki's language. I'd prefer not to give specific links or screenshots to private logs, but I've tested on test.wikipedia and this can be viewed here. Regards.
Like I said: the content language text messages are inserted into the log rows. They are in the database as plain text forever, and cannot be changed. No i18n there...
Is there some technical reason this was done, or can we consider it a bug that just needs to be fixed?
No. The content language text is not being inserted into the log rows. It's just that is forced to the content language for apparently no reason. I'm looking into it.
Is there a i18n-aware way of doing implode( ', ', $changes[1] ) ?
Fixed in r64047.