}
}
+ /**
+ * @param $s string HTML to update
+ * @param $rc_timestamp mixed
+ */
public function insertDateHeader( &$s, $rc_timestamp ) {
# Make date header if necessary
$date = $this->getLanguage()->userDate( $rc_timestamp, $this->getUser() );
}
}
+ /**
+ * @param $s string HTML to update
+ * @param $title Title
+ * @param $logtype string
+ */
public function insertLog( &$s, $title, $logtype ) {
$page = new LogPage( $logtype );
$logname = $page->getName()->escaped();
}
/**
- * @param $s
+ * @param $s string HTML to update
* @param $rc RecentChange
* @param $unpatrolled
*/
}
/**
- * @param $s
+ * @param $s string HTML to update
* @param $rc RecentChange
* @param $unpatrolled
* @param $watched
}
/**
+ * Get the timestamp from $rc formatted with current user's settings
+ * and a separator
+ *
* @param $rc RecentChange
+ * @return string HTML fragment
*/
public function getTimestamp( $rc ) {
return $this->message['semicolon-separator'] . '<span class="mw-changeslist-date">' .
}
/**
- * @param $s
+ * Insert time timestamp string from $rc into $s
+ *
+ * @param $s string HTML to update
* @param $rc RecentChange
*/
public function insertTimestamp( &$s, $rc ) {