Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SWL\MediaWiki\Hooks\GetPreferences Class Reference

Public Member Functions

 __construct (User $user, Language $language, array &$preferences)
 
 setConfiguration (array $configuration)
 
 execute ()
 

Protected Member Functions

 getAllSwlGroups ()
 
 addEmailNotificationPreference ()
 
 addTopLinkPreference ()
 
 addGoupPreference ( $type, $group, $name, $properties)
 

Protected Attributes

 $user
 
 $language
 
 $preferences
 
 $configuration
 

Detailed Description

Adds the preferences relevant to Semantic Watchlist https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences

GNU GPL v2+

Since
1.0
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
mwjames

Constructor & Destructor Documentation

◆ __construct()

SWL\MediaWiki\Hooks\GetPreferences::__construct ( User  $user,
Language  $language,
array &  $preferences 
)
Since
1.0
Parameters
User$user
Language$language
array&$preferences

Member Function Documentation

◆ addGoupPreference()

SWL\MediaWiki\Hooks\GetPreferences::addGoupPreference (   $type,
  $group,
  $name,
  $properties 
)
protected

swl-prefs-category-label, swl-prefs-namespace-label, swl-prefs-concept-label

◆ execute()

SWL\MediaWiki\Hooks\GetPreferences::execute ( )
Since
1.0
Returns
boolean

◆ setConfiguration()

SWL\MediaWiki\Hooks\GetPreferences::setConfiguration ( array  $configuration)
Since
1.0
Parameters
array$configuration

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

About | General disclaimer | Privacy policy