Index: trunk/extensions/DiscussionThreading/DiscussionThreading.php |
— | — | @@ -14,7 +14,6 @@ |
15 | 15 | |
16 | 16 | # Internationalisation file |
17 | 17 | $wgExtensionMessagesFiles['DiscussionThreading'] = dirname( __FILE__ ) . '/DiscussionThreading.i18n.php'; |
18 | | -$wgExtensionFunctions[] = 'efDiscussionThreadSetup'; |
19 | 18 | $wgExtensionCredits['other'][] = array( |
20 | 19 | 'path' => __FILE__, |
21 | 20 | 'name' => 'DiscussionThreading', |
— | — | @@ -40,13 +39,6 @@ |
41 | 40 | $wgHooks['DoEditSectionLink'][] = 'efDoDiscussionLink'; |
42 | 41 | |
43 | 42 | /** |
44 | | - * Initial setup, add .i18n. messages from $IP/extensions/DiscussionThreading/DiscussionThreading.i18n.php |
45 | | -*/ |
46 | | -function efDiscussionThreadSetup() { |
47 | | - |
48 | | -} |
49 | | - |
50 | | -/** |
51 | 43 | * This function creates a linkobject for the editSectionLinkForOther function in linker |
52 | 44 | * |
53 | 45 | * @param $callobj Article object. |
Index: trunk/extensions/SubPageList/SubPageList.php |
— | — | @@ -69,20 +69,4 @@ |
70 | 70 | $wgHooks['ArticleDeleteComplete'][] = 'SPLHooks::onArticleDeleteComplete'; |
71 | 71 | $wgHooks['TitleMoveComplete'][] = 'SPLHooks::onTitleMoveComplete'; |
72 | 72 | |
73 | | -$wgExtensionFunctions[] = 'efSPLSetup'; |
74 | | - |
75 | | -/** |
76 | | - * Initialization function. |
77 | | - * |
78 | | - * @since 0.1 |
79 | | - */ |
80 | | -function efSPLSetup() { |
81 | | - global $wgVersion; |
82 | | - |
83 | | - // This function has been deprecated in 1.16, but needed for earlier versions. |
84 | | - if ( version_compare( $wgVersion, '1.16', '<' ) ) { |
85 | | - |
86 | | - } |
87 | | -} |
88 | | - |
89 | 73 | require_once 'SubPageList.settings.php'; |
Index: trunk/extensions/QPoll/qp_user.php |
— | — | @@ -171,18 +171,6 @@ |
172 | 172 | $wgHooks['LoadAllMessages'][] = new qp_Setup; |
173 | 173 | } |
174 | 174 | |
175 | | - static function onLoadAllMessages() { |
176 | | - if ( !self::$messagesLoaded ) { |
177 | | - global $wgVersion; |
178 | | - self::$messagesLoaded = true; |
179 | | - # for MW 1.15 (still being used by many customers) |
180 | | - if ( version_compare( $wgVersion, '1.16', '<' ) ) { |
181 | | - |
182 | | - } |
183 | | - } |
184 | | - return true; |
185 | | - } |
186 | | - |
187 | 175 | static function ParserFunctionsWords( $lang ) { |
188 | 176 | $words = array(); |
189 | 177 | $words[ 'en' ] = array( 'qpuserchoice'=>array( 0, 'qpuserchoice' ) ); |
— | — | @@ -355,8 +343,6 @@ |
356 | 344 | $this->ppframe = $frame; |
357 | 345 | $this->mRequest = &$wgRequest; |
358 | 346 | $this->mResponse = $wgRequest->response(); |
359 | | - # Determine which messages will be used, according to the language. |
360 | | - qp_Setup::onLoadAllMessages(); |
361 | 347 | # load current skin |
362 | 348 | if ( self::$skin === null ) { |
363 | 349 | self::$skin = $wgUser->getSkin(); |
— | — | @@ -1265,7 +1251,6 @@ |
1266 | 1252 | var $error_message = 'no_such_poll'; |
1267 | 1253 | |
1268 | 1254 | function qpuserchoice( &$parser, $frame, $args ) { |
1269 | | - qp_Setup::onLoadAllMessages(); |
1270 | 1255 | $this->frame = &$frame; |
1271 | 1256 | $this->args = &$args; |
1272 | 1257 | if ( isset( $args[ 0 ] ) ) { |
Index: trunk/extensions/DPLforum/DPLforum.php |
— | — | @@ -35,7 +35,6 @@ |
36 | 36 | die( 1 ); |
37 | 37 | } |
38 | 38 | |
39 | | -$wgExtensionFunctions[] = 'wfDPLforum'; |
40 | 39 | $wgHooks['ParserFirstCallInit'][] = 'wfDPLinit'; |
41 | 40 | $wgHooks['LanguageGetMagic'][] = 'wfDPLmagic'; |
42 | 41 | $wgExtensionCredits['parserhook'][] = array( |
— | — | @@ -51,10 +50,6 @@ |
52 | 51 | $wgExtensionMessagesFiles['DPLforum'] = $dir . 'DPLforum.i18n.php'; |
53 | 52 | $wgAutoloadClasses['DPLForum'] = $dir . 'DPLforum_body.php'; |
54 | 53 | |
55 | | -function wfDPLforum() { |
56 | | - // for compatibility with MW < 1.16 |
57 | | -} |
58 | | - |
59 | 54 | function wfDPLinit( &$parser ) { |
60 | 55 | $parser->setHook( 'forum', 'parseForum' ); |
61 | 56 | $parser->setFunctionHook( 'forumlink', array( new DPLForum(), 'link' ) ); |
Index: trunk/extensions/MetavidWiki/includes/MV_GlobalFunctions.php |
— | — | @@ -60,7 +60,6 @@ |
61 | 61 | $wgAPIModules; |
62 | 62 | |
63 | 63 | |
64 | | - mvfInitMessages(); |
65 | 64 | //add the ALL page header |
66 | 65 | mvfAutoAllPageHeader(); |
67 | 66 | |
— | — | @@ -420,15 +419,6 @@ |
421 | 420 | $mvgLang = new $mvLangClass(); |
422 | 421 | } |
423 | 422 | } |
424 | | -/** |
425 | | - * Initialize messages - these settings must be applied later on, since |
426 | | - * the MessageCache does not exist yet when the settings are loaded in |
427 | | - * LocalSettings.php. |
428 | | - * Function based on version in ContributionScores extension |
429 | | - */ |
430 | | -function mvfInitMessages() { |
431 | | - |
432 | | -} |
433 | 423 | |
434 | 424 | /* |
435 | 425 | * Utility functions: |