Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1120,16 +1120,17 @@ |
1121 | 1121 | if( isset( $wgArticle ) && $this->getTitle() && $this->getTitle()->quickUserCan( 'edit' ) |
1122 | 1122 | && ( $this->getTitle()->exists() || $this->getTitle()->quickUserCan( 'create' ) ) ) { |
1123 | 1123 | // Original UniversalEditButton |
| 1124 | + $msg = wfMsg('edit'); |
1124 | 1125 | $this->addLink( array( |
1125 | 1126 | 'rel' => 'alternate', |
1126 | 1127 | 'type' => 'application/x-wiki', |
1127 | | - 'title' => wfMsg( 'edit' ), |
| 1128 | + 'title' => $msg, |
1128 | 1129 | 'href' => $this->getTitle()->getLocalURL( 'action=edit' ) |
1129 | 1130 | ) ); |
1130 | 1131 | // Alternate edit link |
1131 | 1132 | $this->addLink( array( |
1132 | 1133 | 'rel' => 'edit', |
1133 | | - 'title' => wfMsg( 'edit' ), |
| 1134 | + 'title' => $msg, |
1134 | 1135 | 'href' => $this->getTitle()->getLocalURL( 'action=edit' ) |
1135 | 1136 | ) ); |
1136 | 1137 | } |