| Index: trunk/extensions/Deployment/specials/SpecialUpdate.php |
| — | — | @@ -21,10 +21,22 @@ |
| 22 | 22 | */ |
| 23 | 23 | class SpecialUpdate extends SpecialPage { |
| 24 | 24 | |
| | 25 | + /** |
| | 26 | + * Constructor. |
| | 27 | + * |
| | 28 | + * @since 0.1 |
| | 29 | + */ |
| 25 | 30 | public function __construct() { |
| 26 | 31 | parent::__construct( 'Update' ); |
| 27 | 32 | } |
| 28 | 33 | |
| | 34 | + /** |
| | 35 | + * Main method. |
| | 36 | + * |
| | 37 | + * @since 0.1 |
| | 38 | + * |
| | 39 | + * @param $arg String |
| | 40 | + */ |
| 29 | 41 | public function execute( $arg ) { |
| 30 | 42 | |
| 31 | 43 | } |
| Index: trunk/extensions/Deployment/specials/SpecialInstall.php |
| — | — | @@ -21,10 +21,22 @@ |
| 22 | 22 | */ |
| 23 | 23 | class SpecialInstall extends SpecialPage { |
| 24 | 24 | |
| | 25 | + /** |
| | 26 | + * Constructor. |
| | 27 | + * |
| | 28 | + * @since 0.1 |
| | 29 | + */ |
| 25 | 30 | public function __construct() { |
| 26 | 31 | parent::__construct( 'Install' ); |
| 27 | 32 | } |
| 28 | 33 | |
| | 34 | + /** |
| | 35 | + * Main method. |
| | 36 | + * |
| | 37 | + * @since 0.1 |
| | 38 | + * |
| | 39 | + * @param $arg String |
| | 40 | + */ |
| 29 | 41 | public function execute( $arg ) { |
| 30 | 42 | |
| 31 | 43 | } |
| Index: trunk/extensions/Deployment/specials/SpecialDashboard.php |
| — | — | @@ -21,10 +21,22 @@ |
| 22 | 22 | */ |
| 23 | 23 | class SpecialDashboard extends SpecialPage { |
| 24 | 24 | |
| | 25 | + /** |
| | 26 | + * Constructor. |
| | 27 | + * |
| | 28 | + * @since 0.1 |
| | 29 | + */ |
| 25 | 30 | public function __construct() { |
| 26 | 31 | parent::__construct( 'Dashboard' ); |
| 27 | 32 | } |
| 28 | 33 | |
| | 34 | + /** |
| | 35 | + * Main method. |
| | 36 | + * |
| | 37 | + * @since 0.1 |
| | 38 | + * |
| | 39 | + * @param $arg String |
| | 40 | + */ |
| 29 | 41 | public function execute( $arg ) { |
| 30 | 42 | |
| 31 | 43 | } |
| Index: trunk/extensions/Deployment/README |
| — | — | @@ -1,16 +1,21 @@ |
| 2 | 2 | == About == |
| 3 | 3 | |
| 4 | | -... |
| | 4 | +This extension enables installation and updating of extensions and MediaWiki itself. |
| | 5 | +It obtains deployment packages by using the API provided by the Distribution extension [0], |
| | 6 | +parses these and applies them. For this it provides several special pages. More info at [1]. |
| 5 | 7 | |
| | 8 | +[0] https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Distribution |
| | 9 | +[1] https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Deployment |
| | 10 | + |
| 6 | 11 | == Credits to other projects == |
| 7 | 12 | |
| 8 | 13 | * WordPress: |
| 9 | 14 | http://www.wordpress.com/ |
| 10 | | - A lot of the code in this extension is dirived from or inspired on WordPress code. |
| | 15 | + The filesystem code in this extension is dirived from or inspired on WordPress code. |
| 11 | 16 | |
| 12 | 17 | * Deployment Framework |
| 13 | 18 | http://smwforum.ontoprise.com/smwforum/index.php/Help:Deployment_Framework |
| 14 | | - Various aspects of this extension are based on Ontoprises Deployment Framework. |
| | 19 | + The Ontoprises Deployment Framework served as an example for creating this extension. |
| 15 | 20 | |
| 16 | 21 | * PclZip |
| 17 | 22 | http://www.phpconcept.net |