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:
e76c782
)
Fix fatal in Standard skin.
author
Happy-melon
<happy-melon@users.mediawiki.org>
Sat, 16 Apr 2011 20:22:18 +0000
(20:22 +0000)
committer
Happy-melon
<happy-melon@users.mediawiki.org>
Sat, 16 Apr 2011 20:22:18 +0000
(20:22 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
2114849
..
1bf2883
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-525,6
+525,10
@@
abstract class Skin {
function getCategoryLinks( OutputPage $out=null ) {
global $wgUseCategoryBrowser, $wgContLang;
+ if( $out === null ){
+ $out = $this->getContext()->output;
+ }
+
if ( count( $out->mCategoryLinks ) == 0 ) {
return '';
}