X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ac5a901daf8109cdd7880d23f765b5b4f5d0e665..2bc46b8f213defcb6b8c9624a5c4c1f3571ccdcc:/utils/importWikipedia.php diff --git a/utils/importWikipedia.php b/utils/importWikipedia.php index b767adb3..6e429754 100755 --- a/utils/importWikipedia.php +++ b/utils/importWikipedia.php @@ -309,7 +309,7 @@ if (isset($aCMDResult['parse-wikipedia'])) { $oDB =& getDB(); $sSQL = 'select page_title from content where page_namespace = 0 and page_id %10 = '; $sSQL .= $aCMDResult['parse-wikipedia']; - $sSQL .= ' and (page_content ilike \'%{{Coord%\' or (page_content ilike \'%lat%\' and page_content ilike \'%lon%\'))' + $sSQL .= ' and (page_content ilike \'%{{Coord%\' or (page_content ilike \'%lat%\' and page_content ilike \'%lon%\'))'; $aArticleNames = $oDB->getCol($sSQL); /* $aArticleNames = $oDB->getCol($sSQL = 'select page_title from content where page_namespace = 0 and (page_content ilike \'%{{Coord%\' or (page_content ilike \'%lat%\'