r70861 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70860‎ | r70861 | r70862 >
Date:08:34, 11 August 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Added result items
Modified paths:
  • /trunk/extensions/Distribution/api/ApiQueryExtensions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Distribution/api/ApiQueryExtensions.php
@@ -102,8 +102,15 @@
103103 break;
104104 }
105105
 106+ // This is based on
 107+ // http://search.cpan.org/~dagolden/CPAN-Meta-2.101670/lib/CPAN/Meta/Spec.pm
106108 $result = array(
107 - //TODO
 109+ 'name' => $extension->unit_name,
 110+ 'description' => $extension->current_desc,
 111+ 'version' => $extension->current_version_nr,
 112+ 'authors' => $extension->current_authors,
 113+ 'url' => $extension->current_url,
 114+ //'licence' => $extension->current_licence
108115 );
109116
110117 $this->getResult()->addValue( array( 'query', $this->getModuleName() ), null, $result );

Status & tagging log