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
Bulgu
.
Toggle Highlighting
SQL
USE trwiki_p; SELECT cl_to, count(*) from flaggedpage_pending join categorylinks on cl_from = fpp_page_id join page pc on pc.page_title = cl_to where pc.page_namespace = 14 and pc.page_id not in (select pp_page from page_props where pp_propname in ("hiddencat") ) -- and cl_to not rlike "taslakları" group by 1 having count(*) > 30 order by 2 desc ; SET @N = -140; -- bekleyen değişiklikler için kaç gün öncesinden itibaren baksın. SET @M = -5; -- bekleyen değişiklikler için kaç gün öncesine kadar baksın. SELECT concat("[[",replace(page_title,"_"," "),"]]") as madde -- , concat("http://tr.wikipedia.org/wiki?curid=",cl_from) as url ,concat("[[:Kategori:",cl_to,"|",replace(cl_to,"_"," "),"]]") as kat , round(floor(fpp_pending_since/1000000),0) as tarih , DATEDIFF(NOW(),fpp_pending_since) as kac_gun , CONCAT("[http://tr.wikipedia.org/w/index.php?diff=cur&oldid=",fpp_rev_id," tüm]") as tumbekleyen , CONCAT("[http://tr.wikipedia.org/wiki/Özel:Diff/",rev_id," ilk]") as ilkbekleyen from categorylinks right join page on page_id = cl_from join flaggedpage_pending on fpp_page_id = page_id join (select rev_id, rev_parent_id, rev_deleted, rev_user_text,rev_user,rev_len from revision_userindex where rev_timestamp > DATE_ADD(NOW(), INTERVAL @N DAY) and rev_timestamp < DATE_ADD(NOW(), INTERVAL @M DAY) ) as rev on rev.rev_parent_id = fpp_rev_id where (cl_to in ("Türk_erkek_dizi_oyuncuları", "Türk_kadın_dizi_oyuncuları") OR cl_to is null) and page_namespace = 0 order by tarih -- limit 10 ;
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...