Show lock notice on contribs for locked users

It will try to display the locking log entry, but this only
works if it is run on the wiki where the lock was done. On other
wikis, it shows a more generic, but informative, message.

Bug: 52674
Change-Id: I98a7631cf4bdc8c4c93f93670164365d8ee0c6c5