After we remove all the hardcoded Commons-specific bits in core per T121632: Make ForeignStructuredUpload actually configurable, we'll need to deploy the same configuration for Commons. This patch is for tracking what needs to be done (and for future reference).
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | matmarex | T134775 Deploy Commons-specific configuration for cross-wiki upload dialog | |||
Resolved | matmarex | T121632 Make ForeignStructuredUpload actually configurable | |||
Resolved | matmarex | T118097 mw.ForeignStructuredUpload should have a configurable information template | |||
Resolved | matmarex | T121633 Make ForeignStructuredUpload templates configurable ({{own}}, {{self}}, {{subst:unc}}) | |||
Resolved | matmarex | T120998 "Cross-wiki" uploads from Commons to Commons have no upload comment and license |
Event Timeline
Before deployment:
- Move messages to WikimediaMessages
- Write $wgUploadDialog configuration
- Make sure that old and new code can coexist (with our rolling deployment), or do backports if not
After deployment:
- Verify that it still works and that T120998 is fixed
- Document our configuration at https://www.mediawiki.org/wiki/Upload_dialog (that page could also use updated screenshots)
- Notify Commons community how this works now and which messages can be edited on-wiki (but should be edited on Translatewiki)
Change 287925 had a related patch set uploaded (by Bartosz Dziewoński):
Move Commons-specific localisation messages for upload dialog from core
Change 287959 had a related patch set uploaded (by Bartosz Dziewoński):
Prepare Commons configuration for $wgUploadDialog
Change 287925 merged by jenkins-bot:
Move Commons-specific localisation messages for upload dialog from core
Change 287959 merged by jenkins-bot:
Prepare Commons configuration for $wgUploadDialog
Change 289104 had a related patch set uploaded (by Bartosz Dziewoński):
Add missing translations for upload dialog messages
Change 289104 merged by jenkins-bot:
Add missing translations for upload dialog messages
Change 289109 had a related patch set uploaded (by Bartosz Dziewoński):
Final Commons configuration for $wgUploadDialog
Done with https://gerrit.wikimedia.org/r/287925 + https://gerrit.wikimedia.org/r/289104.
- Write $wgUploadDialog configuration
Done with https://gerrit.wikimedia.org/r/287959.
- Make sure that old and new code can coexist (with our rolling deployment), or do backports if not
Yup. We needed to include the new message config for all wikis temporarily (see patch above), https://gerrit.wikimedia.org/r/289109 removes this hack.
Everything seems to have went well during the wmf.2 rollout, and every wiki is on wmf.2 now and looking fine. I scheduled the final patch for deployment.
Docs were updated a couple days ago: https://www.mediawiki.org/wiki/Upload_dialog https://www.mediawiki.org/wiki/Manual:$wgUploadDialog
Change 290259 had a related patch set uploaded (by Bartosz Dziewoński):
Final Commons configuration for $wgUploadDialog
Final patch was deployed as https://gerrit.wikimedia.org/r/290259 (there was a small bug in https://gerrit.wikimedia.org/r/289109 that everyone missed until it was noticed in error logs).