< Extension:WikiSEO < Hooks
WikiSEOLuaPreAddPageProps
Available from version 2.6.3 (Gerrit change 656107)
Allows for adjusting or replacing metadata that is saved to the page props set by the lua module.
Define function:
public static function onWikiSEOLuaPreAddPageProps( array &$metadata ) { ... }
Attach hook:
$wgHooks['WikiSEOLuaPreAddPageProps'][] = 'MyExtensionHooks::onWikiSEOLuaPreAddPageProps';
Called from:File(s): WikiSEO / includes/SeoLua.php
Function(s): set

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:WikiSEOLuaPreAddPageProps extensions.

Parameters

&$metadata
An array of key-value pairs validated through Validator::validateParams
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.