Template:Inflation is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases.
This is the talk page for discussing improvements to the Inflation template.
This template is within the scope of WikiProject Economics, a collaborative effort to improve the coverage of Economics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.EconomicsWikipedia:WikiProject EconomicsTemplate:WikiProject EconomicsEconomics
This template is within the scope of WikiProject Finance & Investment, a collaborative effort to improve the coverage of articles related to Finance and Investment on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Finance & InvestmentWikipedia:WikiProject Finance & InvestmentTemplate:WikiProject Finance & InvestmentFinance & Investment
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present.
Template-protected edit request on 15 July 2024
This edit request to Template:Inflation/fn has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
UK-GDP
Please update the bolded dates: United Kingdom Gross Domestic Product deflator figures follow the MeasuringWorth "consistent series" supplied in Thomas, Ryland; Williamson, Samuel H. (2018). "What Was the U.K. GDP Then?". MeasuringWorth. Retrieved February 2, 2020. on Template:Inflation/fn.
@AntientNestor, Izno: Turns out mw.text.split() is incredibly slow. Replacing it with a home-grown splitting function made it 20x faster. I've tested it on that James Brudenell page, and the CPU times are now virtually identical between the new and old versions. I'll go ahead and re-implement. --Ahecht (TALK PAGE)00:05, 20 September 2024 (UTC)[reply]
@Izno Might be a portability issue on other wikis, but since we're just dealing with numbers and basic mathematical operators there's no reason that any of the data templates should be using non-ASCII characters on enwiki. --Ahecht (TALK PAGE)14:38, 20 September 2024 (UTC)[reply]
Question for you on your recent edit, since I'm not familiar with the inflation template: does the formula account for the fact that 1 pound became $2 upon decimalisation? Aspirex (talk) 12:11, 24 September 2024 (UTC)[reply][reply][reply]
You know what, that is an excellent question! I do recall seeing a vintage video piece about that prior to dollarisation. I assumed it was factored in, because why would I question such a popular Wiki template!
But Wow! Just checked. That is unbelievable! The calculation of £500 in 1940 money says it is $23,813, but I cross-referenced it with the RBA inflation calculator, which specifically addresses the $2:£1 exchange rate. Plugging in the same numbers, I got $47,627.04, which lines up almost perfectly as double the amount!! I think we've found a critical flaw in the conversion process. Man, this is a massive discovery! I'm going to notify people at once and get this looked at. What an incredible discovery. Damn! Electricmaster (talk) 12:22, 24 September 2024 (UTC)[reply]
Credit to Aspirex for bringing this to my attention. Can we please get some people experienced with the inflation template to address our concerns and fix the conversion (which seems like it needs to be done ASAP). Electricmaster (talk) 13:29, 24 September 2024 (UTC)[reply]
This is a known issue with many templates, as the note at the currency conversion section in the documentation specifies (and as is mentioned in the Australia dataset addendum). As of now the best practice would simply be to do the conversion in the article for templates that don't include redenominations. For convenience I've adjusted the template to adjust for the redenomination. Zoozaz1 (talk) 13:48, 25 September 2024 (UTC)[reply]
Template-protected edit request on 30 December 2024