MediaWiki talk:DYK-nomination-wizard.js: Difference between revisions

Content deleted Content added
Line 23:
– [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 11:21, 21 March 2024 (UTC)
:{{done}}, noting this creates a dependency on [[User:SDZeroBot/DYK nomination counts.json]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 13:24, 21 March 2024 (UTC)
 
== Interface-protected edit request on 24 March 2024 ==
 
{{edit interface-protected|MediaWiki:DYK-nomination-wizard.js|answered=no}}
Please sync the changes from [[User:SD0001/DYK-helper/withJsMode2.js]] ([https://en.wikipedia.org/wiki/Special:ComparePages?page1=MediaWiki%3ADYK-nomination-wizard.js&rev1=1214831781&page2=User%3ASD0001%2FDYK-helper%2FwithJsMode2.js&rev2=1215361663&action=&diffonly=&unhide=&diffmode=source diff]). The following change(s) have been done:
 
* Improve performance by not loading the big page [[User:SDZeroBot/DYK nomination counts.json]] on the client. Instead do it on the server by invoking a lua function in [[Module:NewDYKnomination]]. The module only being semi-protected is not a problem as only two numeric outputs from it are used. We also validate that they are numeric.
<!-- via Template:Sandboxed_edit_request -->
– [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 17:55, 24 March 2024 (UTC)