Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | */ |
90 | 90 | class AllmessagesTablePager extends TablePager { |
91 | 91 | |
92 | | - protected $filter, $prefix, $langcode; |
| 92 | + protected $filter, $prefix, $langcode, $displayPrefix; |
93 | 93 | |
94 | 94 | public $mLimitsShown; |
95 | 95 | |
— | — | @@ -132,8 +132,10 @@ |
133 | 133 | $prefix = $wgLang->ucfirst( $wgRequest->getVal( 'prefix', '' ) ); |
134 | 134 | $prefix = $prefix != '' ? Title::makeTitleSafe( NS_MEDIAWIKI, $wgRequest->getVal( 'prefix', null ) ) : null; |
135 | 135 | if( $prefix !== null ){ |
136 | | - $this->prefix = '/^' . preg_quote( $prefix->getDBkey() ) . '/i'; |
| 136 | + $this->displayPrefix = $prefix->getDBkey(); |
| 137 | + $this->prefix = '/^' . preg_quote( $this->displayPrefix ) . '/i'; |
137 | 138 | } else { |
| 139 | + $this->displayPrefix = false; |
138 | 140 | $this->prefix = false; |
139 | 141 | } |
140 | 142 | $this->getSkin(); |