Vojtech.dostal added a comment.

  In T291659#7402884 <https://phabricator.wikimedia.org/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 <https://phabricator.wikimedia.org/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

Reply via email to