Wikidata:WikiProject Lighthouses/tools
lighthouse (Q39715) | ||
---|---|---|
Available Wikipedia sources edit
Overview edit
Import from categories edit
Keep in mind: login in to Widar before using PetScan, review lists before adding statements, links to Commons don't work directly
- Create items
- create missing items for Category:Lighthouses by country (Q7484093) with depth 2: en, ml, pl, mn, ru, el, ast, bn, an, ta, br, ar, cv, fr, az, uk, lv, hr, vi, it, mk, fa, no, pt, de, tr, he, ro, eo, fi, ja, hi, si, bs, cs, eu, sv, zh, lb, hy, es, sh, bg, af, th, ur, ko, ms,
- create missing items for Category:Lighthouses by year of completion (Q13629211) with depth 1: en, ar, pt, ur, fa,
- create missing items for Category:Lighthouses in Finland (Q6377645) with depth 1: en, pl, no, ko, de, ur, ru, fi, zh, et, fr, es, bg, sv, cs, da, nn,
- Add P31
- 30 links to add instance of (P31)=lighthouse (Q39715) to items without statements in categories of sitelinks on Category:Lighthouses by country (Q7484093): en, nl, pl, ru, el, fr, az, uk, lv, hr, it, mk, no, pt, de, tr, ro, eo, be_x_old, fi, ja, bs, cs, eu, sv, zh, hy, es, sh, bg, depth:2
- 2 links to add instance of (P31)=lighthouse (Q39715) to items without statements in categories of sitelinks on Category:Lighthouses by year of completion (Q13629211): en, pt, depth:1
- 16 links to add instance of (P31)=lighthouse (Q39715) to items without statements in categories of sitelinks on Category:Lighthouses in Finland (Q6377645): en, nl, pl, no, de, ru, fi, zh, et, fr, es, bg, sv, cs, da, nn, depth:1
- Add P17
- Add images
- Complete P373/sitelinks to Commonswiki
- TBD
- Items for categories
- create missing items for Category:Lighthouses (Q7130135) with depth 5: en, sw, id, simple, el, gl, ta, br, ar, cv, fr, za, az, si, lv, hr, vi, zea, da, he, fa, sv, de, ja, ka, la, fi, hi, fy, eu, sah, my, be, gu, hu, ba, ca, nn, mn, ru, ast, bn, an, et, lt, af, sk, uz, tr, it, sr, mk, ro, no, pt, vls, hy, ur, eo, ko, jv, kk, lb, cy, bs, cs, pl, zh, nds, io, uk, es, sh, bg, frr, th, tl, sl,
Done except Commons -- Jura 07:13, 16 June 2016 (UTC) - 46 links to add category combines topics (P971)=lighthouse (Q39715) to items in categories of sitelinks on Category:Lighthouses (Q7130135): en, es, fr, it, pt, nl, ja, pl, de, sv, ru, zh, az, ba, be, be_x_old, bs, bg, ca, cs, da, el, eo, et, eu, fi, hr, hu, hy, id, ka, kk, la, lt, lv, mk, nn, no, ro, sh, simple, sk, sl, sr, tr, uk, depth:5
Done -- Jura 07:13, 16 June 2016 (UTC)
Mapping of infobox properties for lighthouses edit
Number of steps edit
# Find number of steps in article text at Wikipedia
# by Jura1, 2017-07-03
# last checked: July 2017, some 28 false positives remain (enwiki)
# change "en.wikipedia.org" and search term for other wikis
SELECT ?itemLabel ?item ?art
WHERE
{
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam wikibase:endpoint "en.wikipedia.org" .
bd:serviceParam mwapi:generator "search" .
bd:serviceParam mwapi:gsrsearch "steps lighthouse" .
bd:serviceParam mwapi:gsrlimit "max" .
?item wikibase:apiOutputItem mwapi:item .
}
?item wdt:P31 wd:Q39715
FILTER NOT EXISTS { ?item wdt:P2670 wd:Q3289701 }
?art schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/>
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY DESC(xsd:integer(SUBSTR(STR(?item),33)))