Page MenuHomePhabricator

Write check-list on how to check whether LocalisationUpdate is not working
Closed, DeclinedPublic

Description

Every once in a while people claim that LocalisationUpdate is not working. That is kind of hard to verify because there are many parts, the extension and the WMF integration, taken care by different people, and sometimes people just have different expected behavior.

It would be helpful to write a check-list which people can use to check the logs and examples to confirm there is a problem.

Event Timeline

Nikerabbit raised the priority of this task from to Needs Triage.
Nikerabbit updated the task description. (Show Details)
Nikerabbit added a project: Language-Team.
Nikerabbit subscribed.
Amire80 triaged this task as Medium priority.Jan 22 2016, 11:09 AM
Amire80 set Security to None.
Amire80 raised the priority of this task from Medium to High.Jan 22 2016, 11:11 AM

Well, since I just did this once, might as write it down now before I forgot:

  1. Check https://wikitech.wikimedia.org/wiki/Server_Admin_Log

Expected results something like (one line for each active branch):

03:44 logmsgbot: l10nupdate@tin ResourceLoader cache refresh completed at Wed Jan 20 03:44:48 UTC 2016 (duration 7m 29s)
03:37 logmsgbot: mwdeploy@tin sync-l10n completed (1.27.0-wmf.11) (duration: 16m 21s)
  1. Check /var/log/l10nupdatelog/ for any errors

For example /var/log/l10nupdatelog/l10nupdate.log-20160122.gz (the file without timestamp is usually empty due to rotation and need to check the compressed log).

  1. Rule out changes forbidden due to change in English message. For example:
diff -u /var/lib/l10nupdate/mediawiki/extensions/Echo/i18n/en.json /srv/mediawiki/php-1.27.0-wmf.11/extensions/Echo/i18n/en.json 
--- /var/lib/l10nupdate/mediawiki/extensions/Echo/i18n/en.json  2016-01-22 02:02:11.657512004 +0000
+++ /srv/mediawiki/php-1.27.0-wmf.11/extensions/Echo/i18n/en.json       2016-01-19 19:38:12.000000000 +0000
@@ -53,7 +53,6 @@
        "echo-feedback": "Feedback",
        "echo-quotation-marks": "\"$1\"",
        "echo-api-failure": "Could not retrieve notifications. Please try again. (Error $1)",
-       "echo-api-failure-cross-wiki": "Access to the remote domain was denied.",
        "echo-notification-placeholder": "There are no notifications.",
        "echo-notification-loginrequired": "You must login to see your notifications.",
        "echo-notification-popup-loginrequired": "Please log in to view your notifications.",
@@ -127,7 +126,7 @@
        "echo-date-yesterday": "Yesterday",
        "echo-load-more-error": "An error occurred while fetching more results.",
        "notification-edit-talk-page-bundle": "$1 and $3 {{PLURAL:$4|other|others}} {{GENDER:$1|left}} messages on your [[User talk:$2|talk page]].",
-       "notification-bundle-header-edit-user-talk-v2": "$1 new {{PLURAL:$2|message|messages}} on {{GENDER:$3|your}} talk page.",
+       "notification-bundle-header-edit-user-talk-v2": "$1 new {{PLURAL:$2|messages}} on {{GENDER:$3|your}} talk page.",
        "notification-edit-user-talk-email-batch-bundle-body": "$1 and $2 {{PLURAL:$3|other|others}} {{GENDER:$1|left}} a message on your talk page.",
        "notification-page-linked-email-batch-bundle-body": "$2 was {{GENDER:$1|linked}} from $3 and $4 other {{PLURAL:$5|page|pages}}.",
        "echo-email-batch-separator": "--",

notification-bundle-header-edit-user-talk-v2 wont receive updates in any languages because English version differs.

There might be other things to check if this doesn't resolve the mystery.

Pginer-WMF lowered the priority of this task from High to Medium.Apr 25 2018, 3:29 PM
Pginer-WMF removed a project: Language-Team.
Jdforrester-WMF subscribed.

The LocalisationUpdate extensions has been archived. See T309694 for details.