From: Chad Horohoe Date: Fri, 22 Nov 2013 19:59:47 +0000 (-0800) Subject: Remove a few stray $wgTitle comments X-Git-Tag: 1.31.0-rc.0~17959 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22statistiques_visites%22%2C%22%22%29%20.%20%22?a=commitdiff_plain;h=746f807ed2c2189f730e3b0b35bee0639af052e3;p=lhc%2Fweb%2Fwiklou.git Remove a few stray $wgTitle comments Change-Id: Idcb9232e641b5f54845408a2a1c1b9fc28f0040b --- 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();