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 "PrefixSearch: Add unit tests for StringPrefixSearch"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialContributions.php
diff --git
a/includes/specials/SpecialContributions.php
b/includes/specials/SpecialContributions.php
index
af8ab58
..
5631c3a
100644
(file)
--- a/
includes/specials/SpecialContributions.php
+++ b/
includes/specials/SpecialContributions.php
@@
-478,13
+478,8
@@
class SpecialContributions extends IncludableSpecialPage {
if ( $tagFilter ) {
$filterSelection = Html::rawElement(
'td',
if ( $tagFilter ) {
$filterSelection = Html::rawElement(
'td',
- array( 'class' => 'mw-label' ),
- array_shift( $tagFilter )
- );
- $filterSelection .= Html::rawElement(
- 'td',
- array( 'class' => 'mw-input' ),
- implode( ' ', $tagFilter )
+ array(),
+ array_shift( $tagFilter ) . implode( ' ', $tagFilter )
);
} else {
$filterSelection = Html::rawElement( 'td', array( 'colspan' => 2 ), '' );
);
} else {
$filterSelection = Html::rawElement( 'td', array( 'colspan' => 2 ), '' );
@@
-510,7
+505,7
@@
class SpecialContributions extends IncludableSpecialPage {
'target',
$this->opts['target'],
'text',
'target',
$this->opts['target'],
'text',
- array( 'size' => '40', 'required' => '', 'class' => 'mw-input' ) +
+ array( 'size' => '40', 'required' => '', 'class' => 'mw-input
mw-ui-input-inline
' ) +
( $this->opts['target'] ? array() : array( 'autofocus' )
)
);
( $this->opts['target'] ? array() : array( 'autofocus' )
)
);
@@
-522,16
+517,12
@@
class SpecialContributions extends IncludableSpecialPage {
$namespaceSelection = Xml::tags(
'td',
$namespaceSelection = Xml::tags(
'td',
- array(
'class' => 'mw-label'
),
+ array(),
Xml::label(
$this->msg( 'namespace' )->text(),
'namespace',
''
Xml::label(
$this->msg( 'namespace' )->text(),
'namespace',
''
- )
- );
- $namespaceSelection .= Html::rawElement(
- 'td',
- null,
+ ) .
Html::namespaceSelector(
array( 'selected' => $this->opts['namespace'], 'all' => '' ),
array(
Html::namespaceSelector(
array( 'selected' => $this->opts['namespace'], 'all' => '' ),
array(
@@
-617,9
+608,9
@@
class SpecialContributions extends IncludableSpecialPage {
$this->opts['year'] === '' ? MWTimestamp::getInstance()->format( 'Y' ) : $this->opts['year'],
$this->opts['month']
) . ' ' .
$this->opts['year'] === '' ? MWTimestamp::getInstance()->format( 'Y' ) : $this->opts['year'],
$this->opts['month']
) . ' ' .
-
X
ml::submitButton(
+
Ht
ml::submitButton(
$this->msg( 'sp-contributions-submit' )->text(),
$this->msg( 'sp-contributions-submit' )->text(),
- array( 'class' => 'mw-submit' )
+ array( 'class' => 'mw-submit' )
, array( 'mw-ui-progressive' )
)
);
)
);
@@
-652,7
+643,7
@@
class SpecialContributions extends IncludableSpecialPage {
* @ingroup SpecialPage Pager
*/
class ContribsPager extends ReverseChronologicalPager {
* @ingroup SpecialPage Pager
*/
class ContribsPager extends ReverseChronologicalPager {
- public $mDefaultDirection =
true
;
+ public $mDefaultDirection =
IndexPager::DIR_DESCENDING
;
public $messages;
public $target;
public $namespace = '';
public $messages;
public $target;
public $namespace = '';