r57332 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57331‎ | r57332 | r57333 >
Date:17:40, 3 October 2009
Author:aaron
Status:ok
Tags:
Comment:
Follow up r57300: reason field fixes
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1948,8 +1948,8 @@
19491949 $form->target = $article->getTitle(); # Our target page
19501950 $form->watchThis = null; // protection form already has a watch check
19511951 $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
19541954 $form->expiry = $wgRequest->getText( 'mwStabilize-expiry' ); # Expiry
19551955 $form->expirySelection = $wgRequest->getVal( 'wpExpirySelection' ); # Expiry dropdown
19561956 # Fill in config from the protection level...

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57300* Added $wgFlaggedRevsProtectLevels to allow for site defined review "protect...aaron18:46, 2 October 2009

Status & tagging log