Refactor edit notice rendering so that it's not baked into EditPage
authorTrevor Parscal <tparscal@wikimedia.org>
Fri, 30 Nov 2012 20:18:43 +0000 (12:18 -0800)
committerTrevor Parscal <tparscal@wikimedia.org>
Fri, 30 Nov 2012 20:18:43 +0000 (12:18 -0800)
commit7288e70f4774fd45ea763d3b91db041a275b1e27
treeeb5af3292be7200a07e46ba9d1b75d5c3733e257
parent2212e64287fade4bdb6a5f556a367f80786eae48
Refactor edit notice rendering so that it's not baked into EditPage

* Move edit notice rendering to Title class
* Use new getEditNotices method in EditPage

This opens the door for alternative editors (such as the VisualEditor) to use the same notice systems already in use.

Change-Id: Ib0e40714f5433f4d75c54a3c3d60b1590fded7f1
includes/EditPage.php
includes/Title.php