Extension:SandboxLink
![]() Sürüm durumu: kararlı |
|
---|---|
Uygulama | Kullanıcı arayüzü, Vikim |
Açıklama | Kişisel araçlar menüsüne kullanıcının kişisel deneme tahtasına bir bağlantı ekler |
Yazar(lar) | Bartosz Dziewoński (Matma Rexmesaj) |
En son sürüm | Continuous updates |
Uyumluluk politikası | MediaWiki ile birlikte anlık görüntüler yayımlanır. Master geriye dönük olarak uyumlu değil. |
MediaWiki | 1.25+ |
Veritabanı değişiklikleri | Hayır |
Lisans | MIT Lisansı |
İndir | |
|
|
Quarterly downloads | 70 (Ranked 111st) |
Translatewiki.net adresinde mevcutsa, SandboxLink uzantısını çevirin | |
Sorunlar | Açık görevler · Hata bildir |
SandboxLink uzantısı, kullanıcının kişisel deneme tahtasına kişisel araçlar menüsüne bir bağlantı ekler. Deneme tahtası, kullanıcının kullanıcı sayfasının "/sandbox" alt sayfasında var olduğu veya oluşturulacağı varsayılır. The extension accurately reflects the existence of the page (redlink, vs always-a-bluelink in the gadget) which will be useful for bringing it to the attention of newcomers. The extension also keeps the link available on restricted special pages (special:preferences and special:userlogin).
Bu işlevselliğin daha sınırlı sürümü bir JavaScript pasajı şunula elde edebilir: Snippets/MySandbox . Bu pasaj daha önce, çoğu Wikimedia vikilerinde bir küçük araç olarak kullanılmış ve bunların çoğu default=on olarak ayarlanmıştı. The main disadvantages of the gadget are performance and mis-clicks: Because the snippet only loads after everything else is rendered, it causes a distracting "movement" in the personal bar. This also leads to many mis-clicks, when an editor tries to visit their userpage or usertalkpage, and those links moved just before the click. On the other hand, the disadvantage of the extension is that when installed on a wiki, there is no way for a user to opt out of the sandbox link appearing on the personal toolbar.
Kullanım
See Help:Extension:SandboxLink.
Kurulum
- Dosyaları indirin ve
extensions/
klasörünüzdekiSandboxLink
adlı dizine yerleştirin. LocalSettings.php
dosyanızın altına aşağıdaki kodu ekleyin:wfLoadExtension( 'SandboxLink' );
- Configure as required.
- Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.
MediaWiki 1.24 veya önceki bir sürümü çalıştıran kullanıcılara:
Yukarıdaki talimatlar, bu eklentiyi wfLoadExtension()
kullanarak kurmanın yeni yolunu açıklar.
Bu uzantıyı önceki sürümlerine (MediaWiki 1.24 ve önceki sürümler) yüklemeniz gerekirse, wfLoadExtension( 'SandboxLink' );
yerine kullanmanız gerekir:
require_once "$IP/extensions/SandboxLink/SandboxLink.php";
Yapılandırma
Sunucu tarafı yapılandırması
This extension provides one configuration option:
$wgSandboxLinkDisableAnon
- (Default:
true
) - Whether to disable the functionality for anonymous users.
Viki üzerinde yapılandırma
The sandbox link generated by this extension can be tweaked by modifying some system messages.
- sandboxlink-subpage-name
- (Default in English: "sandbox", varies per language)
- The name of user's subpage where the sandbox should be created. By default, the page used will be "User:Example/sandbox".
- Set this message to '-' to remove the sandbox link for all users.
- The value in wiki's content language will always be used, regardless of user's chosen language. If you're running a multilingual wiki, this can be overridden with the
$wgForceUIMsgAsContentMsg
MediaWiki configuration setting. - sandboxlink-portlet-label
- (Default in English: "Sandbox", varies per language)
- The label of the link in the user's personal toolbar.
- tooltip-pt-sandbox
- (Default in English: "Your sandbox", varies per language)
- The text contained in the "title" attribute of the link to the sandbox. This text is displayed when the user hovers their mouse over the link.
- sandboxlink-editintro-pagename
- sandboxlink-preload-pagename
- (Default: '-')
- When the sandbox page does not exist, the page title to use for the 'editintro' and 'preload' parameters of the link. See Manual:Parameters to index.php#Options affecting the edit form. Not enabled by default.
Ayrıca bakınız
Bu uzantı bir veya daha fazla Wikimedia projelerinde kullanılıyor. Bu, muhtemelen uzantının kararlı olduğu ve bu tür yüksek trafikli web siteleri tarafından kullanılacak kadar iyi çalıştığı anlamına gelir. Nerede kurulduğunu görmek için bu uzantının adını Wikimedia'nın CommonSettings.php ve InitialiseSettings.php yapılandırma dosyalarında arayın. Belirli bir vikide yüklü olan uzantılar listesinin tamamı vikinin Special:Version sayfasında görülebilir. |
This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |