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, ?GadgetRepo $gadgetRepo)
 
 conflictsWithNavPopupsGadget (User $user)
 Check if Popups conflicts with Nav Popups Gadget If user enabled Nav Popups, Popups is unavailable.
 

Public Attributes

const CONFIG_NAVIGATION_POPUPS_NAME = 'PopupsConflictingNavPopupsGadgetName'
 

Constructor & Destructor Documentation

◆ __construct()

Popups\PopupsGadgetsIntegration::__construct ( Config $config,
?GadgetRepo $gadgetRepo )
Parameters
Config$configMediaWiki configuration
GadgetRepo | null$gadgetRepo

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

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