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:
fcf5e55
)
Add prependHTML() for extensions to avoid direct field calls
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 11 Aug 2008 14:20:37 +0000
(14:20 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 11 Aug 2008 14:20:37 +0000
(14:20 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
a40e50e
..
f6bd91d
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-393,6
+393,7
@@
class OutputPage {
public function disallowUserJs() { $this->mAllowUserJs = false; }
public function isUserJsAllowed() { return $this->mAllowUserJs; }
+ public function prependHTML( $text ) { $this->mBodytext = $text . $this->mBodytext; }
public function addHTML( $text ) { $this->mBodytext .= $text; }
public function clearHTML() { $this->mBodytext = ''; }
public function getHTML() { return $this->mBodytext; }