Nikerabbit (Niklas Laxström)
Software Engineer, Language Engineering

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Oct 7 2014, 5:29 AM (133 w, 2 d)
Availability
Available
IRC Nick
nikerabbit
LDAP User
Nikerabbit
MediaWiki User
Nikerabbit

Recent Activity

Yesterday

Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

There seems to be an complication, perhaps unnecessary, that the timestamp is part of the unique index. I believe this was made so that we could in future store the history as well. But for now we are not keeping history, and instead doing extra effort for finding an existing row (if any) and replacing its contents or inserting a new row.

Wed, Apr 26, 7:57 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation

Tue, Apr 25

Nikerabbit added a comment to T69636: Add plural (.stringsdict) support to AppleFFS for iOS/Mac OS X translation files.

Is this about the support in the app itself? Or in translatewiki? Or both?

Tue, Apr 25, 4:20 PM · Wikipedia-iOS-App-Backlog, I18n, Language-Team, MediaWiki-extensions-Translate
Nikerabbit edited the description of T69636: Add plural (.stringsdict) support to AppleFFS for iOS/Mac OS X translation files.
Tue, Apr 25, 4:19 PM · Wikipedia-iOS-App-Backlog, I18n, Language-Team, MediaWiki-extensions-Translate
Nikerabbit edited the description of T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.
Tue, Apr 25, 3:00 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit lowered the priority of T163344: Do a root-cause analysis on CX outage during dc switch and get it back online from "Unbreak Now!" to "High".

Lowering priority as CX is currently back (we are monitoring and ready to disable though). Finding the root cause is important.

Tue, Apr 25, 2:59 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit moved T163344: Do a root-cause analysis on CX outage during dc switch and get it back online from QA to In Progress on the Language-team April-June 2017 (Language-2017 Sprint 6) board.
Tue, Apr 25, 2:57 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit removed a project from T163344: Do a root-cause analysis on CX outage during dc switch and get it back online: Patch-For-Review.
Tue, Apr 25, 9:17 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit renamed T62904: Notify the user when there are new messages to translate from "Adding message group to watchlist" to "Notify the user when there are new messages to translate".
Tue, Apr 25, 8:42 AM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

Also, can you identify the gap locking consequences of the queries you are running?

Tue, Apr 25, 8:30 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit added a comment to T163740: Languages sidebar portlet visibly changes label (otherlanguages > uls-plang-title-languages).

For what I can recall, it was made so because the wording "in other languages" does not make sense when there are no interwiki links. Fixing it might involve changing core and/or skins to have it done server side.

Tue, Apr 25, 6:27 AM · Performance-Team, MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

I disagree, there are insert queries that were clearly blocked forever- the selects for updates are blocking new inserts- that is a bug

Tue, Apr 25, 6:01 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation

Fri, Apr 21

Framawiki awarded T163344: Do a root-cause analysis on CX outage during dc switch and get it back online a The World Burns token.
Fri, Apr 21, 4:53 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

I captured a few (3) draft save requests on my wiki and replayed them in an endless loop. I did not see any deadlocks and queries were completing relatively quickly even under load.

Fri, Apr 21, 7:35 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit merged T154276: Pattern field is broken into T123449: [betalabs] Special:Nuke - 'Pattern for the page name' filter does not work.
Fri, Apr 21, 5:45 AM · MediaWiki-extensions-Nuke, MW-1.29-release (WMF-deploy-2017-04-25_(1.29.0-wmf.21)), Collaboration-Team-Triage (Collab-Team-Q4-Apr-Jun-2017), Patch-For-Review, Flow
Nikerabbit merged task T154276: Pattern field is broken into T123449: [betalabs] Special:Nuke - 'Pattern for the page name' filter does not work.
Fri, Apr 21, 5:45 AM · MediaWiki-extensions-Nuke

Thu, Apr 20

Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

Unfortunately I did not capture any of the queries that were long-running during the outage. However, the FOR UPDATE queries are very simple and should complete fast:

EXPLAIN SELECT * FROM `bw_cx_corpora` WHERE cxc_translation_id = '194' AND cxc_section_id = 'mwCA' AND cxc_origin = 'user' ORDER BY cxc_timestamp DESC LIMIT 1 FOR UPDATE;
Thu, Apr 20, 1:54 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

