less: Add '@since 1.22' comments
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 27 Sep 2013 09:32:41 +0000 (11:32 +0200)
committerOri.livneh <ori@wikimedia.org>
Sat, 28 Sep 2013 06:23:01 +0000 (06:23 +0000)
Change-Id: I673705423cf7618e207c0ee47b01761d6c89ce5f

includes/resourceloader/ResourceLoaderFileModule.php
includes/resourceloader/ResourceLoaderModule.php

index 3b81b11..23fbf73 100644 (file)
@@ -486,6 +486,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
        /**
         * Infer the stylesheet language from a stylesheet file path.
         *
+        * @since 1.22
         * @param string $path
         * @return string: the stylesheet language name
         */
@@ -703,11 +704,13 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
 
        /**
         * Generate a cache key for a LESS file.
+        *
         * The cache key varies on the file name, the names and values of global
         * LESS variables, and the value of $wgShowExceptionDetails. Varying on
         * $wgShowExceptionDetails ensures the CSS comment indicating compilation
         * failure shows the right level of detail.
         *
+        * @since 1.22
         * @param string $fileName File name of root LESS file.
         * @return string: Cache key
         */
@@ -728,6 +731,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
         * that were processed. lessphp compares the cached & current mtimes and
         * recompiles as necessary.
         *
+        * @since 1.22
         * @param string $fileName File path of LESS source
         * @return string: CSS source
         */
index 1119cdb..da47724 100644 (file)
@@ -458,6 +458,7 @@ abstract class ResourceLoaderModule {
        }
 
        /**
+        * @since 1.22
         * @return lessc
         */
        protected static function lessCompiler() {
@@ -480,6 +481,7 @@ abstract class ResourceLoaderModule {
        /**
         * Get global LESS variables.
         *
+        * @since 1.22
         * @return array: Map of variable names to string CSS values.
         */
        protected static function getLESSVars() {