2015-08-27 9:04 GMT+03:00 Chad <[email protected]>: > On Wed, Aug 26, 2015 at 9:02 PM Alex Monk <[email protected]> wrote: > > > On 27 August 2015 at 04:57, Brian Wolff <[email protected]> wrote: > > > > > If we can serve from two different > > > domains, surely we could serve from two domains, delete 1, and then > > > just serve from the new domain. > > > > > That's my plan with https://gerrit.wikimedia.org/r/#/c/233972/ - I've > > added > > it to the puppet SWAT window later today. When ops have approved it, it > > should just be a case of me setting up MediaWiki to use the correct > > database name, and then wgServer etc. can be changed and the old domain > can > > be redirected. > > > > > Personally I've long thought that doing it this way (just swapping > the domain, leaving everything else identical) is the lazy way and > is likely to bite us in the ass later. > > Otherwise: why the heck didn't we do it 10 years ago? > > $staticMappings in Multiversion is a hack. I would be loathe to > extend the practice further. > > > Indeed, and with ContentTranslation now we have no choice but to extend it: https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FContentTranslation/50f8eae8536e1dadb14ea129f6a2be02c240c72a/modules%2Fbase%2Fext.cx.sitemapper.js#L29
The way it's coded now will probably change soon, but the essence will remain - we have to map back from correct codes to wrong domains to Make It Work. _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
