Last modified: 2010-05-15 16:03:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16490, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14490 - Requested change of methods in EditPage from private to protected
Requested change of methods in EditPage from private to protected
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-09 21:36 UTC by Lisa Ridley
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lisa Ridley 2008-06-09 21:36:54 UTC
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()
Comment 1 Aaron Schulz 2008-07-17 03:23:29 UTC
Is there an extension that needs this?
Comment 2 Lisa Ridley 2008-07-17 03:40:43 UTC
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.
Comment 3 Aaron Schulz 2008-07-17 04:38:10 UTC
Done in r37771

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links