MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT * FROM `page_restrictions` WHERE pr_page = '14112'
Function: Title::loadRestrictions
Error: 145 Table './owiki_en1/page_restrictions' is marked as crashed and should be repaired (localhost)
' in /home/owiki/www/shared/includes/db/Database.php:847
Stack trace:
#0 /home/owiki/www/shared/includes/db/Database.php(814): DatabaseBase->reportQueryError('Table './owiki_...', 145, 'SELECT * FROM...', 'Title::loadRest...', false)
#1 /home/owiki/www/shared/includes/db/Database.php(1279): DatabaseBase->query('SELECT * FROM...', 'Title::loadRest...')
#2 /home/owiki/www/shared/includes/Title.php(2309): DatabaseBase->select('page_restrictio...', '*', Array, 'Title::loadRest...')
#3 /home/owiki/www/shared/includes/WikiPage.php(379): Title->loadRestrictions('')
#4 /home/owiki/www/shared/includes/WikiPage.php(2169): WikiPage->loadPageData()
#5 /home/owiki/www/shared/includes/Article.php(611): WikiPage->getLatest()
#6 /home/owiki/www/shared/includes/Article.php(387): Article->showDiffPage()
#7 /home/owiki/www/shared/includes/Wiki.php(470): Article->view()
#8 /home/owiki/www/shared/includes/Wiki.php(241): MediaWiki->performAction(Object(Article))
#9 /home/owiki/www/shared/includes/Wiki.php(626): MediaWiki->performRequest()
#10 /home/owiki/www/shared/includes/Wiki.php(533): MediaWiki->main()
#11 /home/owiki/www/en/index.php(57): MediaWiki->run()
#12 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in numRows(): Table './owiki_en1/categorylinks' is marked as crashed and should be repaired (localhost)' in /home/owiki/www/shared/includes/db/DatabaseMysql.php:199
Stack trace:
#0 /home/owiki/www/shared/includes/Title.php(3615): DatabaseMysql->numRows(false)
#1 /home/owiki/www/shared/includes/Title.php(3632): Title->getParentCategories()
#2 /home/owiki/www/shared/includes/Skin.php(533): Title->getParentCategoryTree()
#3 /home/owiki/www/shared/includes/Skin.php(575): Skin->getCategoryLinks()
#4 /home/owiki/www/shared/includes/SkinTemplate.php(263): Skin->getCategories()
#5 /home/owiki/www/shared/includes/OutputPage.php(1856): SkinTemplate->outputPage(Object(OutputPage))
#6 /home/owiki/www/shared/includes/Exception.php(183): OutputPage->output()
#7 /home/owiki/www/shared/includes/Exception.php(209): MWException->reportHTML()
#8 /home/owiki/www/shared/includes/Exception.php(392): MWException->report()
#9 /home/owiki/www/shared/includes/Exception.php(471): MWExceptionHandler::report(Object(DBQueryError))
#10 /home/owiki/www/shared/includes/Wiki.php(536): MWExceptionHandler::handle(Object(DBQueryError))
#11 /home/owiki/www/en/index.php(57): MediaWiki->run()
#12 {main}