MobileFrontend
Mobile optimised frontend for MediaWiki
|
Public Member Functions | |
__construct (UserFactory $userFactory) | |
onUserGetDefaultOptions (&$defaultUserOptions) | |
Register default preference value for AMC opt-in. | |
onGetPreferences ( $user, &$preferences) | |
Register AMC preference. | |
onListDefinedTags (&$tags) | |
ListDefinedTags hook handler. | |
onChangeTagsListActive (&$tags) | |
ChangeTagsListActive hook handler. | |
onManualLogEntryBeforePublish ( $logEntry) | |
ManualLogEntryBeforePublish hook handler that tags actions logged when user uses AMC mode. | |
onRecentChange_save ( $rc) | |
RecentChange_save hook handler that tags changes performed when user uses AMC mode. | |
MobileFrontend\Amc\Hooks::onChangeTagsListActive | ( | & | $tags | ) |
ChangeTagsListActive hook handler.
array | &$tags | The list of tags. Add your extension's tags to this array. |
MobileFrontend\Amc\Hooks::onGetPreferences | ( | $user, | |
& | $preferences ) |
Register AMC preference.
User | $user | |
array | &$preferences |
MobileFrontend\Amc\Hooks::onListDefinedTags | ( | & | $tags | ) |
ListDefinedTags hook handler.
array | &$tags | The list of tags. Add your extension's tags to this array. |
MobileFrontend\Amc\Hooks::onManualLogEntryBeforePublish | ( | $logEntry | ) |
ManualLogEntryBeforePublish hook handler that tags actions logged when user uses AMC mode.
\ManualLogEntry | $logEntry |
MobileFrontend\Amc\Hooks::onRecentChange_save | ( | $rc | ) |
RecentChange_save hook handler that tags changes performed when user uses AMC mode.
\RecentChange | $rc |
MobileFrontend\Amc\Hooks::onUserGetDefaultOptions | ( | & | $defaultUserOptions | ) |
Register default preference value for AMC opt-in.
array | &$defaultUserOptions | Reference to default options array |