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:
bcb43b5
)
Fix remainder of the accidental ->empty() calls I used when converting wfEmptyMsg...
author
Daniel Friesen
<dantman@users.mediawiki.org>
Fri, 14 Jan 2011 11:36:37 +0000
(11:36 +0000)
committer
Daniel Friesen
<dantman@users.mediawiki.org>
Fri, 14 Jan 2011 11:36:37 +0000
(11:36 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
72d87ab
..
9d0f4e9
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-391,7
+391,7
@@
class EditPage {
# Optional notices on a per-namespace and per-page basis
$editnotice_ns = 'editnotice-'.$this->mTitle->getNamespace();
$editnotice_ns_message = wfMessage( $editnotice_ns )->inContentLanguage();
- if (
!$editnotice_ns_message->empty
() ) {
+ if (
$editnotice_ns_message->exists
() ) {
$wgOut->addWikiText( $editnotice_ns_msg->plain() );
}
if ( MWNamespace::hasSubpages( $this->mTitle->getNamespace() ) ) {