Document future removal of action=parse&prop=languageshtml
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 19 Nov 2013 21:04:26 +0000 (22:04 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 2 Dec 2013 11:03:01 +0000 (12:03 +0100)
Change-Id: I600bbac02633f3b17044602917d062106ae83867

RELEASE-NOTES-1.23
includes/api/ApiParse.php

index 2d89dd2..a51575d 100644 (file)
@@ -60,6 +60,8 @@ production.
 * action=query&meta=filerepoinfo now returns additional information for each
   repo.
 * EditPage::spamPage() was deprecated since 1.17 and has been removed.
+* action=parse&prop=languageshtml was deprecated in 1.18 and will be removed in
+  MediaWiki 1.24.
 
 === Languages updated in 1.23===
 
index ddc032d..88904c0 100644 (file)
@@ -532,6 +532,9 @@ class ApiParse extends ApiBase {
         */
        private function languagesHtml( $languages ) {
                wfDeprecated( __METHOD__, '1.18' );
+               $this->setWarning( '"action=parse&prop=languageshtml" is deprecated ' .
+                       'and will be removed in MediaWiki 1.24. Use "prop=langlinks" ' .
+                       'to generate your own HTML.' );
 
                global $wgContLang, $wgHideInterlanguageLinks;
 
@@ -716,7 +719,8 @@ class ApiParse extends ApiBase {
                                ' langlinks      - Gives the language links in the parsed wikitext',
                                ' categories     - Gives the categories in the parsed wikitext',
                                ' categorieshtml - Gives the HTML version of the categories',
-                               ' languageshtml  - Gives the HTML version of the language links',
+                               ' languageshtml  - DEPRECATED. Will be removed in MediaWiki 1.24.',
+                               '                  Gives the HTML version of the language links',
                                ' links          - Gives the internal links in the parsed wikitext',
                                ' templates      - Gives the templates in the parsed wikitext',
                                ' images         - Gives the images in the parsed wikitext',