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 Special:AllMessages to use OOUI"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialContributions.php
diff --git
a/includes/specials/SpecialContributions.php
b/includes/specials/SpecialContributions.php
index
63b64ea
..
5b939ef
100644
(file)
--- a/
includes/specials/SpecialContributions.php
+++ b/
includes/specials/SpecialContributions.php
@@
-607,7
+607,7
@@
class SpecialContributions extends IncludableSpecialPage {
''
) . "\u{00A0}" .
Html::namespaceSelector(
''
) . "\u{00A0}" .
Html::namespaceSelector(
- [ 'selected' => $this->opts['namespace'], 'all' => '' ],
+ [ 'selected' => $this->opts['namespace'], 'all' => ''
, 'in-user-lang' => true
],
[
'name' => 'namespace',
'id' => 'namespace',
[
'name' => 'namespace',
'id' => 'namespace',
@@
-744,7
+744,9
@@
class SpecialContributions extends IncludableSpecialPage {
$explain = $this->msg( 'sp-contributions-explain' );
if ( !$explain->isBlank() ) {
$explain = $this->msg( 'sp-contributions-explain' );
if ( !$explain->isBlank() ) {
- $form .= "<p id='mw-sp-contributions-explain'>{$explain->parse()}</p>";
+ $form .= Html::rawElement(
+ 'p', [ 'id' => 'mw-sp-contributions-explain' ], $explain->parse()
+ );
}
$form .= Xml::closeElement( 'form' );
}
$form .= Xml::closeElement( 'form' );