X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fsite%2FMediaWikiSite.php;h=0ff7e8bad486c794992fe2c8c9c2d022207d1e2d;hp=f31a77d3a489a4a07180603dfa918ac3ced39ec7;hb=0df357b9137ac96ebb6d59bccb99ba9c4680bf46;hpb=e4d47e717d4554907708a1d7cb08bfd6e24844fa diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index f31a77d3a4..0ff7e8bad4 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -64,7 +64,7 @@ class MediaWikiSite extends Site { /** * Returns the normalized form of the given page title, using the * normalization rules of the given site. If the given title is a redirect, - * the redirect weill be resolved and the redirect target is returned. + * the redirect will be resolved and the redirect target is returned. * * @note This actually makes an API request to the remote site, so beware * that this function is slow and depends on an external service. @@ -79,7 +79,7 @@ class MediaWikiSite extends Site { * * @param string $pageName * - * @return string + * @return string|false * @throws MWException */ public function normalizePageName( $pageName ) {