Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Capture QuickStatement external links of {{Artwork}} templates
by
Jarekt
This query is marked as a draft
This query has been published
by
Jarekt
.
The query looks for files with {{Information/author_processing}} and {{own}} templates. Check for {{Information/author_processing}} is not necessary but it is handy since no file should be calling this template for last several months, but the database still lists millions of pages transcluding it. Once file is edited than it seems like the database is updated and no longer shows that it uses that template.
Toggle Highlighting
SQL
use commonswiki_p; SELECT concat('M', page_id), 'P7482', 'Q66458942', page_title FROM page #JOIN categorylinks ON cl_from = page_id and cl_to like 'Photographs_by_Jarek_TuszyĆski%' join templatelinks tl1 on page_id = tl1.tl_from and tl1.tl_namespace = 10 AND tl1.tl_title="Information/author_processing" join templatelinks tl2 on page_id = tl2.tl_from and tl2.tl_namespace = 10 AND tl2.tl_title="Own" WHERE page_namespace = 6 limit 30000
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...