Page MenuHomePhabricator

Prefill username in form when calling Special:Log/<username>
Closed, ResolvedPublic

Description

Probably a regression with the last deployment to 1.32.0-wmf.13:

The username field is not (longer?) filled when calling the form with Special:log/<username>

Spotted by User:Lómelinde - https://de.wikipedia.org/w/index.php?title=Wikipedia_Diskussion:Projektneuheiten&diff=179466395&oldid=179216521

Event Timeline

	private function getUserInputDesc( $user ) {
		return [
			'class' => 'HTMLUserTextField',
			'label-message' => 'specialloguserlabel',
			'name' => 'user',
		];
	}

I think It should have default value as well?

Jayprakash12345 triaged this task as High priority.

Change 448073 had a related patch set uploaded (by Jayprakash12345; owner: Jayprakash12345):
[mediawiki/core@master] Prefill username in form when calling Special:Log/<username>

https://gerrit.wikimedia.org/r/448073

Change 448073 merged by jenkins-bot:
[mediawiki/core@master] Prefill username in form when calling Special:Log/<username>

https://gerrit.wikimedia.org/r/448073