/// Example 2:
/// <bahnenregiontabelle region="Innsbruck" />
public static function bahnenregiontabelleParserHook($input, $args, $parser) {
- return array('', 'noparse' => true, 'isHTML' => true);
+ $parser->getOutput()->addModules('ext.wrreport');
+ $sql = 'SELECT page_title, position_longitude, position_latitude, under_construction FROM wrsledruncache WHERE MBRCONTAINS((SELECT border FROM wrregion WHERE page_id = %s), POINT(position_longitude, position_latitude))';
+
+ $page_titles = array();
+ $html = WrReport::createBahnentabelle($page_titles);
+ return array($html, 'noparse' => true, 'isHTML' => true);
}