Index: trunk/phase3/includes/Setup.php |
— | — | @@ -434,13 +434,6 @@ |
435 | 435 | wfProfileOut( $fname . '-globals' ); |
436 | 436 | wfProfileIn( $fname . '-extensions' ); |
437 | 437 | |
438 | | -# Skin setup functions |
439 | | -# Entries can be added to this variable during the inclusion |
440 | | -# of the extension file. Skins can then perform any necessary initialisation. |
441 | | -foreach ( $wgSkinExtensionFunctions as $func ) { |
442 | | - call_user_func( $func ); |
443 | | -} |
444 | | - |
445 | 438 | # Extension setup functions for extensions other than skins |
446 | 439 | # Entries should be added to this variable during the inclusion |
447 | 440 | # of the extension file. This allows the extension to perform |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -4526,12 +4526,6 @@ |
4527 | 4527 | $wgExtensionFunctions = array(); |
4528 | 4528 | |
4529 | 4529 | /** |
4530 | | - * Extension functions for initialisation of skins. This is called somewhat earlier |
4531 | | - * than $wgExtensionFunctions. |
4532 | | - */ |
4533 | | -$wgSkinExtensionFunctions = array(); |
4534 | | - |
4535 | | -/** |
4536 | 4530 | * Extension messages files. |
4537 | 4531 | * |
4538 | 4532 | * Associative array mapping extension name to the filename where messages can be |
Index: trunk/phase3/includes/specials/SpecialVersion.php |
— | — | @@ -261,9 +261,9 @@ |
262 | 262 | * @return String: Wikitext |
263 | 263 | */ |
264 | 264 | function getExtensionCredits() { |
265 | | - global $wgExtensionCredits, $wgExtensionFunctions, $wgParser, $wgSkinExtensionFunctions; |
| 265 | + global $wgExtensionCredits, $wgExtensionFunctions, $wgParser; |
266 | 266 | |
267 | | - if ( !count( $wgExtensionCredits ) && !count( $wgExtensionFunctions ) && !count( $wgSkinExtensionFunctions ) ) { |
| 267 | + if ( !count( $wgExtensionCredits ) && !count( $wgExtensionFunctions ) ) { |
268 | 268 | return ''; |
269 | 269 | } |
270 | 270 | |
— | — | @@ -321,11 +321,6 @@ |
322 | 322 | $out .= '<tr><td colspan="4">' . $this->listToText( $fhooks ) . "</td></tr>\n"; |
323 | 323 | } |
324 | 324 | |
325 | | - if ( count( $wgSkinExtensionFunctions ) ) { |
326 | | - $out .= $this->openExtType( wfMsg( 'version-skin-extension-functions' ), 'skin-extension-functions' ); |
327 | | - $out .= '<tr><td colspan="4">' . $this->listToText( $wgSkinExtensionFunctions ) . "</td></tr>\n"; |
328 | | - } |
329 | | - |
330 | 325 | $out .= Xml::closeElement( 'table' ); |
331 | 326 | |
332 | 327 | return $out; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -60,6 +60,7 @@ |
61 | 61 | * $wgProfiling has been removed. |
62 | 62 | * The spyc library is now no longer included in phase3. |
63 | 63 | * (bug 28343) Unused preferences contextlines/contextchars have been removed |
| 64 | +* $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead. |
64 | 65 | |
65 | 66 | === New features in 1.18 === |
66 | 67 | * (bug 8130) Query pages should limit to content namespaces, not just main |