Last modified: 2014-03-05 18:46:48 UTC
1) Open a page in 'edit' mode
2) Click in the summary field
3) Click in the "Link" button of the (enhanced) toolbar
4) Fill the fields "Target page or URL:" and "Text to display:" with some random text (e.g. "foo" and "bar")
5) Click on "Insert link"
* The text "[[foo|bar]]" will be added to the edit box
* The text "[[foo|bar]]" should be added to the summary field (i.e. the one with focus when the button is clicked)
The same happens with other buttons (although they are not that useful for a summary) but works fine with the old toolbar (wich inserts "[[Link title]]" in the summary).
*** Bug 39268 has been marked as a duplicate of this bug. ***
This legacy toolbar actually had this feature (it bound to all input,textarea on the page, and kept a reference to the one focussed most recently).
Though we could re-create that feature in WikiEditor, I think it was by design that WikiEditor doesn't have it:
* The toolbar is bound to a specific textarea for a reason, namely because it is positions right on top of it (clicking a button on top of area A should focus area A and insert a button into it).
* There can be multiple WikiEditor areas on one page, so if it would do this, stuff will break even worse.
* And lastly, edit summaries shouldn't contain wikitext in the first place (though that on its own is arguable).
As such marking as wontfix because in the current design this is not possible, and I think that design is for a good reason.