Extension:WindowsAzureSDK

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
WindowsAzureSDK

Release status: stable

Windows Azure logo.png
Description Provides extensions with the ability to use the Windows Azure SDK for PHP.
Author(s) Microsoft, Thai Phan, Robert Vogel
Latest version 0.3.1 (2013-05-25)
MediaWiki 1.20+
Database changes No
License Apache
Download

Translate the WindowsAzureSDK extension if possible

Check usage and version matrix; code metrics

The WindowsAzureSDK extension provides the Windows Azure SDK for PHP created by Microsoft. It is used as a foundation for other extensions using Windows Azure services.

Usage[edit | edit source]

You will need to extension in order to use WindowsAzureStorage. You can also use it to write your own extensions that use Windows Azure services.

Download instructions[edit | edit source]

You can download the extension directly from the MediaWiki source code repository (browse code). You can get:

One of the extensions tags

Not all extensions have tags. Some extensions have tags for each release, in which case those tags have the same stability as the release. To download a tag

  • Go to the tags list
  • Click the name of the tag you want to download
  • Click "snapshot"
The latest version of one of the extensions branches

Each extension has a master branch containing the latest code (might be unstable). Extensions can have further branches as well.

  • Go to the branches list
  • Click the branch name
  • Click "snapshot"
A snapshot made during the release of a MediaWiki version.

This might be unstable and is not guaranteed to work with the associated MediaWiki version.

After you've got the code, save it into the extensions/WindowsAzureSDK directory of your wiki.

If you are familiar with git and have shell access to your server, you can obtain the extension, with all its tags and branches, as follows:

cd extensions
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/WindowsAzureSDK.git

Installation[edit | edit source]

Install via Composer[edit | edit source]

Before you can continue, you will need to download all the prerequisites for this extension. This is done via Composer.

cd WindowsAzureSDK
php composer.phar install

Edit LocalSettings.php[edit | edit source]

Add the following line to LocalSettings.php and then check Special:Version to see if it appears.

require_once("$IP/extensions/WindowsAzureSDK/WindowsAzureSDK.php");