dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ace2fe6
)
Change $wgContLang->getDirMark() to wfUILang()->getDirMark() (improvement when $wgBet...
author
Robin Pepermans
<robin@users.mediawiki.org>
Sun, 19 Jun 2011 14:27:55 +0000
(14:27 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Sun, 19 Jun 2011 14:27:55 +0000
(14:27 +0000)
includes/ChangesList.php
patch
|
blob
|
history
diff --git
a/includes/ChangesList.php
b/includes/ChangesList.php
index
f25678d
..
2386a3a
100644
(file)
--- a/
includes/ChangesList.php
+++ b/
includes/ChangesList.php
@@
-355,7
+355,7
@@
class ChangesList {
$articlelink = "<strong class=\"mw-watched\">{$articlelink}</strong>";
}
# RTL/LTR marker
$articlelink = "<strong class=\"mw-watched\">{$articlelink}</strong>";
}
# RTL/LTR marker
- $articlelink .=
$wgContLang
->getDirMark();
+ $articlelink .=
wfUILang()
->getDirMark();
wfRunHooks( 'ChangesListInsertArticleLink',
array(&$this, &$articlelink, &$s, &$rc, $unpatrolled, $watched) );
wfRunHooks( 'ChangesListInsertArticleLink',
array(&$this, &$articlelink, &$s, &$rc, $unpatrolled, $watched) );
@@
-867,7
+867,7
@@
class EnhancedChangesList extends ChangesList {
$users = array();
foreach( $userlinks as $userlink => $count) {
$text = $userlink;
$users = array();
foreach( $userlinks as $userlink => $count) {
$text = $userlink;
- $text .=
$wgContLang
->getDirMark();
+ $text .=
wfUILang()
->getDirMark();
if( $count > 1 ) {
$text .= ' (' . $wgLang->formatNum( $count ) . '×)';
}
if( $count > 1 ) {
$text .= ' (' . $wgLang->formatNum( $count ) . '×)';
}
@@
-909,7
+909,7
@@
class EnhancedChangesList extends ChangesList {
$this->insertArticleLink( $r, $block[0], $block[0]->unpatrolled, $block[0]->watched );
}
$this->insertArticleLink( $r, $block[0], $block[0]->unpatrolled, $block[0]->watched );
}
- $r .=
$wgContLang
->getDirMark();
+ $r .=
wfUILang()
->getDirMark();
$queryParams['curid'] = $curId;
# Changes message
$queryParams['curid'] = $curId;
# Changes message