dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "resources: Register html5shiv as foreign resource"
[lhc/web/wiklou.git]
/
includes
/
Title.php
diff --git
a/includes/Title.php
b/includes/Title.php
index
895cc0e
..
ca62e0e
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1489,10
+1489,10
@@
class Title implements LinkTarget {
public function isRawHtmlMessage() {
global $wgRawHtmlMessages;
public function isRawHtmlMessage() {
global $wgRawHtmlMessages;
- if ( $this->inNamespace( NS_MEDIAWIKI ) ) {
+ if (
!
$this->inNamespace( NS_MEDIAWIKI ) ) {
return false;
}
return false;
}
- $message = lcfirst( $this->getRootT
ext
() );
+ $message = lcfirst( $this->getRootT
itle()->getDBkey
() );
return in_array( $message, $wgRawHtmlMessages, true );
}
return in_array( $message, $wgRawHtmlMessages, true );
}