Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -225,7 +225,7 @@ |
226 | 226 | } |
227 | 227 | } |
228 | 228 | |
229 | | - protected function insertMove( &$s, $rc ) { |
| 229 | + public function insertMove( &$s, $rc ) { |
230 | 230 | # Diff |
231 | 231 | $s .= '(' . $this->message['diff'] . ') ('; |
232 | 232 | # Hist |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | ); |
259 | 259 | } |
260 | 260 | |
261 | | - protected function insertDateHeader( &$s, $rc_timestamp ) { |
| 261 | + public function insertDateHeader( &$s, $rc_timestamp ) { |
262 | 262 | global $wgLang; |
263 | 263 | # Make date header if necessary |
264 | 264 | $date = $wgLang->date( $rc_timestamp, true, true ); |
— | — | @@ -271,7 +271,7 @@ |
272 | 272 | } |
273 | 273 | } |
274 | 274 | |
275 | | - protected function insertLog( &$s, $title, $logtype ) { |
| 275 | + public function insertLog( &$s, $title, $logtype ) { |
276 | 276 | $logname = LogPage::logName( $logtype ); |
277 | 277 | $s .= '(' . $this->skin->link( |
278 | 278 | $title, |
— | — | @@ -282,7 +282,7 @@ |
283 | 283 | ) . ')'; |
284 | 284 | } |
285 | 285 | |
286 | | - protected function insertDiffHist( &$s, &$rc, $unpatrolled ) { |
| 286 | + public function insertDiffHist( &$s, &$rc, $unpatrolled ) { |
287 | 287 | # Diff link |
288 | 288 | if( $rc->mAttribs['rc_type'] == RC_NEW || $rc->mAttribs['rc_type'] == RC_LOG ) { |
289 | 289 | $diffLink = $this->message['diff']; |
— | — | @@ -322,7 +322,7 @@ |
323 | 323 | $s .= ') . . '; |
324 | 324 | } |
325 | 325 | |
326 | | - protected function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) { |
| 326 | + public function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) { |
327 | 327 | global $wgContLang; |
328 | 328 | # If it's a new article, there is no diff link, but if it hasn't been |
329 | 329 | # patrolled yet, we need to give users a way to do so |
— | — | @@ -363,7 +363,7 @@ |
364 | 364 | $s .= " $articlelink"; |
365 | 365 | } |
366 | 366 | |
367 | | - protected function insertTimestamp( &$s, $rc ) { |
| 367 | + public function insertTimestamp( &$s, $rc ) { |
368 | 368 | global $wgLang; |
369 | 369 | $s .= $this->message['semicolon-separator'] . |
370 | 370 | $wgLang->time( $rc->mAttribs['rc_timestamp'], true, true ) . ' . . '; |
— | — | @@ -380,7 +380,7 @@ |
381 | 381 | } |
382 | 382 | |
383 | 383 | /** insert a formatted action */ |
384 | | - protected function insertAction( &$s, &$rc ) { |
| 384 | + public function insertAction( &$s, &$rc ) { |
385 | 385 | if( $rc->mAttribs['rc_type'] == RC_LOG ) { |
386 | 386 | if( $this->isDeleted( $rc, LogPage::DELETED_ACTION ) ) { |
387 | 387 | $s .= ' <span class="history-deleted">' . wfMsgHtml( 'rev-deleted-event' ) . '</span>'; |
— | — | @@ -392,7 +392,7 @@ |
393 | 393 | } |
394 | 394 | |
395 | 395 | /** insert a formatted comment */ |
396 | | - protected function insertComment( &$s, &$rc ) { |
| 396 | + public function insertComment( &$s, &$rc ) { |
397 | 397 | if( $rc->mAttribs['rc_type'] != RC_MOVE && $rc->mAttribs['rc_type'] != RC_MOVE_OVER_REDIRECT ) { |
398 | 398 | if( $this->isDeleted( $rc, Revision::DELETED_COMMENT ) ) { |
399 | 399 | $s .= ' <span class="history-deleted">' . wfMsgHtml( 'rev-deleted-comment' ) . '</span>'; |