Topic on Talk:MediaWiki Language Extension Bundle

Problems with $wgTranslateBlacklist = array();

3
Hutchy68 (talkcontribs)

Updated a MW 1.23 to 1.27, now using PHP 7.0.15. Updated all the extensions including this one to the latest release. Ran php update.php. Everything works, but $wgTranslateBlacklist = array(); seems to be getting ignored completely. There is no way to translate /en pages now if needed.

It I try to update the $wgTranslateBlacklist = array(); to the example and modify the message English is the source language of this page. to something else to test the array but it will not change the message. What is causing an issue is I need to modify en pages. Specifically, categories to a trailing /en so they don't appear in the none /en categories. There aren't too many translated pages so tweaking the categories on those pages isn't an issue.

Other languages, the extension is fast and works great. En and the page starts to load, but the message Translation of the wiki page Foo from English (en). changes to the top alphabetical page of message groups, Translation of the wiki page A-foo from English (en). There is no way to edit message groups in en at this point.

Hutchy68 (talk) 21:14, 27 January 2017 (UTC)

Nikerabbit (talkcontribs)

There has been an intentional change in the code that blocks updates to the source language by default. I was not aware that there exists an use case that would require enabling edits in the source language.

Hutchy68 (talkcontribs)

Thanks, I thought there might have been a coded change. The docs still show the old method. Anyway, I see there was an additional parameter added in the newer version.[[Category:Category Name{{#translation:}}]] adds the correct /lang to the end of the categories automatically based on the language subpage of the translation. Hutchy68 (talk) 15:00, 18 February 2017 (UTC)

Reply to "Problems with $wgTranslateBlacklist = array();"