mediawiki.page.patrol: Use this.href instead of $(this).attr('href')
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 18 May 2016 18:25:35 +0000 (19:25 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 18 May 2016 18:25:35 +0000 (19:25 +0100)
commitc0d72ec4735f093b66d3e5d9bf6feb84a6e5f07b
tree919a71874ccf6741ece13443dd11b47af2db57cd
parent7e7b5c181dd8dd6ee9a59965b6ff91a8cdbf164f
mediawiki.page.patrol: Use this.href instead of $(this).attr('href')

This is the difference between prop('href') and attr('href'). The attribute
returns the (usually relative) url authored in the HTML, whereas the property
returns the effective url, which is what mw.util.getParamValue expects.

Also remove the single-use variable and needless use of jQuery
(property access is more idiomatic through, well, properties).

Change-Id: Id8589dbb24869d5a88351daa65d51ab8602f5c77
resources/src/mediawiki/page/patrol.ajax.js