Index: trunk/phase3/tests/phpunit/includes/TitlePermissionTest.php |
— | — | @@ -580,7 +580,7 @@ |
581 | 581 | $this->title->userCan( 'move' ) ); |
582 | 582 | |
583 | 583 | $this->title->mInterwiki = "no"; |
584 | | - $this->assertEquals( array( array( 'immobile-page' ) ), |
| 584 | + $this->assertEquals( array( array( 'immobile-source-page' ) ), |
585 | 585 | $this->title->getUserPermissionsErrors( 'move', $this->user ) ); |
586 | 586 | $this->assertEquals( false, |
587 | 587 | $this->title->userCan( 'move' ) ); |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -1555,7 +1555,7 @@ |
1556 | 1556 | $errors[] = array( 'immobile-source-namespace', $this->getNsText() ); |
1557 | 1557 | } elseif ( !$this->isMovable() ) { |
1558 | 1558 | // Less specific message for rarer cases |
1559 | | - $errors[] = array( 'immobile-page' ); |
| 1559 | + $errors[] = array( 'immobile-source-page' ); |
1560 | 1560 | } |
1561 | 1561 | } elseif ( $action == 'move-target' ) { |
1562 | 1562 | if ( !MWNamespace::isMovable( $this->mNamespace ) ) { |