http://www.mediawiki.org/wiki/Special:Code/MediaWiki/83801
Revision: 83801 Author: reedy Date: 2011-03-13 00:24:24 +0000 (Sun, 13 Mar 2011) Log Message: ----------- Bit of explicit parameter definition. Spaces, braces Modified Paths: -------------- trunk/phase3/includes/specials/SpecialAllmessages.php Modified: trunk/phase3/includes/specials/SpecialAllmessages.php =================================================================== --- trunk/phase3/includes/specials/SpecialAllmessages.php 2011-03-13 00:15:02 UTC (rev 83800) +++ trunk/phase3/includes/specials/SpecialAllmessages.php 2011-03-13 00:24:24 UTC (rev 83801) @@ -34,6 +34,8 @@ */ protected $table; + protected $filter, $prefix, $langCode; + /** * Constructor */ @@ -159,6 +161,11 @@ public $mLimitsShown; /** + * @var Skin + */ + protected $mSkin; + + /** * @var Language */ public $lang; @@ -276,7 +283,7 @@ if( $customised !== $this->custom && ( $descending && ( $key < $offset || !$offset ) || !$descending && $key > $offset ) && ( ( $this->prefix && preg_match( $this->prefix, $key ) ) || $this->prefix === false ) - ){ + ) { $actual = wfMessage( $key )->inLanguage( $this->langcode )->plain(); $default = wfMessage( $key )->inLanguage( $this->langcode )->useDatabase( false )->plain(); $result->result[] = array( @@ -288,7 +295,9 @@ ); $count++; } - if( $count == $limit ) break; + if( $count == $limit ) { + break; + } } return $result; } @@ -394,15 +403,19 @@ 'am_default' => wfMsg( 'allmessagesdefault' ) ); } + function getTitle() { return SpecialPage::getTitleFor( 'Allmessages', false ); } + function isFieldSortable( $x ){ return false; } + function getDefaultSort(){ return ''; } + function getQueryInfo(){ return ''; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs