Jump to content

User:Dori/Patches/cvs.2.diff

From Meta, a Wikimedia project coordination wiki

? config/LocalSettings.php
Index: includes/MagicWord.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/MagicWord.php,v
retrieving revision 1.14
diff -w -B -r1.14 MagicWord.php
44a45,46
> define("MAG_PAGENAME", 29);
> define("MAG_NAMESPACE", 30);
56c58,60
< 	MAG_SERVER
---
> 	MAG_SERVER,
> 	MAG_PAGENAME,
> 	MAG_NAMESPACE
Index: includes/Parser.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Parser.php,v
retrieving revision 1.97
diff -w -B -r1.97 Parser.php
1174a1175,1178
> 			case MAG_PAGENAME:
> 				return $this->mTitle->getText();
> 			case MAG_NAMESPACE:
> 				return Namespace::getCanonicalName($this->mTitle->getNamespace());
Index: languages/Language.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/Language.php,v
retrieving revision 1.181
diff -w -B -r1.181 Language.php
361a362,363
> 		MAG_PAGENAME             => array( 1,    "PAGENAME"               ),
> 		MAG_NAMESPACE            => array( 1,    "NAMESPACE"              ),