When updating a page, CirrusSearch attempts to get ParserOutput from ParserCache.
private function getContentAndParserOutput( $page ) { $content = $page->getContent(); $parserOptions = $page->makeParserOptions( 'canonical' ); $parserOutput = ParserCache::singleton()->get( $page, $parserOptions ); if ( !$parserOutput ) { // We specify the revision ID here. There might be a newer revision, // but we don't care because (a) we've already got a job somewhere // in the queue to index it, and (b) we want magic words like // {{REVISIONUSER}} to be accurate $revId = $page->getRevision()->getId(); $parserOutput = $content->getParserOutput( $page->getTitle(), $revId ); } return array( $content, $parserOutput ); }
For adding coordinates for a wiki with GeoData newly enabled, the ParserOutput would be lacking coordinates if obtained from cache.
either there needs to be a way to force parse or, perhaps if the coordinates are already in geo_tags then maybe a way for coordinates to come from there.