With wiki-embed 1.4.6, an URL which action=render outputs as
<a class="external text" href="//commons.wikimedia.org/w/index.php?title=Page">Page</a>
is stripped down to
<a class="external text" href="Page">Page</a>
which of course doesn't exist locally and hence produces a 404 error.
I've looked into Wiki_Embed::render() and the DOMCSS rules but I couldn't find what is at fault. Am I looking in the wrong place?
Someone at some point claimed this (or similar) was a bug in PHP but then self-closed the bug: https://bugs.php.net/bug.php?id=64946
With wiki-embed 1.4.6, an URL which action=render outputs as
is stripped down to
which of course doesn't exist locally and hence produces a 404 error.
I've looked into Wiki_Embed::render() and the DOMCSS rules but I couldn't find what is at fault. Am I looking in the wrong place?
Someone at some point claimed this (or similar) was a bug in PHP but then self-closed the bug: https://bugs.php.net/bug.php?id=64946