Extension:GlobalWatchlist/hu
Ezt a kiterjesztést jelenleg nem tartják aktívan karban! Bár még működőképes lehet, a hibajelentésekkel és funkcióigényekkel valószínűleg senki nem fog törődni. Ha szeretnéd elvállalni a kiterjesztés fejlesztését és karbantartását, kérhetsz tulajdonjogot a tárolóhoz. Szívességből kapcsolatba léphetsz a szerzővel. You should also remove this template and list yourself as maintaining the extension in the page's {{Kiterjesztés}} infobox. |
Kiadási állapot: karbantartatlan |
|
|---|---|
| Megvalósítás | Speciális lap |
| Leírás | „Globális” figyelőlistát hoz létre |
| Szerző(k) | DannyS712vitalap |
| Kompatibilitási irányelv | Snapshots releases along with MediaWiki. Master is not backward compatible. |
| MediaWiki | 1.36+ |
|
|
| Licence | GNU General Public License 2.0 or later |
| Letöltés | README |
| Fordítsd le a(z) GlobalWatchlist kiterjesztést, ha elérhető a translatewiki.net oldalon | |
| Problémák | Nyitott feladatok · Hibajelentés |
A GlobalWatchlist kiterjesztéssel több projekt lapjait is figyelőlistára lehet venni.
Telepítés
- Töltsd le a kiterjesztés fájljait, és mentsd el az
extensions/mappán belüliGlobalWatchlistkönyvtárba.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalWatchlist
- Add hozzá az alábbi kódot a LocalSettings.php fájlod aljára:
wfLoadExtension( 'GlobalWatchlist' );
Kész – A Special:Version oldalon ellenőrizheted, hogy a kiterjesztés ténylegesen feltelepült-e.
Konfiguráció
| Változó neve | Alapértelmezett érték | Leírás |
|---|---|---|
$wgGlobalWatchlistWikibaseSite |
false
|
The site that should be treated as a Wikibase Repository and should have labels fetched for items that are changed. If false, the extra handling for Wikibase items is not applied.
|
$wgGlobalWatchlistUseVue |
false
|
Whether to use the experimental Vue.js version of the display |
$wgGlobalWatchlistDevMode |
false
|
Whether to send debug log entries to the console |
$wgGlobalWatchlistEnableGuidedTour |
false
|
Whether to enable the GuidedTour for the settings page, if the GuidedTour extension is installed |
$wgGlobalWatchlistSiteLimit |
5
|
The maximum number of sites that a user can save to their watchlist. Set to 0 to disable the limit. |
Használat
To view the global watchlist, visit Special:GlobalWatchlist on the wiki where the extension is installed. 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.
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' );
} );
Integráció más kiterjesztésekkel
- When CentralAuth is installed, only wikis where the user has an attached account are allowed in their global watchlist
- When some of the sites included in the global watchlist have the Wikibase Repository extension installed, labels for items and properties can be fetched and displayed. If WikibaseLexeme is installed labels for lexemes are retrieved too.
- When GuidedTour is installed, and
$wgGlobalWatchlistEnableGuidedTouris enabled, a tour is available at Special:GlobalWatchlistSettings the first time you visit the page
Lásd még
| Ezt a kiterjesztést egy vagy több Wikimédia-projekt használja. Ez valószínűleg azt jelenti, hogy stabil és nagy biztonsággal használható ilyen forgalmas oldalakon is. A kiterjesztést használó wikik pontos listáját a Wikimédia CommonSettings.php és InitialiseSettings.php konfigurációs fájljaiban a nevére keresve találhatod meg. Egy adott wikin telepített összes kiterjesztés listája a wiki Special:Version oldalán található. |
| Ezt a kiterjesztést az alábbi wikifarmok/szerverek és/vagy csomagok használják: |
- Unmaintained extensions/hu
- Special page extensions/hu
- ApiOptions extensions/hu
- GetPreferences extensions/hu
- LoginFormValidErrorMessages extensions/hu
- ResourceLoaderRegisterModules extensions/hu
- SidebarBeforeOutput extensions/hu
- GPL licensed extensions/hu
- Extensions in Wikimedia version control/hu
- All extensions/hu
- Extensions used on Wikimedia/hu
- Extensions included in Miraheze/hu
- Watchlist/hu
