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:
ff1b851
)
convenient ParserOptions constructor
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 28 May 2005 06:59:49 +0000
(06:59 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 28 May 2005 06:59:49 +0000
(06:59 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
2927768
..
4dee7f2
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-3213,6
+3213,11
@@
class ParserOptions
function setSkin( &$x ) { $this->mSkin =& $x; }
+ function ParserOptions() {
+ global $wgUser;
+ $this->initialiseFromUser( $wgUser );
+ }
+
/**
* Get parser options
* @static