Dont takeover redirected wikitext pages

Change-Id: Icaf1feb7c6f08d11dad844e7ad1ce408bec169bd
(cherry picked from commit 78aa5882d6f4725d06e393baf650fad8249adacf)
Take wgCookiePrefix into account when faking cookies

Bug: T76684
Change-Id: Ia0be5c791fdc5268a9915445febd5e9c1a8ea367
(cherry picked from commit c9eb63a2a6374aff96540ed7b9346eb544859f94)
Only fallback to php parser if parsoid is unconfigured

Bug: T76684
Change-Id: I7d7749ddc95e3a45d7f2c0f08b740eb29f524e99
(cherry picked from commit 2055c7e68f96310423ecf0b2c2a66b4da68db844)
Merge "Dont takeover redirected wikitext pages" into wmf/1.25wmf11
Merge "Take wgCookiePrefix into account when faking cookies" into wmf/1.25wmf11
Merge "Only fallback to php parser if parsoid is unconfigured" into wmf/1.25wmf11