Notes so far:

  • If saving fails, the UI will retry automatically every 60 seconds up to 10 times
  • If the user is actively using, it seems we will retry every 5 seconds in the worst case (it is debounced, so only if the user pauses typing enough for the autosave to trigger)
  • If I simulate slow queries by adding sleep( 120000 ); to the API we use, the automatic retry will cause a build-up of queries to the extend my developer wiki went down. It seems the connection stays open forever from hhvm, if the nginx sends timeout to the client?
  • There is cxsave pinglimiter to reject if there is more than 10 saves in 30 seconds. This does not prevent build-up of queries though.
Thu, Apr 20, 8:38 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

Possible avenues for investigation:

  1. set your test wiki to read-only, keep translating and watch out if the retry mechanism creates a pile-up of requests
  2. copy the production db tables to your local wiki, try to spam it with lots of queries seen during the outage, see if they pile up, explain the queries to see that the query plan makes sense
Thu, Apr 20, 8:05 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit added projects to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online: Language-team April-June 2017 (Language-2017 Sprint 6), Unplanned-Sprint-Work.
Thu, Apr 20, 8:05 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit added projects to T163416: Uncaught TypeError: Converting circular structure to JSON: Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6).
Thu, Apr 20, 8:04 AM · MW-1.29-release (WMF-deploy-2017-04-25_(1.29.0-wmf.21)), Language-team April-June 2017 (Language-2017 Sprint 6), Unplanned-Sprint-Work, Patch-For-Review, ContentTranslation
Nikerabbit reopened T163246: Wiki interface ignores $wgLanguageCode when ULS is activated (picks first exact match from browser's "Accept-Language") as "Open".
Thu, Apr 20, 6:38 AM · MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit added a comment to T124742: Upgrade to jQuery 3.

The build logs for previous, failing patchsets of https://gerrit.wikimedia.org/r/#/c/348693/ are still available. Of course other patches are not failing anymore, because the fix was merged.

Thu, Apr 20, 5:15 AM · MW-1.29-release-notes, Performance-Team, JavaScript, MediaWiki-ResourceLoader

Wed, Apr 19

Nikerabbit added a comment to T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.

Captured the log for triage, coordination and mitigation parts in P5290

Wed, Apr 19, 4:24 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit created P5290 Slightly cleaned up irc log for T163344.
Wed, Apr 19, 4:23 PM · ContentTranslation-Deployments
Nikerabbit triaged T163344: Do a root-cause analysis on CX outage during dc switch and get it back online as "Unbreak Now!" priority.
Wed, Apr 19, 4:00 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit created T163344: Do a root-cause analysis on CX outage during dc switch and get it back online.
Wed, Apr 19, 3:59 PM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), User-notice, Unplanned-Sprint-Work, Language-team April-June 2017 (Language-2017 Sprint 6), Wikimedia-Incident, codfw-rollout, ContentTranslation
Nikerabbit added a comment to T163246: Wiki interface ignores $wgLanguageCode when ULS is activated (picks first exact match from browser's "Accept-Language").

The UniversalLanguageSelectorHooks::getDefaultLanguage implementation is less than ideal in this regard. It takes first exact match, failing that, it strips the country code away and tries again. Perhaps it should be more aggressive at that stripping.

Wed, Apr 19, 9:06 AM · MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit added a comment to T124742: Upgrade to jQuery 3.

It seems that this broke few tests in ContentTranslation that I fixed in https://gerrit.wikimedia.org/r/#/c/348693/

Wed, Apr 19, 6:27 AM · MW-1.29-release-notes, Performance-Team, JavaScript, MediaWiki-ResourceLoader
Nikerabbit closed T163246: Wiki interface ignores $wgLanguageCode when ULS is activated (picks first exact match from browser's "Accept-Language") as "Invalid".

It sounds like your browser is configured to request pages in English, thus it functions as expected.

Wed, Apr 19, 6:25 AM · MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit added a comment to T163254: Disable translate extension on script pages.

With script pages, do you mean user page subpages ending in .js and MediaWiki namespaces pages ending in .js, or something else?

Wed, Apr 19, 6:12 AM · MediaWiki-extensions-Translate

Tue, Apr 18

Nikerabbit added a comment to T107914: Consider options for longer-term content translation API end points.

If I remember correctly, the main thing cxserver is doing with the parsoid output is to segment it to sentences with additional mark-up. I am pretty sure plain parsoid HTML output doesn't work at all, or at least some functionality would be broken.

Tue, Apr 18, 4:38 PM · Language-team April-June 2017 (Language-2017 Sprint 6), Patch-For-Review, Language-2017 Sprint 4, Language-team January-March 2017, Language-2017 Sprint 3, User-mobrovac, Services (designing), WorkType-Maintenance, ContentTranslation, ContentTranslation-CXserver, RESTBase-API
Nikerabbit added a comment to T107914: Consider options for longer-term content translation API end points.

With the proposed public APIs, the CX extension would still need to call CXServer directly for /page. Won't this inconsistency be annoying in the short and long run?

Tue, Apr 18, 4:05 PM · Language-team April-June 2017 (Language-2017 Sprint 6), Patch-For-Review, Language-2017 Sprint 4, Language-team January-March 2017, Language-2017 Sprint 3, User-mobrovac, Services (designing), WorkType-Maintenance, ContentTranslation, ContentTranslation-CXserver, RESTBase-API
Nikerabbit edited the description of T163203: Update CX to use the new Restbase provided public API instead of CXServer.
Tue, Apr 18, 3:55 PM · Language-team April-June 2017 (Language-2017 Sprint 6), ContentTranslation-Deployments, ContentTranslation-CXserver, ContentTranslation
Nikerabbit added a comment to T163035: Unknown error: "tpt-unknown-page" for 2 days even after adding all appropriate markups.

From your list of steps you are missing https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_example#Step_3:_Enabling_translations

Tue, Apr 18, 9:26 AM · MediaWiki-extensions-Translate
Nikerabbit added a project to T162940: Undefined indexes on a bunch of languages: User-Nikerabbit.
Tue, Apr 18, 6:35 AM · User-Nikerabbit, MediaWiki-extensions-Translate, Wikimedia-log-errors
Nikerabbit moved T162940: Undefined indexes on a bunch of languages from Backlog to performance and stability on the MediaWiki-extensions-Translate board.

Is this a new error? If so I believe the cause is a recent change to $wgDummyLanguageCodes in https://gerrit.wikimedia.org/r/331208

Tue, Apr 18, 6:34 AM · User-Nikerabbit, MediaWiki-extensions-Translate, Wikimedia-log-errors

Mon, Apr 17

Nemo_bis awarded T149177: Add ProveIt to translatewiki.net a Doubloon token.
Mon, Apr 17, 8:41 AM · I18n, translatewiki.net, ProveIt-Gadget
Nikerabbit closed T149177: Add ProveIt to translatewiki.net as "Resolved".

Works

Mon, Apr 17, 7:49 AM · I18n, translatewiki.net, ProveIt-Gadget
Nikerabbit closed T149177: Add ProveIt to translatewiki.net, a subtask of T148335: Localization, as "Resolved".
Mon, Apr 17, 7:49 AM · Tracking, I18n, ProveIt-Gadget

Sun, Apr 16

Nikerabbit added a comment to T149177: Add ProveIt to translatewiki.net.

I usually do exports two times a week. I will report on Monday if I see any issues.

Sun, Apr 16, 3:48 PM · I18n, translatewiki.net, ProveIt-Gadget
Nikerabbit closed T161213: Invalid hint about <br> tag in Translate extension as "Resolved".
Sun, Apr 16, 3:40 PM · MW-1.29-release (WMF-deploy-2017-04-25_(1.29.0-wmf.21)), MediaWiki-extensions-Translate

Fri, Apr 14

Nikerabbit added a comment to T33015: Convert between English language variants in display of pages.

One important point about it being universal would be to support the use of LanguageConverter in interface messages. Then it could also be considered for https://www.mediawiki.org/wiki/Internationalisation_wishlist_2017#Better_support_for_formal_and_informal_variants

Fri, Apr 14, 6:31 PM · JavaScript, I18n, MediaWiki-Language-converter

Wed, Apr 12

Nikerabbit added a comment to T149177: Add ProveIt to translatewiki.net.

I have applied the patch. It would be nice if you also added a small description for the project to https://translatewiki.net/wiki/Group_descriptions.

Wed, Apr 12, 2:54 PM · I18n, translatewiki.net, ProveIt-Gadget
Nikerabbit removed a project from T160067: Rename new translation call to action: Patch-For-Review.
Wed, Apr 12, 10:54 AM · MW-1.29-release (WMF-deploy-2017-04-25_(1.29.0-wmf.21)), Language-team April-June 2017 (Language-2017 Sprint 5), Language-team January-March 2017, Easy, Voice & Tone, Language-2017 Sprint 4, ContentTranslation, UI-Standardization
Nikerabbit added projects to T162381: Remove of Vector indent causes ULS cog to be incorrectly positioned: Language-team April-June 2017 (Language-2017 Sprint 5), Unplanned-Sprint-Work.

This was discussed in the daily meeting yesterday, where I explained that there is a patch that works and has been tested (it has -1 from Krinkle with suggestions to make the code better). It was decided that if someone feels like it is important and doesn't need much time to review it, they can do it. But unless it is SWATed on this Thursday, the next possible deployment is SWAT on Monday 24th. If that does not happen, then there is plenty of time to redo the patch.

Wed, Apr 12, 6:42 AM · Language-team April-June 2017 (Language-2017 Sprint 7), Unplanned-Sprint-Work, Reading-Web-Backlog, Patch-For-Review, MediaWiki-extensions-UniversalLanguageSelector

Tue, Apr 11

Nikerabbit created T162666: Debug mode for Special:JavaScriptTest is unusable.
Tue, Apr 11, 8:55 AM · MediaWiki-Unit-tests, JavaScript
Nikerabbit added a comment to T132197: qqq for a wiki-ai message cannot be loaded.

MediaWiki limits what page titles are valid.

I see. So all message keys must be render-able as a page title in MediaWiki? I guess that's the complicating part of this.

Tue, Apr 11, 6:37 AM · Revision-Scoring-As-A-Service, MediaWiki-extensions-Translate, translatewiki.net
Nikerabbit edited projects for T162590: This page is using the deprecated ResourceLoader module "es5-shim" on Special:CX(Stats), added: Technical-Debt, MediaWiki-extensions-UniversalLanguageSelector; removed ContentTranslation, MediaWiki-ResourceLoader.

Okay, I was wrong. It is ULS ext.uls.compactlinks after all. Makes me wonder if we could avoid loading it on pages which certainly don't have language links.

Tue, Apr 11, 5:29 AM · MediaWiki-extensions-UniversalLanguageSelector, Technical-Debt, JavaScript

Mon, Apr 10

Nikerabbit added a comment to T132197: qqq for a wiki-ai message cannot be loaded.

There is no fix, only work-arounds. MediaWiki limits what page titles are valid. I believe that it is far easier for you to remove one space from the message key than me to implement a message key rewriting code that

  • might be slow
  • is likely to be complicated due to complex rules what is a valid title and what is not
  • will take us further from the 1:1 to mapping between page title and the real message key in the files
Mon, Apr 10, 3:04 PM · Revision-Scoring-As-A-Service, MediaWiki-extensions-Translate, translatewiki.net
Nikerabbit created T162590: This page is using the deprecated ResourceLoader module "es5-shim" on Special:CX(Stats).
Mon, Apr 10, 11:20 AM · MediaWiki-extensions-UniversalLanguageSelector, Technical-Debt, JavaScript
Nikerabbit closed T87874: ULS should not unconditionally use ES5 methods as "Invalid".

Nothing needs to be done. At some point we can clean up the code and drop ES3 support.

Mon, Apr 10, 11:14 AM · Technical-Debt, MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit added a comment to T149177: Add ProveIt to translatewiki.net.

Cross-linking: https://translatewiki.net/w/i.php?oldid=7330822&rcid=11241369

Mon, Apr 10, 8:19 AM · I18n, translatewiki.net, ProveIt-Gadget
Nikerabbit closed T146056: Request TWN access for joewalsh as "Declined".

This ticket can be closed if https://gerrit.wikimedia.org/r/#/c/328292/ is merged

Mon, Apr 10, 8:03 AM · Wikipedia-iOS-App-Backlog, translatewiki.net
Nikerabbit closed T156569: Stop translating the BoilerPlate extension in translatewiki as "Resolved".
Mon, Apr 10, 8:02 AM · Patch-For-Review, I18n, translatewiki.net, MediaWiki-extensions-Examples
Nikerabbit added a comment to T132197: qqq for a wiki-ai message cannot be loaded.

This was reported again elsewhere. The issue is that the key has two spaces, and MediaWiki does not support that. I really recommend you to change the message key.

Mon, Apr 10, 8:01 AM · Revision-Scoring-As-A-Service, MediaWiki-extensions-Translate, translatewiki.net
Nikerabbit assigned T159583: Remove WikiLabels extension from translatewiki to Raymond.
Mon, Apr 10, 7:59 AM · translatewiki.net

Fri, Apr 7

Nikerabbit edited the description of T162110: CX2: Machine translation service client.
Fri, Apr 7, 11:25 AM · MW-1.29-release (WMF-deploy-2017-04-25_(1.29.0-wmf.21)), Language-team April-June 2017 (Language-2017 Sprint 6), Patch-For-Review, ContentTranslation
Nikerabbit moved T162110: CX2: Machine translation service client from Backlog to In Progress on the Language-team April-June 2017 (Language-2017 Sprint 5) board.
Fri, Apr 7, 11:24 AM · MW-1.29-release (WMF-deploy-2017-04-25_(1.29.0-wmf.21)), Language-team April-June 2017 (Language-2017 Sprint 6), Patch-For-Review, ContentTranslation
Nikerabbit moved T161203: Language change tooltip is broken from Backlog to QA on the Language-team April-June 2017 (Language-2017 Sprint 5) board.
Fri, Apr 7, 11:07 AM · Language-team April-June 2017 (Language-2017 Sprint 5), MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit edited projects for T161203: Language change tooltip is broken, added: Language-team April-June 2017 (Language-2017 Sprint 5); removed Patch-For-Review.
Fri, Apr 7, 11:07 AM · Language-team April-June 2017 (Language-2017 Sprint 5), MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit closed T152837: Refactor Translate $1 Insertable classes as "Resolved".

Apologies for review taking too long.

Fri, Apr 7, 10:26 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), Google-Code-In-2016, Easy, MediaWiki-extensions-Translate, translatewiki.net
Nikerabbit closed T152837: Refactor Translate $1 Insertable classes, a subtask of T152610: Refactor Translate insertable classes, as "Resolved".
Fri, Apr 7, 10:25 AM · MediaWiki-extensions-Translate, translatewiki.net
Nikerabbit added a comment to T162058: Update Special:LanguageStats and Special:MessageGroupStats to use WMUI color palette .

The percentage is the primary data – color is used here just for as an additional cue.

Fri, Apr 7, 7:25 AM · User-Ladsgroup, UI-Standardization, MediaWiki-extensions-Translate

Thu, Apr 6

Nikerabbit reopened T67444: Vector: Use a consistent indentation for all sidebar links as "Open".

This causes the ULS cog to be positioned incorrectly in the sidebar. I am looking how to fix this, but I might need help figuring out how to make the positioning more generic, or how to detect presence of this change reliably, or have this change reverted before next deployment train if no fix is ready at at that time.

Thu, Apr 6, 7:48 AM · MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), Reading-Web-Sprint-94, Unplanned-Sprint-Work, Patch-For-Review, Reading-Web-Backlog, Easy, Vector

