aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/importImages.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Part of bug 26280: added license headers to PHP files in maintenanceAlexandre Emsenhuber2010-12-161-0/+15
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/78508
* Whitespace fixup under tha maint directory.Mark A. Hershberger2010-12-041-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77711
* FileRepo stuff no longer uses WikiError since agesAlexandre Emsenhuber2010-11-171-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/76892
* Revert r73587 and fix r62087 regression by providing the default value in ↵Platonides2010-09-251-4/+4
| | | | | | | | | | $comment definition. This not only fixes the issue of line 189, but also the one at line 156. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/73754
* Fix regression caused by r62087 which failed to insert rows into the image ↵OverlordQ2010-09-231-1/+1
| | | | | | | | | | table due to null comment. Also correct indefinite/infinite/infinity protection. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/73587
* Whitespaces fixes:Alexandre Emsenhuber2010-09-121-58/+58
| | | | | | | | * use tabs for indentation * removed trailing whitespaces Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/72867
* Stylize maintenance folder..Sam Reed2010-05-221-38/+38
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66751
* Fix regression from r62087 (!) breaking importImages.php . Backport to 1.16 ↵Roan Kattouw2010-03-131-1/+1
| | | | | | | follows Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/63693
* Applied and tweaked smart-import patch from Mij, merging with 1.16.Platonides2010-02-071-29/+54
| | | | | | | | | | | | | | | | | This adds --source-wiki-url parameter to importImages.php for a wiki from which to fetch the original uploader and comment. Useful when going from local uploads to a shared repository. Original code at http://www.howtopedia.org/public/mw-smart-import.tbz "I release it with the least restrictive license applicable, considering the code is derivative work of the respective maintenance scripts from the MW distribution. Feel free to commit this or modifications of it to your repos." http://lists.wikimedia.org/pipermail/mediawiki-l/2010-February/033230.html Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/62087
* fix for different sources of upload commentsDaniel Kinzler2009-12-091-8/+12
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/59908
* Replaced all instances of <<<END (which breaks vim syntax highlighting), ↵Tim Starling2009-12-071-3/+3
| | | | | | | with a type-specific end token. For HTML and SQL, this causes vim to highlight the embedded text with the HTML or SQL file type plugins respectively, which is very neat. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/59780
* importImages --skip-dupes checks for dupes using sha1Daniel Kinzler2009-10-021-0/+14
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/57286
* imageImport --check-userblock checks if the user used for importing was blockedDaniel Kinzler2009-10-021-0/+17
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/57285
* new options: --limit --sleep --fromDaniel Kinzler2009-10-021-9/+47
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/57284
* Revert r54244 which was stupid and fix this properly. Require ↵Chad Horohoe2009-08-031-1/+1
| | | | | | | commandLine.inc/Maintenance.php using the full path every time. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/54312
* * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .incShinjiman2009-05-231-1/+1
| | | | | | | patch by Karun Dambiec Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/50942
* (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriateChad Horohoe2009-04-061-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/49247
* (bug 11857) Add 'protect' option to importImages.php maintenance script.Andrew Garrett2009-03-031-0/+43
| | | | | | | Includes related Article changes -- fixing an E_NOTICE and reporting errors in the debug log. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/47964
* Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit).Ilmari Karonen2008-12-011-1/+1
| | | | | | | This is a global search and replace of NS_IMAGE and NS_IMAGE_TALK with NS_FILE and NS_FILE_TALK respectively in all core files, excluding those already updated in step 1 (r44004). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/44121
* support more greedy paramsDaniel Kinzler2008-11-281-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/44029
* image import new supports per-image description filesDaniel Kinzler2008-11-271-10/+49
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/43994
* WARNING: HUGE COMMITAlexandre Emsenhuber2008-05-201-1/+2
| | | | | | | | | | | | | | | | | | Doxygen documentation update: * Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group. * Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file. * Removed some empty comments * Removed some ?> Added following groups: * ExternalStorage * JobQueue * MaintenanceLanguage One more thing: there are still a lot of warnings when generating the doc. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/35098
* * Allow overwriting existing files with conflicting names using the ↵Rob Church2007-07-281-17/+34
| | | | | | | | | | --override option * More useful output (no. of files added, overwritten, skipped) * Trim some whitespace and kill a dud global \o/ Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/24418
* Remove ?>'s from files. They're pointless, and just asking for people to ↵Aryeh Gregor2007-06-291-1/+1
| | | | | | | mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/23531
* * Don't require a list of extensions; move it into an option, and default to ↵Rob Church2007-06-071-14/+20
| | | | | | | | | | $wgFileExtensions * Let the user know if no suitable files are found * Missing release note from r22772 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/22815
* Don't bug out if no files were foundRob Church2007-06-051-32/+34
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/22772
* Merged filerepo-work branch:Tim Starling2007-05-301-39/+23
| | | | | | | | | | | | | | | | | * Added support for configuration of an arbitrary number of commons-style file repositories. * Split Image.php into filerepo/File.php and filerepo/LocalFile.php * Renamed Image::getImagePath() to File::getPath() * Added initial support for timestamp-based file fetching (OldLocalFile), to be expanded upon by aaron. * Changed the interface for Image/File object creation: use wfFindFile() or wfLocalFile() depending on semantics * ImageGallery::add() now accepts a title object as the first parameter * Moved file handling operations on upload from SpecialUpload to File * Removed path-related functions from ImageFunctions.php. Removed static path accessors from File. * Added a Content-Disposition header to thumb.php output * Improved thumb.php error handling * Updated the unit test suite to kind of partially work with modern computers. RunTests.php doesn't work just yet. Fixed an actual regression that the test suite detected -- moved some defines to Defines.php where they will be loaded consistently. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/22580
* whitespaces killing, adding {}Antoine Musso2007-05-091-23/+25
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/22049
* * (bug 8975) Use "Maintenance script" as the username for ↵Rob Church2007-03-271-9/+7
| | | | | | | | | | importTextFile.php, not "MediaWiki default" as it could cause pages to be overwritten * Use "Maintenance script" as the username for importImages.php, too * Clarified reserved username comment Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20751
* Use Doxygen @addtogroup instead of phpdoc @package && @subpackageAntoine Musso2007-01-201-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
* Converted User to use lazy initialisation. This is to avoid unstub loops, ↵Tim Starling2006-10-141-2/+4
| | | | | | | and also for performance. Interfaces and semantics have been largely preserved, except for a minor change involving setLoaded(). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/17004
* * Add --user, --comment, and --license options to importImages.phpBrion Vibber2006-09-111-6/+27
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16477
* * (bug 7279) Use wfBaseName in place of basename() in more placesBrion Vibber2006-09-101-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16465
* Maintenance script to import multiple files into the wikiRob Church2006-05-151-0/+101
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/14236