MediaWiki internal error.

Original exception: exception 'ErrorPageError' with message 'The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title.
It may contain one or more characters which cannot be used in titles.' in /data/web/mediawiki-1.13.2/includes/Wiki.php:176
Stack trace:
#0 /data/web/mediawiki-1.13.2/includes/Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#1 /data/web/mediawiki-1.13.2/index.php(93): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#2 {main}

Exception caught inside exception handler: exception 'DBConnectionError' with message 'DB connection error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) (localhost)' in /data/web/mediawiki-1.13.2/includes/db/Database.php:461
Stack trace:
#0 /data/web/mediawiki-1.13.2/includes/db/LoadBalancer.php(686): Database->reportConnectionError('Unknown error (...')
#1 /data/web/mediawiki-1.13.2/includes/db/LoadBalancer.php(453): LoadBalancer->reportConnectionError(Object(DatabaseMysql))
#2 /data/web/mediawiki-1.13.2/includes/GlobalFunctions.php(2564): LoadBalancer->getConnection(-1, Array, false)
#3 /data/web/mediawiki-1.13.2/includes/Revision.php(145): wfGetDB(-1)
#4 /data/web/mediawiki-1.13.2/includes/Revision.php(49): Revision::newFromConds(Array)
#5 /data/web/mediawiki-1.13.2/includes/MessageCache.php(651): Revision::newFromTitle(Object(Title))
#6 /data/web/mediawiki-1.13.2/includes/MessageCache.php(543): MessageCache->getMsgFromNamespace('Gadget-Navigati...', 'en')
#7 /data/web/mediawiki-1.13.2/includes/GlobalFunctions.php(467): MessageCache->get('gadget-Navigati...', true, false)
#8 /data/web/mediawiki-1.13.2/includes/GlobalFunctions.php(432): wfMsgGetKey('gadget-Navigati...', true, false, false)
#9 /data/web/extensions/active/Gadgets/Gadgets.php(258): wfMsgReal('gadget-Navigati...', Array, true, false, false)
#10 [internal function]: wfGadgetsInjectMessages()
#11 /data/web/mediawiki-1.13.2/includes/Hooks.php(117): call_user_func_array('wfGadgetsInject...', Array)
#12 /data/web/mediawiki-1.13.2/includes/MessageCache.php(794): wfRunHooks('LoadAllMessages')
#13 /data/web/mediawiki-1.13.2/includes/User.php(2779): MessageCache->loadAllMessages()
#14 /data/web/mediawiki-1.13.2/includes/Title.php(1287): User::getGroupName('user')
#15 /data/web/mediawiki-1.13.2/includes/Title.php(1048): Title->getUserPermissionsErrorsInternal('edit', Object(User), false)
#16 /data/web/mediawiki-1.13.2/includes/Title.php(1020): Title->userCan('edit', false)
#17 /data/web/mediawiki-1.13.2/includes/parser/Parser.php(3421): Title->quickUserCan('edit')
#18 /data/web/mediawiki-1.13.2/includes/parser/Parser.php(994): Parser->formatHeadings('The requested p...', true)
#19 /data/web/mediawiki-1.13.2/includes/parser/Parser.php(321): Parser->internalParse('The requested p...')
#20 /data/web/mediawiki-1.13.2/includes/OutputPage.php(528): Parser->parse('The requested p...', Object(Title), Object(ParserOptions), true, true, NULL)
#21 /data/web/mediawiki-1.13.2/includes/GlobalFunctions.php(614): OutputPage->parse('The requested p...', true, true)
#22 [internal function]: wfMsgExt('badtitletext', 'parse')
#23 /data/web/mediawiki-1.13.2/includes/OutputPage.php(956): call_user_func_array('wfMsgExt', Array)
#24 [internal function]: OutputPage->showErrorPage('badtitle', 'badtitletext')
#25 /data/web/mediawiki-1.13.2/includes/StubObject.php(58): call_user_func_array(Array, Array)
#26 /data/web/mediawiki-1.13.2/includes/StubObject.php(76): StubObject->_call('showErrorPage', Array)
#27 [internal function]: StubObject->__call('showErrorPage', Array)
#28 /data/web/mediawiki-1.13.2/includes/Exception.php(242): StubObject->showErrorPage('badtitle', 'badtitletext')
#29 /data/web/mediawiki-1.13.2/includes/Exception.php(260): ErrorPageError->report()
#30 /data/web/mediawiki-1.13.2/includes/Exception.php(294): wfReportException(Object(ErrorPageError))
#31 [internal function]: wfExceptionHandler(Object(ErrorPageError))
#32 {main}