Page MenuHomePhabricator

Missing message in Kartographer provided by WikimediaMessages
Open, LowPublicBUG REPORT

Description

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

  • Install MediaWiki and the extension Kartographer (just tested with current master branches, as of 8 November 2021)
  • Active logging
  • Copy-paste a map example, e.g. the one on mediawiki.org, save the page

What happens?:
The message "project-localized-name-commonswiki" is missing, as displayed by the following log (formatted below for readability, stripped a few unrelevant/private informations):

[2021-11-08T13:14:21.989480+01:00] resourceloader.WARNING: Failed to find project-localized-name-commonswiki (en) {"messageKey":"project-localized-name-commonswiki","lang":"en"}
{
	"url": "/mediawiki/master/load.php?lang=en&modules=ext.kartographer%7Cext.kartographer.box%2Cdata%2Cframe%2Csite%2Cutil%7Cext.kartographer.lib.topojson%7Cjquery%2Cmapbox%2C…&skin=vector&version=6arvo",
	"ip": "::1",
	"http_method": "GET",
	"server": "_",
	"referrer": "https://[::1]/mediawiki/master/index.php?title=Accueil&action=submit",
	"wiki": "mediawiki_master",
	"mwversion": "1.38.0-alpha",
	"reqId": "f6d224ae7a312861f29e831b"
}

What should have happened instead?:
The message is provided by the extension WikimediaMessages, in i18n/wikimediaprojectnames.

→ Given the message is used by Kartographer, it should be defined in Kartographer without the need of WikimediaMessages, which is specific to Wikimedia wikis.

However, I’m not sure how to properly handle this situation.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

Event Timeline

TheDJ triaged this task as Low priority.

I quickly fixed this issue by adding the message in Kartographer in our deployment, but it could be more difficult to fix properly because, if added in Kartographer, this message will be defined both in Kartographer and in WikimediaMessages.

@TheDJ: Removing task assignee as this open task has been assigned for more than two years - see the email sent to all task assignees on 2024-04-15.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!