Benutzer:Horgner/CH status SQL
Erscheinungsbild
statistisch Fehlende
SELECT CONCAT('<tr><td>[[',brokenlinks.bl_to,']]</td>') as Artikel, '<td>', COUNT(DISTINCT brokenlinks.bl_from) as Linkanzahl, '</td></tr>' FROM cur, brokenlinks WHERE cur.cur_id = brokenlinks.bl_from AND cur.cur_namespace=0 AND cur_text LIKE '%{{Ort_Schweiz|%' GROUP BY brokenlinks.bl_to HAVING Linkanzahl > 1 AND Linkanzahl < 50 ORDER BY Linkanzahl DESC LIMIT 250
Mentue | 47 | |||
Venoge | 38 | |||
Grafen_von_Lenzburg | 28 | |||
Delsberger_Becken | 27 | |||
Romont_FR | 25 | |||
Orbeebene | 24 | |||
Vallée_de_Joux | 22 | |||
Hallwil | 21 | |||
Vuillens | 21 | |||
Meisterschwanden | 20 | |||
Seengen | 20 | |||
Bedano | 19 | |||
Bidogno | 19 | |||
Bironico | 19 | |||
Bissone | 19 | |||
Bogno | 19 | |||
Cademario | 19 | |||
Cadempino | 19 |
* 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
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
- Bodio_TI (2189 Bytes)
- Ebnat-Kappel (2713 Bytes)
- Arosa (2771 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
- 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)
- Knutwil (1286 Bytes)
- Gunzwil (1308 Bytes)
- Schlierbach_LU (1329 Bytes)
- Rongellen (1331 Bytes)
- Sils_im_Domleschg (1510 Bytes)
- Ruswil (1622 Bytes)
- Bignasco (1629 Bytes)
- Schenkon (1662 Bytes)
- Nottwil (1699 Bytes)
- Arosio_TI (1717 Bytes)
- Oberkirch_LU (1751 Bytes)
- Mühlebach_VS (1937 Bytes)
- Conthey (1939 Bytes)
- Ohmstal (1965 Bytes)
- Fischbach_LU (1970 Bytes)
- Roggliswil (1974 Bytes)
- Zell_LU (1987 Bytes)
- Nendaz (2044 Bytes)
- Gettnau (2047 Bytes)
- Langnau_bei_Reiden (2126 Bytes)
- Wauwil (2318 Bytes)
- Ennetbürgen (2336 Bytes)
- Ufhusen (2358 Bytes)
- Hefenhofen (2403 Bytes)
- Richenthal (2461 Bytes)
- Ausserbinn (2482 Bytes)
- Grossdietwil (2495 Bytes)
- Ottikon_bei_Kemptthal (2517 Bytes)
- Wikon (2744 Bytes)
- Hergiswil_bei_Willisau (3247 Bytes)
- Kandergrund (3304 Bytes)
- Reichenbach_im_Kandertal (3599 Bytes)
- Pfaffnau (3669 Bytes)
- Wilen_TG (3795 Bytes)
- Luthern (3913 Bytes)
- Urnerboden (4043 Bytes)
- Geiss (4178 Bytes)
- Eschenbach_LU (4261 Bytes)
- Menznau (4411 Bytes)
- Gelfingen (4604 Bytes)
- Evilard (4663 Bytes)
- Lieli_LU (4781 Bytes)
- Ermensee (4876 Bytes)
- Retschwil (4974 Bytes)
- Inwil_LU (5140 Bytes)
- Rain_LU (5148 Bytes)
- Geuensee (5152 Bytes)
- Eich_LU (5184 Bytes)
- Hämikon (5231 Bytes)
- Schongau_LU (5604 Bytes)
- Densbüren (6213 Bytes)
- Altwis (6393 Bytes)
- Muhen (6433 Bytes)
- Kallern (6530 Bytes)
- Hirschthal_AG (6639 Bytes)
- Bettwil (6747 Bytes)
- Auw_AG (6749 Bytes)
- Biberstein (6769 Bytes)
- Geltwil (6811 Bytes)
- Stilli (7004 Bytes)
- Abtwil_AG (7057 Bytes)
- Egolzwil (7135 Bytes)
- Suhr_AG (7202 Bytes)
- Besenbüren (7216 Bytes)
- Benzenschwil (7250 Bytes)
- Rohr_AG (7402 Bytes)
- Buttisholz (7434 Bytes)
- Doppleschwand (7434 Bytes)
- Oberentfelden (7453 Bytes)
- Ebersecken (7488 Bytes)
- Burg_AG (7517 Bytes)
- Buchs_AG (7892 Bytes)
- Küttigen (7927 Bytes)
- Schöftland (8154 Bytes)
- Rottenschwil (8182 Bytes)
- Erlinsbach (8432 Bytes)
- Unterentfelden (8448 Bytes)
- Römerswil (8522 Bytes)
- Aristau (9327 Bytes)
- Gränichen (9867 Bytes)
- Menziken (9892 Bytes)
- Beinwil_(Freiamt) (10013 Bytes)
- Ettiswil (11256 Bytes)
- Steinhaus_VS (12743 Bytes)
- Merenschwand (13024 Bytes)
- Zürich (24847 Bytes)
- Aarau (31328 Bytes)
Liste abgearbeitet
* 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
* 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
Liste abgearbeitet
* 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)
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)
* 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
nicht so gute Abfrage
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)