Commit graph

15 commits

Author SHA1 Message Date
Daniel Kinzler
2bdbc0a212 support more greedy params 2008-11-28 21:32:10 +00:00
Daniel Kinzler
42e97bbebe image import new supports per-image description files 2008-11-27 13:07:30 +00:00
Alexandre Emsenhuber
087a9f70c5 WARNING: HUGE COMMIT
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.
2008-05-20 17:13:28 +00:00
Rob Church
b0b93fc4d2 * Allow overwriting existing files with conflicting names using the --override option
* More useful output (no. of files added, overwritten, skipped)
* Trim some whitespace and kill a dud global \o/
2007-07-28 22:21:23 +00:00
Aryeh Gregor
a15c419b3d Remove ?>'s from files. They're pointless, and just asking for people to 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.) 2007-06-29 01:19:14 +00:00
Rob Church
b76bfa8a0f * Don't require a list of extensions; move it into an option, and default to $wgFileExtensions
* Let the user know if no suitable files are found
* Missing release note from r22772
2007-06-07 15:07:12 +00:00
Rob Church
bac772ae7e Don't bug out if no files were found 2007-06-05 18:39:02 +00:00
Tim Starling
ed4303922f Merged filerepo-work branch:
* 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.
2007-05-30 21:02:32 +00:00
Antoine Musso
859d372ffb whitespaces killing, adding {} 2007-05-09 19:09:33 +00:00
Rob Church
7fefaf95f9 * (bug 8975) Use "Maintenance script" as the username for 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
2007-03-27 20:53:33 +00:00
Antoine Musso
c771fc9c96 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
Tim Starling
dd785270d7 Converted User to use lazy initialisation. This is to avoid unstub loops, and also for performance. Interfaces and semantics have been largely preserved, except for a minor change involving setLoaded(). 2006-10-14 06:58:19 +00:00
Brion Vibber
0da252934f * Add --user, --comment, and --license options to importImages.php 2006-09-11 13:12:52 +00:00
Brion Vibber
cbb9596427 * (bug 7279) Use wfBaseName in place of basename() in more places 2006-09-10 12:11:36 +00:00
Rob Church
e4f57c202c Maintenance script to import multiple files into the wiki 2006-05-15 10:57:52 +00:00