Jump to content

Extension:GlobalWatchlist/tr

From mediawiki.org
This page is a translated version of the page Extension:GlobalWatchlist and the translation is 79% complete.
Outdated translations are marked like this.

GlobalWatchlist

2021 Coolest Tool
Award Winner

in the category
Newcomer

MediaWiki manüel uzantıları
GlobalWatchlist
Sürüm durumu: bakımsız
Uygulama Özel sayfa
Açıklama "Küresel" bir izleme listesi oluşturur
Yazar(lar) DannyS712mesaj
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.36+
  • $wgGlobalWatchlistEnableGuidedTour
  • $wgGlobalWatchlistDevMode
  • $wgGlobalWatchlistSiteLimit
Licence GNU Genel Kamu Lisansı 2.0 veya üstü
İndir
README
Translatewiki.net adresinde mevcutsa, GlobalWatchlist uzantısını çevirin
Sorunlar Açık görevler · Hata bildir

GlobalWatchlist uzantısı, bir kullanıcının birden çok sitede izlenen sayfalarda yapılan değişiklikleri aynı anda görüntülemesine olanak tanır.

Kurulum

  • Dosyaları indirin ve extensions/ klasörünüzdeki GlobalWatchlist adlı dizine yerleştirin.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalWatchlist
    
  • LocalSettings.php dosyanızın altına aşağıdaki kodu ekleyin:
    wfLoadExtension( 'GlobalWatchlist' );
    
  • Yes Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.

Yapılandırma

Uzantı aşağıdaki yapılandırma seçeneklerine sahiptir
Değişken adı Varsayılan değer Açıklama
$wgGlobalWatchlistWikibaseSite false Wikibase Repository olarak değerlendirilmesi gereken ve değiştirilen öğeler için etiketlerin getirilmesi gereken site. false ise, Wikibase öğeleri için fazladan işlem uygulanmaz. If false, the extra handling for Wikibase items is not applied.
$wgGlobalWatchlistUseVue false Ekranın deneysel Vue.js sürümünün kullanılıp kullanılmayacağı
$wgGlobalWatchlistDevMode false Konsola hata ayıklama günlüğü girişlerinin gönderilip gönderilmeyeceği
$wgGlobalWatchlistEnableGuidedTour false GuidedTour uzantısı yüklüyse, ayarlar sayfası için GuidedTour etkinleştirilip etkinleştirilmeyeceği
$wgGlobalWatchlistSiteLimit 5 Bir kullanıcının izleme listesine kaydedebileceği maksimum site sayısı. Sınırı devre dışı bırakmak için 0'a ayarlayın.

Kullanım

Küresel izleme listesini görüntülemek için, uzantının yüklü olduğu vikide Special:GlobalWatchlist sayfasını ziyaret edin. Varsayılan olarak, yalnızca yerel vikinin değişiklikleri gösterilir, ancak yapılandırmayı $2 üzerinden değiştirerek kullanıcı, yapılandırılmışsa maksimuma kadar gösterilecek diğer siteleri seçebilir. By default, only the local wiki's changes are shown, but by changing the configuration at Special:GlobalWatchlistSettings the user can choose other sites to show, up to the maximum if configured.

Uyarı Uyarı: Bunu CentralAuth ile birlikte kullanmanız ve kullanıcının ekli hesabı olan diğer siteleri seçmeniz önerilir; bu uzantı başka herhangi bir kurulumla test edilmemiştir.

JavaScript hook: ext.globalwatchlist.rebuild

The GlobalWatchlist interface exposes a client-side hook named ext.globalwatchlist.rebuild that is fired after every rebuild of the watchlist display, both after a full browser page load and after internal refreshes triggered by the feature itself. This hook can be used by gadgets and user scripts or other extensions to run custom JavaScript whenever the global watchlist view is redrawn.

The hook callback receives a single object parameter with the following fields:

  • root – The root DOM element of the GlobalWatchlist interface that has just been rebuilt.
  • inLive – Boolean flag indicating whether the interface is currently in “live updates” mode.
  • fastMode – Boolean flag indicating whether the interface is in “fast load” mode.
  • timestamp – A timestamp string representing the moment of the data snapshot for which this rebuild is valid.

A typical usage pattern looks like:

mw.hook( 'ext.globalwatchlist.rebuild' ).add( function ( data ) {
    // data.root is the rebuilt container element
    // data.inLive indicates live updates mode
    // data.fastMode indicates fast load mode
    // data.timestamp is the data timestamp for this view
    // Custom logic can be added here, for example:
    // $( data.root ).addClass( 'my-globalwatchlist-enhancement' );
} );

Diğer uzantılarla entegrasyon

  • CentralAuth yüklendiğinde, yalnızca kullanıcının ekli bir hesaba sahip olduğu vikilere genel izleme listesinde izin verilir.
  • Küresel izleme listesine dahil edilen sitelerden birinde Wikibase Repository uzantısı yüklendiğinde, öğeler ve özellikler için etiketler getirilebilir ve görüntülenebilir. WikibaseLexeme yüklüyse, sözlükler için etiketler de alınır.
  • GuidedTour yüklendiğinde ve $wgGlobalWatchlistEnableGuidedTour etkinleştirildiğinde, sayfayı ilk ziyaret ettiğinizde Special:GlobalWatchlistSettings altında bir tur mevcuttur

Ayrıca bakınız