Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1948,8 +1948,8 @@ |
1949 | 1949 | $form->target = $article->getTitle(); # Our target page |
1950 | 1950 | $form->watchThis = null; // protection form already has a watch check |
1951 | 1951 | $form->reviewThis = $wgRequest->getBool( 'wpReviewthis', true ); # Auto-review option |
1952 | | - $form->reason = $wgRequest->getVal( 'wpReason' ); # Reason |
1953 | | - $form->reasonSelection = $wgRequest->getText( 'wpReasonSelection' ); # Reason dropdown |
| 1952 | + $form->reason = $wgRequest->getText( 'mwProtect-reason' ); # Reason |
| 1953 | + $form->reasonSelection = $wgRequest->getVal( 'wpProtectReasonSelection' ); # Reason dropdown |
1954 | 1954 | $form->expiry = $wgRequest->getText( 'mwStabilize-expiry' ); # Expiry |
1955 | 1955 | $form->expirySelection = $wgRequest->getVal( 'wpExpirySelection' ); # Expiry dropdown |
1956 | 1956 | # Fill in config from the protection level... |