Index: trunk/extensions/FlaggedRevs/frontend/FlaggablePageView.php |
— | — | @@ -256,7 +256,7 @@ |
257 | 257 | $frev = FlaggedRevision::newFromTitle( $this->article->getTitle(), $revID ); |
258 | 258 | # Give a notice if this rev ID corresponds to a reviewed version... |
259 | 259 | if ( $frev ) { |
260 | | - $time = $this->getLang()->date( $frev->getTimestamp(), true ); |
| 260 | + $time = $this->getLanguage()->date( $frev->getTimestamp(), true ); |
261 | 261 | $flags = $frev->getTags(); |
262 | 262 | $quality = FlaggedRevs::isQuality( $flags ); |
263 | 263 | $msg = $quality ? 'revreview-quality-source' : 'revreview-basic-source'; |
— | — | @@ -447,7 +447,7 @@ |
448 | 448 | return; // all this function does is add notices; don't show them |
449 | 449 | } |
450 | 450 | $flags = $srev->getTags(); |
451 | | - $time = $this->getLang()->date( $srev->getTimestamp(), true ); |
| 451 | + $time = $this->getLanguage()->date( $srev->getTimestamp(), true ); |
452 | 452 | # Get quality level |
453 | 453 | $quality = FlaggedRevs::isQuality( $flags ); |
454 | 454 | # Get stable version sync status |
— | — | @@ -556,7 +556,7 @@ |
557 | 557 | $reqUser = $this->getUser(); |
558 | 558 | $this->load(); |
559 | 559 | $flags = $frev->getTags(); |
560 | | - $time = $this->getLang()->date( $frev->getTimestamp(), true ); |
| 560 | + $time = $this->getLanguage()->date( $frev->getTimestamp(), true ); |
561 | 561 | # Set display revision ID |
562 | 562 | $this->out->setRevisionId( $frev->getRevId() ); |
563 | 563 | # Get quality level |
— | — | @@ -634,7 +634,7 @@ |
635 | 635 | $reqUser = $this->getUser(); |
636 | 636 | $this->load(); |
637 | 637 | $flags = $srev->getTags(); |
638 | | - $time = $this->getLang()->date( $srev->getTimestamp(), true ); |
| 638 | + $time = $this->getLanguage()->date( $srev->getTimestamp(), true ); |
639 | 639 | # Set display revision ID |
640 | 640 | $this->out->setRevisionId( $srev->getRevId() ); |
641 | 641 | # Get quality level |
— | — | @@ -1350,7 +1350,7 @@ |
1351 | 1351 | */ |
1352 | 1352 | public function setPendingNotice( FlaggedRevision $srev, $diffToggle = '' ) { |
1353 | 1353 | $this->load(); |
1354 | | - $time = $this->getLang()->date( $srev->getTimestamp(), true ); |
| 1354 | + $time = $this->getLanguage()->date( $srev->getTimestamp(), true ); |
1355 | 1355 | $revsSince = $this->article->getPendingRevCount(); |
1356 | 1356 | $msg = $srev->getQuality() |
1357 | 1357 | ? 'revreview-newest-quality' |