Wikia code/DONE/includes/specials/SpecialFewestrevisions.php
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.43.0. |
MW doesn't like to use isset to check for null [1]. Are we checking for null here or literally checking that it isn't set?
Commit message by Tomek was "tomek 1/11/2011 5:35:15 AM #141987: Notice on Special:FewestRevisions page"
Merged this here: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97554
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\specials\SpecialFewestrevisions.php 2011-07-18 22:31:17.632812500 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\specials\SpecialFewestrevisions.php 2011-08-17 15:28:16.275390600 +0100
@@ -66,7 +68,7 @@
$nl = wfMsgExt( 'nrevisions', array( 'parsemag', 'escape' ),
$wgLang->formatNum( $result->value ) );
- $redirect = $result->redirect ? ' - ' . wfMsgHtml( 'isredirect' ) : '';
+ $redirect = isset($result->redirect) ? ' - ' . wfMsgHtml( 'isredirect' ) : '';
$nlink = $skin->linkKnown(
$nt,
$nl,