* When a page doesn't exist, the tab should say "create", not "edit"
* (bug 12882) Added a span with class "patrollink" arround "Mark as patrolled"
link on diffs
+* Magic word formatnum can now take raw suffix to undo formatting
=== Bug fixes in 1.13 ===
}
}
- static function formatNum( $parser, $num = '' ) {
- return $parser->getFunctionLang()->formatNum( $num );
+ static function formatNum( $parser, $num = '', $raw = null) {
+ if ( self::israw( $raw ) ) {
+ return $parser->getFunctionLang()->parseFormattedNumber( $num );
+ } else {
+ return $parser->getFunctionLang()->formatNum( $num );
+ }
}
static function grammar( $parser, $case = '', $word = '' ) {