diff options
Diffstat (limited to 'includes/resourceloader/ResourceLoaderUserModule.php')
-rw-r--r-- | includes/resourceloader/ResourceLoaderUserModule.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/includes/resourceloader/ResourceLoaderUserModule.php b/includes/resourceloader/ResourceLoaderUserModule.php index c7186653..892e8462 100644 --- a/includes/resourceloader/ResourceLoaderUserModule.php +++ b/includes/resourceloader/ResourceLoaderUserModule.php @@ -26,7 +26,12 @@ class ResourceLoaderUserModule extends ResourceLoaderWikiModule { /* Protected Methods */ + protected $origin = self::ORIGIN_USER_INDIVIDUAL; + /** + * @param $context ResourceLoaderContext + * @return array + */ protected function getPages( ResourceLoaderContext $context ) { if ( $context->getUser() ) { $username = $context->getUser(); @@ -41,9 +46,12 @@ class ResourceLoaderUserModule extends ResourceLoaderWikiModule { } return array(); } - + /* Methods */ - + + /** + * @return string + */ public function getGroup() { return 'user'; } |