r104446 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104445‎ | r104446 | r104447 >
Date:15:43, 28 November 2011
Author:petrb
Status:ok
Tags:
Comment:
Added and fixed some comments in code
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php (modified) (history)
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.status.php (modified) (history)
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.status.php
@@ -59,6 +59,7 @@
6060 /**
6161 * Status check
6262 * @param $user User
 63+ * @param $delayed_check Boolean
6364 * @return String
6465 */
6566 public static function getStatus( $user, $delayed_check = false ) {
Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php
@@ -19,6 +19,7 @@
2020 /**
2121 * Create a html bar
2222 * @param $text
 23+ * return HTML
2324 **/
2425 public static function getStatusBarHtml( $text ) {
2526 return <<<HTML
Index: trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php
@@ -24,9 +24,7 @@
2525 /**
2626 * Called everytime when user logout
2727 * @param $user User
28 - * @param $inject_html string
29 - * @param $old_name string
30 - * @return bool
 28+ * @return true
3129 */
3230 public static function logout( &$user ) {
3331 global $wgOnlineStatusBarDefaultEnabled;

Status & tagging log