GitInfo: Don't try shelling out if it's disabled
[lhc/web/wiklou.git] / includes / MediaWikiServices.php
index ac98683..ac15574 100644 (file)
@@ -539,6 +539,7 @@ class MediaWikiServices extends ServiceContainer {
 
        /**
         * @since 1.28
+        * @deprecated since 1.32, use random_bytes()/random_int()
         * @return CryptRand
         */
        public function getCryptRand() {
@@ -788,6 +789,14 @@ class MediaWikiServices extends ServiceContainer {
                return $this->getService( 'SlotRoleStore' );
        }
 
+       /**
+        * @since 1.32
+        * @return NameTableStore
+        */
+       public function getChangeTagDefStore() {
+               return $this->getService( 'ChangeTagDefStore' );
+       }
+
        /**
         * @since 1.31
         * @return PreferencesFactory