X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fparser%2FParser.php;h=2147f2f35074bab81a619d69a0a5694b9326730c;hp=c5dd811c8a78fd42a1802a224003b036a5013d37;hb=ce81d0017408ea506d057eeb4289c3c793f0a12f;hpb=0974c515c10806f37d9e8e388740ad3a83bd8f5b diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index c5dd811c8a..2147f2f350 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3236,8 +3236,10 @@ class Parser { * @param string $s * * @return array + * @deprecated since 1.34; appears to be unused. */ public static function splitWhitespace( $s ) { + wfDeprecated( __METHOD__, '1.34' ); $ltrimmed = ltrim( $s ); $w1 = substr( $s, 0, strlen( $s ) - strlen( $ltrimmed ) ); $trimmed = rtrim( $ltrimmed ); @@ -3300,8 +3302,10 @@ class Parser { * @param array $args * * @return array + * @deprecated since 1.34; appears to be unused in core. */ public static function createAssocArgs( $args ) { + wfDeprecated( __METHOD__, '1.34' ); $assocArgs = []; $index = 1; foreach ( $args as $arg ) {