From 8e42c60b608dc5040490db9db099797b3ad673aa Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 7 Jan 2011 01:38:06 +0000 Subject: [PATCH] Update comment for r64876 --- includes/parser/Parser.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index a6fe0a972b..9346ddf532 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -329,18 +329,11 @@ class Parser { } /** - * A page get its title converted except: - * a) Language conversion is globally disabled - * b) Title convert is globally disabled - * c) The page is a redirect page - * d) User request with a "linkconvert" set to "no" - * e) A "nocontentconvert" magic word has been set - * f) A "notitleconvert" magic word has been set - * g) User sets "noconvertlink" in his/her preference - * - * Note that if a user tries to set a title in a conversion - * rule but content conversion was not done, then the parser - * won't pick it up. This is probably expected behavior. + * A converted title will be provided in the output object if title and + * content conversion are enabled, the article text does not contain + * a conversion-suppressing double-underscore tag, and no + * {{DISPLAYTITLE:...}} is present. DISPLAYTITLE takes precedence over + * automatic link conversion. */ if ( !( $wgDisableLangConversion || $wgDisableTitleConversion -- 2.20.1