| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Id4beca7b6821139fcc319c5694917e68668835ee
|
|
|
|
|
|
| |
Or $this->msg in special pages.
Change-Id: I774a89d646615053c8424050e42ad95601f92543
|
|
|
|
|
|
|
|
|
| |
* Made wfThumbHandle404() handle full REQUEST_URI urls.
* Made wfExtractThumbParams() handle protocal relative zone urls.
* Added FileRepo::getZoneHandlerUrl() and site zone configuration to simplify wmf rewrite rules.
* Renamed some variables to be less misleading.
Change-Id: Ic3e23c2a623c1241ee22a9811aee073fb07aa68c
|
|
|
|
|
|
| |
Also made file documentation more consistent.
Change-Id: I30e124514396f110a572467b94ca06cefd5f7b46
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added FileRepo::getTempRepo() to get a temporary repo similiar to the one used in wmf1.19 thumb.php.
* Merged and cleaned up wmf1.19 code into thumb.php to handle temp files and thumbnails.
Change 1: prevent FileRepo::getTempRepo() from being called on the result of FileRepo::getTempRepo().
Change 2: made FileRepo::getTempRepo() account for cases when the 'directory' param is not the empty string.
Change 3:
* Tweaked TempFileRepo to override getTempRepo() to enforce restriction.
* Added FileRepo::getTempHashPath() and used in thumb.php to get the correct path.
Change-Id: I2937b5ffb3ec9a7e2741b42bc28dc76833053fcd
|
|
|
|
| |
Change-Id: Ief2721ee6573a5e54a276c91de636d9e1a678b8b
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111240
|
|
|
|
|
|
|
| |
* Added ExtractThumbParameters hook handlers for ogg and tiff handler extensions.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111199
|
|
|
|
|
|
|
| |
with special chars are otherwise broken.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111144
|
|
|
|
|
|
|
| |
but valid file & thumb names.'
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111076
|
|
|
|
|
|
|
| |
relative paths.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/109643
|
|
|
|
|
|
|
| |
for thumb 404 handling
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108937
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108745
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108743
|
|
|
|
|
|
|
| |
for 404 handling as needed.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/107020
|
|
|
|
|
|
|
| |
changes SVN likes to sprinkle in (easy to spot from the change list). Did not add SwiftFileBackend.php as it still is in development.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/106752
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/106010
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/105516
|
|
|
|
|
|
|
|
|
|
|
|
| |
thin wrapper around thumb.php
* Moved original URL fetching code and parameter extraction code to thumb.php
* Made use of local repo URL and hash settings to avoid extra config code
* This makes it easy to add hooks for extensions/config to alter behavoir (ExtractThumbParameters hook added)
* Added FileRepo::getHashLevels()
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/105512
|
|
|
|
|
|
|
|
|
|
| |
* Thumb handler can now also work without cURL
* Combined related config vars into array config vars
* Folded $thgThumb404File into $thgThumbCallbacks
* Avoided some global pollution
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101117
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/100362
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/100192
|
|
|
|
|
|
|
| |
Fix return items
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/99926
|
|
|
|
|
|
|
|
|
| |
extensions use it afaict), leave wfStreamFile() as a b/c alias for now.
Yay less global functions, autoloading and less manual require()s.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/94427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added the ability to compile extensions. The build process is bootstrapped by running MediaWiki in interpreted mode. Extension setup file inclusions are slightly modified in a way that makes them register themselves for compilation. Then the same LocalSettings.php uses the compiled extension setup file when the compiled binary runs.
* Tested with Cite and ParserFunctions. The code which lets you have an extensions directory in a place other than $IP/../extensions is untested.
* Simplified WebStart.php slightly by using a custom $_SERVER variable to mark compiled mode. It will break if you don't use the supplied server.conf, but that will break a lot of things so don't do that.
* Fixed the core web entry points to include WebStart.php in compiled mode instead of interpreted.
* Made the build directory configurable. This is mostly so that I can grep the source tree without seeing loads of generated C++.
* In server.conf, added a rewrite rule allowing a /wiki/$1 article path.
* Removed server.conf log file location "/dev/stdout", breaks when you switch user
* Disable static content cache, breaks horribly when you set SourceRoot to a directory containing 7GB of files.
* Rewrote the run-server script in PHP, mostly to support the configurable build directory feature.
* Added an option to the run-server script to allow running in interpreted (hphpi) mode.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/89166
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/87277
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/81896
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/69505
|
|
|
|
|
|
|
| |
restricted (e.g. using img_auth.php). For backport to 1.15.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/63431
|
|
|
|
|
|
|
|
|
| |
Changed wfLocalFile call into RepoGroup::singleton()->getLocalRepo()->findFile"
This appears to make thumb.php more permissive than it's indended and could lead to littering false-positive thumbnails around the server when used to implement 404 handlers as designed.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/57137
|
|
|
|
|
|
|
| |
RepoGroup::singleton()->getLocalRepo()->findFile
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/56916
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/39268
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/39267
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/39266
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/39263
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/39261
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/39260
|
|
|
|
|
|
|
| |
$wgShowHostnames)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/36486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* Return 404 response code for missing source file and bad title
* Additionally check IMS against the source file timestamp, to allow for more aggressive purging of the server thumbnail directory.
* Refactor
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/30290
|
|
|
|
|
|
|
| |
more generally if the "transformed" output file is in fact the source file.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/25461
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/23992
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
arbitrary defaults when invalid parameters are specified.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/21855
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/21551
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thumbnailing, img_metadata, capabilities, etc.
* Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
* Fixed interaction of page parameter to ImagePage with the HTML file cache
* Improved error reporting for image thumbnailing
* Fixed MIME type for SVG files, will be silently changed from image/svg to image/svg+xml after loading from the database.
* Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump instead.
* Fixed odd behaviour in ImagePage on DjVu thumbnailing errors
* Improved error reporting for image thumbnailing
* Added sharpening option for ImageMagick thumbnailing
* Removed Image::selectPage(), added page parameters to getWidth() and getHeight(), deprecated Image::renderThumb() and Image::getThumbnail()
* Changed default contents of img_metadata to empty string instead of a:0:{}
* Moved responsibility for respecting $wgGenerateThumbnailOnParse from the UI to Image.php
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/21411
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to forestall additional UTF-7-autodetect XSS issues. Probably not an
issue on Apache 2.0+, but most servers send only 'text/html' by default
when the script didn't specify more details.
This fixes an issue with the Ajax interface error message on MSIE when
$wgUseAjax is enabled (not default configuration); this UTF-7 variant
on a previously fixed attack vector was discovered by Moshe BA from BugSec:
http://www.bugsec.com/articles.php?Security=24
* Trackback responses now specify XML content type
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/20007
|
|
|
|
|
|
|
|
|
|
| |
The ob_start() section should preferably be removed from older
LocalSettings.php files.
* Give Content-Length header for HTTP/1.0 clients.
* Partial support for Flash cross-domain-policy filtering. Text entry points should be protected, but uploads are not.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19996
|