From b247ea4c8120711ae54da8f4bb25d4362402b3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <lahwaacz@archlinux.org> Date: Sun, 3 Jul 2022 18:20:18 +0200 Subject: [PATCH] archwiki: remove workarounds for hardcoded wgScriptPath These were fixed in MediaWiki 1.38 --- roles/archwiki/templates/nginx.d.conf.j2 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/roles/archwiki/templates/nginx.d.conf.j2 b/roles/archwiki/templates/nginx.d.conf.j2 index 5a908d5af..21b24a60e 100644 --- a/roles/archwiki/templates/nginx.d.conf.j2 +++ b/roles/archwiki/templates/nginx.d.conf.j2 @@ -75,16 +75,6 @@ server { rewrite ^ /rest.php; } - # https://phabricator.wikimedia.org/T288686 - location ^~ /w/rest.php/v1/search/title { - return 302 /rest.php/v1/search/title$is_args$args; - } - - # Workaround for "Search for pages containing" hard-coded to /w/index.php - location ^~ /w/index.php { - return 302 /index.php$is_args$args; - } - # special case for '/load.php' type URLs to cache css/js in nginx to relieve php-fpm location = /load.php { access_log /var/log/nginx/{{ archwiki_domain }}/access.log main; -- GitLab