* for permissions or even inserted (as in Special:Undelete)
* @todo FIXME: Should be a subclass for RevisionDelete. [TS]
*
+ * @param $row
+ * @param $overrides array
+ *
* @return Revision
*/
public static function newFromArchiveRow( $row, $overrides = array() ) {
/**
* Constructor
*
- * @access private
+ * @param $host
+ * @param $port
+ *
+ * @return ZhClient
*/
function __construct( $host, $port ) {
$this->mHost = $host;
* Query the daemon and return the result
*
* @access private
+ *
+ * @return string
*/
function query( $request ) {
if ( !$this->mConnected ) {
/**
* Create a new cache object of the specified type.
+ *
+ * @param $id
+ *
+ * @return ObjectCache
*/
static function newFromId( $id ) {
global $wgObjectCaches;
* Create a new cache object from parameters
*
* @param $params array
+ *
+ * @return ObjectCache
*/
static function newFromParams( $params ) {
if ( isset( $params['factory'] ) ) {
* Uses undocumented extended tag hook return values, introduced in r61913.
*
* @param $content string
- * @param $attribs array
+ * @param $attributes array
* @param $parser Parser
* @return array
*/
* Uses undocumented extended tag hook return values, introduced in r61913.
*
* @param $content string
- * @param $attribs array
+ * @param $attributes array
* @param $parser Parser
* @return array
*/
* strings will be returned.
*
* @param $other LinkHolderArray
- * @param $text Array of strings
+ * @param $texts Array of strings
* @return Array
*/
function mergeForeign( $other, $texts ) {
* Parse the user's query and transform it into an SQL fragment which will
* become part of a WHERE clause
*
+ * @param $filteredText string
+ * @param $fullText string
+ *
* @return string
*/
function parseQuery( $filteredText, $fulltext ) {
/**
* Parse the user's query and transform it into an SQL fragment which will
* become part of a WHERE clause
+ *
+ * @return string
*/
function parseQuery( $filteredText, $fulltext ) {
global $wgContLang;
$quote = '"';
}
- if( $searchon !== '' ) $searchon .= ' ';
+ if( $searchon !== '' ) {
+ $searchon .= ' ';
+ }
// Some languages such as Serbian store the input form in the search index,
// so we may need to search for matches in multiple writing system variants.
/**
* Create a FormOptions object with options as specified by the user
*
+ * @param $parameters array
+ *
* @return FormOptions
*/
public function setup( $parameters ) {
" ($descriptionText)" );
}
}
- return
- Html::rawElement( 'tr', $trExtraParams,
+ return Html::rawElement( 'tr', $trExtraParams,
Html::rawElement( 'td', array(), $text ) .
Html::rawElement( 'td', array( 'class' => 'mw-statistics-numbers' ), $number )
);
/**
* File has been previously verified so no need to do so again.
+ *
+ * @return bool
*/
protected function verifyFile() {
return true;
/**
* Represents the session which contains temporarily stored files.
* Designed to be compatible with the session stashing code in UploadBase (should replace it eventually)
+ *
+ * @param $repo FileRepo
*/
public function __construct( $repo ) {