Page MenuHomePhabricator
Feed Advanced Search

Yesterday

Nikerabbit triaged T226080: PHP Deprecated: Use of OutputPage::parse was deprecated in MediaWiki 1.33. [Called from GettextDocumentationAid::getData in ///Translate/translationaids/GettextDocumentationAid.php at line 66] as Normal priority.
Wed, Jun 19, 9:10 AM · Technical-Debt, User-abi_, MediaWiki-extensions-Translate
Nikerabbit created T226080: PHP Deprecated: Use of OutputPage::parse was deprecated in MediaWiki 1.33. [Called from GettextDocumentationAid::getData in ///Translate/translationaids/GettextDocumentationAid.php at line 66].
Wed, Jun 19, 9:10 AM · Technical-Debt, User-abi_, MediaWiki-extensions-Translate
Nikerabbit added a comment to T225756: Clean up languages/ directory in MediaWiki core (June 2019).

I would be reluctant to move the data files under includes/. The fact that some of them are currently PHP files is just an implementation detail in my opinion.

Wed, Jun 19, 7:56 AM · MW-1.34-notes (1.34.0-wmf.11; 2019-06-26), Language-Team, MediaWiki-Internationalization
Nikerabbit added a comment to T225553: gmail users being suspended from mediawiki-l due to excessive bounces.

@Aklapper Do you mean the "You have been unsubscribed" email or one of the bounces? I don't see how the former would help, but I can share that. The latter I am naturally unable to share because I don't receive the bounces nor the emails causing them.

Wed, Jun 19, 6:42 AM · Operations, Wikimedia-Mailing-lists
Nikerabbit closed T221341: Awstats is broken as Resolved.
Wed, Jun 19, 5:35 AM · translatewiki.net

Tue, Jun 18

Nikerabbit added a comment to T225553: gmail users being suspended from mediawiki-l due to excessive bounces.

I got such an email again. Is this happening weekly now?

Tue, Jun 18, 1:07 PM · Operations, Wikimedia-Mailing-lists
Nikerabbit merged task T158742: Handling typo fixes in Gettext messages is tedious into T196601: Support renames in Special:ManageMessageGroups.
Tue, Jun 18, 10:44 AM · MediaWiki-extensions-Translate
Nikerabbit merged T158742: Handling typo fixes in Gettext messages is tedious into T196601: Support renames in Special:ManageMessageGroups.
Tue, Jun 18, 10:44 AM · Language-Team (Language-2019-July-September), User-abi_, MediaWiki-extensions-Translate
Nikerabbit moved T221119: Translate error - "This namespace is reserved for content page translations" from Backlog to page translation on the MediaWiki-extensions-Translate board.
Tue, Jun 18, 10:32 AM · Language-Team (Language-2019-July-September), WMSE-Bug-Reporting-and-Translation-2019, User-abi_, MediaWiki-extensions-Translate
Nikerabbit triaged T225999: Account name is not free to use again after account request is rejected as High priority.
Tue, Jun 18, 9:38 AM · MediaWiki-extensions-Translate
Nikerabbit created T225999: Account name is not free to use again after account request is rejected.
Tue, Jun 18, 9:38 AM · MediaWiki-extensions-Translate
Nikerabbit triaged T221341: Awstats is broken as Normal priority.
Tue, Jun 18, 8:23 AM · translatewiki.net
Nikerabbit claimed T221341: Awstats is broken.
Tue, Jun 18, 7:46 AM · translatewiki.net

Mon, Jun 17

Nikerabbit added a comment to T197787: CX2: Apply the right target when creating a missing link.

en->es Apertium The links are not translated, but Curl (mathematics) exists in eswiki - it's a bug

Mon, Jun 17, 7:51 AM · Language-Team (Language-2019-April-June), ContentTranslation
Nikerabbit claimed T224408: Ask for user confirmation when adding a missing link and the target page name is unclear.
Mon, Jun 17, 7:48 AM · Language-Team (Language-2019-April-June), ContentTranslation

Thu, Jun 13

Nikerabbit added a comment to T225620: Special:CXStats fails to load if there is no published translations.

you can't "reset" the environment?

Thu, Jun 13, 1:06 PM · ContentTranslation
Nikerabbit added a comment to T225620: Special:CXStats fails to load if there is no published translations.

Could try replacing https://gerrit.wikimedia.org/g/mediawiki/extensions/ContentTranslation/+/115b8c9ad4e44655bbdc8d1d0a4ebbe3965f51dc/includes/Translation.php#344 with return [].

Thu, Jun 13, 6:43 AM · ContentTranslation

Wed, Jun 12

Nikerabbit added a comment to T225582: Add svgtranslate to translatewiki.net.

I have accepted the GitHub invite.

Wed, Jun 12, 12:18 PM · Community-Tech (Kanban), translatewiki.net, SVG Translate Tool

Tue, Jun 11

Nikerabbit moved T154888: Content Translation occasionally publishes in the wrong language from In Review to Needs QA on the Language-Team (Language-2019-April-June) board.
Tue, Jun 11, 12:57 PM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Language-Team (Language-2019-April-June), CX-out-of-beta, WorkType-Maintenance
Nikerabbit added a comment to T225244: Travis CI failures in ApiQueryLanguageinfoTest.

Regarding the actual issue, my guess is that it is a difference between whether the cldr extension is available or not when the tests are run.

Tue, Jun 11, 12:52 PM · Patch-For-Review, MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Wikimedia-production-error (Shared Build Failure), MediaWiki-Internationalization, MediaWiki-API

Mon, Jun 10

Nikerabbit closed T222626: Turn logout link into a POST API call with refresh as Resolved.

Translatewiki.net. Looks like it caught some revision in between where there isn't a button, but the link text was already removed.

Mon, Jun 10, 2:53 PM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Patch-For-Review, Wikimedia-Hackathon-2019, User-Ladsgroup, MediaWiki-Authentication-and-authorization, Security
Nikerabbit reopened T222626: Turn logout link into a POST API call with refresh as "Open".

@Ladsgroup If I visit Special:UserLogout directly, I only see text "Do you want to log out?" and no button or link to do anything.

Mon, Jun 10, 2:47 PM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Patch-For-Review, Wikimedia-Hackathon-2019, User-Ladsgroup, MediaWiki-Authentication-and-authorization, Security
Nikerabbit created T225428: Drop official support for SolrTTMServer.
Mon, Jun 10, 2:19 PM · MediaWiki-extensions-Translate
Nikerabbit created T225427: Remove or fix $wgTranslateSecondaryPermissionUrl.
Mon, Jun 10, 2:06 PM · MediaWiki-extensions-Translate
Nikerabbit edited projects for T221119: Translate error - "This namespace is reserved for content page translations", added: Language-Team (Language-2019-July-September); removed Language-Team (Language-2019-April-June).
Mon, Jun 10, 12:10 PM · Language-Team (Language-2019-July-September), WMSE-Bug-Reporting-and-Translation-2019, User-abi_, MediaWiki-extensions-Translate
Nikerabbit triaged T225420: Let order in Special:Translate to be random as Lowest priority.
Mon, Jun 10, 11:57 AM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T225420: Let order in Special:Translate to be random.

I suppose you could do random up to the limit (500?) and if more is required, ask to refresh. Then it doesn't need to be deterministic (I mean, with a given seed, you always get the results in the same order, as long as the underlying data hasn't changed). But it would complicate the code quite a bit, and I don't know if the database can do that efficiently.

Mon, Jun 10, 11:54 AM · MediaWiki-extensions-Translate
Nikerabbit removed a project from T225420: Let order in Special:Translate to be random: translatewiki.net.
Mon, Jun 10, 11:45 AM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T225420: Let order in Special:Translate to be random.

I don't have any idea how to do deterministic random sorts (for paging) efficiently.

Mon, Jun 10, 11:45 AM · MediaWiki-extensions-Translate
Nikerabbit moved T154888: Content Translation occasionally publishes in the wrong language from In Progress to In Review on the Language-Team (Language-2019-April-June) board.
Mon, Jun 10, 8:00 AM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Language-Team (Language-2019-April-June), CX-out-of-beta, WorkType-Maintenance
Nikerabbit moved T154888: Content Translation occasionally publishes in the wrong language from Needs QA to In Progress on the Language-Team (Language-2019-April-June) board.

Looks like this is not fixed yet. Using my approach to check for pages published in 2019 in enwiki with CX2 tag where target language is not en I get the following list. There is a very small chance for false positives.

page_namespace  page_title      rev_id  rev_timestamp
118     Gastronomía_kurda       877347095       20190108030850
118     List_of_royal_consorts_of_the_Kingdom_of_the_Two_Sicilies       879996738       20190124181826
0       Dog_Days        883957555       20190218175540
2       Ribeiro2002Rafael/Festival_Eurovisão_da_Canção_Júnior_2007      889905757       20190328185316
0       Tutush_I        890610459       20190402120921
0       GeoFS   892168469       20190412171910
0       Redirection_(computing) 893726507       20190423060234
2       Mr._TTG/VnStat  894034319       20190425053142
0       Almost_Family   899635783       20190531100346
0       Donald_Harvey   900568157       20190606121436
Mon, Jun 10, 7:45 AM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Language-Team (Language-2019-April-June), CX-out-of-beta, WorkType-Maintenance
Nikerabbit added a watcher for OpenRefine: Nikerabbit.
Mon, Jun 10, 6:06 AM

Fri, Jun 7

Nikerabbit added a comment to T225216: Bug in setting red links with MW 1.24.

Special:RecentChanges for example. And yes I did update MediaWiki just before this. It's expecting Title but getting TitleValue. I haven't checked where it gets the $target param though.

Fri, Jun 7, 6:47 AM · MediaWiki-extensions-Page_Forms

Thu, Jun 6

Nikerabbit added a parent task for T225216: Bug in setting red links with MW 1.24: T41480: Issues affecting translatewiki.net.
Thu, Jun 6, 2:15 PM · MediaWiki-extensions-Page_Forms
Nikerabbit added a subtask for T41480: Issues affecting translatewiki.net: T225216: Bug in setting red links with MW 1.24.
Thu, Jun 6, 2:15 PM · Tracking-Neverending, MediaWiki-General-or-Unknown
Nikerabbit triaged T225216: Bug in setting red links with MW 1.24 as Unbreak Now! priority.
Thu, Jun 6, 2:14 PM · MediaWiki-extensions-Page_Forms
Nikerabbit created T225216: Bug in setting red links with MW 1.24.
Thu, Jun 6, 2:14 PM · MediaWiki-extensions-Page_Forms
Nikerabbit moved T225198: PHP error from SpecialContentTranslation.php: "Undefined index: 0" and "Undefined index: 1" from Backlog to In Review on the Language-Team (Language-2019-April-June) board.
Thu, Jun 6, 12:58 PM · MW-1.34-notes (1.34.0-wmf.8; 2019-06-04), Language-Team (Language-2019-April-June), ContentTranslation, Wikimedia-production-error
Nikerabbit claimed T225198: PHP error from SpecialContentTranslation.php: "Undefined index: 0" and "Undefined index: 1".
Thu, Jun 6, 12:58 PM · MW-1.34-notes (1.34.0-wmf.8; 2019-06-04), Language-Team (Language-2019-April-June), ContentTranslation, Wikimedia-production-error

Wed, Jun 5

Nikerabbit added a comment to T106240: Colorable SVG.

The issue with CSS filters is that it is damn hard to add a (specific) color to black icons.

Wed, Jun 5, 1:58 PM · TechCom-RFC, Patch-For-Review, Wikimania-Hackathon-2015, Wikimedia-SVG-rendering

Tue, Jun 4

Nikerabbit added a comment to T224810: Magic word to embed the translation language.

I see your reasoning, but I think such functionality would be beneficial in MediaWiki core itself, and implemented in a way that works well with the parser.

Tue, Jun 4, 3:28 PM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T224595: New translation strings for CTA’s in Suggested edits.

The feedback about them being hard to translate is correct.

Tue, Jun 4, 3:26 PM · Wikipedia-Android-App-Backlog (Android-app-release-v2.7.28x-M-Mochi)
Nikerabbit added a comment to T224810: Magic word to embed the translation language.

To clarify, you want to tag the output of a template with language code and direction, in case it gets embedded on a page in a different language? That problem doesn't seem limited to Translate.

Tue, Jun 4, 2:42 PM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T224854: maintenance/cleanupUsersWithNoId.php doesn't do anything.

Some more debugging data:

MariaDB [translatewiki_net]> select * from bw_revision where rev_user_text in ('Majort', 'Nemo quinquies')\G
*************************** 1. row ***************************
            rev_id: 5219910
          rev_page: 3635611
       rev_text_id: 5080522
       rev_comment: 
          rev_user: 14522
     rev_user_text: Majort
     rev_timestamp: 20131222182907
    rev_minor_edit: 0
       rev_deleted: 0
           rev_len: 60
     rev_parent_id: 0
          rev_sha1: 9j4xmottnehp5plaldqite0gy5t482z
rev_content_format: NULL
 rev_content_model: NULL
*************************** 2. row ***************************
            rev_id: 5212730
          rev_page: 3630136
       rev_text_id: 5073342
       rev_comment: 
          rev_user: 14506
     rev_user_text: Nemo quinquies
     rev_timestamp: 20131220173028
    rev_minor_edit: 0
       rev_deleted: 0
           rev_len: 23
     rev_parent_id: 0
          rev_sha1: 6pu3ft0x8vmh9b35vox8uyxwkxoxpqd
rev_content_format: NULL
 rev_content_model: NULL
2 rows in set (0.12 sec)
Tue, Jun 4, 2:27 PM · MediaWiki-Maintenance-scripts
Nikerabbit created T224965: Remove unused $wgTranslateTestUsers from Translate.
Tue, Jun 4, 7:56 AM · good first bug, MediaWiki-extensions-Translate
Nikerabbit created T224964: Remove unused $wgTranslateSandboxSuggestions.
Tue, Jun 4, 7:49 AM · MediaWiki-extensions-Translate
Nikerabbit moved T197787: CX2: Apply the right target when creating a missing link from In Progress to In Review on the Language-Team (Language-2019-April-June) board.
Tue, Jun 4, 7:27 AM · Language-Team (Language-2019-April-June), ContentTranslation

Mon, Jun 3

Nikerabbit created T224860: Update ElasticSearch to v6 on translatewiki.net.
Mon, Jun 3, 7:58 AM · translatewiki.net
Nikerabbit added a comment to T220841: Horizontal rule element underneath “Translate this page” should be removed.

I would also question why are the action links hidden on mobile (probably I did it without thinking) and make them not hidden. For print yeah it should be hidden and then the above proposal works.

Mon, Jun 3, 7:01 AM · Patch-For-Review, MediaWiki-extensions-Translate
Nikerabbit added a comment to T224756: Add phan to Translate extension.

FYI: Translate predates the practice of using a such directory. I was planning to move files to src together when adding namespaces to them. But I was waiting for core show an example how to add namespaces in backwards compatible manner, but for reasons unknown to me that has been stalled. In theory those two things could be done separately, but I'm afraid that moving them first will make adding namespaces more difficult.

Mon, Jun 3, 6:51 AM · MediaWiki-extensions-Translate, phan
Nikerabbit created T224854: maintenance/cleanupUsersWithNoId.php doesn't do anything.
Mon, Jun 3, 6:36 AM · MediaWiki-Maintenance-scripts
Nikerabbit moved T224701: Enable the "content language variant" function on the preference to the multilingual sites such as the Commons and Meta-Wiki from Backlog to page translation on the MediaWiki-extensions-Translate board.
Mon, Jun 3, 6:22 AM · Language-Team, Wikimedia-Site-requests, I18n, Commons, MediaWiki-Language-converter, MediaWiki-extensions-Translate, Chinese-Sites

Fri, May 31

Nikerabbit added a comment to T224715: tool translate: people having problem with load which does not complete.

Could happen if some code tries to parse undefined converted to a string as a JSON.

Fri, May 31, 8:12 AM · Patch-For-Review, Language-Team (Language-2019-April-June), ContentTranslation

Thu, May 30

Nikerabbit added a project to T224598: CentralNotice: Saving banners with translatable messages may time out: User-Nikerabbit.
Thu, May 30, 3:45 PM · User-Nikerabbit, Fr-CentralNotice-Translation-Bugs, MediaWiki-extensions-CentralNotice, Fundraising-Backlog

Wed, May 29

Nikerabbit added a comment to T224598: CentralNotice: Saving banners with translatable messages may time out.

It looks like MessageIndexRebuildJob is being run in-request, also rebuilding caches in request. I'd rather have that deferred to the JobQueue. I also think there is something weird going on there which causes invalidation for lots of message groups. Something like this has been happening for years (see previous bugs) and we need to add better instrumentation to confirm/disconfirm this.

Wed, May 29, 5:55 PM · User-Nikerabbit, Fr-CentralNotice-Translation-Bugs, MediaWiki-extensions-CentralNotice, Fundraising-Backlog
Nikerabbit updated the task description for T201491: Fix common typos in code.
Wed, May 29, 7:45 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Google-Code-in-2018, patch-welcome, MediaWiki-General-or-Unknown, good first bug
Nikerabbit updated the task description for T201491: Fix common typos in code.
Wed, May 29, 7:41 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Google-Code-in-2018, patch-welcome, MediaWiki-General-or-Unknown, good first bug
Nikerabbit updated the task description for T201491: Fix common typos in code.
Wed, May 29, 7:39 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Google-Code-in-2018, patch-welcome, MediaWiki-General-or-Unknown, good first bug

Tue, May 28

Nikerabbit added a comment to T222291: Add User Interface language options using TranslateWiki service.

There is no simple answer to that. Depending on the programming language you use, you might find existing i18n library you can use, but it might not support the json format out of the box. The other option is to build one yourself. It's quite easy to build a simple one, but you will lack in features such as fallbacks and plurals.

Tue, May 28, 1:08 PM · translatewiki.net, ISA
Nikerabbit added a comment to T222309: Language code "sms" not recognized in Commons.

Thinking out loud: I wonder how many sets of supported languages we need? It's of course desirable that each context can be defined separately, but that is also error prone.

Tue, May 28, 12:36 PM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, SDC Engineering, WMFI, WMNO-Sami, Multimedia, UniversalLanguageSelector
Nikerabbit moved T224429: Hunt and remove unsed i18n messages in mediawiki core from Backlog to External on the translatewiki.net board.
Tue, May 28, 6:19 AM · translatewiki.net, Wikimania-Hackathon-2019, I18n, MediaWiki-Internationalization

Mon, May 27

Nikerabbit added a comment to T222309: Language code "sms" not recognized in Commons.

The policy has been that only languages that have sufficient interface translations are added to Names.php.

Mon, May 27, 3:48 PM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, SDC Engineering, WMFI, WMNO-Sami, Multimedia, UniversalLanguageSelector
Nikerabbit added a comment to T196601: Support renames in Special:ManageMessageGroups.

Both alternatives are good.

Mon, May 27, 11:33 AM · Language-Team (Language-2019-July-September), User-abi_, MediaWiki-extensions-Translate
Nikerabbit added a comment to T197787: CX2: Apply the right target when creating a missing link.

It may be useful to split this task into two parts: one is using Wikidata and machine translation to change the default value, another one to show the link editing dialog on the special cases.

Mon, May 27, 8:37 AM · Language-Team (Language-2019-April-June), ContentTranslation
Nikerabbit added a comment to T224347: change shy-latn to shy (translatewiki).

And we should add shy to the list of blocked language on translatewiki.net to avoid translations appearing both under shy and shy-latn.

Mon, May 27, 6:13 AM · translatewiki.net

Sun, May 26

Nikerabbit added a comment to T224347: change shy-latn to shy (translatewiki).

When the fallback is set shy and shy-latn will be essentially be the same. As a follow-up shy-latn can be hidden from users, but that is more difficult to do.

Sun, May 26, 11:58 AM · translatewiki.net
Nikerabbit added a comment to T224347: change shy-latn to shy (translatewiki).

I don't want to rename language codes in translatewiki.net - it's too much effort and there is no tooling for that. Just move MessageShy-latn.php to MessagesShy.php and add $fallback = 'shy' and entry to Names.php. I think that is sufficient with the language-data changes you propose.

Sun, May 26, 11:49 AM · translatewiki.net

Fri, May 24

Nikerabbit added a comment to T201491: Fix common typos in code.

I note that we have buried (part of) the list of common typos when fixed entries were removed from the summary. It would be useful to keep a full list somewhere, for future automation and because they are bound to be reintroduced.

Fri, May 24, 9:16 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Google-Code-in-2018, patch-welcome, MediaWiki-General-or-Unknown, good first bug
Nikerabbit added a comment to T224224: [GrowthExperiments] Sessions are disabled for this entry point.

Here be dragons indeed. It's very hard to know what will eventually rely on a session. For example I have seen the same error in ResourceLoaderProjectIconsModule which works fine, until a file it references is not found, in which case code deep in the trace is trying to generate error messages... in user language.

Fri, May 24, 8:12 AM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Growth-Team (Current Sprint), GrowthExperiments-Help panel, Wikimedia-production-error

Thu, May 23

Nikerabbit added a comment to T222291: Add User Interface language options using TranslateWiki service.

Yes, you should create a JSON file for English and message documentation. This means extracting the interface strings from application source code to the JSON file. In addition you will need some code in your application to read and display the strings from the JSON files.

Thu, May 23, 2:13 PM · translatewiki.net, ISA
Nikerabbit added a comment to T217726: Special:PageMigration - Page search suggestion does not work.

Can you reproduce the issue at https://translatewiki.net/wiki/Special:PageMigration with MediaWiki:Jan/fias input?

Thu, May 23, 2:02 PM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), User-abi_, User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit added a comment to T212646: CX2: Make version 2 the only available.

