* limit: maximum number of rows to return
* dir: "asc" or "desc" timestamp order
* @param $buffer Int: one of WikiExporter::BUFFER or WikiExporter::STREAM
+ * @param $text Int: one of WikiExporter::TEXT or WikiExporter::STUB
*/
function __construct( &$db, $history = WikiExporter::CURRENT,
$buffer = WikiExporter::BUFFER, $text = WikiExporter::TEXT ) {
/**
* Default per-revision callback, performs the import.
- * @param $revision WikiRevision
+ * @param $rev WikiRevision
* @private
*/
function importLogItem( $rev ) {
/**
* Make a "what links here" link for a given title
*
- * @param Title $title Title to make the link for
- * @param Skin $skin Skin to use
- * @param object $result Result row
+ * @param $title Title to make the link for
+ * @param $skin Skin object to use
+ * @param $result Object: result row
* @return string
*/
private function makeWlhLink( $title, $skin, $result ) {
/**
* Build a row for a table
+ * @param $attribs An array of attributes to apply to the tr tag
* @param $cells An array of strings to put in <td>
* @return string
*/
/**
* Get a list of groups the specified user belongs to
*
- * @param int $uid
+ * @param $uid Integer: user id
* @return array
*/
protected static function getGroups( $uid ) {
/**
* Format a link to a group description page
*
- * @param string $group
+ * @param $group String: group name
* @return string
*/
protected static function buildGroupLink( $group ) {