You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why we needed the hack: in our setup, we use Apache to redirect calls to restbase and domain name is hard-coded as localhost, causing the domain name check to fail.
MW 1.35 has a new Parsoid implemented in PHP. When preparing the upgrade, we added a hack to get around a domain check issue.
mediawiki-docker/Dockerfile
Line 58 in 8d2a56d
The change uses environment var
PARSOID_SKIP_DOAMIN_CHECK
to decide if it should skip the domain name check in Parsoid:mediawiki-docker/ParsoidHandler_custom_1_35.php
Lines 251 to 254 in 8d2a56d
Why we needed the hack: in our setup, we use Apache to redirect calls to restbase and domain name is hard-coded as
localhost
, causing the domain name check to fail.mediawiki-docker/mediawiki.conf
Lines 30 to 31 in 8d2a56d
Note that the domain check function itself is provisional.
mediawiki-docker/ParsoidHandler_custom_1_35.php
Lines 136 to 140 in 8d2a56d
Reference: 9741576
The text was updated successfully, but these errors were encountered: