X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=includes%2FMediaWikiServices.php;h=ac98683535e54827eae86ffd95cab42618889d3a;hb=cc0473766a53bdb18ae52a7a2271c6fae49e3105;hp=59f194d793a4a208ccdac7d2567d63ebcba67d54;hpb=e6c0dcc02e20ea946a1a4ea9c46323a1ae1cb2e6;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