Extensión:ImportArticles
Jump to navigation
Jump to search
ImportArticles Release status: estable |
|||
---|---|---|---|
Implementación | Ajax | ||
Descripción | Adds an ImportArticles used for JavaScript to import multiple CSS/JS pages at once. | ||
Autor(es) | Cblair91talk | ||
Última versión | 1.3 (2015-09-11) | ||
MediaWiki | 1.21+ | ||
Cambios de la base de datos | No | ||
Licencia | GNU General Public License 3.0 | ||
Descarga | |||
|
|||
Translate the ImportArticles extension if it is available at translatewiki.net | |||
Verificar uso y versión de la matriz. | |||
Asuntos | Tareas abiertas · Reportar un bug |
The ImportArticles extension adds a JavaScript that is loaded on the page, which allows the importation of multiple JS and CSS at once. This is usable in the MediaWiki namespace for the skin, or in the users namespace for their local modifications.
Instalación
- Descarga y extrae los archivos en el directorio «
ImportArticles
» dentro del directorioextensions/
existente.
- Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
wfLoadExtension( 'ImportArticles' );
Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.
Para quienes usan MediaWiki 1.24 o versiones anteriores:
Estas instrucciones describen la nueva forma de instalar extensiones usando wfLoadExtension()
. Si necesitas instalar esta extensión en versiones anteriores (MediaWiki 1.24 y anteriores), debes usar lo siguiente en lugar de wfLoadExtension( 'ImportArticles' );
:
require_once "$IP/extensions/ImportArticles/ImportArticles.php";
History
V1.3:
- Cleaned up a bunch of the code, and transfer to current PHP/MW standards
V1.2:
- Add version and licence to JavaScript definer
- Change variables to global variable
- Fixed console logging for page missing
V1.1:
- Change variables
- Fixed output formatting
V1.0:
- Initial release