[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-10-11 Thread Salgo60
Salgo60 closed this task as "Resolved".
Salgo60 claimed this task.
Salgo60 added a comment.


  - work around by @Vojtech.dostal is good enough -> closed Thanks
  
  tweet 
  
  F34684077: image.png 

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Salgo60
Cc: Vojtech.dostal, dshorthouse, Aklapper, Salgo60, Invadibot, maantietaja, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-10-05 Thread Vojtech.dostal
Vojtech.dostal added a comment.


  In T291659#7402884 , 
@dshorthouse wrote:
  
  > Oh cool! So, if I understand this correctly, the title of the page 
mentioned on the Request for deletion is queried. Here's what I would run using 
the Bionomia ID property, P6944 :
  >
  >   SELECT DISTINCT ?item ?itemLabel WHERE {
  >   SERVICE wikibase:mwapi
  >   {
  > bd:serviceParam wikibase:endpoint "www.wikidata.org".
  > bd:serviceParam wikibase:api "Generator".
  > bd:serviceParam mwapi:generator "links".
  > bd:serviceParam mwapi:titles "Wikidata:Requests for deletions".
  > bd:serviceParam mwapi:gpllimit "max".
  > bd:serviceParam mwapi:gplnamespace "0".
  > ?item wikibase:apiOutputItem mwapi:title.
  >   }
  >  
  >   ?item wdt:P6944 ?id .
  >  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  >   }
  >
  > Does this seem correct? Are there any limitations here that I should be 
aware of (eg perhaps a title used in a request for deletion that would slip 
through, undetected)?
  
  Yeah, there are limitations. In my query, some items may be false positives 
(items linked from the proposal page but not because they have been nominated 
for deletion) and some may have been missed because they are related to Czechia 
in a different way then I modelled there. Besides that, as far as I know, it 
should work.

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vojtech.dostal
Cc: Vojtech.dostal, dshorthouse, Aklapper, Salgo60, Invadibot, maantietaja, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-10-05 Thread dshorthouse
dshorthouse added a comment.


  Oh cool! So, if I understand this correctly, the title of the page mentioned 
on the Request for deletion is queried. Here's what I would run using the 
Bionomia ID property, P6944 :
  
SELECT DISTINCT ?item ?itemLabel WHERE {
SERVICE wikibase:mwapi
{
  bd:serviceParam wikibase:endpoint "www.wikidata.org".
  bd:serviceParam wikibase:api "Generator".
  bd:serviceParam mwapi:generator "links".
  bd:serviceParam mwapi:titles "Wikidata:Requests for deletions".
  bd:serviceParam mwapi:gpllimit "max".
  bd:serviceParam mwapi:gplnamespace "0".
  ?item wikibase:apiOutputItem mwapi:title.
}
   
?item wdt:P6944 ?id .
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
  
  Does this seem correct? Are there any limitations here that I should be aware 
of (eg perhaps a title used in a request for deletion that would slip through, 
undetected)?

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dshorthouse
Cc: Vojtech.dostal, dshorthouse, Aklapper, Salgo60, Invadibot, maantietaja, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-10-05 Thread Vojtech.dostal
Vojtech.dostal added a comment.


  I wrote a simple query to find items for deletion which are related to the 
Czech Republic:
  https://w.wiki/4AyX
  
  Maybe you'll find that useful

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vojtech.dostal
Cc: Vojtech.dostal, dshorthouse, Aklapper, Salgo60, Invadibot, maantietaja, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-09-23 Thread Salgo60
Salgo60 updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Salgo60
Cc: dshorthouse, Aklapper, Salgo60, Invadibot, maantietaja, Akuckartz, Nandana, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-09-23 Thread dshorthouse
dshorthouse added a comment.


  Thanks @Salgo60. What I'm looking here, specifically, is some mechanism to 
have tighter interaction between wikidata (SPARQL maybe?) and the activity that 
takes place on https://www.wikidata.org/wiki/Wikidata:Requests_for_deletions. 
While of course a user who created the item may receive notification in their 
wikidata account, the existence of an item mentioned on Requests for Deletion 
is not discoverable through an API. My work-around is to screen-scrape that 
page such that I can cross-reference the Q numbers to ones I care about.

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dshorthouse
Cc: dshorthouse, Aklapper, Salgo60, Invadibot, maantietaja, Akuckartz, Nandana, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-09-23 Thread Salgo60
Salgo60 updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Salgo60
Cc: Aklapper, Salgo60, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291659: Get machine readable information that an item in Wikidata is flagged for deletion

2021-09-23 Thread Salgo60
Salgo60 created this task.
Salgo60 added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  From David Shorthouse at 24:40 presentation 

 about integrating with Wikidata he is asking for the possibility of getting an 
alert when one object in Wikidata is flagged for deletion so his community can 
give that object more care in Wikidata
  
  F34651923: image.png 

TASK DETAIL
  https://phabricator.wikimedia.org/T291659

WORKBOARD
  https://phabricator.wikimedia.org/project/board/71/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Salgo60
Cc: Aklapper, Salgo60, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org