Page MenuHomePhabricator

Add "ton of TNT" unit to the Wikidata conversion table to normalize values that uses this unit
Closed, ResolvedPublic

Description

To make this https://w.wiki/ZbM query work, we need to customise the file https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/master/wmf-config/unitConversionConfig.json and add the following value : Q98391507 meaning 4 184 000 000 joule.

Thanks

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
NullPointer triaged this task as High priority.
NullPointer subscribed.

Claimed the task. I will work on it soon so this is high priority.

I do not know how to make pull requests with Gerrit, but the proposed changes are:

 json
" Q98391507"{"factor": 4184000000,"unit":null,"label":"J","silable:"Joule"}

I do not know how to make pull requests with Gerrit, but the proposed changes are:

 json
" Q98391507"{"factor": 4184000000,"unit":null,"label":"J","silable:"Joule"}

Hey, https://www.mediawiki.org/wiki/Gerrit/Tutorial has a really good walkthrough.

Lydia_Pintscher lowered the priority of this task from High to Low.Aug 15 2020, 11:47 AM
Lydia_Pintscher subscribed.

Sorry. A ticket is not high priority because someone is working on it. Priority is determined by how important and urgent the ticket is.

Resetting assignee due to being a sockpuppet of a previously disabled Phabricator account.

I think this was done in T270252: Run updateUnits.php and update production unit conversion configuration, or at least the file contains a Q98391507 unit now. @Bouzinac can you check if the query works correctly now?

Hi, apparently working (see Lassen, Ariel, Persée)
Thanks