**Steps to replicate the issue**
A code used since 2011 is broken on deWP since today, distribution of recent MW version.
**What happens?**:
When on source text editing something is marked and string overwriting is requested, ##undefied## is additionally inserted into wikitext after selection end.
**What should have happened instead?**:
Working as always.
**Software version**
Independent of browser family.
* MW of today.
**Other information**
rMW2af1c3c901a6117fe062e1fd88c0146cffa1481d shows on j//query.textSelection// diff that the string ##$.extend( {## has been simply replaced by ##Object.assign( {##
* T368029 demonstrated already that this is not a good idea. This is not the identical functionality, and must not be flipped just from one name to another.
* I did not open all rMW2af1c3c901a6117fe062e1fd88c0146cffa1481d but I could imagine that the same bug has been injected in many many codes.