aboutsummaryrefslogtreecommitdiffstats
path: root/includes/title/NamespaceInfo.php
diff options
context:
space:
mode:
authorThalia <thalia.e.chan@googlemail.com>2020-12-04 19:57:53 +0000
committerDannyS712 <DannyS712.enwiki@gmail.com>2020-12-04 20:37:28 +0000
commit9ffe5a880b28e941ff92b3cd1e8a8f9127a7925e (patch)
treef78ebfdb18e4a4c9b4fde7c6884c3bdda5a0ae94 /includes/title/NamespaceInfo.php
parentd321ccefad5a0817ae5a0ecd47275bde08335ec1 (diff)
downloadmediawikicore-9ffe5a880b28e941ff92b3cd1e8a8f9127a7925e.tar.gz
mediawikicore-9ffe5a880b28e941ff92b3cd1e8a8f9127a7925e.zip
Clarify uses of NamespaceInfo::hasSubpages in documentation
Clarify that this method does not refer to SpecialPage subpage parameters. Change-Id: Ief54be2e83d4b09b265754849db487923d872939
Diffstat (limited to 'includes/title/NamespaceInfo.php')
-rw-r--r--includes/title/NamespaceInfo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/title/NamespaceInfo.php b/includes/title/NamespaceInfo.php
index 59552e77ad8c..7619d84a5a72 100644
--- a/includes/title/NamespaceInfo.php
+++ b/includes/title/NamespaceInfo.php
@@ -484,7 +484,8 @@ class NamespaceInfo {
}
/**
- * Does the namespace allow subpages?
+ * Does the namespace allow subpages? Note that this refers to structured
+ * handling of subpages, and does not include SpecialPage subpage parameters.
*
* @param int $index Index to check
* @return bool