Open main menu
This page is a translated version of a page Help:VisualFileChange.js and the translation is 49% complete. Changes to the translation template, respectively the source language can be submitted through Help:VisualFileChange.js and have to be approved by a translation administrator.

Other languages:
Deutsch • ‎English • ‎Tiếng Việt • ‎dansk • ‎español • ‎français • ‎русский • ‎українська • ‎العربية • ‎سنڌي • ‎ತುಳು • ‎日本語
Current version:


¿Qué es VFC?

Enlace «Realizar acción por lotes» en el cuadro de herramientas

VisualFileChange (a.k.a. AjaxMassDelete), adds a “Perform batch task” link to your toolbox on wiki pages. Este enlace permite aplicar acciones a algunos o a todos los archivos en las listas de cargas de usuarios, las categorías o las galerías. Actions include the creation of mass-deletion requests, the insertion of tags or free text, and customized text substitutions (regular expressions are supported).


See also Help:AjaxQuickDelete for the basics of the automatic deletion requests or “tag file & notify uploader”.

Paso 0: instalación

VisualFileChange es una herramienta que funciona con JavaScript. JavaScript no está activado.

Para instalarlo:

You should now see a Perform batch task link in your toolbox. Clicking it will launch VisualFileChange.

To change the Perform batch task text, add window.vFC_PortletText = '<your new portlet text>'; to your common.js or <skin>.js

El diálogo inicial solicita el destino

Paso 1: inserta colaborador

El programa solicita un contribuidor, un nombre de página o una consulta de búsqueda. Asegúrate de escribirlo correctamente.

Paso 2: seleccionar acción, insertar motivo, sustitución y patrón, etiquetas o texto libre

OTRS-Miembros: primero rellenar el ID o URL y entonces cambiar a OTRS- sacar etiquetas. Con OTRS- añadir puedes añadir cualquier plantilla a la sección de permiso sin sacar speedy-deletion- y relacionado-etiquetas.
Marca «Limpiar sección de permiso» para quitar cualquier contenido que pueda existir en la sección Permiso.

Paso 3: cargar tantos archivos como desees

Only files that are selected and in the dialog will be changed. To get more files, scroll down or click on "more". However, do not crash your browser loading too many files. Instead, you can continue where you stopped using the "more options" in the start dialog or the automatically created profile.

Paso 4: seleccionar elementos en los que realizar las acciones

There are only items listed, originally uploaded by the specified user. If there are deleted images, the numbers are discontinuous. Script will detect a lot of problem- and OTRS-tags and common license-types and show them under each thumbnail. Ejemplo

Just want to pick some files with or without a category? Want to select files uploaded between xx and yy because you got OTRS permission for these files? No problem, click on the select link

Cute select – Filter loaded files

If you do not specify anything, everything will match and all checkboxes in the thumbnail-dialog will get the state of the one in this dialog. This allows you both, selecting and deselecting.

VisualFileChange supports multiple RegEx-replace and offers methods to preserve certain areas. In addition, you can preview the changes before they are made.
RegExpr /R/

A RegExpr also known as regular expression or regex is a pattern used to match more than one "string" (e.g. the image text or a title). They can be really helpful anywhere, so, if you are unexperienced don't be lazy and learn them; the earlier, the better.

In the cute selection dialog, insert the RegExpr without flags (they are currently not supported) (Test.*); however when performing a custom replace, insert the RegExpr with flags (/\{\{FlickrView.*\|\d{4}\}\}/ig). Don't forget to escape "special characters".

Please test your RegExpr before using and use the opportunity to examine the changes the current set of replacement rules would cause to avoid undesired replacements. Puedes utilizar (u otras herramientas similares) para probar tus expresiones regulares.

Reference/ Examples: de, en, en

Selección de intervalo. Varios elementos entre dos archivos

Select file A, hold down  Shift while selecting file B. All files between the two files now get the state of file B.

Custom replace: Flags

  • If /R/ is set, the pattern is treated as a regular expression. If the background behind the button is red, it is very likely that you forgot to tick this button. If the background behind the pattern field is red, you ticked this button but the pattern is not a valid regular expression.
  • If %V% is set, VisualFileChange looks for variables (e.g. File metadata like %GPSLatitude% or the file name %PAGENAME%) in "Text to insert instead". Esta opción está activada de manera predeterminada. Ejemplos.

Paso 5: ejecución

La secuencia de órdenes te mostrará la acción que esté realizando en ese momento. Finally it prompts you where to go. Before executing, the script saves your input into an auto-profile. This allows you to continue at the last loaded files. If you re-launch VisualFileChange and insert the same target, a big yellow box will appear. Just click the link for convenient continuing.

The advanced configuration. Here you can play around with the defaults. Do not forget to permanently save them.

Configuración personalizada

VisualFileChange allows you to customize lots of features. It is not recommended to drastically increase the numbers of files to be loaded when scrolling down but it can be helpful in some cases.

If you send too many simultaneous requests to the API, errors may rise. Users who are not logged in should only send one request at one time. In case of errors, set "ask for confirmation after ... edits" to less than 8 and wait a while when the dialog prompts you whether to continue. We regret this limitation but cannot change it because it is on the server side. There are also much more edit restrictions for users who are not logged in.

Para más información

Desarrollo y hallazgo y corrección de defectos