Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1264,11 +1264,6 @@ |
1265 | 1265 | 'MaintenanceRefreshLinksInit': before executing the refreshLinks.php maintenance script |
1266 | 1266 | $refreshLinks: RefreshLinks object |
1267 | 1267 | |
1268 | | -'MagicWordMagicWords': When defining new magic word. |
1269 | | -DEPRECATED: use $magicWords in a file listed in |
1270 | | -$wgExtensionMessagesFiles instead. |
1271 | | -$magicWords: array of strings |
1272 | | - |
1273 | 1268 | 'MagicWordwgVariableIDs': When definig new magic words IDs. |
1274 | 1269 | $variableIDs: array of strings |
1275 | 1270 | |
Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -302,7 +302,8 @@ |
303 | 303 | methods have been removed, the variant is now part of the $query argument. |
304 | 304 | * Removed Title::isValidCssJsSubpage(), deprecated since 1.17 in favor of |
305 | 305 | using Title::isCssJsSubpage() or checking Title::isWrongCaseCssJsPage(). |
306 | | -* (bug 24430) Remove number of column for edit field in preference page |
| 306 | +* (bug 24430) Remove number of column for edit field in preference page. |
| 307 | +* Support for the deprecated hook MagicWordMagicWords was removed. |
307 | 308 | |
308 | 309 | == Compatibility == |
309 | 310 | |
Index: trunk/phase3/includes/MagicWord.php |
— | — | @@ -223,13 +223,6 @@ |
224 | 224 | */ |
225 | 225 | static function getVariableIDs() { |
226 | 226 | if ( !self::$mVariableIDsInitialised ) { |
227 | | - # Deprecated constant definition hook, available for extensions that need it |
228 | | - $magicWords = array(); |
229 | | - wfRunHooks( 'MagicWordMagicWords', array( &$magicWords ) ); |
230 | | - foreach ( $magicWords as $word ) { |
231 | | - define( $word, $word ); |
232 | | - } |
233 | | - |
234 | 227 | # Get variable IDs |
235 | 228 | wfRunHooks( 'MagicWordwgVariableIDs', array( &self::$mVariableIDs ) ); |
236 | 229 | self::$mVariableIDsInitialised = true; |