r92573 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92572‎ | r92573 | r92574 >
Date:20:31, 19 July 2011
Author:platonides
Status:ok
Tags:
Comment:
Follow up r92036. The global is not needed now.
Modified paths:
  • /trunk/phase3/includes/api/ApiFormatBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiFormatBase.php
@@ -257,8 +257,6 @@
258258 * @return string
259259 */
260260 protected function formatHTML( $text ) {
261 - global $wgUrlProtocols;
262 -
263261 // Escape everything first for full coverage
264262 $text = htmlspecialchars( $text );
265263
@@ -374,4 +372,4 @@
375373 public function getVersion() {
376374 return __CLASS__ . ': $Id$';
377375 }
378 -}
\ No newline at end of file
 376+}

Follow-up revisions

RevisionCommit summaryAuthorDate
r92586Merge code cleanup revisions so that code analysis can also be performed in t...platonides21:29, 19 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92036Use wfUrlProtocols() in ApiFormatBase instead of simply imploding $wgUrlProto...catrope00:27, 13 July 2011

Status & tagging log