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 DannyS712 bot 16  
17 comments  


1.1  Discussion  
















Wikipedia:Bots/Requests for approval/DannyS712 bot 16







Add links
 









Project page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
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
 

< Wikipedia:Bots | Requests for approval

  • Approved BRFAs
  • talk
  • contribs
  • count
  • SUL
  • logs
  • page moves
  • block log
  • rights log
  • flag)
  • Operator: DannyS712 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

    Time filed: 06:21, Tuesday, March 19, 2019 (UTC)

    Automatic, Supervised, or Manual: automatic

    Programming language(s): AWB

    Source code available: AWB

    Function overview: After a category is listified as the result of a CfD, add links to that list in the "see also" sections of the pages

    Links to relevant discussions (where appropriate): Wikipedia talk:Categories for discussion/Archive 17#See also bot

    Edit period(s): As needed

    Estimated number of pages affected: Probably <50 per run

    Exclusion compliant (Yes/No):No

    Already has a bot flag (Yes/No): Yes

    Function details: Add links to the see also section of pages. If approved for trial, I would like to trial this with Category:Battles won by Indigenous peoples of the Americas, which originally prompted the idea.

    Discussion[edit]

    Will you be creating see also sections just for this if they don't exist? — xaosflux Talk 13:47, 20 March 2019 (UTC)[reply]
    @Xaosflux: No, at first this would only apply to pages that already have see also sections. --DannyS712 (talk) 13:57, 20 March 2019 (UTC)[reply]
    @DannyS712: process wise, how would you know it was time to do this task and what the inputs should be? — xaosflux Talk 14:12, 20 March 2019 (UTC)[reply]
    Would this only apply when the list is a newly created page? — xaosflux Talk 14:12, 20 March 2019 (UTC)[reply]
    @Xaosflux: yes, I would do it only after a new list is created. Process: Create list (using User:DannyS712/Cat links), remove the category from the pages (using cat-a-lot), add the list to the see also section (bot run, manually activated) --DannyS712 (talk) 14:14, 20 March 2019 (UTC)[reply]
    @DannyS712: How would you know that the trigger for this task (that A CfD was closed as listify) and the prerequisite (the new list was actually created) has occurred? — xaosflux Talk 14:18, 20 March 2019 (UTC)[reply]
    @Xaosflux: CfDs closed as listified are listed at WP:CFD/W/M for the list to be created. I would check both the CfD and the list before running --DannyS712 (talk) 14:19, 20 March 2019 (UTC)[reply]
    OK so each run will be manually started only after validation, seems OK. If for some reason the CfD closes with a similar result to listify in to an existing list (merge into an existing list) this could still be useful, but you would need to ensure that there is not an existing link on the page (anywhere) to the list before adding it. — xaosflux Talk 14:24, 20 March 2019 (UTC)[reply]
    Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. (Please trial with 2 or 3 lists, not to exceed 100 edits in total). — xaosflux Talk 14:25, 20 March 2019 (UTC)[reply]
    Trial started - first 57 edits made to add List of Historic Hotels of America. I did it manually at first, to ensure that I caught all of the edge cases - if in doubt, skip. --DannyS712 (talk) 05:07, 29 March 2019 (UTC)[reply]
    @DannyS712: what kind of skips are you running in to, and how will this be accounted for in 'automatic' mode? — xaosflux Talk 14:24, 2 April 2019 (UTC)[reply]
    @Xaosflux: For example I skipped The Broadmoor, because it didn't have a see also section. I'm also skipping anything where the see also section starts with a portal link. I'm doing this by just replacing the see also section heading with the same heading plus a line for the list, as long as the section doesn't start with a portal link. --DannyS712 (talk) 15:13, 2 April 2019 (UTC)[reply]
    @DannyS712:Onseveral other pages you appear to have continued even if it didn't have a see also section, creating one. What is the expected behavior? — xaosflux Talk 15:16, 2 April 2019 (UTC)[reply]
    Sorry, it’s been a couple days since I ran the first part of the trial - I was going based on memory. Let me check the regex and get back to you. Sorry, —DannyS712 (talk) 15:49, 2 April 2019 (UTC)[reply]
    @Xaosflux: It was: replace == ?See also ?== with ==See also== * [[List of Historic Hotels of America]], and also, if the pages does not contain ==See also==, replace == ?References ?== with ==See also== * [[List of Historic Hotels of America]] ==References==. Both also skip on the portal template. --DannyS712 (talk) 16:47, 2 April 2019 (UTC)[reply]
    Trial complete. @Xaosflux: a second list done, with 28 edits - one mistake, which I immediately reverted and was caused by the list including a wrong page, so I'll remember to check each list before a run. Thanks, --DannyS712 (talk) 06:25, 6 April 2019 (UTC)[reply]
     Approved. task approved. — xaosflux Talk 14:38, 7 April 2019 (UTC)[reply]
    The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Bots/Requests_for_approval/DannyS712_bot_16&oldid=891372395"

    Category: 
    Approved Wikipedia bot requests for approval
     



    This page was last edited on 7 April 2019, at 14:43 (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