A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/ProtectionTaggingBot below:

Wikipedia:Bots/Requests for approval/ProtectionTaggingBot - Wikipedia

The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Approved.

Operator: BJTalk

Automatic or Manually Assisted: Automatic.

Programming Language(s): Python.

Function Summary: Add protection tags to protected articles that lack them as well as remove protection tags when the expire.

Edit period(s) (e.g. Continuous, daily, one time run): Daily

Already has a bot flag (Y/N):

Function Details: This is an adminbot. A list of all protected pages is pulled from the API, the pages are then checked to see if they contain a template from Category:Protection templates. If true the page is skipped, if false and the protection doesn't expire in than 24 hours a template is added with the following logic.

if edit protected and move protected
    if protection level sysop
        pp-protected
    else if protection level autoconfirmed
        if expiry is infinity
            pp-semi-indef
        else
            pp-semi-protected
else if move protected
    pp-move-vandalism

The protection template is added to the top of the page with the format {{pp-*|small=yes|expiry=Month day, year}}, with the expiry being omitted for infinitely protected pages.

The removal portion will be documented after the code is started.

Requesting a speedy trial to begin testing on autoconfirmd and move protected pages (doesn't require +sysop) so I can work out the kinks before submitting the code for review. BJTalk 11:38, 12 December 2008 (UTC)[reply]

Approved for trial (5 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. --Chris 11:46, 12 December 2008 (UTC)[reply]

If it's going to be removing and adding tags, it'd be nice if it also fixed ones that had things like wrong expiries.

Also, if it comes across a page that is only edit protected, is there a branch for that? --MZMcBride (talk) 15:31, 12 December 2008 (UTC)[reply]

Will it be using the "small" parameter or the "expiry" parameter in the templates? Will it only run on articles? (it would be really nice if people had more than 8 minutes to ask these questions before the trial started ...) Mr.Z-man 21:42, 12 December 2008 (UTC)[reply]

Yes and yes. BJTalk 22:28, 12 December 2008 (UTC)[reply]

Would it be fair to say that running a bot trial to template articles that are protected is having a problem if the articles templated aren't actually protected? Wildhartlivie (talk) 02:20, 13 December 2008 (UTC)[reply]

Yes, it would but the article you reverted on is in fact move protected. BJTalk 02:31, 13 December 2008 (UTC)[reply]
Aren't the majority of articles move protected, and why and since when would a lock template be necessary for only move protection? Wildhartlivie (talk) 02:34, 13 December 2008 (UTC)[reply]
No, under 10,000 articles have any form of protection out of 2.5 million. BJTalk 02:36, 13 December 2008 (UTC)[reply]
Still, I have a lot of articles on my watchlist that are move protected, and obviously don't have the protection template on the page, if that's what this addition is for. Why is it necessary for a move protected article have a lock template? Wildhartlivie (talk) 02:44, 13 December 2008 (UTC)[reply]
The template are used for categorization. BJTalk 03:06, 13 December 2008 (UTC)[reply]
Consistency? Mr.Z-man 03:08, 13 December 2008 (UTC)[reply]

(unindent) Agreed. Before creating a bug on the move tab, I'll open a thread at Wikipedia:VPR to discuss it more fully and see what kind of message we can use. The migration to Category:Move protected due to vandalism is now over, so we can cleanup Category:Move protected more easily. For Template:pp-move-vandalism, I propose to use #if:{{{notice|}}} , if we use {{pp-move-vandalism}}, it will only categorize the page, if we use {{pp-move-vandalism|notice=yes}}, it will show the big notice and if we use {{pp-move-vandalism|notice=yes |small=yes}}, it'll show the lock. The bonus is that we can then also add {{pp-move-vandalism}} to pages with move-protection and semi-protection, since the lock won't show up. So it would require to change the bot's code. It's possible to manually add notice=yes and small=yes when warranted (which constitutes a small part of all move-protected articles). Cenarium (Talk) 22:04, 13 December 2008 (UTC)[reply]

I had accidentally removed the above post. Note that I have started a thread at VPR. Cenarium (Talk) 01:28, 14 December 2008 (UTC)[reply]

What possible reason could you have for protecting Chew Valley? It has rarely if ever been vandalised. I was also puzzled by Bath, Somerset and Cider, although the latter does attract very occasional vandalism it isn't anything that needs protecting. Is this bot being overzealous? --TimTay (talk) 09:26, 13 December 2008 (UTC)[reply]

The bot isn't protecting any articles, just adding the template (the little lock in the top right). All those articles have been protected (or move protected) by admins. BJTalk 09:37, 13 December 2008 (UTC)[reply]
It has only been protected from moves. Move-protection is completely distinct from edit-protection. But it's true that Chew Valley and Bath, Somerset have never been moved. I think it has been protected because similar articles have attracted page-move vandals, but I won't discuss the merit of those protections here. Cider has been moved and there being no thinkable legitimate reason to move the page, it shouldn't be a problem, nor the lock seems necessary. This is another inconvenient of the pp-move lock, it tends to be confused with the pp-semi lock. Cenarium (Talk) 14:36, 13 December 2008 (UTC)[reply]
It all comes down to if those articles should be protected. If articles were only move protected with good reason the total protections would be small, making the whole argument moot. On the other hand, if we are going to mass protect everything that has no reason to be moved it starts to become annoying. BJTalk 14:48, 13 December 2008 (UTC)[reply]
There are still hundreds of articles that are move-protected with good reasons. While we could debate whether move-protecting articles that are very similar to articles that have been the target of page-move vandals and have no reasonable reason to be moved is sound, undoing all those would be globally negative for Wikipedia. However, the question is whether showing the lock is justified or not, when there's no reasonable reason to move a page and we have other ways to inform autoconfirmed users of why they can't see the move tab. The vast majority of readers is not concerned by that, this should stay behind the scene. Unless the article's name is actually disputed or likely to be changed, there is no reason to inform all readers of a move-protection. Cenarium (Talk) 16:14, 13 December 2008 (UTC)[reply]

I noticed this bot added {{Pp-semi-indef}} to Wind-up Records (link), even though the page is not protected and never has been. Am I missing something? Huntster (t@c) 07:09, 20 December 2008 (UTC)[reply]

Looks protected to me... BJTalk 07:16, 20 December 2008 (UTC)[reply]
Yeah, disregard. Was semi-protected two years ago and was then redirected, so didn't show on log for new name. :/ Taken care of. Huntster (t@c) 07:22, 20 December 2008 (UTC)[reply]

Since the five day trial is over, could this be given a bot flag? It's currently showing up in [1], which is a bit annoying. I think that goes away once it has a bot flag. --fvw* 10:21, 20 December 2008 (UTC)[reply]

Removing auto edit placement of tag[edit]

A fundamental principle of WP is that anyone can edit and such edits can be anonymous. Only when an article is being disrupted unreasonably can any kind of block or protection be considered. At "tax haven" this is not the case. Tag removed. Please take more care! Paul Beardsell (talk)

This bot is not protecting articles, just adding the template. BJTalk 08:41, 20 December 2008 (UTC)[reply]

Trial over for 3 days, dont seem to be any glaring irregularities, nor any valid lodged complaints or misbehavings.  Approved. Q T C 10:32, 20 December 2008 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4