mediawiki.notify: Simplify callback by using .then()

Change-Id: Ifff25534d716721ff1d2d4484dbd0f63161ecb43
Merge "mediawiki.notify: Simplify callback by using .then()"