Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -600,10 +600,6 @@ |
601 | 601 | $subject: subject of the mail |
602 | 602 | $text: text of the mail |
603 | 603 | |
604 | | -'ExtendJSGlobalVars': called right before Skin::makeVariablesScript is executed |
605 | | -&$vars: variable (or multiple variables) to be added into the output |
606 | | - of Skin::makeVariablesScript |
607 | | - |
608 | 604 | 'FetchChangesList': When fetching the ChangesList derivative for a particular user |
609 | 605 | &$user: User the list is being fetched for |
610 | 606 | &$skin: Skin object to be used with the list |
— | — | @@ -1302,9 +1298,5 @@ |
1303 | 1299 | 'wgQueryPages': called when initialising $wgQueryPages, use this to add new query pages to be updated with maintenance/updateSpecialPages.php |
1304 | 1300 | $query: $wgQueryPages itself |
1305 | 1301 | |
1306 | | -'wfMessageCacheReplace': called after sidebar memcached key has been deleted, use this to replace core messages by using an extension |
1307 | | -$title: title of the MediaWiki: message page |
1308 | | -$text: text of the MediaWiki: message page |
1309 | | - |
1310 | 1302 | More hooks might be available but undocumented, you can execute |
1311 | 1303 | ./maintenance/findhooks.php to find hidden one. |
Index: trunk/phase3/includes/MessageCache.php |
— | — | @@ -363,7 +363,6 @@ |
364 | 364 | } |
365 | 365 | $this->unlock(); |
366 | 366 | $parserMemc->delete(wfMemcKey('sidebar')); |
367 | | - wfRunHooks( 'wfMessageCacheReplace', array( $title, $text ) ); |
368 | 367 | wfProfileOut( __METHOD__ ); |
369 | 368 | } |
370 | 369 | |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -362,8 +362,6 @@ |
363 | 363 | $vars['wgAjaxWatch'] = $msgs; |
364 | 364 | } |
365 | 365 | |
366 | | - wfRunHooks('ExtendJSGlobalVars', array(&$vars)); |
367 | | - |
368 | 366 | return self::makeVariablesScript( $vars ); |
369 | 367 | } |
370 | 368 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -175,7 +175,6 @@ |
176 | 176 | * Allow an $error message to be passed to ArticleDelete hook |
177 | 177 | * Allow extensions to modify the user creation form by calling addInputItem(); |
178 | 178 | * Add meta generator tag to HTML output |
179 | | -* Two new hooks, ExtendJSGlobalVars and wfMessageCacheReplace added |
180 | 179 | * MediawikiPerformAction hook is now passed the Mediawiki object |
181 | 180 | * Added blank special page Special:BlankPage for benchmarking, etc. |
182 | 181 | * (bug 13862) Specialpages now has a horizontal TOC if there's three or more |