Wed, Apr 5

Nikerabbit added a comment to T162172: Alphasort en.json and qqq.json and keep them sorted.

Enforcing sorting across all repositories seems a lot more involved and controversial change that trying to reserve a place at the top for some of the most popular repositories. Backports could still conflict with each other, I guess?

Wed, Apr 5, 8:24 AM · MediaWiki-extensions-Translate, translatewiki.net, I18n, MediaWiki-extensions-General-or-Unknown, MediaWiki-Internationalization
Nikerabbit moved T162101: Translate's "Mark as reviewed" tooltip is mispositioned from Backlog to 2017.04 on the MediaWiki Language Extension Bundle board.
Wed, Apr 5, 6:56 AM · MediaWiki Language Extension Bundle, MW-1.29-release (WMF-deploy-2017-04-04_(1.29.0-wmf.19)), MediaWiki-extensions-Translate
Nikerabbit added a project to T162101: Translate's "Mark as reviewed" tooltip is mispositioned: MediaWiki Language Extension Bundle.
Wed, Apr 5, 6:56 AM · MediaWiki Language Extension Bundle, MW-1.29-release (WMF-deploy-2017-04-04_(1.29.0-wmf.19)), MediaWiki-extensions-Translate
Nikerabbit added a comment to T156911: [CX-OOJS] Syntax error, unrecognized expression: unsupported pseudo: 0_3-0.

