X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FMediaWikiServices.php;h=ac98683535e54827eae86ffd95cab42618889d3a;hb=fe73f41ca9ec548a250b1fd41bf54363d1e1e585;hp=59f194d793a4a208ccdac7d2567d63ebcba67d54;hpb=e81a7da6c000384b97319c269ffd1e67afcb8ea8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MediaWikiServices.php b/includes/MediaWikiServices.php index 59f194d793..ac98683535 100644 --- a/includes/MediaWikiServices.php +++ b/includes/MediaWikiServices.php @@ -1,6 +1,7 @@ getService( 'RevisionFactory' ); } + /** + * @since 1.31 + * @return NameTableStore + */ + public function getContentModelStore() { + return $this->getService( 'ContentModelStore' ); + } + + /** + * @since 1.31 + * @return NameTableStore + */ + public function getSlotRoleStore() { + return $this->getService( 'SlotRoleStore' ); + } + /** * @since 1.31 * @return PreferencesFactory @@ -794,6 +812,14 @@ class MediaWikiServices extends ServiceContainer { return $this->getService( 'CommentStore' ); } + /** + * @since 1.31 + * @return ActorMigration + */ + public function getActorMigration() { + return $this->getService( 'ActorMigration' ); + } + /////////////////////////////////////////////////////////////////////////// // NOTE: When adding a service getter here, don't forget to add a test // case for it in MediaWikiServicesTest::provideGetters() and in