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
Fish bowl
.
Toggle Highlighting
SQL
-- modified by Bing AI from https://quarry.wmcloud.org/query/72051 -- then further modified WITH zh_forms AS ( SELECT * FROM linktarget WHERE lt_namespace = 10 AND lt_title = 'zh-forms' ), page AS ( SELECT * FROM text JOIN revision ON rev_text_id = old_id JOIN page ON rev_page = page_id ) SELECT DISTINCT page_title, REGEXP_EXTRACT_ALL(page.old_text,'{{zh-forms[^{}]+}}') AS zh_forms_instances FROM page JOIN template_params ON template_params.page_id = page_id WHERE tl_target_id = (SELECT lt_id FROM zh_forms) AND LENGTH(page_title) = 3 -- One Han character is 3 bytes in UTF-8 encoding.
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...