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
Http::getProxy() method to get proxy configuration
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialAllMessages.php
diff --git
a/includes/specials/SpecialAllMessages.php
b/includes/specials/SpecialAllMessages.php
index
6a86af2
..
ed1c903
100644
(file)
--- a/
includes/specials/SpecialAllMessages.php
+++ b/
includes/specials/SpecialAllMessages.php
@@
-130,7
+130,7
@@
class AllMessagesTablePager extends TablePager {
if ( $prefix !== null ) {
$this->displayPrefix = $prefix->getDBkey();
if ( $prefix !== null ) {
$this->displayPrefix = $prefix->getDBkey();
- $this->prefix = '/^' . preg_quote( $this->displayPrefix ) . '/i';
+ $this->prefix = '/^' . preg_quote( $this->displayPrefix
, '/'
) . '/i';
} else {
$this->displayPrefix = false;
$this->prefix = false;
} else {
$this->displayPrefix = false;
$this->prefix = false;
@@
-206,7
+206,7
@@
class AllMessagesTablePager extends TablePager {
Xml::label( $this->msg( 'table_pager_limit_label' )->text(), 'mw-table_pager_limit_label' ) .
'</td>
<td class="mw-input">' .
Xml::label( $this->msg( 'table_pager_limit_label' )->text(), 'mw-table_pager_limit_label' ) .
'</td>
<td class="mw-input">' .
- $this->getLimitSelect() .
+ $this->getLimitSelect(
array( 'id' => 'mw-table_pager_limit_label' )
) .
'</td>
<tr>
<td></td>
'</td>
<tr>
<td></td>
@@
-392,10
+392,10
@@
class AllMessagesTablePager extends TablePager {
);
}
);
}
- return $title . ' '
- . $this->msg( 'parentheses' )->rawParams( $talk )->escaped()
- . ' '
-
.
$this->msg( 'parentheses' )->rawParams( $translation )->escaped();
+ return $title . ' '
.
+ $this->msg( 'parentheses' )->rawParams( $talk )->escaped() .
+ ' ' .
+
$this->msg( 'parentheses' )->rawParams( $translation )->escaped();
case 'am_default' :
case 'am_actual' :
case 'am_default' :
case 'am_actual' :
@@
-445,7
+445,11
@@
class AllMessagesTablePager extends TablePager {
} elseif ( $field === 'am_title' ) {
return array( 'class' => $field );
} else {
} elseif ( $field === 'am_title' ) {
return array( 'class' => $field );
} else {
- return array( 'lang' => $this->langcode, 'dir' => $this->lang->getDir(), 'class' => $field );
+ return array(
+ 'lang' => wfBCP47( $this->langcode ),
+ 'dir' => $this->lang->getDir(),
+ 'class' => $field
+ );
}
}
}
}