Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -696,13 +696,15 @@ |
697 | 697 | $links[] = $this->getContribsLink( $skin ); |
698 | 698 | $links[] = $this->getUnblockLink( $skin ); |
699 | 699 | $links[] = $this->getBlockListLink( $skin ); |
700 | | - $title = Title::makeTitle( NS_MEDIAWIKI, 'Ipbreason-dropdown' ); |
701 | | - $links[] = $skin->link( |
702 | | - $title, |
703 | | - wfMsgHtml( 'ipb-edit-dropdown' ), |
704 | | - array(), |
705 | | - array( 'action' => 'edit' ) |
706 | | - ); |
| 700 | + if ( $wgUser->isAllowed( 'editinterface' ) ) { |
| 701 | + $title = Title::makeTitle( NS_MEDIAWIKI, 'Ipbreason-dropdown' ); |
| 702 | + $links[] = $skin->link( |
| 703 | + $title, |
| 704 | + wfMsgHtml( 'ipb-edit-dropdown' ), |
| 705 | + array(), |
| 706 | + array( 'action' => 'edit' ) |
| 707 | + ); |
| 708 | + } |
707 | 709 | return '<p class="mw-ipb-conveniencelinks">' . $wgLang->pipeList( $links ) . '</p>'; |
708 | 710 | } |
709 | 711 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -650,6 +650,8 @@ |
651 | 651 | PHP's memcached extension |
652 | 652 | * (bug 21650) Both calls to SkinTemplateTabs hook are now compatible |
653 | 653 | * (bug 21672) Add missing Accept-Language to both Vary and XVO headers |
| 654 | +* (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now |
| 655 | + only displayed to the users that have "editinterface" right |
654 | 656 | |
655 | 657 | == API changes in 1.16 == |
656 | 658 | |