Legoktm has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/361095 )
Change subject: SpecialContributions: Fix capitalization of DateInputWidget class ...................................................................... SpecialContributions: Fix capitalization of DateInputWidget class 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 --- M includes/specials/SpecialContributions.php 1 file changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/95/361095/1 diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index e2fa8a3..40706ac 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -21,6 +21,8 @@ * @ingroup SpecialPage */ +use MediaWiki\Widget\DateInputWidget; + /** * Special:Contributions, show user contributions in a paged list * @@ -665,7 +667,7 @@ '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', @@ -673,7 +675,7 @@ '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', -- To view, visit https://gerrit.wikimedia.org/r/361095 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3fe6533a0f06dcbc37017361679dad9e77808830 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Legoktm <lego...@member.fsf.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits