Template:MediaWiki hooks included in file: Difference between revisions

From Bonkipedia
[[mw:]]>SamanthaNguyen
m (re-label)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:04, 12 November 2022

This category includes pages on MediaWiki hooks that are included in {{{filename}}}.php ([[Special:MyLanguage/Manual:{{{filename}}}.php|manual page on MediaWiki.org]]).

Template documentation

Copy and paste this template

With only the required parameters

{{MediaWiki hooks included in file|filename=}}

With all parameters including optional parameters

{{MediaWiki hooks included in file|filename=|filesuffix=}}

Examples

Linking to OutputPage.php

Wikitext

{{MediaWiki hooks included in file|filename=OutputPage}}

Output

This category includes pages on MediaWiki hooks that are included in OutputPage.php (manual page on MediaWiki.org).


Template data

This category provides a standard view for information for MediaWiki hooks included in a specific MediaWiki file.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
File namefilename

A string representing the name of a file in MediaWiki, without the ".php" suffix.

Example
PageUpdater
Stringrequired
File suffixfilesuffix

A string representing what suffix to use to append to the end of the file name.

Default
.php
Example
.inc
Stringsuggested
MediaWiki branchbranch

The branch to use when linking to the official PHP documentation on Doxygen

Default
master
Example
REL1_34
Stringoptional