From 777a4482e64c356f98dafe506326426fe8ee35cb Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 1 Feb 2010 18:04:17 +0000 Subject: [PATCH] Fixes to OutputPage's documentation * action=raw -> action=render * escape tags in setPageTitle()'s documentation so that it's displayed correctly (not treated as real tags) --- includes/OutputPage.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 0bc1bd702b..f883a2dd49 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -257,7 +257,7 @@ class OutputPage { /** * Set whether the output should only contain the body of the article, * without any skin, sidebar, etc. - * Used e.g. when calling with "action=raw". + * Used e.g. when calling with "action=render". * * @param $only Boolean: whether to output only the body of the article */ @@ -451,10 +451,10 @@ class OutputPage { } /** - * "Page title" means the contents of

. It is stored as a valid HTML fragment. - * This function allows good tags like in the

tag, but not bad tags like " to "<script>foo&bar</script>" -- 2.20.1