The namespace was improperly capitalized, move it to a "use" statement
while we're at it so it's only included once.
Noticed by the logging added for T166759.
Change-Id: I3fe6533a0f06dcbc37017361679dad9e77808830
* @ingroup SpecialPage
*/
+use MediaWiki\Widget\DateInputWidget;
+
/**
* Special:Contributions, show user contributions in a paged list
*
'div',
[],
Xml::label( wfMessage( 'date-range-from' )->text(), 'mw-date-start' ) . ' ' .
- new \Mediawiki\Widget\DateInputWidget( [
+ new DateInputWidget( [
'infusable' => true,
'id' => 'mw-date-start',
'name' => 'start',
'longDisplayFormat' => true,
] ) . '<br>' .
Xml::label( wfMessage( 'date-range-to' )->text(), 'mw-date-end' ) . ' ' .
- new \Mediawiki\Widget\DateInputWidget( [
+ new DateInputWidget( [
'infusable' => true,
'id' => 'mw-date-end',
'name' => 'end',