Community Wishlist Survey 2022/Editing/Automatic currency converter and inflation calculator

Automatic currency converter and inflation calculator

  • Problem: There are many articles where where currency is updated to current costs; e.g., on film pages, you might see "Such and Such earned $134 million ($445 million in 2022 dollars)" to indicate how much that is equal to in today's dollars. This is a lot to update on a slew of articles. Likewise, there are often references to money in one country with a parenthetical saying how much in US dollars, euros, etc. With database tables to pull from for inflation and currency conversion, could a template or tool be devised to auto-update these?
  • Proposed solution: Develop a template or tool to reference the amount and automatically display the inflation amount, and a similar template to convert to other currencies (perhaps such a template could convert from the cited currency to ANY currency available in the tool)
  • Who would benefit: A tool or template to automatically update examples for inflation, or to convert foreign currencies, would greatly reduce manual updating of many pages and result in up-to-date accuracy on any such pages. For movies, it's enough to auto-convert the inflated amount for the most recent year in the table. For currency conversion, it could pull the daily conversion rate from a table.
  • More comments: Updating a database of inflation rates and one for conversion rates on a regular basis should be enough to pull from the database in a quick calculation with such a tag or tool to return the amount.
  • Phabricator tickets:
  • Proposer: Indyfitz (talk) 20:50, 11 January 2022 (UTC)

Discussion

  • This would need external scientific data which could be controversial and unprecise, especially for old currencies like Sestercius. In addition to historical bias, there is also a geographical bias which make scientifics sometimes to use non-monetary currencies like Big Mac Index. --Pols12 (talk) 21:29, 11 January 2022 (UTC)
    Agreed. Inflation would also be difficult to take into account, which will make it a lot harder to do. MrMeAndMrMeContributions 22:12, 11 January 2022 (UTC)
    I agree. This is one of those things that looks simple until you really start understanding how many caveats apply. It gets into original research territory in my opinion, which we should not have in Wikipedia. —TheDJ (talkcontribs) 10:40, 12 January 2022 (UTC)
    And different countries have different inflation rate, as well as different currency exchange rate. Even among countries that use same currency. C933103 (talk) 01:01, 16 January 2022 (UTC)
  • On the English Wikipedia at least this is done automatically using things like en:template:inflation and en:template:To USD, there's already no need to manually update pages. Given that there is an element of editorial decision involved in choosing which inflation measures and conversion methods to use I think this is best left to individual wikis to set up, rather than being hardcoded into mediawiki. 86.23.109.101 11:11, 12 January 2022 (UTC)
    When translating templates, we have to include some internationalization and some phrase would different in other languages. The inflation is like using the outsider's data, which is sometimes third-party. Maybe getting the inflation data from Wikidata? Thingofme (talk) 10:31, 15 January 2022 (UTC)
  • I don't think this needs developer support; templates like en:template:inflation work well enough and could be improved with e.g. Wikidata integration. {{u|Sdkb}}talk 00:01, 29 January 2022 (UTC)
  • Regarding inflation, it depends on area e.g. recently there was 12% inflation in Estonia while only 3% in Finland though both use the euro. Grillofrances (talk) 00:13, 8 February 2022 (UTC)
  • I agree that a template is a much easier solution than a parser function or other kind of built-in software feature. ~~~~
    User:1234qwer1234qwer4 (talk)
    19:11, 8 February 2022 (UTC)

Voting

  •   Support I would also appreciate the option to convert currencies and adjust for inflation at the same time, ie. what is £1 million in today's UK£ and US$? JDspeeder1 (talk) 01:39, 29 January 2022 (UTC)
  •   Support Automatic usage of templates with data from Wikidata. Thingofme (talk) 15:34, 30 January 2022 (UTC)
  •   Support Libcub (talk) 21:52, 30 January 2022 (UTC)
  •   Support Kcomerfo (talk) 14:49, 31 January 2022 (UTC)
  •   Oppose as unnecessary per Sdkb. Daniel Case (talk) 18:18, 31 January 2022 (UTC)
  •   Oppose for the same reason. Jochem van Hees (talk) 17:30, 3 February 2022 (UTC)
  •   Oppose --Crosstor (talk) 06:42, 5 February 2022 (UTC)
  •   Support Scoophole2021 (talk) 09:04, 5 February 2022 (UTC)
  •   Support Sir Proxima Centauri (talk) 09:19, 5 February 2022 (UTC)
  •   Support Exilexi (talk) 18:19, 5 February 2022 (UTC)
  •   Support Ayumu Ozaki (talk) 06:00, 6 February 2022 (UTC)
  •   Oppose Existing templates work good and could be expanded — DaxServer (t · c) 12:21, 6 February 2022 (UTC)
  •   Support --Ciao • Bestoernesto 18:46, 6 February 2022 (UTC)
  •   Support Annablazeprobable (talk) 00:47, 7 February 2022 (UTC)
  •   Support Gaurav (talk) 06:17, 11 February 2022 (UTC)
  •   Support Jl sg (talk) 10:08, 11 February 2022 (UTC)