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

Public Member Functions

 __construct (PermissionExaminer $permissionExaminer)
 
 process (User $user, array &$preferences)
 

Public Attributes

const ENABLE_ENTITY_SUGGESTER = 'smw-prefs-general-options-suggester-textinput'
 
const VIEW_JOBQUEUE_WATCHLIST = 'smw-prefs-general-options-jobqueue-watchlist'
 
const DISABLE_EDITPAGE_INFO = 'smw-prefs-general-options-disable-editpage-info'
 
const DISABLE_SEARCH_INFO = 'smw-prefs-general-options-disable-search-info'
 

Detailed Description

Hook: GetPreferences adds user preference

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

GNU GPL v2+

Since
2.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\Hooks\GetPreferences::__construct ( PermissionExaminer  $permissionExaminer)
Since
3.2
Parameters
PermissionExaminer$permissionExaminer

Member Function Documentation

◆ process()

SMW\MediaWiki\Hooks\GetPreferences::process ( User  $user,
array &  $preferences 
)
Since
2.0
Parameters
User$user
array&$preferences
Returns
true

Member Data Documentation

◆ DISABLE_EDITPAGE_INFO

const SMW\MediaWiki\Hooks\GetPreferences::DISABLE_EDITPAGE_INFO = 'smw-prefs-general-options-disable-editpage-info'

Option to diable the edit page information on an edit form

◆ DISABLE_SEARCH_INFO

const SMW\MediaWiki\Hooks\GetPreferences::DISABLE_SEARCH_INFO = 'smw-prefs-general-options-disable-search-info'

Option to disable the search information on the Special:Search page

◆ ENABLE_ENTITY_SUGGESTER

const SMW\MediaWiki\Hooks\GetPreferences::ENABLE_ENTITY_SUGGESTER = 'smw-prefs-general-options-suggester-textinput'

Option to enable textinput suggester

◆ VIEW_JOBQUEUE_WATCHLIST

const SMW\MediaWiki\Hooks\GetPreferences::VIEW_JOBQUEUE_WATCHLIST = 'smw-prefs-general-options-jobqueue-watchlist'

Option to enable jobqueue watchlist


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

About | General disclaimer | Privacy policy