Index: trunk/phase3/maintenance/generateSitemap.php |
— | — | @@ -140,7 +140,9 @@ |
141 | 141 | $this->size_limit = pow( 2, 20 ) * 10; |
142 | 142 | $this->fspath = self::init_path( $this->getOption( 'fspath', getcwd() ) ); |
143 | 143 | $this->urlpath = $this->getOption( 'urlpath', "" ); |
144 | | - if ( $this->urlpath !== "" && substr( $this->urlpath, -1 ) !== '/' ) $this->urlpath .= '/'; |
| 144 | + if ( $this->urlpath !== "" && substr( $this->urlpath, -1 ) !== '/' ) { |
| 145 | + $this->urlpath .= '/'; |
| 146 | + } |
145 | 147 | $this->compress = $this->getOption( 'compress', 'yes' ) !== 'no'; |
146 | 148 | $this->dbr = wfGetDB( DB_SLAVE ); |
147 | 149 | $this->generateNamespaces(); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -543,6 +543,8 @@ |
544 | 544 | * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the |
545 | 545 | file is a multi-page file |
546 | 546 | * (bug 10268) Added linktodiffs parameter on action=feedwatchlist |
| 547 | +* (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow |
| 548 | + absolute URLs in the sitemap index (as required e.g. by Google) |
547 | 549 | |
548 | 550 | === Languages updated in 1.17 === |
549 | 551 | |