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 Muhbot  
6 comments  


1.1  Discussion  
















Wikipedia:Bots/Requests for approval/Muhbot







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: Muhandes (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

    Time filed: 16:30, Thursday, February 14, 2019 (UTC)

    Automatic, Supervised, or Manual: supervised

    Programming language(s): AWB

    Source code available: AWB

    Function overview: Replace obsolete parameters used in {{Single chart}}. Pages located at Category:Singlechart usages for Germany with id parameter (0) and Category:Singlechart usages for Germany2 (0)


    Links to relevant discussions (where appropriate): Template talk:Single chart#Cleanup effort, Template talk:Single chart#Parameter name

    Edit period(s): Twice

    Estimated number of pages affected: About 6,000

    Exclusion compliant (Yes/No): Yes

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

    Function details: The bot will first replace id with songid to avoid future confusion. This is achieved by a simple regexp search/replace of (Germany2.*)\|id= to $1|songid=. The term is sufficiently obscure and I made a quick run of 150 manual edit with no problem

    For the first step it will will use AWB parameter replacement to replace |id= with |songid= but only when Germany2 is within the template (a subrule). This will be applied on Category:Singlechart usages for Germany with id parameter (0).

    Once Category:Singlechart usages for Germany is cleaned up, the bot will be used to replace Germany2 with Germany and make that the default mode. This will be applied on Category:Singlechart usages for Germany2 (0). If required, this can be made in a separate task request.

    Discussion[edit]

    Thanks, it would make more sense to use parameter replacement. I changed the function details. For the second step this is an unnamed parameter, so a search and replace within tempalte code will do. --Muhandes (talk) 17:14, 14 February 2019 (UTC)[reply]
    @Primefac: I made a couple of hundred assisted manual edits from my own account using the same setup and it seems to work perfectly. --Muhandes (talk) 12:24, 20 February 2019 (UTC)[reply]

    Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 16:22, 25 February 2019 (UTC)[reply]

    Trial complete. Edits here. I just realised step one would also need to be run for West Germany as well. If approved, does this fall under the same approval? --Muhandes (talk) 20:27, 25 February 2019 (UTC)[reply]

     Approved. West Germany falls under the same approval. Please use the talk page and ping if you need the scope adjusted. Please wait for the bot user group to be applied before starting full speed. --TheSandDoctor Talk 03:30, 14 March 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/Muhbot&oldid=887675733"

    Category: 
    Approved Wikipedia bot requests for approval
     



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