Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -447,7 +447,7 @@ |
448 | 448 | $out .= Xml::closeElement( 'fieldset' ); |
449 | 449 | |
450 | 450 | if ( $wgUser->isAllowed( 'editinterface' ) ) { |
451 | | - $title = Title::newFromText( 'Protect-dropdown', NS_MEDIAWIKI ); |
| 451 | + $title = Title::makeTitle( NS_MEDIAWIKI, 'Protect-dropdown' ); |
452 | 452 | $link = $wgUser->getSkin()->link( |
453 | 453 | $title, |
454 | 454 | wfMsgHtml( 'protect-edit-reasonlist' ), |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -2467,7 +2467,7 @@ |
2468 | 2468 | |
2469 | 2469 | if( $wgUser->isAllowed( 'editinterface' ) ) { |
2470 | 2470 | $skin = $wgUser->getSkin(); |
2471 | | - $title = Title::newFromText( 'Deletereason-dropdown', NS_MEDIAWIKI ); |
| 2471 | + $title = Title::makeTitle( NS_MEDIAWIKI, 'Deletereason-dropdown' ); |
2472 | 2472 | $link = $skin->link( |
2473 | 2473 | $title, |
2474 | 2474 | wfMsgHtml( 'delete-edit-reasonlist' ), |
Index: trunk/phase3/includes/FileDeleteForm.php |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | |
196 | 196 | if ( $wgUser->isAllowed( 'editinterface' ) ) { |
197 | 197 | $skin = $wgUser->getSkin(); |
198 | | - $title = Title::newFromText( 'Filedelete-reason-dropdown', NS_MEDIAWIKI ); |
| 198 | + $title = Title::makeTitle( NS_MEDIAWIKI, 'Filedelete-reason-dropdown' ); |
199 | 199 | $link = $skin->link( |
200 | 200 | $title, |
201 | 201 | wfMsgHtml( 'filedelete-edit-reasonlist' ), |
Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -636,7 +636,7 @@ |
637 | 637 | $links[] = $this->getContribsLink( $skin ); |
638 | 638 | $links[] = $this->getUnblockLink( $skin ); |
639 | 639 | $links[] = $this->getBlockListLink( $skin ); |
640 | | - $title = Title::newFromText( 'Ipbreason-dropdown', NS_MEDIAWIKI ); |
| 640 | + $title = Title::makeTitle( NS_MEDIAWIKI, 'Ipbreason-dropdown' ); |
641 | 641 | $links[] = $skin->link( |
642 | 642 | $title, |
643 | 643 | wfMsgHtml( 'ipb-edit-dropdown' ), |