diff options
Diffstat (limited to 'includes/ResourceLoader/CodexModule.php')
-rw-r--r-- | includes/ResourceLoader/CodexModule.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/ResourceLoader/CodexModule.php b/includes/ResourceLoader/CodexModule.php index b9935f581c84..3f72f5241514 100644 --- a/includes/ResourceLoader/CodexModule.php +++ b/includes/ResourceLoader/CodexModule.php @@ -192,6 +192,15 @@ class CodexModule extends FileModule { return false; } + public function supportsURLLoading() { + // We need to override this explicitly. The parent method might return true if there are + // no 'packageFiles' set in the module definition and they're all generated by us. + // It's possible that this "should" return true in some circumstances (e.g. style-only use + // of CodexModule combined with non-packageFiles scripts), but those are edge cases that + // we're choosing not to support here. + return false; + } + /** * Get the theme to use based on the current skin. * |