Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
BD's salt
by
RoySmith
This query is marked as a draft
This query has been published
by
Cabayi
.
Omits namespace for articles, adds leading colon for categories. Dresses the namespace & title as a usable link Export the result as a wiki table & it's good-to-go
Toggle Highlighting
SQL
SELECT CONCAT('[[', pt.pt_title, ']]'), pt.pt_create_perm FROM protected_titles pt, user u WHERE pt.pt_user = u.user_id AND u.user_name = 'Cabayi' AND pt_namespace = 0 UNION SELECT CONCAT('[[:{{ns:', CAST(pt.pt_namespace AS CHAR), '}}:', pt.pt_title, ']]'), pt.pt_create_perm FROM protected_titles pt, user u WHERE pt.pt_user = u.user_id AND u.user_name = 'Cabayi' AND pt_namespace = 14 UNION SELECT CONCAT('[[{{ns:', CAST(pt.pt_namespace AS CHAR), '}}:', pt.pt_title, ']]'), pt.pt_create_perm FROM protected_titles pt, user u WHERE pt.pt_user = u.user_id AND u.user_name = 'Cabayi' AND pt_namespace != 0 AND pt_namespace != 14 order by 2
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...