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:
903a375
)
Use $this->mTitle instead of $wgArticle->getTitle()
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Tue, 4 Jan 2011 15:02:54 +0000
(15:02 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Tue, 4 Jan 2011 15:02:54 +0000
(15:02 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
f94903c
..
8d12aa1
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-1566,9
+1566,7
@@
class Skin extends Linker {
// Allow for site and per-namespace customization of copyright notice.
$forContent = true;
- if ( isset( $wgArticle ) ) {
- wfRunHooks( 'SkinCopyrightFooter', array( $wgArticle->getTitle(), $type, &$msg, &$link, &$forContent ) );
- }
+ wfRunHooks( 'SkinCopyrightFooter', array( $this->mTitle, $type, &$msg, &$link, &$forContent ) );
if ( $forContent ) {
$out .= wfMsgForContent( $msg, $link );