MWNamespace.php contains the MWNamespace class, a utility class with only static functions for dealing with namespaces that encodes all the "magic" behaviors of them based on index.
MWNamespace::getCanonicalNamespaces( $rebuild )
- Returns array of all defined namespaces with their canonical (English) names.MWNamespace::getCanonicalName( $index )
- Returns the canonical (English) name for a given indexMWNamespace::getValidNamespaces()
- Returns an array of the namespaces (by integer id) that exist on the wiki. Used primarily by the api in help documentation. This function calls getCanonicalNamespaces()
without using the rebuild option and it then excludes the negative number namespaces, e.g. -1 (special page).RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4