Last modified: 2009-10-10 07:55:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23074, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21074 - Don't call $wgUser->getSkin() on OutputPage::getHeadScripts()
Don't call $wgUser->getSkin() on OutputPage::getHeadScripts()
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.16.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-09 22:26 UTC by Platonides
Modified: 2009-10-10 07:55 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Fix (422 bytes, patch)
2009-10-09 22:27 UTC, Platonides
Details

Description Platonides 2009-10-09 22:26:41 UTC
OutputPage::getHeadScripts() calls $sk = $wgUser->getSkin();, which is unneeded, since the skin is already passed as $sk as parameter.
Comment 1 Platonides 2009-10-09 22:27:16 UTC
Created attachment 6656 [details]
Fix
Comment 2 Alexandre Emsenhuber [IAlex] 2009-10-10 07:55:09 UTC
Fixed in r57608.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links