Extension:WindowsAzureStorage/hi
From Linux Web Expert
WindowsAzureStorage प्रकाशन की स्थिति: स्थिर |
|
---|---|
File:Windows Azure logo.png | |
कार्यान्वयन | चित्र रिपॉज़िटरी |
विवरण | मीडियाविकि को फ़ाइल बैक-एंड के रूप में Windows Azure का इस्तेमाल करने की अनुमति देता है |
लेखक | Thai Phan, Markus Glaser |
MediaWiki | |
लाइसेंस | GNU साधारण सार्वजनिक लाइसेंस 2.0 या अधिक |
डाउनलोड करें | |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
WindowsAzureStorage एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है |
WindowsAzureStorage एक्सटेंशन मीडियाविकि को Windows Azure Storage सेवा पर अपलोड की गई फ़ाइलें रखने में सक्षम करता है।
स्थापना
- <translate> [[<tvar name=2>Special:ExtensionDistributor/WindowsAzureStorage/hi</tvar>|Download]] and move the extracted <tvar name=name>
WindowsAzureStorage/hi
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WindowsAzureStorage%2Fhi - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'WindowsAzureStorage/hi' );
- Configure as required.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
कॉन्फ़िगरेशन
Add the following to the end of the "LocalSettings.php" file to start using your Windows Azure Storage account as the file backend for your wiki. You will need to change your_azure_storage_account and your_azure_storage_account_key to the relevant values.
$wgFileBackends[] = [
'name' => 'localAzure',
'class' => 'WindowsAzureFileBackend',
'lockManager' => 'nullLockManager',
'azureAccount' => 'your_azure_storage_account',
'azureKey' => 'your_azure_storage_account_key'
];
$wgLocalFileRepo = [
'class' => 'LocalRepo',
'name' => 'local',
'backend' => 'localAzure',
'scriptDirUrl' => $wgScriptPath,
'scriptExtension' => $wgScriptExtension,
'url' => $wgScriptPath . '/img_auth.php',
'hashLevels' => 0,
'deletedHashLevels' => 0,
'zones' => array(
'public' => [ 'container' => 'public' ],
'thumb' => [ 'container' => 'thumb' ],
'temp' => [ 'container' => 'temp' ],
'deleted' => [ 'container' => 'deleted' ]
]
];
$wgImgAuthPublicTest = false;