: Sub_filter doesn't work when used with MediaWiki? I'm working on a site, https://factinfiction.meulie.net/ . This site runs the latest stable version of MediaWiki (1.26.2). In the server-config I
I'm working on a site, factinfiction.meulie.net/ . This site runs the latest stable version of MediaWiki (1.26.2).
In the server-config I have the following location-block:
location / {
sub_filter '</head>' '<meta name="author" content="Evert Meulie"></head>';
sub_filter_once on;
sub_filter_last_modified on;
sub_filter_types *;
try_files $uri $uri/ @rewrite ;
}
This works fine with a testfile: factinfiction.meulie.net/test.html gets the meta-tag added.
However, it does not work on any of the MediaWiki pages, like factinfiction.meulie.net/Main_Page
How do I fix this? I thought sub_filter was the last process code passes through before it gets sent out, and that it would work no matter the application...
More posts by @Alves908
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.