Template talk:Minor planet list link
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Lua version of Template
editI’ve created a Lua, i.e. module, version of the template at Module:LoMP. My motivation was the problem at Eric Walter Elst, where the template is being used so many times it is timing out. Possibly it being used too much on that page, but it was straightforward enough, it looked like the sort of template that would benefit, and even if the page is changed so it’s not needed Lua is usually faster and is certainly more maintainable.
Though the template is not protected it is used on so many page that I don’t want to just make my changes in the live version. So I‘ve created a sandbox for it {{LoMP/sandbox}}, and a testcases page at Template:LoMP/testcases, based on the examples in the documentation. It all looks like it works, and there’s nothing missing as far as I can see. If no-one else sees any problems then I propose updating the main template from the sandbox version.--JohnBlackburnewordsdeeds 00:15, 25 September 2016 (UTC)
- JohnBlackburne, great! I did see the time-out error message when first loading Eric Walter Elst (it occurred right after
(173127) 1994 CQ10
, or just over 3,600 {{LoMP}}-instances deep). It doesn't come up anymore, but the page still take a while to load. I've looked over the code and made some minor adjustments. Looks good to go live. - Just for fun & reference, view page source + a search for "cputime" shows ~17 seconds to load the old non-Lua template. ~ Tom.Reding (talk ⋅dgaf) 02:19, 25 September 2016 (UTC)
- Thanks for your fixes to it. I have gone ahead and updated the main template, so keep an eye out for any problems but it hopefully won’t cause any. First thing I checked of course is Eric Walter Elst which now has a cputime of about 5 seconds, and no red errors (they tend to come and go on long pages as they are edited or purged).--JohnBlackburnewordsdeeds 02:38, 25 September 2016 (UTC)
- Great work, very much appreciated. I find a parser runtime between 5 and 10 (seconds) in the HTML source code of the above mentioned article after I have repeatedly cleared wikipedias's server cache for this page (
?action=purge
). Rfassbind – talk 19:52, 25 September 2016 (UTC)
- Great work, very much appreciated. I find a parser runtime between 5 and 10 (seconds) in the HTML source code of the above mentioned article after I have repeatedly cleared wikipedias's server cache for this page (
- Thanks for your fixes to it. I have gone ahead and updated the main template, so keep an eye out for any problems but it hopefully won’t cause any. First thing I checked of course is Eric Walter Elst which now has a cputime of about 5 seconds, and no red errors (they tend to come and go on long pages as they are edited or purged).--JohnBlackburnewordsdeeds 02:38, 25 September 2016 (UTC)
Requested move 26 June 2020
edit- The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.
The result of the move request was: Consensus to move. (non-admin closure) I will let Ppery carry it out as I don't want to break anything in the module namespace. (t · c) buidhe 07:47, 10 July 2020 (UTC)
– Expand name * Pppery * it has begun... 19:16, 26 June 2020 (UTC)
- Support this or something similar which satisfies WP:TMPG -
"Template function should be clear from the template name"
. Abbreviations of template names should be redirects. I think this one was meant to stand for "List of minor planets", so maybe {{List of minor planets/link}} or {{List of minor planets/anchor}} would be better. There is a lot of variation in the minor planet template naming which should be looked into for some consistency (see the template DAB at Template:List of minor planets). -- Netoholic @ 08:59, 28 June 2020 (UTC)- @Pppery: thoughts on the above suggestion? --Mdaniels5757 (talk) 00:36, 4 July 2020 (UTC)
- This shouldn't be a subpage of a disambiguation page, that's a misuse of subpages. * Pppery * it has begun... 00:59, 4 July 2020 (UTC)
- @Pppery: Ah, didn't notice that :). --Mdaniels5757 (talk) 01:00, 4 July 2020 (UTC)
- This shouldn't be a subpage of a disambiguation page, that's a misuse of subpages. * Pppery * it has begun... 00:59, 4 July 2020 (UTC)
- @Pppery: thoughts on the above suggestion? --Mdaniels5757 (talk) 00:36, 4 July 2020 (UTC)