mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-14 19:31:55 +00:00
Hooks#EditPageBeforeEditToolbar: Return false so that other toolbars aren't loaded
Change-Id: I5e755ef5dffb843368563511044d3123f14dc4bc
This commit is contained in:
parent
25d64833dd
commit
cb60c06bdc
|
@ -277,6 +277,9 @@ class WikiEditorHooks {
|
|||
],
|
||||
$toolbar
|
||||
);
|
||||
// Return false to signify that the toolbar has been over-written, so
|
||||
// the old toolbar code shouldn't be added to the page.
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue