EditPage: Add text placeholders to view source page
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Mon, 24 Aug 2015 20:58:33 +0000 (22:58 +0200)
committerTheDJ <hartman.wiki@gmail.com>
Tue, 1 Sep 2015 12:46:41 +0000 (12:46 +0000)
commit8ab73061ce942ad7aef1c63817fb128c20de13b5
tree7bbb0c9ed3da0a536058f07741def07796b7d20c
parent9d81e0699279a3c426c801649083a16cdfb20d4e
EditPage: Add text placeholders to view source page

These placeholders are already in use by the edit form, but were not
available to extensions. This gives us equal oppertunity to adapt the
contents surrounding the source textbox as we have in the editform.

I'm reusing the same placeholders. Most extensions fill these
placeholders through the showEditForm:initial hook however, so it
should not cause too many unexpected changes, since the readonly page
uses showReadOnlyForm:initial instead. I left out those that were very
specific to the editpage (afterEditTools etc).

This will be useful for Bug T110050.

Change-Id: Ia03265a907212ee7bac1b839dcdd4d2f24c79bbe
includes/EditPage.php