I can confirm from database perspective. There are 5 drafts where translation_cx_version = 1 and translation_start_timestamp > '20190507170514'. The last has timestamp of 20190509125912.

Thu, May 23, 2:00 PM · MW-1.34-notes (1.34.0-wmf.4; 2019-05-07), Language-Team (Language-2019-April-June), MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), ContentTranslation
Nikerabbit added a comment to T222291: Add User Interface language options using TranslateWiki service.

Sorry, I can't help you if you are not asking clear and specific questions. I don't know what you mean with "it" or "this".

Thu, May 23, 1:09 PM · translatewiki.net, ISA
Nikerabbit added a comment to T213802: Investigate ways to reduce the size of translate-groups cache key.

The subroups are already stored as an array of strings.

Thu, May 23, 12:22 PM · Language-Team (Language-2019-April-June), MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), MW-1.33-notes (1.33.0-wmf.24; 2019-04-02), User-abi_, User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit added a comment to T213802: Investigate ways to reduce the size of translate-groups cache key.

Doing some general measurements:

  • We have 166 aggregate groups, with 77073 compressed bytes, making efficiency around 464 compressed bytes per group.
  • We have 5308 translatable pages, with 72466 compressed bytes, making efficiency around 14(!) compressed bytes per group
  • We have 2681 (1 aggregate, rest banners) using the old caching mechanism, with 101169 compressed bytes, making efficiency around 38 compressed bytes per group
