Page MenuHomePhabricator

Fix AvertissementImage gadget on French Wikipedia
Closed, ResolvedPublic2 Story Points

Description

The AvertissementImage gadget on French Wikipedia loads, but when you try to click the button to add a warning to the file page, it throws a JavaScript error:
ReferenceError: onPushImageWarningUpdateButton is not defined

This is probably due to the scope changes introduced by ResourceLoader.

Gadget code: https://fr.wikipedia.org/wiki/MediaWiki:Gadget-AvertissementImage.js

Event Timeline

kaldari created this task.Nov 4 2015, 5:56 PM
kaldari raised the priority of this task from to Needs Triage.
kaldari updated the task description. (Show Details)
kaldari added a project: Community-Tech.
kaldari added subscribers: StudiesWorld, kaldari, Aklapper.
kaldari triaged this task as Normal priority.Nov 4 2015, 6:20 PM
kaldari added a project: good first bug.
kaldari set Security to None.
kaldari moved this task from Untriaged to To be estimated/discussed on the Community-Tech board.
kaldari closed this task as Resolved.Nov 5 2015, 9:06 PM
kaldari claimed this task.
kaldari edited a custom field.
kaldari edited projects, added Community-Tech-Sprint; removed Community-Tech.
kaldari moved this task from Ready to Q1 2018-19 on the Community-Tech-Sprint board.