inpageedit / inpageedit-v2

A powerful frontend JavaScript Plugin for MediaWiki written with jQuery
https://www.ipe.wiki
GNU General Public License v3.0
47 stars 13 forks source link

fix: #150 and #163 #164

Closed bhsd-harry closed 2 years ago

bhsd-harry commented 2 years ago

The "page" property is or is supposed to be the unencoded page name in all direct/indirect references of the InPageEdit.quickEdit method:

  1. plugins/edit-any-page.js (user input)
  2. plugins/toolbox.js (wgPageName)
  3. loadQuickDiff.js (wgPageName)
  4. linksHere.js (API returned title)
  5. quickRedirect.js (through _resolveExists.js; user input, or wgPageName, or API returned title)
  6. quickRename.js (through _resolveExists.js; user input)
  7. articleLink.js (mw.util.getParamValue, which includes a decodeURIComponent function; or decodeURIComponent)
lgtm-com[bot] commented 2 years ago

This pull request introduces 1 alert when merging a98611026f6b0d37d0aad5260c2a56364d6b3658 into f3b2bcd083bdb3a11bd871d6f28bb8abb2038aa9 - view on LGTM.com

new alerts: