Popups
Displays page/reference previews when hovering over a link to an article/reference.
Loading...
Searching...
No Matches
Popups\PopupsGadgetsIntegration Class Reference

Public Member Functions

 __construct (Config $config, ExtensionRegistry $extensionRegistry)
 
 conflictsWithNavPopupsGadget (User $user)
 Check if Popups conflicts with Nav Popups Gadget If user enabled Nav Popups, Popups is unavailable.
 
 conflictsWithRefTooltipsGadget (User $user)
 Check if Popups conflicts with Ref Tooltips Gadget If user enabled Ref Tooltip, Popups is unavailable.
 

Public Attributes

const CONFIG_NAVIGATION_POPUPS_NAME = 'PopupsConflictingNavPopupsGadgetName'
 
const CONFIG_REFERENCE_TOOLTIPS_NAME = 'PopupsConflictingRefTooltipsGadgetName'
 

Constructor & Destructor Documentation

◆ __construct()

Popups\PopupsGadgetsIntegration::__construct ( Config $config,
ExtensionRegistry $extensionRegistry )
Parameters
Config$configMediaWiki configuration
ExtensionRegistry$extensionRegistryMediaWiki extension registry

Member Function Documentation

◆ conflictsWithNavPopupsGadget()

Popups\PopupsGadgetsIntegration::conflictsWithNavPopupsGadget ( User $user)

Check if Popups conflicts with Nav Popups Gadget If user enabled Nav Popups, Popups is unavailable.

Parameters
User$userUser whose gadget settings are checked
Returns
bool

◆ conflictsWithRefTooltipsGadget()

Popups\PopupsGadgetsIntegration::conflictsWithRefTooltipsGadget ( User $user)

Check if Popups conflicts with Ref Tooltips Gadget If user enabled Ref Tooltip, Popups is unavailable.

Parameters
User$userUser whose gadget settings are checked
Returns
bool

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