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 CASE pt.pt_namespace WHEN -2 then 'Media' WHEN -1 then 'Special' WHEN 0 then 'mainspace' WHEN 1 then 'Talk' WHEN 2 then 'User' WHEN 3 then 'User talk' WHEN 4 then 'Wikipedia' WHEN 5 then 'Wikipedia talk' WHEN 6 then 'File' WHEN 7 then 'File talk' WHEN 8 then 'MediaWiki' WHEN 9 then 'MediaWiki talk' WHEN 10 then 'Template' WHEN 11 then 'Template talk' WHEN 12 then 'Help' WHEN 13 then 'Help talk' WHEN 14 then 'Category' WHEN 15 then 'Category talk' WHEN 100 then 'Portal' WHEN 101 then 'Portal talk' WHEN 108 then 'Book' WHEN 109 then 'Book talk' WHEN 118 then 'Draft' WHEN 119 then 'Draft talk' WHEN 446 then 'Education Program' WHEN 447 then 'Education Program talk' WHEN 710 then 'Timed Text' WHEN 711 then 'Timed Text talk' WHEN 828 then 'Module' WHEN 829 then 'Module talk' WHEN 2300 then 'Gadget' WHEN 2301 then 'Gadget talk' WHEN 2302 then 'Gadget definition' WHEN 2303 then 'Gadget definition talk', 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'
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...