On Wed, Aug 26, 2015 at 9:02 PM Alex Monk
<krenair(a)gmail.com> wrote:
On 27 August 2015 at 04:57, Brian Wolff
<bawolff(a)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:
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.