Nemo bis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/250384

Change subject: Use full URL in $wgNoticeHideUrls
......................................................................

Use full URL in $wgNoticeHideUrls

Those fake requests should not be disguised as user requests to the
wiki/* short URLs. The empty parameter is required to avoid redirection.

Bug: T116609
Change-Id: I96bcf6186094633802f85cad1234ffe339f76aac
---
M wmf-config/CommonSettings.php
1 file changed, 10 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/84/250384/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 7fe8b3b..107c543 100755
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1459,16 +1459,16 @@
        // Updates made here also need to be reflected in
        // wikimediafoundation.org/wiki/Template:HideBanners
        $wgNoticeHideUrls = array(
-               '//en.wikipedia.org/wiki/Special:HideBanners',
-               '//meta.wikimedia.org/wiki/Special:HideBanners',
-               '//commons.wikimedia.org/wiki/Special:HideBanners',
-               '//species.wikimedia.org/wiki/Special:HideBanners',
-               '//en.wikibooks.org/wiki/Special:HideBanners',
-               '//en.wikiquote.org/wiki/Special:HideBanners',
-               '//en.wikisource.org/wiki/Special:HideBanners',
-               '//en.wikinews.org/wiki/Special:HideBanners',
-               '//en.wikiversity.org/wiki/Special:HideBanners',
-               '//www.mediawiki.org/wiki/Special:HideBanners',
+               
'//en.wikipedia.org/w/index.php?title=Special:HideBanners&category=',
+               
'//meta.wikimedia.org/w/index.php?title=Special:HideBanners&category=',
+               
'//commons.wikimedia.org/w/index.php?title=Special:HideBanners&category=',
+               
'//species.wikimedia.org/w/index.php?title=Special:HideBanners&category=',
+               
'//en.wikibooks.org/w/index.php?title=Special:HideBanners&category=',
+               
'//en.wikiquote.org/w/index.php?title=Special:HideBanners&category=',
+               
'//en.wikisource.org/w/index.php?title=Special:HideBanners&category=',
+               
'//en.wikinews.org/w/index.php?title=Special:HideBanners&category=',
+               
'//en.wikiversity.org/w/index.php?title=Special:HideBanners&category=',
+               
'//www.mediawiki.org/w/index.php?title=Special:HideBanners&category=',
        );
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/250384
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96bcf6186094633802f85cad1234ffe339f76aac
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <federicol...@tiscali.it>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to