* Do all updates and commit them. More or less a replacement
* for the original initStats, but without output.
*
- * @param $database Boolean or DatabaseBase:
+ * @param $database DatabaseBase|bool
* - Boolean: whether to use the master DB
* - DatabaseBase: database connection to use
* @param $options Array of options, may contain the following values
protected $tempType, $tempMergePrefix;
+ /**
+ * @param $prefix string
+ */
function __construct( $prefix ) {
$this->prefix = $prefix;
$this->data = array(
return $texts;
}
+ /**
+ * @param $m
+ * @return string
+ */
protected function mergeCallback( $m ) {
$key = $m[1];
return "{$this->prefix}{$this->tempMergePrefix}-$key" . Parser::MARKER_SUFFIX;
}
}
- # Convert from the nominative form of a noun to some other case
- # Invoked with {{GRAMMAR:case|word}}
/**
+ * Convert from the nominative form of a noun to some other case
+ * Invoked with {{GRAMMAR:case|word}}
+ *
* Cases: genitiv, dativ, akuzativ, vokativ, instrumental, lokativ
*
* @param $word string