patch that changes *this* to *util* allowing calling this function with another *this* or even no *this*
Krinkle assigned on Commons e.g.
addPortletLink = mw.util.addPortletLink;
This may cause errors if references to *this* (util) are made like in addPortletLink. Most of the code does not use *this*, instead it refers to *util*.
Background (commons-specific): On css pages this caused "this is undefined", called from MediaWiki:Gadget-CSSValidate.js
Version: 1.17.x
Severity: minor
attachment mediawiki.util.patch.js ignored as obsolete