Page MenuHomePhabricator

[S] Investigate and update jQuery.lazyload library from UploadWizard from using deprecated navigator.appVersion
Closed, ResolvedPublic

Description

Due to future changes highlighted in the parent task, we have to update our code to make sure that deprecated methods will no longer be used.

As highlighted by this search filter: code filter, the jQuery.lazyload library from UploadWizard uses navigator.appVersion that will be removed in future version of chrome.

The impact of this deprecation to the client is unknown and investigation is required as part of this ticket

Acceptance criteria

  • Investigate the impact of the deprecated navigator.appVersion in the uploadWIzard code
  • Search for an updated version of the library in which the deprecated code is removed
  • If necessary, follow the required step to update the library in the source code

Event Timeline

Yes apologies, it was the app version! I created a ticket from a template as I had to create 7 and forgot to change it here!

SimoneThisDot renamed this task from Investigate and update jQuery.lazyload library from UploadWizard from using deprecated navigator.userAgent to Investigate and update jQuery.lazyload library from UploadWizard from using deprecated navigator.appVersion.Dec 17 2021, 8:46 AM
SimoneThisDot updated the task description. (Show Details)
SimoneThisDot updated the task description. (Show Details)
CBogen renamed this task from Investigate and update jQuery.lazyload library from UploadWizard from using deprecated navigator.appVersion to [S] Investigate and update jQuery.lazyload library from UploadWizard from using deprecated navigator.appVersion.Feb 9 2022, 5:28 PM
Seddon changed the task status from Open to In Progress.Feb 18 2022, 1:07 PM

Change 764362 had a related patch set uploaded (by Seddon; author: Seddon):

[mediawiki/extensions/UploadWizard@master] Check for appversion to handle deprecation

https://gerrit.wikimedia.org/r/764362

Change 764362 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Check for appversion to handle deprecation

https://gerrit.wikimedia.org/r/764362