Page MenuHomePhabricator

[Extension:Push] Use addJsConfigVars instead of addInlineScript
Closed, ResolvedPublic

Description

Use addJsConfigVars instead of addInlineScript, Variable should be declared by addJsConfigVars.

Solution

Use addJsConfigVars instead of addInlineScript in src/PushTab.php and src/SpecialPush.php

Level

Easy

Reserved for Mini-MWT at VVIT (Feb 2019)

Event Timeline

That's because the extension is actually named Push, not PushTab.

Dinoguy1000 renamed this task from [Extension:PushTab] Use addJsConfigVars instead of addInlineScript to [Extension:Push] Use addJsConfigVars instead of addInlineScript .Feb 22 2019, 8:33 AM

Change 492443 had a related patch set uploaded (by B leelasai; owner: B leelasai):
[mediawiki/extensions/Push@master] Use addJsConfigVars instead of addInlineScript

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

Change 492443 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: B leelasai):
[mediawiki/extensions/Push@master] Use addJsConfigVars instead of addInlineScript

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

Change 492443 merged by jenkins-bot:
[mediawiki/extensions/Push@master] Use addJsConfigVars instead of addInlineScript

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