Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | 'repoadmin-edit-bug' => 'Bugzilla path:', |
47 | 47 | 'repoadmin-edit-view' => 'ViewVC path:', |
48 | 48 | 'repoadmin-edit-button' => 'OK', |
49 | | - 'repoadmin-edit-sucess' => 'The repository "$1" has been sucessfully modified.', |
| 49 | + 'repoadmin-edit-sucess' => 'The repository "[[Special:Code/$1|$1]]" has been sucessfully modified.', |
50 | 50 | ); |
51 | 51 | |
52 | 52 | $messages['fr'] = array( |
Index: trunk/extensions/CodeReview/SpecialRepoAdmin.php |
— | — | @@ -107,11 +107,14 @@ |
108 | 108 | $wgOut->addHtml( |
109 | 109 | Xml::fieldset( wfMsg( 'repoadmin-edit-legend', $this->mRepoName ) ) . |
110 | 110 | Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->mPage->getTitle( $this->mRepoName )->getLocalURL() ) ) . |
111 | | - '<table>'. |
112 | | - '<tr><td>' . Xml::label( wfMsg( 'repoadmin-edit-path' ), 'wpRepoPath' ) . '</td><td>' . Xml::input( 'wpRepoPath', false, $repoPath ) . '</td></tr>' . |
113 | | - '<tr><td>' . Xml::label( wfMsg( 'repoadmin-edit-bug' ), 'wpBugPath' ) . '</td><td>' . Xml::input( 'wpBugPath', false, $bugPath ) . '</td></tr>' . |
114 | | - '<tr><td>' . Xml::label( wfMsg( 'repoadmin-edit-view' ), 'wpViewPath' ) . '</td><td>' . Xml::input( 'wpViewPath', false, $viewPath ) . '</td></tr>' . |
115 | | - '</table>' . |
| 111 | + Xml::buildForm( |
| 112 | + array( |
| 113 | + 'repoadmin-edit-path' => |
| 114 | + Xml::input( 'wpRepoPath', 60, $repoPath ), |
| 115 | + 'repoadmin-edit-bug' => |
| 116 | + Xml::input( 'wpBugPath', 60, $bugPath ), |
| 117 | + 'repoadmin-edit-view' => |
| 118 | + Xml::input( 'wpViewPath', 60, $viewPath ) ) ) . |
116 | 119 | Xml::hidden( 'wpEditToken', $wgUser->editToken( $this->mRepoName ) ) . |
117 | 120 | Xml::submitButton( wfMsg( 'repoadmin-edit-button' ) ) . |
118 | 121 | '</form></fieldset>' |