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
Mess
.
Toggle Highlighting
SQL
SELECT CONCAT("# [[", page_title, "]], (", DATE_FORMAT(rev_timestamp, '%e %b %Y, %H:%i'), ")") FROM page, revision WHERE page_namespace = 0 AND page_is_redirect = 0 AND rev_page = page_id AND rev_parent_id = 0 AND page_len BETWEEN 1700 AND 1800 AND page_title IN ( SELECT DISTINCT lt_title FROM linktarget WHERE lt_namespace = 0 AND lt_title = page_title AND lt_id IN ( SELECT DISTINCT pl_target_id FROM pagelinks WHERE pl_from_namespace = 0 AND pl_from NOT IN (SELECT DISTINCT page_id FROM page WHERE page_is_redirect = 1) AND pl_from NOT IN (SELECT DISTINCT cl_from FROM categorylinks, linktarget WHERE cl_to = lt_title AND lt_namespace = 14 AND lt_id IN (SELECT DISTINCT pl_target_id FROM pagelinks WHERE pl_from = 4195411 ) ) GROUP BY pl_target_id HAVING COUNT(*)=1 ) ) AND page_id NOT IN (SELECT DISTINCT cl_from FROM categorylinks, linktarget WHERE cl_to = lt_title AND lt_namespace = 14 AND lt_id IN (SELECT pl_target_id FROM pagelinks WHERE pl_from = 4195411 ) ) AND page_id NOT IN (SELECT cl_from FROM categorylinks WHERE cl_to LIKE 'Brocardi%' OR cl_to LIKE 'Proverbi%' OR cl_to LIKE 'Motti%' OR cl_to LIKE 'Frasi%' OR cl_to LIKE 'Modi_di_dire%' OR cl_to LIKE 'Terminologia%latina' OR cl_to LIKE 'Prenomi%' OR cl_to LIKE 'Cognomi%' OR cl_to LIKE '%Groenlandia' OR cl_to LIKE '%araldiche' ) AND page_id NOT IN (SELECT DISTINCT tl_from FROM templatelinks WHERE tl_target_id IN (SELECT DISTINCT lt_id FROM linktarget WHERE lt_namespace = 10 AND lt_title IN ('Aeromobile','Aeroporto','Album','Alimentare','Area_protetta','Artista_musicale','Auto','Auto_da_competizione','Azienda','Biblioteca','Bio','Brano_musicale','Canale_radio','Casata','Cascata','Centrale_idroelettrica','Cimitero','Cocktail','Collegio_elettorale','Competizione_sportiva','Composizione_musicale','Composto_chimico','Computer','Coro','Corpo_celeste','Diga','Disclaimer','Discografia','Divisione_amministrativa','Dramma','Edificio_civile','Edificio_religioso','Emittente_TV','Esogeologia','FictionTV','Film','Fiume','Fotocamera_digitale','Fumetto_e_animazione','Gastronomia','Ghiacciaio','Gioco','Grotta','Gruppi_EC','Impianto_sportivo','Infobox_nave','Isola','Libro','Massa_d''acqua','Medaglia','Minerale','Montagna','Motore','Museo','Nazionale_di_baseball','Onorificenza','Opera','Opera_d''arte','Opera_urbana','Organizzazione','Organo_governativo','Periodico','Personaggio','Porto','Programma','ReteTV','Rifugio','Santo','Scuola','Sito_archeologico','Software','Squadra_di_calcio','Squadra_di_pallacanestro','Squadra_di_pallanuoto','Stagione_squadra','Stazione_ferroviaria','Stazione_meteorologica','Strada','Struttura_militare','Tassobox','Teatro','Telefono_cellulare','Tour_musicale','Trattato','Valico','Veicolo_militare','Videogioco','Vino','Vitigno'))) AND page_id NOT IN (SELECT ll_from FROM langlinks) ORDER BY rev_timestamp;
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...