Page MenuHomePhabricator

Portal.diff

Authored By
bzimport
Nov 21 2014, 8:15 PM
Size
1 KB
Referenced Files
None
Subscribers
None

Portal.diff

Index: phase3/includes/Defines.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Defines.php,v
retrieving revision 1.29
diff -u -r1.29 Defines.php
--- phase3/includes/Defines.php 4 Jul 2005 14:18:56 -0000 1.29
+++ phase3/includes/Defines.php 21 Jul 2005 01:03:46 -0000
@@ -46,6 +46,8 @@
define('NS_HELP_TALK', 13);
define('NS_CATEGORY', 14);
define('NS_CATEGORY_TALK', 15);
+define('NS_PORTAL', 16);
+define('NS_PORTAL_TALK', 17);
/**#@-*/
/**
Index: phase3/includes/Namespace.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Namespace.php,v
retrieving revision 1.32
diff -u -r1.32 Namespace.php
--- phase3/includes/Namespace.php 24 Jun 2005 22:56:23 -0000 1.32
+++ phase3/includes/Namespace.php 21 Jul 2005 01:03:46 -0000
@@ -32,6 +32,8 @@
NS_HELP_TALK => 'Help_talk',
NS_CATEGORY => 'Category',
NS_CATEGORY_TALK => 'Category_talk',
+ NS_PORTAL => 'Portal',
+ NS_PORTAL_TALK => 'Portal_talk'
);
if( is_array( $wgExtraNamespaces ) ) {
@@ -71,7 +73,8 @@
return ( $index == NS_TALK || $index == NS_USER_TALK ||
$index == NS_PROJECT_TALK || $index == NS_IMAGE_TALK ||
$index == NS_MEDIAWIKI_TALK || $index == NS_TEMPLATE_TALK ||
- $index == NS_HELP_TALK || $index == NS_CATEGORY_TALK
+ $index == NS_HELP_TALK || $index == NS_CATEGORY_TALK ||
+ $index == NS_PORTAL_TALK
|| ( (isset($wgExtraNamespaces) && $index % 2) )
);

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1543
Default Alt Text
Portal.diff (1 KB)

Event Timeline