Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 SPI Helper script update  
6 comments  




2 Administrators' newsletter  December 2019  
1 comment  




3 Cheers  
1 comment  




4 The Signpost: 27 December 2019  
1 comment  













User talk:Timotheus Canens/Archives/2019/12




Page contents not supported in other languages.  









User page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
User contributions
User logs
View user groups
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< User talk:Timotheus Canens | Archives

SPI Helper script update

Following this discussion of SPI archives that were exceeding the template include size, I've written a solution to the problem into the SPI helper script. It would preemptively move an archive page before an archiving edit, if the edit would cause the page to become to big. The script is at User:Sir Sputnik/spihelper update.js. Please have a look and consider rolling it out to everyone else. Sir Sputnik (talk) 03:02, 26 November 2019 (UTC)

1) Why is the limit 14598? That seems low. 2) Does a move that fails in mediawiki come back as an HTTP error or just in the API (see how edit errors are handled)? 3) Do the SPI archive header templates detect and show these moved archive pages? T. Canens (talk) 14:26, 26 November 2019 (UTC)
1) This was a copy/paste error. I artificially reduced the limit for testing and apparently neglected change it back to evaluating the proportion of the limit used. Thanks for catching that. 2) The API doesn't offer much feedback to move requests. In the success case, it just echos the request back at you. I'm trusting that it will respond with an appropriate status code (see line 719) if the move fails. 3) Yes. Sir Sputnik (talk) 02:28, 27 November 2019 (UTC)
For 2) - can you test this a bit? It should be pretty straightforward to get it to fail (bogus token, illegal target name, etc.). T. Canens (talk) 02:48, 27 November 2019 (UTC)
I've added some more error handling. The script should respond appropriately to failed page moves. Sir Sputnik (talk) 00:52, 28 November 2019 (UTC)
 Done T. Canens (talk) 14:38, 1 December 2019 (UTC)

Administrators' newsletter – December 2019

News and updates for administrators from the past month (November 2019).

Administrator changes

added EvergreenFirToBeFree
removed AkhilleusAthaenaraJohn VandenbergMelchoirMichaelQSchmidtNeilNYoungamerican😂

CheckUser changes

readded Beeblebrox
removed Deskana

Interface administrator changes

readded Evad37

Guideline and policy news

Technical news

Arbitration

Miscellaneous

  • The global consultation on partial and temporary office actions that ended in October received a closing statement from staff concluding, among other things, that the WMF will no longer use partial or temporary Office Action bans... until and unless community consensus that they are of value or Board directive.

  • Subscribe
  • Archive
  • Cheers

    Damon Runyon's short story "Dancing Dan's Christmas" is a fun read if you have the time. Right from the start it extols the virtues of the hot Tom and Jerry

    This hot Tom and Jerry is an old-time drink that is once used by one and all in this country to celebrate Christmas with, and in fact it is once so popular that many people think Christmas is invented only to furnish an excuse for hot Tom and Jerry, although of course this is by no means true.

    No matter what concoction is your favorite to imbibe during this festive season I would like to toast you with it and to thank you for all your work here at the 'pedia this past year. Best wishes for your 2020 as well TC. MarnetteD|Talk 20:55, 16 December 2019 (UTC)

    The Signpost: 27 December 2019


    Retrieved from "https://en.wikipedia.org/w/index.php?title=User_talk:Timotheus_Canens/Archives/2019/12&oldid=937779768"





    This page was last edited on 27 January 2020, at 04:54 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki