Module talk:Category description
Errors
@Reinhard Müller: , There are some Lua errors due to this code, see Category:Flora of Bezirk Kirchdorf an der Krems and other categories in Category:Pages_with_script_errors. --Jarekt (talk) 12:24, 20 March 2020 (UTC)
- Thank you for notifying me! I'll take care of it. --Reinhard Müller (talk) 12:34, 20 March 2020 (UTC)
more Lua errors
@Reinhard Müller: , pages using {{Category description|Precipitation by administrative division}}
like Category:Snow in Eure and many other "Snow in ..." categories errors and end up in Category:Pages with script errors. Looking at HTML of the page I see "show "Too many Wikidata entities accessed" error and "Expensive parser function count: 399/500". Can you look into it? --Jarekt (talk) 00:44, 29 January 2024 (UTC)
- Category:Arecaceae in the Bahamas also has "Lua error in Module:Category_description at line 65: Page “Category: Bahamas” not found" error. --Jarekt (talk) 00:56, 29 January 2024 (UTC)
- @Jarekt: thank you for the notification, I will look into it! --Reinhard Müller (talk) 07:47, 29 January 2024 (UTC)
- @Jarekt: All these errors are now fixed. Again thank you very much for keeping an eye on these issues and notifying me! --Reinhard Müller (talk) 10:40, 30 January 2024 (UTC)
- @Jarekt: thank you for the notification, I will look into it! --Reinhard Müller (talk) 07:47, 29 January 2024 (UTC)
Lua errors
@Reinhard Müller: , New Lua errors in:
- Category:Supermarkets in the Czech Republic
- Category:Murals in the Czech Republic
- Category:Snow in the Czech Republic
- Category:Clouds in the Czech Republic
- Category:Postal vehicles of the Czech Republic
- Category:Platanus × hispanica in the Czech Republic
- Category:Poaceae in the Czech Republic
- Category:Public bookcases in the Czech Republic
- Category:Rubiaceae in the Czech Republic
- Category:Hardware stores in the Czech Republic
- Category:Euphorbiaceae in the Czech Republic
- Category:Boraginaceae in the Czech Republic
- Category:Primulaceae in the Czech Republic
- Category:Ranunculaceae in the Czech Republic
- Category:Hepatica nobilis in the Czech Republic
- Category:Phrymaceae in the Czech Republic
- Category:Lythraceae in the Czech Republic
- Category:Orobanchaceae in the Czech Republic
- Category:Asparagaceae in the Czech Republic
- Category:Amaranthaceae in the Czech Republic
- Category:Gentianaceae in the Czech Republic
- Category:Plantaginaceae in the Czech Republic
- Category:Anemone pulsatilla in the Czech Republic
- Category:Overcast in the Czech Republic
- Category:Living streets in the Czech Republic
Jarekt (talk) 03:38, 2 August 2024 (UTC)
- Thanks again Jarekt for the notification! All are fixed with this correction on Wikidata.
- I wonder whether there would be some possibility to get automatic notifications on Wikidata errors caused by this module? --Reinhard Müller (talk) 06:41, 2 August 2024 (UTC)
- Reinhard Müller, I do not know about automatic notifications. I just check it from time to time. Since I try to maintain some of the most often used templates, many of the errors are due to issues I caused one way or the other. For example, last half a year I am fixing issues caused by a change to {{Self}} to throw an error instead of quietly quitting if an input is not a recognized license. --Jarekt (talk) 19:46, 2 August 2024 (UTC)
@JAn Dudík: Your bot's bad edit created the issue. As an occasional bot operator, I know that sometimes undoing a bot edit is short lived, as it is likely to do the same edit again. Can you make sure not to add duplicate category's main topic (P301) in the future? --Jarekt (talk) 19:58, 2 August 2024 (UTC)
Lua errors
@Reinhard Müller: , More Lua errors in Category:Pages with script errors, all likely related to category move of Category:Bezirk Braunau am Inn to Category:Bezirk Braunau. Not sure how to fix them other than renaming few dozen categories. Any ideas? Jarekt (talk) 13:44, 22 August 2024 (UTC)
- Thanks User:Jarekt for the notification. I'll discuss this with the user who renamed the category. The discussion will probably take place in German Wikipedia where the renaming started. I'll keep you updated here. --Reinhard Müller (talk) 16:16, 22 August 2024 (UTC)
- After discussion on German Wikipedia, I moved the category back. Everything is fixed again now. --Reinhard Müller (talk) 16:56, 28 August 2024 (UTC)
Lua errors
@Reinhard Müller: more errors in Category:April 2022 in Gyeonggi-do. I wonder if it would be possible to rewrite this module to fail more gracefully. Maybe place page in some category instead of throwing an lua error. Jarekt (talk) 02:19, 5 September 2024 (UTC)
- I fixed this error, and I will look into changing the error handling as you proposed. Do you happen to know whether there already is a function which does something like "write an error message to output and add the page to a maintenance category"? --Reinhard Müller (talk) 06:55, 5 September 2024 (UTC)
- I do not think there is such a function. For error message I used in Module:Coordinates something like Error: Invalid parameters \n followed by a error/maintenance category. --Jarekt (talk) 12:18, 5 September 2024 (UTC)
- Just to keep you updated, I did not yet change the module error handling, but I added the error category to the list of pages I look at (more or less) daily. I still have to think about a good way of error handling for each of the various mistakes that can happen. --Reinhard Müller (talk) 13:27, 13 September 2024 (UTC)
- I do not think there is such a function. For error message I used in Module:Coordinates something like Error: Invalid parameters \n followed by a error/maintenance category. --Jarekt (talk) 12:18, 5 September 2024 (UTC)
@Reinhard Müller: , More Lua errors at Template:Moscow by year/sub. --Jarekt (talk) 22:13, 6 December 2024 (UTC)
- Doh. I only watched the categories, not the pages... Fixed now. Thanks --Reinhard Müller (talk) 16:04, 7 December 2024 (UTC)
- My mistake when setting up the subtemplate. Thanks for fixing this! --Kleeblatt187 (talk) 21:06, 8 December 2024 (UTC)