* Record an image upload in the upload log and the image table
*/
function recordUpload( $oldver, $desc, $copyStatus = '', $source = '' ) {
- global $wgUser, $wgLang, $wgTitle, $wgOut, $wgDeferredUpdateList;
+ global $wgUser, $wgLang, $wgTitle, $wgDeferredUpdateList;
global $wgUseCopyrightUpload, $wgUseSquid, $wgPostCommitUpdateList;
$fname = 'Image::recordUpload';
* Pass a title object, not a title string
*/
function makeLinkObj( $nt, $text= '', $query = '', $trail = '', $prefix = '' ) {
- global $wgOut, $wgUser;
+ global $wgUser;
$fname = 'Linker::makeLinkObj';
wfProfileIn( $fname );
* Pass a title object, not a title string
*/
function makeKnownLinkObj( $nt, $text = '', $query = '', $trail = '', $prefix = '' , $aprops = '' ) {
- global $wgOut, $wgTitle;
+ global $wgTitle;
$fname = 'Linker::makeKnownLinkObj';
wfProfileIn( $fname );
/** @todo document */
function makeExternalImage( $url, $alt = '' ) {
- global $wgOut;
if ( '' == $alt ) {
$alt = $this->fnamePart( $url );
}