jenkins-bot has submitted this change and it was merged. Change subject: Remove long-deprecated ApiBase::getVersion() ......................................................................
Remove long-deprecated ApiBase::getVersion() This method has been deprecated and uncalled since MediaWiki 1.21. Once earlier versions of MediaWiki are no longer supported, this should be merged to remove the method. Bug: T35287 Change-Id: Ibcc5cb656add3bc0610fd2b91d5a4411679b13fb --- M includes/apis/WOM_GetObjectModel.php M includes/apis/WOM_GetWikiResult.php M includes/apis/WOM_OutputObjectModel.php M includes/apis/WOM_Query.php M includes/apis/WOM_SetObjectModel.php M includes/apis/WOM_WikiObjectApi.php 6 files changed, 0 insertions(+), 24 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/apis/WOM_GetObjectModel.php b/includes/apis/WOM_GetObjectModel.php index 3bc90b8..9111d7b 100644 --- a/includes/apis/WOM_GetObjectModel.php +++ b/includes/apis/WOM_GetObjectModel.php @@ -131,8 +131,4 @@ 'api.php?action=womget&title=Somepage&xpath=//template[@name=SomeTempate]/template_field[@key=templateparam]' ); } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } } diff --git a/includes/apis/WOM_GetWikiResult.php b/includes/apis/WOM_GetWikiResult.php index b409a65..17cdef9 100644 --- a/includes/apis/WOM_GetWikiResult.php +++ b/includes/apis/WOM_GetWikiResult.php @@ -127,8 +127,4 @@ // public function mustBePosted() { // return true; // } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } } diff --git a/includes/apis/WOM_OutputObjectModel.php b/includes/apis/WOM_OutputObjectModel.php index 51af662..ead1c3a 100644 --- a/includes/apis/WOM_OutputObjectModel.php +++ b/includes/apis/WOM_OutputObjectModel.php @@ -136,8 +136,4 @@ 'api.php?action=womoutput&title=Somepage&xpath=//template[@name=SomeTempate]/template_field[@key=templateparam]' ); } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } } diff --git a/includes/apis/WOM_Query.php b/includes/apis/WOM_Query.php index 5db276f..84d8ca2 100644 --- a/includes/apis/WOM_Query.php +++ b/includes/apis/WOM_Query.php @@ -147,8 +147,4 @@ 'api.php?action=womquery&title=Somepage&key=hello,world' ); } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } } diff --git a/includes/apis/WOM_SetObjectModel.php b/includes/apis/WOM_SetObjectModel.php index 8c2bd84..7534179 100644 --- a/includes/apis/WOM_SetObjectModel.php +++ b/includes/apis/WOM_SetObjectModel.php @@ -410,8 +410,4 @@ 'api.php?action=womset&title=Somepage&xpath=//template[@name=SomeTempate]/template_field[@key=templateparam]&text=It+works!&token=%2B\\' ); } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } } diff --git a/includes/apis/WOM_WikiObjectApi.php b/includes/apis/WOM_WikiObjectApi.php index 65526e0..091620f 100644 --- a/includes/apis/WOM_WikiObjectApi.php +++ b/includes/apis/WOM_WikiObjectApi.php @@ -198,8 +198,4 @@ 'api.php?action=womapi&title=Somepage&xpath=//template&wommap=@name=titles,m||,ptemplate:&api=query&prop=info' ); } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } } -- To view, visit https://gerrit.wikimedia.org/r/184681 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibcc5cb656add3bc0610fd2b91d5a4411679b13fb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikiObjectModel Gerrit-Branch: master Gerrit-Owner: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits