Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3939
diff.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:43 PM
2014-11-21 21:43:04 (UTC+0)
Size
529 B
Referenced Files
None
Subscribers
None
diff.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3505
Default Alt Text
diff.diff (529 B)
Attached To
Mode
T11936: Per-edit suppression of "preview-on-first-edit" preference
Attached
Detach File
Event Timeline
Log In to Comment