Index: trunk/extensions/ParserFunctions/ParserFunctions.php |
— | — | @@ -6,11 +6,13 @@ |
7 | 7 | |
8 | 8 | $wgExtensionFunctions[] = 'wfSetupParserFunctions'; |
9 | 9 | $wgExtensionCredits['parserhook'][] = array( |
10 | | - 'name' => 'ParserFunctions', |
11 | | - 'version' => '1.1.1', |
12 | | - 'url' => 'http://meta.wikimedia.org/wiki/ParserFunctions', |
13 | | - 'author' => 'Tim Starling', |
14 | | - 'description' => 'Enhance parser with logical functions', |
| 10 | + 'name' => 'ParserFunctions', |
| 11 | + 'version' => '1.1.2', |
| 12 | + 'svn-date' => '$LastChangedDate$', |
| 13 | + 'svn-revision' => '$LastChangedRevision$', |
| 14 | + 'url' => 'http://meta.wikimedia.org/wiki/Help:ParserFunctions', |
| 15 | + 'author' => 'Tim Starling', |
| 16 | + 'description' => 'Enhance parser with logical functions', |
15 | 17 | 'descriptionmsg' => 'pfunc_desc', |
16 | 18 | ); |
17 | 19 | |
— | — | @@ -328,7 +330,7 @@ |
329 | 331 | } |
330 | 332 | |
331 | 333 | function ifexistCommon( &$parser, $frame, $title = '', $then = '', $else = '' ) { |
332 | | - $title = Title::newFromText( $title ); |
| 334 | + $title = Title::newFromText( urldecode( $title ) ); |
333 | 335 | if ( $title ) { |
334 | 336 | if( $title->getNamespace() == NS_MEDIA ) { |
335 | 337 | /* If namespace is specified as NS_MEDIA, then we want to |
Property changes on: trunk/extensions/ParserFunctions/ParserFunctions.php |
___________________________________________________________________ |
Added: svn:keywords |
336 | 338 | + LastChangedDate LastChangedRevision |