Page MenuHomePhabricator

Flow: localization of NS_TOPIC
Closed, ResolvedPublic

Description

I'm not sure NS_TOPIC is localizing properly. I switched my local wiki to $wgLanguageCode = "fr" and restarted memcached but:

  • Sujet:<topicUUID> didn't work, it's just a regular page.
  • Permalinks still use Topic:Nnnn.
  • advanced search shows "Topic" not "Sujet"

Also

  • Talk:Flow_QA redirects to Discussion:Flow_QA but then shows "Action inconnue

<flow-action-unsupported>"

When we get serious about localizing Flow we should enable it on beta labs in other languages: http://de.wikipedia.beta.wmflabs.org , he-labs, ja-labs, etc.


Version: master
Severity: normal

Details

Reference
bz68419

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:41 AM
bzimport set Reference to bz68419.

From looking at Scribunto which adds Module namespaces that is localized, I think Flow needs to handle 'CanonicalNamespaces' hook instead of just $wgExtraNamespaces[NS_TOPIC] = "Topic"

Change 148612 had a related patch set uploaded by Spage:
Use CanonicalNamespaces hook for NS_TOPIC

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

Change 148612 merged by jenkins-bot:
Use CanonicalNamespaces hook for NS_TOPIC

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

Quiddity removed a subscriber: Maryana.Dec 19 2014, 1:33 AM