Template talk:Minor planet list link

(Redirected from Module talk:Minor planet list link/doc)
Latest comment: 4 years ago by Buidhe in topic Requested move 26 June 2020

Lua version of Template

edit

I’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)Reply

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 (talkdgaf)  02:19, 25 September 2016 (UTC)Reply
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)Reply
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)Reply

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)Reply



– Expand name * Pppery * it has begun... 19:16, 26 June 2020 (UTC)Reply

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.