r80420 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80419‎ | r80420 | r80421 >
Date:20:10, 16 January 2011
Author:ialex
Status:deferred
Tags:
Comment:
Removed orphan method since r36953
Modified paths:
  • /trunk/extensions/SemanticDrilldown/includes/SD_GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/includes/SD_GlobalFunctions.php
@@ -148,21 +148,6 @@
149149 $sdgLang = new $sdLangClass();
150150 }
151151
152 -/**
153 - * Setting of message cache for versions of MediaWiki that do not support
154 - * wgExtensionMessagesFiles - based on ceContributionScores() in
155 - * ContributionScores extension
156 - */
157 -function sdfLoadMessagesManually() {
158 - global $sdgIP, $wgMessageCache;
159 -
160 - # add messages
161 - require( $sdgIP . '/languages/SD_Messages.php' );
162 - foreach ( $messages as $key => $value ) {
163 - $wgMessageCache->addMessages( $messages[$key], $key );
164 - }
165 -}
166 -
167152 function sdfInitProperties() {
168153 global $sdgContLang, $wgLanguageCode;
169154 $sd_property_vals = array(

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r36953Removed now-unnecessary setup() function, added autoloading of 'include'...yaron22:03, 2 July 2008

Status & tagging log