Reedy has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/388688 )
Change subject: Remove PHP entry point
......................................................................
Remove PHP entry point
Change-Id: I3573d051cc4e1b7ab23b957b781e86e8cf35a4bb
---
D GlobalBlocking.php
1 file changed, 0 insertions(+), 40 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GlobalBlocking
refs/changes/88/388688/1
diff --git a/GlobalBlocking.php b/GlobalBlocking.php
deleted file mode 100644
index 0433cbb..0000000
--- a/GlobalBlocking.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-if ( function_exists( 'wfLoadExtension' ) ) {
- wfLoadExtension( 'GlobalBlocking' );
- // Keep i18n globals so mergeMessageFileList.php doesn't break
- $wgMessagesDirs['GlobalBlocking'] = __DIR__ . '/i18n';
- $wgExtensionMessagesFiles['GlobalBlockingAlias'] = __DIR__ .
'/GlobalBlocking.alias.php';
- /* wfWarn(
- 'Deprecated PHP entry point used for GlobalBlocking extension.
' .
- 'Please use wfLoadExtension instead, ' .
- 'see https://www.mediawiki.org/wiki/Extension_registration for
more details.'
- ); */
- return;
-} else {
- die( 'This version of the GlobalBlocking extension requires MediaWiki
1.28+' );
-}
-
-// Global declarations and documentation kept for IDEs and PHP documentors.
-// This code is never executed.
-
-/**
- * Database name you keep global blocking data in.
- *
- * If this is not on the primary database connection, don't forget
- * to also set up $wgDBservers to have an entry with a groupLoads
- * setting for the 'globalblocking' group.
- */
-$wgGlobalBlockingDatabase = 'globalblocking';
-
-/**
- * Whether to respect global blocks on this wiki. This is used so that
- * global blocks can be set one one wiki, but not actually applied there
- * (i.e. so people can contest them on that wiki).
- */
-$wgApplyGlobalBlocks = true;
-
-/**
- * Whether to block a request if an IP in the XFF is blocked
- */
-$wgGlobalBlockingBlockXFF = true;
--
To view, visit https://gerrit.wikimedia.org/r/388688
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3573d051cc4e1b7ab23b957b781e86e8cf35a4bb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GlobalBlocking
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits