Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\MediaWiki\Hooks\BaseTemplateToolbox Class Reference
Inheritance diagram for SMW\MediaWiki\Hooks\BaseTemplateToolbox:
Inheritance graph
[legend]
Collaboration diagram for SMW\MediaWiki\Hooks\BaseTemplateToolbox:
Collaboration graph
[legend]

Public Member Functions

 __construct (NamespaceExaminer $namespaceExaminer)
 
 process ( $skinTemplate, &$toolbox)
 

Detailed Description

Hook: Called by BaseTemplate when building the toolbox array and returning it for the skin to output.

Add a link to the toolbox to view the properties of the current page in Special:Browse. The links has the CSS id "t-smwbrowselink" so that it can be skinned or hidden with all standard mechanisms (also by individual users with custom CSS).

See also
https://www.mediawiki.org/wiki/Manual:Hooks/BaseTemplateToolbox

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\Hooks\BaseTemplateToolbox::__construct ( NamespaceExaminer  $namespaceExaminer)
Since
1.9
Parameters
NamespaceExaminer$namespaceExaminer

Member Function Documentation

◆ process()

SMW\MediaWiki\Hooks\BaseTemplateToolbox::process (   $skinTemplate,
$toolbox 
)
Since
1.9
Parameters
$skinTemplate
&$toolbox
Returns
boolean

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy