Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -1248,8 +1248,9 @@ |
1249 | 1249 | } |
1250 | 1250 | |
1251 | 1251 | /** |
| 1252 | + * Adds notes by the reviewer to the bottom of the page |
1252 | 1253 | * @param FlaggedRevision $frev |
1253 | | - * @return string, revision review notes |
| 1254 | + * @return void |
1254 | 1255 | */ |
1255 | 1256 | public function setReviewNotes( $frev ) { |
1256 | 1257 | global $wgUser; |
— | — | @@ -1263,19 +1264,19 @@ |
1264 | 1265 | } |
1265 | 1266 | } |
1266 | 1267 | |
1267 | | -/** |
| 1268 | + /** |
| 1269 | + * Adds a notice saying that this revision is pending review |
1268 | 1270 | * @param FlaggedRevision $frev |
1269 | | - * Adds a notice saying that this is a revision that is pending review |
| 1271 | + * @return void |
1270 | 1272 | */ |
1271 | 1273 | public function setPendingNotice( $frev ) { |
1272 | 1274 | global $wgLang; |
1273 | 1275 | $this->load(); |
1274 | 1276 | $time = $wgLang->date( $frev->getTimestamp(), true ); |
1275 | | - $pendingNotice = wfMsgExt( 'revreview-pendingnotice', array( 'parseinline' ), $time ); |
| 1277 | + $pendingNotice = wfMsgExt( 'revreview-pendingnotice', 'parseinline', $time ); |
1276 | 1278 | $this->reviewNotice .= "<div id='mw-fr-reviewnotice' class='flaggedrevs_preview plainlinks'>" . |
1277 | 1279 | $pendingNotice . "</div>"; |
1278 | 1280 | } |
1279 | | - |
1280 | 1281 | |
1281 | 1282 | /** |
1282 | 1283 | * When viewing a diff: |