From a4b52d2fe555a507c376e78ee624898c55968364 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Mon, 15 Jun 2009 20:08:46 -0400 Subject: [PATCH 1/1] MediaWiki 1.5.8 (initial commit) Signed-off-by: Edward Z. Yang --- .cvsignore | 9 + AdminSettings.sample | 31 + COPYING | 340 + FAQ | 1 + HISTORY | 598 ++ INSTALL | 81 + README | 76 + RELEASE-NOTES | 1151 +++ UPGRADE | 236 + config/index.php | 1391 +++ docs/README | 17 + docs/deferred.txt | 19 + docs/design.txt | 128 + docs/export-0.1.xsd | 76 + docs/export-0.2.xsd | 100 + docs/export-0.3.xsd | 154 + docs/export-demo.xml | 115 + docs/globals.txt | 29 + docs/hooks.txt | 369 + docs/html/.cvsignore | 5 + docs/html/README | 4 + docs/language.txt | 24 + docs/linkcache.txt | 31 + docs/memcached.txt | 132 + docs/php-memcached/ChangeLog | 45 + docs/php-memcached/Documentation | 258 + docs/schema.txt | 6 + docs/skin.txt | 48 + docs/title.txt | 72 + docs/user.txt | 63 + extensions/README | 3 + images/.cvsignore | 6 + images/README | 5 + img_auth.php | 56 + includes/.htaccess | 1 + includes/Article.php | 2514 +++++ includes/AuthPlugin.php | 223 + includes/BagOStuff.php | 498 + includes/Block.php | 339 + includes/BlockCache.php | 145 + includes/CacheManager.php | 164 + includes/CategoryPage.php | 332 + includes/ChangesList.php | 550 ++ includes/Credits.php | 187 + includes/Database.php | 1712 ++++ includes/DatabaseFunctions.php | 371 + includes/DatabasePostgreSQL.php | 451 + includes/DateFormatter.php | 293 + includes/DefaultSettings.php | 1675 ++++ includes/Defines.php | 143 + includes/DifferenceEngine.php | 1496 +++ includes/EditPage.php | 1296 +++ includes/Exif.php | 984 ++ includes/ExternalEdit.php | 78 + includes/ExternalStore.php | 44 + includes/ExternalStoreDB.php | 83 + includes/ExternalStoreHttp.php | 23 + includes/Feed.php | 285 + includes/FulltextStoplist.php | 40 + includes/GlobalFunctions.php | 1384 +++ includes/Group.php | 390 + includes/HTMLForm.php | 175 + includes/HistoryBlob.php | 307 + includes/Hooks.php | 126 + includes/HttpFunctions.php | 69 + includes/Image.php | 1814 ++++ includes/ImageGallery.php | 160 + includes/ImagePage.php | 693 ++ includes/LinkCache.php | 457 + includes/Linker.php | 847 ++ includes/LinksUpdate.php | 255 + includes/LoadBalancer.php | 609 ++ includes/LogPage.php | 253 + includes/MagicWord.php | 343 + includes/Math.php | 225 + includes/MemcachedSessions.php | 74 + includes/MessageCache.php | 374 + includes/Metadata.php | 362 + includes/MimeMagic.php | 686 ++ includes/Namespace.php | 130 + includes/ObjectCache.php | 126 + includes/OutputPage.php | 911 ++ includes/PageHistory.php | 543 ++ includes/Parser.php | 3564 +++++++ includes/ParserCache.php | 94 + includes/ParserXML.php | 642 ++ includes/Profiling.php | 340 + includes/ProxyTools.php | 93 + includes/QueryPage.php | 405 + includes/RawPage.php | 139 + includes/RecentChange.php | 452 + includes/Revision.php | 630 ++ includes/Sanitizer.php | 1033 ++ includes/SearchEngine.php | 334 + includes/SearchMySQL.php | 209 + includes/SearchMySQL3.php | 81 + includes/SearchMySQL4.php | 75 + includes/SearchTsearch2.php | 127 + includes/SearchUpdate.php | 116 + includes/Setup.php | 325 + includes/SiteConfiguration.php | 108 + includes/SiteStatsUpdate.php | 83 + includes/Skin.php | 1346 +++ includes/SkinPHPTal.php | 155 + includes/SkinTemplate.php | 1076 +++ includes/SpecialAllmessages.php | 187 + includes/SpecialAllpages.php | 279 + includes/SpecialAncientpages.php | 67 + includes/SpecialBlockip.php | 239 + includes/SpecialBlockme.php | 39 + includes/SpecialBooksources.php | 107 + includes/SpecialBrokenRedirects.php | 91 + includes/SpecialCategories.php | 66 + includes/SpecialConfirmemail.php | 108 + includes/SpecialContributions.php | 391 + includes/SpecialDeadendpages.php | 68 + includes/SpecialDisambiguations.php | 81 + includes/SpecialDoubleRedirects.php | 109 + includes/SpecialEmailuser.php | 162 + includes/SpecialExport.php | 435 + includes/SpecialGroups.php | 275 + includes/SpecialImagelist.php | 136 + includes/SpecialImport.php | 642 ++ includes/SpecialIpblocklist.php | 176 + includes/SpecialListusers.php | 206 + includes/SpecialLockdb.php | 119 + includes/SpecialLog.php | 416 + includes/SpecialLonelypages.php | 63 + includes/SpecialLongpages.php | 41 + includes/SpecialMaintenance.php | 298 + includes/SpecialMostlinked.php | 69 + includes/SpecialMovepage.php | 266 + includes/SpecialNewimages.php | 145 + includes/SpecialNewpages.php | 137 + includes/SpecialPage.php | 434 + includes/SpecialPopularpages.php | 63 + includes/SpecialPreferences.php | 815 ++ includes/SpecialRandompage.php | 60 + includes/SpecialRecentchanges.php | 566 ++ includes/SpecialRecentchangeslinked.php | 136 + includes/SpecialSearch.php | 415 + includes/SpecialShortpages.php | 74 + includes/SpecialSpecialpages.php | 73 + includes/SpecialStatistics.php | 84 + includes/SpecialUncategorizedcategories.php | 39 + includes/SpecialUncategorizedpages.php | 56 + includes/SpecialUndelete.php | 477 + includes/SpecialUnlockdb.php | 106 + includes/SpecialUnusedcategories.php | 52 + includes/SpecialUnusedimages.php | 81 + includes/SpecialUpload.php | 911 ++ includes/SpecialUploadMogile.php | 131 + includes/SpecialUserlogin.php | 539 ++ includes/SpecialUserlogout.php | 28 + includes/SpecialUserrights.php | 178 + includes/SpecialValidate.php | 775 ++ includes/SpecialVersion.php | 147 + includes/SpecialWantedpages.php | 74 + includes/SpecialWatchlist.php | 356 + includes/SpecialWhatlinkshere.php | 127 + includes/SquidUpdate.php | 253 + includes/StreamFile.php | 65 + includes/Title.php | 2127 +++++ includes/UpdateClasses.php | 17 + includes/User.php | 1826 ++++ includes/UserMailer.php | 368 + includes/UserTalkUpdate.php | 117 + includes/Utf8Case.php | 1506 +++ includes/WatchedItem.php | 193 + includes/WebRequest.php | 449 + includes/WikiError.php | 125 + includes/ZhClient.php | 149 + includes/ZhConversion.php | 8457 +++++++++++++++++ includes/killthread.php | 47 + includes/memcached-client.php | 994 ++ includes/mime.info | 76 + includes/mime.types | 117 + includes/normal/.cvsignore | 10 + includes/normal/CleanUpTest.php | 423 + includes/normal/Makefile | 72 + includes/normal/README | 55 + includes/normal/RandomTest.php | 107 + includes/normal/Utf8Test.php | 151 + includes/normal/UtfNormal.php | 791 ++ includes/normal/UtfNormalBench.php | 107 + includes/normal/UtfNormalData.inc | 13 + includes/normal/UtfNormalDataK.inc | 10 + includes/normal/UtfNormalGenerate.php | 235 + includes/normal/UtfNormalTest.php | 249 + includes/normal/UtfNormalUtil.php | 141 + includes/proxy_check.php | 55 + includes/templates/Confirmemail.php | 40 + includes/templates/Userlogin.php | 127 + includes/zhtable/Makefile | 268 + includes/zhtable/README | 16 + includes/zhtable/printutf8.c | 99 + includes/zhtable/simp2trad.manual | 178 + includes/zhtable/toCN.manual | 331 + includes/zhtable/toHK.manual | 211 + includes/zhtable/toSG.manual | 15 + includes/zhtable/toTW.manual | 309 + includes/zhtable/trad2simp.manual | 15 + includes/zhtable/tradphrases.manual | 149 + index.php | 281 + install-utils.inc | 182 + languages/.htaccess | 1 + languages/Language.php | 2903 ++++++ languages/LanguageAf.php | 782 ++ languages/LanguageAr.php | 679 ++ languages/LanguageArc.php | 18 + languages/LanguageAs.php | 34 + languages/LanguageAst.php | 49 + languages/LanguageBe.php | 590 ++ languages/LanguageBg.php | 1247 +++ languages/LanguageBm.php | 16 + languages/LanguageBn.php | 174 + languages/LanguageBo.php | 36 + languages/LanguageCa.php | 867 ++ languages/LanguageConverter.php | 641 ++ languages/LanguageCs.php | 1932 ++++ languages/LanguageCsb.php | 351 + languages/LanguageCy.php | 936 ++ languages/LanguageDa.php | 1599 ++++ languages/LanguageDe.php | 1310 +++ languages/LanguageDv.php | 18 + languages/LanguageDz.php | 36 + languages/LanguageEl.php | 2023 ++++ languages/LanguageEn.php | 16 + languages/LanguageEo.php | 1024 ++ languages/LanguageEs.php | 1090 +++ languages/LanguageEt.php | 1166 +++ languages/LanguageFa.php | 1055 ++ languages/LanguageFi.php | 1527 +++ languages/LanguageFo.php | 162 + languages/LanguageFr.php | 1248 +++ languages/LanguageFur.php | 682 ++ languages/LanguageFy.php | 1022 ++ languages/LanguageGa.php | 2127 +++++ languages/LanguageGem_alsatian.php | 23 + languages/LanguageGu.php | 33 + languages/LanguageHe.php | 780 ++ languages/LanguageHi.php | 190 + languages/LanguageHu.php | 1063 +++ languages/LanguageIa.php | 885 ++ languages/LanguageId.php | 1212 +++ languages/LanguageIs.php | 827 ++ languages/LanguageIt.php | 747 ++ languages/LanguageJa.php | 1926 ++++ languages/LanguageKa.php | 38 + languages/LanguageKm.php | 36 + languages/LanguageKn.php | 387 + languages/LanguageKo.php | 724 ++ languages/LanguageKs.php | 18 + languages/LanguageKu.php | 1650 ++++ languages/LanguageLa.php | 182 + languages/LanguageLi.php | 908 ++ languages/LanguageLo.php | 36 + languages/LanguageLt.php | 418 + languages/LanguageMk.php | 1226 +++ languages/LanguageMl.php | 36 + languages/LanguageMs.php | 860 ++ languages/LanguageNds.php | 1310 +++ languages/LanguageNl.php | 800 ++ languages/LanguageNn.php | 1804 ++++ languages/LanguageNo.php | 994 ++ languages/LanguageNon.php | 14 + languages/LanguageNv.php | 115 + languages/LanguageOc.php | 871 ++ languages/LanguageOr.php | 36 + languages/LanguageOs.php | 268 + languages/LanguagePa.php | 477 + languages/LanguagePl.php | 990 ++ languages/LanguagePs.php | 26 + languages/LanguagePt.php | 899 ++ languages/LanguageRo.php | 1081 +++ languages/LanguageRu.php | 1996 ++++ languages/LanguageSc.php | 728 ++ languages/LanguageSd.php | 18 + languages/LanguageSk.php | 1766 ++++ languages/LanguageSl.php | 831 ++ languages/LanguageSq.php | 989 ++ languages/LanguageSr.php | 1129 +++ languages/LanguageSv.php | 954 ++ languages/LanguageTa.php | 814 ++ languages/LanguageTe.php | 36 + languages/LanguageTh.php | 252 + languages/LanguageTlh.php | 42 + languages/LanguageTr.php | 43 + languages/LanguageTt.php | 168 + languages/LanguageUg.php | 18 + languages/LanguageUk.php | 918 ++ languages/LanguageUr.php | 26 + languages/LanguageUtf8.php | 176 + languages/LanguageVi.php | 15 + languages/LanguageWa.php | 1101 +++ languages/LanguageYi.php | 24 + languages/LanguageZh.php | 103 + languages/LanguageZh_cn.php | 972 ++ languages/LanguageZh_hk.php | 11 + languages/LanguageZh_sg.php | 11 + languages/LanguageZh_tw.php | 940 ++ languages/Names.php | 224 + maintenance/.htaccess | 1 + maintenance/FiveUpgrade.inc | 1213 +++ maintenance/InitialiseMessages.inc | 228 + maintenance/Makefile | 13 + maintenance/README | 10 + maintenance/alltrans.php | 11 + maintenance/apache-ampersand.diff | 53 + maintenance/archives/.htaccess | 1 + maintenance/archives/patch-archive-rev_id.sql | 6 + .../archives/patch-archive-text_id.sql | 14 + maintenance/archives/patch-bot.sql | 11 + maintenance/archives/patch-cache.sql | 41 + maintenance/archives/patch-categorylinks.sql | 39 + .../archives/patch-drop-user_newtalk.sql | 3 + maintenance/archives/patch-drop_img_type.sql | 3 + .../archives/patch-email-authentication.sql | 3 + .../archives/patch-email-notification.sql | 11 + maintenance/archives/patch-hitcounter.sql | 9 + .../archives/patch-image_name_primary.sql | 6 + .../archives/patch-image_name_unique.sql | 6 + maintenance/archives/patch-img_exif.sql | 3 + maintenance/archives/patch-img_media_type.sql | 17 + maintenance/archives/patch-img_metadata.sql | 6 + maintenance/archives/patch-img_width.sql | 18 + maintenance/archives/patch-indexes.sql | 24 + .../archives/patch-interwiki-trans.sql | 2 + maintenance/archives/patch-interwiki.sql | 20 + .../archives/patch-inverse_timestamp.sql | 15 + maintenance/archives/patch-ipb_expiry.sql | 8 + maintenance/archives/patch-ipblocks.sql | 6 + maintenance/archives/patch-linkscc-1.3.sql | 6 + maintenance/archives/patch-linkscc.sql | 12 + maintenance/archives/patch-linktables.sql | 70 + maintenance/archives/patch-list.txt | 182 + maintenance/archives/patch-log_params.sql | 1 + maintenance/archives/patch-logging-title.sql | 6 + maintenance/archives/patch-logging.sql | 37 + maintenance/archives/patch-math.sql | 28 + maintenance/archives/patch-objectcache.sql | 9 + maintenance/archives/patch-oldestindex.sql | 5 + maintenance/archives/patch-page_len.sql | 16 + maintenance/archives/patch-pagelinks.sql | 56 + maintenance/archives/patch-parsercache.sql | 15 + maintenance/archives/patch-profiling.sql | 10 + maintenance/archives/patch-querycache.sql | 16 + .../archives/patch-random-dateindex.sql | 54 + maintenance/archives/patch-rc-newindex.sql | 9 + maintenance/archives/patch-rc-patrol.sql | 9 + maintenance/archives/patch-rc_id.sql | 7 + maintenance/archives/patch-rc_ip.sql | 7 + maintenance/archives/patch-rc_type.sql | 9 + maintenance/archives/patch-rename-group.sql | 10 + .../patch-rename-user_groups-and_rights.sql | 9 + maintenance/archives/patch-restructure.sql | 147 + maintenance/archives/patch-rev_deleted.sql | 11 + maintenance/archives/patch-rev_text_id.sql | 17 + maintenance/archives/patch-searchindex.sql | 40 + .../archives/patch-ss_total_articles.sql | 6 + maintenance/archives/patch-trackbacks.sql | 10 + maintenance/archives/patch-transcache.sql | 7 + maintenance/archives/patch-user-realname.sql | 5 + .../archives/patch-user_email_token.sql | 12 + maintenance/archives/patch-user_groups.sql | 25 + maintenance/archives/patch-user_nameindex.sql | 13 + maintenance/archives/patch-user_rights.sql | 21 + maintenance/archives/patch-user_token.sql | 15 + maintenance/archives/patch-userindex.sql | 1 + .../patch-userlevels-defaultgroups.sql | 30 + .../archives/patch-userlevels-rights.sql | 5 + maintenance/archives/patch-userlevels.sql | 22 + maintenance/archives/patch-usernewtalk.sql | 20 + maintenance/archives/patch-usernewtalk2.sql | 6 + maintenance/archives/patch-val_ip.sql | 4 + maintenance/archives/patch-validate.sql | 13 + maintenance/archives/patch-watchlist.sql | 30 + maintenance/archives/rebuildRecentchanges.inc | 122 + maintenance/archives/upgradeWatchlist.php | 67 + maintenance/attribute.php | 105 + maintenance/benchmarkPurge.php | 65 + maintenance/build-intl-wiki.sql | 31 + maintenance/changeuser.sql | 12 + maintenance/checktrans.php | 30 + maintenance/cleanupCaps.php | 156 + maintenance/cleanupDupes.inc | 131 + maintenance/cleanupDupes.php | 37 + maintenance/clear_interwiki_cache.php | 19 + maintenance/clear_stats.php | 25 + maintenance/commandLine.inc | 202 + maintenance/convertLinks.inc | 219 + maintenance/convertLinks.php | 16 + maintenance/convertUtf8.php | 235 + maintenance/database.sql | 7 + maintenance/delete-idle-wiki-users.pl | 138 + maintenance/deleteOldRevisions.inc | 60 + maintenance/deleteOldRevisions.php | 30 + maintenance/diffLanguage.php | 159 + maintenance/dumpBackup.php | 180 + maintenance/dumpHTML.inc | 387 + maintenance/dumpHTML.php | 99 + maintenance/dumpMessages.php | 19 + maintenance/dumpReplayLog.php | 118 + maintenance/dumpRev.php | 20 + maintenance/duplicatetrans.php | 29 + maintenance/entities2literals.pl | 276 + maintenance/eval.php | 44 + maintenance/fetchInterwiki.pl | 102 + maintenance/importDump.php | 141 + maintenance/importLogs.inc | 144 + maintenance/importLogs.php | 27 + maintenance/importPhase2.php | 370 + maintenance/importUseModWiki.php | 363 + maintenance/initStats.php | 26 + maintenance/interwiki.sql | 179 + maintenance/liveCmdLine.inc | 57 + maintenance/mcc.php | 86 + maintenance/mwdocgen.php | 166 + maintenance/mysql5/tables.sql | 862 ++ maintenance/namespace2sql.php | 14 + maintenance/namespaceDupes.php | 167 + maintenance/nukePage.inc | 80 + maintenance/nukePage.php | 30 + maintenance/orphans.php | 207 + maintenance/ourusers.php | 89 + maintenance/parserTests.inc | 713 ++ maintenance/parserTests.php | 57 + maintenance/parserTests.txt | 2684 ++++++ maintenance/portal.php | 117 + maintenance/purgeOldText.inc | 63 + maintenance/purgeOldText.php | 30 + maintenance/rebuildImages.php | 275 + maintenance/rebuildInterwiki.inc | 234 + maintenance/rebuildInterwiki.php | 31 + maintenance/rebuildMessages.php | 66 + maintenance/rebuildall.php | 39 + maintenance/rebuildrecentchanges.inc | 95 + maintenance/rebuildrecentchanges.php | 25 + maintenance/rebuildtextindex.inc | 67 + maintenance/rebuildtextindex.php | 25 + maintenance/redundanttrans.php | 28 + maintenance/refreshLinks.inc | 157 + maintenance/refreshLinks.php | 26 + maintenance/removeUnusedAccounts.php | 60 + maintenance/stats.php | 24 + maintenance/storage/blobs.sql | 8 + maintenance/storage/compressOld.inc | 246 + maintenance/storage/compressOld.php | 81 + maintenance/storage/dumpRev.php | 14 + maintenance/storage/moveToExternal.php | 80 + maintenance/storage/resolveStubs.php | 108 + maintenance/tables.sql | 850 ++ maintenance/transstat.php | 93 + maintenance/trivialCmdLine.php | 21 + maintenance/update.php | 35 + maintenance/updateSearchIndex.inc | 104 + maintenance/updateSearchIndex.php | 57 + maintenance/updateSpecialPages.php | 89 + maintenance/updaters.inc | 701 ++ maintenance/upgrade1_5.php | 24 + maintenance/userDupes.inc | 328 + maintenance/userDupes.php | 41 + maintenance/userFunctions.inc | 91 + maintenance/users.sql | 12 + maintenance/wikipedia-interwiki.sql | 220 + maintenance/wiktionary-interwiki.sql | 160 + math/.cvsignore | 7 + math/.htaccess | 1 + math/Makefile | 64 + math/README | 107 + math/TODO | 3 + math/html.ml | 119 + math/html.mli | 5 + math/lexer.mll | 93 + math/mathml.ml | 20 + math/mathml.mli | 1 + math/parser.mly | 103 + math/render.ml | 33 + math/render_info.mli | 20 + math/tex.mli | 19 + math/texutil.ml | 472 + math/texutil.mli | 11 + math/texvc.ml | 34 + math/texvc_cgi.ml | 62 + math/texvc_test.ml | 25 + math/texvc_tex.ml | 3 + math/util.ml | 17 + profileinfo.php | 244 + redirect.php | 19 + redirect.phtml | 4 + skins/Chick.php | 30 + skins/CologneBlue.php | 318 + skins/MonoBook.php | 225 + skins/MySkin.php | 30 + skins/Nostalgia.php | 98 + skins/Simple.php | 70 + skins/Skin.sample | 19 + skins/SkinPHPTal.sample | 28 + skins/Standard.php | 291 + skins/chick/IE50Fixes.css | 67 + skins/chick/IE55Fixes.css | 81 + skins/chick/IE60Fixes.css | 79 + skins/chick/main.css | 478 + skins/common/IEFixes.js | 126 + skins/common/cologneblue.css | 97 + skins/common/common.css | 375 + skins/common/commonPrint.css | 277 + skins/common/common_rtl.css | 15 + skins/common/feed.css | 92 + skins/common/images/Arr_.png | Bin 0 -> 918 bytes skins/common/images/Arr_d.png | Bin 0 -> 215 bytes skins/common/images/Arr_l.png | Bin 0 -> 263 bytes skins/common/images/Arr_r.png | Bin 0 -> 210 bytes skins/common/images/Arr_r.xcf | Bin 0 -> 1437 bytes skins/common/images/Zoom_sans.gif | Bin 0 -> 901 bytes skins/common/images/bullet.gif | Bin 0 -> 50 bytes skins/common/images/button_bold.png | Bin 0 -> 978 bytes skins/common/images/button_extlink.png | Bin 0 -> 1093 bytes skins/common/images/button_headline.png | Bin 0 -> 497 bytes skins/common/images/button_hr.png | Bin 0 -> 372 bytes skins/common/images/button_image.png | Bin 0 -> 1110 bytes skins/common/images/button_italic.png | Bin 0 -> 975 bytes skins/common/images/button_link.png | Bin 0 -> 434 bytes skins/common/images/button_math.png | Bin 0 -> 730 bytes skins/common/images/button_media.png | Bin 0 -> 1155 bytes skins/common/images/button_nowiki.png | Bin 0 -> 375 bytes skins/common/images/button_sig.png | Bin 0 -> 1217 bytes skins/common/images/button_template.png | Bin 0 -> 362 bytes skins/common/images/fileicon.xcf | Bin 0 -> 26160 bytes skins/common/images/gnu-fdl.png | Bin 0 -> 1748 bytes skins/common/images/gnu-fdl.xcf | Bin 0 -> 5578 bytes skins/common/images/icons/COPYING | 43 + skins/common/images/icons/fileicon-c.png | Bin 0 -> 2995 bytes skins/common/images/icons/fileicon-cpp.png | Bin 0 -> 2250 bytes skins/common/images/icons/fileicon-deb.png | Bin 0 -> 5528 bytes skins/common/images/icons/fileicon-dvi.png | Bin 0 -> 13042 bytes skins/common/images/icons/fileicon-exe.png | Bin 0 -> 5864 bytes skins/common/images/icons/fileicon-h.png | Bin 0 -> 1195 bytes skins/common/images/icons/fileicon-html.png | Bin 0 -> 7601 bytes skins/common/images/icons/fileicon-iso.png | Bin 0 -> 6673 bytes skins/common/images/icons/fileicon-java.png | Bin 0 -> 6825 bytes skins/common/images/icons/fileicon-mid.png | Bin 0 -> 7191 bytes skins/common/images/icons/fileicon-mov.png | Bin 0 -> 7946 bytes skins/common/images/icons/fileicon-o.png | Bin 0 -> 2893 bytes skins/common/images/icons/fileicon-ogg.png | Bin 0 -> 6143 bytes skins/common/images/icons/fileicon-ogg.xcf | Bin 0 -> 40236 bytes skins/common/images/icons/fileicon-pdf.png | Bin 0 -> 5138 bytes skins/common/images/icons/fileicon-ps.png | Bin 0 -> 3293 bytes skins/common/images/icons/fileicon-rm.png | Bin 0 -> 4977 bytes skins/common/images/icons/fileicon-rpm.png | Bin 0 -> 4753 bytes skins/common/images/icons/fileicon-svg.png | Bin 0 -> 5193 bytes skins/common/images/icons/fileicon-tar.png | Bin 0 -> 6544 bytes skins/common/images/icons/fileicon-tex.png | Bin 0 -> 4203 bytes skins/common/images/icons/fileicon-ttf.png | Bin 0 -> 3625 bytes skins/common/images/icons/fileicon-txt.png | Bin 0 -> 6801 bytes skins/common/images/icons/fileicon.png | Bin 0 -> 1121 bytes skins/common/images/link_icon.gif | Bin 0 -> 942 bytes skins/common/images/magnify-clip.png | Bin 0 -> 267 bytes skins/common/images/magnify-clip.png.old | Bin 0 -> 341 bytes skins/common/images/mediawiki-small.xcf | Bin 0 -> 36011 bytes skins/common/images/mediawiki.png | Bin 0 -> 23064 bytes .../images/poweredby_mediawiki_88x31.png | Bin 0 -> 1933 bytes skins/common/images/redirect.png | Bin 0 -> 413 bytes skins/common/images/wiki.png | Bin 0 -> 24954 bytes skins/common/nostalgia.css | 18 + skins/common/preview.js | 45 + skins/common/quickbar-right.css | 1 + skins/common/quickbar.css | 1 + skins/common/sticky.js | 124 + skins/common/wikibits.js | 497 + skins/common/wikiprintable.css | 46 + skins/common/wikistandard.css | 44 + skins/disabled/Amethyst.php | 39 + skins/disabled/Amethyst.pt | 151 + skins/disabled/Chick.php | 34 + skins/disabled/Chick.pt | 100 + skins/disabled/HTMLDump.php | 211 + skins/disabled/MonoBook.pt | 142 + skins/disabled/MonoBookTal.php | 44 + skins/disabled/WikimediaWiki.php | 94 + skins/disabled/WikimediaWiki.pt | 165 + skins/monobook/IE50Fixes.css | 67 + skins/monobook/IE55Fixes.css | 81 + skins/monobook/IE60Fixes.css | 79 + skins/monobook/IEMacFixes.css | 44 + skins/monobook/KHTMLFixes.css | 3 + skins/monobook/Opera6Fixes.css | 14 + skins/monobook/Opera7Fixes.css | 11 + skins/monobook/bullet.gif | Bin 0 -> 50 bytes skins/monobook/discussionitem_icon.gif | Bin 0 -> 949 bytes skins/monobook/external.png | Bin 0 -> 165 bytes skins/monobook/file_icon.gif | Bin 0 -> 921 bytes skins/monobook/headbg.jpg | Bin 0 -> 7881 bytes skins/monobook/link_icon.gif | Bin 0 -> 942 bytes skins/monobook/lock_icon.gif | Bin 0 -> 918 bytes skins/monobook/magnify-clip.png | Bin 0 -> 237 bytes skins/monobook/mail_icon.gif | Bin 0 -> 918 bytes skins/monobook/main.css | 1209 +++ skins/monobook/news_icon.png | Bin 0 -> 297 bytes skins/monobook/required.gif | Bin 0 -> 47 bytes skins/monobook/rtl.css | 215 + skins/monobook/user.gif | Bin 0 -> 932 bytes skins/monobook/wiki-indexed.png | Bin 0 -> 8205 bytes skins/monobook/wiki.png | Bin 0 -> 23064 bytes skins/myskin/main.css | 1 + skins/simple/discussionitem_icon.gif | Bin 0 -> 949 bytes skins/simple/external.png | Bin 0 -> 165 bytes skins/simple/file_icon.gif | Bin 0 -> 921 bytes skins/simple/link_icon.gif | Bin 0 -> 942 bytes skins/simple/lock_icon.gif | Bin 0 -> 918 bytes skins/simple/mail_icon.gif | Bin 0 -> 918 bytes skins/simple/main.css | 397 + tests/.cvsignore | 6 + tests/.htaccess | 1 + tests/ArticleTest.php | 150 + tests/DatabaseTest.php | 93 + tests/GlobalTest.php | 185 + tests/LocalTestSettings.sample | 29 + tests/Makefile | 6 + tests/README | 8 + tests/RunTests.php | 96 + tests/SanitizerTest.php | 65 + tests/SearchEngineTest.php | 134 + tests/SearchMySQL3Test.php | 34 + tests/SearchMySQL4Test.php | 34 + thumb.php | 79 + trackback.php | 75 + wiki.phtml | 4 + 628 files changed, 168015 insertions(+) create mode 100644 .cvsignore create mode 100644 AdminSettings.sample create mode 100644 COPYING create mode 100644 FAQ create mode 100644 HISTORY create mode 100644 INSTALL create mode 100644 README create mode 100644 RELEASE-NOTES create mode 100644 UPGRADE create mode 100644 config/index.php create mode 100644 docs/README create mode 100644 docs/deferred.txt create mode 100644 docs/design.txt create mode 100644 docs/export-0.1.xsd create mode 100644 docs/export-0.2.xsd create mode 100644 docs/export-0.3.xsd create mode 100644 docs/export-demo.xml create mode 100644 docs/globals.txt create mode 100644 docs/hooks.txt create mode 100644 docs/html/.cvsignore create mode 100644 docs/html/README create mode 100644 docs/language.txt create mode 100644 docs/linkcache.txt create mode 100644 docs/memcached.txt create mode 100644 docs/php-memcached/ChangeLog create mode 100644 docs/php-memcached/Documentation create mode 100644 docs/schema.txt create mode 100644 docs/skin.txt create mode 100644 docs/title.txt create mode 100644 docs/user.txt create mode 100644 extensions/README create mode 100644 images/.cvsignore create mode 100644 images/README create mode 100644 img_auth.php create mode 100644 includes/.htaccess create mode 100644 includes/Article.php create mode 100644 includes/AuthPlugin.php create mode 100644 includes/BagOStuff.php create mode 100644 includes/Block.php create mode 100644 includes/BlockCache.php create mode 100644 includes/CacheManager.php create mode 100644 includes/CategoryPage.php create mode 100644 includes/ChangesList.php create mode 100644 includes/Credits.php create mode 100644 includes/Database.php create mode 100644 includes/DatabaseFunctions.php create mode 100644 includes/DatabasePostgreSQL.php create mode 100644 includes/DateFormatter.php create mode 100644 includes/DefaultSettings.php create mode 100644 includes/Defines.php create mode 100644 includes/DifferenceEngine.php create mode 100644 includes/EditPage.php create mode 100644 includes/Exif.php create mode 100644 includes/ExternalEdit.php create mode 100644 includes/ExternalStore.php create mode 100644 includes/ExternalStoreDB.php create mode 100644 includes/ExternalStoreHttp.php create mode 100644 includes/Feed.php create mode 100644 includes/FulltextStoplist.php create mode 100644 includes/GlobalFunctions.php create mode 100644 includes/Group.php create mode 100644 includes/HTMLForm.php create mode 100644 includes/HistoryBlob.php create mode 100644 includes/Hooks.php create mode 100644 includes/HttpFunctions.php create mode 100644 includes/Image.php create mode 100644 includes/ImageGallery.php create mode 100644 includes/ImagePage.php create mode 100644 includes/LinkCache.php create mode 100644 includes/Linker.php create mode 100644 includes/LinksUpdate.php create mode 100644 includes/LoadBalancer.php create mode 100644 includes/LogPage.php create mode 100644 includes/MagicWord.php create mode 100644 includes/Math.php create mode 100644 includes/MemcachedSessions.php create mode 100644 includes/MessageCache.php create mode 100644 includes/Metadata.php create mode 100644 includes/MimeMagic.php create mode 100644 includes/Namespace.php create mode 100644 includes/ObjectCache.php create mode 100644 includes/OutputPage.php create mode 100644 includes/PageHistory.php create mode 100644 includes/Parser.php create mode 100644 includes/ParserCache.php create mode 100644 includes/ParserXML.php create mode 100644 includes/Profiling.php create mode 100644 includes/ProxyTools.php create mode 100644 includes/QueryPage.php create mode 100644 includes/RawPage.php create mode 100644 includes/RecentChange.php create mode 100644 includes/Revision.php create mode 100644 includes/Sanitizer.php create mode 100644 includes/SearchEngine.php create mode 100644 includes/SearchMySQL.php create mode 100644 includes/SearchMySQL3.php create mode 100644 includes/SearchMySQL4.php create mode 100644 includes/SearchTsearch2.php create mode 100644 includes/SearchUpdate.php create mode 100644 includes/Setup.php create mode 100644 includes/SiteConfiguration.php create mode 100644 includes/SiteStatsUpdate.php create mode 100644 includes/Skin.php create mode 100644 includes/SkinPHPTal.php create mode 100644 includes/SkinTemplate.php create mode 100644 includes/SpecialAllmessages.php create mode 100644 includes/SpecialAllpages.php create mode 100644 includes/SpecialAncientpages.php create mode 100644 includes/SpecialBlockip.php create mode 100644 includes/SpecialBlockme.php create mode 100644 includes/SpecialBooksources.php create mode 100644 includes/SpecialBrokenRedirects.php create mode 100644 includes/SpecialCategories.php create mode 100644 includes/SpecialConfirmemail.php create mode 100644 includes/SpecialContributions.php create mode 100644 includes/SpecialDeadendpages.php create mode 100644 includes/SpecialDisambiguations.php create mode 100644 includes/SpecialDoubleRedirects.php create mode 100644 includes/SpecialEmailuser.php create mode 100644 includes/SpecialExport.php create mode 100644 includes/SpecialGroups.php create mode 100644 includes/SpecialImagelist.php create mode 100644 includes/SpecialImport.php create mode 100644 includes/SpecialIpblocklist.php create mode 100644 includes/SpecialListusers.php create mode 100644 includes/SpecialLockdb.php create mode 100644 includes/SpecialLog.php create mode 100644 includes/SpecialLonelypages.php create mode 100644 includes/SpecialLongpages.php create mode 100644 includes/SpecialMaintenance.php create mode 100644 includes/SpecialMostlinked.php create mode 100644 includes/SpecialMovepage.php create mode 100644 includes/SpecialNewimages.php create mode 100644 includes/SpecialNewpages.php create mode 100644 includes/SpecialPage.php create mode 100644 includes/SpecialPopularpages.php create mode 100644 includes/SpecialPreferences.php create mode 100644 includes/SpecialRandompage.php create mode 100644 includes/SpecialRecentchanges.php create mode 100644 includes/SpecialRecentchangeslinked.php create mode 100644 includes/SpecialSearch.php create mode 100644 includes/SpecialShortpages.php create mode 100644 includes/SpecialSpecialpages.php create mode 100644 includes/SpecialStatistics.php create mode 100644 includes/SpecialUncategorizedcategories.php create mode 100644 includes/SpecialUncategorizedpages.php create mode 100644 includes/SpecialUndelete.php create mode 100644 includes/SpecialUnlockdb.php create mode 100644 includes/SpecialUnusedcategories.php create mode 100644 includes/SpecialUnusedimages.php create mode 100644 includes/SpecialUpload.php create mode 100644 includes/SpecialUploadMogile.php create mode 100644 includes/SpecialUserlogin.php create mode 100644 includes/SpecialUserlogout.php create mode 100644 includes/SpecialUserrights.php create mode 100644 includes/SpecialValidate.php create mode 100644 includes/SpecialVersion.php create mode 100644 includes/SpecialWantedpages.php create mode 100644 includes/SpecialWatchlist.php create mode 100644 includes/SpecialWhatlinkshere.php create mode 100644 includes/SquidUpdate.php create mode 100644 includes/StreamFile.php create mode 100644 includes/Title.php create mode 100644 includes/UpdateClasses.php create mode 100644 includes/User.php create mode 100644 includes/UserMailer.php create mode 100644 includes/UserTalkUpdate.php create mode 100644 includes/Utf8Case.php create mode 100644 includes/WatchedItem.php create mode 100644 includes/WebRequest.php create mode 100644 includes/WikiError.php create mode 100644 includes/ZhClient.php create mode 100644 includes/ZhConversion.php create mode 100644 includes/killthread.php create mode 100644 includes/memcached-client.php create mode 100644 includes/mime.info create mode 100644 includes/mime.types create mode 100644 includes/normal/.cvsignore create mode 100644 includes/normal/CleanUpTest.php create mode 100644 includes/normal/Makefile create mode 100644 includes/normal/README create mode 100644 includes/normal/RandomTest.php create mode 100644 includes/normal/Utf8Test.php create mode 100644 includes/normal/UtfNormal.php create mode 100644 includes/normal/UtfNormalBench.php create mode 100644 includes/normal/UtfNormalData.inc create mode 100644 includes/normal/UtfNormalDataK.inc create mode 100644 includes/normal/UtfNormalGenerate.php create mode 100644 includes/normal/UtfNormalTest.php create mode 100644 includes/normal/UtfNormalUtil.php create mode 100644 includes/proxy_check.php create mode 100644 includes/templates/Confirmemail.php create mode 100644 includes/templates/Userlogin.php create mode 100644 includes/zhtable/Makefile create mode 100644 includes/zhtable/README create mode 100644 includes/zhtable/printutf8.c create mode 100644 includes/zhtable/simp2trad.manual create mode 100644 includes/zhtable/toCN.manual create mode 100644 includes/zhtable/toHK.manual create mode 100644 includes/zhtable/toSG.manual create mode 100644 includes/zhtable/toTW.manual create mode 100644 includes/zhtable/trad2simp.manual create mode 100644 includes/zhtable/tradphrases.manual create mode 100644 index.php create mode 100644 install-utils.inc create mode 100644 languages/.htaccess create mode 100644 languages/Language.php create mode 100644 languages/LanguageAf.php create mode 100644 languages/LanguageAr.php create mode 100644 languages/LanguageArc.php create mode 100644 languages/LanguageAs.php create mode 100644 languages/LanguageAst.php create mode 100644 languages/LanguageBe.php create mode 100644 languages/LanguageBg.php create mode 100644 languages/LanguageBm.php create mode 100644 languages/LanguageBn.php create mode 100644 languages/LanguageBo.php create mode 100644 languages/LanguageCa.php create mode 100644 languages/LanguageConverter.php create mode 100644 languages/LanguageCs.php create mode 100644 languages/LanguageCsb.php create mode 100644 languages/LanguageCy.php create mode 100644 languages/LanguageDa.php create mode 100644 languages/LanguageDe.php create mode 100644 languages/LanguageDv.php create mode 100644 languages/LanguageDz.php create mode 100644 languages/LanguageEl.php create mode 100644 languages/LanguageEn.php create mode 100644 languages/LanguageEo.php create mode 100644 languages/LanguageEs.php create mode 100644 languages/LanguageEt.php create mode 100644 languages/LanguageFa.php create mode 100644 languages/LanguageFi.php create mode 100644 languages/LanguageFo.php create mode 100644 languages/LanguageFr.php create mode 100644 languages/LanguageFur.php create mode 100644 languages/LanguageFy.php create mode 100644 languages/LanguageGa.php create mode 100644 languages/LanguageGem_alsatian.php create mode 100644 languages/LanguageGu.php create mode 100644 languages/LanguageHe.php create mode 100644 languages/LanguageHi.php create mode 100644 languages/LanguageHu.php create mode 100644 languages/LanguageIa.php create mode 100644 languages/LanguageId.php create mode 100644 languages/LanguageIs.php create mode 100644 languages/LanguageIt.php create mode 100644 languages/LanguageJa.php create mode 100644 languages/LanguageKa.php create mode 100644 languages/LanguageKm.php create mode 100644 languages/LanguageKn.php create mode 100644 languages/LanguageKo.php create mode 100644 languages/LanguageKs.php create mode 100644 languages/LanguageKu.php create mode 100644 languages/LanguageLa.php create mode 100644 languages/LanguageLi.php create mode 100644 languages/LanguageLo.php create mode 100644 languages/LanguageLt.php create mode 100644 languages/LanguageMk.php create mode 100644 languages/LanguageMl.php create mode 100644 languages/LanguageMs.php create mode 100644 languages/LanguageNds.php create mode 100644 languages/LanguageNl.php create mode 100644 languages/LanguageNn.php create mode 100644 languages/LanguageNo.php create mode 100644 languages/LanguageNon.php create mode 100644 languages/LanguageNv.php create mode 100644 languages/LanguageOc.php create mode 100644 languages/LanguageOr.php create mode 100644 languages/LanguageOs.php create mode 100644 languages/LanguagePa.php create mode 100644 languages/LanguagePl.php create mode 100644 languages/LanguagePs.php create mode 100644 languages/LanguagePt.php create mode 100644 languages/LanguageRo.php create mode 100644 languages/LanguageRu.php create mode 100644 languages/LanguageSc.php create mode 100644 languages/LanguageSd.php create mode 100644 languages/LanguageSk.php create mode 100644 languages/LanguageSl.php create mode 100644 languages/LanguageSq.php create mode 100644 languages/LanguageSr.php create mode 100644 languages/LanguageSv.php create mode 100644 languages/LanguageTa.php create mode 100644 languages/LanguageTe.php create mode 100644 languages/LanguageTh.php create mode 100644 languages/LanguageTlh.php create mode 100644 languages/LanguageTr.php create mode 100644 languages/LanguageTt.php create mode 100644 languages/LanguageUg.php create mode 100644 languages/LanguageUk.php create mode 100644 languages/LanguageUr.php create mode 100644 languages/LanguageUtf8.php create mode 100644 languages/LanguageVi.php create mode 100644 languages/LanguageWa.php create mode 100644 languages/LanguageYi.php create mode 100644 languages/LanguageZh.php create mode 100644 languages/LanguageZh_cn.php create mode 100644 languages/LanguageZh_hk.php create mode 100644 languages/LanguageZh_sg.php create mode 100644 languages/LanguageZh_tw.php create mode 100644 languages/Names.php create mode 100644 maintenance/.htaccess create mode 100644 maintenance/FiveUpgrade.inc create mode 100644 maintenance/InitialiseMessages.inc create mode 100644 maintenance/Makefile create mode 100644 maintenance/README create mode 100644 maintenance/alltrans.php create mode 100644 maintenance/apache-ampersand.diff create mode 100644 maintenance/archives/.htaccess create mode 100644 maintenance/archives/patch-archive-rev_id.sql create mode 100644 maintenance/archives/patch-archive-text_id.sql create mode 100644 maintenance/archives/patch-bot.sql create mode 100644 maintenance/archives/patch-cache.sql create mode 100644 maintenance/archives/patch-categorylinks.sql create mode 100644 maintenance/archives/patch-drop-user_newtalk.sql create mode 100644 maintenance/archives/patch-drop_img_type.sql create mode 100644 maintenance/archives/patch-email-authentication.sql create mode 100644 maintenance/archives/patch-email-notification.sql create mode 100644 maintenance/archives/patch-hitcounter.sql create mode 100644 maintenance/archives/patch-image_name_primary.sql create mode 100644 maintenance/archives/patch-image_name_unique.sql create mode 100644 maintenance/archives/patch-img_exif.sql create mode 100644 maintenance/archives/patch-img_media_type.sql create mode 100644 maintenance/archives/patch-img_metadata.sql create mode 100644 maintenance/archives/patch-img_width.sql create mode 100644 maintenance/archives/patch-indexes.sql create mode 100644 maintenance/archives/patch-interwiki-trans.sql create mode 100644 maintenance/archives/patch-interwiki.sql create mode 100644 maintenance/archives/patch-inverse_timestamp.sql create mode 100644 maintenance/archives/patch-ipb_expiry.sql create mode 100644 maintenance/archives/patch-ipblocks.sql create mode 100644 maintenance/archives/patch-linkscc-1.3.sql create mode 100644 maintenance/archives/patch-linkscc.sql create mode 100644 maintenance/archives/patch-linktables.sql create mode 100644 maintenance/archives/patch-list.txt create mode 100644 maintenance/archives/patch-log_params.sql create mode 100644 maintenance/archives/patch-logging-title.sql create mode 100644 maintenance/archives/patch-logging.sql create mode 100644 maintenance/archives/patch-math.sql create mode 100644 maintenance/archives/patch-objectcache.sql create mode 100644 maintenance/archives/patch-oldestindex.sql create mode 100644 maintenance/archives/patch-page_len.sql create mode 100644 maintenance/archives/patch-pagelinks.sql create mode 100644 maintenance/archives/patch-parsercache.sql create mode 100644 maintenance/archives/patch-profiling.sql create mode 100644 maintenance/archives/patch-querycache.sql create mode 100644 maintenance/archives/patch-random-dateindex.sql create mode 100644 maintenance/archives/patch-rc-newindex.sql create mode 100644 maintenance/archives/patch-rc-patrol.sql create mode 100644 maintenance/archives/patch-rc_id.sql create mode 100644 maintenance/archives/patch-rc_ip.sql create mode 100644 maintenance/archives/patch-rc_type.sql create mode 100644 maintenance/archives/patch-rename-group.sql create mode 100644 maintenance/archives/patch-rename-user_groups-and_rights.sql create mode 100644 maintenance/archives/patch-restructure.sql create mode 100644 maintenance/archives/patch-rev_deleted.sql create mode 100644 maintenance/archives/patch-rev_text_id.sql create mode 100644 maintenance/archives/patch-searchindex.sql create mode 100644 maintenance/archives/patch-ss_total_articles.sql create mode 100644 maintenance/archives/patch-trackbacks.sql create mode 100644 maintenance/archives/patch-transcache.sql create mode 100644 maintenance/archives/patch-user-realname.sql create mode 100644 maintenance/archives/patch-user_email_token.sql create mode 100644 maintenance/archives/patch-user_groups.sql create mode 100644 maintenance/archives/patch-user_nameindex.sql create mode 100644 maintenance/archives/patch-user_rights.sql create mode 100644 maintenance/archives/patch-user_token.sql create mode 100644 maintenance/archives/patch-userindex.sql create mode 100644 maintenance/archives/patch-userlevels-defaultgroups.sql create mode 100644 maintenance/archives/patch-userlevels-rights.sql create mode 100644 maintenance/archives/patch-userlevels.sql create mode 100644 maintenance/archives/patch-usernewtalk.sql create mode 100644 maintenance/archives/patch-usernewtalk2.sql create mode 100644 maintenance/archives/patch-val_ip.sql create mode 100644 maintenance/archives/patch-validate.sql create mode 100644 maintenance/archives/patch-watchlist.sql create mode 100644 maintenance/archives/rebuildRecentchanges.inc create mode 100644 maintenance/archives/upgradeWatchlist.php create mode 100644 maintenance/attribute.php create mode 100644 maintenance/benchmarkPurge.php create mode 100644 maintenance/build-intl-wiki.sql create mode 100644 maintenance/changeuser.sql create mode 100644 maintenance/checktrans.php create mode 100644 maintenance/cleanupCaps.php create mode 100644 maintenance/cleanupDupes.inc create mode 100644 maintenance/cleanupDupes.php create mode 100644 maintenance/clear_interwiki_cache.php create mode 100644 maintenance/clear_stats.php create mode 100644 maintenance/commandLine.inc create mode 100644 maintenance/convertLinks.inc create mode 100644 maintenance/convertLinks.php create mode 100644 maintenance/convertUtf8.php create mode 100644 maintenance/database.sql create mode 100644 maintenance/delete-idle-wiki-users.pl create mode 100644 maintenance/deleteOldRevisions.inc create mode 100644 maintenance/deleteOldRevisions.php create mode 100644 maintenance/diffLanguage.php create mode 100644 maintenance/dumpBackup.php create mode 100644 maintenance/dumpHTML.inc create mode 100644 maintenance/dumpHTML.php create mode 100644 maintenance/dumpMessages.php create mode 100644 maintenance/dumpReplayLog.php create mode 100644 maintenance/dumpRev.php create mode 100644 maintenance/duplicatetrans.php create mode 100644 maintenance/entities2literals.pl create mode 100644 maintenance/eval.php create mode 100644 maintenance/fetchInterwiki.pl create mode 100644 maintenance/importDump.php create mode 100644 maintenance/importLogs.inc create mode 100644 maintenance/importLogs.php create mode 100644 maintenance/importPhase2.php create mode 100644 maintenance/importUseModWiki.php create mode 100644 maintenance/initStats.php create mode 100644 maintenance/interwiki.sql create mode 100644 maintenance/liveCmdLine.inc create mode 100644 maintenance/mcc.php create mode 100644 maintenance/mwdocgen.php create mode 100644 maintenance/mysql5/tables.sql create mode 100644 maintenance/namespace2sql.php create mode 100644 maintenance/namespaceDupes.php create mode 100644 maintenance/nukePage.inc create mode 100644 maintenance/nukePage.php create mode 100644 maintenance/orphans.php create mode 100644 maintenance/ourusers.php create mode 100644 maintenance/parserTests.inc create mode 100644 maintenance/parserTests.php create mode 100644 maintenance/parserTests.txt create mode 100644 maintenance/portal.php create mode 100644 maintenance/purgeOldText.inc create mode 100644 maintenance/purgeOldText.php create mode 100644 maintenance/rebuildImages.php create mode 100644 maintenance/rebuildInterwiki.inc create mode 100644 maintenance/rebuildInterwiki.php create mode 100644 maintenance/rebuildMessages.php create mode 100644 maintenance/rebuildall.php create mode 100644 maintenance/rebuildrecentchanges.inc create mode 100644 maintenance/rebuildrecentchanges.php create mode 100644 maintenance/rebuildtextindex.inc create mode 100644 maintenance/rebuildtextindex.php create mode 100644 maintenance/redundanttrans.php create mode 100644 maintenance/refreshLinks.inc create mode 100644 maintenance/refreshLinks.php create mode 100644 maintenance/removeUnusedAccounts.php create mode 100644 maintenance/stats.php create mode 100644 maintenance/storage/blobs.sql create mode 100644 maintenance/storage/compressOld.inc create mode 100644 maintenance/storage/compressOld.php create mode 100644 maintenance/storage/dumpRev.php create mode 100644 maintenance/storage/moveToExternal.php create mode 100644 maintenance/storage/resolveStubs.php create mode 100644 maintenance/tables.sql create mode 100644 maintenance/transstat.php create mode 100644 maintenance/trivialCmdLine.php create mode 100644 maintenance/update.php create mode 100644 maintenance/updateSearchIndex.inc create mode 100644 maintenance/updateSearchIndex.php create mode 100644 maintenance/updateSpecialPages.php create mode 100644 maintenance/updaters.inc create mode 100644 maintenance/upgrade1_5.php create mode 100644 maintenance/userDupes.inc create mode 100644 maintenance/userDupes.php create mode 100644 maintenance/userFunctions.inc create mode 100644 maintenance/users.sql create mode 100644 maintenance/wikipedia-interwiki.sql create mode 100644 maintenance/wiktionary-interwiki.sql create mode 100644 math/.cvsignore create mode 100644 math/.htaccess create mode 100644 math/Makefile create mode 100644 math/README create mode 100644 math/TODO create mode 100644 math/html.ml create mode 100644 math/html.mli create mode 100644 math/lexer.mll create mode 100644 math/mathml.ml create mode 100644 math/mathml.mli create mode 100644 math/parser.mly create mode 100644 math/render.ml create mode 100644 math/render_info.mli create mode 100644 math/tex.mli create mode 100644 math/texutil.ml create mode 100644 math/texutil.mli create mode 100644 math/texvc.ml create mode 100644 math/texvc_cgi.ml create mode 100644 math/texvc_test.ml create mode 100644 math/texvc_tex.ml create mode 100644 math/util.ml create mode 100644 profileinfo.php create mode 100644 redirect.php create mode 100644 redirect.phtml create mode 100644 skins/Chick.php create mode 100644 skins/CologneBlue.php create mode 100644 skins/MonoBook.php create mode 100644 skins/MySkin.php create mode 100644 skins/Nostalgia.php create mode 100644 skins/Simple.php create mode 100644 skins/Skin.sample create mode 100644 skins/SkinPHPTal.sample create mode 100644 skins/Standard.php create mode 100644 skins/chick/IE50Fixes.css create mode 100644 skins/chick/IE55Fixes.css create mode 100644 skins/chick/IE60Fixes.css create mode 100644 skins/chick/main.css create mode 100644 skins/common/IEFixes.js create mode 100644 skins/common/cologneblue.css create mode 100644 skins/common/common.css create mode 100644 skins/common/commonPrint.css create mode 100644 skins/common/common_rtl.css create mode 100644 skins/common/feed.css create mode 100644 skins/common/images/Arr_.png create mode 100644 skins/common/images/Arr_d.png create mode 100644 skins/common/images/Arr_l.png create mode 100644 skins/common/images/Arr_r.png create mode 100644 skins/common/images/Arr_r.xcf create mode 100644 skins/common/images/Zoom_sans.gif create mode 100644 skins/common/images/bullet.gif create mode 100644 skins/common/images/button_bold.png create mode 100644 skins/common/images/button_extlink.png create mode 100644 skins/common/images/button_headline.png create mode 100644 skins/common/images/button_hr.png create mode 100644 skins/common/images/button_image.png create mode 100644 skins/common/images/button_italic.png create mode 100644 skins/common/images/button_link.png create mode 100644 skins/common/images/button_math.png create mode 100644 skins/common/images/button_media.png create mode 100644 skins/common/images/button_nowiki.png create mode 100644 skins/common/images/button_sig.png create mode 100644 skins/common/images/button_template.png create mode 100644 skins/common/images/fileicon.xcf create mode 100644 skins/common/images/gnu-fdl.png create mode 100644 skins/common/images/gnu-fdl.xcf create mode 100644 skins/common/images/icons/COPYING create mode 100644 skins/common/images/icons/fileicon-c.png create mode 100644 skins/common/images/icons/fileicon-cpp.png create mode 100644 skins/common/images/icons/fileicon-deb.png create mode 100644 skins/common/images/icons/fileicon-dvi.png create mode 100644 skins/common/images/icons/fileicon-exe.png create mode 100644 skins/common/images/icons/fileicon-h.png create mode 100644 skins/common/images/icons/fileicon-html.png create mode 100644 skins/common/images/icons/fileicon-iso.png create mode 100644 skins/common/images/icons/fileicon-java.png create mode 100644 skins/common/images/icons/fileicon-mid.png create mode 100644 skins/common/images/icons/fileicon-mov.png create mode 100644 skins/common/images/icons/fileicon-o.png create mode 100644 skins/common/images/icons/fileicon-ogg.png create mode 100644 skins/common/images/icons/fileicon-ogg.xcf create mode 100644 skins/common/images/icons/fileicon-pdf.png create mode 100644 skins/common/images/icons/fileicon-ps.png create mode 100644 skins/common/images/icons/fileicon-rm.png create mode 100644 skins/common/images/icons/fileicon-rpm.png create mode 100644 skins/common/images/icons/fileicon-svg.png create mode 100644 skins/common/images/icons/fileicon-tar.png create mode 100644 skins/common/images/icons/fileicon-tex.png create mode 100644 skins/common/images/icons/fileicon-ttf.png create mode 100644 skins/common/images/icons/fileicon-txt.png create mode 100644 skins/common/images/icons/fileicon.png create mode 100644 skins/common/images/link_icon.gif create mode 100644 skins/common/images/magnify-clip.png create mode 100644 skins/common/images/magnify-clip.png.old create mode 100644 skins/common/images/mediawiki-small.xcf create mode 100644 skins/common/images/mediawiki.png create mode 100644 skins/common/images/poweredby_mediawiki_88x31.png create mode 100644 skins/common/images/redirect.png create mode 100644 skins/common/images/wiki.png create mode 100644 skins/common/nostalgia.css create mode 100644 skins/common/preview.js create mode 100644 skins/common/quickbar-right.css create mode 100644 skins/common/quickbar.css create mode 100644 skins/common/sticky.js create mode 100644 skins/common/wikibits.js create mode 100644 skins/common/wikiprintable.css create mode 100644 skins/common/wikistandard.css create mode 100644 skins/disabled/Amethyst.php create mode 100644 skins/disabled/Amethyst.pt create mode 100644 skins/disabled/Chick.php create mode 100644 skins/disabled/Chick.pt create mode 100644 skins/disabled/HTMLDump.php create mode 100644 skins/disabled/MonoBook.pt create mode 100644 skins/disabled/MonoBookTal.php create mode 100644 skins/disabled/WikimediaWiki.php create mode 100644 skins/disabled/WikimediaWiki.pt create mode 100644 skins/monobook/IE50Fixes.css create mode 100644 skins/monobook/IE55Fixes.css create mode 100644 skins/monobook/IE60Fixes.css create mode 100644 skins/monobook/IEMacFixes.css create mode 100644 skins/monobook/KHTMLFixes.css create mode 100644 skins/monobook/Opera6Fixes.css create mode 100644 skins/monobook/Opera7Fixes.css create mode 100644 skins/monobook/bullet.gif create mode 100644 skins/monobook/discussionitem_icon.gif create mode 100644 skins/monobook/external.png create mode 100644 skins/monobook/file_icon.gif create mode 100644 skins/monobook/headbg.jpg create mode 100644 skins/monobook/link_icon.gif create mode 100644 skins/monobook/lock_icon.gif create mode 100644 skins/monobook/magnify-clip.png create mode 100644 skins/monobook/mail_icon.gif create mode 100644 skins/monobook/main.css create mode 100644 skins/monobook/news_icon.png create mode 100644 skins/monobook/required.gif create mode 100644 skins/monobook/rtl.css create mode 100644 skins/monobook/user.gif create mode 100644 skins/monobook/wiki-indexed.png create mode 100644 skins/monobook/wiki.png create mode 100644 skins/myskin/main.css create mode 100644 skins/simple/discussionitem_icon.gif create mode 100644 skins/simple/external.png create mode 100644 skins/simple/file_icon.gif create mode 100644 skins/simple/link_icon.gif create mode 100644 skins/simple/lock_icon.gif create mode 100644 skins/simple/mail_icon.gif create mode 100644 skins/simple/main.css create mode 100644 tests/.cvsignore create mode 100644 tests/.htaccess create mode 100644 tests/ArticleTest.php create mode 100644 tests/DatabaseTest.php create mode 100644 tests/GlobalTest.php create mode 100644 tests/LocalTestSettings.sample create mode 100644 tests/Makefile create mode 100644 tests/README create mode 100644 tests/RunTests.php create mode 100644 tests/SanitizerTest.php create mode 100644 tests/SearchEngineTest.php create mode 100644 tests/SearchMySQL3Test.php create mode 100644 tests/SearchMySQL4Test.php create mode 100644 thumb.php create mode 100644 trackback.php create mode 100644 wiki.phtml diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 00000000..44ddd607 --- /dev/null +++ b/.cvsignore @@ -0,0 +1,9 @@ +LocalSettings.php +AdminSettings.php +*~ +bin +.classpath +.project +project.index +.metadata* +.settings diff --git a/AdminSettings.sample b/AdminSettings.sample new file mode 100644 index 00000000..0eea90cc --- /dev/null +++ b/AdminSettings.sample @@ -0,0 +1,31 @@ + diff --git a/COPYING b/COPYING new file mode 100644 index 00000000..5b6e7c66 --- /dev/null +++ b/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/FAQ b/FAQ new file mode 100644 index 00000000..b62ead9d --- /dev/null +++ b/FAQ @@ -0,0 +1 @@ +The FAQ is at: http://meta.wikimedia.org/wiki/MediaWiki_FAQ diff --git a/HISTORY b/HISTORY new file mode 100644 index 00000000..6b5a3b60 --- /dev/null +++ b/HISTORY @@ -0,0 +1,598 @@ +Change notes from older releases. For current info see RELEASE-NOTES. + += MediaWiki release notes = + +Security reminder: MediaWiki does not require PHP's register_globals +setting since version 1.2.0. If you have it on, turn it *off* if you can. + +== MediaWiki 1.4.3 == + +(released 2005-04-28) + +MediaWiki 1.4.3 is a bugfix release for the 1.4 stable release series. + +Chiefly, this fixes a compatibility problem with PHP 5 and a minor link +table corruption bug on initial page save. + + +== MediaWiki 1.4.2 == + +(released 2005-04-20) + +MediaWiki 1.4.2 is a security and bug fix release for the 1.4 stable release +series. + +A cross-site scripting injection vulnerability was discovered, which +affects only MSIE clients and is only open if MediaWiki has been +manually configured to run output through HTML Tidy ($wgUseTidy). + +Several other bugs are fixed in this release, see the changelog below. + +All new installations are highly recommended to use 1.4.2 instead of +1.3.x; 1.3.x users should consider upgrading for bug fixes and new +features. Ealier 1.4.x release and beta users should upgrade to this +release for relevant bug fixes; see the changelog later in this file. + + +If you have trouble, remember to read this whole file and the online FAQ page +before asking for help: + +http://meta.wikimedia.org/wiki/MediaWiki_FAQ + + +=== READ THIS FIRST: Upgrading === + +If upgrading from an older release, see the notes in the file UPGRADE. +There are a couple of minor database changes from the beta releases, +and somewhat larger changes from 1.3.x. + +Upgrading from a previous 1.4.x stable release installation should +generally only require copying the new files over the old ones. + + +==== READ THIS FIRST, TOO: MySQL 4.1 AND 5.0 ==== + +MySQL 5.0 is a beta release, not yet ready for production use. If you +are using it, the notes below about 4.1 apply to you too. + +If you have the choice of MySQL 4.0 or MySQL 4.1 and don't need 4.1 for +some other application, you should consider sticking with 4.0 for the +moment. 4.1 may require you to do extra fiddling to get things to work +due to changes that aren't fully backwards-compatible. + +MySQL 4.1 has changed the authentication protocol in an incompatible +way; many PHP installations still use the older client libraries and +CANNOT CONNECT TO THE SERVER WITH A PASSWORD without some changes. + +See: http://dev.mysql.com/doc/mysql/en/Old_client.html + +If MySQL is set with utf-8 as the default character set, installation +may fail with "key too long" errors. Set the default charset to 'latin1' +for installation and it should work. + +The mysqldump backup generator now applies an automatic conversion to +UTF-8, which may irretrivably corrupt your data. Pass the -charset option +with the original default charset (eg 'latin1') to skip the conversion. + + +==== READ THIS FIRST IF RUNNING ON A WINDOWS SERVER ==== + +MediaWiki is tested and deployed primarily under the Apache web server +on Linux Unix systems. There are known to be problems running on +Microsoft's IIS which are not fully resolved. If you have a choice, +try running under Apache on Windows, or on a Unix/Linux box instead. + +If you're having trouble with blank pages on IIS and can't switch, +try the workaround suggested in this bug report: +http://bugzilla.wikimedia.org/show_bug.cgi?id=1763 + + +=== New features === + +* 'Recentchanges Patrol' to mark new edits that haven't yet been viewed. +* New, searchable deletion/upload/protection logs +* Image gallery generation (Special:Newimages and tag) +* SVG rasterization support (requires external support tools) +* Users can select from the available localizations to override the + default user interface language. +* Traditional/Simplified Chinese conversion support +* rel="nofollow" support to combat linkspam + +The current implementation adds this attribute to _all_ external URL +links in wiki text (but not internal [[wiki links]] or interwiki links). +To disable the attribute for _all_ external links, add this line to your +LocalSettings.php: + + $wgNoFollowLinks = false + +For background information on nofollow see: + + http://www.google.com/googleblog/2005/01/preventing-comment-spam.html + + +=== Installation and compatibility === + +* The default MonoBook theme now works with PHP 5.0 +* Installation on systems with PHP's safe mode or other oddities + should work more reliably, as MonoBook no longer needs to + create a compiled template file for the wiki to run. +* A table prefix may be specified, to avoid conflicts with other + web applications forced to share a database. +* More thorough UTF-8 input validation; fixes non-ASCII uploaded + filenames from Safari. +* Command-line database upgrade script. + + +=== Customizability === + +* Default user options can now be overridden in LocalSettings. +* Skins system more modular: templates and CSS are now in /skins/ + New skins can be dropped into this directory and used immediately. +* More extension hooks have been added. +* Authentication plugin hook. +* More internal code documentation, generated with phpdoc: + http://www.mediawiki.org/docs/html/ + + +=== Optimization === + +* For many operations, MediaWiki 1.4 should run faster and use + less memory than MediaWiki 1.3. Page rendering is up to twice + as fast. (Use a PHP accelerator such as Turck MMCache for best + results with any PHP application, though!) +* The parser cache no longer requires memcached, and is enabled + by default. This avoids a lot of re-rendering of pages that + have been shown recently, greatly speeding longer page views. +* Support for compiled PHP modules to speed up page diff and + Unicode validation/normalization. (Requires ability to compile + and load PHP extensions). + + +=== What isn't ready yet === + +* A new user/groups permissions scheme has been held back to 1.5. +* An experimental SOAP interface will be made available as an extension +* PostgreSQL support is largely working, minus search and the installer. + You can perform a manual installation. +* E-mail notification of watched page changes and verification of + user-submitted e-mail addresses is not yet included. +* Log pages are not automatically imported into the new log table + at upgrade time. A script to import old text log entries is + incomplete, but may be available in later point releases. +* Some localizations are still incomplete. + + + +== Changelog == + +=== Important security updates === + +A security audit found and fixed a number of problems. Users of MediaWiki +1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases +prior to 1.4rc1 should upgrade immediately. + +==== Cross-site scripting vulnerability ==== + +XSS injection points can be used to hijack session and authentication +cookies as well as more serious attacks. + +* Media: links output raw text into an attribute value, potentially + abusable for JavaScript injection. This has been corrected. +* Additional checks added to file upload to protect against MSIE and + Safari MIME-type autodetection bugs. + +As of 1.3.10/1.4beta6, per-user customized CSS and JavaScript is disabled +by default as a general precaution. Sites which want this ability may set +$wgAllowUserCss and $wgAllowUserJs in LocalSettings.php. + + +==== Cross-site request forgery ==== + +An attacker could use JavaScript-submitted forms to perform various +restricted actions by tricking an authenticated user into visiting +a malicious web page. A fix for page editing in 1.3.10/1.4beta6 has +been expanded in this release to other forms and functions. + +Authors of bot tools may need to update their code to include the +additional fields. + + +==== Directory traversal ==== + +An unchecked parameter in image deletion could allow an authenticated +administrator to delete arbitary files in directories writable by the +web server, and confirm existence of files not deletable. + + +==== Older issues ==== + +Note that 1.4 beta releases prior to beta 5 include an input validation +error which could lead to execution of arbitrary PHP code on the server. +Users of older betas should upgrade immediately to the current version. + + +Beta 6 also introduces the use of rel="nofollow" attributes on external +links in wiki pages to reduce the effectiveness of wiki spam. This will +cause participating search engines to ignore external URL links from wiki +pages for purposes of page relevancy ranking. + + +=== Misc bugs fixed in beta 1 === + +* (bug 95) Templates no longer limited to 5 inclusions per page +* New user preference for limiting the image size for images on image description + pages +* (bug 530) Allow user to preview article on first edit +* (bug 479) [[RFC 1234]] will now make an internal link +* (bug 511) PhpTal skins shown bogus 'What links here' etc on special pages +* (bug 770) Adding filter and username exact search match for Special:Listusers +* (bug 733) Installer die if it can not write LocalSettings.php +* (bug 705) Various special pages no more show the rss/atom feed links +* (bug 114) use category backlinks in Special:Recentchangeslinked + +=== Beta 2 fixes === + +* (bug 987) Reverted bogus fix for bug 502 +* (bug 992) Fix enhanced recent changes in PHP5 +* (bug 1009) Fix Special:Makesysop when using table prefixes +* (bug 1010) fix broken Commons image link on Classic & Cologne Blue +* (bug 985) Fix auto-summary for section edits +* (bug 995) Close tag +* (bug 1004) renamed norsk language links (twice) +* Login works again when using an old-style default skin +* Fix for load balancing mode, notify if using old settings format +* (bug 1014) Missing image size option on old accounts handled gracefully +* (bug 1027) Fix page moves with table prefix +* (bug 1018) Some pages fail with stub threshold enabled +* (bug 1024) Fix link to high-res image version on Image: pages +* (bug 1016) Fix handling of lines omitting Image: in a tag +* security fix for image galleries +* (bug 1039) Avoid error message in certain message cache failure modes +* Fix string escaping with PostgreSQL +* (bug 1015) [partial] -- use comment formatter on image gallery text +* Allow customization of all UI languages +* use $wgForceUIMsgAsContentMsg to make regular UI messages act as content +* new user option for zh users to disable language conversion +* Defer message cache initialization, shaving a few ms off file cache hits +* Fixed Special:Allmessages when using table prefixes +* (bug 996) Fix $wgWhitelistRead to work again +* (bug 1028) fix page move over redirect to not fail on the unique index + +=== Beta 3 fixes === + +* Hide RC patrol markers when patrol is disabled or not allowed to patrol. +* Fix language selection for upgraded accounts +* (bug 1076) navigation links in QueryPage should be translated by wgContLang. +* (bug 922) bogus DOS line endings in LanguageEl.php +* Fix index usage in contribs +* Caching and load limiting options for Recentchanges RSS/Atom feed +* (bug 1074) Add stock icons for non-image files in gallery/Newimages +* Add width and height attributes on thumbs in gallery/Newimages +* Enhance upload extension blacklist to protect against vulnerable + Apache configurations + +=== Beta 4 fixes === + +* (bug 1090) Fix sitesupport links in CB/classic skins +* Gracefully ignore non-legal titles in a +* Fix message page caching behavior when $wgCapitalLinks is turned off + after installation and the wiki is subsequently upgraded +* Database error messages include the database server name/address +* Paging support for large categories +* Fix image page scaling when thumbnail generation is disabled +* Select the content language in prefs when bogus interface language is set +* Fix interwiki links in edit comments +* Fix crash on banned user visit +* Avoid PHP warning messages when thumbnail not generated +* (bug 1157) List unblocks correctly in Special:Log +* Fix fatal errors in LanguageLi.php +* Undo overly bright, difficult to read colors in Cologne Blue +* (bug 1162) fix five-tilde date inserter +* Add raw signatures option for those who simply must have cute sigs +* (bug 1164) Let wikitext be used in Loginprompt and Loginend messages +* Add the dreaded to the HTML whitelist +* (bug 1170) Fix Russian linktrail +* (bug 1168) Missing text on the bureaucrat log +* (bug 1180) Fix Makesysop on shared-user-table sites +* (bug 1178) Fix previous diff link when using 'oldid=0' +* (bug 1173) Stop blocked accounts from reverting/deleting images +* Keep generated stylesheets cache-separated for each user +* (bug 1175) Fix "preview on first edit" mode +* Fix revert bug caused by bug 1175 fix +* Fix CSS classes on minor, new, unpatrolled markers in enhanced RC +* Set MySQL 4 boolean search back to 'and' mode by default +* (bug 1193) Fix move-only page protection mode +* Fix zhtable Makefile to include the traditional manual table +* Add memcache timeout for the zh conversion tables +* Allow user customization of the zh conversion tables through + Mediawiki:zhconversiontable +* Add zh-min-man (back) to language names list +* Ported $wgCopyrightIcon setting from REL1_3A +* (bug 1218) Show the original image on image pages if the thumbnail would be + bigger than the original image +* (bug 1213) i18n of Special:Log labels +* (bug 1013) Fix jbo, minnan in language names list +* Added magic word MAG_NOTITLECONVERT to indicate that the title of the page + do not need to be converted. Useful in zh: +* (bug 1224) Use proper date messages for date reformatter +* (bug 1241) Don't show 'cont.' for first entry of the category list +* (bug 1240) Special:Preferences was broken in Slovenian locale when + $wgUseDynamicDates is enabled +* Added magic word MAG_NOCONTENTCONVERT to supress the conversion of the + content of an article. Useful in zh: +* write-lock for updating the zh conversion tables in memcache +* recursively parse subpages of MediaWiki:Zhconversiontable +* (bug 1144) Fix export for fy language +* make removal of an entry from zhconversiontable work +* (bug 752) Don't insert newline in link title for url with %0a +* Fix missing search box contents in MonoBook skin +* Add option to forward search directly to an external URL (eg google) +* Correctly highlight the fallback language variant when the selected + variant is disabled. Used in zh: only for now. + +=== Beta 5 fixes === + +* (bug 1124) Fix ImageGallery XHTML compliance +* (bug 1186) news: in the middle of a word +* (bug 1283) Use underlining and borders to highlight additions/deletions + in diff-view +* Use user's local timezone in Special:Log display +* Show filename for images in gallery by default (restore beta 3 behaviour) +* (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks, searchindex +* When using squid reverse proxy, cache the redirect to the Main_Page +* (bug 1302) Fix Norwegian language file +* (bug 1205) Fix broken article saving in PHP 5.1 +* (bug 1206) Implement CURRENTWEEK and CURRENTDOW magic keyword (will give + number of the week and number of the day). +* (bug 1204) Blocks do not expire automatically +* (bug 1184) expiry time of indefinite blocks shown as the current time +* (bug 1317) Fix external links in image captions +* (bug 1084) Fix logo not rendering centrally in IE +* (bug 288) Fix tabs wrapping in IE6 +* (bug 119) Fix full-width tabs with RTL text in IE +* (bug 1323) Fix logo rendering off-screen in IE with RTL language +* Show "block" link in Special:Recentchanges for logged in users, too, if + wgUserSysopBans is true. +* (bug 1326) Use content language for '1movedto2' in edit history +* zh: Fix warning when HTTP_ACCEPT_LANGUAGE is not set +* zh: Fix double conversion for zh-sg and zh-hk +* (bug 1132) Fix concatenation of link lists in refreshLinks +* (bug 1101) Fix memory leak in refreshLinks +* (bug 1339) Fix order of @imports in Cologne Blue CSS +* Don't try to create links without namespaces ([[Category:]] link bug) +* Memcached data compression fixes +* Several valid XHTML fixes +* (bug 624) Fix IE freezing rendering whilst waiting for CSS with MonoBook +* (bug 211) Fix tabbed preferences with XHTML MIME type +* Fix for script execution vulnerability. + +=== Beta 6 fixes === + +* (bug 1335) implement 'tooltip-watch' in Language.php +* Fix linktrail for nn: language +* (bug 1214) Fix prev/next links in Special:Log +* (bug 1354) Fix linktrail for fo: language +* (bug 512) Reload generated CSS on preference change +* (bug 63) Fix displaying as if logged in after logout +* Set default MediaWiki:Sitenotice to '-', avoiding extra database hits +* Skip message cache initialization on raw page view (quick hack) +* Fix notice errors in wfDebugDieBacktrace() in XML callbacks +* Suppress notice error on bogus timestamp input (returns epoch as before) +* Remove unnecessary initialization and double-caching of parser variables +* Call-tree output mode for profiling +* (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries +* Add $wgNoFollowLinks option to add rel="nofollow" on external links + (on by default) +* (bug 1130) Show actual title when moving page instead of encoded one. +* (bug 925) Fix headings containing +* (bug 1131) Fix headings containing interwiki links +* (bug 1380) Update Nynorsk language file +* (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode +* (bug 1217) Image within an image caption broke rendering +* (bug 1384) Make patrol signs have the same width for page moves as for edits +* (bug 1364) fix "clean up whitespace" in Title:SecureAndSplit +* (bug 1389) i18n for proxyblocker message +* Add fur/Furlan/Friulian to language names list +* Add TitleMoveComplete hook on page renames +* Allow simple comments for each translation rules in MW:Zhconversiontable +* (bug 1402) Make link color of tab subject page link on talk page indicate whether article exists +* (bug 1368) Fix SQL error on stopword/short word search w/ MySQL 3.x +* Translated Hebrew namespace names +* (bug 1429) Stop double-escaping of block comments; fix formatting +* (bug 829) Fix URL-escaping on block success +* (bug 1228) Fix double-escaping on & sequences in [enclosed] URLs +* (bug 1435) Fixed many CSS errors +* (bug 1457) Fix XHTML validation on category column list +* (bug 1458) Don't save if edit form submission is incomplete +* Logged-in edits and preview of user CSS/JS are now locked to a session token. +* Per-user CSS and JavaScript subpage customizations now disabled by default. + They can be re-enabled via $wgAllowUserJs and $wgAllowUserCss. +* Removed .ogg from the default uploads whitelist as an extra precaution. + If your web server is configured to serve Ogg files with the correct + Content-Type header, you can re-add it in LocalSettings.php: + $wgFileExtensions[] = 'ogg'; + +=== RC1 fixes === + +* Fix notice error on nonexistent template in wikitext system message +* (bug 1469) add missing \n"; } + $s .= "

{$date}

\n