From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:APNG and the translation is 9% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: beta
Implementación Media
Descripción Enables animated PNG support in unsupported browsers, based on apng-canvas library.
Autor(es) Mudkip metalk
Última versión 0.2.0 (2018-01-07)
MediaWiki 1.25+
PHP 5.3+
Cambios de la base de datos No
Licencia MIT License
Ejemplo http://wiki.52poke.com/wiki/七賢人
Translate the APNG extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

The APNG extension enables animated PNG support in unsupported browsers.

Currently, the only modern browser without APNG support is Microsoft Edge. This extension works on all modern browsers and IE starting with version 10.

APNG extension is based on David Mzareulyan's apng-canvas library.


  • Download y extrae los archivos en el directorio «APNG» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    require_once "$IP/extensions/APNG/APNG.php";
  • Yes Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.


If you use a different domain for your $wgUploadPath, the web server is required to send a Access-Control-Allow-Origin: * header for PNG files.

For example, you can simply add the following lines to the location scope of your Nginx configuration:

    if ($request_uri ~* \.png$) {
        add_header Access-Control-Allow-Origin *;