Umherirrender has uploaded a new change for review.
https://gerrit.wikimedia.org/r/189331
Change subject: Revert "Remove long-deprecated ApiBase::getVersion()"
......................................................................
Revert "Remove long-deprecated ApiBase::getVersion()"
Restore compatibility with 1.19/1.20
This reverts commit efbdc3f855906020790129bb89c6a264f304740e.
Change-Id: I542c6390041df0c56337c3a4145ba28d42320ac0
---
M api/ApiAddWatchlistGroup.php
M api/ApiDeleteWatchlistGroup.php
M api/ApiEditWatchlistGroup.php
M api/ApiQuerySemanticWatchlist.php
4 files changed, 19 insertions(+), 3 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticWatchlist
refs/changes/31/189331/1
diff --git a/api/ApiAddWatchlistGroup.php b/api/ApiAddWatchlistGroup.php
index 0f1ed26..c7e84a1 100644
--- a/api/ApiAddWatchlistGroup.php
+++ b/api/ApiAddWatchlistGroup.php
@@ -113,6 +113,10 @@
'api.php?action=addswlgroup&name=My group of
awesome&properties=Has awesomeness|Has epicness&categories=Awesome stuff',
'api.php?action=addswlgroup&name=My group of
awesome&properties=Has awesomeness|Has epicness&categories=Awesome
stuff&customTexts=Has awesomeness~true~Changed to awesome now',
);
- }
+ }
+
+ public function getVersion() {
+ return __CLASS__ . ': $Id$';
+ }
}
diff --git a/api/ApiDeleteWatchlistGroup.php b/api/ApiDeleteWatchlistGroup.php
index 7a4e215..0e39e59 100644
--- a/api/ApiDeleteWatchlistGroup.php
+++ b/api/ApiDeleteWatchlistGroup.php
@@ -202,6 +202,10 @@
return array(
'api.php?action=deleteswlgroup&ids=42|34',
);
- }
+ }
+
+ public function getVersion() {
+ return __CLASS__ . ': $Id$';
+ }
}
diff --git a/api/ApiEditWatchlistGroup.php b/api/ApiEditWatchlistGroup.php
index ef50b57..8baf5a4 100644
--- a/api/ApiEditWatchlistGroup.php
+++ b/api/ApiEditWatchlistGroup.php
@@ -105,6 +105,10 @@
'api.php?action=editswlgroup&id=42&name=My group of
awesome&properties=Has awesomeness|Has epicness&categories=Awesome stuff',
'api.php?action=editswlgroup&id=42&name=My group of
awesome&properties=Has awesomeness|Has epicness&categories=Awesome
stuff&customTexts=Has awesomeness~true~Changed to awesome now',
);
- }
+ }
+
+ public function getVersion() {
+ return __CLASS__ . ': $Id$';
+ }
}
diff --git a/api/ApiQuerySemanticWatchlist.php
b/api/ApiQuerySemanticWatchlist.php
index 187de48..1170304 100644
--- a/api/ApiQuerySemanticWatchlist.php
+++ b/api/ApiQuerySemanticWatchlist.php
@@ -233,5 +233,9 @@
'api.php?action=query&list=semanticwatchlist&swgroupids=1|42&swlimit=34',
);
}
+
+ public function getVersion() {
+ return __CLASS__ . ': $Id$';
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/189331
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I542c6390041df0c56337c3a4145ba28d42320ac0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticWatchlist
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits