To prevent conflicts in new namespaces added by extensions, please list your extension's namespace here. If a constant for the custom namespace exists, you can list it here too.
Note that these are only default namespaces. All extensions defining new namespaces should take care to provide the installer with a method of configuring the extension to use a different range of namespaces for its custom namespaces.
Naturally some namespaces listed on this page will overlap, and violate the recommendations listed here. The recommendations are good practices new extensions should try to adhere to to avoid conflicts; for legacy reasons, old extensions that have already created conflicts and bad practice can't simply be changed but are listed here to help avoid even more conflicts.
Negative IDs [edit]
Warning: Do not use negative IDs for extensions. Ever.
| MediaWiki Core |
| ID |
Name |
Constant |
Remark |
Note:2 namespaces have negative indexes and have special purposes. You cannot create or delete pages in these namespaces, and there are no corresponding discussion namespaces. |
| -2 |
Media: |
NS_MEDIA |
Alias for direct links to media files |
| -1 |
Special: |
NS_SPECIAL |
Holds special pages |
ID 0-99 [edit]
| MediaWiki Core |
| ID |
Name |
Constant |
Remark |
| 0 |
: |
NS_MAIN |
|
| 1 |
Talk: |
NS_TALK |
|
| 2 |
User: |
NS_USER |
|
| 3 |
User_Talk: |
NS_USER_TALK |
|
| 4 |
Project: |
NS_PROJECT |
|
| 5 |
Project_Talk: |
NS_PROJECT_TALK |
|
| 6 |
File: |
NS_FILE |
|
| 7 |
File_Talk: |
NS_FILE_TALK |
|
| 8 |
MediaWiki: |
NS_MEDIAWIKI |
|
| 9 |
MediaWiki_Talk: |
NS_MEDIAWIKI_TALK |
|
| 10 |
Template: |
NS_TEMPLATE |
|
| 11 |
Template_Talk: |
NS_TEMPLATE_TALK |
|
| 12 |
Help: |
NS_HELP |
|
| 13 |
Help_Talk: |
NS_HELP_TALK |
|
| 14 |
Category: |
NS_CATEGORY |
|
| 15 |
Category_Talk: |
NS_CATEGORY_TALK |
|
Note:If core is to define any new default namespace it will likely continue on from here with 16-17, please take care to avoid this area. |
| LiquidThreads |
| ID |
Name |
Constant |
Remark |
| 90 |
Thread: |
NS_LQT_THREAD |
|
| 91 |
Thread_talk: |
NS_LQT_THREAD_TALK |
|
| 92 |
Summary: |
NS_LQT_SUMMARY |
|
| 93 |
Summary_talk: |
NS_LQT_SUMMARY_TALK |
|
ID 100-199 [edit]
Reserved for site admins [edit]
Warning: The namespaces in 100-199 are reserved for site-specific namespaces, and should not be used by extensions. A few extensions have apparently used this area, so be careful using them. If you're writing a new extension you should never hardcode any namespaces inside the 100-199 range.
| Semantic MediaWiki & Semantic Forms |
| ID |
Name |
Constant |
Remark |
| 100 |
Relation: |
SMW_NS_RELATION |
No longer used, as of version 1.0 (support dropped with 1.5.0). |
| 101 |
Relation_talk: |
SMW_NS_RELATION_TALK |
No longer used, as of version 1.0 (support dropped with 1.5.0). |
| 102 |
Property: |
SMW_NS_PROPERTY |
|
| 103 |
Property_talk: |
SMW_NS_PROPERTY_TALK |
|
| 104 |
Type: |
SMW_NS_TYPE |
No longer used, as of version 1.6.0 (still supported). |
| 105 |
Type_talk: |
SMW_NS_TYPE_TALK |
No longer used, as of version 1.6.0 (still supported). |
| 106 |
Form: |
SF_NS_FORM |
|
| 107 |
Form_talk: |
SF_NS_FORM_TALK |
|
| 108 |
Concept: |
SMW_NS_CONCEPT |
|
| 109 |
Concept_talk: |
SMW_NS_CONCEPT_TALK |
|
| DPLforum |
| ID |
Name |
Constant |
Remark |
| 110 |
Forum: |
NS_FORUM |
|
| 111 |
Forum_talk: |
NS_FORUM_TALK |
|
| Rich Media |
| ID |
Name |
Constant |
Remark |
| 120 |
Document: |
NS_DOCUMENT |
Note: Also used by: RefHelper |
| 121 |
Document_talk: |
NS_DOCUMENT_TALK |
Note: Also used by: RefHelper |
| 122 |
Audio: |
NS_AUDIO |
|
| 123 |
Audio_talk: |
NS_AUDIO_TALK |
|
| 124 |
Video: |
NS_VIDEO |
|
| 125 |
Video_talk: |
NS_VIDEO_TALK |
|
| 126 |
Pdf: |
NS_PDF |
|
| 127 |
Pdf_talk: |
NS_PDF_TALK |
|
| 128 |
ICalendar: |
NS_ICAL |
|
| 129 |
ICalendar_talk: |
NS_ICAL_TALK |
|
| 130 |
VCard: |
NS_VCARD |
|
| 131 |
VCard_talk: |
NS_VCARD_TALK |
|
| Nyan |
| ID |
Name |
Constant |
Remark |
| 150 |
Nyan_Cat: |
NS_NYAN_CAT |
|
| 151 |
Nyan_Cat_Talk: |
NS_NYAN_CAT_TALK |
|
| Semantic Drilldown |
| ID |
Name |
Constant |
Remark |
| 170 |
Filter: |
SD_NS_FILTER |
|
| 171 |
Filter_talk: |
SD_NS_FILTER_TALK |
|
ID 200-299 [edit]
| Data Import |
| ID |
Name |
Constant |
Remark |
| 200 |
WebService: |
SMW_NS_WEB_SERVICE |
Note: Also used by: SocialProfile |
| 201 |
WebService_talk: |
SMW_NS_WEB_SERVICE_TALK |
Note: Also used by: SocialProfile |
| 202 |
TermImport: |
SMW_NS_TERM_IMPORT |
Note: Also used by: SocialProfile |
| 203 |
TermImport_talk: |
SMW_NS_TERM_IMPORT_TALK |
Note: Also used by: SocialProfile |
| 220 |
E-mail: |
NS_TI_EMAIL |
|
| 221 |
E-mail_talk: |
NS_TI_EMAIL_TALK |
|
| Proofread Page |
| ID |
Name |
Constant |
Remark |
| 250 |
Page: |
$wgProofreadPageNamespaceIds['page'] |
|
| 251 |
Page_talk: |
|
ID is $wgProofreadPageNamespaceIds['page'] + 1 |
| 252 |
Index: |
$wgProofreadPageNamespaceIds['index'] |
|
| 253 |
Index_talk: |
|
ID is $wgProofreadPageNamespaceIds['index'] + 1 |
| TrustedMath |
| ID |
Name |
Constant |
Remark |
| 262 |
Math: |
NS_TRUSTEDMATH |
|
| 263 |
Math_talk: |
NS_TRUSTEDMATH_TALK |
|
| Widgets |
| ID |
Name |
Constant |
Remark |
| 274 |
Widget: |
NS_WIDGET |
|
| 275 |
Widget_talk: |
NS_WIDGET_TALK |
|
ID 300-399 [edit]
Warning: Not completely documented yet.
| Semantic MediaWiki, Semantic Forms, and Semantic Drilldown |
| ID |
Name |
Constant |
Remark |
| 302 |
Property: |
|
|
| 303 |
Property_talk: |
|
|
| 304 |
Type: |
|
|
| 305 |
Type_talk: |
|
|
| 306 |
Form: |
|
|
| 307 |
Form_talk: |
|
|
| 308 |
Concept: |
|
|
| 309 |
Concept_talk: |
|
|
| 370 |
Filter: |
|
|
| 371 |
Filter_talk: |
|
|
Note:As used on several Wikia sites. |
300 - 399. Wikia has been seen using namespaces in this range for its custom extensions and configurations. To avoid conflicts in case Wikia extensions are ported to work outside of Wikia it would be best to avoid defining new extensions that use this range. Wikia alters the namespaces for some extensions used on its own wikis. Please also take these into account while coming up with new namespace numbers to use in new extensions.
ID 400-499 [edit]
| Wiki2LaTeX |
| ID |
Name |
Constant |
Remark |
| 400 |
Wiki2LaTeX: |
NS_WIKI2LATEX |
|
| 401 |
Wiki2LaTeX_talk: |
NS_WIKI2LATEX_TALK |
|
| Maps |
| ID |
Name |
Constant |
Remark |
| 420 |
Layer: |
Maps_NS_LAYER |
These can be overridden. |
| 421 |
Layer_talk: |
Maps_NS_LAYER_TALK |
These can be overridden. |
| BoilerRoom |
| ID |
Name |
Constant |
Remark |
| 450 |
Boilerplate: |
NS_BOILERPLATE |
|
| 451 |
Boilerplate_talk: |
NS_BOILERPLATE_TALK |
|
| EventLogging |
| ID |
Name |
Constant |
Remark |
| 470 |
Schema: |
NS_SCHEMA |
JSON schemas describing data models |
| 471 |
Schema_talk: |
NS_SCHEMA_TALK |
|
| OpenStackManager |
| ID |
Name |
Constant |
Remark |
| 488 |
Nova_Resource: |
NS_NOVA_RESOURCE |
|
| 489 |
Nova_Resource_talk: |
NS_NOVA_RESOURCE_TALK |
|
ID 500-599 [edit]
Some sites try to make use of the 500-599 range for site namespaces. To avoid conflicting with those sites it would be a good idea to avoid this range while creating new extensions.
| Linked Data |
| ID |
Name |
Constant |
Remark |
| 500 |
LOD: |
LOD_NS_LOD |
Note: Also used by: BlogPage |
| 501 |
LOD_talk: |
LOD_NS_LOD_TALK |
Note: Also used by: BlogPage |
| 502 |
Mapping: |
LOD_NS_MAPPING |
|
| 503 |
Mapping_talk: |
LOD_NS_MAPPING_TALK |
|
ID 600-699 [edit]
| NagiosConfig |
| ID |
Name |
Constant |
Remark |
| 600 |
NagiosTemplate: |
NS_NAGIOS_TEMPLATE |
Note: Also used by: FanBoxes |
| 601 |
NagiosTemplate_talk: |
NS_NAGIOS_TEMPLATE_TALK |
Note: Also used by: FanBoxes |
| 602 |
NagiosHostType: |
NS_NAGIOS_HOSTTYPE |
|
| 603 |
NagiosHostType_talk: |
NS_NAGIOS_HOSTTYPE_TALK |
|
| 604 |
NagiosCommand: |
NS_NAGIOS_COMMAND |
|
| 605 |
NagiosCommand_talk: |
NS_NAGIOS_COMMAND_TALK |
|
| 606 |
NagiosResource: |
NS_NAGIOS_RESOURCE |
|
| 607 |
NagiosResource_talk: |
NS_NAGIOS_RESOURCE_TALK |
|
| 608 |
NagiosServiceCommand: |
NS_NAGIOS_SERVICECOMMAND |
|
| 609 |
NagiosServiceCommand_talk: |
NS_NAGIOS_SERVICECOMMAND_TALK |
|
ID 700-799 [edit]
| TimedMediaHandler |
| ID |
Name |
Constant |
Remark |
| 710 |
TimedText: |
NS_TIMEDTEXT |
|
| 711 |
TimedText_talk: |
NS_TIMEDTEXT_TALK |
|
Note:TimedMediaHandler reserves namespaces for timed text tracks. |
| PreloadContent |
| ID |
Name |
Constant |
Remark |
| 770 |
Preload: |
NS_PRELOAD |
|
| 701 |
Preload_talk: |
NS_PRELOAD_TALK |
|
ID 800-899 [edit]
| QPoll |
| ID |
Name |
Constant |
Remark |
| 800 |
Interpretation: |
NS_QP_INTERPRETATION |
|
| 801 |
Interpretation_talk: |
NS_QP_INTERPRETATION_TALK |
|
Note:QPoll reserves namespaces for interpretation scripts. |
| Scribunto |
| ID |
Name |
Constant |
Remark |
| 828 |
Module: |
NS_MODULE |
|
| 829 |
Module_talk: |
NS_MODULE_TALK |
|
| CentralNotice |
| ID |
Name |
Constant |
Remark |
| 866 |
CNBanner: |
NS_CN_BANNER |
Staging area for pending banner translations. |
| 867 |
CNBanner_talk: |
NS_CN_BANNER_TALK |
Presently unused. |
ID 1000+ [edit]
The 1000+ range starts to get fairly high, and it's a possible spot sites may attempt to use, too.
HiddenPages requires custom namespaces to be added manually. Thus, a specific sequence cannot be registered. Nonetheless, the extension recommends using namespace numbers 1000 and up.
| Translate |
| ID |
Name |
Constant |
Remark |
| 1198 |
Translations: |
NS_TRANSLATIONS |
|
| 1199 |
Translations_talk: |
NS_TRANSLATIONS_TALK |
|
Note:Translate extension uses these namespaces by default, but they can be overridden. FYI translatewiki.net uses namespaces from 1200 onward to hold product translations. |
| PackageForce |
| ID |
Name |
Constant |
Remark |
| 1300 |
PackageForce: |
NS_PACKAGEFORCE |
|
| 1301 |
PackageForce_talk: |
NS_PACKAGEFORCE_TALK |
|
| Gadgets |
| ID |
Name |
Constant |
Remark |
| 2300 |
Gadget: |
NS_GADGET |
|
| 2301 |
Gadget_talk: |
NS_GADGET_TALK |
|
| 2302 |
Gadget_definition: |
NS_GADGET_DEFINITION |
|
| 2303 |
Gadget_definition_talk: |
NS_GADGET_DEFINITION_TALK |
|
| VisualEditor |
| ID |
Name |
Constant |
Remark |
| 2500 |
VisualEditor: |
NS_VISUALEDITOR |
|
| 2501 |
VisualEditor_talk: |
NS_VISUALEDITOR_TALK |
|
ID 3000+ [edit]
So far, no known extensions have defined default namespaces in the 3000+ range. For now, it would be best to avoid using this range to give sites room to define their custom namespaces without fear of conflict.
See also [edit]
- bug 31063 - MediaWiki should use a reservation system for namespaces