Wikivoyage:Script nominations

From Wikivoyage
Jump to: navigation, search

According to the Wikivoyage script policy, scripts have to be approved by the Wikivoyage administrators. To create a script that runs against Wikivoyage, post the name and reason for the script beneath the line below.

Explain why we need the script, why it can't be done by hand, and what the script will do. If 2 administrators voice their support for the script and there are no unresolved objections, the script can be run with a bot flag. If objections arise later, the bot flag can be undone.

Scripts that have passed through this process can be found in Project:script nominations/Archive. The user page for any approved bot should include {{bot}} to indicate the wiki user responsible for operating the bot; a list of all active bots will then appear in Category:Wikivoyage bots.

NOTE: you must apply for approval on each language version of Wikivoyage. Approval on this page only allows you to run a bot on Wikivoyage in English.

Copy and paste detection bot[edit]

Swept in from the pub

Many of you may already know that often people do blatant plagiarism here by simply copy pasting chunk of paragraphs to our guides. Such copy paste violate copyright on the one side while decrease the search engine ranking of the guide on the other, due to duplication. Recently I came across a bot on Wikipedia User:EranBot which auto detect copy and paste content. I think it would be helpful to have such a bot running here so that it can help us tackling copyvio and duplication issues. Eran, the creator of the bot is agree to setup the bot here if the community is interested. --Saqib (talk) 19:36, 8 April 2015 (UTC)

Sounds like a great idea to me. Ikan Kekek (talk) 19:53, 8 April 2015 (UTC)
If I'm reading the bot description correctly then it just generates a report of potential copyvio edits. Sounds useful, so full support from me - let's get this on WV:Script nominations. -- Ryan • (talk) • 20:03, 8 April 2015 (UTC)
The bot ran on edits in the last day and found 1 possible copyright violation in User:EranBot/Copyright. I will config it to run automatically everyday and to update this page. ערן (talk) 20:48, 10 April 2015 (UTC)
Thank you Eran. Is it ready to get flagged as BOT now? --Saqib (talk) 20:55, 10 April 2015 (UTC)
Is there a way to tell the bot to ignore certain sites? The edit that was flagged was one I made, and in the edit summary I noted that some of the content was from, which is a public domain site. -- Ryan • (talk) • 21:10, 10 April 2015 (UTC)
I think we shouldn't ignore any site including those under public domain. We always have been against duplicative content, even those copy pasted from freely licensed sites such as Wikipedia. Offcourse otherwise people will still able to do plagrism if we add some websites into the ignore list. I don't think there's any harm if BOT keep notifying us about copy-pasted material taken from Wikipedia and websites under public domain. --Saqib (talk) 21:29, 10 April 2015 (UTC)
  • Copy from public domain sites - There is User:EranBot/Copyright/Blacklist which you can extend to avoid certain sites, but it is intended to be used for sites that copy Wikipedia/Wikivoyage (mirrors). The bot can indicate sites that declare themselves as creative-commmons license (if there is a link to CC license from the site). It doesn't have currently similar indication for PD material because I have no good heuristic how to infer it from the site (.gov is probably not enough as even US government sites may use copyrighted material in some pages).
In general I agree with Saqib that it is usually good idea to avoid duplication of material even for freely licensed content (not always) but there is no legal problem here (and if you cite the source properly no ethic problem too) - so you can set it as FP in such cases. BTW: In case you decide to copy some content from other source it is important to add reference to the source from the text itself - the bot will indicate such edit as "citation" and readers will be able to validate the content here compared to the source.
  • Bot rights - The bot will edit only User:EranBot/Copyright and only 1 or few times a day, so I think it can be safe to give it bot rights.
Eran (talk) 21:51, 10 April 2015 (UTC)
The argument for not ignoring sites makes sense, particularly since this bot is primarily a notification tool. I have two minor concerns about flagging the account: 1) since the bot account was just created it seems only fair to wait a bit longer to give others a chance to comment and 2) if this bot is just updating a page of notifications, flagging the account as a bot will hide updates to that page from recent changes and watchlists for most users, so would it make sense to make an exception in this case and leave it unflagged? I don't think there would be any downside to having this run without the bot flag, but I might be missing something?
Thanks Eran for setting this up! -- Ryan • (talk) • 22:09, 10 April 2015 (UTC)
Ryan, you can leave the bot unflaged for the good reasons you mentioned. I can think of only 1 (theoretically) downside for it - there is a different limit for queries and edits for bots from regular users (detailed in: Special:ListGroupRights), but the bot use labs DB for must queries and not API so it doesn't matter. Eran (talk) 22:46, 10 April 2015 (UTC)
The bot fails to save the results due to captcha (a new user adding new link). Can you please assign the bot user one of the rights in Special:ListGroupRights associated with skipcaptcha (e.g bots/confirmed). thanks, Eran (talk) 22:08, 11 April 2015 (UTC)
Noted Eran. Hope Ryan will take care of it and assign the bot required uer rights. BTW: Is it safe to remove notifications from User:EranBot/Copyright after cleaning up the copyvio? --Saqib (talk) 22:39, 11 April 2015 (UTC)
Yes, it is safe to clear notifications, but it is preferred to set TP or FP status and only then remove entries, so we can gather statistics on the effectiveness of the tool. Eran (talk) 04:43, 12 April 2015 (UTC)
Bot and (auto)confirmed are the only groups that obviate the CAPTCHA requirement, and I'm afraid I can't assign the confirmed status manually (see Wikivoyage talk:Confirmed users; you may just have to wait the four days. I suppose I could add the bot flag and then remove it once it's autoconfirmed. Let me know which is preferable. Powers (talk) 23:12, 11 April 2015 (UTC)
I would like to have a bot rights for the bot for few days. thanks, Eran (talk) 04:43, 12 April 2015 (UTC)
Yes Done -- Ryan • (talk) • 05:05, 12 April 2015 (UTC)
@ערן: The bot account should be old enough to be autoconfirmed at this point. Would it be OK if I removed the bot flag so that edits appear in the unfiltered recent changes, per the discussion above? -- Ryan • (talk) • 15:39, 21 April 2015 (UTC)
Ryan, yes you can remove the bot flag. Eran (talk) 21:14, 21 April 2015 (UTC)
Yes Done -- Ryan • (talk) • 21:26, 21 April 2015 (UTC)