Page MenuHomePhabricator

allow editintro to work with existing pages
Closed, ResolvedPublic

Description

Author: zach+bugs

Description:
Patch

The &editintro= query string parameter only works when the page does not exist. The following patch, when applied, will allow showing of the editintro for pages whether they already exist or not.


Version: unspecified
Severity: enhancement

attachment editintro.diff ignored as obsolete

Details

Reference
bz10215

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:48 PM
bzimport set Reference to bz10215.
bzimport added a subscriber: Unknown Object (MLST).

zach+bugs wrote:

Actual patch!

This is the actual patch.

attachment editintro.diff ignored as obsolete

zach+bugs wrote:

Update

Don't show the intro on a preview/show changes page.

Also removes some trailing whitespace throughout the EditPage.php file.

Attached:

robchur wrote:

Fixed in r22905; patch needed some modification due to unclear existing code.

  • This bug has been marked as a duplicate of bug 5175 ***