Re: [Wikidata-tech] Question on bot flag in wbeditentity

2015-08-27 Thread Markus Krötzsch

On 26.08.2015 23:49, Daniel Kinzler wrote:

Am 26.08.2015 um 17:08 schrieb Markus Krötzsch:

Ok, but when a user edits a wiki thourgh the browser, this is not related to the
API anyway, is it?


It is. The UI uses the same API calls a bot would use.



Right, of course, but since my code is unlikely to be used as a Web UI 
backend (it's Java), this would not be a major reason for me to support 
the bot flag. But Revi's point is enough to convince me that I should 
support this nonetheless.


Markus



___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Question on bot flag in wbeditentity

2015-08-27 Thread Markus Krötzsch

On 27.08.2015 00:51, Hong, Yongmin wrote:

Sometimes when community want to approve tasks for already flagged bot,
they want bot doesn't mark their task as bot edit so it appears on RC
and Watchlist as non-bot edit. I think this can be a reason?


Thanks. This is a relevant use case indeed! I will add support for the 
bot flag to my code then.


Markus





--
Revi
https://revi.me
-- Sent from Android --

2015. 8. 27. 오전 12:08에 "Markus Krötzsch"
mailto:mar...@semantic-mediawiki.org>>님
이 작성:

On 26.08.2015 12:27, Addshore wrote:

The reason our bot flag works like this is to remain consistent
with all
other mediawiki API modules.

See https://www.mediawiki.org/wiki/Manual:Bots#The_.22bot.22_flag
Mainly, Not all users with this right are "bots".


Ok, but when a user edits a wiki thourgh the browser, this is not
related to the API anyway, is it? I wonder in which cases a users
with a bot flag makes an edit through the API that should not be
flagged as "bot".

Background: I am currently implementing write access to Wikidata. I
am inclined to set the bot flag on all requests to simplify the
interface.

Cheers,

Markus


Cheers

Addshore

On 26 August 2015 at 10:51, Markus Krötzsch
mailto:mar...@semantic-mediawiki.org>
>>
wrote:

 Hi,

 I wondered why wbeditentity has a parameter "bot". The
documentation
 says that this will mark the edit as a bot edit, but only
if the
 user is in the bot group. In other words, users in the bot
group can
 use this parameter to decide if they want to have their
API-based
 edit flagged as bot or not. Is there any reason why a user
in bot
 group would *not* want their API-based edit flagged as bot?

 Cheers,

 Markus

 ___
 Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org

 >
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech




--
Addshore


___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org

https://lists.wikimedia.org/mailman/listinfo/wikidata-tech



___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org

https://lists.wikimedia.org/mailman/listinfo/wikidata-tech



___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech




___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Question on bot flag in wbeditentity

2015-08-26 Thread Hong, Yongmin
Sometimes when community want to approve tasks for already flagged bot,
they want bot doesn't mark their task as bot edit so it appears on RC and
Watchlist as non-bot edit. I think this can be a reason?

--
Revi
https://revi.me
-- Sent from Android --
2015. 8. 27. 오전 12:08에 "Markus Krötzsch" 님이
작성:

> On 26.08.2015 12:27, Addshore wrote:
>
>> The reason our bot flag works like this is to remain consistent with all
>> other mediawiki API modules.
>>
>> See https://www.mediawiki.org/wiki/Manual:Bots#The_.22bot.22_flag
>> Mainly, Not all users with this right are "bots".
>>
>
> Ok, but when a user edits a wiki thourgh the browser, this is not related
> to the API anyway, is it? I wonder in which cases a users with a bot flag
> makes an edit through the API that should not be flagged as "bot".
>
> Background: I am currently implementing write access to Wikidata. I am
> inclined to set the bot flag on all requests to simplify the interface.
>
> Cheers,
>
> Markus
>
>
>> Cheers
>>
>> Addshore
>>
>> On 26 August 2015 at 10:51, Markus Krötzsch
>> mailto:mar...@semantic-mediawiki.org>>
>> wrote:
>>
>> Hi,
>>
>> I wondered why wbeditentity has a parameter "bot". The documentation
>> says that this will mark the edit as a bot edit, but only if the
>> user is in the bot group. In other words, users in the bot group can
>> use this parameter to decide if they want to have their API-based
>> edit flagged as bot or not. Is there any reason why a user in bot
>> group would *not* want their API-based edit flagged as bot?
>>
>> Cheers,
>>
>> Markus
>>
>> ___
>> Wikidata-tech mailing list
>> Wikidata-tech@lists.wikimedia.org
>> 
>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>>
>>
>>
>>
>> --
>> Addshore
>>
>>
>> ___
>> Wikidata-tech mailing list
>> Wikidata-tech@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>>
>>
>
> ___
> Wikidata-tech mailing list
> Wikidata-tech@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Question on bot flag in wbeditentity

2015-08-26 Thread Daniel Kinzler
Am 26.08.2015 um 17:08 schrieb Markus Krötzsch:
> Ok, but when a user edits a wiki thourgh the browser, this is not related to 
> the
> API anyway, is it? 

It is. The UI uses the same API calls a bot would use.


-- 
Daniel Kinzler
Senior Software Developer

Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.

___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Question on bot flag in wbeditentity

2015-08-26 Thread Lydia Pintscher
On Wed, Aug 26, 2015 at 5:08 PM, Markus Krötzsch
 wrote:
> Ok, but when a user edits a wiki thourgh the browser, this is not related to
> the API anyway, is it? I wonder in which cases a users with a bot flag makes
> an edit through the API that should not be flagged as "bot".
>
> Background: I am currently implementing write access to Wikidata. I am
> inclined to set the bot flag on all requests to simplify the interface.

Sometimes people have flood accounts that they use to make mass edits
through some tools and at the same time use these accounts to make
"normal" edits through other tools like the Wikidata Game. I think
that is pretty rare though.


Cheers
Lydia

-- 
Lydia Pintscher - http://about.me/lydia.pintscher
Product Manager for Wikidata

Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.

Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.

___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Question on bot flag in wbeditentity

2015-08-26 Thread Markus Krötzsch

On 26.08.2015 12:27, Addshore wrote:

The reason our bot flag works like this is to remain consistent with all
other mediawiki API modules.

See https://www.mediawiki.org/wiki/Manual:Bots#The_.22bot.22_flag
Mainly, Not all users with this right are "bots".


Ok, but when a user edits a wiki thourgh the browser, this is not 
related to the API anyway, is it? I wonder in which cases a users with a 
bot flag makes an edit through the API that should not be flagged as "bot".


Background: I am currently implementing write access to Wikidata. I am 
inclined to set the bot flag on all requests to simplify the interface.


Cheers,

Markus



Cheers

Addshore

On 26 August 2015 at 10:51, Markus Krötzsch
mailto:mar...@semantic-mediawiki.org>>
wrote:

Hi,

I wondered why wbeditentity has a parameter "bot". The documentation
says that this will mark the edit as a bot edit, but only if the
user is in the bot group. In other words, users in the bot group can
use this parameter to decide if they want to have their API-based
edit flagged as bot or not. Is there any reason why a user in bot
group would *not* want their API-based edit flagged as bot?

Cheers,

Markus

___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org

https://lists.wikimedia.org/mailman/listinfo/wikidata-tech




--
Addshore


___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech




___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Question on bot flag in wbeditentity

2015-08-26 Thread Addshore
The reason our bot flag works like this is to remain consistent with all
other mediawiki API modules.

See https://www.mediawiki.org/wiki/Manual:Bots#The_.22bot.22_flag
Mainly, Not all users with this right are "bots".

Cheers

Addshore

On 26 August 2015 at 10:51, Markus Krötzsch 
wrote:

> Hi,
>
> I wondered why wbeditentity has a parameter "bot". The documentation says
> that this will mark the edit as a bot edit, but only if the user is in the
> bot group. In other words, users in the bot group can use this parameter to
> decide if they want to have their API-based edit flagged as bot or not. Is
> there any reason why a user in bot group would *not* want their API-based
> edit flagged as bot?
>
> Cheers,
>
> Markus
>
> ___
> Wikidata-tech mailing list
> Wikidata-tech@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>



-- 
Addshore
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


[Wikidata-tech] Question on bot flag in wbeditentity

2015-08-26 Thread Markus Krötzsch

Hi,

I wondered why wbeditentity has a parameter "bot". The documentation 
says that this will mark the edit as a bot edit, but only if the user is 
in the bot group. In other words, users in the bot group can use this 
parameter to decide if they want to have their API-based edit flagged as 
bot or not. Is there any reason why a user in bot group would *not* want 
their API-based edit flagged as bot?


Cheers,

Markus

___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech