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:
be768f0
)
* Springle some parsemag to the sidebar and tagline per bug 16669
author
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Fri, 19 Dec 2008 08:54:51 +0000
(08:54 +0000)
committer
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Fri, 19 Dec 2008 08:54:51 +0000
(08:54 +0000)
includes/QueryPage.php
patch
|
blob
|
history
includes/Skin.php
patch
|
blob
|
history
includes/specials/SpecialContributions.php
patch
|
blob
|
history
includes/specials/SpecialNewpages.php
patch
|
blob
|
history
diff --git
a/includes/QueryPage.php
b/includes/QueryPage.php
index
5f1acdb
..
0b58750
100644
(file)
--- a/
includes/QueryPage.php
+++ b/
includes/QueryPage.php
@@
-534,7
+534,7
@@
class QueryPage {
}
function feedDesc() {
}
function feedDesc() {
- return wfMsg
( 'tagline
' );
+ return wfMsg
Ext( 'tagline', 'parsemag
' );
}
function feedUrl() {
}
function feedUrl() {
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
e115895
..
f4744dc
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-1023,7
+1023,7
@@
END;
$sub = $wgOut->getSubtitle();
if ( '' == $sub ) {
global $wgExtraSubtitle;
$sub = $wgOut->getSubtitle();
if ( '' == $sub ) {
global $wgExtraSubtitle;
- $sub = wfMsg
( 'tagline
' ) . $wgExtraSubtitle;
+ $sub = wfMsg
Ext( 'tagline', 'parsemag
' ) . $wgExtraSubtitle;
}
$subpages = $this->subPageSubtitle();
$sub .= !empty($subpages)?"</p><p class='subpages'>$subpages":'';
}
$subpages = $this->subPageSubtitle();
$sub .= !empty($subpages)?"</p><p class='subpages'>$subpages":'';
@@
-1840,7
+1840,9
@@
END;
$link = wfMsgForContent( $line[0] );
if ($link == '-')
continue;
$link = wfMsgForContent( $line[0] );
if ($link == '-')
continue;
- if (wfEmptyMsg($line[1], $text = wfMsg($line[1])))
+
+ $text = wfMsgExt($line[1], 'parsemag');
+ if (wfEmptyMsg($line[1], $text))
$text = $line[1];
if (wfEmptyMsg($line[0], $link))
$link = $line[0];
$text = $line[1];
if (wfEmptyMsg($line[0], $link))
$link = $line[0];
diff --git
a/includes/specials/SpecialContributions.php
b/includes/specials/SpecialContributions.php
index
bca2f57
..
af88aef
100644
(file)
--- a/
includes/specials/SpecialContributions.php
+++ b/
includes/specials/SpecialContributions.php
@@
-299,7
+299,7
@@
class SpecialContributions extends SpecialPage {
$feed = new $wgFeedClasses[$type](
$this->feedTitle(),
$feed = new $wgFeedClasses[$type](
$this->feedTitle(),
- wfMsg
( 'tagline
' ),
+ wfMsg
Ext( 'tagline', 'parsemag
' ),
$this->getTitle()->getFullUrl() );
// Already valid title
$this->getTitle()->getFullUrl() );
// Already valid title
diff --git
a/includes/specials/SpecialNewpages.php
b/includes/specials/SpecialNewpages.php
index
0f5cfe4
..
ff5a43c
100644
(file)
--- a/
includes/specials/SpecialNewpages.php
+++ b/
includes/specials/SpecialNewpages.php
@@
-281,7
+281,7
@@
class SpecialNewpages extends SpecialPage {
$feed = new $wgFeedClasses[$type](
$this->feedTitle(),
$feed = new $wgFeedClasses[$type](
$this->feedTitle(),
- wfMsg
( 'tagline
' ),
+ wfMsg
Ext( 'tagline', 'parsemag
' ),
$this->getTitle()->getFullUrl() );
$pager = new NewPagesPager( $this, $this->opts );
$this->getTitle()->getFullUrl() );
$pager = new NewPagesPager( $this, $this->opts );