Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/265075
Change subject: Define doesWrites() for SpecialPage classes
......................................................................
Define doesWrites() for SpecialPage classes
Bug: T123591
Change-Id: I44eb62f2cee73acebb98b1b0e476fadfd524789b
---
M specials/SpecialARC2Admin_body.php
M specials/SpecialRDFImport_body.php
M specials/SpecialSPARQLEndpoint_body.php
3 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RDFIO
refs/changes/75/265075/1
diff --git a/specials/SpecialARC2Admin_body.php
b/specials/SpecialARC2Admin_body.php
index aa75270..a8bacd6 100644
--- a/specials/SpecialARC2Admin_body.php
+++ b/specials/SpecialARC2Admin_body.php
@@ -21,6 +21,10 @@
parent::__construct( 'SpecialARC2Admin' );
}
+ public function doesWrites() {
+ return true;
+ }
+
function execute( $par ) {
global $wgRequest, $wgOut, $smwgARC2StoreConfig,
$wgServer, $wgScriptPath, $wgUser;
diff --git a/specials/SpecialRDFImport_body.php
b/specials/SpecialRDFImport_body.php
index 6dd23f7..bb5668a 100644
--- a/specials/SpecialRDFImport_body.php
+++ b/specials/SpecialRDFImport_body.php
@@ -5,6 +5,10 @@
parent::__construct( 'RDFImport' );
}
+ public function doesWrites() {
+ return true;
+ }
+
/**
* The main code goes here
*/
diff --git a/specials/SpecialSPARQLEndpoint_body.php
b/specials/SpecialSPARQLEndpoint_body.php
index a55d37a..6ff976e 100644
--- a/specials/SpecialSPARQLEndpoint_body.php
+++ b/specials/SpecialSPARQLEndpoint_body.php
@@ -21,6 +21,10 @@
$this->requestdata = null;
}
+ public function doesWrites() {
+ return true;
+ }
+
/**
* The main function
*/
--
To view, visit https://gerrit.wikimedia.org/r/265075
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I44eb62f2cee73acebb98b1b0e476fadfd524789b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RDFIO
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits