Completed
Branch master (1655eb)
by
unknown
22:24
created
maintenance/preprocessorFuzzTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@
 block discarded – undo
145 145
 class PPFuzzTest {
146 146
 	public $templates, $mainText, $title, $entryPoint, $output;
147 147
 
148
+	/**
149
+	 * @param PPFuzzTester $tester
150
+	 */
148 151
 	function __construct( $tester ) {
149 152
 		global $wgMaxSigChars;
150 153
 		$this->parent = $tester;
Please login to merge, or discard this patch.
maintenance/purgeParserCache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
 		$this->output( "\nDone\n" );
69 69
 	}
70 70
 
71
+	/**
72
+	 * @param integer $percent
73
+	 */
71 74
 	function showProgress( $percent ) {
72 75
 		$percentString = sprintf( "%.2f", $percent );
73 76
 		if ( $percentString === $this->lastProgress ) {
Please login to merge, or discard this patch.
maintenance/rebuildImages.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@  discard block
 block discarded – undo
95 95
 		$this->table = $table;
96 96
 	}
97 97
 
98
+	/**
99
+	 * @param integer $updated
100
+	 */
98 101
 	function progress( $updated ) {
99 102
 		$this->updated += $updated;
100 103
 		$this->processed++;
@@ -122,6 +125,10 @@  discard block
 block discarded – undo
122 125
 		flush();
123 126
 	}
124 127
 
128
+	/**
129
+	 * @param string $table
130
+	 * @param string $key
131
+	 */
125 132
 	function buildTable( $table, $key, $callback ) {
126 133
 		$count = $this->dbw->selectField( $table, 'count(*)', '', __METHOD__ );
127 134
 		$this->init( $count, $table );
@@ -186,6 +193,9 @@  discard block
 block discarded – undo
186 193
 		}
187 194
 	}
188 195
 
196
+	/**
197
+	 * @param string $filename
198
+	 */
189 199
 	function addMissingImage( $filename, $fullpath ) {
190 200
 		global $wgContLang;
191 201
 
Please login to merge, or discard this patch.
maintenance/refreshLinks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@
 block discarded – undo
357 357
 	 * @param IDatabase $db Database connection
358 358
 	 * @param string $var Field name
359 359
 	 * @param mixed $start First value to include or null
360
-	 * @param mixed $end Last value to include or null
360
+	 * @param integer|null $end Last value to include or null
361 361
 	 */
362 362
 	private static function intervalCond( IDatabase $db, $var, $start, $end ) {
363 363
 		if ( $start === null && $end === null ) {
Please login to merge, or discard this patch.
maintenance/storage/checkStorage.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -354,6 +354,9 @@  discard block
 block discarded – undo
354 354
 		}
355 355
 	}
356 356
 
357
+	/**
358
+	 * @param string $type
359
+	 */
357 360
 	function error( $type, $msg, $ids ) {
358 361
 		if ( is_array( $ids ) && count( $ids ) == 1 ) {
359 362
 			$ids = reset( $ids );
@@ -417,6 +420,9 @@  discard block
 block discarded – undo
417 420
 		}
418 421
 	}
419 422
 
423
+	/**
424
+	 * @param string $xml
425
+	 */
420 426
 	function restoreText( $revIds, $xml ) {
421 427
 		global $wgDBname;
422 428
 		$tmpDir = wfTempDir();
Please login to merge, or discard this patch.
maintenance/storage/fixBug20757.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -265,6 +265,9 @@
 block discarded – undo
265 265
 		}
266 266
 	}
267 267
 
268
+	/**
269
+	 * @param integer $pageId
270
+	 */
268 271
 	function findTextIdInPage( $pageId, $textId ) {
269 272
 		$ids = $this->getRevTextMap( $pageId );
270 273
 		if ( !isset( $ids[$textId] ) ) {
Please login to merge, or discard this patch.
maintenance/updateCollation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@
 block discarded – undo
243 243
 		return $cond;
244 244
 	}
245 245
 
246
+	/**
247
+	 * @param string $key
248
+	 */
246 249
 	function updateSortKeySizeHistogram( $key ) {
247 250
 		$length = strlen( $key );
248 251
 		if ( !isset( $this->sizeHistogram[$length] ) ) {
Please login to merge, or discard this patch.
includes/diff/TableDiffFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@
 block discarded – undo
440 440
 	 * Basic wikitext removal
441 441
 	 * @protected
442 442
 	 * @param string $text
443
-	 * @return mixed
443
+	 * @return string
444 444
 	 */
445 445
 	function removeWiki( $text ) {
446 446
 		$text = preg_replace( "/\\{\\{([^|]+?)\\}\\}/", "", $text );
Please login to merge, or discard this patch.
includes/filerepo/file/ForeignDBFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
 	 * @param string $table Table name
290 290
 	 * @param string $field Field name to check
291 291
 	 * @param string $patchFile Path to the patch to correct the field
292
-	 * @return bool
292
+	 * @return boolean|null
293 293
 	 */
294 294
 	protected function checkBin( $table, $field, $patchFile ) {
295 295
 		if ( !$this->doTable( $table ) ) {
Please login to merge, or discard this patch.