From: Chad Horohoe Date: Fri, 27 Dec 2013 21:01:17 +0000 (-0500) Subject: Break some long lines X-Git-Tag: 1.31.0-rc.0~17488 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=0d7de23b3bfd74cc3c966883e3856cb21e925aa2;p=lhc%2Fweb%2Fwiklou.git Break some long lines Change-Id: I8c3919c04a3fc468191750af51b8be3f952f464e --- diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 80cdaca010..ec8f776275 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -203,12 +203,29 @@ class CoreParserFunctions { return $parser->markerSkipCallback( $s, array( $wgContLang, 'uc' ) ); } - static function localurl( $parser, $s = '', $arg = null ) { return self::urlFunction( 'getLocalURL', $s, $arg ); } - static function localurle( $parser, $s = '', $arg = null ) { return self::urlFunction( 'escapeLocalURL', $s, $arg ); } - static function fullurl( $parser, $s = '', $arg = null ) { return self::urlFunction( 'getFullURL', $s, $arg ); } - static function fullurle( $parser, $s = '', $arg = null ) { return htmlspecialchars( self::urlFunction( 'getFullURL', $s, $arg ) ); } - static function canonicalurl( $parser, $s = '', $arg = null ) { return self::urlFunction( 'getCanonicalURL', $s, $arg ); } - static function canonicalurle( $parser, $s = '', $arg = null ) { return self::urlFunction( 'escapeCanonicalURL', $s, $arg ); } + static function localurl( $parser, $s = '', $arg = null ) { + return self::urlFunction( 'getLocalURL', $s, $arg ); + } + + static function localurle( $parser, $s = '', $arg = null ) { + return self::urlFunction( 'escapeLocalURL', $s, $arg ); + } + + static function fullurl( $parser, $s = '', $arg = null ) { + return self::urlFunction( 'getFullURL', $s, $arg ); + } + + static function fullurle( $parser, $s = '', $arg = null ) { + return htmlspecialchars( self::urlFunction( 'getFullURL', $s, $arg ) ); + } + + static function canonicalurl( $parser, $s = '', $arg = null ) { + return self::urlFunction( 'getCanonicalURL', $s, $arg ); + } + + static function canonicalurle( $parser, $s = '', $arg = null ) { + return self::urlFunction( 'escapeCanonicalURL', $s, $arg ); + } static function urlFunction( $func, $s = '', $arg = null ) { $title = Title::newFromText( $s );