The familiar issue. We really need to get into habit of not using #-selector with variable input.

	return this.parentTranslationUnit.$translationSection.find( '#' + this.model.sourceDocument.id );
Wed, Apr 5, 6:51 AM · Language-team April-June 2017 (Language-2017 Sprint 5), WorkType-NewFunctionality, ContentTranslation
Nikerabbit closed T162101: Translate's "Mark as reviewed" tooltip is mispositioned as "Resolved".

Thanks @matmarex for the patch. It's faster me to review than to hunt someone else do a code review. Verified on test.wikipedia.org.

Wed, Apr 5, 6:24 AM · MediaWiki Language Extension Bundle, MW-1.29-release (WMF-deploy-2017-04-04_(1.29.0-wmf.19)), MediaWiki-extensions-Translate

Tue, Apr 4

Nikerabbit added a comment to T162172: Alphasort en.json and qqq.json and keep them sorted.

It's more useful for translators to have related messages appear together. In which cases do security patches or normal deployments need to update i18n files?

Tue, Apr 4, 6:08 PM · MediaWiki-extensions-Translate, translatewiki.net, I18n, MediaWiki-extensions-General-or-Unknown, MediaWiki-Internationalization
Nikerabbit lowered the priority of T161203: Language change tooltip is broken from "High" to "Normal".
Tue, Apr 4, 1:31 PM · Language-team April-June 2017 (Language-2017 Sprint 5), MW-1.29-release (WMF-deploy-2017-04-11_(1.29.0-wmf.20)), MediaWiki-extensions-UniversalLanguageSelector

