Page MenuHomePhabricator

Replace i18n for archivebot-archiveheader with wikidata item
Closed, ResolvedPublicFeature

Description

Replace i18n for archivebot-archiveheader with corresponding wikidata item.

Reason
The archivebot-archiveheader Template is a language related i18n translation but should be a site/code related L10N. It is not sure if the i18n translations works for all sites an twn should not used for localisation issues.

How to proceed

  • Find the corresponding wikidata item(s)
  • use this/these items in archivebot
  • remove template tests in i18n_tests
  • remove archivebot-archiveheader from translatewiki settings for Pywikibot
  • remove the translations from the json files
  • add the ability to set the template via command option or other implementation to support wikis outside the Wikimedia wiki farm.

Event Timeline

Xqt triaged this task as Medium priority.Jun 9 2025, 6:23 PM
Xqt changed the subtype of this task from "Task" to "Feature Request".
Xqt added a project: Pywikibot-i18n.

Change #1155115 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] IMPR: Use wikidata items for archive header templates

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

Change #1155252 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] tests: Remove L10N tests for deprecated i18n messages

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

Change #1155260 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/i18n@master] tests: Remove l10n_tests

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

Change #1155261 had a related patch set uploaded (by Xqt; author: Xqt):

[integration/config@master] Zuul: [pywikibot/i18n] Remove pywikibot-i18n-tox tests

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

Change #1155261 abandoned by Xqt:

[integration/config@master] Zuul: [pywikibot/i18n] Remove pywikibot-i18n-tox tests

Reason:

better keep the infrastructure and disable tests on project side

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

Change #1155360 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/i18n@master] tests: Remove l10n_tests but keep test infrastructure in i18n submodule

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

Change #1155260 abandoned by Xqt:

[pywikibot/i18n@master] tests: Remove l10n_tests

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

Change #1155360 merged by jenkins-bot:

[pywikibot/i18n@master] tests: Remove l10n_tests but keep test infrastructure in i18n submodule

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

Change #1155115 merged by jenkins-bot:

[pywikibot/core@master] IMPR: Use wikidata items for archive header templates

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

Change #1155252 merged by jenkins-bot:

[pywikibot/core@master] tests: Remove l10n_tests

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

Change #1159992 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/i18n@master] cleanup: remove archivebot-archiveheader and redirect-broken-redirect-template

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

Change #1159992 merged by jenkins-bot:

[pywikibot/i18n@master] cleanup: remove archivebot-archiveheader and redirect-broken-redirect-template

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

It is not sure if the i18n translations works for all sites an twn should not used for localisation issues.

On the other hand, the Wikidata solution doesn’t work on TWN itself. ☹ See https://translatewiki.net/wiki/User_talk:MarcoAurelio#Please_check_ArchiveBot.

Change #1257896 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/i18n@master] tests: Simplify test matrix

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

Change #1257896 merged by jenkins-bot:

[pywikibot/i18n@master] tests: Simplify test matrix

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