mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
9590284c70
MediaWikiGadgetsDefinition does some basic gadget name sanitization and we have to do the same when checking "is gadget enabled for user" Changes: - sanitize gadget name same way as MediaWikiGadgetsDefinitionRepo::newFromDefinition() does. - add try{} catch() when loading gadget as getGadget might throw an exception Bug: T160081 Change-Id: Ia7a57e9dcfa3b25129d6d2bf75795372fad2b251 |
||
---|---|---|
.. | ||
PopupsContext.php | ||
PopupsGadgetsIntegration.php | ||
PopupsHooks.php |