Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -519,7 +519,7 @@ |
520 | 520 | &$output: OutputPage object |
521 | 521 | &$user: User |
522 | 522 | $request: WebRequest object |
523 | | -$this: Mediawiki object |
| 523 | +$mediaWiki: Mediawiki object |
524 | 524 | |
525 | 525 | 'BeforePageDisplay': Prior to outputting a page |
526 | 526 | &$out: OutputPage object |
— | — | @@ -556,13 +556,13 @@ |
557 | 557 | 'CacheHeadersAfterSet': after cache headers have been set in |
558 | 558 | OutputPage::sendCacheControl, so they can be overridden without |
559 | 559 | disabling output method |
560 | | -$this: OutputPage instance |
| 560 | +$out: OutputPage instance |
561 | 561 | |
562 | 562 | 'CategoryPageView': before viewing a categorypage in CategoryPage::view |
563 | 563 | $catpage: CategoryPage instance |
564 | 564 | |
565 | 565 | 'ChangesListInsertArticleLink': Override or augment link to article in RC list. |
566 | | -&$this: ChangesList instance. |
| 566 | +&$changesList: ChangesList instance. |
567 | 567 | &$articlelink: HTML of link to article (already filled-in). |
568 | 568 | &$s: HTML of row that is being constructed. |
569 | 569 | &$rc: RecentChange instance. |
— | — | @@ -790,7 +790,7 @@ |
791 | 791 | 'getOtherBlockLogLink': Get links to the block log from extensions which blocks |
792 | 792 | users and/or IP addresses too |
793 | 793 | $otherBlockLink: An array with links to other block logs |
794 | | -$$this->ip: The requested IP address or username |
| 794 | +$ip: The requested IP address or username |
795 | 795 | |
796 | 796 | 'GetPreferences': modify user preferences |
797 | 797 | $user: User whose preferences are being modified. |
— | — | @@ -818,7 +818,7 @@ |
819 | 819 | 'ImageBeforeProduceHTML': Called before producing the HTML created by a wiki |
820 | 820 | image insertion. You can skip the default logic entirely by returning |
821 | 821 | false, or just modify a few things using call-by-reference. |
822 | | -&$this: Skin object |
| 822 | +&$skin: Skin object |
823 | 823 | &$title: Title object of the image |
824 | 824 | &$file: File object, or false if it doesn't exist |
825 | 825 | &$frameParams: Various parameters with special meanings; see documentation in |
— | — | @@ -876,9 +876,9 @@ |
877 | 877 | |
878 | 878 | 'InternalParseBeforeLinks': during Parser's internalParse method before links |
879 | 879 | but after noinclude/includeonly/onlyinclude and other processing. |
880 | | -&$this: Parser object |
| 880 | +&$parser: Parser object |
881 | 881 | &$text: string containing partially parsed text |
882 | | -&$this->mStripState: Parser's internal StripState object |
| 882 | +&$stripState: Parser's internal StripState object |
883 | 883 | |
884 | 884 | 'InvalidateEmailComplete': Called after a user's email has been invalidated successfully |
885 | 885 | $user: user (object) whose email is being invalidated |
— | — | @@ -1055,12 +1055,12 @@ |
1056 | 1056 | 'MediaWikiPerformAction': Override MediaWiki::performAction(). |
1057 | 1057 | Use this to do something completely different, after the basic |
1058 | 1058 | globals have been set up, but before ordinary actions take place. |
1059 | | -$output: $wgOut |
| 1059 | +$output: $wgOut |
1060 | 1060 | $article: $wgArticle |
1061 | | -$title: $wgTitle |
1062 | | -$user: $wgUser |
| 1061 | +$title: $wgTitle |
| 1062 | +$user: $wgUser |
1063 | 1063 | $request: $wgRequest |
1064 | | -$this: The $mediawiki object |
| 1064 | +$mediaWiki: The $mediawiki object |
1065 | 1065 | |
1066 | 1066 | 'MessagesPreLoad': When loading a message from the database |
1067 | 1067 | $title: title of the message (string) |
— | — | @@ -1377,15 +1377,15 @@ |
1378 | 1378 | 'SkinTemplateTabAction': Override SkinTemplate::tabAction(). |
1379 | 1379 | You can either create your own array, or alter the parameters for |
1380 | 1380 | the normal one. |
1381 | | -&$this: The SkinTemplate instance. |
1382 | | -$title: Title instance for the page. |
1383 | | -$message: Visible label of tab. |
1384 | | -$selected: Whether this is a selected tab. |
| 1381 | +&$sktemplate: The SkinTemplate instance. |
| 1382 | +$title: Title instance for the page. |
| 1383 | +$message: Visible label of tab. |
| 1384 | +$selected: Whether this is a selected tab. |
1385 | 1385 | $checkEdit: Whether or not the action=edit query should be added if appropriate. |
1386 | | -&$classes: Array of CSS classes to apply. |
1387 | | -&$query: Query string to add to link. |
1388 | | -&$text: Link text. |
1389 | | -&$result: Complete assoc. array if you want to return true. |
| 1386 | +&$classes: Array of CSS classes to apply. |
| 1387 | +&$query: Query string to add to link. |
| 1388 | +&$text: Link text. |
| 1389 | +&$result: Complete assoc. array if you want to return true. |
1390 | 1390 | |
1391 | 1391 | 'SkinTemplateTabs': called when finished to build the actions tabs |
1392 | 1392 | $sktemplate: SkinTemplate object |
— | — | @@ -1532,19 +1532,19 @@ |
1533 | 1533 | $article: article object that was watched |
1534 | 1534 | |
1535 | 1535 | 'UploadCreateFromRequest': when UploadBase::createFromRequest has been called |
1536 | | -string $type: the requested upload type |
| 1536 | +$type: (string) the requested upload type |
1537 | 1537 | &$className: the class name of the Upload instance to be created |
1538 | 1538 | |
1539 | 1539 | 'UploadComplete': when Upload completes an upload |
1540 | 1540 | &$upload: an UploadBase child instance |
1541 | 1541 | |
1542 | 1542 | 'UploadFormInitDescriptor': after the descriptor for the upload form as been |
1543 | | -assembled |
1544 | | -array $descriptor: the HTMLForm descriptor |
| 1543 | + assembled |
| 1544 | +$descriptor: (array) the HTMLForm descriptor |
1545 | 1545 | |
1546 | 1546 | 'UploadFormSourceDescriptors': after the standard source inputs have been |
1547 | 1547 | added to the descriptor |
1548 | | -array $descriptor: the HTMLForm descriptor |
| 1548 | +$descriptor: (array) the HTMLForm descriptor |
1549 | 1549 | |
1550 | 1550 | 'UploadVerification': additional chances to reject an uploaded file |
1551 | 1551 | string $saveName: destination file name |