r77612 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77611‎ | r77612 | r77613 >
Date:22:40, 2 December 2010
Author:vyznev
Status:ok
Tags:
Comment:
followup to r77176: code style, release notes
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/maintenance/generateSitemap.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/generateSitemap.php
@@ -140,7 +140,9 @@
141141 $this->size_limit = pow( 2, 20 ) * 10;
142142 $this->fspath = self::init_path( $this->getOption( 'fspath', getcwd() ) );
143143 $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+ }
145147 $this->compress = $this->getOption( 'compress', 'yes' ) !== 'no';
146148 $this->dbr = wfGetDB( DB_SLAVE );
147149 $this->generateNamespaces();
Index: trunk/phase3/RELEASE-NOTES
@@ -543,6 +543,8 @@
544544 * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
545545 file is a multi-page file
546546 * (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)
547549
548550 === Languages updated in 1.17 ===
549551

Follow-up revisions

RevisionCommit summaryAuthorDate
r77666* (bug 26219) Show API limits for multi values in description...reedy16:24, 3 December 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77176bug 9675: sitemap-index doesn't include full location pathvyznev19:26, 23 November 2010

Status & tagging log