Page MenuHomePhabricator

translation issue on [[MediaWiki:Globalblocking-blockedtext-on-proxy/en]] and [[MediaWiki:Globalblocking-blockedtext-on-range/en]]
Closed, ResolvedPublic

Description


Message URL:

The updated messages in English do not validate the correct link to [[m:Special:MyLanguage/Global blocks|...]] in translations: the target URL is not changed, but the text of the link should be translated but still cannot (so we get an incorrect mix of English+translation in the visible text if we do that. please remove the inner-text of the wikilink from the content of the expected code to preserve, do not include the full wikilink (exclude surrounding brackets, pipe delimiter, and the translated text). May be this validation filter is done by a regexp, and in that case the regexp is incorrect.

Event Timeline

Note that apparently it's just impossible to place any wikilink (or external link by URL), whatever the target or the display text it contains, we always get a warning and a "fuzzy" status for the saved message.

Apparently it seems that those two messages are part of two different groups:

  • Global Blocking - User interface (ext-globalblocking-user)
  • Wikimedia Messages (ext-wikimediamessages): the most recently added message group (that has another issue, see https://phabricator.wikimedia.org/T332519)

Those groups reuse the same message ID, but only the 2nd of these groups was recently changed in sources to include the wikilink; so there are conflicting IDs within the same target namespace (MediaWiki:).

May be the message for the 1st group should contain the same wikilink as well and the two messages should have not been part of the 2nd message group.

This comment was removed by Verdy_p.

Also I think that the wikilink targets inserted as part of the message may not facilitate the reuse of this "Global Blocking" feature outside Wikimedia, because they would go to Wikimedia MetaWiki. This could conflict with Miraheze and BlueSpice wikis that have their own "Meta" support pages. The target should then probably be passed as a "$1" tvar, so that it can be tuned separately, depending on the wiki farm used (if there's one, may be it is no the same wiki and its local "M:" interwiki could be used for something else, such as a main support site, or a generic policy page describing multiple policies in the local "Project:" or "Help:" namespaces, not specific to a policy but possibly using target anchors).

McDutchie claimed this task.
McDutchie subscribed.

The link has been removed from the source messages, so this should be closed.