The method is not used anywhere:
https://codesearch.wmflabs.org/search/?q=toEditContent&i=1
There is another method with the same name in the EditPage class. But
this is unrelated. As far as I can see the method I'm touching in this
patch was copied from the EditPage class.
Change-Id: I51d167723bd70220adbf4ac36f15f3290b7eb653
* @param string $text
* @return Content
*/
* @param string $text
* @return Content
*/
- public function toEditContent( $text ) {
+ private function toEditContent( $text ) {
return ContentHandler::makeContent(
$text,
$this->title,
return ContentHandler::makeContent(
$text,
$this->title,