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] Deleting labels/descriptions/aliases via API

2015-08-26 Thread Addshore
I have created https://phabricator.wikimedia.org/T110405 to track the fact
that this should probably be added

On 26 August 2015 at 21:01, Markus Krötzsch 
wrote:

> On 26.08.2015 19:10, Addshore wrote:
>
>> Take a look at https://www.mediawiki.org/wiki/Wikibase/API#wbeditentity
>> All of the stuff there /should/ still be working on the live site.
>>
>> If it is not then let me know and I will kill those docs!
>>
>
> Ah, thanks. I had only looked at the examples in
> https://www.wikidata.org/w/api.php?action=help&modules=wbeditentity.
>
> Markus
>
>
>> On 26 August 2015 at 18:11, Markus Krötzsch
>> mailto:mar...@semantic-mediawiki.org>>
>> wrote:
>>
>> Hi,
>>
>> How do you delete, say, the English label of an entity via
>> wbeditentity? I could not find documentation on this. Whatever the
>> answer, I guess it is the same for descriptions, right?
>>
>> How about aliases? I know that writing one English alias will delete
>> all existing aliases, but how can you write "no English aliases"?
>>
>> In either case, I do not want to use the "clear" flag, of course :-)
>>
>> Thanks,
>>
>> 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
>



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


Re: [Wikidata-tech] Deleting labels/descriptions/aliases via API

2015-08-26 Thread Markus Krötzsch

On 26.08.2015 19:10, Addshore wrote:

Take a look at https://www.mediawiki.org/wiki/Wikibase/API#wbeditentity
All of the stuff there /should/ still be working on the live site.

If it is not then let me know and I will kill those docs!


Ah, thanks. I had only looked at the examples in 
https://www.wikidata.org/w/api.php?action=help&modules=wbeditentity.


Markus



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

Hi,

How do you delete, say, the English label of an entity via
wbeditentity? I could not find documentation on this. Whatever the
answer, I guess it is the same for descriptions, right?

How about aliases? I know that writing one English alias will delete
all existing aliases, but how can you write "no English aliases"?

In either case, I do not want to use the "clear" flag, of course :-)

Thanks,

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] Deleting labels/descriptions/aliases via API

2015-08-26 Thread Addshore
Take a look at https://www.mediawiki.org/wiki/Wikibase/API#wbeditentity
All of the stuff there /should/ still be working on the live site.

If it is not then let me know and I will kill those docs!

Addshore

On 26 August 2015 at 18:11, Markus Krötzsch 
wrote:

> Hi,
>
> How do you delete, say, the English label of an entity via wbeditentity? I
> could not find documentation on this. Whatever the answer, I guess it is
> the same for descriptions, right?
>
> How about aliases? I know that writing one English alias will delete all
> existing aliases, but how can you write "no English aliases"?
>
> In either case, I do not want to use the "clear" flag, of course :-)
>
> Thanks,
>
> 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] Deleting labels/descriptions/aliases via API

2015-08-26 Thread Markus Krötzsch

Hi,

How do you delete, say, the English label of an entity via wbeditentity? 
I could not find documentation on this. Whatever the answer, I guess it 
is the same for descriptions, right?


How about aliases? I know that writing one English alias will delete all 
existing aliases, but how can you write "no English aliases"?


In either case, I do not want to use the "clear" flag, of course :-)

Thanks,

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-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