Commit graph

67 commits

Author SHA1 Message Date
Chad Horohoe
f991d9cf77 Rewrite various TableCleanup scripts to subclass Maintenance instead of FiveUpgrade 2009-08-24 02:14:52 +00:00
Chad Horohoe
567f244e36 Revert r54244 which was stupid and fix this properly. Require commandLine.inc/Maintenance.php using the full path every time. 2009-08-03 21:56:41 +00:00
Brion Vibber
5c58613f4d Pulling back r45388 "Don't needlessly shy from reuniting lost files with their description pages."
I'm staring at this code and my brain just ain't liking it. :) Can we maybe just make the logic cleaner?
2009-01-07 02:41:03 +00:00
Ilmari Karonen
41acfbfcfb Don't needlessly shy from reuniting lost files with their description pages. 2009-01-04 02:36:03 +00:00
Ilmari Karonen
34fb6297cd Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit).
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).
2008-12-01 17:14:30 +00:00
Chad Horohoe
2033b1fce5 Replace mkdir() in favor of wfMkdirParents():
* It handles directory modes for us (rather than hardcode 0777)
* It handles recursion for us
2008-11-21 11:34:09 +00:00
Ilmari Karonen
f7c0be43eb also fix image names with magic tildes in them, got a few on enwiki 2008-11-21 06:08:31 +00:00
Ilmari Karonen
d64452ffe1 Clean up image titles with HTML entities (made invalid in r28968). Also misc. improvements: fail gracefully if buildSafeTitle() fails, move description page and old image revisions too. 2008-11-21 04:54:47 +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
Huji
db7d75fba7 (bug 12608) (in continuation of r29719) Unifying the spelling of getDBkey() in the code. 2008-01-14 09:26:36 +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
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
c771fc9c96 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
Brion Vibber
57c0726bc5 duh, typo 2006-07-14 06:37:03 +00:00
Brion Vibber
12bb7158e0 duh 2006-07-13 23:53:04 +00:00
Brion Vibber
8c13e04e71 Rename the files as well 2006-07-13 23:23:08 +00:00
Brion Vibber
9dc71928c4 Add script to clean up badly named image records. Doesn't touch files yet 2006-07-13 21:54:13 +00:00