Page MenuHomePhabricator

Requested change of methods in EditPage from private to protected
Closed, ResolvedPublic

Description

Author: lhridley

Description:
This is a request to have all of the private methods in the EditPage class changed to protected. This will allow child classes that extend class EditPage access to the parent methods, especially when there is no need for the child class to modify the parent method.

The private methods in EditPage are currently:

showPreview()
showDeleteionLog()
getPreloadedText()
previewOnOpen()
showIntro()
showCustomIntro()


Version: 1.13.x
Severity: enhancement

Details

Reference
bz14490

Event Timeline

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

Is there an extension that needs this?

lhridley wrote:

I'm working on a rather complicated one right now and have found that I've had to do this to keep from recoding these methods.