tshrinivasan / OCR4wikisource

OCR for WikiSource using Google Drive OCR
GNU General Public License v2.0
33 stars 24 forks source link

Marking as bot edits #42

Closed ravidreams closed 8 years ago

ravidreams commented 8 years ago

TamilBOT got bot status in Tamil Wikisource. But, the edits are still not shown as bot edits in recent changes. Is there something in the API or elsewhere which specifically marks edits as bot edits?

tshrinivasan commented 8 years ago

What is the usual process to mark as bot edit?

Adding a category or in edit summary?

Check with other bots and update here.

jayantanth commented 8 years ago

Here is docs API edit, to be set the parameter to our config.ini file. Here is clearlly mention that " bot: If set, mark the edit as bot; even if you are using a bot account the edits will not be marked unless you set this flag.

bot=

@tshrinivasan you have to just add this as you done for "summary" previous issue

jayantanth commented 8 years ago

@tshrinivasan you can test for all parameter at API Sandbox

ravidreams commented 8 years ago

@tshrinivasan Please assign priority for this :)

tshrinivasan commented 8 years ago

Fixed this.

Verify with a bot account and regular user account.

Share the results.

ravidreams commented 8 years ago

Works now. Thanks.

https://ta.wikisource.org/w/index.php?title=%E0%AE%9A%E0%AE%BF%E0%AE%B1%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%81:RecentChanges&hidebots=0

I also request all communities to operate this tool under a bot account. @jayantanth

Bot status can be requested at https://meta.wikimedia.org/wiki/Steward_requests/Bot_status if there is no local bureaucrat.

jayantanth commented 8 years ago

@ravidreams Thanks for your advice.

tshrinivasan commented 8 years ago

Thanks.

Closing this.

aravindgd commented 8 years ago

hey I got this error:

` INFO:main:Wiki Username = aravindgdBOT INFO:main:Wiki Password = Not logging the password INFO:main:Wiki Source Language Code = ta INFO:main:Edit Summary = Text from Google OCR INFO:main:File Name = சமுதாயம்_ஒரு_சைனாபஜார்.pdf INFO:main:File Type = pdf INFO:main:Original URL = https://upload.wikimedia.org/wikipedia/commons/9/9a/சமுதாயம்_ஒரு_சைனாபஜார்.pdf INFO:main:Wiki URL = https://ta.wikisource.org/w/api.php INFO:root:Login Status = True INFO:root:

Logged in to https://ta.wikisource.org INFO:root:Checking for bot access rights INFO:root:The user aravindgdBOT does not have bot access INFO:root: Done. Uploaded all text files to wiki source `

I am a bot. I still get this error

ravidreams commented 8 years ago

//I am a bot. I still get this error.//

Your account doesn't have bot right yet. But still this error should not come. There are many who are uploading successfully without a bot account.