mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-26 06:22:13 +03:00
just add missing semicolon in importWikipedia.php line 312
This commit is contained in:
parent
a825414558
commit
5859f9a3cb
@ -309,7 +309,7 @@ if (isset($aCMDResult['parse-wikipedia'])) {
|
|||||||
$oDB =& getDB();
|
$oDB =& getDB();
|
||||||
$sSQL = 'select page_title from content where page_namespace = 0 and page_id %10 = ';
|
$sSQL = 'select page_title from content where page_namespace = 0 and page_id %10 = ';
|
||||||
$sSQL .= $aCMDResult['parse-wikipedia'];
|
$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);
|
||||||
/* $aArticleNames = $oDB->getCol($sSQL = 'select page_title from content where page_namespace = 0
|
/* $aArticleNames = $oDB->getCol($sSQL = 'select page_title from content where page_namespace = 0
|
||||||
and (page_content ilike \'%{{Coord%\' or (page_content ilike \'%lat%\'
|
and (page_content ilike \'%{{Coord%\' or (page_content ilike \'%lat%\'
|
||||||
|
Loading…
Reference in New Issue
Block a user