X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FArticle.php;h=68290a6291b48a3e209900e53bd65888b4700d28;hb=bbd225e01312fd56845d8fbf650aa3cd184bb731;hp=4a0416257a5e08d89f792bad5166b03b4f67c023;hpb=ca7bcb1fac102332d1257cbd8e915c8715d50b75;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Article.php b/includes/Article.php index 4a0416257a..68290a6291 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -325,23 +325,6 @@ class Article { return $text; } - /** - * This function returns the text of a section, specified by a number ($section). - * A section is text under a heading like == Heading == or \Heading\, or - * the first section before any such heading (section 0). - * - * If a section contains subsections, these are also returned. - * - * @param $text String: text to look in - * @param $section Integer: section number - * @return string text of the requested section - * @deprecated - */ - public function getSection( $text, $section ) { - global $wgParser; - return $wgParser->getSection( $text, $section ); - } - /** * Get the text that needs to be saved in order to undo all revisions * between $undo and $undoafter. Revisions must belong to the same page, @@ -605,7 +588,7 @@ class Article { /** * Read/write accessor to select FOR UPDATE - * @FIXME: remove, does nothing + * @deprecated since 1.18 * * @param $x Mixed: FIXME * @return mixed value of $x, or value stored in Article::mForUpdate