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:
59b0369
)
reminder
author
Daniel Kinzler
<daniel.kinzler@wikimedia.de>
Thu, 29 Mar 2012 13:15:12 +0000
(13:15 +0000)
committer
Daniel Kinzler
<daniel.kinzler@wikimedia.de>
Wed, 4 Apr 2012 18:00:43 +0000
(20:00 +0200)
includes/ContentHandler.php
patch
|
blob
|
history
diff --git
a/includes/ContentHandler.php
b/includes/ContentHandler.php
index
0f7aa41
..
91ebeb4
100644
(file)
--- a/
includes/ContentHandler.php
+++ b/
includes/ContentHandler.php
@@
-527,7
+527,7
@@
class WikitextContentHandler extends TextContentHandler {
class JavaScriptContentHandler extends TextContentHandler {
public function __construct( $modelName = CONTENT_MODEL_WIKITEXT ) {
- parent::__construct( $modelName, array( 'text/javascript' ) );
+ parent::__construct( $modelName, array( 'text/javascript' ) );
#XXX: or use $wgJsMimeType? this is for internal storage, not HTTP...
}
public function unserialize( $text, $format = null ) {