From 746f807ed2c2189f730e3b0b35bee0639af052e3 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 22 Nov 2013 11:59:47 -0800 Subject: [PATCH] Remove a few stray $wgTitle comments Change-Id: Idcb9232e641b5f54845408a2a1c1b9fc28f0040b --- docs/hooks.txt | 6 +++--- index.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 30b9b72a1d..834d008d70 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -898,7 +898,7 @@ $oldid: oldid (int) being viewed 'DoEditSectionLink': Override the HTML generated for section edit links $skin: Skin object rendering the UI $title: Title object for the title being linked to (may not be the same as - $wgTitle, if the section is included from a template) + the page title, if the section is included from a template) $section: The designation of the section being pointed to, to be included in the link, like "§ion=$section" $tooltip: The default tooltip. Escape before using. @@ -1369,7 +1369,7 @@ $context: IContextSource object &$pageInfo: Array of information 'InitializeArticleMaybeRedirect': MediaWiki check to see if title is a redirect. -$title: Title object ($wgTitle) +$title: Title object for the current page $request: WebRequest $ignoreRedirect: boolean to skip redirect check $target: Title/string of redirect target @@ -1624,7 +1624,7 @@ something completely different, after the basic globals have been set up, but before ordinary actions take place. $output: $wgOut $article: Article on which the action will be performed -$title: $wgTitle +$title: Title on which the action will be performed $user: $wgUser $request: $wgRequest $mediaWiki: The $mediawiki object diff --git a/index.php b/index.php index b18fb80682..8885d0e675 100644 --- a/index.php +++ b/index.php @@ -42,7 +42,7 @@ if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5. # Initialise common code. This gives us access to GlobalFunctions, the # AutoLoader, and the globals $wgRequest, $wgOut, $wgUser, $wgLang and -# $wgContLang, amongst others; it does *not* load $wgTitle +# $wgContLang, amongst others require __DIR__ . '/includes/WebStart.php'; $mediaWiki = new MediaWiki(); -- 2.20.1