Instead use mediawiki.ui and ResourceLoaderImageModule Other changes: * Add gender support to thanks-button-thanked Depends-On: I0745e112d11026ed59d8daca990b313305cd094a Bug: T198151 Change-Id: I82ae596330aff8387653c65a6bab5ff729641a80