Page MenuHomePhabricator

diff.diff

Authored By
bzimport
Nov 21 2014, 9:43 PM
Size
529 B
Referenced Files
None
Subscribers
None

diff.diff

Index: EditPage.php
===================================================================
--- EditPage.php (revision 23552)
+++ EditPage.php (working copy)
@@ -373,7 +373,7 @@
$this->formtype = 'diff';
} else { # First time through
$this->firsttime = true;
- if( $this->previewOnOpen() ) {
+ if (($this->previewOnOpen() and $wgRequest->getVal( 'preview' ) != 'no') or $wgRequest->getVal( 'preview' ) == 'yes') {
$this->formtype = 'preview';
} else {
$this->extractMetaDataFromArticle () ;

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3505
Default Alt Text
diff.diff (529 B)

Event Timeline