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:
5c5322b
)
Add proper $out setting to Skin::getCategories which is present in the other similar...
author
Daniel Friesen
<dantman@users.mediawiki.org>
Wed, 4 May 2011 01:53:05 +0000
(
01:53
+0000)
committer
Daniel Friesen
<dantman@users.mediawiki.org>
Wed, 4 May 2011 01:53:05 +0000
(
01:53
+0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
747401b
..
eeb71cf
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-607,9
+607,9
@@
abstract class Skin {
* the ->getCategories( $out ) form with whatout OutputPage is on hand
*/
function getCategories( OutputPage $out=null ) {
- if( !$out ) {
- global $wgOut;
- $out = $
wgO
ut;
+
+ if( $out === null ){
+ $out = $
this->getContext()->outp
ut;
}
$catlinks = $this->getCategoryLinks( $out );