Category talk:Has warning box with no date
Latest comment: 6 years ago by Robkelk in topic Is there any way to automatically make a list of parts of pages' content?
Is there any way to automatically make a list of parts of pages' content?
editI was hoping to be able to put together a quick page in my sandbox showing when each of the Warning Boxes on the wiki was last updated (so I could update the stale boxes - I found one yesterday that hadn't been touched in over five years, so this is something worth doing).
If we had the Dynamic Page List 3 extension, I could write the code in two minutes - search for pages in Category:Has warning box, and display the page title and the contents of the "lastedit" field in the page's warningbox template. Alas, it appears we don't have DPL3 installed.
Do we have some other way to do this, or should I ask for DPL3 to be installed here? If the latter, how would I go about making the request? --Robkelk (talk) 15:53, 17 June 2018 (UTC)
- Only thing I can think of is we make the template a little smarter. Create a category for all warning boxed with no lastedit date. Create a category for warning boxes were lastedit date is more than, say, 6 months ago. --Traveler100 (talk) 16:14, 17 June 2018 (UTC)
- That seems like a good idea to me. It would certainly be good to have some way of tracking articles with old warning boxes. —Granger (talk · contribs) 23:44, 17 June 2018 (UTC)
- Added Category:Has warning box with no date to {{Warningbox}}. The check on date longer as 6 month, working on it.--Traveler100 (talk) 06:09, 18 June 2018 (UTC)
- Now have Category:Has warning box with out of date warning which checks if older than 6 months. Also added to no date category if the date format of last edit is incorrect. Adds some light grey text to page after the warningbox, may want to consider the text or remove it. --Traveler100 (talk) 06:57, 18 June 2018 (UTC)
- Wonderful! IMO the new light grey text isn't necessary—I think displaying the date is enough for giving readers a sense of whether the information is up-to-date or not. —Granger (talk · contribs) 09:11, 18 June 2018 (UTC)
- OK will remove the text. Should a lastedit value of permanent be allows for warning that are always valid? For example Mont Saint-Michel#Get in would be taken out of the no date category. --Traveler100 (talk) 10:20, 18 June 2018 (UTC)
- Sounds reasonable to me. Everest Base Camp Trek is another article where that would be appropriate. —Granger (talk · contribs) 10:40, 18 June 2018 (UTC)
- It's still worthwhile reviewing those warningboxes. For example, the warningbox in Mont Saint-Michel#Get in mentions a causeway that the main text says has been demolished. --Robkelk (talk) 02:05, 20 June 2018 (UTC)
- Aside topic on Mont Saint-Miche, I was there last year. The causeway is now a low bridge which is always open, but a warning about crossing of the sand is still relevant. --Traveler100 (talk) 06:10, 20 June 2018 (UTC)
- Some of them are permanent, like Mecca. K7L (talk) 04:10, 20 June 2018 (UTC)
- Unless of course they change the policy vis-a-vis non-Muslims... Hobbitschuster (talk) 15:24, 20 June 2018 (UTC)
- OK will remove the text. Should a lastedit value of permanent be allows for warning that are always valid? For example Mont Saint-Michel#Get in would be taken out of the no date category. --Traveler100 (talk) 10:20, 18 June 2018 (UTC)
- Excellent, and thanks for the help. --Robkelk (talk) 01:17, 20 June 2018 (UTC)
- I've gone through Category:Has warning box with no date, and three-quarters of those boxes now have dates. In a few cases, they're even dates within the last six months. Category:Has warning box with out of date warning is now much more accurate. Alas, I probably won't have time to do anything more with these for at least a month. --Robkelk (talk) 02:12, 21 June 2018 (UTC)
- Wonderful! IMO the new light grey text isn't necessary—I think displaying the date is enough for giving readers a sense of whether the information is up-to-date or not. —Granger (talk · contribs) 09:11, 18 June 2018 (UTC)
- Now have Category:Has warning box with out of date warning which checks if older than 6 months. Also added to no date category if the date format of last edit is incorrect. Adds some light grey text to page after the warningbox, may want to consider the text or remove it. --Traveler100 (talk) 06:57, 18 June 2018 (UTC)
- Added Category:Has warning box with no date to {{Warningbox}}. The check on date longer as 6 month, working on it.--Traveler100 (talk) 06:09, 18 June 2018 (UTC)
- That seems like a good idea to me. It would certainly be good to have some way of tracking articles with old warning boxes. —Granger (talk · contribs) 23:44, 17 June 2018 (UTC)