Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1465,7 +1465,6 @@ |
1466 | 1466 | |
1467 | 1467 | 'PersonalUrls': Alter the user-specific navigation links (e.g. "my page, |
1468 | 1468 | my talk page, my contributions" etc). |
1469 | | - |
1470 | 1469 | &$personal_urls: Array of link specifiers (see SkinTemplate.php) |
1471 | 1470 | &$title: Title object representing the current page |
1472 | 1471 | |
— | — | @@ -1505,15 +1504,6 @@ |
1506 | 1505 | $article: the page the form is shown for |
1507 | 1506 | $out: OutputPage object |
1508 | 1507 | |
1509 | | -'ResourceLoaderRegisterModules': Right before modules information is required, such as when responding to a resource |
1510 | | -loader request or generating HTML output. |
1511 | | -&$resourceLoader: ResourceLoader object |
1512 | | - |
1513 | | -'ResourceLoaderGetStartupModules': Run once the startup module is being generated. This allows you |
1514 | | -to add modules to the startup module. This hook should be used sparingly since any module added here |
1515 | | -will be loaded on all pages. This hook is useful if you want to make code available to module loader |
1516 | | -scripts. |
1517 | | - |
1518 | 1508 | 'RawPageViewBeforeOutput': Right before the text is blown out in action=raw |
1519 | 1509 | &$obj: RawPage object |
1520 | 1510 | &$text: The text that's going to be the output |
— | — | @@ -1527,6 +1517,15 @@ |
1528 | 1518 | page/request state must be added through MakeGlobalVariablesScript instead. |
1529 | 1519 | &$vars: array( variable name => value ) |
1530 | 1520 | |
| 1521 | +'ResourceLoaderGetStartupModules': Run once the startup module is being generated. This allows you |
| 1522 | +to add modules to the startup module. This hook should be used sparingly since any module added here |
| 1523 | +will be loaded on all pages. This hook is useful if you want to make code available to module loader |
| 1524 | +scripts. |
| 1525 | + |
| 1526 | +'ResourceLoaderRegisterModules': Right before modules information is required, such as when responding to a resource |
| 1527 | +loader request or generating HTML output. |
| 1528 | +&$resourceLoader: ResourceLoader object |
| 1529 | + |
1531 | 1530 | 'RevisionInsertComplete': called after a revision is inserted into the DB |
1532 | 1531 | &$revision: the Revision |
1533 | 1532 | $data: the data stored in old_text. The meaning depends on $flags: if external |