patch-list.txt

来自「php 开发的内容管理系统」· 文本 代码 · 共 183 行

TXT
183
字号
List of database patches and upgrades as the PediaWiki software evolves...* 2002-11-23: Search index format changed for UTF-8 wikisFor wikis using the UTF-8 languages, the search index entriesneed to be rebuild to allow searching to work. (Other wikisthat have been run through the old phase2->phase3 conversionscript should also be reindexed to catch apostrophe misplacement.)Run rebuildIndex.php on your wiki.* 2002-11-27: Watchlist format changedConverts the user_watchlist entries out to a separate table whichlinks user_id<->cur_id and can be more handily queried.Run upgradeWatchlist.php on your wiki.* 2002-12-14: Recentchanges table bot/hidden columnAdds a column to indicate changes by registered bots (or perhapslater other admin actions) that should be hidden from the defaultRecentchanges list because people think they're tedious, but shouldstill be available in article histories, contribs lists, andpower-user RC lists.Run bot.sql against your database.* 2002-12-17: Watchlist format changed againNow using namespace, title instead of cur_id. This can track deleted/recreated pages better, makes it easier to handle talk pages (now withthe auto-watch feature there's a lot more watching of talk pages!)and whatnot.Run patch-watchlist.sql against your database. If all is well, dropthe oldwatchlist table which is no longer needed. (Note that this updatealso drops the vestigial user_watchlist column.)* 2002-12-26: TeX math rendering adds 'math' tableA new 'math' table is used to cache TeX sections.Run patch-math.sql against your database, and add 'tmp' and 'math'subdirectories to your tree alongside the upload directory, and copythe 'math' source subdirectory under the wiki's PHP directory and run"make" to compile the texvc evaluator. (whew!)TeX support requires TeX, OCaml, and ImageMagick. If you don't wantto use TeX support on your wiki, you can globally disable it bysetting $wgUseTeX=false in LocalSettings.php.* 2003-01-25: searchindex tableA new 'searchindex' table separates the fulltext index fields from'cur'. This enables use of InnoDB tables, which don't support fulltextsearch, for the main data, and will keep junk out of the backup dumps.Run patch-searchindex.sql on the database. If you wish to change tabletables on the others, use 'alter table' manually. (See MySQL docs.)* 2003-01-24: Talk pages for anonymous usersA new table user_newtalk contains a list of talk pages that werechanged, both pages by anonymous and those by non-anonymous users.Run patch-usernewtalk.sql if your database was created beforethis date.* 2003-02-02: Math table changedRerun patch-math.sql to recreate it.* 2003-02-03: Index added to USER table for performance reasons. Runpatch-userindex.sql to create it.* 2003-02-09: Random table & inverse timestampsThe random page queue table has been removed in favor of a columnin the cur table. This eliminates the ssllooww queue refill step;pre-storing random indices in an indexed column means we can do therandom sort instantly; each element is re-randomized upon selection.Also, an inverse_timestamp field has been added to the cur and oldtables. This will allow fast index-based sorting in history lists,user contribs, linked recentchanges, etc with MySQL 3, which doesn'tallow DESC ordering on an indexed field. This may be removed laterwhen MySQL is found to be stable.* 2003-03-22: Last touched fields for caching'Last touched' timestamp fields have been added to the cur and usertables to aid in maintaining cache consistency. Web clients willbe forced to reload a page if it has been touched since the client'scached copy (this will catch indirect changes like creation oflinked pages) or if a user changes preferences or logs in anew (sovisual changes and login status are taken into account).Run patch-cache.sql on the database to set these fields up. This isrequired for changes to OutputPage.php and elsewhere to continueworking on an older database.* 2003-05-23: Index for "Oldest articles""Oldest articles" needs an index on namespace, redirect and timestampto be reasonably fast. (patch-oldestindex.sql)OutputPage.php User.php maintenance/buildTables.inc maintenance/patch-cache.sql maintenance/patch-list.txt* 2003-09: Ipblocks auto-expiry updatepatch-ipblocks.sql* Interwiki URL tableMoves the interwiki prefix<->url mapping table from a static arrayinto the database. If you've got a custom table, be sure to makeyour changes! Run patch-interwiki.sql to create the interwiki table, then theplain interwiki.sql to load up the default set of mappings.* 2003-05-30: File upload license fieldsAdds fields to 'image' table.INCOMPLETE, DO NOT USE* 2003-08-21: Interwiki URL tableMoves the interwiki prefix<->url mapping table from a static arrayinto the database. If you've got a custom table, be sure to makeyour changes!Run patch-interwiki.sql to create the interwiki table, then theplain interwiki.sql to load up the default set of mappings.* 2003-09: Ipblocks auto-expiry updatepatch-ipblocks.sql* Interwiki URL tableMoves the interwiki prefix<->url mapping table from a static arrayinto the database. If you've got a custom table, be sure to makeyour changes! Run patch-interwiki.sql to create the interwiki table, then theplain interwiki.sql to load up the default set of mappings.* 2003-11: IndexesFixes up indexes on links, brokenlinks, recentchanges, watchlist,and archive tables to boost speed.Run patch-indexes.sql.* 2003-11: linkscc table creationpatch-linkscc.sql* 2004-01-25: recentchanges additional indexAdds an index to recentchanges to optimize Special:Newpagespatch-rc-newindex.sql* 2004-02-14: Adds the ipb_expiry field to ipblockspatch-ipb_expiry.sql* 2004-03-11: Recreate links tables to avoid duplicating titleseverywhere. **Rebuild your links after this with refreshLinks.php**patch-linktables.sql* 2004-04: Add user_real_name fieldpatch-user-realname.sql* 2004-05-08: Add querycache table for caching special pages and generic	object cache to cover some slow operations w/o memcached.patch-querycache.sqlpatch-objectcache.sql* 2004-05-14: Add categorylinks table for handling category membershippatch-categorylinks.sql

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?