Template talk:Douban
Appearance
This is the talk page for discussing improvements to the Douban template. |
|
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
Template update
[edit]The current updated version of this Template includes both sub site:(/celebrity) and the current douban website https://m.douban.com instead of https://movie.douban.com which no longer getting update but rather as a redirect.
The current version uses the if statement instead of switch to insert the [ID] and uses ifeq statement to change the [tittle]. The old version has some errors and have been fixed with the current version with an additional updates.
Thisasia (Talk) 11:20, 8 April 2024 (UTC)
- If you use the mobile user agent, the https://movie.douban.com will redirect to https://m.douban.com. Dabao qian (talk) 10:42, 9 April 2024 (UTC)
- @Dabao qian That's true but the New update was not just for the redirect but it also includes some New updates of douban sub sites, If you check well, the previous one has a lot of issues which have been addressed with this current version.
Thisasia (Talk) 10:55, 9 April 2024 (UTC)- I don't know what the intent was here, but the changes to this template completely broke existing transclusions, such as the one at The Sword Identity. Please be MUCH more careful with template edits to live templates that are used in other pages. Changes to the documentation also removed working functionality, including Template Data. I have reverted to the last working version of the template. – Jonesey95 (talk) 15:24, 11 April 2024 (UTC)
- Because English Wikipedia missing {{Douban people}} template, sub site:(/celebrity) should use {{Douban people}} template instead.--Dabao qian (talk) 18:53, 11 April 2024 (UTC)
- I don't know what the intent was here, but the changes to this template completely broke existing transclusions, such as the one at The Sword Identity. Please be MUCH more careful with template edits to live templates that are used in other pages. Changes to the documentation also removed working functionality, including Template Data. I have reverted to the last working version of the template. – Jonesey95 (talk) 15:24, 11 April 2024 (UTC)
- @Dabao qian That's true but the New update was not just for the redirect but it also includes some New updates of douban sub sites, If you check well, the previous one has a lot of issues which have been addressed with this current version.