Merge "Move class files to includes/"

This commit is contained in:
jenkins-bot 2018-03-14 18:28:44 +00:00 committed by Gerrit Code Review
commit 8a3530acc7
5 changed files with 12 additions and 10 deletions

View file

@ -1,7 +1,10 @@
<?php
/**
* VectorHooks.php
*/
namespace Vector;
use OutputPage;
use SkinTemplate;
use SkinVector;
/**
* Hook handlers for Vector skin.
@ -9,8 +12,7 @@
* Hook handler method names should be in the form of:
* on<HookName>()
*/
class VectorHooks {
class Hooks {
/**
* BeforePageDisplayMobile hook handler
*

View file

@ -25,14 +25,14 @@
]
},
"AutoloadClasses": {
"VectorHooks": "VectorHooks.php",
"SkinVector": "SkinVector.php",
"VectorTemplate": "VectorTemplate.php",
"Vector\\ResourceLoaderLessModule": "ResourceLoaderLessModule.php"
"Vector\\Hooks": "includes/Hooks.php",
"SkinVector": "includes/SkinVector.php",
"VectorTemplate": "includes/VectorTemplate.php",
"Vector\\ResourceLoaderLessModule": "includes/ResourceLoaderLessModule.php"
},
"Hooks": {
"BeforePageDisplayMobile": [
"VectorHooks::onBeforePageDisplayMobile"
"Vector\\Hooks::onBeforePageDisplayMobile"
]
},
"@note": "When modifying skins.vector.styles definition, make sure the installer still works",