Push msg from ContextSource/RequestContext into IContextSource
authorSam Reed <reedy@users.mediawiki.org>
Fri, 13 Jan 2012 02:37:04 +0000 (02:37 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 13 Jan 2012 02:37:04 +0000 (02:37 +0000)
includes/context/IContextSource.php

index edc0c17..ed7aba0 100644 (file)
@@ -86,5 +86,12 @@ interface IContextSource {
         * @return Skin
         */
        public function getSkin();
+
+       /**
+        * Get a Message object with context set
+        *
+        * @return Message object
+        */
+       public function msg();
 }