| Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
| — | — | @@ -62,9 +62,6 @@ |
| 63 | 63 | |
| 64 | 64 | $out->addModuleStyles( 'mediawiki.special' ); |
| 65 | 65 | |
| 66 | | - $this->filter = $request->getVal( 'filter', 'all' ); |
| 67 | | - $this->prefix = $request->getVal( 'prefix', '' ); |
| 68 | | - |
| 69 | 66 | $this->table = new AllmessagesTablePager( |
| 70 | 67 | $this, |
| 71 | 68 | array(), |
| — | — | @@ -120,7 +117,8 @@ |
| 121 | 118 | |
| 122 | 119 | $request = $this->getRequest(); |
| 123 | 120 | |
| 124 | | - if( $request->getVal( 'filter', 'all' ) === 'all' ){ |
| | 121 | + $this->filter = $request->getVal( 'filter', 'all' ); |
| | 122 | + if( $this->filter === 'all' ){ |
| 125 | 123 | $this->custom = null; // So won't match in either case |
| 126 | 124 | } else { |
| 127 | 125 | $this->custom = ($request->getVal( 'filter' ) == 'unmodified'); |