Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Hewiki user namespace pages with categories
by
IKhitron
This query is marked as a draft
This query has been published
by
Uzielbot
.
Toggle Highlighting
SQL
use hewiki_p; select distinct(concat(case p.page_namespace when 2 then 'משתמש' else 'טיוטה' end, ':',p.page_title))#, cl_to as category from categorylinks inner join page cat on cat.page_namespace=14 and cat.page_title=cl_to inner join page p on p.page_id=cl_from where ((p.page_namespace = 2 and p.page_title like "%/%") or p.page_namespace = 118) and cl_to not like 'User_%' and not exists (select * from page_props where pp_page=cat.page_id and pp_propname='hiddencat') and not exists (select * from categorylinks as cat1 where cat1.cl_from = cat.page_id and (cat1.cl_to = "ניהול_פרמטרים" or cat1.cl_to like "ויקיפדיה_%")) and not cl_to in ("דפים_להעברה_לוויקיספר", "דפים_עם_תרשימים_מיושנים_של_Vega_1.0", "תבניות_תמונות_משתמש", "דפי_תיעוד_של_תבניות", "ערכים_שנערכו_במסגרת_מיזם_נשים_באדום") and not cl_to like "ויקיפדיה/בוט/%" and not cl_to like "ויקיפדיה_%" and not cl_to like "משתמשים%" and not cl_to like "תמונות_מוויקיפדיה%" and not p.page_title like "בורה_בורה/%" and not p.page_title in ("Hanay/כללי", "TMagen/טיוטה_לסדנת_האגודה") and not p.page_title = "קובץ_על_יד/רשימת_בעלי_הידע" and not cl_to = "תבניות_לא_לשימוש" and not cl_to like "שגיאות_פרמטריות%" order by cl_to
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...