Prefill username in form when calling Special:Log/<username>
[lhc/web/wiklou.git] / 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,
                ];
        }