Last modified: 2014-11-03 06:31: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 T52473, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50473 - wmfLoadInitialiseSettings
wmfLoadInitialiseSettings
Status: VERIFIED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Unprioritized critical with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-30 19:03 UTC by paladox2015
Modified: 2014-11-03 06:31 UTC (History)
1 user (show)

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


Attachments

Description paladox2015 2013-06-30 19:03:50 UTC
hi please could you re add wmfLoadInitialiseSettings  this in 1.22 in was remove in one of the 1.22 wmf builds but it is used by centralauth and wikimediaicubator extension and it is used by many more extension so please bring it back to 1.22
Comment 1 Sam Reed (reedy) 2013-06-30 19:08:16 UTC
What do you mean? Re-add what where? It wouldn't be in core and it's still in CommonSettings.php

https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php


# Initialise wgConf
wfProfileIn( "$fname-wgConf" );
require( "$wmfConfigDir/wgConf.php" );
function wmfLoadInitialiseSettings( $conf ) {
	global $wmfConfigDir;
	require( "$wmfConfigDir/InitialiseSettings.php" );
}
wfProfileOut( "$fname-wgConf" );



wmfLoadInitialiseSettings isn't anywhere in CentralAuth or the WikimediaIncubator extension
Comment 2 paladox2015 2013-06-30 19:12:59 UTC
this wmfLoadInitialiseSettings it was removed in mediawiki 1.22
Comment 3 paladox2015 2013-06-30 19:16:00 UTC
how can I add wmfLoadInitialiseSettings this to mediawiki because I have localsettings.php but not commonsettings.php
Comment 4 paladox2015 2013-06-30 19:42:46 UTC
it says this error with extension:wikimediaincibator 

Warning: call_user_func() expects parameter 1 to be a valid callback, function 'wmfLoadInitialiseSettings' not found or invalid function name in /home/wikisau/public_html/incubator/includes/SiteConfiguration.php on line 595

and centralauth
Comment 5 Sam Reed (reedy) 2013-06-30 20:23:52 UTC
(In reply to comment #2)
> this wmfLoadInitialiseSettings it was removed in mediawiki 1.22

No it wasn't and it never was.

You're obviously just copying https://noc.wikimedia.org/conf/highlight.php?file=wgConf.php

$wgConf->fullLoadCallback = 'wmfLoadInitialiseSettings';
Comment 6 Andre Klapper 2013-07-01 09:36:12 UTC
paladox2015: Please ask on https://www.mediawiki.org/wiki/Project:Support_desk first, before creating tickets in bugzilla.wikimedia.org . Thanks.
Comment 7 paladox2015 2013-07-01 15:25:28 UTC
Hi I did ask on https://www.mediawiki.org/wiki/Project:Support_desk
Comment 8 paladox2015 2014-02-19 12:21:11 UTC
hi it says it here

$wgConf->wikis = $wgLocalDatabases;
$wgConf->suffixes = array(
        'wiki'
); //We have the same suffix of wiki
//all databases have suffix wiki
$wgConf->suffixes = $wgLocalDatabases;
 
$wgConf->localVHosts = array( 'localhost' ); //your database server. could be example.com or IP address. no http://
 
$wgConf->fullLoadCallback = 'wmfLoadInitialiseSettings';
 
$wgConf->siteParamsCallback = 'efGetSiteParams';
$wgConf->extractAllGlobals( $wgDBname );
Comment 9 paladox2015 2014-11-02 17:26:13 UTC
This can be closed in now works in later version.
Comment 10 Andre Klapper 2014-11-03 06:31:06 UTC
(This ticket was already closed on June 30 hence no need to add such comments.)

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


Navigation
Links