Thu, May 23, 10:39 AM · Language-Team (Language-2019-April-June), MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), MW-1.33-notes (1.33.0-wmf.24; 2019-04-02), User-abi_, User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit added a comment to T213802: Investigate ways to reduce the size of translate-groups cache key.

Same numbers for metawiki:

Thu, May 23, 10:13 AM · Language-Team (Language-2019-April-June), MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), MW-1.33-notes (1.33.0-wmf.24; 2019-04-02), User-abi_, User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit added a comment to T196601: Support renames in Special:ManageMessageGroups.

Dialog boxes (especially modal ones) are often discouraged. For example English Wikipedia says:

A modal dialog interrupts the main workflow. This effect has either been sought by the developer because it focuses on the completion of the task at hand or rejected because it prevents the user from changing to a different task when needed.

Thu, May 23, 9:13 AM · Language-Team (Language-2019-July-September), User-abi_, MediaWiki-extensions-Translate

Wed, May 22

Nikerabbit claimed T197787: CX2: Apply the right target when creating a missing link.
Wed, May 22, 2:11 PM · Language-Team (Language-2019-April-June), ContentTranslation
Nikerabbit added a comment to T222291: Add User Interface language options using TranslateWiki service.

@Eugene233 I am not sure what you mean. Are you having troubles with creating the JSON files?

