Platonides has uploaded a new change for review.
https://gerrit.wikimedia.org/r/53190
Change subject: (Bug 14281) Allow the bad image list to be redirected elsewhere.
......................................................................
(Bug 14281) Allow the bad image list to be redirected elsewhere.
This way, people offended by the message name -see the long
bug 14281- can change the page used on their local wiki.
Change-Id: I67b292261d8c7942022dada915d6421687a81b7b
---
M includes/GlobalFunctions.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/90/53190/1
diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index 54e546e..c8f8de8 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -3955,7 +3955,7 @@
$badImages = $badImageCache;
} else { // cache miss
if ( $blacklist === null ) {
- $blacklist = wfMessage( 'bad_image_list'
)->inContentLanguage()->plain(); // site list
+ $blacklist = wfMessage( 'bad_image_list'
)->inContentLanguage()->followRedirect()->plain(); // site list
}
# Build the list now
$badImages = array();
--
To view, visit https://gerrit.wikimedia.org/r/53190
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I67b292261d8c7942022dada915d6421687a81b7b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Platonides <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits