Add 'WikiPageFactory' hook
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 16 Sep 2016 00:40:03 +0000 (17:40 -0700)
committerTim Starling <tstarling@wikimedia.org>
Fri, 14 Oct 2016 23:57:37 +0000 (23:57 +0000)
commit4283bdfcfcdeb91bb03a22f542d497704edae4d3
tree49614beba41be916be69df4a36bb6319c56adf9b
parentb503c026c86b1f335e47efed27f76bf5456ef7e2
Add 'WikiPageFactory' hook

This allows extension to consistently use their WikiPage subclasses.
Currently the only way a subclass would be used is if Article::newPage()
was called.

Change-Id: I74cce5f9627c4bc4b92502aff74beb2daeb78d17
docs/hooks.txt
includes/page/WikiPage.php