Last modified: 2014-08-15 20:30:06 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 T39067, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37067 - opensearch_desc.php does not read LocalSettings.php
opensearch_desc.php does not read LocalSettings.php
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.19.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-24 02:27 UTC by choongyouqi
Modified: 2014-08-15 20:30 UTC (History)
2 users (show)

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


Attachments

Description choongyouqi 2012-05-24 02:27:31 UTC
I have a custom $wgFavicon in LocalSettings.php and always can't get it work as wiki keep pojnting to the default {domain}/favicon.ico file.

Then I compared index.php and opensearch_desc.php, found out that opensearch_desc.php may have an old version of "include".


I think line#9 of opensearch_desc.php should change to:

if ( isset( $_SERVER['MW_COMPILED'] ) ) {
	require ( 'phase3/includes/WebStart.php' );
} else {
	require ( dirname( __FILE__ ) . '/includes/WebStart.php' );
}
Comment 1 Andre Klapper 2014-08-15 20:30:06 UTC
I'm not sure what line #9 was when this ticket was created so it's impossible to compare right now. Maybe https://git.wikimedia.org/patch/mediawiki%2Fcore.git/8ffbb077b3f4f2fa3a4a5230df65e5c5ed8f2d6d/opensearch_desc.php has influenced or fixed this, maybe not?

choongyouqi: In any case, if this is still a problem: Please elaborate. Thanks!

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


Navigation
Links