Change-Id: I8e7611cdb03558af13ec5b96e02857ff5b16b571
Change notes from older releases. For current info see RELEASE-NOTES-1.20.
== MediaWiki 1.18 ==
+=== Changes since 1.18.2 ===
+* (bug 35446) Using "{{nse:}}" with an invalid namespace name no longer throws
+ a PHP warning.
+
=== Changes since 1.18.1 ===
* (bug 33686) could not get a list of contributor for an article when using
}
static function nse( $parser, $part1 = '' ) {
- return wfUrlencode( str_replace( ' ', '_', self::ns( $parser, $part1 ) ) );
+ $ret = self::ns( $parser, $part1 );
+ if ( is_string( $ret ) ) {
+ $ret = wfUrlencode( str_replace( ' ', '_', $ret ) );
+ }
+ return $ret;
}
/**