dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Cache redirects from Special:Redirect"
[lhc/web/wiklou.git]
/
includes
/
actions
/
McrUndoAction.php
diff --git
a/includes/actions/McrUndoAction.php
b/includes/actions/McrUndoAction.php
index
b60820c
..
47bbdc0
100644
(file)
--- a/
includes/actions/McrUndoAction.php
+++ b/
includes/actions/McrUndoAction.php
@@
-358,8
+358,6
@@
class McrUndoAction extends FormAction {
protected function getFormFields() {
$request = $this->getRequest();
protected function getFormFields() {
$request = $this->getRequest();
- $config = $this->context->getConfig();
- $oldCommentSchema = $config->get( 'CommentTableSchemaMigrationStage' ) === MIGRATION_OLD;
$ret = [
'diff' => [
'type' => 'info',
$ret = [
'diff' => [
'type' => 'info',
@@
-375,7
+373,7
@@
class McrUndoAction extends FormAction {
'name' => 'wpSummary',
'cssclass' => 'mw-summary',
'label-message' => 'summary',
'name' => 'wpSummary',
'cssclass' => 'mw-summary',
'label-message' => 'summary',
- 'maxlength' =>
$oldCommentSchema ? 200 :
CommentStore::COMMENT_CHARACTER_LIMIT,
+ 'maxlength' => CommentStore::COMMENT_CHARACTER_LIMIT,
'value' => $request->getVal( 'wpSummary', '' ),
'size' => 60,
'spellcheck' => 'true',
'value' => $request->getVal( 'wpSummary', '' ),
'size' => 60,
'spellcheck' => 'true',