Last modified: 2014-06-17 21:25:33 UTC
Enabling the debug toolbar, I get the following output on "Browse data" with the latest Semantic Drilldown version, running on MediaWiki 1.24alpha. ------------------------------------------------------------------------------- Console: Deprecated Use of wfMsg was deprecated in MediaWiki 1.21. Backtrace: SD_BrowseData.php line 53 calls wfMsg() SpecialPage.php line 379 calls SDBrowseData->execute() SpecialPageFactory.php line 510 calls SpecialPage->run() Wiki.php line 288 calls SpecialPageFactory::executePath() Wiki.php line 603 calls MediaWiki->performRequest() Wiki.php line 452 calls MediaWiki->main() index.php line 46 calls MediaWiki->run() SDBrowseData::execute Deprecated Use of wfMsgReal was deprecated in MediaWiki 1.21. Backtrace: GlobalFunctions.php line 1508 calls wfMsgReal() SD_BrowseData.php line 53 calls wfMsg() SpecialPage.php line 379 calls SDBrowseData->execute() SpecialPageFactory.php line 510 calls SpecialPage->run() Wiki.php line 288 calls SpecialPageFactory::executePath() Wiki.php line 603 calls MediaWiki->performRequest() Wiki.php line 452 calls MediaWiki->main() index.php line 46 calls MediaWiki->run() wfMsg Deprecated Use of wfMsgGetKey was deprecated in MediaWiki 1.21. Backtrace: GlobalFunctions.php line 1606 calls wfMsgGetKey() GlobalFunctions.php line 1508 calls wfMsgReal() SD_BrowseData.php line 53 calls wfMsg() SpecialPage.php line 379 calls SDBrowseData->execute() SpecialPageFactory.php line 510 calls SpecialPage->run() Wiki.php line 288 calls SpecialPageFactory::executePath() Wiki.php line 603 calls MediaWiki->performRequest() Wiki.php line 452 calls MediaWiki->main() index.php line 46 calls MediaWiki->run() wfMsgReal Deprecated Use of wfMsg was deprecated in MediaWiki 1.21. Backtrace: SD_BrowseData.php line 1018 calls wfMsg() QueryPage.php line 547 calls SDBrowseDataPage->getPageHeader() SD_BrowseData.php line 122 calls QueryPage->execute() SpecialPage.php line 379 calls SDBrowseData->execute() SpecialPageFactory.php line 510 calls SpecialPage->run() Wiki.php line 288 calls SpecialPageFactory::executePath() Wiki.php line 603 calls MediaWiki->performRequest() Wiki.php line 452 calls MediaWiki->main() index.php line 46 calls MediaWiki->run() SDBrowseDataPage::getPageHeader Deprecated Use of wfMsg was deprecated in MediaWiki 1.21. Backtrace: SD_BrowseData.php line 399 calls wfMsg() SD_BrowseData.php line 1023 calls SDBrowseDataPage->printCategoriesList() QueryPage.php line 547 calls SDBrowseDataPage->getPageHeader() SD_BrowseData.php line 122 calls QueryPage->execute() SpecialPage.php line 379 calls SDBrowseData->execute() SpecialPageFactory.php line 510 calls SpecialPage->run() Wiki.php line 288 calls SpecialPageFactory::executePath() Wiki.php line 603 calls MediaWiki->performRequest() Wiki.php line 452 calls MediaWiki->main() index.php line 46 calls MediaWiki->run() SDBrowseDataPage::printCategoriesList ------------------------------------------------------------------------------- Debug log: SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity LoadBalancer::getConnection: using server localhost for group BrowseData DatabaseBase::query: Writes done: CREATE TEMPORARY TABLE semantic_drilldown_values ( id INT NOT NULL ) SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity SpecialPage::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity
In hindsight, the previous message probably wasn't so useful. I'm pretty new to the MW and MW extensions code, and it shows. So, sorry about that. I just sent a commit for review that replaces the deprecated wfMsg* calls inside Semantic Drilldown: https://gerrit.wikimedia.org/r/#/c/140159/
The merge removed the warnings.