Wed, May 22, 1:48 PM · translatewiki.net, ISA
Nikerabbit added a comment to T213262: CX2: "citation needed" template adapted with unnecessary HTML markup and VE attributes.

Any ideas why/where the separation of sibling is happening? The siblings are not separated in the processed output of the section. It looks like as if something pushes the sup part outside of the p and the rewrapped it inside span.cx-segment.

Wed, May 22, 1:45 PM · Language-Team (Language-2019-April-June), ContentTranslation
Nikerabbit added a comment to T222309: Language code "sms" not recognized in Commons.

Is there any reason not to get all the languages that are available in langdb? :)

Wed, May 22, 12:45 PM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, SDC Engineering, WMFI, WMNO-Sami, Multimedia, UniversalLanguageSelector
Nikerabbit added a comment to T222309: Language code "sms" not recognized in Commons.

FYI: wgULSLanguages is a JavaScript variable generated by the ULS extension. It lists the languages that are available as interface languages in MediaWiki. sms doesn't have enough translations to be available as an interface language. The question is how and where includeLanguage (singular?) is defined. Alternatively, a new variable could be introduced that lists the languages allowed for captions.

Wed, May 22, 12:11 PM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, SDC Engineering, WMFI, WMNO-Sami, Multimedia, UniversalLanguageSelector
Nikerabbit added a comment to T222309: Language code "sms" not recognized in Commons.

