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 NihlusBOT 4  
8 comments  


1.1  Discussion  
















Wikipedia:Bots/Requests for approval/NihlusBOT 4







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

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

    Time filed: 03:10, Thursday, October 5, 2017 (UTC)

    Automatic, Supervised, or Manual: automatic

    Programming language(s): AWB

    Source code available: AWB

    Function overview: Remove deprecated parameters from {{Infobox musical artist}}

    Links to relevant discussions (where appropriate): Template talk:Infobox musical artist#Removal of "Notable_instruments" field & below

    Edit period(s): One time run

    Estimated number of pages affected: ~30,000

    Exclusion compliant (Yes/No): Yes

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

    Function details: Remove deprecated parameters |notable_instruments=, |alma_mater=, |children=, |country=, |education=, |ethnicity=, |height=, |influences=, |nationality=, |parents=, |religion=, |residence=, and |spouse= from {{infobox musical artist}}, which had been used outside its intended purpose. Removing anything that matches \|[\s]*notable_instruments[\s]*=[\s]*(?:(?:\{\{[^}]*?}})|(?:\[\[.*?]])|[^\|}])*. This will only be run on pages that transclude the above template.

    Discussion

    [edit]

    Nihlus: Do you have any interest in expanding the scope of this bot task to remove other unsupported parameters? Common ones listed in the monthly report are |Alma_mater=, |Children=, |Country=, |Education=, |Ethnicity=, |Height=, |Influences=, |Nationality=, |Parents=, |Religion=, |Residence=, |Spouse= (case-insensitive). – Jonesey95 (talk) 11:25, 5 October 2017 (UTC)[reply]

    @Jonesey95: Sure can. It might take a tiny bit longer since it's going to run multiple regex searches, but I'm in no hurry. Will this fix the 6,907 listed in the category? Might as well try to get as many as I can while I go through 96,000 pages. Nihlus 11:35, 5 October 2017 (UTC)[reply]
    Looking into it a litter deeper, a lot of those seem to be parameters without =. That might be better handled elsewhere for legitimate parameters. I can still do the ones above, though. Nihlus 11:58, 5 October 2017 (UTC)[reply]
    Doing the above will fix many hundreds of the pages in the unknown parameter error category, but a bot should be careful in trying to fix errors where the = is missing. The bot is probably safe to fix (untested regex follows:) \|%s*thumb%s*\| -> \| as in this edit. It looks like there are hundreds of those stray "thumb"s. – Jonesey95 (talk) 12:09, 5 October 2017 (UTC)[reply]
    Yeah, I don't trust my bot to fix the = issues. The thumbs issue could be fixed with \|[\s]*thumb[\s]*\n, which should avoid any valid placement within File code, but I should probably save that for a more dedicated task (there would be issues with imagemaps and whatnot). Nihlus 12:23, 5 October 2017 (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/NihlusBOT_4&oldid=841573081"

    Category: 
    Approved Wikipedia bot requests for approval
     



    This page was last edited on 16 May 2018, at 17:25 (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