* If the namespace isn't listed on the priority list return the
* default priority for the namespace, varies depending on whether it's
* a talkpage or not.
- *
+ *
* @param int $namespace The namespace to get the priority for
*
* @return string
$fname = 'GenerateSitemap::getPageRes';
return $this->dbr->select( 'page',
- array(
+ array(
'page_namespace',
'page_title',
'page_touched',
function write( &$handle, $str ) {
if ( $this->compress )
gzwrite( $handle, $str );
- else
+ else
fwrite( $handle, $str );
}
return
"\t<sitemap>\n" .
"\t\t<loc>$filename</loc>\n" .
- "\t\t<lastmod>{$this->timestamp}</lastmod>\n" .
+ "\t\t<lastmod>{$this->timestamp}</lastmod>\n" .
"\t</sitemap>\n";
}