This change adds redirect=no in the URL of redirect entries in the RecentChanges or in the Watchlist.
Entries which are not redirects will not be affected.
Some typos in documentation were also fixed.
Bug: 890
Change-Id: I79593811d92b2f57abd742c8ba9e66769d8bc9b7
option and a size specification set will now always ignore the provided
size and display an unscaled image, as the documentation has always
claimed it would.
+* (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer
+ follow redirects to their target pages.
=== Web API changes in 1.24 ===
}
/**
- * set the unique id of an item
+ * Set the unique id of an item
*
* @param string $uniqueId Unique id for the item
* @param bool $rssIsPermalink Set to true if the guid (unique id) is a permalink (RSS feeds only)
}
/**
- * Get the title of this item
+ * Get the date of this item
*
* @return string
*/
*/
public function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) {
$params = array();
+ if ( $rc->getTitle()->isRedirect() ) {
+ $params = array( 'redirect' => 'no' );
+ }
$articlelink = Linker::linkKnown(
$rc->getTitle(),
}
/**
- * Create a input to filter changes by categories
+ * Create an input to filter changes by categories
*
* @param FormOptions $opts
* @return array