mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-12-18 02:00:40 +00:00
Improve some parameter docs
Change-Id: Ib81e443362b506772d6b7df1815baaa9f94fa5a6
This commit is contained in:
parent
7960df75ca
commit
9b6bbc99d0
|
@ -3,10 +3,10 @@
|
||||||
class CiteThisPageHooks {
|
class CiteThisPageHooks {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param SkinTemplate $skintemplate
|
* @param SkinTemplate &$skintemplate
|
||||||
* @param $nav_urls
|
* @param array &$nav_urls
|
||||||
* @param $oldid
|
* @param int &$oldid
|
||||||
* @param $revid
|
* @param int &$revid
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink(
|
public static function onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink(
|
||||||
|
@ -49,7 +49,7 @@ class CiteThisPageHooks {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param BaseTemplate $baseTemplate
|
* @param BaseTemplate $baseTemplate
|
||||||
* @param array $toolbox
|
* @param array &$toolbox
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function onBaseTemplateToolbox( BaseTemplate $baseTemplate, array &$toolbox ) {
|
public static function onBaseTemplateToolbox( BaseTemplate $baseTemplate, array &$toolbox ) {
|
||||||
|
|
|
@ -17,7 +17,7 @@ class SpecialCiteThisPage extends FormSpecialPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $par string
|
* @param string $par
|
||||||
*/
|
*/
|
||||||
public function execute( $par ) {
|
public function execute( $par ) {
|
||||||
$this->setHeaders();
|
$this->setHeaders();
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
|
|
||||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||||
|
@ -12,6 +9,5 @@
|
||||||
</rule>
|
</rule>
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php,php5,inc" />
|
<arg name="extensions" value="php,php5,inc" />
|
||||||
<arg name="encoding" value="utf8" />
|
<arg name="encoding" value="UTF-8" />
|
||||||
<exclude-pattern>vendor</exclude-pattern>
|
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
Loading…
Reference in a new issue