Don't use $this in hook description since it's a reserved word
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 7 May 2009 20:15:09 +0000 (20:15 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 7 May 2009 20:15:09 +0000 (20:15 +0000)
docs/hooks.txt

index 11414b1..1dce1f0 100644 (file)
@@ -862,7 +862,7 @@ $linkType: The external link type
 &$tags: The list of tags.
 
 'LoadAllMessages': called by MessageCache::loadAllMessages() to load extensions messages
-&$this: The MessageCache object
+&$messageCache: The MessageCache object
 
 'LoadExtensionSchemaUpdates': called by maintenance/updaters.inc when upgrading database schema