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:
d138f74
)
remove obsolete piece of code - newarticletext is never written into blank
author
Erik Moeller
<erik@users.mediawiki.org>
Sun, 4 Sep 2005 17:41:44 +0000
(17:41 +0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Sun, 4 Sep 2005 17:41:44 +0000
(17:41 +0000)
pages
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
163a08a
..
a9b0581
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-479,12
+479,11
@@
class EditPage {
$aid = $this->mTitle->getArticleID( GAID_FOR_UPDATE );
if ( 0 == $aid ) {
# Don't save a new article if it's blank.
- if ( ( '' == $this->textbox1 ) ||
- ( wfMsg( 'newarticletext' ) == $this->textbox1 ) ) {
+ if ( ( '' == $this->textbox1 ) ) {
$wgOut->redirect( $this->mTitle->getFullURL() );
wfProfileOut( $fname );
return false;
-
}
+ }
$isComment=($this->section=='new');
$this->mArticle->insertNewArticle( $this->textbox1, $this->summary,