Page MenuHomePhabricator

mediawiki.feedback (in phase3) depends on the UploadWizard Extension
Closed, ResolvedPublic

Description

It calls a function gM, which is probably defined somewhere in UW, but not in core. I think it could be replaced with mw.msg, if this is correct please do so, otherwise move that module back to UploadWizard.


Version: 1.20.x
Severity: normal

Details

Reference
bz32979
TitleReferenceAuthorSource BranchDest Branch
wmcs-k8s-metrics: bump to 0.0.18-20240123190739-bb982183repos/cloud/toolforge/toolforge-deploy!185project_1317_bot_df3177307bed93c3f34e421e26c86e38bump_wmcs-k8s-metricsmain
cadvisor: Update disabled metrics mappingrepos/cloud/toolforge/wmcs-k8s-metrics!7taavitaavi/fix-large-metricsmain
Revert "wmcs-k8s-metrics: rollback tools"repos/cloud/toolforge/toolforge-deploy!183taavitaavi/metricsmain
upgrade cadvisorrepos/cloud/toolforge/toolforge-deploy!122taavitaavi/metricsmain
chart: update cadvisor to 0.47.2repos/cloud/toolforge/wmcs-k8s-metrics!4taavitaavi/update-cadvisormain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:02 AM
bzimport set Reference to bz32979.
bzimport added a subscriber: Unknown Object (MLST).

It seems "gM" exists in jQuery 1.3.2

I've just killed MultiLingual LiquidThreads

I think it's done with a bit of vodoo..

window.gM = mediaWiki.language.getMessageFunction( options );

Yes, it looks to come from MWEmbedSupport, jQueryMsg (I believe this is wanted to be moved into trunk soon) and UploadWizard

Quite a few extensions seem to be using it too...

See r105646, it seems to currently be work in progress

neilk wrote:

Ah, sorry, I thought the gM() alias was still in use in prod. It was superseded by mediaWiki.msg(). I'll fix it.