Notsniwiast Can you make a command "table" (or something named similarly) which would be a predetermined format to use the data in tables? The thought is calling {{RT data|table|qid/title=X}} would produce "XX% (YYY reviews)" in one return, which would be helpful on articles that use overview tables for film (for example, Marvel Cinematic Universe: Phase OneorFast & Furious). So {{RT data|table|title=Iron Man (2008 film)}} would, currently, produce "94% (281 reviews)". Thanks. - Favre1fan93 (talk) 20:55, 8 November 2021 (UTC)[reply]
@Favre1fan93 Added it. {{RT data|table|title=Hitch (film)}} outputs 69% (188 reviews). Winston (talk) 21:13, 8 November 2021 (UTC)[reply]
Wonderful, thank you! I'm trying to work through the MCU Phase articles to convert over, so I'll report back if any issues I see. - Favre1fan93 (talk) 21:42, 8 November 2021 (UTC)[reply]
First time I'm using this template, forgive me if there's anything I'm missing. But I just added RT scores to Hellraiser (franchise) and have two issues.
First, I'm getting "Module:Rotten_Tomatoes_data at line 384: attempt to concatenate a nil value" for the following code:
Also, Hellraiser seems to be getting old data, as it shows 50 reviews and an access date of October 6, 2021, even though there have been three more reviews since then. Why would that be?
Thanks for any help!
-Joltman (talk) 17:10, 23 September 2022 (UTC)[reply]
@Wbm1058, @Indagate, @Notacardoor, could we address the error raised here? Having an autovalue for some fields but not others is not ideal, as it may lead novice editors to mistakenly claim that data was retrieved the day of the edit, rather than when it was actually retrieved. And given how RT scores can change over time, that can sometimes be a meaningful error. {{u|Sdkb}}talk 16:46, 21 November 2023 (UTC)[reply]
I patrol for pages transcluding Template:Error and most of the ~dozen items there at the moment are due to this issue. No data in Wikidata should never be a Wikipedia error. – wbm1058 (talk) 23:09, 21 November 2023 (UTC)[reply]
I've been solving this by removing the template that's failing to return a date, but that task gets tedious after a while, when editors repeatedly keep doing this. Trying to keep Wikipedia from turning into another "Frankenstein", like other Internet properties ("X"), LOL – wbm1058 (talk) 23:19, 21 November 2023 (UTC)[reply]
To be usable on featured-class articles, we'll want archiving capability as well. For that, we'll want to introduce archive-url and archive-date commands to this template. Those should be pretty simple to code, as they can be modelled off of the existing access-date and url parameters, but as I don't yet know Lua I'd appreciate help so that I don't botch anything up. Cheers, Sdkbtalk 07:38, 25 February 2024 (UTC)[reply]
Or you could just stop using Wikidata as a source for Wikipedia. Wikidata is not a reliable source, as it is crowdsourced. This just makes it very difficult for regular Wikipedia editors to supervise and maintain the Rotten Tomatoes stuff on Wikipedia. – wbm1058 (talk) 10:40, 25 February 2024 (UTC)[reply]
The merits/costs of sourcing info via Wikidata is a debate we've had (at extreme length) elsewhere, and that won't be helpful to rehash here. You're free to not use this template. Sdkbtalk 15:47, 25 February 2024 (UTC)[reply]