Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Wizmut
.
currently it's finding articles with templates that should generate an SD but currently aren't
Toggle Highlighting
SQL
# SELECT page_title, LENGTH(pp_value) AS len, pp_value, tl_target_id SELECT * FROM page_props JOIN page ON page_id = pp_page LEFT JOIN templatelinks ON tl_from = page_id AND tl_target_id = 137 WHERE pp_propname = 'wikibase-shortdesc' # AND tl_target_id IS NULL AND page_namespace = 0 AND page_is_redirect = 0 AND CHAR_LENGTH(pp_value) >= 80 AND EXISTS ( SELECT 1 FROM templatelinks JOIN linktarget ON lt_id = tl_target_id JOIN page ON page_namespace = lt_namespace AND page_title = lt_title JOIN categorylinks ON cl_from = page_id WHERE tl_from = page_id AND cl_to = 'Templates_that_generate_short_descriptions' # AND tl_target_id <> 137 ) ORDER BY CHAR_LENGTH(pp_value) DESC LIMIT 100
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...