Page MenuHomePhabricator

There is no way to access preText in HTMLForm
Closed, ResolvedPublic

Description

Problem
HTMLForm has a setPreText method and an addPreText method, but there is no way to access the preText (i.e. there is no getPreText method).

Solution
Add a getPreText method that returns the preText.

Event Timeline

Change 444602 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/core@master] Add a method to HTMLForm that allows the preText to be accessed externally.

https://gerrit.wikimedia.org/r/444602

Change 444602 merged by jenkins-bot:
[mediawiki/core@master] Add a method to HTMLForm that allows the preText to be accessed externally.

https://gerrit.wikimedia.org/r/444602

dbarratt claimed this task.