apply CSS::Janus when user preview its CSS style
[lhc/web/wiklou.git] / includes / Linker.php
index 6cb92fc..35cf756 100644 (file)
@@ -135,7 +135,10 @@ class Linker {
         *      name of the target).
         * link() replaces the old functions in the makeLink() family.
         *
-        * @since 1.16
+        * @since 1.18 Method exists since 1.16 as non-static, made static in 1.18.
+        * You can call it using this if you want to keep compat with these:
+        * $linker = class_exists( 'DummyLinker' ) ? new DummyLinker() : new Linker();
+        * $linker->link( ... );
         *
         * @param $target        Title  Can currently only be a Title, but this may
         *   change to support Images, literal URLs, etc.
@@ -1903,7 +1906,7 @@ class Linker {
         * @param $prefix String: optional prefix. As trail, only before instead of after.
         */
        static function makeLinkObj( $nt, $text = '', $query = '', $trail = '', $prefix = '' ) {
-               wfDeprecated( __METHOD__, '1.16' );
+               # wfDeprecated( __METHOD__, '1.16' ); // See r105985 and it's revert. Somewhere still used.
                
                wfProfileIn( __METHOD__ );
                $query = wfCgiToArray( $query );
@@ -1937,7 +1940,7 @@ class Linker {
        static function makeKnownLinkObj(
                $title, $text = '', $query = '', $trail = '', $prefix = '' , $aprops = '', $style = ''
        ) {
-               wfDeprecated( __METHOD__, '1.16' );
+               # wfDeprecated( __METHOD__, '1.16' ); // See r105985 and it's revert. Somewhere still used.
                
                wfProfileIn( __METHOD__ );