mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 15:44:09 +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 |
||
---|---|---|
.. | ||
PopupsContextTest.php | ||
PopupsContextTestWrapper.php | ||
PopupsGadgetsIntegrationTest.php | ||
PopupsHooksTest.php |