I have found a new issue: Language::fetchLanguageNames( Language::AS_AUTONYM, Language::ALL ) does not return sms, while for example Language::fetchLanguageNames( 'en', Language::ALL ) does.

Wed, May 22, 9:36 AM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, SDC Engineering, WMFI, WMNO-Sami, Multimedia, UniversalLanguageSelector
Nikerabbit added a comment to T154888: Content Translation occasionally publishes in the wrong language.

We no longer have the ct_params field to check whether this is working. My plan is as follows:
Collect revision ids from cx_translations.translation_target_revision_id where translation_target_language != 'en'. Then check on enwiki whether this revisions can be found in the revision or archive table with the CX tag. If those are found before this patch has been deployed, but not after, then the fix can be considered working.

Wed, May 22, 6:27 AM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Language-Team (Language-2019-April-June), CX-out-of-beta, WorkType-Maintenance

Tue, May 21

Nikerabbit added a comment to T213802: Investigate ways to reduce the size of translate-groups cache key.

Very crude initial check:

nikerabbit@deploy1001:~$ echo '$c = \MediaWiki\MediaWikiServices::getInstance()->getMainWANObjectCache(); $keys = [ "mediawikiwiki:translate-groups:v3", "mediawikiwiki:translate-mg:aggregate:v1", "mediawikiwiki:translate-mg:wikipage:v1" ]; foreach ( $keys as $key ) { var_dump( $key, strlen( gzdeflate( serialize( $c->get( $key ) ), -1 ) ) ); }' | mwscript eval.php mediawikiwiki
string(33) "mediawikiwiki:translate-groups:v3"
int(164)
string(39) "mediawikiwiki:translate-mg:aggregate:v1"
int(49926)
string(38) "mediawikiwiki:translate-mg:wikipage:v1"
int(50581)
Tue, May 21, 3:47 PM · Language-Team (Language-2019-April-June), MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), MW-1.33-notes (1.33.0-wmf.24; 2019-04-02), User-abi_, User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit added a comment to T223524: WMHack19: Add Saami + Romani languages to Wikidata.

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UniversalLanguageSelector/+/511336 is relevant for language search by name.

