Upstream integrated #4740.  Delete that patch.  Modified is unchanged.
Add RTL patch that was added by hand to the gallery3 codebase sometime in the past
Wrap SWF files in some extra PHP that redirects the user to strip
off any #fragment information from the URL.