Wikipedia:Bots/Requests for approval/BioLinkBot
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Denied.
Operator: Lykyd (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 05:20, Thursday, June 4, 2015 (UTC)
Automatic, Supervised, or Manual: Supervised
Programming language(s): PHP
Source code available: Using botclasses.php of Chris_G
Function overview: This Bot edits pages of Australian artist listed in "Category:Australian_artists" and add a link targeting the bio of the artist on DAAO website. DAAO is an open source freely accessible scholarly e-Research tool that presents biographical data about Australian artists.
Links to relevant discussions (where appropriate): None
Edit period(s): One time run
Estimated number of pages affected: about 100 pages
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No
Function details: This Bot selects all the page of Australian artists belonging to the "Category:Australian_artists". If there is no External links section on each page, it creates one and add a link to the biography of the artist hosted on Design & Art Australia Online. If the section exists, the Bot check if any of the external links of the page target DAAO. If yes, it checks that this link is in the External links section. If the link is located in the External links, the page won't be edited. Otherwise and if we get a link from the DAAO Api, this link will be added to the artist wikipedia page, in the External links section.
- function getlinks ($page, $count=100) => get all the external links of a page using the Wikipedia Api: query of 'prop=extlinks' and query to get 'pageid'. Returns an array of links
- function getDaaoLink ($name, $date) => get the link of the artist bio on DAAO using the name and the date of birth (optional) and sending the request to DAAO Api
- function getDateBirth($data) => get the date of birth using various 'preg_match' on the wikipedia page content
- function sanitizeName($data) => clean the name of the page (artist name in our case) to be able to use it with the DAAO Api
- function hasExternalLinks($data) => check if the wikipedia page has an existing External links section using 'stripos' of the page content
- function isInExternalLinks($data, $link) => check if the existing daao.org.au link found in the page content is in the External links section using 'preg_match'
- the Bot also uses functions 'edit', 'login', 'categorymembers' and 'getpage' from botclasses.php of Chris_G
Discussion
[edit]Per WP:BOTACC, could you please disclose the bot operator's username here and on User:BioLinkBot?
Since the instructions at Category:Australian artists encourage editors to move articles from there to subcategories, will your bot look at the articles in the subcategories as well? (e.g. Townsend Duryea is in Category:Australian photographers, and could link to https://www.daao.org.au/bio/townsend-duryea/ )
If the artist's biography page at DAAO is already used as a reference, does it need to be used as an external link too? (e.g. Bonita Ely). Thanks! GoingBatty (talk) 01:58, 19 June 2015 (UTC)[reply]
-- Thank you for your review, I've updated the operator's information.
It is a good idea not to limit the Bot action to Category:Australian artists, especially if this category tends to be emptied in favour of Sub-categories. However I'm not sure every Sub-categories would match the type of artists recorded on DAAO. I will make a list of the Sub-categories that the Bot should look at and add them to the Bot approval description and in its code.
In my opinion, a DAAO link should be inside the external links instead of the reference list. Offering has many resources on an artist biography is probably the best purpose of external links on the page of an artist. At the moment the script will create that DAAO link even if we have it existing as a reference. I don't know if having that repetition is an issue but if it is not the case then I think we should have that link in the external links too. That's where it makes more sense and gets easily spotted by any visitor looking for another source of information. Lykyd (talk) 04:15, 19 June 2015 (UTC)[reply]
- Note: This bot has edited its own BRFA page. Bot policy states that the bot account is only for edits on approved tasks or trials approved by BAG; the operator must log into their normal account to make any non-bot edits. AnomieBOT⚡ 11:16, 19 June 2015 (UTC)[reply]
Denied. Your "operator" account has zero edits to any SUL-enabled wiki, and you've been using your "bot" account for human edits contrary to WP:BOTPOL even to the point of faking the signature of your human account. This tells me you're not ready to be a bot operator: the English Wikipedia community requires bot operators to be familiar with our policies and guidelines, and without an editing history we have no way to know you have this experience. Please spend some time as a normal editor, editing articles, and come back in a few months if you still want to run a bot. Thanks. Anomie⚔ 11:32, 19 June 2015 (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.