MediaWiki  1.33.1
importImages.php File Reference

Import one or more images from the local file system into the wiki without using the web-based interface. More...

Go to the source code of this file.

Classes

class  ImportImages
 

Variables

 $maintClass = ImportImages::class
 

Detailed Description

Import one or more images from the local file system into the wiki without using the web-based interface.

"Smart import" additions:

  • aim: preserve the essential metadata (user, description) when importing media files from an existing wiki.
  • process:
    • interface with the source wiki, don't use bare files only (see –source-wiki-url).
    • fetch metadata from source wiki for each file to import.
    • commit the fetched metadata to the destination wiki while submitting.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Author
Rob Church robch.nosp@m.ur@g.nosp@m.mail..nosp@m.com
Mij mij@b.nosp@m.itch.nosp@m.x.it

Definition in file importImages.php.

Variable Documentation

◆ $maintClass

Definition at line 506 of file importImages.php.