* (bug 12148) Text highlight wasn't applied to cleanly deleted and added
lines in diff output
* (bug 10166) Fix a PHP warning in Language::getMagic
+* Only mark rollback edits as minor if the user can normally mark edits as minor.
== Parser changes in 1.12 ==
* Standardized limits. Revisions and Deletedrevisions formerly using 200 / 10000,
now 500 / 5000, in line with other modules.
+
=== Languages updated in 1.12 ===
* Afrikaans (af)
$summary = wfMsgForContent( 'revertpage', $target->getUserText(), $from );
# Save
- $flags = EDIT_UPDATE | EDIT_MINOR;
+ $flags = EDIT_UPDATE;
+
+ if ($wgUser->isAllowed('minoredit'))
+ $flags |= EDIT_MINOR;
+
if( $bot )
$flags |= EDIT_FORCE_BOT;
$this->doEdit( $target->getText(), $summary, $flags );