dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Convert article delete to use OOUI"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialContributions.php
diff --git
a/includes/specials/SpecialContributions.php
b/includes/specials/SpecialContributions.php
index
e2fa8a3
..
3845649
100644
(file)
--- a/
includes/specials/SpecialContributions.php
+++ b/
includes/specials/SpecialContributions.php
@@
-21,6
+21,8
@@
* @ingroup SpecialPage
*/
* @ingroup SpecialPage
*/
+use MediaWiki\Widget\DateInputWidget;
+
/**
* Special:Contributions, show user contributions in a paged list
*
/**
* Special:Contributions, show user contributions in a paged list
*
@@
-327,7
+329,6
@@
class SpecialContributions extends IncludableSpecialPage {
* @return array
*/
public static function getUserLinks( SpecialPage $sp, User $target ) {
* @return array
*/
public static function getUserLinks( SpecialPage $sp, User $target ) {
-
$id = $target->getId();
$username = $target->getName();
$userpage = $target->getUserPage();
$id = $target->getId();
$username = $target->getName();
$userpage = $target->getUserPage();
@@
-665,7
+666,7
@@
class SpecialContributions extends IncludableSpecialPage {
'div',
[],
Xml::label( wfMessage( 'date-range-from' )->text(), 'mw-date-start' ) . ' ' .
'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',
'infusable' => true,
'id' => 'mw-date-start',
'name' => 'start',
@@
-673,7
+674,7
@@
class SpecialContributions extends IncludableSpecialPage {
'longDisplayFormat' => true,
] ) . '<br>' .
Xml::label( wfMessage( 'date-range-to' )->text(), 'mw-date-end' ) . ' ' .
'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',
'infusable' => true,
'id' => 'mw-date-end',
'name' => 'end',