* Made BeforeParserMakeImageLinkObj/BeforeGalleryFindFile let hooks set sha1 parameter
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 23 Mar 2011 03:13:37 +0000 (03:13 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 23 Mar 2011 03:13:37 +0000 (03:13 +0000)
commitd5460bce86a8dc6e2365860df8bed64155d8e486
tree0ec5823d3e15b67b92e1d3f94b7bc6ffd0b516c9
parent12a29249aef154f755d5e1bff625bdeab4a10ea1
* Made BeforeParserMakeImageLinkObj/BeforeGalleryFindFile let hooks set sha1 parameter
* Made FlaggedRevs specify files by sha1,timestamp to handle renames with no redirects. This makes them handled as well as templates in this regard. (bug 27836)
* Moved BeforeGalleryFindFile hook to proper place (don't trigger for non-NS_FILE titles)
* Removed unused mRevisionId field from ImageGallery
* Removed old hotfix from makeMediaLinkObj(); all the current callers would crash beforehand if the title was null anyway
* Updated hook docs (some prior params were missing)
* Broke some long lines and cleaned up some whitespace
* TODO: track file info in core rather than fr_fileSHA1Keys and ugly, duplicated, queries. This should be easy to do now.
docs/hooks.txt
includes/ImageGallery.php
includes/Linker.php
includes/parser/Parser.php