r69112 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69111‎ | r69112 | r69113 >
Date:20:56, 6 July 2010
Author:demon
Status:ok
Tags:
Comment:
Remove a few functions that have been labelled deprecated forever and have no callers anywhere
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -2457,13 +2457,6 @@
24582458 }
24592459
24602460 /**
2461 - * @deprecated use StringUtils::escapeRegexReplacement
2462 - */
2463 -function wfRegexReplacement( $string ) {
2464 - return StringUtils::escapeRegexReplacement( $string );
2465 -}
2466 -
2467 -/**
24682461 * Return the final portion of a pathname.
24692462 * Reimplemented because PHP5's basename() is buggy with multibyte text.
24702463 * http://bugs.php.net/bug.php?id=33898
@@ -2675,13 +2668,6 @@
26762669 }
26772670
26782671 /**
2679 - * @deprecated use StringUtils::explodeMarkup
2680 - */
2681 -function wfExplodeMarkup( $separator, $text ) {
2682 - return StringUtils::explodeMarkup( $separator, $text );
2683 -}
2684 -
2685 -/**
26862672 * Convert an arbitrarily-long digit string from one numeric base
26872673 * to another, optionally zero-padding to a minimum column width.
26882674 *
@@ -2795,15 +2781,6 @@
27962782 }
27972783 }
27982784
2799 -/**
2800 - * Alias for modularized function
2801 - * @deprecated Use Http::isLocalURL() instead
2802 - */
2803 -function wfIsLocalURL( $url ) {
2804 - wfDeprecated(__FUNCTION__);
2805 - return Http::isLocalURL( $url );
2806 -}
2807 -
28082785 function wfHttpOnlySafe() {
28092786 global $wgHttpOnlyBlacklist;
28102787 if( !version_compare("5.2", PHP_VERSION, "<") )

Status & tagging log