$out->addModuleStyles( 'mediawiki.special' );
- $this->filter = $request->getVal( 'filter', 'all' );
- $this->prefix = $request->getVal( 'prefix', '' );
-
$this->table = new AllmessagesTablePager(
$this,
array(),
$request = $this->getRequest();
- if( $request->getVal( 'filter', 'all' ) === 'all' ){
+ $this->filter = $request->getVal( 'filter', 'all' );
+ if( $this->filter === 'all' ){
$this->custom = null; // So won't match in either case
} else {
- $this->custom = ($request->getVal( 'filter' ) == 'unmodified');
+ $this->custom = ($this->filter == 'unmodified');
}
$prefix = $this->getLanguage()->ucfirst( $request->getVal( 'prefix', '' ) );
/**
* This function normally does a database query to get the results; we need
* to make a pretend result using a FakeResultWrapper.
+ * @return FakeResultWrapper
*/
function reallyDoQuery( $offset, $limit, $descending ) {
$result = new FakeResultWrapper( array() );