Index: trunk/phase3/includes/FileRevertForm.php |
— | — | @@ -92,7 +92,7 @@ |
93 | 93 | $timestamp = $this->getTimestamp(); |
94 | 94 | |
95 | 95 | $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction() ) ); |
96 | | - $form .= Xml::hidden( 'wpEditToken', $wgUser->editToken( $this->archiveName ) ); |
| 96 | + $form .= Html::hidden( 'wpEditToken', $wgUser->editToken( $this->archiveName ) ); |
97 | 97 | $form .= '<fieldset><legend>' . wfMsgHtml( 'filerevert-legend' ) . '</legend>'; |
98 | 98 | $form .= wfMsgExt( 'filerevert-intro', 'parse', $this->title->getText(), |
99 | 99 | $wgLang->date( $timestamp, true ), $wgLang->time( $timestamp, true ), |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -2125,8 +2125,6 @@ |
2126 | 2126 | $userAbort = ignore_user_abort( true ); |
2127 | 2127 | } |
2128 | 2128 | |
2129 | | - $revisionId = 0; |
2130 | | - |
2131 | 2129 | $changed = ( strcmp( $text, $oldtext ) != 0 ); |
2132 | 2130 | |
2133 | 2131 | if ( $changed ) { |
Index: trunk/phase3/includes/db/DatabaseMssql.php |
— | — | @@ -1181,7 +1181,6 @@ |
1182 | 1182 | public function fieldtype( $nr ) { |
1183 | 1183 | $i = 0; |
1184 | 1184 | $intType = -1; |
1185 | | - $strType = ''; |
1186 | 1185 | foreach ( $this->mFieldMeta as $meta ) { |
1187 | 1186 | if ( $nr == $i ) { |
1188 | 1187 | $intType = $meta['Type']; |
Index: trunk/phase3/includes/ChangeTags.php |
— | — | @@ -169,7 +169,7 @@ |
170 | 170 | |
171 | 171 | $html = implode( ' ', $data ); |
172 | 172 | $html .= "\n" . Xml::element( 'input', array( 'type' => 'submit', 'value' => wfMsg( 'tag-filter-submit' ) ) ); |
173 | | - $html .= "\n" . Xml::hidden( 'title', $wgTitle-> getPrefixedText() ); |
| 173 | + $html .= "\n" . Html::hidden( 'title', $wgTitle-> getPrefixedText() ); |
174 | 174 | $html = Xml::tags( 'form', array( 'action' => $wgTitle->getLocalURL(), 'method' => 'get' ), $html ); |
175 | 175 | |
176 | 176 | return $html; |
Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -146,8 +146,8 @@ |
147 | 147 | false, |
148 | 148 | array( 'id' => 'mw-history-search' ) |
149 | 149 | ) . |
150 | | - Xml::hidden( 'title', $this->title->getPrefixedDBKey() ) . "\n" . |
151 | | - Xml::hidden( 'action', 'history' ) . "\n" . |
| 150 | + Html::hidden( 'title', $this->title->getPrefixedDBKey() ) . "\n" . |
| 151 | + Html::hidden( 'action', 'history' ) . "\n" . |
152 | 152 | Xml::dateMenu( $year, $month ) . ' ' . |
153 | 153 | ( $tagSelector ? ( implode( ' ', $tagSelector ) . ' ' ) : '' ) . |
154 | 154 | $checkDeleted . |
Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -95,8 +95,7 @@ |
96 | 96 | |
97 | 97 | $tagSelector = ChangeTags::buildTagFilterSelector( $tagFilter ); |
98 | 98 | |
99 | | - $html = ''; |
100 | | - $html .= Xml::hidden( 'title', $special ); |
| 99 | + $html = Html::hidden( 'title', $special ); |
101 | 100 | |
102 | 101 | // Basic selectors |
103 | 102 | $html .= $this->getTypeMenu( $types ) . "\n"; |
— | — | @@ -163,7 +162,7 @@ |
164 | 163 | ); |
165 | 164 | |
166 | 165 | $links[$type] = wfMsgHtml( "log-show-hide-{$type}", $link ); |
167 | | - $hiddens .= Xml::hidden( "hide_{$type}_log", $val ) . "\n"; |
| 166 | + $hiddens .= Html::hidden( "hide_{$type}_log", $val ) . "\n"; |
168 | 167 | } |
169 | 168 | // Build links |
170 | 169 | return '<small>'.$wgLang->pipeList( $links ) . '</small>' . $hiddens; |
Index: trunk/phase3/includes/installer/WebInstallerPage.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | $id = $this->getId(); |
57 | 57 | |
58 | 58 | if ( $id === false ) { |
59 | | - $s .= Xml::hidden( 'lastPage', $this->parent->request->getVal( 'lastPage' ) ); |
| 59 | + $s .= Html::hidden( 'lastPage', $this->parent->request->getVal( 'lastPage' ) ); |
60 | 60 | } |
61 | 61 | |
62 | 62 | if ( $continue ) { |
Index: trunk/phase3/includes/FileDeleteForm.php |
— | — | @@ -174,7 +174,7 @@ |
175 | 175 | 'id' => 'mw-img-deleteconfirm' ) ) . |
176 | 176 | Xml::openElement( 'fieldset' ) . |
177 | 177 | Xml::element( 'legend', null, wfMsg( 'filedelete-legend' ) ) . |
178 | | - Xml::hidden( 'wpEditToken', $wgUser->editToken( $this->oldimage ) ) . |
| 178 | + Html::hidden( 'wpEditToken', $wgUser->editToken( $this->oldimage ) ) . |
179 | 179 | $this->prepareMessage( 'filedelete-intro' ) . |
180 | 180 | Xml::openElement( 'table', array( 'id' => 'mw-img-deleteconfirm-table' ) ) . |
181 | 181 | "<tr> |
Index: trunk/phase3/includes/specials/SpecialAllpages.php |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | |
100 | 100 | $out = Xml::openElement( 'div', array( 'class' => 'namespaceoptions' ) ); |
101 | 101 | $out .= Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ); |
102 | | - $out .= Xml::hidden( 'title', $t->getPrefixedText() ); |
| 102 | + $out .= Html::hidden( 'title', $t->getPrefixedText() ); |
103 | 103 | $out .= Xml::openElement( 'fieldset' ); |
104 | 104 | $out .= Xml::element( 'legend', null, wfMsg( 'allpages' ) ); |
105 | 105 | $out .= Xml::openElement( 'table', array( 'id' => 'nsselect', 'class' => 'allpages' ) ); |
Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
— | — | @@ -81,7 +81,7 @@ |
82 | 82 | |
83 | 83 | $out = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-allmessages-form' ) ) . |
84 | 84 | Xml::fieldset( wfMsg( 'allmessages-filter-legend' ) ) . |
85 | | - Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) . |
| 85 | + Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . |
86 | 86 | Xml::openElement( 'table', array( 'class' => 'mw-allmessages-table' ) ) . "\n" . |
87 | 87 | '<tr> |
88 | 88 | <td class="mw-label">' . |
Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -196,7 +196,7 @@ |
197 | 197 | // Store query values in hidden fields so that form submission doesn't lose them |
198 | 198 | $hidden = array(); |
199 | 199 | foreach ( $this->opts->getUnconsumedValues() as $key => $value ) { |
200 | | - $hidden[] = Xml::hidden( $key, $value ); |
| 200 | + $hidden[] = Html::hidden( $key, $value ); |
201 | 201 | } |
202 | 202 | $hidden = implode( "\n", $hidden ); |
203 | 203 | |
Index: trunk/phase3/includes/specials/SpecialImport.php |
— | — | @@ -150,8 +150,8 @@ |
151 | 151 | Xml::fieldset( wfMsg( 'import-upload' ) ). |
152 | 152 | Xml::openElement( 'form', array( 'enctype' => 'multipart/form-data', 'method' => 'post', |
153 | 153 | 'action' => $action, 'id' => 'mw-import-upload-form' ) ) . |
154 | | - Xml::hidden( 'action', 'submit' ) . |
155 | | - Xml::hidden( 'source', 'upload' ) . |
| 154 | + Html::hidden( 'action', 'submit' ) . |
| 155 | + Html::hidden( 'source', 'upload' ) . |
156 | 156 | Xml::openElement( 'table', array( 'id' => 'mw-import-table' ) ) . |
157 | 157 | |
158 | 158 | "<tr> |
— | — | @@ -178,7 +178,7 @@ |
179 | 179 | "</td> |
180 | 180 | </tr>" . |
181 | 181 | Xml::closeElement( 'table' ). |
182 | | - Xml::hidden( 'editToken', $wgUser->editToken() ) . |
| 182 | + Html::hidden( 'editToken', $wgUser->editToken() ) . |
183 | 183 | Xml::closeElement( 'form' ) . |
184 | 184 | Xml::closeElement( 'fieldset' ) |
185 | 185 | ); |
Index: trunk/phase3/includes/specials/SpecialCategories.php |
— | — | @@ -127,7 +127,7 @@ |
128 | 128 | |
129 | 129 | return |
130 | 130 | Xml::tags( 'form', array( 'method' => 'get', 'action' => $wgScript ), |
131 | | - Xml::hidden( 'title', $t->getPrefixedText() ) . |
| 131 | + Html::hidden( 'title', $t->getPrefixedText() ) . |
132 | 132 | Xml::fieldset( wfMsg( 'categories' ), |
133 | 133 | Xml::inputLabel( wfMsg( 'categoriesfrom' ), |
134 | 134 | 'from', 'from', 20, $from ) . |
Index: trunk/phase3/includes/specials/SpecialFileDuplicateSearch.php |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | # Create the input form |
103 | 103 | $wgOut->addHTML( |
104 | 104 | Xml::openElement( 'form', array( 'id' => 'fileduplicatesearch', 'method' => 'get', 'action' => $wgScript ) ) . |
105 | | - Xml::hidden( 'title', SpecialPage::getTitleFor( 'FileDuplicateSearch' )->getPrefixedDbKey() ) . |
| 105 | + Html::hidden( 'title', SpecialPage::getTitleFor( 'FileDuplicateSearch' )->getPrefixedDbKey() ) . |
106 | 106 | Xml::openElement( 'fieldset' ) . |
107 | 107 | Xml::element( 'legend', null, wfMsg( 'fileduplicatesearch-legend' ) ) . |
108 | 108 | Xml::inputLabel( wfMsg( 'fileduplicatesearch-filename' ), 'filename', 'filename', 50, $filename ) . ' ' . |
Index: trunk/phase3/includes/specials/SpecialComparePages.php |
— | — | @@ -120,7 +120,7 @@ |
121 | 121 | // Store query values in hidden fields so that form submission doesn't lose them |
122 | 122 | $hidden = array(); |
123 | 123 | foreach ( $this->opts->getUnconsumedValues() as $key => $value ) { |
124 | | - $hidden[] = Xml::hidden( $key, $value ); |
| 124 | + $hidden[] = Html::hidden( $key, $value ); |
125 | 125 | } |
126 | 126 | $hidden = implode( "\n", $hidden ); |
127 | 127 | |
Index: trunk/phase3/includes/specials/SpecialProtectedtitles.php |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | return "<form action=\"$action\" method=\"get\">\n" . |
121 | 121 | '<fieldset>' . |
122 | 122 | Xml::element( 'legend', array(), wfMsg( 'protectedtitles' ) ) . |
123 | | - Xml::hidden( 'title', $special ) . " \n" . |
| 123 | + Html::hidden( 'title', $special ) . " \n" . |
124 | 124 | $this->getNamespaceMenu( $namespace ) . " \n" . |
125 | 125 | $this->getLevelMenu( $level ) . " \n" . |
126 | 126 | " " . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . "\n" . |
Index: trunk/phase3/includes/specials/SpecialPrefixindex.php |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | |
78 | 78 | $out = Xml::openElement( 'div', array( 'class' => 'namespaceoptions' ) ); |
79 | 79 | $out .= Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ); |
80 | | - $out .= Xml::hidden( 'title', $t->getPrefixedText() ); |
| 80 | + $out .= Html::hidden( 'title', $t->getPrefixedText() ); |
81 | 81 | $out .= Xml::openElement( 'fieldset' ); |
82 | 82 | $out .= Xml::element( 'legend', null, wfMsg( 'allpages' ) ); |
83 | 83 | $out .= Xml::openElement( 'table', array( 'id' => 'nsselect', 'class' => 'allpages' ) ); |
Index: trunk/phase3/includes/specials/SpecialWithoutinterwiki.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | return Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . |
50 | 50 | Xml::openElement( 'fieldset' ) . |
51 | 51 | Xml::element( 'legend', null, wfMsg( 'withoutinterwiki-legend' ) ) . |
52 | | - Xml::hidden( 'title', $t->getPrefixedText() ) . |
| 52 | + Html::hidden( 'title', $t->getPrefixedText() ) . |
53 | 53 | Xml::inputLabel( wfMsg( 'allpagesprefix' ), 'prefix', 'wiprefix', 20, $prefix ) . ' ' . |
54 | 54 | Xml::submitButton( wfMsg( 'withoutinterwiki-submit' ) ) . |
55 | 55 | Xml::closeElement( 'fieldset' ) . |
Index: trunk/phase3/includes/specials/SpecialListusers.php |
— | — | @@ -182,7 +182,7 @@ |
183 | 183 | # Form tag |
184 | 184 | $out = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listusers-form' ) ) . |
185 | 185 | Xml::fieldset( wfMsg( 'listusers' ) ) . |
186 | | - Xml::hidden( 'title', $self->getPrefixedDbKey() ); |
| 186 | + Html::hidden( 'title', $self->getPrefixedDbKey() ); |
187 | 187 | |
188 | 188 | # Username field |
189 | 189 | $out .= Xml::label( wfMsg( 'listusersfrom' ), 'offset' ) . ' ' . |
— | — | @@ -203,7 +203,7 @@ |
204 | 204 | wfRunHooks( 'SpecialListusersHeaderForm', array( $this, &$out ) ); |
205 | 205 | |
206 | 206 | # Submit button and form bottom |
207 | | - $out .= Xml::hidden( 'limit', $this->mLimit ); |
| 207 | + $out .= Html::hidden( 'limit', $this->mLimit ); |
208 | 208 | $out .= Xml::submitButton( wfMsg( 'allpagessubmit' ) ); |
209 | 209 | wfRunHooks( 'SpecialListusersHeader', array( $this, &$out ) ); |
210 | 210 | $out .= Xml::closeElement( 'fieldset' ) . |
Index: trunk/phase3/includes/specials/SpecialActiveusers.php |
— | — | @@ -136,11 +136,11 @@ |
137 | 137 | global $wgScript; |
138 | 138 | |
139 | 139 | $self = $this->getTitle(); |
140 | | - $limit = $this->mLimit ? Xml::hidden( 'limit', $this->mLimit ) : ''; |
| 140 | + $limit = $this->mLimit ? Html::hidden( 'limit', $this->mLimit ) : ''; |
141 | 141 | |
142 | | - $out = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ); # Form tag |
| 142 | + $out = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ); # Form tag |
143 | 143 | $out .= Xml::fieldset( wfMsg( 'activeusers' ) ) . "\n"; |
144 | | - $out .= Xml::hidden( 'title', $self->getPrefixedDBkey() ) . $limit . "\n"; |
| 144 | + $out .= Html::hidden( 'title', $self->getPrefixedDBkey() ) . $limit . "\n"; |
145 | 145 | |
146 | 146 | $out .= Xml::inputLabel( wfMsg( 'activeusers-from' ), 'username', 'offset', 20, $this->requestedUser ) . '<br />';# Username field |
147 | 147 | |
Index: trunk/phase3/includes/specials/SpecialBooksources.php |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | $title = self::getTitleFor( 'Booksources' ); |
121 | 121 | $form = '<fieldset><legend>' . wfMsgHtml( 'booksources-search-legend' ) . '</legend>'; |
122 | 122 | $form .= Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ); |
123 | | - $form .= Xml::hidden( 'title', $title->getPrefixedText() ); |
| 123 | + $form .= Html::hidden( 'title', $title->getPrefixedText() ); |
124 | 124 | $form .= '<p>' . Xml::inputLabel( wfMsg( 'booksources-isbn' ), 'isbn', 'isbn', 20, $this->isbn ); |
125 | 125 | $form .= ' ' . Xml::submitButton( wfMsg( 'booksources-go' ) ) . '</p>'; |
126 | 126 | $form .= Xml::closeElement( 'form' ); |
Index: trunk/phase3/includes/specials/SpecialConfirmemail.php |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | } |
104 | 104 | $wgOut->addWikiMsg( 'confirmemail_text' ); |
105 | 105 | $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getTitle()->getLocalUrl() ) ); |
106 | | - $form .= Xml::hidden( 'token', $wgUser->editToken() ); |
| 106 | + $form .= Html::hidden( 'token', $wgUser->editToken() ); |
107 | 107 | $form .= Xml::submitButton( wfMsg( 'confirmemail_send' ) ); |
108 | 108 | $form .= Xml::closeElement( 'form' ); |
109 | 109 | $wgOut->addHTML( $form ); |
Index: trunk/phase3/includes/specials/SpecialResetpass.php |
— | — | @@ -140,9 +140,9 @@ |
141 | 141 | 'method' => 'post', |
142 | 142 | 'action' => $self->getLocalUrl(), |
143 | 143 | 'id' => 'mw-resetpass-form' ) ) . "\n" . |
144 | | - Xml::hidden( 'token', $wgUser->editToken() ) . "\n" . |
145 | | - Xml::hidden( 'wpName', $this->mUserName ) . "\n" . |
146 | | - Xml::hidden( 'returnto', $wgRequest->getVal( 'returnto' ) ) . "\n" . |
| 144 | + Html::hidden( 'token', $wgUser->editToken() ) . "\n" . |
| 145 | + Html::hidden( 'wpName', $this->mUserName ) . "\n" . |
| 146 | + Html::hidden( 'returnto', $wgRequest->getVal( 'returnto' ) ) . "\n" . |
147 | 147 | wfMsgExt( 'resetpass_text', array( 'parse' ) ) . "\n" . |
148 | 148 | Xml::openElement( 'table', array( 'id' => 'mw-resetpass-table' ) ) . "\n" . |
149 | 149 | $this->pretty( array( |
Index: trunk/phase3/includes/specials/SpecialProtectedpages.php |
— | — | @@ -158,7 +158,7 @@ |
159 | 159 | return Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . |
160 | 160 | Xml::openElement( 'fieldset' ) . |
161 | 161 | Xml::element( 'legend', array(), wfMsg( 'protectedpages' ) ) . |
162 | | - Xml::hidden( 'title', $title->getPrefixedDBkey() ) . "\n" . |
| 162 | + Html::hidden( 'title', $title->getPrefixedDBkey() ) . "\n" . |
163 | 163 | $this->getNamespaceMenu( $namespace ) . " \n" . |
164 | 164 | $this->getTypeMenu( $type ) . " \n" . |
165 | 165 | $this->getLevelMenu( $level ) . " \n" . |
Index: trunk/phase3/includes/specials/SpecialMIMEsearch.php |
— | — | @@ -107,7 +107,7 @@ |
108 | 108 | $wgOut->addHTML( |
109 | 109 | Xml::openElement( 'form', array( 'id' => 'specialmimesearch', 'method' => 'get', 'action' => SpecialPage::getTitleFor( 'MIMEsearch' )->getLocalUrl() ) ) . |
110 | 110 | Xml::openElement( 'fieldset' ) . |
111 | | - Xml::hidden( 'title', SpecialPage::getTitleFor( 'MIMEsearch' )->getPrefixedText() ) . |
| 111 | + Html::hidden( 'title', SpecialPage::getTitleFor( 'MIMEsearch' )->getPrefixedText() ) . |
112 | 112 | Xml::element( 'legend', null, wfMsg( 'mimesearch' ) ) . |
113 | 113 | Xml::inputLabel( wfMsg( 'mimetype' ), 'mime', 'mime', 20, $mime ) . ' ' . |
114 | 114 | Xml::submitButton( wfMsg( 'ilsubmit' ) ) . |
Index: trunk/phase3/includes/specials/SpecialMergeHistory.php |
— | — | @@ -142,9 +142,9 @@ |
143 | 143 | '<fieldset>' . |
144 | 144 | Xml::element( 'legend', array(), |
145 | 145 | wfMsg( 'mergehistory-box' ) ) . |
146 | | - Xml::hidden( 'title', $this->getTitle()->getPrefixedDbKey() ) . |
147 | | - Xml::hidden( 'submitted', '1' ) . |
148 | | - Xml::hidden( 'mergepoint', $this->mTimestamp ) . |
| 146 | + Html::hidden( 'title', $this->getTitle()->getPrefixedDbKey() ) . |
| 147 | + Html::hidden( 'submitted', '1' ) . |
| 148 | + Html::hidden( 'mergepoint', $this->mTimestamp ) . |
149 | 149 | Xml::openElement( 'table' ) . |
150 | 150 | "<tr> |
151 | 151 | <td>".Xml::label( wfMsg( 'mergehistory-from' ), 'target' )."</td> |
Index: trunk/phase3/includes/specials/SpecialLinkSearch.php |
— | — | @@ -63,8 +63,8 @@ |
64 | 64 | $self = Title::makeTitle( NS_SPECIAL, 'Linksearch' ); |
65 | 65 | |
66 | 66 | $wgOut->addWikiMsg( 'linksearch-text', '<nowiki>' . $wgLang->commaList( $wgUrlProtocols ) . '</nowiki>' ); |
67 | | - $s = Xml::openElement( 'form', array( 'id' => 'mw-linksearch-form', 'method' => 'get', 'action' => $GLOBALS['wgScript'] ) ) . |
68 | | - Xml::hidden( 'title', $self->getPrefixedDbKey() ) . |
| 67 | + $s = Xml::openElement( 'form', array( 'id' => 'mw-linksearch-form', 'method' => 'get', 'action' => $GLOBALS['wgScript'] ) ) . |
| 68 | + Html::hidden( 'title', $self->getPrefixedDbKey() ) . |
69 | 69 | '<fieldset>' . |
70 | 70 | Xml::element( 'legend', array(), wfMsg( 'linksearch' ) ) . |
71 | 71 | Xml::inputLabel( wfMsg( 'linksearch-pat' ), 'target', 'target', 50, $target ) . ' '; |
Index: trunk/phase3/includes/specials/SpecialRevisionMove.php |
— | — | @@ -149,11 +149,11 @@ |
150 | 150 | 'action' => $this->getTitle()->getLocalUrl( array( 'action' => 'submit' ) ), |
151 | 151 | 'id' => 'mw-revmove-form' ) ) . |
152 | 152 | Xml::fieldset( wfMsg( 'revmove-legend' ) ) . |
153 | | - Xml::hidden( 'wpEditToken', $wgUser->editToken() ) . |
154 | | - Xml::hidden( 'oldTitle', $this->mOldTitle->getPrefixedText() ) . |
| 153 | + Html::hidden( 'wpEditToken', $wgUser->editToken() ) . |
| 154 | + Html::hidden( 'oldTitle', $this->mOldTitle->getPrefixedText() ) . |
155 | 155 | '<div>' . Xml::inputLabel( wfMsg( 'revmove-reasonfield' ), 'wpReason', 'revmove-reasonfield', 60 ) . '</div>' . |
156 | 156 | Xml::inputLabel( wfMsg( 'revmove-titlefield' ), 'newTitle', 'revmove-titlefield', 20, $this->mOldTitle->getPrefixedText() ) . |
157 | | - Xml::hidden( 'ids', implode( ',', $this->mIds ) ) . |
| 157 | + Html::hidden( 'ids', implode( ',', $this->mIds ) ) . |
158 | 158 | Xml::submitButton( wfMsg( 'revmove-submit' ), |
159 | 159 | array( 'name' => 'wpSubmit' ) ) . |
160 | 160 | Xml::closeElement( 'fieldset' ) . "\n" . |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -977,7 +977,6 @@ |
978 | 978 | } else { |
979 | 979 | $s .= $this->formatNum( $num, true ); |
980 | 980 | } |
981 | | - $num = false; |
982 | 981 | } |
983 | 982 | } |
984 | 983 | return $s; |