r70758 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70757‎ | r70758 | r70759 >
Date:08:21, 9 August 2010
Author:jeroendedauw
Status:ok (Comments)
Tags:
Comment:
Follow up to r70757
Modified paths:
  • /trunk/extensions/Distribution/api/ApiExtension.php (modified) (history)
  • /trunk/extensions/Distribution/api/ApiPackage.php (modified) (history)
  • /trunk/extensions/Distribution/api/ApiQueryExtensions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Distribution/api/ApiQueryExtensions.php
@@ -27,14 +27,27 @@
2828 /**
2929 * API class for the querieng of extensions in the repository.
3030 *
 31+ * @since 0.1
 32+ *
3133 * @ingroup Distribution
3234 */
3335 class ApiQueryExtensions extends ApiQueryBase {
 36+
 37+ /**
 38+ * Constructor.
 39+ *
 40+ * @since 0.1
 41+ *
 42+ * @param $main
 43+ * @param $action
 44+ */
3445 public function __construct( $main, $action ) {
3546 parent :: __construct( $main, $action, 'dst' );
3647 }
3748
3849 /**
 50+ * Main method.
 51+ *
3952 * @since 0.1
4053 */
4154 public function execute() {
Index: trunk/extensions/Distribution/api/ApiPackage.php
@@ -26,9 +26,26 @@
2727
2828 /**
2929 *
 30+ * @since 0.1
3031 *
3132 * @ingroup Distribution
3233 */
33 -class ApiPackage extends ApiQueryBase {
 34+class ApiPackage extends ApiBase {
3435
 36+ /**
 37+ * Main method.
 38+ *
 39+ * @since 0.1
 40+ */
 41+ public function execute() {
 42+
 43+ }
 44+
 45+ /**
 46+ * @since 0.1
 47+ */
 48+ public function getVersion() {
 49+ return __CLASS__ . ': $Id$';
 50+ }
 51+
3552 }
\ No newline at end of file
Index: trunk/extensions/Distribution/api/ApiExtension.php
@@ -26,9 +26,26 @@
2727
2828 /**
2929 *
 30+ * @since 0.1
3031 *
3132 * @ingroup Distribution
3233 */
33 -class ApiExtension extends ApiQueryBase {
 34+class ApiExtension extends ApiBase {
3435
 36+ /**
 37+ * Main method.
 38+ *
 39+ * @since 0.1
 40+ */
 41+ public function execute() {
 42+
 43+ }
 44+
 45+ /**
 46+ * @since 0.1
 47+ */
 48+ public function getVersion() {
 49+ return __CLASS__ . ': $Id$';
 50+ }
 51+
3552 }
\ No newline at end of file

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70757Added 2 API module stubs, with hopefully for the first time correct svn prope...jeroendedauw08:17, 9 August 2010

Comments

#Comment by Reedy (talk | contribs)   11:56, 9 August 2010

Yeah, you'll need the svn keywords Id for this to work :)

Status & tagging log