Mon, Apr 3

Nikerabbit added a comment to T162008: Detect and remove unneeded translations in things like en-ca and en-gb.

A quick look at https://translatewiki.net/w/i.php?title=Special:Translate&group=mediawiki&language=en-ca&filter=translated&action=translate suggests a lot more en-ca have been translated, but not exported in the last 3 years... T162009#3149673

Mon, Apr 3, 6:42 PM · I18n, MediaWiki-Internationalization, translatewiki.net
Nikerabbit added a comment to T160565: Special:LanguageStats fails to update statistics in various cases.

Conclusions:

  • There should not be anymore rows that are stuck in gray
  • The speed of updates is slow (less than ten pages per second)
    • Given the special page has time limit of 2 seconds for processing, and meta has ~6000 groups, it will take a while
    • Api has 10 second limit (8 by default).
    • Lots of Duplicate get(): "metawiki:SpecialLanguageStats%3A%3AmakeGroupRow:----progress-page-###-fi-uk" fetched N times in the logs, I have a patch in progress that uses getMulti that will also avoid this issue.
    • Profiling shows some hot spots:
      • MediaWiki\Logger\Monolog\LegacyHandler::write 4,2s (perhaps due to above log messages?)
      • StringMatcher::match 4s due to inefficient implementation of MessageGroups::expandWildcards
Mon, Apr 3, 9:40 AM · Patch-For-Review, Unplanned-Sprint-Work, Language-team April-June 2017, MW-1.29-release (WMF-deploy-2017-03-28_(1.29.0-wmf.18)), Performance, MediaWiki-extensions-Translate
Nikerabbit added a comment to T161957: Universal Language selector does not have responsive design (mobile styles for jquery.uls unmaintained).

The mobile styles for jquery.uls are not currently maintained (and like you said, they should be responsive instead).

Mon, Apr 3, 6:23 AM · Mobile, MediaWiki-extensions-UniversalLanguageSelector
Nikerabbit merged task T161954: Translate extension changes the link and display title of the base page name if the interface language is the same as the page's content language into T135311: Special:Translate shows "not prioritized language" warning for unrelated group.
Mon, Apr 3, 6:20 AM · MediaWiki-extensions-Translate
Nikerabbit merged T161954: Translate extension changes the link and display title of the base page name if the interface language is the same as the page's content language into T135311: Special:Translate shows "not prioritized language" warning for unrelated group.
Mon, Apr 3, 6:20 AM · MediaWiki-extensions-Translate

Fri, Mar 31

Nikerabbit added a comment to T36300: List of translations by status.

I would bet there would be demand for features 2 and 3 if lack of 1 wasn't a blocker.

Fri, Mar 31, 12:36 PM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T160852: Uncaught TypeError: Cannot read property 'defaultView' of null.

On 0.20.2 the positioning is completely broken (this is without changes in Translate):

Fri, Mar 31, 11:37 AM · OOjs-UI (OOjs-UI-0.20.1), User-Nikerabbit
Nikerabbit added a comment to T36300: List of translations by status.

Of course it is possible already via lots of clicks, but likely with small effort it could be much more efficient overall.

Fri, Mar 31, 10:47 AM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T36300: List of translations by status.

The target audience are translation coordinators, as explained in the first line of the task.

Fri, Mar 31, 7:32 AM · MediaWiki-extensions-Translate
Nikerabbit closed T142489: Pages with translate tag in nowiki are proposed for translation as "Declined".

I am not sure why I left this open. There isn't pressing need nor way to fix this without completely changing the way it works (i.e. DOM based translation).

Fri, Mar 31, 6:50 AM · MediaWiki-extensions-Translate
Nikerabbit added a comment to T36300: List of translations by status.

Who publishes? What they publish? Where and how they publish? How they currently learn that there is something to publish?

Nobody, nothing, almost never and randomly. That's the point of this bug.

Fri, Mar 31, 5:59 AM · MediaWiki-extensions-Translate

Wed, Mar 29

Nikerabbit added a comment to T153558: Links added on translateable pages result in multiple notifications, for every language.

I don't know what all it controls. In general people wan't to know if their translation is updated by FuzzyBot (this happens frequently in translatewiki.net when importing external changes).

Wed, Mar 29, 1:13 PM · Collaboration-Team-Triage, Notifications, MediaWiki-extensions-Translate
Nikerabbit closed T159947: Error saving translation: Unknown error: "TPT-unknown-page" as "Invalid".

I am closing this for a lack of sufficient amount of information to start investigating this.

Wed, Mar 29, 1:08 PM · MediaWiki-extensions-Translate
Nikerabbit triaged T160121: Filter translations in Recent changes by trailer as "Low" priority.

I see two solutions:

  • enable trailer filter on Wikimedia (which will likely be blocked for performance reasons, and CleanChanges has been blocked already)
  • output those links in Special:SupportedLanguages only conditionally or not at all.
Wed, Mar 29, 1:06 PM · MediaWiki-extensions-Translate
Nikerabbit triaged T160425: Log Special:ManageMessageGroups actions to Special:Log as "Normal" priority.
Wed, Mar 29, 1:04 PM · MediaWiki-extensions-Translate
Nikerabbit moved T158508: Change (centralnotice-preview-all-template-translations) link target from Backlog to cross projects on the MediaWiki-extensions-Translate board.

It is unclear to me what, if anything, needs to be done in Translate. Could someone clarify?

Wed, Mar 29, 1:03 PM · Wikimedia-Site-requests, MediaWiki-extensions-Translate, MediaWiki-extensions-CentralNotice
Nikerabbit removed a project from T160539: Remove "editusercssjs" user rights from Translate, BlueSpiceFoundation, UserGroups extensions: MediaWiki-extensions-Translate.
Wed, Mar 29, 1:00 PM · Patch-For-Review, BlueSpice, Technical-Debt, MediaWiki-extensions-General-or-Unknown
Nikerabbit triaged T160902: Allow nesting of AggregateMessageGroups in Special:LanguageStats via Special:AggregateGroups as "Normal" priority.
Wed, Mar 29, 1:00 PM · User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit placed T44495: Subtitle translation with Translate extension up for grabs.
Wed, Mar 29, 12:53 PM · Wikimedia-Developer-Summit (2017), Epic, TimedMediaHandler-TimedText, Commons, I18n, TimedMediaHandler
Nikerabbit claimed T161213: Invalid hint about <br> tag in Translate extension.
Wed, Mar 29, 12:50 PM · MW-1.29-release (WMF-deploy-2017-04-25_(1.29.0-wmf.21)), MediaWiki-extensions-Translate

Tue, Mar 28

Nikerabbit added a comment to T161517: Allow anonymous users to change interface language on Commons with ULS.

It's stalled because the way ULS works for anons is incompatible with Wikimedia's hosting infrastructure.

Tue, Mar 28, 2:45 PM · Operations, Traffic, Patch-For-Review, Commons, Wikimedia-Site-requests, I18n
Nikerabbit edited projects for T160565: Special:LanguageStats fails to update statistics in various cases, added: Language-team April-June 2017, Unplanned-Sprint-Work; removed Patch-For-Review.
Tue, Mar 28, 1:57 PM · Patch-For-Review, Unplanned-Sprint-Work, Language-team April-June 2017, MW-1.29-release (WMF-deploy-2017-03-28_(1.29.0-wmf.18)), Performance, MediaWiki-extensions-Translate
Nikerabbit edited projects for T161516: ContentTranslation errors when deleting previously published draft, added: Language-team April-June 2017; removed Patch-For-Review.
Tue, Mar 28, 11:57 AM · Language-team April-June 2017, MW-1.29-release (WMF-deploy-2017-03-28_(1.29.0-wmf.18)), Wikimedia-log-errors, Regression, ContentTranslation

Mar 28 2017

Nikerabbit removed a project from T159600: The language list on top of Wikidata community pages should be able to be collapsed: MediaWiki-extensions-Translate.

Why was MediaWiki-extensions-Translate added again?

Mar 28 2017, 6:05 AM · Easy, Need-volunteer, Wikidata

Mar 27 2017

Nikerabbit added a comment to T144388: Revert in 01/2017: Request creation of wmwcourse labs project.

Work well:

  • Prefix puppet is handy (I wish I had discovered it before starting to create instances)
  • Easy MediaWiki setup for each student (the focus was not on installing MediaWiki)
  • Easy for me to assist students with the issues they had and to review assignments
    • The wikis were public, and I could also ssh into the instances but that was not necessary
  • I was able to use one instance for demonstrations in the class and then students could go that later to check what I did
  • Students now have wikitech accounts, making it easier for them to contribute in the future if they want to
Mar 27 2017, 2:31 PM · User-Nikerabbit, Labs
Nikerabbit created T161516: ContentTranslation errors when deleting previously published draft.
Mar 27 2017, 1:55 PM · Language-team April-June 2017, MW-1.29-release (WMF-deploy-2017-03-28_(1.29.0-wmf.18)), Wikimedia-log-errors, Regression, ContentTranslation
Nikerabbit added a comment to T144388: Revert in 01/2017: Request creation of wmwcourse labs project.

Okay to go ahead on this. All instances are turned off already. Thanks for the opportunity.

Mar 27 2017, 1:27 PM · User-Nikerabbit, Labs
Nikerabbit added a comment to T160902: Allow nesting of AggregateMessageGroups in Special:LanguageStats via Special:AggregateGroups.

Nested groups exist already, so it is a reasonable request to allow using them (that's why I reopened the task). Whatever happens here won't resolve this issue until someone comes and actually makes a patch (that's why I discouraged further discussion in my previous comment).

Mar 27 2017, 11:20 AM · User-Nikerabbit, MediaWiki-extensions-Translate
Nikerabbit edited the description of T59138: Implement LanguageConverter for wuu.
Mar 27 2017, 8:40 AM · Patch-For-Review, I18n, MediaWiki-Language-converter