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:
f35f382
)
* Spacing
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 10 Mar 2007 23:14:55 +0000
(23:14 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 10 Mar 2007 23:14:55 +0000
(23:14 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
0b9a476
..
a57f18a
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-139,14
+139,14
@@
class EditPage {
# Warn the user that something went wrong
$this->editFormPageTop .= $wgOut->parse( wfMsgNoTrans( 'undo-failure' ) );
}
- } else if( $section != '' ) {
- if( $section == 'new' ) {
- $text = $this->getPreloadedText( $preload );
- } else {
+
} else if( $section != '' ) {
+
if( $section == 'new' ) {
+
$text = $this->getPreloadedText( $preload );
+
} else {
$text = $wgParser->getSection( $text, $section );
+ }
}
}
- }
wfProfileOut( __METHOD__ );
return $text;