Wikipedia:Elenchi generati offline/Screenshot
Elenchi di pagine che utilizzano screenshot protetti da diritti, per verificare che siano usate secondo le linee guida stabilite in {{Screenshot Copyrighted}}.
Per maggiori informazioni, si veda Aiuto:Copyright immagini#Screenshot protetti da copyright.
Per escludere una pagina da questi elenchi aggiungerla a Wikipedia:Elenchi generati offline/Screenshot/Whitelist.
Elenco di pagine diverse dalle voci in cui sono usati screenshot.
Query
modificaSELECT DISTINCT CONCAT( '* [[', ns_name, ':', page_title, ']]' )
FROM page JOIN p50380g50614__lists.ns_it ON page_namespace = ns_id
JOIN imagelinks ON page_id = il_from
WHERE page_namespace NOT IN (0,6)
AND il_to
IN (SELECT page_title
FROM page JOIN categorylinks ON page_id = cl_from
WHERE cl_to LIKE "Screenshot_copy%"
AND page_namespace =6)
AND (page_namespace, page_title)
NOT IN (SELECT pl_namespace, pl_title
FROM pagelinks JOIN page ON pl_from = page_id
WHERE page_namespace=4
AND page_title = 'Elenchi_generati_offline/Screenshot/Whitelist')
ORDER BY ns_name, page_title;
Voci che non contengono nessuno dei seguenti template riportati nella query e che contengono invece almeno un'immagine appartenente alla categoria Categoria:Screenshot copyrighted e nelle sue sottocategorie.
Query
modificaSELECT DISTINCT CONCAT('* [[', page.page_title, ']]') AS "Articles"
FROM page JOIN imagelinks ON il_from=page_id
JOIN page AS image ON image.page_namespace=6 AND image.page_title=il_to
JOIN categorylinks ON cl_from=image.page_id
LEFT JOIN templatelinks ON tl_from=page.page_id AND tl_namespace = 10 AND tl_title IN (
'Film', 'StagioniTV', 'Fumetto_e_animazione', 'Episodio_SerieTV', 'ProgrammaTV',
'FictionTV', 'Personaggio', 'Infobox_personaggio_fittizio', 'Digimon_Infobox', 'Album',
'Gamebox', 'Sistema_operativo', 'Software', 'Programma', 'Tour_musicale', 'ReteTV',
'Personaggi_di_BLEACH', 'Personaggi_Street_Fighter', 'Kenshin', 'Festival_musicale',
'Serie_animate_Disney', 'Monty_Python', 'Concorso_di_bellezza', 'Grande_Fratello_endgame'
)
LEFT JOIN pagelinks ON pl_namespace=page.page_namespace AND pl_title=page.page_title AND pl_from=(
SELECT page_id
FROM page
WHERE page_namespace=4 AND page_title='Elenchi_generati_offline/Screenshot/Whitelist'
)
WHERE page.page_namespace = 0
AND cl_to LIKE "Screenshot_copy%"
AND tl_from IS NULL
AND pl_from IS NULL
ORDER BY 1;
Elenco delle voci dell'enciclopedia in cui sono usate due o più screenshot.
Query
modificaSELECT CONCAT('* [[', page_title, ']] - ', COUNT(*) )
FROM page JOIN imagelinks ON page_id = il_from
WHERE page_namespace = 0
AND il_to
IN (SELECT page_title
FROM page JOIN categorylinks ON page_id = cl_from
WHERE cl_to LIKE 'Screenshot_copy%'
AND page_namespace = 6)
AND (page_namespace, page_title)
NOT IN (SELECT pl_namespace, pl_title
FROM pagelinks JOIN page ON pl_from = page_id
WHERE page_namespace=4
AND page_title = 'Elenchi_generati_offline/Screenshot/Whitelist')
GROUP BY page_title
HAVING COUNT(*) > 1;
Screenshot non utilizzati in alcuna pagina.
Query
modificaSELECT concat("#[[:Immagine:", page.page_title, "]]")
FROM page JOIN categorylinks ON page_id = cl_from
WHERE cl_to LIKE 'Screenshot_copy%'
AND page_namespace = 6
AND page.page_title NOT IN (
SELECT DISTINCT il_to FROM imagelinks
);
Screenshot utilizzati in voci su attori, cabarettisti, comici, mimi o trasformisti.
Query
modificaSELECT DISTINCT CONCAT( '* [[', page_title, ']]' )
FROM page JOIN imagelinks ON page_id = il_from
WHERE page_namespace = 0
AND page_is_redirect =0
AND page_id
IN (
SELECT cl_from
FROM categorylinks
WHERE cl_to LIKE "Attori%"
OR cl_to LIKE "Cabarettisti%"
OR cl_to LIKE "Comici%"
OR cl_to LIKE "Mimi%"
OR cl_to LIKE "Trasformisti%"
)
AND page_id
NOT IN (
SELECT cl_from
FROM categorylinks
WHERE cl_to LIKE "%immaginari"
OR cl_to LIKE "%immaginarie"
)
AND il_to
IN (
SELECT page_title
FROM page
JOIN categorylinks ON page_id = cl_from
WHERE cl_to LIKE "Screenshot_copy%"
AND page_namespace = 6
)
AND (page_namespace, page_title)
NOT IN (SELECT pl_namespace, pl_title
FROM pagelinks JOIN page ON pl_from = page_id
WHERE page_namespace=4
AND page_title = 'Elenchi_generati_offline/Screenshot/Whitelist')
ORDER BY page_title;