Merge "Prefill username in form when calling Special:Log/<username>"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 26 Jul 2018 20:06:13 +0000 (20:06 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 26 Jul 2018 20:06:13 +0000 (20:06 +0000)
includes/logging/LogEventsList.php

index db97364..559ac87 100644 (file)
@@ -273,6 +273,7 @@ class LogEventsList extends ContextSource {
                        'class' => 'HTMLUserTextField',
                        'label-message' => 'specialloguserlabel',
                        'name' => 'user',
+                       'default' => $user,
                ];
        }