feedback: Fix misplaced mw.Title.getNameText() call
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Mon, 13 May 2019 08:21:10 +0000 (10:21 +0200)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Mon, 13 May 2019 08:21:10 +0000 (10:21 +0200)
commit0357a6d0f292b3eb50fed48b94a36741f9211a4b
tree835b24ca8a9020d2f8319398906919c953cc490e
parent38962766742bd4319027f8f8da5a7f908de05eed
feedback: Fix misplaced mw.Title.getNameText() call

What is called "name" here is a file name without the extension. But
the feedback code is not about files. It's a regular page that might
contain a dot. If it does, the link will be broken, because everything
after the last dot will be stripped.

Change-Id: I9a7c7b73f5d899400ffdc4f4a92cb8b42e644b1c
resources/src/mediawiki.feedback/feedback.js