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 "RevisionStoreDbTestBase, remove redundant needsDB override"
[lhc/web/wiklou.git]
/
includes
/
pager
/
IndexPager.php
diff --git
a/includes/pager/IndexPager.php
b/includes/pager/IndexPager.php
index
b00ec3a
..
05af4fd
100644
(file)
--- a/
includes/pager/IndexPager.php
+++ b/
includes/pager/IndexPager.php
@@
-80,6
+80,7
@@
abstract class IndexPager extends ContextSource implements Pager {
public $mDefaultLimit = 50;
public $mOffset, $mLimit;
public $mQueryDone = false;
public $mDefaultLimit = 50;
public $mOffset, $mLimit;
public $mQueryDone = false;
+ /** @var IDatabase */
public $mDb;
public $mPastTheEndRow;
public $mDb;
public $mPastTheEndRow;
@@
-472,7
+473,7
@@
abstract class IndexPager extends ContextSource implements Pager {
}
if ( in_array( $type, [ 'asc', 'desc' ] ) ) {
}
if ( in_array( $type, [ 'asc', 'desc' ] ) ) {
- $attrs['title'] =
wfMessage
( $type == 'asc' ? 'sort-ascending' : 'sort-descending' )->text();
+ $attrs['title'] =
$this->msg
( $type == 'asc' ? 'sort-ascending' : 'sort-descending' )->text();
}
if ( $type ) {
}
if ( $type ) {