Extension:GlobalWatchlist/es
¡En estos momentos no hay nadie que se encargue del mantenimiento de esta extensión! Aunque todavía puede que funcione, los informes sobre errores o peticiones de nuevas funcionalidades serán probablemente ignorados. Si estás interesado en el desarrollo y mantenimiento de esta extensión, puedes solicitar acceso al repositorio. Como cortesía, puede que quieras contactar a su autor. También deberás quitar esta plantilla y añadirte como encargado del mantenimiento de esta extensión en la plantilla $extension de la página. |
Estado de la versión: sin mantenimiento |
|
|---|---|
| Implementación | Página especial |
| Descripción | Crea una lista de seguimiento «global» |
| Autor(es) | DannyS712discusión |
| Política de compatibilidad | Se publican nuevas instantáneas junto con MediaWiki. La rama maestra no es retrocompatible. |
| MediaWiki | 1.36+ |
|
|
| Licencia | Licencia Pública General de GNU 2.0 o posterior |
| Descargar | README |
| Traduce la extensión GlobalWatchlist si está disponible en translatewiki.net | |
| Incidentes | Tareas abiertas · Reportar un error |
La extensión GlobalWatchlist permite que el usuario vea los cambios en las páginas que vigila en múltiples wikis a la vez.
Instalación
- Descarga y mueve la carpeta
GlobalWatchlistextraída a tu directorioextensions/.
Los desarrolladores y contribuidores de código deberían instalar la extensión desde Git en su lugar, usando:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalWatchlist
- Añade el siguiente código en la parte final de tu archivo LocalSettings.php:
wfLoadExtension( 'GlobalWatchlist' );
Hecho – Navega a Special:Versionen el wiki para verificar que la extensión se haya instalado correctamente.
Configuración
| Nombre de variable | Valor predeterminado | Descripción |
|---|---|---|
$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. |
Uso
Para ver la lista de seguimiento global, visita Special:GlobalWatchlist en el wiki donde la extensión está instalada. De forma predeterminada, solo se muestran los cambios del wiki local, pero el usuario puede elegir otros sitios para mostrar al cambiar la configuración en $2, hasta el máximo especificado si se establece en la configuración. 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' );
} );
Integration with other extensions
- 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
See also
| Esta extensión está siendo usada en uno o más proyectos de Wikimedia. Esto significa probablemente que la extensión es estable y funciona lo suficientemente bien como para ser usada en sitios con gran cantidad de visitas. Puedes buscar el nombre de esta extensión en los archivos CommonSettings.php e InitialiseSettings.php de Wikimedia para ver dónde se instala. Encontrarás la lista completa de extensiones instaladas en un wiki en particular en la página Special:Version del wiki. |
| Esta extensión está incluida en los siguientes anfitriones/granjas wiki y/o paquetes: |
- Unmaintained extensions/es
- Special page extensions/es
- ApiOptions extensions/es
- GetPreferences extensions/es
- LoginFormValidErrorMessages extensions/es
- ResourceLoaderRegisterModules extensions/es
- SidebarBeforeOutput extensions/es
- GPL licensed extensions/es
- Extensions in Wikimedia version control/es
- All extensions/es
- Extensions used on Wikimedia/es
- Extensions included in Miraheze/es
- Watchlist/es
