Benutzer:Horgner/CH status SQL
Erscheinungsbild
gute Abfragen
* Koodinaten Check
Gemeindeartikel mit voreilenden 0 in Koordinaten:
SELECT cur_title, cur_namespace, CONCAT(LENGTH( cur_text ) , ' Bytes') AS Groesse FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz|%' AND (cur_text LIKE '%BREITENGRAD = 0%' OR cur_text LIKE '%LÄNGENGRAD = 0%' OR cur_text LIKE '%°_0%') ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
Liste abgearbeitet 27.6.2005
Gemeindeartikel mit vertauschten Koordinaten:
SELECT cur_title, cur_namespace, CONCAT(LENGTH( cur_text ) , ' Bytes') AS Groesse FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz|%' AND cur_text NOT LIKE '%BREITENGRAD = 4%' ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
Liste abgearbeitet 3.7.2005
* km2 Check
SELECT CONCAT( '# [[', cur_title, ']]') FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz|%' AND cur_text LIKE '%km2%' LIMIT 500
Liste abgearbeitet 2.7.2005
* Check alte Einwohnerentwicklung, Tabellenlayout
SELECT cur_title, cur_namespace, CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz|%' AND cur_text LIKE '%Einwohneren%' ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
Liste abgearbeitet 1.7.2005
* falsche Daten
SELECT CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz%' AND (cur_text LIKE '%.12.%' OR cur_text LIKE '%. 12.%') ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
Liste abgearbeitet 25.6.2005
* Kontrolle von Wappen
SELECT CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%KANTON = Wallis|%' AND cur_text NOT LIKE '%Wappen_fehlt.jpg%' ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
Liste für TG LU SO GR TI JU FR NE BE VD VS abgearbeitet
* Gemeinden mit Stub Baustein
SELECT CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz%' AND cur_text LIKE '%{{stu%' ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
SELECT concat('# [[', cur_title, ']]'), length(cur_text) AS lung FROM cur WHERE cur_namespace = 0 AND cur_text LIKE '%{{%stub%}}%' AND cur_text LIKE '%{{Ort_Schweiz%' HAVING lung > 1500 ORDER BY lung DESC, cur_title LIMIT 500
concat('# ', cur_title, '') | lung |
---|---|
# Stalden_VS | 8090 |
# Evolène | 1441 |
# Marmorera | 1325 |
# Chamoson | 1317 |
* Gemeinden mit fehlender Navileiste, bringt meist Ortschaften
SELECT CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz%' AND cur_text NOT LIKE '%Navigationsleiste%' ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
- Reckingen_VS (650 Bytes)
- Münster_VS (719 Bytes)
- Geschinen (943 Bytes)
- Arosio_TI (1717 Bytes)
- Mühlebach_VS (1937 Bytes)
- Ausserbinn (2482 Bytes)
- Ottikon_bei_Kemptthal (2517 Bytes)
- Urnerboden (4043 Bytes)
- Geiss (4178 Bytes)
- Steinhaus_VS (12743 Bytes)
* Geographie Check
SELECT cur_title FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz|%' AND cur_text LIKE '%Geografie%' LIMIT 200
Liste abgearbeitet 27.6.2005
* unberechtigter Stub Baustein
SELECT concat('# [[', cur_title, ']]'), length(cur_text) AS lung FROM cur WHERE cur_namespace = 0 AND cur_text LIKE '%{{stu%' AND cur_text LIKE '%{{Ort_Schweiz%' HAVING lung > 1300 ORDER BY lung DESC, cur_title LIMIT 500
- Marmorera 1307
- Evolène 1272
- Reckingen-Gluringen 1176
- Münster-Geschinen 1165
Liste abgearbeitet 13.7.
* Söhne und Töchter
SELECT concat('# [[', cur_title, ']]'), length(cur_text) AS lung FROM cur WHERE cur_namespace = 0 AND cur_text LIKE '%Söhne und Töchter%' AND cur_text LIKE '%{{Ort_Schweiz%' ORDER BY lung DESC, cur_title LIMIT 500
abgearbeitet 26. September 2005
* keine Weblinks
SELECT concat('# [[', cur_title, ']]'), length(cur_text) AS lung FROM cur WHERE cur_namespace = 0 AND cur_text LIKE '%{{Ort_Schweiz%' AND cur_text NOT LIKE '%Weblink%' ORDER BY lung DESC, cur_title LIMIT 500
concat('# ', cur_title, '') | lung |
---|---|
# Selma_GR | 1058 |
# Origlio | 1044 |
# Melano | 1008 |
# Neggio | 995 |
# Muggio_TI | 956 |
# Sagno | 936 |
# Valcolla | 933 |
# Vacallo | 928 |
# Maroggia | 910 |
# Wiler_(Lötschen) | 908 |
# Wald_BE | 860 |
# Vico_Morcote | 826 |
# Lamone | 814 |
# Lugaggia | 811 |
# Martisberg | 783 |
# Villa_Luganese | 778 |
# Liedertswil | 774 |
# Nenzlingen | 764 |
# Martigny-Combe | 759 |
# Sembrancher | 751 |
# Port-Valais | 741 |
# Zeglingen | 739 |
# Saint-Martin_VS | 730 |
# Riddes | 729 |
# Liddes | 723 |
# Roggwil_BE | 719 |
# Rümlingen | 718 |
# Zunzgen | 707 |
# Vernate_TI | 704 |
# Wahlen_BL | 704 |
# Porza | 701 |
# Vezia | 699 |
nicht so gute Abfrage
schweizbezogen Artikel
SELECT CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_text LIKE '%<!--schweizbezogen-->%' AND NOT cur_text LIKE '%{{Begriffsklärung}}%' AND NOT cur_text LIKE '%#REDIRECT %' ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 20
- Schweizer_Fussballverein (182 Bytes)
- Binz_(Maur) (291 Bytes)
- Gamsen_VS (341 Bytes)
- Riviera_(Schweiz) (342 Bytes)
Check BFS Nr. u. Karte
SELECT CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz%' AND (cur_text LIKE '%BFS = 0000|%' OR cur_text NOT LIKE '%BILDPFAD_KARTE = Karte Gemeinde%' OR cur_text NOT LIKE '%BILDPFAD_KARTE = Karte_Gemeinde%') ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
es kommen die falschen
- Liddes (708 Bytes)
- Sembrancher (731 Bytes)
- Vétroz (806 Bytes)
- Orsières (826 Bytes)
- Vollèges (826 Bytes)
- Lohnstorf (874 Bytes)
- Bourg-Saint-Pierre (928 Bytes)
- Ardon_VS (943 Bytes)
- Geschinen (943 Bytes)
- Romoos (988 Bytes)
- Gluringen (1013 Bytes)
- Neudorf_LU (1036 Bytes)
- Selma_GR (1058 Bytes)
- Chamoson (1069 Bytes)
- Hasle_LU (1089 Bytes)
- Mesocco (1129 Bytes)
- Rickenbach_SO (1141 Bytes)
- Ferenbalm (1252 Bytes)
- Mauensee_LU (1265 Bytes)
Vorlage nicht in Stadt oder Gemeinde Artikel
Abfrage hat Probleme
SELECT CONCAT( '# [[', cur_title, ']] (', LENGTH( cur_text ) , ' Bytes)' ) FROM cur WHERE cur_namespace=0 AND cur_is_redirect=0 AND cur_text LIKE '%{{Ort_Schweiz%' AND (cur_text NOT LIKE '%GEMEINDEART = Stadt%' OR cur_text NOT LIKE '%GEMEINDEART = Gemeinde%') ORDER BY LENGTH( cur_text ) ASC , cur_timestamp ASC LIMIT 500
Hat nicht funktioniert, warum ?
- Reckingen_VS (633 Bytes)
- Nebikon (678 Bytes)
- Arbaz (685 Bytes)
- Salins_VS (686 Bytes)