From c2b916d69b29ca608ac67f2080deea258aea64ee Mon Sep 17 00:00:00 2001 From: Ricordisamoa Date: Tue, 9 Dec 2014 19:27:30 +0000 Subject: [PATCH] Remove obsolete note from Title->canExist() A bit of history: * when added by Aaron Schulz with commit df1f744757b0ce695e6aa1e4a28f6c50fe6d8e20, the method made use of a hardcoded `0`; * Lisa Ridley noted that with commit bc1023ac89f9214c6510d97869fb4f280084995f by adding "uses hardcoded namespace index instead of constants"; * Max Semenik changed `0` to `NS_MAIN`, thus making the comment obsolete, with commit a35fe1f5f2f8eda52a93eb974516c3b65918c819. Change-Id: I0c2dad773219da80cc4db04ad6a8007a03207e5c --- includes/Title.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 638da08581..e9fcf9a981 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1044,7 +1044,6 @@ class Title { * Is this in a namespace that allows actual pages? * * @return bool - * @internal note -- uses hardcoded namespace index instead of constants */ public function canExist() { return $this->mNamespace >= NS_MAIN; -- 2.20.1