mediawiki.toolbar: Emit deprecation warnings
authorJames D. Forrester <jforrester@wikimedia.org>
Mon, 20 Mar 2017 22:56:27 +0000 (15:56 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Wed, 26 Apr 2017 23:18:30 +0000 (16:18 -0700)
commit14cffee7c1ea7e6f411730a52aadb2458fcfb0fd
tree13833e2555b6a353d94dfde1cf09500f16e1a468
parentc8e7720261d3b1c6b69cf2bf3e65b2ef5d8e65a5
mediawiki.toolbar: Emit deprecation warnings

Callers to the EditPageBeforeEditToolbar hook can now return false to
signal that the toolbar is over-written, in which case this old code
won't be called (so no deprecation warnings for users of WikiEditor,
CodeEditor, etc.).

Bug: T30856
Depends-On: I5e755ef5dffb843368563511044d3123f14dc4bc
Change-Id: I3bed70a20e4b94fe3d04a00925b8012312202574
RELEASE-NOTES-1.29
docs/hooks.txt
includes/EditPage.php
resources/src/mediawiki.toolbar/toolbar.js