Index: trunk/phase3/maintenance/preprocessorFuzzTest.php |
— | — | @@ -227,12 +227,12 @@ |
228 | 228 | } |
229 | 229 | |
230 | 230 | function getOption( $oname, $defaultOverride = null, $ignoreHidden = false ) { |
231 | | - if ( $option === 'fancysig' ) { |
| 231 | + if ( $oname === 'fancysig' ) { |
232 | 232 | return $this->ppfz_test->fancySig; |
233 | | - } elseif ( $option === 'nickname' ) { |
| 233 | + } elseif ( $oname === 'nickname' ) { |
234 | 234 | return $this->ppfz_test->nickname; |
235 | 235 | } else { |
236 | | - return parent::getOption( $option, $defaultOverride, $ignoreHidden ); |
| 236 | + return parent::getOption( $oname, $defaultOverride, $ignoreHidden ); |
237 | 237 | } |
238 | 238 | } |
239 | 239 | } |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -5463,7 +5463,7 @@ |
5464 | 5464 | * |
5465 | 5465 | * @return string |
5466 | 5466 | */ |
5467 | | - function testSrvus( $text, $title, ParserOptions $options, $outputType = self::OT_HTML ) { |
| 5467 | + function testSrvus( $text, Title $title, ParserOptions $options, $outputType = self::OT_HTML ) { |
5468 | 5468 | $this->startParse( $title, $options, $outputType, true ); |
5469 | 5469 | |
5470 | 5470 | $text = $this->replaceVariables( $text ); |
— | — | @@ -5472,11 +5472,11 @@ |
5473 | 5473 | return $text; |
5474 | 5474 | } |
5475 | 5475 | |
5476 | | - function testPst( $text, $title, $options ) { |
| 5476 | + function testPst( $text, Title $title, ParserOptions $options ) { |
5477 | 5477 | return $this->preSaveTransform( $text, $title, $options->getUser(), $options ); |
5478 | 5478 | } |
5479 | 5479 | |
5480 | | - function testPreprocess( $text, $title, $options ) { |
| 5480 | + function testPreprocess( $text, Title $title, ParserOptions $options ) { |
5481 | 5481 | return $this->testSrvus( $text, $title, $options, self::OT_PREPROCESS ); |
5482 | 5482 | } |
5483 | 5483 | |