Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
— | — | @@ -153,7 +153,8 @@ |
154 | 154 | } |
155 | 155 | } |
156 | 156 | |
157 | | -/* use TablePager for prettified output. We have to pretend that we're |
| 157 | +/** |
| 158 | + * Use TablePager for prettified output. We have to pretend that we're |
158 | 159 | * getting data from a table when in fact not all of it comes from the database. |
159 | 160 | */ |
160 | 161 | class AllmessagesTablePager extends TablePager { |
— | — | @@ -170,6 +171,11 @@ |
171 | 172 | */ |
172 | 173 | public $lang; |
173 | 174 | |
| 175 | + /** |
| 176 | + * @var null|bool |
| 177 | + */ |
| 178 | + public $custom; |
| 179 | + |
174 | 180 | function __construct( $page, $conds, $langObj = null ) { |
175 | 181 | parent::__construct(); |
176 | 182 | $this->mIndexField = 'am_title'; |
— | — | @@ -251,8 +257,7 @@ |
252 | 258 | if( $this->foreign ) { |
253 | 259 | $title = explode( '/', $s->page_title ); |
254 | 260 | if( count( $title ) === 2 && $this->langcode == $title[1] |
255 | | - && isset( $xNames[$title[0]] ) ) |
256 | | - { |
| 261 | + && isset( $xNames[$title[0]] ) ) { |
257 | 262 | $pageFlags["{$title[0]}"] = true; |
258 | 263 | } |
259 | 264 | } elseif( isset( $xNames[$s->page_title] ) ) { |
— | — | @@ -268,7 +273,8 @@ |
269 | 274 | return array( 'pages' => $pageFlags, 'talks' => $talkFlags ); |
270 | 275 | } |
271 | 276 | |
272 | | - /* This function normally does a database query to get the results; we need |
| 277 | + /** |
| 278 | + * This function normally does a database query to get the results; we need |
273 | 279 | * to make a pretend result using a FakeResultWrapper. |
274 | 280 | */ |
275 | 281 | function reallyDoQuery( $offset, $limit, $descending ) { |