Page MenuHomePhabricator

Large set of Gadgets "PHP Deprecated: Use of Modules must target desktop and mobile." after deployment of 1.41.0-wmf.15 to group1
Closed, DuplicatePublicPRODUCTION ERROR

Description

Per T340243#8966056.

From logspam-watch:

61      ext.gadget.MobileSite
48      ext.gadget.tocMobile
15      ext.gadget.MobileCategories
13      ext.gadget.shorts-mobile
13      ext.gadget.hide-empty-fields-mobile
13      ext.gadget.collapsible-mobile
9       ext.gadget.watchUserContribs
9       ext.gadget.userrights
9       ext.gadget.UploadForm
9       ext.gadget.Topicon
9       ext.gadget.rightsfilter
9       ext.gadget.rev-e-avisos
9       ext.gadget.removeAccessKeys
9       ext.gadget.mobileSiteStyles
9       ext.gadget.LanguageConverter
9       ext.gadget.FeedbackHighlight
9       ext.gadget.edittop
9       ext.gadget.blocktab
9       ext.gadget.blockNotificationButton
7       ext.gadget.CollapsibleSidebar

Details

Request URL
https://te.wikisource.org/w/load.php?lang=*&modules=*&only=*&raw=*&skin=*

Event Timeline

These are wiki gadgets. I'll look into them ASAP.

So to be clear this will cause a bug:

hideSidebar [ResourceLoader | skins=vector,monobook | targets=desktop ] | hideSidebar.js
MobileMaps[ResourceLoader|targets=mobile]|mobilemaps.js

This will be fine:

hide-rollback [ResourceLoader | rights=rollback | targets=desktop,mobile ] | hide-rollback.css | hide-rollback.js

Right?