2015-08-27 9:04 GMT+03:00 Chad innocentkiller@gmail.com:
On Wed, Aug 26, 2015 at 9:02 PM Alex Monk krenair@gmail.com wrote:
On 27 August 2015 at 04:57, Brian Wolff bawolff@gmail.com 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/5...
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.