https://www.mediawiki.org/wiki/Special:Code/MediaWiki/106275

Revision: 106275
Author:   tstarling
Date:     2011-12-14 23:01:19 +0000 (Wed, 14 Dec 2011)
Log Message:
-----------
MFT r105428: Special:PasswordReset can not be used on a private wiki

Modified Paths:
--------------
    branches/wmf/1.18wmf1/includes/Title.php

Property Changed:
----------------
    branches/wmf/1.18wmf1/includes/Title.php

Modified: branches/wmf/1.18wmf1/includes/Title.php
===================================================================
--- branches/wmf/1.18wmf1/includes/Title.php    2011-12-14 22:59:20 UTC (rev 
106274)
+++ branches/wmf/1.18wmf1/includes/Title.php    2011-12-14 23:01:19 UTC (rev 
106275)
@@ -1854,7 +1854,10 @@
 
                        # Always grant access to the login page.
                        # Even anons need to be able to log in.
-                       if ( $this->isSpecial( 'Userlogin' ) || 
$this->isSpecial( 'ChangePassword' ) ) {
+                       if ( $this->isSpecial( 'Userlogin' )
+                               || $this->isSpecial( 'ChangePassword' )
+                               || $this->isSpecial( 'PasswordReset' )
+                       ) {
                                return true;
                        }
 


Property changes on: branches/wmf/1.18wmf1/includes/Title.php
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/REL1_15/phase3/includes/Title.php:51646
/branches/iwtransclusion/phase3/includes/Title.php:68448,69480
/branches/new-installer/phase3/includes/Title.php:43664-66004
/branches/sqlite/includes/Title.php:58211-58321
/branches/wmf-deployment/includes/Title.php:53381
/trunk/phase3/includes/Title.php:92551-92552,92560,92563-92564,92568,92570,92573-92574,92576,92580-92581,92713,92765,92884,92886-92887,92894,92898,92907,92932,92962,93062,93093,93149,93151,93233-93234,93258,93266,93382-93383,93385,93468,93473,93516-93518,93818-93822,93847,93858,93891,93935-93936,93986,94068,94155,94235-94236,94346,94350,94372,94422,94425,94444,94448,94456,94498,94502,94504,94511,94548,94601,94728,94737,94825,94862,94990,94995-94997,95000-95002,95006-95007,95010-95011,95014,95016-95017,95171,95409,95436,95458,95467,95470,95475,95493,95521,95525,95540,95627,95651-95653,95656,95659,95663,95855,95894,95899,96163,96174,96180,96212,96217-96218,96228,96271,96273,96286,96297,96306,96342,96358,97460-97461,97469-97470,97475,99349,100239,100242
   + /branches/REL1_15/phase3/includes/Title.php:51646
/branches/REL1_18/phase3/includes/Title.php:105537
/branches/iwtransclusion/phase3/includes/Title.php:68448,69480
/branches/new-installer/phase3/includes/Title.php:43664-66004
/branches/sqlite/includes/Title.php:58211-58321
/branches/wmf-deployment/includes/Title.php:53381
/trunk/phase3/includes/Title.php:92551-92552,92560,92563-92564,92568,92570,92573-92574,92576,92580-92581,92713,92765,92884,92886-92887,92894,92898,92907,92932,92962,93062,93093,93149,93151,93233-93234,93258,93266,93382-93383,93385,93468,93473,93516-93518,93818-93822,93847,93858,93891,93935-93936,93986,94068,94155,94235-94236,94346,94350,94372,94422,94425,94444,94448,94456,94498,94502,94504,94511,94548,94601,94728,94737,94825,94862,94990,94995-94997,95000-95002,95006-95007,95010-95011,95014,95016-95017,95171,95409,95436,95458,95467,95470,95475,95493,95521,95525,95540,95627,95651-95653,95656,95659,95663,95855,95894,95899,96163,96174,96180,96212,96217-96218,96228,96271,96273,96286,96297,96306,96342,96358,97460-97461,97469-97470,97475,99349,100239,100242


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to