Index: trunk/phase3/includes/Linker.php |
— | — | @@ -332,7 +332,7 @@ |
333 | 333 | * @param $trail String |
334 | 334 | * @param $prefix String |
335 | 335 | * @return string HTML of link |
336 | | - * @deprecated |
| 336 | + * @deprecated @since 1.17 |
337 | 337 | */ |
338 | 338 | function makeSizeLinkObj( $size, $nt, $text = '', $query = '', $trail = '', $prefix = '' ) { |
339 | 339 | global $wgUser; |
— | — | @@ -1732,16 +1732,7 @@ |
1733 | 1733 | /* Deprecated methods */ |
1734 | 1734 | |
1735 | 1735 | /** |
1736 | | - * @deprecated |
1737 | | - */ |
1738 | | - function postParseLinkColour( $s = null ) { |
1739 | | - wfDeprecated( __METHOD__ ); |
1740 | | - return null; |
1741 | | - } |
1742 | | - |
1743 | | - |
1744 | | - /** |
1745 | | - * @deprecated Use link() |
| 1736 | + * @deprecated @since 1.16 Use link() |
1746 | 1737 | * |
1747 | 1738 | * This function is a shortcut to makeLinkObj(Title::newFromText($title),...). Do not call |
1748 | 1739 | * it if you already have a title object handy. See makeLinkObj for further documentation. |
— | — | @@ -1768,7 +1759,7 @@ |
1769 | 1760 | } |
1770 | 1761 | |
1771 | 1762 | /** |
1772 | | - * @deprecated Use link() |
| 1763 | + * @deprecated @since 1.16 Use link() |
1773 | 1764 | * |
1774 | 1765 | * This function is a shortcut to makeKnownLinkObj(Title::newFromText($title),...). Do not call |
1775 | 1766 | * it if you already have a title object handy. See makeKnownLinkObj for further documentation. |
— | — | @@ -1793,7 +1784,7 @@ |
1794 | 1785 | } |
1795 | 1786 | |
1796 | 1787 | /** |
1797 | | - * @deprecated Use link() |
| 1788 | + * @deprecated @since 1.16 Use link() |
1798 | 1789 | * |
1799 | 1790 | * This function is a shortcut to makeBrokenLinkObj(Title::newFromText($title),...). Do not call |
1800 | 1791 | * it if you already have a title object handy. See makeBrokenLinkObj for further documentation. |
— | — | @@ -1816,7 +1807,7 @@ |
1817 | 1808 | } |
1818 | 1809 | |
1819 | 1810 | /** |
1820 | | - * @deprecated Use link() |
| 1811 | + * @deprecated @since 1.16 Use link() |
1821 | 1812 | * |
1822 | 1813 | * This function is a shortcut to makeStubLinkObj(Title::newFromText($title),...). Do not call |
1823 | 1814 | * it if you already have a title object handy. See makeStubLinkObj for further documentation. |
— | — | @@ -1840,7 +1831,7 @@ |
1841 | 1832 | } |
1842 | 1833 | |
1843 | 1834 | /** |
1844 | | - * @deprecated Use link() |
| 1835 | + * @deprecated @since 1.16 Use link() |
1845 | 1836 | * |
1846 | 1837 | * Make a link for a title which may or may not be in the database. If you need to |
1847 | 1838 | * call this lots of times, pre-fill the link cache with a LinkBatch, otherwise each |
— | — | @@ -1871,7 +1862,7 @@ |
1872 | 1863 | } |
1873 | 1864 | |
1874 | 1865 | /** |
1875 | | - * @deprecated Use link() |
| 1866 | + * @deprecated @since 1.16 Use link() |
1876 | 1867 | * |
1877 | 1868 | * Make a link for a title which definitely exists. This is faster than makeLinkObj because |
1878 | 1869 | * it doesn't have to do a database query. It's also valid for interwiki titles and special |
— | — | @@ -1907,7 +1898,7 @@ |
1908 | 1899 | } |
1909 | 1900 | |
1910 | 1901 | /** |
1911 | | - * @deprecated Use link() |
| 1902 | + * @deprecated @since 1.16 Use link() |
1912 | 1903 | * |
1913 | 1904 | * Make a red link to the edit page of a given title. |
1914 | 1905 | * |
— | — | @@ -1935,7 +1926,7 @@ |
1936 | 1927 | } |
1937 | 1928 | |
1938 | 1929 | /** |
1939 | | - * @deprecated Use link() |
| 1930 | + * @deprecated @since 1.16 Use link() |
1940 | 1931 | * |
1941 | 1932 | * Make a brown link to a short article. |
1942 | 1933 | * |
— | — | @@ -1952,7 +1943,7 @@ |
1953 | 1944 | } |
1954 | 1945 | |
1955 | 1946 | /** |
1956 | | - * @deprecated Use link() |
| 1947 | + * @deprecated @since 1.16 Use link() |
1957 | 1948 | * |
1958 | 1949 | * Make a coloured link. |
1959 | 1950 | * |
— | — | @@ -1980,7 +1971,7 @@ |
1981 | 1972 | |
1982 | 1973 | /** |
1983 | 1974 | * Creates the HTML source for images |
1984 | | - * @deprecated use makeImageLink2 |
| 1975 | + * @deprecated @since 1.16 use makeImageLink2 |
1985 | 1976 | * |
1986 | 1977 | * @param $title Title object |
1987 | 1978 | * @param $label String: label text |
— | — | @@ -2024,36 +2015,6 @@ |
2025 | 2016 | } |
2026 | 2017 | |
2027 | 2018 | /** |
2028 | | - * Used to generate section edit links that point to "other" pages |
2029 | | - * (sections that are really part of included pages). |
2030 | | - * |
2031 | | - * @deprecated use Linker::doEditSectionLink() |
2032 | | - * @param $title Title string. |
2033 | | - * @param $section Integer: section number. |
2034 | | - */ |
2035 | | - public function editSectionLinkForOther( $title, $section ) { |
2036 | | - wfDeprecated( __METHOD__ ); |
2037 | | - $title = Title::newFromText( $title ); |
2038 | | - return $this->doEditSectionLink( $title, $section ); |
2039 | | - } |
2040 | | - |
2041 | | - /** |
2042 | | - * @deprecated use Linker::doEditSectionLink() |
2043 | | - * @param $nt Title object. |
2044 | | - * @param $section Integer: section number. |
2045 | | - * @param $hint Link String: title, or default if omitted or empty |
2046 | | - */ |
2047 | | - public function editSectionLink( Title $nt, $section, $hint = '' ) { |
2048 | | - wfDeprecated( __METHOD__ ); |
2049 | | - if ( $hint === '' ) { |
2050 | | - # No way to pass an actual empty $hint here! The new interface al- |
2051 | | - # lows this, so we have to do this for compatibility. |
2052 | | - $hint = null; |
2053 | | - } |
2054 | | - return $this->doEditSectionLink( $nt, $section, $hint ); |
2055 | | - } |
2056 | | - |
2057 | | - /** |
2058 | 2019 | * Returns the attributes for the tooltip and access key. |
2059 | 2020 | */ |
2060 | 2021 | public function tooltipAndAccesskeyAttribs( $name ) { |
— | — | @@ -2075,14 +2036,19 @@ |
2076 | 2037 | } |
2077 | 2038 | return $attribs; |
2078 | 2039 | } |
| 2040 | + |
2079 | 2041 | /** |
2080 | | - * @deprecated Returns raw bits of HTML, use titleAttrib() and accesskey() |
| 2042 | + * @deprecated @since 1.14 |
| 2043 | + * Returns raw bits of HTML, use titleAttrib() and accesskey() |
2081 | 2044 | */ |
2082 | 2045 | public function tooltipAndAccesskey( $name ) { |
2083 | 2046 | return Xml::expandAttributes( $this->tooltipAndAccesskeyAttribs( $name ) ); |
2084 | 2047 | } |
2085 | 2048 | |
2086 | | - /** @deprecated Returns raw bits of HTML, use titleAttrib() */ |
| 2049 | + /** |
| 2050 | + * @deprecated @since 1.14 |
| 2051 | + * Returns raw bits of HTML, use titleAttrib() |
| 2052 | + */ |
2087 | 2053 | public function tooltip( $name, $options = null ) { |
2088 | 2054 | global $wgEnableTooltipsAndAccesskeys; |
2089 | 2055 | if ( !$wgEnableTooltipsAndAccesskeys ) |
Index: trunk/extensions/CategoryMultisort/CategoryMultisort.class.php |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | array(), |
80 | 80 | array( 'known', 'noclasses' ) |
81 | 81 | ) . '</span>' |
82 | | - : $this->getSkin()->makeSizeLinkObj( $pageLength, $title ); |
| 82 | + : $this->getSkin()->link( $title ); |
83 | 83 | |
84 | 84 | $this->articles_start_char[] = $this->decorateSortkey( $sortkey ); |
85 | 85 | } |