Page MenuHomePhabricator

Special:EnableStructuredDiscussions says "invalid special page" when wiki language is bn (Bengali)
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Have a wiki that's in the 'bn' language
  • Install and configure Flow/StructuredDiscussions
  • Go to Special:EnableStructuredDiscussions

What happens?:
Going to Special:EnableStructuredDiscussions on a wiki with the language 'bn' doesn't work and it says "You have requested an invalid special page. A list of valid special pages can be found at Special pages.". Changing the wiki language to English or any other language (at least some I've tested) works.

What should have happened instead?:
The page should've worked correctly and lead to a special page.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
MediaWiki: 1.36.1
PHP: 7.3.29-1
Flow version: https://github.com/wikimedia/mediawiki-extensions-Flow/tree/76f5ba79f05d47bc576bf757c7acc6db4fc1dc60

Details

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper renamed this task from Special:EnableStructuredDiscussions doesn't work when the wiki language is bn (Bengali) to Special:EnableStructuredDiscussions says "invalid special page" when wiki language is bn (Bengali).Aug 5 2021, 7:40 AM

This is because of this line. MediaWiki doesn't understand the character য় (U+09DF) and we have to normalize/decompose it (see T152956, T153132 for more info). We need a patch like https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ContentTranslation/+/326433/

Please replace

	'EnableStructuredDiscussions' => [ 'ফ্লো_সক্রিয়করণ' ],

with

	'EnableStructuredDiscussions' => [ 'ফ্লো_সক্রিয়করণ' ],

Change 743010 had a related patch set uploaded (by Aftab; author: Aftab):

[mediawiki/extensions/Flow@master] Fixing mediawiki's \u09DF problem

https://gerrit.wikimedia.org/r/743010

Change 743010 merged by jenkins-bot:

[mediawiki/extensions/Flow@master] Fixing mediawiki's \u09DF problem

https://gerrit.wikimedia.org/r/743010

Test wiki on Patch demo by Yahya using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/78c19a1f99/w/