Page MenuHomePhabricator

Transcluding Special:Contributions adds JS to the destination page and throws JS error
Closed, ResolvedPublic

Description

When you transclude Special:Contributions, you get JS error:

Exception with thrown value: Error: Widget not found: mw-date-start

This is caused because the transclusion doesn't add the controls, but does add the JS module mediawiki.special.contributions

Special:Watchlist/RecentChanges had something similar not too long ago.

Event Timeline

TheDJ created this task.Feb 19 2018, 11:50 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 19 2018, 11:50 AM

Change 412677 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/core@master] Contributions: Only add form JS when the form is added

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

TheDJ claimed this task.Feb 19 2018, 11:56 AM
TheDJ triaged this task as Lowest priority.

Change 412677 merged by jenkins-bot:
[mediawiki/core@master] Contributions: Only add form JS when the form is added

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

matmarex closed this task as Resolved.Feb 21 2018, 7:32 PM
matmarex removed a project: Patch-For-Review.