Extension:UploadCheck/es

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Manual de extensiones de MediaWiki
UploadCheck
Estado de lanzamiento: sin mantenimiento
Implementación Multimedia
Descripción Checks if the fields "Description" and "License" are filled when uploading a file
Autor(es) Martin Strecker (MaStrtalk)
Última versión 1.0 (2013-08-29)
MediaWiki 1.21+
Cambios de la base de datos No
Licencia GNU Licencia Pública general 2.0 o posterior
Descarga See the code

  • $wgUploadNavigationUrl
  • $hideWarning
Descargas trimestrales Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Wikis públicos que lo utilizan Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

The UploadCheck extension checks if the fields "Description" and "License" are filled when uploading a file.

Instalación

  • <translate> <tvar name=1>Copy the code</tvar> and place the file(s) in a directory called <tvar name=name>UploadCheck/es</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/UploadCheck/es/UploadCheck/es.php";
    $wgUploadNavigationUrl = "{$wgScriptPath}/index.php?title=Special:UploadCheck";
    $hideWarning = true; // optional
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>