mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Remove non-helpful lines of documentation
These do nothing but repeating literally what the code already says. Change-Id: I93c4a60f190e17a845e37e48b1c0a80bde2292c0
This commit is contained in:
parent
8539f75b54
commit
e13781ce1f
|
@ -304,7 +304,7 @@ trait ApiParsoidTrait {
|
|||
/**
|
||||
* Get the page language from a title, using the content language as fallback on special pages
|
||||
*
|
||||
* @param Title $title Title
|
||||
* @param Title $title
|
||||
* @return Language Content language
|
||||
*/
|
||||
public static function getPageLanguage( Title $title ) : Language {
|
||||
|
|
|
@ -600,7 +600,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
/**
|
||||
* Gets the relevant HTML for the latest log entry on a given title, including a full log link.
|
||||
*
|
||||
* @param Title $title Title
|
||||
* @param Title $title
|
||||
* @param array|string $types
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -750,7 +750,7 @@ class VisualEditorHooks {
|
|||
/**
|
||||
* Handler for the GetPreferences hook, to add and hide user preferences as configured
|
||||
*
|
||||
* @param User $user The user object
|
||||
* @param User $user
|
||||
* @param array &$preferences Their preferences object
|
||||
*/
|
||||
public static function onGetPreferences( User $user, array &$preferences ) {
|
||||
|
@ -843,7 +843,7 @@ class VisualEditorHooks {
|
|||
/**
|
||||
* Handler for the GetBetaPreferences hook, to add and hide user beta preferences as configured
|
||||
*
|
||||
* @param User $user The user object
|
||||
* @param User $user
|
||||
* @param array &$preferences Their preferences object
|
||||
*/
|
||||
public static function onGetBetaPreferences( User $user, array &$preferences ) {
|
||||
|
@ -1089,7 +1089,7 @@ class VisualEditorHooks {
|
|||
* @param Article|null $article The page being viewed.
|
||||
* @param OutputPage $output The page view.
|
||||
* @param User $user The user-specific settings.
|
||||
* @param WebRequest $request The request.
|
||||
* @param WebRequest $request
|
||||
* @param MediaWiki $mediaWiki Helper class.
|
||||
*/
|
||||
public static function onBeforeInitialize(
|
||||
|
|
Loading…
Reference in a new issue