Tue, May 21, 3:27 PM · MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), Patch-For-Review, MediaWiki-Internationalization, UniversalLanguageSelector, Wikidata, WMNO-Sami, WMFI, Wikimedia-Hackathon-2019
Nikerabbit removed a project from T223860: Register Global Search with translatewiki.net: Patch-For-Review.
Tue, May 21, 2:21 PM · User-abi_, translatewiki.net, Tool-global-search
Nikerabbit updated the task description for T222865: Add https://github.com/cmln/mw-scss.
Tue, May 21, 12:58 PM · User-abi_, translatewiki.net

May 21 2019

Nikerabbit updated the task description for T189475: Identify common abuse filters that affect translations.
May 21 2019, 8:41 AM · Language-Team (Language-2019-April-June), CX-analytics
Nikerabbit closed T210988: Use of wfBCP47 was deprecated in MediaWiki 1.31. [Called from PageTranslationHooks::formatLanguageLink as Resolved.
May 21 2019, 7:48 AM · MW-1.33-notes (1.33.0-wmf.21; 2019-03-12), User-abi_, User-Nikerabbit, Technical-Debt, MediaWiki-extensions-Translate

May 20 2019

Nikerabbit added a comment to T213802: Investigate ways to reduce the size of translate-groups cache key.

Metawiki contains a large number of BannerMessageGroups (which will stay in the old aggregate key, just new version again), so there the splitting should actually have a considerable impact. For other wikis the most interesting question will be the size of the new wikipage key. It will be the new biggest key, even though we changed the format yet again to be simpler, but it's possible that due to compression this won't have much effect.

May 20 2019, 4:05 PM · Language-Team (Language-2019-April-June), MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), MW-1.33-notes (1.33.0-wmf.24; 2019-04-02), User-abi_, User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit removed a project from T222588: "Link to this message" in Special:Translate can produce a link with wrong language code: Patch-For-Review.
May 20 2019, 1:42 PM · MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), User-abi_, MediaWiki-extensions-Translate
Nikerabbit added a comment to T201527: Create input methods for Sami languages.

In the Finnish/Swedish keyboard layout \ is produced with AltGr-?, / is produced with Shift-7 and ^ is a dead key on the same button as ¨ but requires shift. : is shift-. as usual, but that is very easy to type compared to the others. Also åäö are readily available as their own keys and øæ with AltGr already. So it really begs the question whether the input methods for US and nordic layouts (if it makes sense to lump them together) should be different.

May 20 2019, 1:38 PM · WMFI, WMNO-Sami
Nikerabbit moved T154888: Content Translation occasionally publishes in the wrong language from In Progress to In Review on the Language-Team (Language-2019-April-June) board.
May 20 2019, 12:38 PM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Language-Team (Language-2019-April-June), CX-out-of-beta, WorkType-Maintenance
Nikerabbit claimed T154888: Content Translation occasionally publishes in the wrong language.
May 20 2019, 11:39 AM · MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), Language-Team (Language-2019-April-June), CX-out-of-beta, WorkType-Maintenance
Nikerabbit updated the task description for T223888: Provide a way to find out if current user is potential translator.
May 20 2019, 11:02 AM · Patch-For-Review, Language-Team (Language-2019-April-June), ContentTranslation
Nikerabbit triaged T223368: Consider fetching updates over https as Low priority.

Marking as low priority for now. Should be explored if we don't get exports times clearly under one hour.

May 20 2019, 10:14 AM · translatewiki.net
Nikerabbit closed T223365: Experiment with persistent connections in auto(import|export) as Resolved.
May 20 2019, 10:13 AM · translatewiki.net
Nikerabbit removed a project from T213802: Investigate ways to reduce the size of translate-groups cache key: Patch-For-Review.
May 20 2019, 9:34 AM · Language-Team (Language-2019-April-June), MW-1.34-notes (1.34.0-wmf.6; 2019-05-21), MW-1.33-notes (1.33.0-wmf.24; 2019-04-02), User-abi_, User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit assigned T223860: Register Global Search with translatewiki.net to abi_.
May 20 2019, 9:02 AM · User-abi_, translatewiki.net, Tool-global-search