summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CREDITS32
-rw-r--r--HISTORY718
-rw-r--r--INSTALL2
-rw-r--r--RELEASE-NOTES891
-rw-r--r--RELEASE-NOTES-1.18794
-rw-r--r--StartProfiler.sample12
-rw-r--r--api.php30
-rw-r--r--config/OBSOLETE2
-rw-r--r--config/index.php1
-rw-r--r--config/index.php51
-rw-r--r--docs/database.txt11
-rw-r--r--docs/databases/postgres.txt12
-rw-r--r--docs/design.html18
-rw-r--r--docs/export-0.4.xsd8
-rw-r--r--docs/export-0.5.xsd8
-rw-r--r--docs/globals.txt14
-rw-r--r--docs/hooks.txt333
-rw-r--r--docs/skin.txt11
-rw-r--r--extensions/ConfirmEdit/Captcha.php894
-rw-r--r--extensions/ConfirmEdit/CaptchaStore.php109
-rw-r--r--extensions/ConfirmEdit/ConfirmEdit.alias.php84
-rw-r--r--extensions/ConfirmEdit/ConfirmEdit.i18n.php3636
-rw-r--r--extensions/ConfirmEdit/ConfirmEdit.php227
-rw-r--r--extensions/ConfirmEdit/ConfirmEditHooks.php78
-rw-r--r--extensions/ConfirmEdit/FancyCaptcha.class.php249
-rw-r--r--extensions/ConfirmEdit/FancyCaptcha.i18n.php1416
-rw-r--r--extensions/ConfirmEdit/FancyCaptcha.php50
-rw-r--r--extensions/ConfirmEdit/HTMLCaptchaField.php84
-rw-r--r--extensions/ConfirmEdit/MathCaptcha.class.php57
-rw-r--r--extensions/ConfirmEdit/MathCaptcha.php19
-rw-r--r--extensions/ConfirmEdit/QuestyCaptcha.class.php71
-rw-r--r--extensions/ConfirmEdit/QuestyCaptcha.i18n.php1093
-rw-r--r--extensions/ConfirmEdit/QuestyCaptcha.php42
-rw-r--r--extensions/ConfirmEdit/README38
-rw-r--r--extensions/ConfirmEdit/ReCaptcha.i18n.php402
-rw-r--r--extensions/ConfirmEdit/ReCaptcha.php134
-rw-r--r--extensions/ConfirmEdit/captcha.py226
-rw-r--r--extensions/ConfirmEdit/recaptchalib.php277
-rw-r--r--extensions/Gadgets/ApiQueryGadgetCategories.php117
-rw-r--r--extensions/Gadgets/ApiQueryGadgets.php205
-rw-r--r--extensions/Gadgets/Gadgets.alias.php309
-rw-r--r--extensions/Gadgets/Gadgets.i18n.php2705
-rw-r--r--extensions/Gadgets/Gadgets.php54
-rw-r--r--extensions/Gadgets/Gadgets_body.php586
-rw-r--r--extensions/Gadgets/Gadgets_tests.php82
-rw-r--r--extensions/Gadgets/README42
-rw-r--r--extensions/Gadgets/SpecialGadgets.php168
-rw-r--r--extensions/Gadgets/install.settings1
-rw-r--r--extensions/Nuke/Nuke.alias.php214
-rw-r--r--extensions/Nuke/Nuke.i18n.php2162
-rw-r--r--extensions/Nuke/Nuke.php28
-rw-r--r--extensions/Nuke/Nuke_body.php268
-rw-r--r--extensions/Nuke/SpecialNuke.php2
-rw-r--r--extensions/ParserFunctions/COPYING283
-rw-r--r--extensions/ParserFunctions/Convert.php889
-rw-r--r--extensions/ParserFunctions/Expr.php555
-rw-r--r--extensions/ParserFunctions/ParserFunctions.i18n.magic.php566
-rw-r--r--extensions/ParserFunctions/ParserFunctions.i18n.php4695
-rw-r--r--extensions/ParserFunctions/ParserFunctions.php115
-rw-r--r--extensions/ParserFunctions/ParserFunctions_body.php846
-rw-r--r--extensions/ParserFunctions/README21
-rw-r--r--extensions/ParserFunctions/convertTests.txt231
-rw-r--r--extensions/ParserFunctions/exprTests.txt39
-rw-r--r--extensions/ParserFunctions/funcsParserTests.txt177
-rw-r--r--extensions/ParserFunctions/stringFunctionTests.txt32
-rw-r--r--extensions/ParserFunctions/testExpr.php38
-rw-r--r--extensions/Renameuser/RenameUserJob.php99
-rw-r--r--extensions/Renameuser/Renameuser.alias.php304
-rw-r--r--extensions/Renameuser/Renameuser.i18n.php4278
-rw-r--r--extensions/Renameuser/Renameuser.php113
-rw-r--r--extensions/Renameuser/Renameuser_body.php548
-rw-r--r--extensions/Renameuser/SpecialRenameuser.php1
-rw-r--r--extensions/Renameuser/renameUserCleanup.php205
-rw-r--r--extensions/Vector/README21
-rw-r--r--extensions/Vector/Vector.hooks.php192
-rw-r--r--extensions/Vector/Vector.i18n.php1854
-rw-r--r--extensions/Vector/Vector.php131
-rw-r--r--extensions/Vector/modules/ext.vector.collapsibleNav.css56
-rw-r--r--extensions/Vector/modules/ext.vector.collapsibleNav.js228
-rw-r--r--extensions/Vector/modules/ext.vector.collapsibleTabs.js123
-rw-r--r--extensions/Vector/modules/ext.vector.editWarning.js71
-rw-r--r--extensions/Vector/modules/ext.vector.expandableSearch.css9
-rw-r--r--extensions/Vector/modules/ext.vector.expandableSearch.js70
-rw-r--r--extensions/Vector/modules/ext.vector.footerCleanup.css87
-rw-r--r--extensions/Vector/modules/ext.vector.footerCleanup.js68
-rw-r--r--extensions/Vector/modules/ext.vector.sectionEditLinks.css15
-rw-r--r--extensions/Vector/modules/ext.vector.sectionEditLinks.js75
-rw-r--r--extensions/Vector/modules/ext.vector.simpleSearch.js130
-rw-r--r--extensions/Vector/modules/images/closed-ltr.pngbin0 -> 184 bytes
-rw-r--r--extensions/Vector/modules/images/closed-rtl.pngbin0 -> 942 bytes
-rw-r--r--extensions/Vector/modules/images/edit-faded.pngbin0 -> 546 bytes
-rw-r--r--extensions/Vector/modules/images/edit.pngbin0 -> 551 bytes
-rw-r--r--extensions/Vector/modules/images/open.pngbin0 -> 181 bytes
-rw-r--r--extensions/Vector/modules/images/portal-break.pngbin0 -> 242 bytes
-rw-r--r--extensions/Vector/switchExperimentPrefs.php63
-rw-r--r--extensions/WikiEditor/README18
-rw-r--r--extensions/WikiEditor/WikiEditor.hooks.php276
-rw-r--r--extensions/WikiEditor/WikiEditor.i18n.php25914
-rw-r--r--extensions/WikiEditor/WikiEditor.php508
-rw-r--r--extensions/WikiEditor/modules/contentCollector.js439
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.css23
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.dialogs.js15
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.highlight.js8
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.js8
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.preview.js8
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.previewDialog.js8
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.publish.js8
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.templateEditor.js12
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.templates.js12
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.tests.toolbar.js246
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.toc.js8
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.toolbar.hideSig.js14
-rw-r--r--extensions/WikiEditor/modules/ext.wikiEditor.toolbar.js14
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/insert-link-error.pngbin0 -> 672 bytes
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/insert-link-exists.pngbin0 -> 335 bytes
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/insert-link-external-rtl.pngbin0 -> 279 bytes
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/insert-link-external.pngbin0 -> 282 bytes
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/insert-link-invalid.pngbin0 -> 607 bytes
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/insert-link-notexists.pngbin0 -> 548 bytes
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/loading-small.gifbin0 -> 4046 bytes
-rw-r--r--extensions/WikiEditor/modules/images/dialogs/loading.gifbin0 -> 4615 bytes
-rw-r--r--extensions/WikiEditor/modules/images/templateEditor/collapse.pngbin0 -> 1022 bytes
-rw-r--r--extensions/WikiEditor/modules/images/templateEditor/dialog-collapsed.pngbin0 -> 291 bytes
-rw-r--r--extensions/WikiEditor/modules/images/templateEditor/dialog-expanded.pngbin0 -> 277 bytes
-rw-r--r--extensions/WikiEditor/modules/images/templateEditor/expand.pngbin0 -> 250 bytes
-rw-r--r--extensions/WikiEditor/modules/images/templateEditor/name-base.pngbin0 -> 177 bytes
-rw-r--r--extensions/WikiEditor/modules/images/templateEditor/text-base.pngbin0 -> 128 bytes
-rw-r--r--extensions/WikiEditor/modules/images/templateEditor/wiki-text.pngbin0 -> 255 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toc/close.pngbin0 -> 369 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toc/grab.pngbin0 -> 131 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toc/grip.pngbin0 -> 159 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toc/open.pngbin0 -> 370 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/arrow-down.pngbin0 -> 181 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/arrow-ltr.pngbin0 -> 184 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/arrow-rtl.pngbin0 -> 192 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/base.pngbin0 -> 3632 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/button-sprite.pngbin0 -> 21076 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/example-image.pngbin0 -> 1124 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-big.pngbin0 -> 725 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-A.pngbin0 -> 633 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-B.pngbin0 -> 688 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-F.pngbin0 -> 531 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-G.pngbin0 -> 637 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-N.pngbin0 -> 702 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-P.pngbin0 -> 597 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-V.pngbin0 -> 588 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-ka.pngbin0 -> 1492 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold-ru.pngbin0 -> 925 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-bold.pngbin0 -> 754 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-indent-rtl.pngbin0 -> 1019 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-indent.pngbin0 -> 1037 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-italic-A.pngbin0 -> 556 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-italic-C.pngbin0 -> 485 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-italic-D.pngbin0 -> 588 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-italic-I.pngbin0 -> 406 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-italic-K.pngbin0 -> 625 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-italic-ka.pngbin0 -> 1247 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-italic.pngbin0 -> 644 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-olist-rtl.pngbin0 -> 359 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-olist.pngbin0 -> 365 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-small.pngbin0 -> 713 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-subscript.pngbin0 -> 731 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-superscript.pngbin0 -> 729 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-ulist-rtl.pngbin0 -> 227 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/format-ulist.pngbin0 -> 223 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-file.pngbin0 -> 1386 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-gallery.pngbin0 -> 338 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-ilink.pngbin0 -> 332 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-link.pngbin0 -> 545 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-newline.pngbin0 -> 784 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-nowiki.pngbin0 -> 1557 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-redirect-rtl.pngbin0 -> 1319 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-redirect.pngbin0 -> 1552 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-reference.pngbin0 -> 371 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-signature.pngbin0 -> 851 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-table.pngbin0 -> 343 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/insert-xlink.pngbin0 -> 413 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/loading-small.gifbin0 -> 3331 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/loading.gifbin0 -> 5423 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/magnify-clip.pngbin0 -> 204 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/arrow-down.pngbin0 -> 187 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/arrow-left.pngbin0 -> 192 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/arrow-right.pngbin0 -> 189 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-big.pngbin0 -> 740 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold-A.pngbin0 -> 682 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold-B.pngbin0 -> 726 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold-F.pngbin0 -> 576 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold-G.pngbin0 -> 728 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold-N.pngbin0 -> 770 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold-P.pngbin0 -> 642 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold-V.pngbin0 -> 670 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-bold.pngbin0 -> 682 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-italic-A.pngbin0 -> 613 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-italic-C.pngbin0 -> 551 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-italic-I.pngbin0 -> 449 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-italic-K.pngbin0 -> 719 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-italic.pngbin0 -> 613 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-olist.pngbin0 -> 438 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-small.pngbin0 -> 688 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-subscript.pngbin0 -> 691 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-superscript.pngbin0 -> 698 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/format-ulist.pngbin0 -> 389 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/generate.sh12
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-file.pngbin0 -> 929 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-gallery.pngbin0 -> 1162 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-link.pngbin0 -> 769 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-newline.pngbin0 -> 834 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-nowiki.pngbin0 -> 1585 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-redirect.pngbin0 -> 1244 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-reference.pngbin0 -> 1128 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-signature.pngbin0 -> 673 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/insert-table.pngbin0 -> 284 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/png24/search-replace.pngbin0 -> 1088 bytes
-rw-r--r--extensions/WikiEditor/modules/images/toolbar/search-replace.pngbin0 -> 979 bytes
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.css112
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.dialogs.config.css204
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.dialogs.config.js1150
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.dialogs.css56
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.dialogs.js217
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.highlight.js357
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.html135
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.iframe.js1387
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.js559
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.preview.css26
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.preview.js164
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.previewDialog.css35
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.previewDialog.js131
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.publish.js146
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.templateEditor.js865
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.templates.js69
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.toc.css177
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.toc.js667
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.config.js1091
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.css303
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.js775
-rw-r--r--extensions/WikiEditor/tests/selenium/WikiDialogs_Links.php68
-rw-r--r--extensions/WikiEditor/tests/selenium/WikiDialogs_Links_Setup.php296
-rw-r--r--extensions/WikiEditor/tests/selenium/WikiEditorConstants.php84
-rw-r--r--extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php27
-rw-r--r--extensions/WikiEditor/tests/selenium/WikiEditorTestSuite.php35
-rw-r--r--img_auth.php31
-rw-r--r--includes/Action.php467
-rw-r--r--includes/AjaxDispatcher.php15
-rw-r--r--includes/AjaxFunctions.php101
-rw-r--r--includes/AjaxResponse.php4
-rw-r--r--includes/Article.php3667
-rw-r--r--includes/AuthPlugin.php13
-rw-r--r--includes/AutoLoader.php522
-rw-r--r--includes/Autopromote.php72
-rw-r--r--includes/BacklinkCache.php131
-rw-r--r--includes/BagOStuff.php906
-rw-r--r--includes/Block.php1156
-rw-r--r--includes/Category.php11
-rw-r--r--includes/CategoryPage.php197
-rw-r--r--includes/Categoryfinder.php7
-rw-r--r--includes/Cdb.php12
-rw-r--r--includes/Cdb_PHP.php76
-rw-r--r--includes/ChangeTags.php36
-rw-r--r--includes/ChangesFeed.php54
-rw-r--r--includes/ChangesList.php564
-rw-r--r--includes/Collation.php52
-rw-r--r--includes/ConfEditor.php78
-rw-r--r--includes/Cookie.php245
-rw-r--r--includes/DefaultSettings.php833
-rw-r--r--includes/Defines.php41
-rw-r--r--includes/DjVuImage.php12
-rw-r--r--includes/EditPage.php905
-rw-r--r--includes/Exception.php351
-rw-r--r--includes/Exif.php1150
-rw-r--r--includes/Export.php448
-rw-r--r--includes/ExternalEdit.php63
-rw-r--r--includes/ExternalStore.php16
-rw-r--r--includes/ExternalStoreDB.php16
-rw-r--r--includes/ExternalUser.php4
-rw-r--r--includes/FakeTitle.php6
-rw-r--r--includes/Fallback.php200
-rw-r--r--includes/Feed.php52
-rw-r--r--includes/FeedUtils.php2
-rw-r--r--includes/FileDeleteForm.php36
-rw-r--r--includes/FileRevertForm.php180
-rw-r--r--includes/ForkController.php6
-rw-r--r--includes/FormOptions.php121
-rw-r--r--includes/GenderCache.php135
-rw-r--r--includes/GlobalFunctions.php2092
-rw-r--r--includes/HTMLForm.php507
-rw-r--r--includes/HistoryBlob.php88
-rw-r--r--includes/HistoryPage.php50
-rw-r--r--includes/Hooks.php384
-rw-r--r--includes/Html.php102
-rw-r--r--includes/HttpFunctions.old.php1
-rw-r--r--includes/HttpFunctions.php306
-rw-r--r--includes/IP.php86
-rw-r--r--includes/ImageFunctions.php2
-rw-r--r--includes/ImageGallery.php147
-rw-r--r--includes/ImagePage.php660
-rw-r--r--includes/ImageQueryPage.php29
-rw-r--r--includes/Import.php290
-rw-r--r--includes/Init.php184
-rw-r--r--includes/Licenses.php49
-rw-r--r--includes/LinkFilter.php36
-rw-r--r--includes/Linker.php971
-rw-r--r--includes/LinksUpdate.php44
-rw-r--r--includes/LocalisationCache.php130
-rw-r--r--includes/LogEventsList.php277
-rw-r--r--includes/LogPage.php135
-rw-r--r--includes/MWFunction.php64
-rw-r--r--includes/MacBinary.php272
-rw-r--r--includes/MagicWord.php169
-rw-r--r--includes/Math.php341
-rw-r--r--includes/Message.php194
-rw-r--r--includes/MessageBlobStore.php56
-rw-r--r--includes/Metadata.php146
-rw-r--r--includes/MimeMagic.php475
-rw-r--r--includes/Namespace.php106
-rw-r--r--includes/ObjectCache.php123
-rw-r--r--includes/OutputHandler.php22
-rw-r--r--includes/OutputPage.php1537
-rw-r--r--includes/PHPVersionError.php91
-rw-r--r--includes/PageQueryPage.php2
-rw-r--r--includes/Pager.php40
-rw-r--r--includes/PatrolLog.php12
-rw-r--r--includes/PoolCounter.php115
-rw-r--r--includes/Preferences.php244
-rw-r--r--includes/PrefixSearch.php40
-rw-r--r--includes/ProfilerSimpleText.php39
-rw-r--r--includes/ProfilerStub.php52
-rw-r--r--includes/ProtectionForm.php80
-rw-r--r--includes/ProxyTools.php107
-rw-r--r--includes/QueryPage.php393
-rw-r--r--includes/RawPage.php38
-rw-r--r--includes/RecentChange.php157
-rw-r--r--includes/RequestContext.php399
-rw-r--r--includes/Revision.php124
-rw-r--r--includes/RevisionList.php370
-rw-r--r--includes/Sanitizer.php760
-rw-r--r--includes/SeleniumWebSettings.php197
-rw-r--r--includes/Setup.php463
-rw-r--r--includes/SiteConfiguration.php43
-rw-r--r--includes/SiteStats.php148
-rw-r--r--includes/Skin.php1761
-rw-r--r--includes/SkinLegacy.php942
-rw-r--r--includes/SkinTemplate.php1275
-rw-r--r--includes/SpecialPage.php1164
-rw-r--r--includes/SpecialPageFactory.php554
-rw-r--r--includes/SquidPurgeClient.php28
-rw-r--r--includes/Status.php54
-rw-r--r--includes/StreamFile.php15
-rw-r--r--includes/StringUtils.php22
-rw-r--r--includes/StubObject.php22
-rw-r--r--includes/Title.php1394
-rw-r--r--includes/TitleArray.php22
-rw-r--r--includes/User.php1740
-rw-r--r--includes/UserArray.php35
-rw-r--r--includes/UserMailer.php183
-rw-r--r--includes/ViewCountUpdate.php111
-rw-r--r--includes/WatchedItem.php5
-rw-r--r--includes/WatchlistEditor.php528
-rw-r--r--includes/WebRequest.php375
-rw-r--r--includes/WebResponse.php130
-rw-r--r--includes/WebStart.php82
-rw-r--r--includes/Wiki.php639
-rw-r--r--includes/WikiCategoryPage.php37
-rw-r--r--includes/WikiError.php12
-rw-r--r--includes/WikiFilePage.php139
-rw-r--r--includes/WikiMap.php21
-rw-r--r--includes/WikiPage.php2677
-rw-r--r--includes/Xml.php202
-rw-r--r--includes/XmlTypeCheck.php17
-rw-r--r--includes/ZhClient.php88
-rw-r--r--includes/ZhConversion.php230
-rw-r--r--includes/ZipDirectoryReader.php684
-rw-r--r--includes/actions/CreditsAction.php (renamed from includes/Credits.php)109
-rw-r--r--includes/actions/DeletetrackbackAction.php54
-rw-r--r--includes/actions/InfoAction.php151
-rw-r--r--includes/actions/MarkpatrolledAction.php86
-rw-r--r--includes/actions/PurgeAction.php100
-rw-r--r--includes/actions/RevertAction.php140
-rw-r--r--includes/actions/RevisiondeleteAction.php53
-rw-r--r--includes/actions/RollbackAction.php122
-rw-r--r--includes/actions/WatchAction.php183
-rw-r--r--includes/api/ApiBase.php276
-rw-r--r--includes/api/ApiBlock.php85
-rw-r--r--includes/api/ApiComparePages.php130
-rw-r--r--includes/api/ApiDelete.php42
-rw-r--r--includes/api/ApiDisabled.php6
-rw-r--r--includes/api/ApiEditPage.php105
-rw-r--r--includes/api/ApiEmailUser.php8
-rw-r--r--includes/api/ApiExpandTemplates.php21
-rw-r--r--includes/api/ApiFeedContributions.php207
-rw-r--r--includes/api/ApiFeedWatchlist.php41
-rw-r--r--includes/api/ApiFileRevert.php189
-rw-r--r--includes/api/ApiFormatBase.php22
-rw-r--r--includes/api/ApiFormatDbg.php6
-rw-r--r--includes/api/ApiFormatDump.php4
-rw-r--r--includes/api/ApiFormatJson.php4
-rw-r--r--includes/api/ApiFormatPhp.php4
-rw-r--r--includes/api/ApiFormatRaw.php8
-rw-r--r--includes/api/ApiFormatTxt.php6
-rw-r--r--includes/api/ApiFormatWddx.php4
-rw-r--r--includes/api/ApiFormatXml.php24
-rw-r--r--includes/api/ApiFormatYaml.php14
-rw-r--r--includes/api/ApiHelp.php17
-rw-r--r--includes/api/ApiImport.php38
-rw-r--r--includes/api/ApiLogin.php25
-rw-r--r--includes/api/ApiLogout.php10
-rw-r--r--includes/api/ApiMain.php256
-rw-r--r--includes/api/ApiMove.php49
-rw-r--r--includes/api/ApiOpenSearch.php12
-rw-r--r--includes/api/ApiPageSet.php127
-rw-r--r--includes/api/ApiParamInfo.php83
-rw-r--r--includes/api/ApiParse.php209
-rw-r--r--includes/api/ApiPatrol.php10
-rw-r--r--includes/api/ApiProtect.php24
-rw-r--r--includes/api/ApiPurge.php47
-rw-r--r--includes/api/ApiQuery.php74
-rw-r--r--includes/api/ApiQueryAllCategories.php28
-rw-r--r--includes/api/ApiQueryAllLinks.php31
-rw-r--r--includes/api/ApiQueryAllUsers.php189
-rw-r--r--includes/api/ApiQueryAllimages.php68
-rw-r--r--includes/api/ApiQueryAllmessages.php135
-rw-r--r--includes/api/ApiQueryAllpages.php74
-rw-r--r--includes/api/ApiQueryBacklinks.php80
-rw-r--r--includes/api/ApiQueryBase.php104
-rw-r--r--includes/api/ApiQueryBlocks.php86
-rw-r--r--includes/api/ApiQueryCategories.php14
-rw-r--r--includes/api/ApiQueryCategoryInfo.php8
-rw-r--r--includes/api/ApiQueryCategoryMembers.php88
-rw-r--r--includes/api/ApiQueryDeletedrevs.php117
-rw-r--r--includes/api/ApiQueryDisabled.php6
-rw-r--r--includes/api/ApiQueryDuplicateFiles.php14
-rw-r--r--includes/api/ApiQueryExtLinksUsage.php109
-rw-r--r--includes/api/ApiQueryExternalLinks.php52
-rw-r--r--includes/api/ApiQueryFilearchive.php113
-rw-r--r--includes/api/ApiQueryIWBacklinks.php13
-rw-r--r--includes/api/ApiQueryIWLinks.php33
-rw-r--r--includes/api/ApiQueryImageInfo.php227
-rw-r--r--includes/api/ApiQueryImages.php28
-rw-r--r--includes/api/ApiQueryInfo.php50
-rw-r--r--includes/api/ApiQueryLangBacklinks.php220
-rw-r--r--includes/api/ApiQueryLangLinks.php39
-rw-r--r--includes/api/ApiQueryLinks.php18
-rw-r--r--includes/api/ApiQueryLogEvents.php82
-rw-r--r--includes/api/ApiQueryPageProps.php62
-rw-r--r--includes/api/ApiQueryProtectedTitles.php32
-rw-r--r--includes/api/ApiQueryQueryPage.php198
-rw-r--r--includes/api/ApiQueryRandom.php22
-rw-r--r--includes/api/ApiQueryRecentChanges.php132
-rw-r--r--includes/api/ApiQueryRevisions.php57
-rw-r--r--includes/api/ApiQuerySearch.php38
-rw-r--r--includes/api/ApiQuerySiteinfo.php140
-rw-r--r--includes/api/ApiQueryStashImageInfo.php93
-rw-r--r--includes/api/ApiQueryTags.php20
-rw-r--r--includes/api/ApiQueryUserContributions.php30
-rw-r--r--includes/api/ApiQueryUserInfo.php41
-rw-r--r--includes/api/ApiQueryUsers.php97
-rw-r--r--includes/api/ApiQueryWatchlist.php94
-rw-r--r--includes/api/ApiQueryWatchlistRaw.php14
-rw-r--r--includes/api/ApiResult.php35
-rw-r--r--includes/api/ApiRollback.php24
-rw-r--r--includes/api/ApiRsd.php15
-rw-r--r--includes/api/ApiUnblock.php46
-rw-r--r--includes/api/ApiUndelete.php19
-rw-r--r--includes/api/ApiUpload.php291
-rw-r--r--includes/api/ApiUserrights.php17
-rw-r--r--includes/api/ApiWatch.php33
-rw-r--r--includes/cache/CacheDependency.php (renamed from includes/CacheDependency.php)29
-rw-r--r--includes/cache/HTMLCacheUpdate.php (renamed from includes/HTMLCacheUpdate.php)28
-rw-r--r--includes/cache/HTMLFileCache.php (renamed from includes/HTMLFileCache.php)51
-rw-r--r--includes/cache/LinkBatch.php (renamed from includes/LinkBatch.php)37
-rw-r--r--includes/cache/LinkCache.php (renamed from includes/LinkCache.php)30
-rw-r--r--includes/cache/MemcachedSessions.php (renamed from includes/MemcachedSessions.php)5
-rw-r--r--includes/cache/MessageCache.php (renamed from includes/MessageCache.php)539
-rw-r--r--includes/cache/SquidUpdate.php (renamed from includes/SquidUpdate.php)50
-rw-r--r--includes/db/CloneDatabase.php158
-rw-r--r--includes/db/Database.php1763
-rw-r--r--includes/db/DatabaseError.php314
-rw-r--r--includes/db/DatabaseIbm_db2.php292
-rw-r--r--includes/db/DatabaseMssql.php484
-rw-r--r--includes/db/DatabaseMysql.php219
-rw-r--r--includes/db/DatabaseOracle.php290
-rw-r--r--includes/db/DatabasePostgres.php178
-rw-r--r--includes/db/DatabaseSqlite.php299
-rw-r--r--includes/db/DatabaseUtility.php268
-rw-r--r--includes/db/LBFactory.php47
-rw-r--r--includes/db/LBFactory_Multi.php22
-rw-r--r--includes/db/LBFactory_Single.php42
-rw-r--r--includes/db/LoadBalancer.php203
-rw-r--r--includes/db/LoadMonitor.php67
-rw-r--r--includes/diff/DairikiDiff.php (renamed from includes/diff/WikiDiff.php)450
-rw-r--r--includes/diff/DifferenceEngine.php259
-rw-r--r--includes/diff/WikiDiff3.php14
-rw-r--r--includes/extauth/MediaWiki.php35
-rw-r--r--includes/extauth/vB.php6
-rw-r--r--includes/filerepo/ArchivedFile.php69
-rw-r--r--includes/filerepo/FSRepo.php122
-rw-r--r--includes/filerepo/File.php541
-rw-r--r--includes/filerepo/FileRepo.php122
-rw-r--r--includes/filerepo/FileRepoStatus.php12
-rw-r--r--includes/filerepo/ForeignAPIFile.php29
-rw-r--r--includes/filerepo/ForeignAPIRepo.php51
-rw-r--r--includes/filerepo/ForeignDBFile.php23
-rw-r--r--includes/filerepo/ForeignDBRepo.php4
-rw-r--r--includes/filerepo/Image.php80
-rw-r--r--includes/filerepo/LocalFile.php273
-rw-r--r--includes/filerepo/LocalRepo.php37
-rw-r--r--includes/filerepo/NullRepo.php3
-rw-r--r--includes/filerepo/OldLocalFile.php100
-rw-r--r--includes/filerepo/README18
-rw-r--r--includes/filerepo/RepoGroup.php56
-rw-r--r--includes/filerepo/UnregisteredLocalFile.php24
-rw-r--r--includes/installer/CliInstaller.php21
-rw-r--r--includes/installer/DatabaseInstaller.php27
-rw-r--r--includes/installer/DatabaseUpdater.php82
-rw-r--r--includes/installer/Ibm_db2Installer.php251
-rw-r--r--includes/installer/Ibm_db2Updater.php69
-rw-r--r--includes/installer/InstallDocFormatter.php42
-rw-r--r--includes/installer/Installer.i18n.php6105
-rw-r--r--includes/installer/Installer.php115
-rw-r--r--includes/installer/LocalSettingsGenerator.php19
-rw-r--r--includes/installer/MysqlInstaller.php62
-rw-r--r--includes/installer/MysqlUpdater.php36
-rw-r--r--includes/installer/OracleInstaller.php6
-rw-r--r--includes/installer/OracleUpdater.php35
-rw-r--r--includes/installer/PhpBugTests.php2
-rw-r--r--includes/installer/PostgresInstaller.php54
-rw-r--r--includes/installer/PostgresUpdater.php2
-rw-r--r--includes/installer/SqliteInstaller.php43
-rw-r--r--includes/installer/SqliteUpdater.php7
-rw-r--r--includes/installer/WebInstaller.php89
-rw-r--r--includes/installer/WebInstallerOutput.php27
-rw-r--r--includes/installer/WebInstallerPage.php114
-rw-r--r--includes/interwiki/Interwiki.php (renamed from includes/Interwiki.php)32
-rw-r--r--includes/job/DoubleRedirectJob.php10
-rw-r--r--includes/job/JobQueue.php74
-rw-r--r--includes/job/RefreshLinksJob.php2
-rw-r--r--includes/job/UploadFromUrlJob.php61
-rw-r--r--includes/json/FormatJson.php7
-rw-r--r--includes/json/Services_JSON.php80
-rw-r--r--includes/libs/CSSMin.php52
-rw-r--r--includes/libs/HttpStatus.php68
-rw-r--r--includes/libs/jsminplus.php2094
-rw-r--r--includes/libs/spyc.php248
-rw-r--r--includes/media/BMP.php35
-rw-r--r--includes/media/Bitmap.php363
-rw-r--r--includes/media/BitmapMetadataHandler.php269
-rw-r--r--includes/media/Bitmap_ClientOnly.php14
-rw-r--r--includes/media/DjVu.php65
-rw-r--r--includes/media/Exif.php836
-rw-r--r--includes/media/ExifBitmap.php210
-rw-r--r--includes/media/FormatMetadata.php1354
-rw-r--r--includes/media/GIF.php103
-rw-r--r--includes/media/GIFMetadataExtractor.php236
-rw-r--r--includes/media/Generic.php302
-rw-r--r--includes/media/IPTC.php576
-rw-r--r--includes/media/Jpeg.php46
-rw-r--r--includes/media/JpegMetadataExtractor.php252
-rw-r--r--includes/media/MediaTransformOutput.php26
-rw-r--r--includes/media/PNG.php88
-rw-r--r--includes/media/PNGMetadataExtractor.php359
-rw-r--r--includes/media/SVG.php92
-rw-r--r--includes/media/SVGMetadataExtractor.php27
-rw-r--r--includes/media/Tiff.php51
-rw-r--r--includes/media/XMP.php1174
-rw-r--r--includes/media/XMPInfo.php1139
-rw-r--r--includes/media/XMPValidate.php323
-rw-r--r--includes/mime.info3
-rw-r--r--includes/mime.types2
-rw-r--r--includes/normal/Makefile10
-rw-r--r--includes/normal/Utf8Case.php30
-rw-r--r--includes/normal/Utf8CaseGenerate.php1
-rw-r--r--includes/normal/Utf8Test.php2
-rw-r--r--includes/normal/UtfNormal.php42
-rw-r--r--includes/normal/UtfNormalBench.php1
-rw-r--r--includes/normal/UtfNormalData.inc10
-rw-r--r--includes/normal/UtfNormalDataK.inc2
-rw-r--r--includes/normal/UtfNormalDefines.php6
-rw-r--r--includes/normal/UtfNormalGenerate.php1
-rw-r--r--includes/normal/UtfNormalMemStress.php110
-rw-r--r--includes/normal/UtfNormalTest.php1
-rw-r--r--includes/normal/UtfNormalTest2.php6
-rw-r--r--includes/normal/UtfNormalUtil.php6
-rw-r--r--includes/objectcache/APCBagOStuff.php43
-rw-r--r--includes/objectcache/BagOStuff.php164
-rw-r--r--includes/objectcache/DBABagOStuff.php194
-rw-r--r--includes/objectcache/EhcacheBagOStuff.php230
-rw-r--r--includes/objectcache/EmptyBagOStuff.php27
-rw-r--r--includes/objectcache/HashBagOStuff.php58
-rw-r--r--includes/objectcache/MemcachedClient.php (renamed from includes/memcached-client.php)41
-rw-r--r--includes/objectcache/MemcachedPhpBagOStuff.php178
-rw-r--r--includes/objectcache/MultiWriteBagOStuff.php113
-rw-r--r--includes/objectcache/ObjectCache.php119
-rw-r--r--includes/objectcache/SqlBagOStuff.php432
-rw-r--r--includes/objectcache/WinCacheBagOStuff.php71
-rw-r--r--includes/objectcache/XCacheBagOStuff.php51
-rw-r--r--includes/objectcache/eAccelBagOStuff.php46
-rw-r--r--includes/parser/CoreLinkFunctions.php30
-rw-r--r--includes/parser/CoreParserFunctions.php173
-rw-r--r--includes/parser/CoreTagHooks.php65
-rw-r--r--includes/parser/DateFormatter.php8
-rw-r--r--includes/parser/LinkHolderArray.php252
-rw-r--r--includes/parser/Parser.php1224
-rw-r--r--includes/parser/ParserCache.php44
-rw-r--r--includes/parser/ParserOptions.php192
-rw-r--r--includes/parser/ParserOutput.php133
-rw-r--r--includes/parser/Parser_DiffTest.php4
-rw-r--r--includes/parser/Parser_LinkHooks.php21
-rw-r--r--includes/parser/Preprocessor.php48
-rw-r--r--includes/parser/Preprocessor_DOM.php249
-rw-r--r--includes/parser/Preprocessor_Hash.php214
-rw-r--r--includes/parser/Preprocessor_HipHop.hphp1941
-rw-r--r--includes/parser/StripState.php175
-rw-r--r--includes/parser/Tidy.php163
-rw-r--r--includes/profiler/Profiler.php (renamed from includes/Profiler.php)311
-rw-r--r--includes/profiler/ProfilerSimple.php (renamed from includes/ProfilerSimple.php)47
-rw-r--r--includes/profiler/ProfilerSimpleText.php54
-rw-r--r--includes/profiler/ProfilerSimpleTrace.php (renamed from includes/ProfilerSimpleTrace.php)10
-rw-r--r--includes/profiler/ProfilerSimpleUDP.php (renamed from includes/ProfilerSimpleUDP.php)8
-rw-r--r--includes/profiler/ProfilerStub.php15
-rw-r--r--includes/resourceloader/ResourceLoader.php297
-rw-r--r--includes/resourceloader/ResourceLoaderContext.php50
-rw-r--r--includes/resourceloader/ResourceLoaderFileModule.php270
-rw-r--r--includes/resourceloader/ResourceLoaderFilePageModule.php11
-rw-r--r--includes/resourceloader/ResourceLoaderModule.php189
-rw-r--r--includes/resourceloader/ResourceLoaderNoscriptModule.php52
-rw-r--r--includes/resourceloader/ResourceLoaderSiteModule.php4
-rw-r--r--includes/resourceloader/ResourceLoaderStartUpModule.php143
-rw-r--r--includes/resourceloader/ResourceLoaderUserGroupsModule.php59
-rw-r--r--includes/resourceloader/ResourceLoaderUserModule.php12
-rw-r--r--includes/resourceloader/ResourceLoaderUserOptionsModule.php29
-rw-r--r--includes/resourceloader/ResourceLoaderUserTokensModule.php63
-rw-r--r--includes/resourceloader/ResourceLoaderWikiModule.php44
-rw-r--r--includes/revisiondelete/RevisionDelete.php374
-rw-r--r--includes/revisiondelete/RevisionDeleteAbstracts.php235
-rw-r--r--includes/revisiondelete/RevisionDeleteUser.php130
-rw-r--r--includes/revisiondelete/RevisionDeleter.php191
-rw-r--r--includes/search/SearchEngine.php124
-rw-r--r--includes/search/SearchIBM_DB2.php4
-rw-r--r--includes/search/SearchMssql.php8
-rw-r--r--includes/search/SearchMySQL.php190
-rw-r--r--includes/search/SearchOracle.php14
-rw-r--r--includes/search/SearchPostgres.php36
-rw-r--r--includes/search/SearchSqlite.php12
-rw-r--r--includes/search/SearchUpdate.php4
-rw-r--r--includes/specials/SpecialActiveusers.php14
-rw-r--r--includes/specials/SpecialAllmessages.php214
-rw-r--r--includes/specials/SpecialAllpages.php80
-rw-r--r--includes/specials/SpecialAncientpages.php40
-rw-r--r--includes/specials/SpecialBlankpage.php3
-rw-r--r--includes/specials/SpecialBlock.php855
-rw-r--r--includes/specials/SpecialBlockList.php437
-rw-r--r--includes/specials/SpecialBlockip.php892
-rw-r--r--includes/specials/SpecialBlockme.php8
-rw-r--r--includes/specials/SpecialBooksources.php41
-rw-r--r--includes/specials/SpecialBrokenRedirects.php75
-rw-r--r--includes/specials/SpecialCategories.php19
-rw-r--r--includes/specials/SpecialChangePassword.php (renamed from includes/specials/SpecialResetpass.php)64
-rw-r--r--includes/specials/SpecialComparePages.php170
-rw-r--r--includes/specials/SpecialConfirmemail.php79
-rw-r--r--includes/specials/SpecialContributions.php322
-rw-r--r--includes/specials/SpecialDeadendpages.php58
-rw-r--r--includes/specials/SpecialDeletedContributions.php31
-rw-r--r--includes/specials/SpecialDisambiguations.php109
-rw-r--r--includes/specials/SpecialDoubleRedirects.php86
-rw-r--r--includes/specials/SpecialEditWatchlist.php596
-rw-r--r--includes/specials/SpecialEmailuser.php112
-rw-r--r--includes/specials/SpecialExport.php127
-rw-r--r--includes/specials/SpecialFewestrevisions.php41
-rw-r--r--includes/specials/SpecialFileDuplicateSearch.php226
-rw-r--r--includes/specials/SpecialFilepath.php11
-rw-r--r--includes/specials/SpecialImport.php50
-rw-r--r--includes/specials/SpecialIpblocklist.php581
-rw-r--r--includes/specials/SpecialLinkSearch.php202
-rw-r--r--includes/specials/SpecialListfiles.php148
-rw-r--r--includes/specials/SpecialListgrouprights.php62
-rw-r--r--includes/specials/SpecialListredirects.php96
-rw-r--r--includes/specials/SpecialListusers.php86
-rw-r--r--includes/specials/SpecialLockdb.php24
-rw-r--r--includes/specials/SpecialLog.php9
-rw-r--r--includes/specials/SpecialLonelypages.php64
-rw-r--r--includes/specials/SpecialLongpages.php15
-rw-r--r--includes/specials/SpecialMIMEsearch.php151
-rw-r--r--includes/specials/SpecialMergeHistory.php210
-rw-r--r--includes/specials/SpecialMostcategories.php49
-rw-r--r--includes/specials/SpecialMostimages.php39
-rw-r--r--includes/specials/SpecialMostlinked.php62
-rw-r--r--includes/specials/SpecialMostlinkedcategories.php57
-rw-r--r--includes/specials/SpecialMostlinkedtemplates.php50
-rw-r--r--includes/specials/SpecialMostrevisions.php62
-rw-r--r--includes/specials/SpecialMovepage.php36
-rw-r--r--includes/specials/SpecialNewimages.php308
-rw-r--r--includes/specials/SpecialNewpages.php286
-rw-r--r--includes/specials/SpecialPasswordReset.php273
-rw-r--r--includes/specials/SpecialPopularpages.php51
-rw-r--r--includes/specials/SpecialPreferences.php5
-rw-r--r--includes/specials/SpecialPrefixindex.php58
-rw-r--r--includes/specials/SpecialProtectedpages.php39
-rw-r--r--includes/specials/SpecialProtectedtitles.php26
-rw-r--r--includes/specials/SpecialRandompage.php90
-rw-r--r--includes/specials/SpecialRecentchanges.php417
-rw-r--r--includes/specials/SpecialRecentchangeslinked.php52
-rw-r--r--includes/specials/SpecialRevisiondelete.php238
-rw-r--r--includes/specials/SpecialSearch.php412
-rw-r--r--includes/specials/SpecialShortpages.php60
-rw-r--r--includes/specials/SpecialSpecialpages.php44
-rw-r--r--includes/specials/SpecialStatistics.php121
-rw-r--r--includes/specials/SpecialTags.php16
-rw-r--r--includes/specials/SpecialUnblock.php209
-rw-r--r--includes/specials/SpecialUncategorizedcategories.php18
-rw-r--r--includes/specials/SpecialUncategorizedimages.php32
-rw-r--r--includes/specials/SpecialUncategorizedpages.php54
-rw-r--r--includes/specials/SpecialUncategorizedtemplates.php18
-rw-r--r--includes/specials/SpecialUndelete.php703
-rw-r--r--includes/specials/SpecialUnlockdb.php16
-rw-r--r--includes/specials/SpecialUnusedcategories.php34
-rw-r--r--includes/specials/SpecialUnusedimages.php70
-rw-r--r--includes/specials/SpecialUnusedtemplates.php39
-rw-r--r--includes/specials/SpecialUnwatchedpages.php66
-rw-r--r--includes/specials/SpecialUpload.php150
-rw-r--r--includes/specials/SpecialUploadStash.php168
-rw-r--r--includes/specials/SpecialUserlogin.php405
-rw-r--r--includes/specials/SpecialUserrights.php29
-rw-r--r--includes/specials/SpecialVersion.php303
-rw-r--r--includes/specials/SpecialWantedcategories.php48
-rw-r--r--includes/specials/SpecialWantedfiles.php45
-rw-r--r--includes/specials/SpecialWantedpages.php102
-rw-r--r--includes/specials/SpecialWantedtemplates.php44
-rw-r--r--includes/specials/SpecialWatchlist.php825
-rw-r--r--includes/specials/SpecialWhatlinkshere.php86
-rw-r--r--includes/specials/SpecialWithoutinterwiki.php66
-rw-r--r--includes/templates/PHP4.php102
-rw-r--r--includes/templates/Userlogin.php48
-rw-r--r--includes/upload/UploadBase.php314
-rw-r--r--includes/upload/UploadFromFile.php33
-rw-r--r--includes/upload/UploadFromStash.php130
-rw-r--r--includes/upload/UploadFromUrl.php31
-rw-r--r--includes/upload/UploadStash.php615
-rw-r--r--includes/zhtable/Makefile.py14
-rw-r--r--includes/zhtable/simp2trad_noconvert.manual137
-rw-r--r--includes/zhtable/simpphrases.manual6
-rw-r--r--includes/zhtable/toCN.manual9
-rw-r--r--includes/zhtable/toHK.manual4
-rw-r--r--includes/zhtable/toSimp.manual5
-rw-r--r--includes/zhtable/toTW.manual8
-rw-r--r--includes/zhtable/toTrad.manual6
-rw-r--r--includes/zhtable/trad2simp.manual144
-rw-r--r--includes/zhtable/trad2simp_noconvert.manual1
-rw-r--r--includes/zhtable/tradphrases.manual50
-rw-r--r--includes/zhtable/tradphrases_exclude.manual1
-rw-r--r--index.php93
-rw-r--r--languages/Language.php957
-rw-r--r--languages/LanguageConverter.php218
-rw-r--r--languages/Names.php28
-rw-r--r--languages/classes/LanguageAm.php5
-rw-r--r--languages/classes/LanguageAr.php12
-rw-r--r--languages/classes/LanguageAz.php5
-rw-r--r--languages/classes/LanguageBe.php8
-rw-r--r--languages/classes/LanguageBe_tarask.php32
-rw-r--r--languages/classes/LanguageBg.php4
-rw-r--r--languages/classes/LanguageBh.php5
-rw-r--r--languages/classes/LanguageBs.php12
-rw-r--r--languages/classes/LanguageCs.php15
-rw-r--r--languages/classes/LanguageCu.php16
-rw-r--r--languages/classes/LanguageCy.php8
-rw-r--r--languages/classes/LanguageDsb.php16
-rw-r--r--languages/classes/LanguageEo.php14
-rw-r--r--languages/classes/LanguageEt.php4
-rw-r--r--languages/classes/LanguageFi.php15
-rw-r--r--languages/classes/LanguageFr.php5
-rw-r--r--languages/classes/LanguageGa.php16
-rw-r--r--languages/classes/LanguageGan.php47
-rw-r--r--languages/classes/LanguageGd.php27
-rw-r--r--languages/classes/LanguageGv.php5
-rw-r--r--languages/classes/LanguageHe.php2
-rw-r--r--languages/classes/LanguageHi.php5
-rw-r--r--languages/classes/LanguageHr.php7
-rw-r--r--languages/classes/LanguageHsb.php16
-rw-r--r--languages/classes/LanguageHu.php6
-rw-r--r--languages/classes/LanguageHy.php24
-rw-r--r--languages/classes/LanguageIu.deps.php8
-rw-r--r--languages/classes/LanguageIu.php224
-rw-r--r--languages/classes/LanguageJa.php14
-rw-r--r--languages/classes/LanguageKaa.php35
-rw-r--r--languages/classes/LanguageKk.php75
-rw-r--r--languages/classes/LanguageKk_cyrl.php25
-rw-r--r--languages/classes/LanguageKm.php5
-rw-r--r--languages/classes/LanguageKsh.php144
-rw-r--r--languages/classes/LanguageKu.php25
-rw-r--r--languages/classes/LanguageKu_ku.php4
-rw-r--r--languages/classes/LanguageLa.php5
-rw-r--r--languages/classes/LanguageLn.php6
-rw-r--r--languages/classes/LanguageLt.php7
-rw-r--r--languages/classes/LanguageLv.php2
-rw-r--r--languages/classes/LanguageMg.php5
-rw-r--r--languages/classes/LanguageMk.php5
-rw-r--r--languages/classes/LanguageMl.php6
-rw-r--r--languages/classes/LanguageMo.php6
-rw-r--r--languages/classes/LanguageMt.php6
-rw-r--r--languages/classes/LanguageMy.php5
-rw-r--r--languages/classes/LanguageNso.php5
-rw-r--r--languages/classes/LanguageOs.php87
-rw-r--r--languages/classes/LanguagePl.php10
-rw-r--r--languages/classes/LanguageQqx.php15
-rw-r--r--languages/classes/LanguageRo.php6
-rw-r--r--languages/classes/LanguageRu.php23
-rw-r--r--languages/classes/LanguageSe.php6
-rw-r--r--languages/classes/LanguageSgs.php (renamed from languages/classes/LanguageBat_smg.php)7
-rw-r--r--languages/classes/LanguageSh.php8
-rw-r--r--languages/classes/LanguageSk.php6
-rw-r--r--languages/classes/LanguageSl.php11
-rw-r--r--languages/classes/LanguageSma.php12
-rw-r--r--languages/classes/LanguageSr.php58
-rw-r--r--languages/classes/LanguageSr_ec.php6
-rw-r--r--languages/classes/LanguageSr_el.php6
-rw-r--r--languages/classes/LanguageTi.php5
-rw-r--r--languages/classes/LanguageTl.php5
-rw-r--r--languages/classes/LanguageTr.php23
-rw-r--r--languages/classes/LanguageTyv.php2
-rw-r--r--languages/classes/LanguageUk.php24
-rw-r--r--languages/classes/LanguageWa.php32
-rw-r--r--languages/classes/LanguageYue.php13
-rw-r--r--languages/classes/LanguageZh.php39
-rw-r--r--languages/classes/LanguageZh_hans.php14
-rw-r--r--languages/messages/MessagesAb.php14
-rw-r--r--languages/messages/MessagesAce.php174
-rw-r--r--languages/messages/MessagesAf.php693
-rw-r--r--languages/messages/MessagesAln.php64
-rw-r--r--languages/messages/MessagesAm.php160
-rw-r--r--languages/messages/MessagesAn.php365
-rw-r--r--languages/messages/MessagesAng.php55
-rw-r--r--languages/messages/MessagesAnp.php743
-rw-r--r--languages/messages/MessagesAr.php877
-rw-r--r--languages/messages/MessagesArc.php107
-rw-r--r--languages/messages/MessagesArn.php183
-rw-r--r--languages/messages/MessagesAry.php335
-rw-r--r--languages/messages/MessagesArz.php309
-rw-r--r--languages/messages/MessagesAs.php547
-rw-r--r--languages/messages/MessagesAst.php645
-rw-r--r--languages/messages/MessagesAv.php3
-rw-r--r--languages/messages/MessagesAvk.php236
-rw-r--r--languages/messages/MessagesAy.php1
-rw-r--r--languages/messages/MessagesAz.php432
-rw-r--r--languages/messages/MessagesBa.php233
-rw-r--r--languages/messages/MessagesBar.php645
-rw-r--r--languages/messages/MessagesBcc.php310
-rw-r--r--languages/messages/MessagesBcl.php108
-rw-r--r--languages/messages/MessagesBe.php270
-rw-r--r--languages/messages/MessagesBe_tarask.php636
-rw-r--r--languages/messages/MessagesBg.php609
-rw-r--r--languages/messages/MessagesBh.php735
-rw-r--r--languages/messages/MessagesBho.php739
-rw-r--r--languages/messages/MessagesBi.php8
-rw-r--r--languages/messages/MessagesBjn.php392
-rw-r--r--languages/messages/MessagesBm.php1
-rw-r--r--languages/messages/MessagesBn.php595
-rw-r--r--languages/messages/MessagesBo.php39
-rw-r--r--languages/messages/MessagesBpy.php113
-rw-r--r--languages/messages/MessagesBqi.php31
-rw-r--r--languages/messages/MessagesBr.php664
-rw-r--r--languages/messages/MessagesBrh.php650
-rw-r--r--languages/messages/MessagesBs.php697
-rw-r--r--languages/messages/MessagesBug.php5
-rw-r--r--languages/messages/MessagesCa.php687
-rw-r--r--languages/messages/MessagesCdo.php27
-rw-r--r--languages/messages/MessagesCe.php75
-rw-r--r--languages/messages/MessagesCeb.php74
-rw-r--r--languages/messages/MessagesCh.php36
-rw-r--r--languages/messages/MessagesCkb.php339
-rw-r--r--languages/messages/MessagesCo.php12
-rw-r--r--languages/messages/MessagesCps.php40
-rw-r--r--languages/messages/MessagesCrh_cyrl.php204
-rw-r--r--languages/messages/MessagesCrh_latn.php202
-rw-r--r--languages/messages/MessagesCs.php696
-rw-r--r--languages/messages/MessagesCsb.php71
-rw-r--r--languages/messages/MessagesCu.php41
-rw-r--r--languages/messages/MessagesCv.php40
-rw-r--r--languages/messages/MessagesCy.php548
-rw-r--r--languages/messages/MessagesDa.php677
-rw-r--r--languages/messages/MessagesDe.php794
-rw-r--r--languages/messages/MessagesDe_ch.php24
-rw-r--r--languages/messages/MessagesDe_formal.php88
-rw-r--r--languages/messages/MessagesDiq.php227
-rw-r--r--languages/messages/MessagesDsb.php763
-rw-r--r--languages/messages/MessagesDtp.php1413
-rw-r--r--languages/messages/MessagesDv.php33
-rw-r--r--languages/messages/MessagesDz.php31
-rw-r--r--languages/messages/MessagesEe.php11
-rw-r--r--languages/messages/MessagesEl.php672
-rw-r--r--languages/messages/MessagesEml.php2
-rw-r--r--languages/messages/MessagesEn.php866
-rw-r--r--languages/messages/MessagesEn_gb.php11
-rw-r--r--languages/messages/MessagesEo.php698
-rw-r--r--languages/messages/MessagesEs.php774
-rw-r--r--languages/messages/MessagesEt.php649
-rw-r--r--languages/messages/MessagesEu.php478
-rw-r--r--languages/messages/MessagesExt.php117
-rw-r--r--languages/messages/MessagesFa.php722
-rw-r--r--languages/messages/MessagesFi.php771
-rw-r--r--languages/messages/MessagesFo.php641
-rw-r--r--languages/messages/MessagesFr.php683
-rw-r--r--languages/messages/MessagesFrc.php20
-rw-r--r--languages/messages/MessagesFrp.php746
-rw-r--r--languages/messages/MessagesFrr.php131
-rw-r--r--languages/messages/MessagesFur.php193
-rw-r--r--languages/messages/MessagesFy.php298
-rw-r--r--languages/messages/MessagesGa.php116
-rw-r--r--languages/messages/MessagesGag.php122
-rw-r--r--languages/messages/MessagesGan_hans.php145
-rw-r--r--languages/messages/MessagesGan_hant.php195
-rw-r--r--languages/messages/MessagesGd.php122
-rw-r--r--languages/messages/MessagesGl.php968
-rw-r--r--languages/messages/MessagesGn.php3
-rw-r--r--languages/messages/MessagesGot.php11
-rw-r--r--languages/messages/MessagesGrc.php246
-rw-r--r--languages/messages/MessagesGsw.php677
-rw-r--r--languages/messages/MessagesGu.php394
-rw-r--r--languages/messages/MessagesGv.php122
-rw-r--r--languages/messages/MessagesHa.php37
-rw-r--r--languages/messages/MessagesHak.php105
-rw-r--r--languages/messages/MessagesHaw.php47
-rw-r--r--languages/messages/MessagesHe.php779
-rw-r--r--languages/messages/MessagesHi.php255
-rw-r--r--languages/messages/MessagesHif_latn.php211
-rw-r--r--languages/messages/MessagesHil.php116
-rw-r--r--languages/messages/MessagesHr.php693
-rw-r--r--languages/messages/MessagesHsb.php702
-rw-r--r--languages/messages/MessagesHt.php207
-rw-r--r--languages/messages/MessagesHu.php842
-rw-r--r--languages/messages/MessagesHy.php241
-rw-r--r--languages/messages/MessagesIa.php718
-rw-r--r--languages/messages/MessagesId.php718
-rw-r--r--languages/messages/MessagesIe.php267
-rw-r--r--languages/messages/MessagesIg.php89
-rw-r--r--languages/messages/MessagesIke_cans.php9
-rw-r--r--languages/messages/MessagesIke_latn.php9
-rw-r--r--languages/messages/MessagesIlo.php595
-rw-r--r--languages/messages/MessagesInh.php65
-rw-r--r--languages/messages/MessagesIo.php153
-rw-r--r--languages/messages/MessagesIs.php2007
-rw-r--r--languages/messages/MessagesIt.php703
-rw-r--r--languages/messages/MessagesJa.php849
-rw-r--r--languages/messages/MessagesJam.php1114
-rw-r--r--languages/messages/MessagesJut.php35
-rw-r--r--languages/messages/MessagesJv.php172
-rw-r--r--languages/messages/MessagesKa.php549
-rw-r--r--languages/messages/MessagesKaa.php175
-rw-r--r--languages/messages/MessagesKab.php75
-rw-r--r--languages/messages/MessagesKbd_cyrl.php56
-rw-r--r--languages/messages/MessagesKhw.php1083
-rw-r--r--languages/messages/MessagesKiu.php97
-rw-r--r--languages/messages/MessagesKk_arab.php292
-rw-r--r--languages/messages/MessagesKk_cyrl.php316
-rw-r--r--languages/messages/MessagesKk_latn.php295
-rw-r--r--languages/messages/MessagesKl.php10
-rw-r--r--languages/messages/MessagesKm.php844
-rw-r--r--languages/messages/MessagesKn.php180
-rw-r--r--languages/messages/MessagesKo.php716
-rw-r--r--languages/messages/MessagesKoi.php39
-rw-r--r--languages/messages/MessagesKrc.php212
-rw-r--r--languages/messages/MessagesKri.php1
-rw-r--r--languages/messages/MessagesKrj.php1
-rw-r--r--languages/messages/MessagesKs.php18
-rw-r--r--languages/messages/MessagesKs_arab.php75
-rw-r--r--languages/messages/MessagesKs_deva.php33
-rw-r--r--languages/messages/MessagesKsh.php785
-rw-r--r--languages/messages/MessagesKu_latn.php250
-rw-r--r--languages/messages/MessagesKw.php73
-rw-r--r--languages/messages/MessagesKy.php12
-rw-r--r--languages/messages/MessagesLa.php397
-rw-r--r--languages/messages/MessagesLad.php225
-rw-r--r--languages/messages/MessagesLb.php696
-rw-r--r--languages/messages/MessagesLez.php160
-rw-r--r--languages/messages/MessagesLfn.php44
-rw-r--r--languages/messages/MessagesLg.php78
-rw-r--r--languages/messages/MessagesLi.php659
-rw-r--r--languages/messages/MessagesLij.php773
-rw-r--r--languages/messages/MessagesLiv.php783
-rw-r--r--languages/messages/MessagesLmo.php101
-rw-r--r--languages/messages/MessagesLn.php14
-rw-r--r--languages/messages/MessagesLo.php105
-rw-r--r--languages/messages/MessagesLoz.php48
-rw-r--r--languages/messages/MessagesLt.php661
-rw-r--r--languages/messages/MessagesLtg.php46
-rw-r--r--languages/messages/MessagesLv.php459
-rw-r--r--languages/messages/MessagesLzh.php185
-rw-r--r--languages/messages/MessagesLzz.php39
-rw-r--r--languages/messages/MessagesMai.php459
-rw-r--r--languages/messages/MessagesMap_bms.php24
-rw-r--r--languages/messages/MessagesMdf.php310
-rw-r--r--languages/messages/MessagesMg.php323
-rw-r--r--languages/messages/MessagesMhr.php103
-rw-r--r--languages/messages/MessagesMin.php113
-rw-r--r--languages/messages/MessagesMk.php841
-rw-r--r--languages/messages/MessagesMl.php717
-rw-r--r--languages/messages/MessagesMn.php166
-rw-r--r--languages/messages/MessagesMo.php17
-rw-r--r--languages/messages/MessagesMr.php541
-rw-r--r--languages/messages/MessagesMrj.php27
-rw-r--r--languages/messages/MessagesMs.php865
-rw-r--r--languages/messages/MessagesMt.php646
-rw-r--r--languages/messages/MessagesMwl.php45
-rw-r--r--languages/messages/MessagesMy.php242
-rw-r--r--languages/messages/MessagesMyv.php254
-rw-r--r--languages/messages/MessagesMzn.php18
-rw-r--r--languages/messages/MessagesNah.php103
-rw-r--r--languages/messages/MessagesNan.php727
-rw-r--r--languages/messages/MessagesNap.php15
-rw-r--r--languages/messages/MessagesNds.php312
-rw-r--r--languages/messages/MessagesNds_nl.php721
-rw-r--r--languages/messages/MessagesNe.php499
-rw-r--r--languages/messages/MessagesNew.php2
-rw-r--r--languages/messages/MessagesNiu.php3
-rw-r--r--languages/messages/MessagesNl.php788
-rw-r--r--languages/messages/MessagesNl_informal.php38
-rw-r--r--languages/messages/MessagesNn.php517
-rw-r--r--languages/messages/MessagesNo.php772
-rw-r--r--languages/messages/MessagesNov.php8
-rw-r--r--languages/messages/MessagesNso.php70
-rw-r--r--languages/messages/MessagesNv.php2
-rw-r--r--languages/messages/MessagesOc.php366
-rw-r--r--languages/messages/MessagesOr.php478
-rw-r--r--languages/messages/MessagesOs.php68
-rw-r--r--languages/messages/MessagesPa.php203
-rw-r--r--languages/messages/MessagesPag.php9
-rw-r--r--languages/messages/MessagesPam.php114
-rw-r--r--languages/messages/MessagesPap.php11
-rw-r--r--languages/messages/MessagesPcd.php37
-rw-r--r--languages/messages/MessagesPdc.php158
-rw-r--r--languages/messages/MessagesPdt.php25
-rw-r--r--languages/messages/MessagesPfl.php35
-rw-r--r--languages/messages/MessagesPi.php19
-rw-r--r--languages/messages/MessagesPl.php697
-rw-r--r--languages/messages/MessagesPms.php601
-rw-r--r--languages/messages/MessagesPnb.php477
-rw-r--r--languages/messages/MessagesPnt.php54
-rw-r--r--languages/messages/MessagesPrg.php716
-rw-r--r--languages/messages/MessagesPs.php298
-rw-r--r--languages/messages/MessagesPt.php689
-rw-r--r--languages/messages/MessagesPt_br.php737
-rw-r--r--languages/messages/MessagesQqq.php741
-rw-r--r--languages/messages/MessagesQu.php624
-rw-r--r--languages/messages/MessagesQug.php761
-rw-r--r--languages/messages/MessagesRgn.php29
-rw-r--r--languages/messages/MessagesRif.php39
-rw-r--r--languages/messages/MessagesRm.php392
-rw-r--r--languages/messages/MessagesRmy.php21
-rw-r--r--languages/messages/MessagesRo.php712
-rw-r--r--languages/messages/MessagesRoa_rup.php217
-rw-r--r--languages/messages/MessagesRoa_tara.php553
-rw-r--r--languages/messages/MessagesRu.php604
-rw-r--r--languages/messages/MessagesRue.php575
-rw-r--r--languages/messages/MessagesRup.php224
-rw-r--r--languages/messages/MessagesRuq_cyrl.php2
-rw-r--r--languages/messages/MessagesRuq_latn.php2
-rw-r--r--languages/messages/MessagesSa.php380
-rw-r--r--languages/messages/MessagesSah.php552
-rw-r--r--languages/messages/MessagesSc.php66
-rw-r--r--languages/messages/MessagesScn.php291
-rw-r--r--languages/messages/MessagesSco.php83
-rw-r--r--languages/messages/MessagesSd.php140
-rw-r--r--languages/messages/MessagesSdc.php230
-rw-r--r--languages/messages/MessagesSe.php89
-rw-r--r--languages/messages/MessagesSei.php32
-rw-r--r--languages/messages/MessagesSg.php63
-rw-r--r--languages/messages/MessagesSgs.php89
-rw-r--r--languages/messages/MessagesSh.php813
-rw-r--r--languages/messages/MessagesShi.php62
-rw-r--r--languages/messages/MessagesSi.php617
-rw-r--r--languages/messages/MessagesSk.php708
-rw-r--r--languages/messages/MessagesSl.php677
-rw-r--r--languages/messages/MessagesSli.php291
-rw-r--r--languages/messages/MessagesSm.php6
-rw-r--r--languages/messages/MessagesSma.php76
-rw-r--r--languages/messages/MessagesSo.php172
-rw-r--r--languages/messages/MessagesSq.php618
-rw-r--r--languages/messages/MessagesSr.php2
-rw-r--r--languages/messages/MessagesSr_ec.php964
-rw-r--r--languages/messages/MessagesSr_el.php579
-rw-r--r--languages/messages/MessagesSrn.php143
-rw-r--r--languages/messages/MessagesSs.php3
-rw-r--r--languages/messages/MessagesSt.php6
-rw-r--r--languages/messages/MessagesStq.php320
-rw-r--r--languages/messages/MessagesSu.php400
-rw-r--r--languages/messages/MessagesSv.php690
-rw-r--r--languages/messages/MessagesSw.php441
-rw-r--r--languages/messages/MessagesSzl.php397
-rw-r--r--languages/messages/MessagesTa.php268
-rw-r--r--languages/messages/MessagesTcy.php114
-rw-r--r--languages/messages/MessagesTe.php578
-rw-r--r--languages/messages/MessagesTet.php109
-rw-r--r--languages/messages/MessagesTg_cyrl.php174
-rw-r--r--languages/messages/MessagesTg_latn.php159
-rw-r--r--languages/messages/MessagesTh.php413
-rw-r--r--languages/messages/MessagesTk.php182
-rw-r--r--languages/messages/MessagesTl.php621
-rw-r--r--languages/messages/MessagesTo.php51
-rw-r--r--languages/messages/MessagesTp.php12
-rw-r--r--languages/messages/MessagesTpi.php36
-rw-r--r--languages/messages/MessagesTr.php649
-rw-r--r--languages/messages/MessagesTs.php68
-rw-r--r--languages/messages/MessagesTt_cyrl.php290
-rw-r--r--languages/messages/MessagesTt_latn.php105
-rw-r--r--languages/messages/MessagesTyv.php20
-rw-r--r--languages/messages/MessagesUdm.php3
-rw-r--r--languages/messages/MessagesUg_arab.php511
-rw-r--r--languages/messages/MessagesUg_latn.php71
-rw-r--r--languages/messages/MessagesUk.php662
-rw-r--r--languages/messages/MessagesUr.php138
-rw-r--r--languages/messages/MessagesUz.php67
-rw-r--r--languages/messages/MessagesVec.php328
-rw-r--r--languages/messages/MessagesVep.php220
-rw-r--r--languages/messages/MessagesVi.php773
-rw-r--r--languages/messages/MessagesVls.php1
-rw-r--r--languages/messages/MessagesVmf.php64
-rw-r--r--languages/messages/MessagesVo.php278
-rw-r--r--languages/messages/MessagesVot.php27
-rw-r--r--languages/messages/MessagesVro.php122
-rw-r--r--languages/messages/MessagesWa.php85
-rw-r--r--languages/messages/MessagesWar.php75
-rw-r--r--languages/messages/MessagesWo.php125
-rw-r--r--languages/messages/MessagesWuu.php59
-rw-r--r--languages/messages/MessagesXal.php54
-rw-r--r--languages/messages/MessagesXmf.php43
-rw-r--r--languages/messages/MessagesYi.php414
-rw-r--r--languages/messages/MessagesYo.php359
-rw-r--r--languages/messages/MessagesYue.php463
-rw-r--r--languages/messages/MessagesZea.php38
-rw-r--r--languages/messages/MessagesZh.php119
-rw-r--r--languages/messages/MessagesZh_hans.php762
-rw-r--r--languages/messages/MessagesZh_hant.php698
-rw-r--r--languages/messages/MessagesZh_hk.php10
-rw-r--r--languages/messages/MessagesZh_tw.php76
-rw-r--r--languages/messages/MessagesZu.php9
-rw-r--r--load.php19
-rw-r--r--maintenance/7zip.inc18
-rw-r--r--maintenance/Doxyfile11
-rw-r--r--maintenance/Maintenance.php355
-rw-r--r--maintenance/Site.php19
-rw-r--r--maintenance/addwiki.php39
-rw-r--r--maintenance/archives/patch-archive_ar_revid.sql3
-rw-r--r--maintenance/archives/patch-image_reditects.sql0
-rw-r--r--maintenance/archives/patch-math.sql28
-rw-r--r--maintenance/archives/patch-page_no_title_convert.sql0
-rw-r--r--maintenance/archives/patch-profiling.sql2
-rw-r--r--maintenance/archives/patch-up_property.sql4
-rw-r--r--maintenance/archives/patch-uploadstash.sql49
-rw-r--r--maintenance/archives/patch-user-newtalk-timestamp-null.sql1
-rw-r--r--maintenance/archives/patch-user_email_index.sql1
-rw-r--r--maintenance/archives/patch-user_former_groups.sql9
-rw-r--r--maintenance/archives/patch-user_last_timestamp.sql2
-rw-r--r--maintenance/archives/upgradeLogging.php21
-rw-r--r--maintenance/backup.inc56
-rw-r--r--maintenance/backupPrefetch.inc25
-rw-r--r--maintenance/benchmarks/Benchmarker.php23
-rw-r--r--maintenance/benchmarks/bench_HTTP_HTTPS.php21
-rw-r--r--maintenance/benchmarks/bench_delete_truncate.php78
-rw-r--r--maintenance/benchmarks/bench_if_switch.php88
-rw-r--r--maintenance/benchmarks/bench_strtr_str_replace.php50
-rw-r--r--maintenance/benchmarks/bench_wfIsWindows.php21
-rw-r--r--maintenance/benchmarks/benchmarkPurge.php (renamed from maintenance/benchmarkPurge.php)7
-rw-r--r--maintenance/cdb.php119
-rw-r--r--maintenance/changePassword.php11
-rw-r--r--maintenance/checkBadRedirects.php8
-rw-r--r--maintenance/checkSyntax.php20
-rw-r--r--maintenance/cleanupImages.php2
-rw-r--r--maintenance/cleanupSpam.php1
-rw-r--r--maintenance/cleanupTable.inc3
-rw-r--r--maintenance/cleanupUploadStash.php75
-rw-r--r--maintenance/commandLine.inc22
-rw-r--r--maintenance/compareParsers.php142
-rw-r--r--maintenance/convertLinks.php4
-rw-r--r--maintenance/convertUserOptions.php2
-rw-r--r--maintenance/createAndPromote.php10
-rw-r--r--maintenance/deleteArchivedFiles.inc9
-rw-r--r--maintenance/deleteArchivedRevisions.inc2
-rw-r--r--maintenance/deleteBatch.php10
-rw-r--r--maintenance/deleteDefaultMessages.php4
-rw-r--r--maintenance/deleteOldRevisions.php1
-rw-r--r--maintenance/deleteOrphanedRevisions.php2
-rw-r--r--maintenance/deleteSelfExternals.php2
-rw-r--r--maintenance/doMaintenance.php47
-rw-r--r--maintenance/dumpBackup.php23
-rw-r--r--maintenance/dumpInterwiki.php64
-rw-r--r--maintenance/dumpIterator.php167
-rw-r--r--maintenance/dumpTextPass.php397
-rw-r--r--maintenance/dumpUploads.php2
-rw-r--r--maintenance/edit.php22
-rw-r--r--maintenance/eval.php24
-rw-r--r--maintenance/fetchText.php3
-rw-r--r--maintenance/findHooks.php (renamed from maintenance/findhooks.php)35
-rw-r--r--maintenance/fixDoubleRedirects.php120
-rw-r--r--maintenance/fixExtLinksProtocolRelative.php81
-rw-r--r--maintenance/fixSlaveDesync.php4
-rw-r--r--maintenance/formatInstallDoc.php54
-rw-r--r--maintenance/fuzz-tester.php115
-rw-r--r--maintenance/gearman/gearmanWorker.php2
-rw-r--r--maintenance/generateSitemap.php33
-rw-r--r--maintenance/hiphop/compiler.conf5
-rw-r--r--maintenance/hiphop/extra-files35
-rw-r--r--maintenance/hiphop/make308
-rw-r--r--maintenance/hiphop/run-server75
-rw-r--r--maintenance/hiphop/server.conf30
-rw-r--r--maintenance/httpSessionDownload.php57
-rw-r--r--maintenance/ibm_db2/patch-categorylinks-better-collation.sql21
-rw-r--r--maintenance/ibm_db2/patch-change_tag-indexes.sql5
-rw-r--r--maintenance/ibm_db2/patch-change_tag.sql8
-rw-r--r--maintenance/ibm_db2/patch-change_tag_summary.sql7
-rw-r--r--maintenance/ibm_db2/patch-change_valid_tag.sql3
-rw-r--r--maintenance/ibm_db2/patch-cl_collation-field.sql1
-rw-r--r--maintenance/ibm_db2/patch-cl_sortkey_prefix-field.sql1
-rw-r--r--maintenance/ibm_db2/patch-cl_type-field.sql1
-rw-r--r--maintenance/ibm_db2/patch-external_user.sql7
-rw-r--r--maintenance/ibm_db2/patch-ipb_allow_usertalk.sql23
-rw-r--r--maintenance/ibm_db2/patch-iw_api-field.sql1
-rw-r--r--maintenance/ibm_db2/patch-iw_api_and_wikiid.sql8
-rw-r--r--maintenance/ibm_db2/patch-iw_wikiid-field.sql1
-rw-r--r--maintenance/ibm_db2/patch-iwlinks.sql7
-rw-r--r--maintenance/ibm_db2/patch-l10n_cache.sql8
-rw-r--r--maintenance/ibm_db2/patch-log_search-rename-index.sql8
-rw-r--r--maintenance/ibm_db2/patch-log_search.sql8
-rw-r--r--maintenance/ibm_db2/patch-log_user_text.sql17
-rw-r--r--maintenance/ibm_db2/patch-module_deps.sql6
-rw-r--r--maintenance/ibm_db2/patch-msg_resource.sql8
-rw-r--r--maintenance/ibm_db2/patch-msg_resource_links.sql6
-rw-r--r--maintenance/ibm_db2/patch-rd_interwiki.sql8
-rw-r--r--maintenance/ibm_db2/patch-ss_active_users.sql11
-rw-r--r--maintenance/ibm_db2/patch-ul_value.sql3
-rw-r--r--maintenance/ibm_db2/patch-uq61_msg_resource_links.sql7
-rw-r--r--maintenance/ibm_db2/patch-uq81_msg_resource.sql7
-rw-r--r--maintenance/ibm_db2/patch-uq96_module_deps.sql7
-rw-r--r--maintenance/ibm_db2/patch-user_properties.sql10
-rw-r--r--maintenance/ibm_db2/tables.sql78
-rw-r--r--maintenance/importDump.php162
-rw-r--r--maintenance/importImages.inc18
-rw-r--r--maintenance/importImages.php29
-rw-r--r--maintenance/importSiteScripts.php76
-rw-r--r--maintenance/importTextFile.php15
-rw-r--r--maintenance/importUseModWiki.php533
-rw-r--r--maintenance/importUseModWikipedia.php892
-rw-r--r--maintenance/initEditCount.php2
-rw-r--r--maintenance/initStats.php2
-rw-r--r--maintenance/install-utils.inc31
-rw-r--r--maintenance/install.php14
-rw-r--r--maintenance/jsparse.php72
-rw-r--r--maintenance/lag.php17
-rw-r--r--maintenance/language/StatOutputs.php25
-rw-r--r--maintenance/language/checkDupeMessages.php28
-rw-r--r--maintenance/language/checkExtensions.php15
-rw-r--r--maintenance/language/checkLanguage.inc23
-rw-r--r--maintenance/language/checkLanguage.php15
-rw-r--r--maintenance/language/function-list.php15
-rw-r--r--maintenance/language/generateCollationData.php11
-rw-r--r--maintenance/language/generateNormalizerData.php21
-rw-r--r--maintenance/language/languages.inc19
-rw-r--r--maintenance/language/messageTypes.inc228
-rw-r--r--maintenance/language/messages.inc394
-rw-r--r--maintenance/language/rebuildLanguage.php26
-rw-r--r--maintenance/language/transstat.php20
-rw-r--r--maintenance/language/validate.php17
-rw-r--r--maintenance/language/writeMessagesArray.inc15
-rw-r--r--maintenance/mcc.php17
-rw-r--r--maintenance/mergeMessageFileList.php23
-rw-r--r--maintenance/migrateUserGroup.php2
-rw-r--r--maintenance/minify.php18
-rw-r--r--maintenance/moveBatch.php2
-rw-r--r--maintenance/mssql/tables.sql12
-rw-r--r--maintenance/mwdocgen.php51
-rw-r--r--maintenance/namespaceDupes.php13
-rw-r--r--maintenance/nextJobDB.php85
-rw-r--r--maintenance/nukePage.php1
-rw-r--r--maintenance/oracle/alterSharedConstraints.php90
-rw-r--r--maintenance/oracle/archives/patch-config.sql8
-rw-r--r--maintenance/oracle/archives/patch-up_property.sql3
-rw-r--r--maintenance/oracle/archives/patch-uploadstash.sql25
-rw-r--r--maintenance/oracle/archives/patch-user_email_index.sql4
-rw-r--r--maintenance/oracle/archives/patch-user_former_groups.sql9
-rw-r--r--maintenance/oracle/archives/patch_rebuild_dupfunc.sql146
-rw-r--r--maintenance/oracle/tables.sql103
-rw-r--r--maintenance/orphans.php2
-rw-r--r--maintenance/ourusers.php15
-rw-r--r--maintenance/populateCategory.php20
-rw-r--r--maintenance/populateLogSearch.php10
-rw-r--r--maintenance/populateLogUsertext.php4
-rw-r--r--maintenance/populateParentId.php2
-rw-r--r--maintenance/populateRevisionLength.php4
-rw-r--r--maintenance/populateSha1.php4
-rw-r--r--maintenance/postgres/archives/patch-user_former_groups.sql5
-rw-r--r--maintenance/postgres/compare_schemas.pl6
-rw-r--r--maintenance/postgres/mediawiki_mysql2postgres.pl26
-rw-r--r--maintenance/postgres/tables.sql41
-rw-r--r--maintenance/preprocessDump.php86
-rw-r--r--maintenance/preprocessorFuzzTest.php35
-rw-r--r--maintenance/protect.php2
-rw-r--r--maintenance/proxy_check.php (renamed from includes/proxy_check.php)0
-rw-r--r--maintenance/purgeList.php78
-rw-r--r--maintenance/purgeOldText.inc16
-rw-r--r--maintenance/purgeParserCache.php43
-rw-r--r--maintenance/purgeStaleMemcachedText.php34
-rw-r--r--maintenance/reassignEdits.php4
-rw-r--r--maintenance/rebuildFileCache.php25
-rw-r--r--maintenance/rebuildImages.php13
-rw-r--r--maintenance/rebuildInterwiki.php34
-rw-r--r--maintenance/rebuildLocalisationCache.php15
-rw-r--r--maintenance/rebuildall.php3
-rw-r--r--maintenance/rebuildtextindex.php9
-rw-r--r--maintenance/refreshImageMetadata.php199
-rw-r--r--maintenance/refreshLinks.php88
-rw-r--r--maintenance/resetUserTokens.php73
-rw-r--r--maintenance/runBatchedQuery.php5
-rw-r--r--maintenance/runJobs.php13
-rw-r--r--maintenance/sqlite.inc21
-rw-r--r--maintenance/sqlite.php9
-rw-r--r--maintenance/sqlite/archives/patch-archive_kill_ar_page_revid.sql3
-rw-r--r--maintenance/sqlite/archives/patch-rename-iwl_prefix.sql2
-rw-r--r--maintenance/stats.php44
-rw-r--r--maintenance/storage/checkStorage.php16
-rw-r--r--maintenance/storage/compressOld.inc300
-rw-r--r--maintenance/storage/compressOld.php398
-rw-r--r--maintenance/storage/fixBug20757.php23
-rw-r--r--maintenance/storage/moveToExternal.php17
-rw-r--r--maintenance/storage/recompressTracked.php22
-rw-r--r--maintenance/storage/resolveStubs.php20
-rw-r--r--maintenance/storage/storageTypeStats.php19
-rw-r--r--maintenance/storage/testCompression.php20
-rw-r--r--maintenance/storage/trackBlobs.php26
-rw-r--r--maintenance/tables.sql92
-rw-r--r--maintenance/tests/.svnignore6
-rw-r--r--maintenance/tests/selenium/SeleniumTestCase.php103
-rw-r--r--maintenance/tests/selenium/selenium_settings.ini.php52.sample23
-rw-r--r--maintenance/tests/selenium/suites/MediaWikExtraTestSuite.php20
-rw-r--r--maintenance/tests/selenium/suites/MediaWikiEditorTestSuite.php18
-rw-r--r--maintenance/tests/selenium/suites/MyContributionsTestCase.php76
-rw-r--r--maintenance/tests/selenium/suites/MyWatchListTestCase.php73
-rw-r--r--maintenance/tests/selenium/suites/SimpleSeleniumConfig.php15
-rw-r--r--maintenance/undelete.php23
-rw-r--r--maintenance/update.php26
-rw-r--r--maintenance/updateArticleCount.php66
-rw-r--r--maintenance/updateCollation.php62
-rw-r--r--maintenance/updateDoubleWidthSearch.php3
-rw-r--r--maintenance/updateRestrictions.php4
-rw-r--r--maintenance/updateSearchIndex.php11
-rw-r--r--maintenance/updateSpecialPages.php25
-rw-r--r--maintenance/upgrade1_5.php31
-rw-r--r--maintenance/userDupes.inc40
-rw-r--r--maintenance/userOptions.inc17
-rw-r--r--maintenance/userOptions.php15
-rw-r--r--maintenance/users.sql12
-rw-r--r--maintenance/waitForSlave.php2
-rw-r--r--maintenance/wikipedia-interwiki.sql1
-rw-r--r--maintenance/wiktionary-interwiki.sql1
-rw-r--r--math/.svnignore7
-rw-r--r--math/Makefile87
-rw-r--r--math/README119
-rw-r--r--math/TODO3
-rw-r--r--math/html.ml142
-rw-r--r--math/html.mli5
-rw-r--r--math/lexer.mll108
-rw-r--r--math/mathml.ml20
-rw-r--r--math/mathml.mli1
-rw-r--r--math/parser.mly118
-rw-r--r--math/render.ml58
-rw-r--r--math/render_info.mli20
-rw-r--r--math/tex.mli23
-rw-r--r--math/texutil.ml760
-rw-r--r--math/texutil.mli11
-rw-r--r--math/texvc.ml58
-rw-r--r--math/texvc_cgi.ml62
-rw-r--r--math/texvc_test.ml24
-rw-r--r--math/texvc_tex.ml3
-rw-r--r--math/util.ml26
-rw-r--r--mw-config/index.php6
-rw-r--r--opensearch_desc.php6
-rw-r--r--php5.php59
-rw-r--r--profileinfo.php8
-rw-r--r--redirect.php6
-rw-r--r--resources/Resources.php324
-rw-r--r--resources/jquery.tipsy/jquery.tipsy.css1
-rw-r--r--resources/jquery.tipsy/jquery.tipsy.js18
-rw-r--r--resources/jquery.ui/jquery.ui.accordion.js609
-rw-r--r--resources/jquery.ui/jquery.ui.autocomplete.js255
-rw-r--r--resources/jquery.ui/jquery.ui.button.js56
-rw-r--r--resources/jquery.ui/jquery.ui.core.js324
-rw-r--r--resources/jquery.ui/jquery.ui.dialog.js302
-rw-r--r--resources/jquery.ui/jquery.ui.draggable.js38
-rw-r--r--resources/jquery.ui/jquery.ui.droppable.js20
-rw-r--r--resources/jquery.ui/jquery.ui.mouse.js33
-rw-r--r--resources/jquery.ui/jquery.ui.position.js89
-rw-r--r--resources/jquery.ui/jquery.ui.progressbar.js63
-rw-r--r--resources/jquery.ui/jquery.ui.resizable.js73
-rw-r--r--resources/jquery.ui/jquery.ui.selectable.js15
-rw-r--r--resources/jquery.ui/jquery.ui.slider.js24
-rw-r--r--resources/jquery.ui/jquery.ui.sortable.js52
-rw-r--r--resources/jquery.ui/jquery.ui.tabs.js731
-rw-r--r--resources/jquery.ui/jquery.ui.widget.js88
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.autocomplete.css1
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.datepicker.css22
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css1
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.button.css62
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.datepicker.css26
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.theme.css4
-rw-r--r--resources/jquery/images/sort_both.gifbin0 -> 1184 bytes
-rw-r--r--resources/jquery/images/sort_down.gifbin0 -> 1174 bytes
-rw-r--r--resources/jquery/images/sort_none.gif (renamed from skins/common/images/sort_none.gif)bin462 -> 462 bytes
-rw-r--r--resources/jquery/images/sort_up.gifbin0 -> 1174 bytes
-rw-r--r--resources/jquery/jquery.appear.js138
-rw-r--r--resources/jquery/jquery.async.js33
-rw-r--r--resources/jquery/jquery.autoEllipsis.js78
-rw-r--r--resources/jquery/jquery.byteLength.js19
-rw-r--r--resources/jquery/jquery.byteLimit.js56
-rw-r--r--resources/jquery/jquery.checkboxShiftClick.js14
-rw-r--r--resources/jquery/jquery.client.js390
-rw-r--r--resources/jquery/jquery.color.js125
-rw-r--r--resources/jquery/jquery.colorUtil.js193
-rw-r--r--resources/jquery/jquery.cookie.js87
-rw-r--r--resources/jquery/jquery.form.js791
-rw-r--r--resources/jquery/jquery.getAttrs.js24
-rw-r--r--resources/jquery/jquery.hoverIntent.js111
-rw-r--r--resources/jquery/jquery.js7038
-rw-r--r--resources/jquery/jquery.json.js180
-rw-r--r--resources/jquery/jquery.localize.js105
-rw-r--r--resources/jquery/jquery.makeCollapsible.css14
-rw-r--r--resources/jquery/jquery.makeCollapsible.js339
-rw-r--r--resources/jquery/jquery.messageBox.css15
-rw-r--r--resources/jquery/jquery.messageBox.js98
-rw-r--r--resources/jquery/jquery.mwPrototypes.js120
-rw-r--r--resources/jquery/jquery.placeholder.js32
-rw-r--r--resources/jquery/jquery.qunit.completenessTest.js267
-rw-r--r--resources/jquery/jquery.qunit.css225
-rw-r--r--resources/jquery/jquery.qunit.js1442
-rw-r--r--resources/jquery/jquery.suggestions.css2
-rw-r--r--resources/jquery/jquery.suggestions.js18
-rw-r--r--resources/jquery/jquery.tabIndex.js45
-rw-r--r--resources/jquery/jquery.tablesorter.css17
-rw-r--r--resources/jquery/jquery.tablesorter.js910
-rw-r--r--resources/jquery/jquery.textSelection.js183
-rw-r--r--resources/mediawiki.action/mediawiki.action.edit.js115
-rw-r--r--resources/mediawiki.action/mediawiki.action.history.diff.css (renamed from skins/common/diff.css)24
-rw-r--r--resources/mediawiki.action/mediawiki.action.history.js52
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.metadata.js39
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js2
-rw-r--r--resources/mediawiki.action/mediawiki.action.watch.ajax.js174
-rw-r--r--resources/mediawiki.language/languages/nl.js8
-rw-r--r--resources/mediawiki.language/languages/pt-br.js6
-rw-r--r--resources/mediawiki.language/languages/pt.js8
-rw-r--r--resources/mediawiki.language/mediawiki.language.js20
-rw-r--r--resources/mediawiki.libs/mediawiki.libs.jpegmeta.js731
-rw-r--r--resources/mediawiki.page/images/AJAXCategorySprite.pngbin0 -> 384 bytes
-rw-r--r--resources/mediawiki.page/mediawiki.page.ajaxCategories.css64
-rw-r--r--resources/mediawiki.page/mediawiki.page.ready.js24
-rw-r--r--resources/mediawiki.page/mediawiki.page.startup.js10
-rw-r--r--resources/mediawiki.special/mediawiki.special.block.js46
-rw-r--r--resources/mediawiki.special/mediawiki.special.changeslist.css47
-rw-r--r--resources/mediawiki.special/mediawiki.special.css274
-rw-r--r--resources/mediawiki.special/mediawiki.special.js1
-rw-r--r--resources/mediawiki.special/mediawiki.special.movePage.js5
-rw-r--r--resources/mediawiki.special/mediawiki.special.preferences.js172
-rw-r--r--resources/mediawiki.special/mediawiki.special.recentchanges.js39
-rw-r--r--resources/mediawiki.special/mediawiki.special.search.css (renamed from skins/common/search.css)4
-rw-r--r--resources/mediawiki.special/mediawiki.special.search.js32
-rw-r--r--resources/mediawiki.special/mediawiki.special.undelete.js10
-rw-r--r--resources/mediawiki.special/mediawiki.special.upload.js272
-rw-r--r--resources/mediawiki.util/mediawiki.util.js401
-rw-r--r--resources/mediawiki.util/mediawiki.util.test.js172
-rw-r--r--resources/mediawiki/mediawiki.Title.js334
-rw-r--r--resources/mediawiki/mediawiki.Uri.js260
-rw-r--r--resources/mediawiki/mediawiki.htmlform.js64
-rw-r--r--resources/mediawiki/mediawiki.js834
-rw-r--r--resources/mediawiki/mediawiki.log.js29
-rw-r--r--resources/mediawiki/mediawiki.user.js181
-rw-r--r--resources/mediawiki/mediawiki.util.js598
-rw-r--r--serialized/Utf8Case.ser2
-rw-r--r--serialized/first-letters-root.ser2
-rw-r--r--skins/ArchLinux.php306
-rw-r--r--skins/Chick.php6
-rw-r--r--skins/CologneBlue.php173
-rw-r--r--skins/Modern.php99
-rw-r--r--skins/MonoBook.php299
-rw-r--r--skins/Nostalgia.php46
-rw-r--r--skins/Simple.php9
-rw-r--r--skins/Standard.php149
-rw-r--r--skins/Vector.php609
-rw-r--r--skins/archlinux/IE60Fixes.css18
-rw-r--r--skins/archlinux/IE70Fixes.css14
-rw-r--r--skins/archlinux/external-ltr.png (renamed from skins/archlinux/external.png)bin143 -> 143 bytes
-rw-r--r--skins/archlinux/main.css114
-rw-r--r--skins/archlinux/print.css3
-rw-r--r--skins/archlinux/rtl.css251
-rw-r--r--skins/chick/main.css26
-rw-r--r--skins/cologneblue/screen.css (renamed from skins/common/cologneblue.css)22
-rw-r--r--skins/common/IEFixes.js4
-rw-r--r--skins/common/Makefile2
-rw-r--r--skins/common/ajax.js2
-rw-r--r--skins/common/ajaxwatch.js120
-rw-r--r--skins/common/block.js89
-rw-r--r--skins/common/commonPrint.css36
-rw-r--r--skins/common/common_rtl.css59
-rw-r--r--skins/common/config.css22
-rw-r--r--skins/common/config.js2
-rw-r--r--skins/common/diff.js20
-rw-r--r--skins/common/edit.js231
-rw-r--r--skins/common/enhancedchanges.js40
-rw-r--r--skins/common/history.js77
-rw-r--r--skins/common/htmlform.js40
-rw-r--r--skins/common/images/cc-by.pngbin0 -> 4739 bytes
-rw-r--r--skins/common/images/critical-32.pngbin2395 -> 1914 bytes
-rw-r--r--skins/common/images/download-32.pngbin2057 -> 1846 bytes
-rw-r--r--skins/common/images/info-32.pngbin2159 -> 1940 bytes
-rw-r--r--skins/common/images/magnify-clip-rtl.pngbin0 -> 252 bytes
-rw-r--r--skins/common/images/sort_down.gifbin464 -> 0 bytes
-rw-r--r--skins/common/images/sort_up.gifbin466 -> 0 bytes
-rw-r--r--skins/common/images/tick-32.pngbin1457 -> 1137 bytes
-rw-r--r--skins/common/images/warning-32.pngbin1895 -> 1349 bytes
-rw-r--r--skins/common/metadata.js53
-rw-r--r--skins/common/mwsuggest.js46
-rw-r--r--skins/common/oldshared.css32
-rw-r--r--skins/common/prefs.js138
-rw-r--r--skins/common/preview.js16
-rw-r--r--skins/common/protect.js2
-rw-r--r--skins/common/search.js50
-rw-r--r--skins/common/shared.css645
-rw-r--r--skins/common/upload.js49
-rw-r--r--skins/common/wikibits.js440
-rw-r--r--skins/modern/main.css74
-rw-r--r--skins/modern/rtl.css162
-rw-r--r--skins/monobook/IE60Fixes.css18
-rw-r--r--skins/monobook/IE70Fixes.css14
-rw-r--r--skins/monobook/external-ltr.png (renamed from skins/monobook/external.png)bin143 -> 143 bytes
-rw-r--r--skins/monobook/main.css114
-rw-r--r--skins/monobook/rtl.css251
-rw-r--r--skins/nostalgia/screen.css (renamed from skins/common/nostalgia.css)3
-rw-r--r--skins/simple/main.css43
-rw-r--r--skins/vector/images/arrow-down-icon.pngbin188 -> 241 bytes
-rw-r--r--skins/vector/images/user-icon.pngbin308 -> 584 bytes
-rw-r--r--skins/vector/screen.css120
-rw-r--r--skins/vector/vector.js19
-rw-r--r--tests/.htaccess (renamed from math/.htaccess)0
-rw-r--r--tests/RunSeleniumTests.php (renamed from maintenance/tests/RunSeleniumTests.php)29
-rw-r--r--tests/TestsAutoLoader.php33
-rw-r--r--tests/parser/extraParserTests.txt (renamed from maintenance/tests/parser/ExtraParserTests.txt)bin1261 -> 1261 bytes
-rw-r--r--tests/parser/parserTest.inc (renamed from maintenance/tests/parser/parserTest.inc)197
-rw-r--r--tests/parser/parserTests.txt (renamed from maintenance/tests/parser/parserTests.txt)893
-rw-r--r--tests/parser/parserTestsParserHook.php (renamed from maintenance/tests/parser/parserTestsParserHook.php)6
-rw-r--r--tests/parser/parserTestsStaticParserHook.php (renamed from maintenance/tests/parser/parserTestsStaticParserHook.php)4
-rw-r--r--tests/parser/preprocess/All_system_messages.expected5646
-rw-r--r--tests/parser/preprocess/All_system_messages.txt5645
-rw-r--r--tests/parser/preprocess/Factorial.expected17
-rw-r--r--tests/parser/preprocess/Factorial.txt16
-rw-r--r--tests/parser/preprocess/Fundraising.expected18
-rw-r--r--tests/parser/preprocess/Fundraising.txt17
-rw-r--r--tests/parser/preprocess/QuoteQuran.expected140
-rw-r--r--tests/parser/preprocess/QuoteQuran.txt139
-rw-r--r--tests/parserTests.php (renamed from maintenance/tests/parserTests.php)5
-rw-r--r--tests/phpunit/Makefile82
-rw-r--r--tests/phpunit/MediaWikiLangTestCase.php33
-rw-r--r--tests/phpunit/MediaWikiPHPUnitCommand.php46
-rw-r--r--tests/phpunit/MediaWikiTestCase.php239
-rw-r--r--tests/phpunit/README53
-rw-r--r--tests/phpunit/TODO10
-rw-r--r--tests/phpunit/bootstrap.php32
-rw-r--r--tests/phpunit/data/media/1bit-png.pngbin0 -> 167 bytes
-rw-r--r--tests/phpunit/data/media/Animated_PNG_example_bouncing_beach_ball.pngbin0 -> 72209 bytes
-rw-r--r--tests/phpunit/data/media/Gtk-media-play-ltr.svg35
-rw-r--r--tests/phpunit/data/media/Png-native-test.pngbin0 -> 4665 bytes
-rw-r--r--tests/phpunit/data/media/QA_icon.svg77
-rw-r--r--tests/phpunit/data/media/README38
-rw-r--r--tests/phpunit/data/media/US_states_by_total_state_tax_revenue.svg248
-rw-r--r--tests/phpunit/data/media/Wikimedia-logo.svg14
-rw-r--r--tests/phpunit/data/media/Xmp-exif-multilingual_test.jpgbin0 -> 12544 bytes
-rw-r--r--tests/phpunit/data/media/animated-xmp.gifbin0 -> 3864 bytes
-rw-r--r--tests/phpunit/data/media/animated.gifbin0 -> 497 bytes
-rw-r--r--tests/phpunit/data/media/broken_exif_date.jpgbin0 -> 3233 bytes
-rw-r--r--tests/phpunit/data/media/exif-gps.jpgbin0 -> 665 bytes
-rw-r--r--tests/phpunit/data/media/exif-user-comment.jpgbin0 -> 484 bytes
-rw-r--r--tests/phpunit/data/media/greyscale-na-png.pngbin0 -> 365 bytes
-rw-r--r--tests/phpunit/data/media/greyscale-png.pngbin0 -> 415 bytes
-rw-r--r--tests/phpunit/data/media/iptc-timetest-invalid.jpgbin0 -> 9573 bytes
-rw-r--r--tests/phpunit/data/media/iptc-timetest.jpgbin0 -> 9573 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-comment-binary.jpgbin0 -> 448 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-comment-iso8859-1.jpgbin0 -> 447 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-comment-multiple.jpgbin0 -> 431 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-comment-utf.jpgbin0 -> 445 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-iptc-bad-hash.jpgbin0 -> 499 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-iptc-good-hash.jpgbin0 -> 499 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-padding-even.jpgbin0 -> 450 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-padding-odd.jpgbin0 -> 451 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-xmp-alt.jpgbin0 -> 3255 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-xmp-psir.jpgbin0 -> 3308 bytes
-rw-r--r--tests/phpunit/data/media/jpeg-xmp-psir.xmp35
-rw-r--r--tests/phpunit/data/media/landscape-plain.jpgbin0 -> 38771 bytes
-rw-r--r--tests/phpunit/data/media/nonanimated.gifbin0 -> 200 bytes
-rw-r--r--tests/phpunit/data/media/portrait-rotated.jpgbin0 -> 38577 bytes
-rw-r--r--tests/phpunit/data/media/rgb-na-png.pngbin0 -> 593 bytes
-rw-r--r--tests/phpunit/data/media/rgb-png.pngbin0 -> 663 bytes
-rw-r--r--tests/phpunit/data/media/test.jpgbin0 -> 437 bytes
-rw-r--r--tests/phpunit/data/media/test.tiffbin0 -> 566 bytes
-rw-r--r--tests/phpunit/data/media/xmp.pngbin0 -> 582 bytes
-rw-r--r--tests/phpunit/data/xmp/1.result.php8
-rw-r--r--tests/phpunit/data/xmp/1.xmp11
-rw-r--r--tests/phpunit/data/xmp/2.result.php8
-rw-r--r--tests/phpunit/data/xmp/2.xmp12
-rw-r--r--tests/phpunit/data/xmp/3-invalid.result.php7
-rw-r--r--tests/phpunit/data/xmp/3-invalid.xmp31
-rw-r--r--tests/phpunit/data/xmp/3.result.php8
-rw-r--r--tests/phpunit/data/xmp/3.xmp29
-rw-r--r--tests/phpunit/data/xmp/4.result.php7
-rw-r--r--tests/phpunit/data/xmp/4.xmp22
-rw-r--r--tests/phpunit/data/xmp/5.result.php7
-rw-r--r--tests/phpunit/data/xmp/5.xmp16
-rw-r--r--tests/phpunit/data/xmp/6.result.php8
-rw-r--r--tests/phpunit/data/xmp/6.xmp18
-rw-r--r--tests/phpunit/data/xmp/7.result.php52
-rw-r--r--tests/phpunit/data/xmp/7.xmp67
-rw-r--r--tests/phpunit/data/xmp/README3
-rw-r--r--tests/phpunit/data/xmp/bag-for-seq.result.php10
-rw-r--r--tests/phpunit/data/xmp/bag-for-seq.xmp1
-rw-r--r--tests/phpunit/data/xmp/flash.result.php8
-rw-r--r--tests/phpunit/data/xmp/flash.xmp11
-rw-r--r--tests/phpunit/data/xmp/invalid-child-not-struct.result.php7
-rw-r--r--tests/phpunit/data/xmp/invalid-child-not-struct.xmp12
-rw-r--r--tests/phpunit/data/xmp/no-namespace.result.php7
-rw-r--r--tests/phpunit/data/xmp/no-namespace.xmp11
-rw-r--r--tests/phpunit/data/xmp/no-recognized-props.result.php2
-rw-r--r--tests/phpunit/data/xmp/no-recognized-props.xmp8
-rw-r--r--tests/phpunit/data/xmp/utf16BE.result.php12
-rw-r--r--tests/phpunit/data/xmp/utf16BE.xmpbin0 -> 930 bytes
-rw-r--r--tests/phpunit/data/xmp/utf16LE.result.php12
-rw-r--r--tests/phpunit/data/xmp/utf16LE.xmpbin0 -> 930 bytes
-rw-r--r--tests/phpunit/data/xmp/utf32BE.result.php12
-rw-r--r--tests/phpunit/data/xmp/utf32BE.xmpbin0 -> 1856 bytes
-rw-r--r--tests/phpunit/data/xmp/utf32LE.result.php12
-rw-r--r--tests/phpunit/data/xmp/utf32LE.xmpbin0 -> 1856 bytes
-rw-r--r--tests/phpunit/data/xmp/xmpExt.result.php8
-rw-r--r--tests/phpunit/data/xmp/xmpExt.xmp13
-rw-r--r--tests/phpunit/data/xmp/xmpExt2.xmp8
-rw-r--r--tests/phpunit/data/zip/cd-gap.zipbin0 -> 182 bytes
-rw-r--r--tests/phpunit/data/zip/cd-truncated.zipbin0 -> 171 bytes
-rw-r--r--tests/phpunit/data/zip/class-trailing-null.zipbin0 -> 173 bytes
-rw-r--r--tests/phpunit/data/zip/class-trailing-slash.zipbin0 -> 173 bytes
-rw-r--r--tests/phpunit/data/zip/class.zipbin0 -> 173 bytes
-rw-r--r--tests/phpunit/data/zip/empty.zipbin0 -> 22 bytes
-rw-r--r--tests/phpunit/data/zip/looks-like-zip64.zipbin0 -> 173 bytes
-rw-r--r--tests/phpunit/data/zip/nosig.zipbin0 -> 173 bytes
-rw-r--r--tests/phpunit/data/zip/split.zipbin0 -> 196 bytes
-rw-r--r--tests/phpunit/data/zip/trail.zipbin0 -> 181 bytes
-rw-r--r--tests/phpunit/data/zip/wrong-cd-start-disk.zipbin0 -> 173 bytes
-rw-r--r--tests/phpunit/data/zip/wrong-central-entry-sig.zipbin0 -> 173 bytes
-rw-r--r--tests/phpunit/includes/ArticleTablesTest.php34
-rw-r--r--tests/phpunit/includes/ArticleTest.php82
-rw-r--r--tests/phpunit/includes/BlockTest.php124
-rw-r--r--tests/phpunit/includes/CdbTest.php84
-rw-r--r--tests/phpunit/includes/ExternalStoreTest.php32
-rw-r--r--tests/phpunit/includes/ExtraParserTest.php113
-rw-r--r--tests/phpunit/includes/FauxResponseTest.php70
-rw-r--r--tests/phpunit/includes/FormOptionsInitializationTest.php85
-rw-r--r--tests/phpunit/includes/FormOptionsTest.php90
-rw-r--r--tests/phpunit/includes/GlobalFunctions/GlobalTest.php902
-rw-r--r--tests/phpunit/includes/GlobalFunctions/README2
-rw-r--r--tests/phpunit/includes/GlobalFunctions/wfExpandUrl.php78
-rw-r--r--tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php120
-rw-r--r--tests/phpunit/includes/HooksTest.php102
-rw-r--r--tests/phpunit/includes/HtmlTest.php90
-rw-r--r--tests/phpunit/includes/HttpTest.php618
-rw-r--r--tests/phpunit/includes/IPTest.php508
-rw-r--r--tests/phpunit/includes/ImageFunctionsTest.php48
-rw-r--r--tests/phpunit/includes/JsonTest.php33
-rw-r--r--tests/phpunit/includes/LanguageConverterTest.php130
-rw-r--r--tests/phpunit/includes/LicensesTest.php22
-rw-r--r--tests/phpunit/includes/LocalFileTest.php99
-rw-r--r--tests/phpunit/includes/MWFunctionTest.php86
-rw-r--r--tests/phpunit/includes/MWNamespaceTest.php460
-rw-r--r--tests/phpunit/includes/MessageTest.php62
-rw-r--r--tests/phpunit/includes/ParserOptionsTest.php36
-rw-r--r--tests/phpunit/includes/Providers.php44
-rw-r--r--tests/phpunit/includes/ResourceLoaderTest.php91
-rw-r--r--tests/phpunit/includes/RevisionTest.php125
-rw-r--r--tests/phpunit/includes/SampleTest.php98
-rw-r--r--tests/phpunit/includes/SanitizerTest.php113
-rw-r--r--tests/phpunit/includes/SeleniumConfigurationTest.php228
-rw-r--r--tests/phpunit/includes/SiteConfigurationTest.php311
-rw-r--r--tests/phpunit/includes/TimeAdjustTest.php51
-rw-r--r--tests/phpunit/includes/TitlePermissionTest.php654
-rw-r--r--tests/phpunit/includes/TitleTest.php79
-rw-r--r--tests/phpunit/includes/UserIsValidEmailAddrTest.php79
-rw-r--r--tests/phpunit/includes/UserTest.php58
-rw-r--r--tests/phpunit/includes/WebRequestTest.php88
-rw-r--r--tests/phpunit/includes/XmlJsTest.php9
-rw-r--r--tests/phpunit/includes/XmlSelectTest.php139
-rw-r--r--tests/phpunit/includes/XmlTest.php304
-rw-r--r--tests/phpunit/includes/ZipDirectoryReaderTest.php79
-rw-r--r--tests/phpunit/includes/api/ApiBlockTest.php62
-rw-r--r--tests/phpunit/includes/api/ApiPurgeTest.php41
-rw-r--r--tests/phpunit/includes/api/ApiQueryTest.php67
-rw-r--r--tests/phpunit/includes/api/ApiTest.php277
-rw-r--r--tests/phpunit/includes/api/ApiTestCase.php139
-rw-r--r--tests/phpunit/includes/api/ApiTestCaseUpload.php114
-rw-r--r--tests/phpunit/includes/api/ApiTestUser.php59
-rw-r--r--tests/phpunit/includes/api/ApiUploadTest.php433
-rw-r--r--tests/phpunit/includes/api/ApiWatchTest.php179
-rw-r--r--tests/phpunit/includes/api/RandomImageGenerator.php473
-rw-r--r--tests/phpunit/includes/api/format/ApiFormatPhpTest.php19
-rw-r--r--tests/phpunit/includes/api/format/ApiFormatTestBase.php22
-rw-r--r--tests/phpunit/includes/api/generateRandomImages.php47
-rw-r--r--tests/phpunit/includes/api/words.txt1000
-rw-r--r--tests/phpunit/includes/db/DatabaseSqliteTest.php312
-rw-r--r--tests/phpunit/includes/db/DatabaseTest.php95
-rw-r--r--tests/phpunit/includes/db/sqlite/tables-1.13.sql342
-rw-r--r--tests/phpunit/includes/db/sqlite/tables-1.15.sql454
-rw-r--r--tests/phpunit/includes/db/sqlite/tables-1.16.sql483
-rw-r--r--tests/phpunit/includes/db/sqlite/tables-1.17.sql516
-rw-r--r--tests/phpunit/includes/installer/InstallDocFormatterTest.php64
-rw-r--r--tests/phpunit/includes/libs/IEUrlExtensionTest.php118
-rw-r--r--tests/phpunit/includes/libs/JavaScriptMinifierTest.php105
-rw-r--r--tests/phpunit/includes/media/BitmapMetadataHandlerTest.php125
-rw-r--r--tests/phpunit/includes/media/BitmapScalingTest.php136
-rw-r--r--tests/phpunit/includes/media/ExifBitmapTest.php122
-rw-r--r--tests/phpunit/includes/media/ExifRotationTest.php249
-rw-r--r--tests/phpunit/includes/media/ExifTest.php51
-rw-r--r--tests/phpunit/includes/media/FormatMetadataTest.php29
-rw-r--r--tests/phpunit/includes/media/GIFMetadataExtractorTest.php95
-rw-r--r--tests/phpunit/includes/media/GIFTest.php85
-rw-r--r--tests/phpunit/includes/media/IPTCTest.php55
-rw-r--r--tests/phpunit/includes/media/JpegMetadataExtractorTest.php94
-rw-r--r--tests/phpunit/includes/media/JpegTest.php29
-rw-r--r--tests/phpunit/includes/media/PNGMetadataExtractorTest.php141
-rw-r--r--tests/phpunit/includes/media/PNGTest.php88
-rw-r--r--tests/phpunit/includes/media/SVGMetadataExtractorTest.php88
-rw-r--r--tests/phpunit/includes/media/TiffTest.php36
-rw-r--r--tests/phpunit/includes/media/XMPTest.php154
-rw-r--r--tests/phpunit/includes/normal/CleanUpTest.php (renamed from includes/normal/CleanUpTest.php)53
-rw-r--r--tests/phpunit/includes/parser/MagicVariableTest.php195
-rw-r--r--tests/phpunit/includes/parser/MediaWikiParserTest.php34
-rw-r--r--tests/phpunit/includes/parser/NewParserTest.php850
-rw-r--r--tests/phpunit/includes/parser/ParserHelpers.php136
-rw-r--r--tests/phpunit/includes/parser/PreprocessorTest.php195
-rw-r--r--tests/phpunit/includes/parser/TagHooks.php77
-rw-r--r--tests/phpunit/includes/search/SearchEngineTest.php163
-rw-r--r--tests/phpunit/includes/search/SearchUpdateTest.php80
-rw-r--r--tests/phpunit/includes/specials/SpecialRecentchanges.php134
-rw-r--r--tests/phpunit/includes/upload/UploadFromUrlTest.php348
-rw-r--r--tests/phpunit/includes/upload/UploadStashTest.php53
-rw-r--r--tests/phpunit/includes/upload/UploadTest.php142
-rw-r--r--tests/phpunit/install-phpunit.sh36
-rw-r--r--tests/phpunit/languages/LanguageBe_taraskTest.php30
-rw-r--r--tests/phpunit/languages/LanguageTest.php246
-rw-r--r--tests/phpunit/languages/LanguageTrTest.php65
-rw-r--r--tests/phpunit/phpunit.php61
-rw-r--r--tests/phpunit/run-tests.bat1
-rw-r--r--tests/phpunit/skins/SideBarTest.php175
-rw-r--r--tests/phpunit/suite.xml37
-rw-r--r--tests/phpunit/suites/ExtensionsTestSuite.php33
-rw-r--r--tests/phpunit/suites/UploadFromUrlTestSuite.php178
-rw-r--r--tests/qunit/.htaccess1
-rw-r--r--tests/qunit/data/defineTestCallback.js4
-rw-r--r--tests/qunit/data/testrunner.js92
-rw-r--r--tests/qunit/data/testwarm.inject.js349
-rw-r--r--tests/qunit/index.html90
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.autoEllipsis.js58
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.byteLength.js42
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.byteLimit.js155
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.client.js205
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.colorUtil.js71
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.getAttrs.js17
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.localize.js119
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.mwPrototypes.js56
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.tabIndex.js50
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js475
-rw-r--r--tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.js71
-rw-r--r--tests/qunit/suites/resources/mediawiki/mediawiki.js232
-rw-r--r--tests/qunit/suites/resources/mediawiki/mediawiki.jscompat.test.js35
-rw-r--r--tests/qunit/suites/resources/mediawiki/mediawiki.user.js29
-rw-r--r--tests/qunit/suites/resources/mediawiki/mediawiki.util.js307
-rw-r--r--tests/selenium/Selenium.php (renamed from maintenance/tests/selenium/Selenium.php)0
-rw-r--r--tests/selenium/SeleniumConfig.php (renamed from maintenance/tests/selenium/SeleniumConfig.php)63
-rw-r--r--tests/selenium/SeleniumLoader.php (renamed from maintenance/tests/selenium/SeleniumLoader.php)0
-rw-r--r--tests/selenium/SeleniumServerManager.php (renamed from maintenance/tests/selenium/SeleniumServerManager.php)6
-rw-r--r--tests/selenium/SeleniumTestCase.php127
-rw-r--r--tests/selenium/SeleniumTestConsoleLogger.php (renamed from maintenance/tests/selenium/SeleniumTestConsoleLogger.php)0
-rw-r--r--tests/selenium/SeleniumTestConstants.php24
-rw-r--r--tests/selenium/SeleniumTestHTMLLogger.php (renamed from maintenance/tests/selenium/SeleniumTestHTMLLogger.php)0
-rw-r--r--tests/selenium/SeleniumTestListener.php (renamed from maintenance/tests/selenium/SeleniumTestListener.php)0
-rw-r--r--tests/selenium/SeleniumTestSuite.php (renamed from maintenance/tests/selenium/SeleniumTestSuite.php)15
-rw-r--r--tests/selenium/data/SimpleSeleniumTestDB.sql1454
-rw-r--r--tests/selenium/data/SimpleSeleniumTestImages.zipbin0 -> 21993 bytes
-rw-r--r--tests/selenium/data/Wikipedia-logo-v2-de.png (renamed from maintenance/tests/selenium/data/Wikipedia-logo-v2-de.png)bin21479 -> 21479 bytes
-rw-r--r--tests/selenium/data/mediawiki118_fresh_installation.sql1544
-rw-r--r--tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php102
-rw-r--r--tests/selenium/installer/MediaWikiDifferentDatabaseAccountTestCase.php82
-rw-r--r--tests/selenium/installer/MediaWikiDifferntDatabasePrefixTestCase.php95
-rw-r--r--tests/selenium/installer/MediaWikiErrorsConnectToDatabasePageTestCase.php136
-rw-r--r--tests/selenium/installer/MediaWikiErrorsNamepageTestCase.php132
-rw-r--r--tests/selenium/installer/MediaWikiHelpFieldHintTestCase.php140
-rw-r--r--tests/selenium/installer/MediaWikiInstallationCommonFunction.php283
-rw-r--r--tests/selenium/installer/MediaWikiInstallationConfig.php49
-rw-r--r--tests/selenium/installer/MediaWikiInstallationMessage.php57
-rw-r--r--tests/selenium/installer/MediaWikiInstallationVariables.php77
-rw-r--r--tests/selenium/installer/MediaWikiInstallerTestSuite.php53
-rw-r--r--tests/selenium/installer/MediaWikiMySQLDataBaseTestCase.php78
-rw-r--r--tests/selenium/installer/MediaWikiMySQLiteDataBaseTestCase.php79
-rw-r--r--tests/selenium/installer/MediaWikiOnAlreadyInstalledTestCase.php71
-rw-r--r--tests/selenium/installer/MediaWikiRestartInstallationTestCase.php115
-rw-r--r--tests/selenium/installer/MediaWikiRightFrameworkLinksTestCase.php93
-rw-r--r--tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php117
-rw-r--r--tests/selenium/installer/MediaWikiUserInterfaceTestCase.php531
-rw-r--r--tests/selenium/installer/README.txt32
-rw-r--r--tests/selenium/selenium_settings.ini.sample (renamed from maintenance/tests/selenium/selenium_settings.ini.sample)2
-rw-r--r--tests/selenium/selenium_settings_grid.ini.sample (renamed from maintenance/tests/selenium/selenium_settings_grid.ini.sample)6
-rw-r--r--tests/selenium/suites/AddContentToNewPageTestCase.php (renamed from maintenance/tests/selenium/suites/AddContentToNewPageTestCase.php)38
-rw-r--r--tests/selenium/suites/AddNewPageTestCase.php (renamed from maintenance/tests/selenium/suites/AddNewPageTestCase.php)18
-rw-r--r--tests/selenium/suites/CreateAccountTestCase.php (renamed from maintenance/tests/selenium/suites/CreateAccountTestCase.php)30
-rw-r--r--tests/selenium/suites/DeletePageAdminTestCase.php (renamed from maintenance/tests/selenium/suites/DeletePageAdminTestCase.php)38
-rw-r--r--tests/selenium/suites/EmailPasswordTestCase.php (renamed from maintenance/tests/selenium/suites/EmailPasswordTestCase.php)30
-rw-r--r--tests/selenium/suites/MediaWikiEditorConfig.php (renamed from maintenance/tests/selenium/suites/MediaWikiEditorConfig.php)11
-rw-r--r--tests/selenium/suites/MediaWikiEditorTestSuite.php18
-rw-r--r--tests/selenium/suites/MediaWikiExtraTestSuite.php20
-rw-r--r--tests/selenium/suites/MediawikiCoreSmokeTestCase.php (renamed from maintenance/tests/selenium/suites/MediawikiCoreSmokeTestCase.php)0
-rw-r--r--tests/selenium/suites/MediawikiCoreSmokeTestSuite.php (renamed from maintenance/tests/selenium/suites/MediawikiCoreSmokeTestSuite.php)2
-rw-r--r--tests/selenium/suites/MovePageTestCase.php (renamed from maintenance/tests/selenium/suites/MovePageTestCase.php)32
-rw-r--r--tests/selenium/suites/MyContributionsTestCase.php65
-rw-r--r--tests/selenium/suites/MyWatchListTestCase.php57
-rw-r--r--tests/selenium/suites/PageDeleteTestSuite.php (renamed from maintenance/tests/selenium/suites/PageDeleteTestSuite.php)2
-rw-r--r--tests/selenium/suites/PageSearchTestCase.php (renamed from maintenance/tests/selenium/suites/PageSearchTestCase.php)44
-rw-r--r--tests/selenium/suites/PreviewPageTestCase.php (renamed from maintenance/tests/selenium/suites/PreviewPageTestCase.php)10
-rw-r--r--tests/selenium/suites/SavePageTestCase.php (renamed from maintenance/tests/selenium/suites/SavePageTestCase.php)14
-rw-r--r--tests/selenium/suites/SimpleSeleniumConfig.php30
-rw-r--r--tests/selenium/suites/SimpleSeleniumTestCase.php (renamed from maintenance/tests/selenium/suites/SimpleSeleniumTestCase.php)15
-rw-r--r--tests/selenium/suites/SimpleSeleniumTestSuite.php (renamed from maintenance/tests/selenium/suites/SimpleSeleniumTestSuite.php)4
-rw-r--r--tests/selenium/suites/UserPreferencesTestCase.php (renamed from maintenance/tests/selenium/suites/UserPreferencesTestCase.php)72
-rw-r--r--tests/testHelpers.inc (renamed from maintenance/tests/testHelpers.inc)168
-rw-r--r--thumb.php8
-rw-r--r--trackback.php6
1829 files changed, 264636 insertions, 85103 deletions
diff --git a/CREDITS b/CREDITS
index 2842b0c0..a5d1ac51 100644
--- a/CREDITS
+++ b/CREDITS
@@ -1,4 +1,4 @@
-MediaWiki 1.17 is a collaborative project released under the
+MediaWiki 1.18 is a collaborative project released under the
GNU General Public License v2. We would like to recognize the
following names for their contribution to the product.
@@ -9,7 +9,9 @@ following names for their contribution to the product.
* Andrew Garrett
* Aryeh Gregor
* Ashar Voultoiz
+* Brian Wolff
* Bertrand Grondin
+* Brad Jorsch
* Brion Vibber
* Bryan Tong Minh
* Chad Horohoe
@@ -20,6 +22,7 @@ following names for their contribution to the product.
* Danny B.
* David McCabe
* Derk-Jan Hartman
+* DieBuche
* Domas Mituzas
* Emufarmers
* Fran Rogers
@@ -30,10 +33,12 @@ following names for their contribution to the product.
* Ilmari Karonen
* Jack D. Pond
* Jack Phoenix
+* Jan Paul Posma
* Jason Richey
* Jon Harald Søby
* Juliano F. Ravasi
* Leon Weber
+* Leslie Hoare
* Marco Schuster
* Matěj Grabovský
* Matt Johnston
@@ -51,6 +56,7 @@ following names for their contribution to the product.
* Remember the dot
* Roan Kattouw
* Robert Stojnić
+* Robin Pepermans
* Rotem Liss
* Ryan Lane
* Ryan Schmidt
@@ -61,9 +67,11 @@ following names for their contribution to the product.
* Soxred93
* Thomas Bleher
* Tim Starling
+* Timo Tijhof
* Tom Gries
* Trevor Parscal
* Victor Vasiliev
+* Yesid Carrillo
* Yuri Astrakhan
== Patch Contributors ==
@@ -73,7 +81,7 @@ following names for their contribution to the product.
* Amalthea
* Antonio Ospite
* Azliq7
-* Bawolff
+* Bergi
* Borislav Manolov
* Brad Jorsch
* Brent G
@@ -82,12 +90,15 @@ following names for their contribution to the product.
* Carsten Nielsen
* Conrad Irwin
* Dan Barrett
+* Dan Collins
* Dan Nessett
* Daniel Arnold
* Denny Vrandecic
-* Derk-Jan Hartman
-* DieBuche
+* Erwin Dokter
* FunPika
+* fomafix
+* Grunny
+* Harry Burt
* Ireas
* Jaska Zedlik
* Jeremy Baron
@@ -103,6 +114,7 @@ following names for their contribution to the product.
* Louperivois
* Lucas Garczewski
* Luigi Corsaro
+* Lupo
* Manuel Menal
* Marcin Cieślak
* Marcus Buck
@@ -111,11 +123,15 @@ following names for their contribution to the product.
* Matthew Britton
* mati
* Max Sikström
+* Michael Dale
* Michael De La Rue
+* Michael M.
* Michael Walsh
* Mike Horvath
* Mormegil
* MrPete
+* MZMcBride
+* mybugs.mail
* Nakon
* Nathan Larson
* nephele
@@ -126,18 +142,24 @@ following names for their contribution to the product.
* PieRRoMaN
* quietust
* René Kijewski
+* rgcjonas
* Robert Treat
* RockMFR
-* ST47
+* Salvatore Ingala
* Scott Colcord
* Simon Walker
* Solitarius
+* ST47
* Stefano Codari
* Str4nd
* svip
+* The Evil IP address
* Tisane
* Umherirrender
* Ville Stadista
+* Vitaliy Filippov
+* William Demchick
+* Yuvaraj Pandian T
* Zachary Hauri
== Translators ==
diff --git a/HISTORY b/HISTORY
index 2cc94aad..f2d00b41 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,135 +1,597 @@
Change notes from older releases. For current info see RELEASE-NOTES.
-== MediaWiki 1.16 ==
-
-== Changes since 1.16.4 ==
-
-* (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third
- attempt at fixing bug 28235.
-* (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin
- is enabled.
-
-== Changes since 1.16.3 ==
-
-* (bug 28507) The change we made in 1.16.3 to fix bug 28235 (XSS for IE 6
- clients) was not actually sufficient to fix that bug. This release contains
- a second attempt, hopefully we have fixed it this time.
-
-== Changes since 1.16.2 ==
-
-* (bug 28449) Fixed permissions checks in Special:Import which allowed users
- without the 'import' permission to import pages from the configured import
- sources.
-* (bug 28235) Fixed XSS affecting IE 6 and earlier clients only, due to those
- browsers looking for a file extension in the query string of the URL, and
- ignoring the Content-Type header if one is found.
-* (bug 28450) Fixed a CSS validation issue involving escaped comments, which
- led to XSS for Internet Explorer clients and privacy loss for other clients.
-
-== Changes since 1.16.1 ==
-
-* (bug 26642) Fixed incorrect translated namespace due to a regression in the
- language converter.
-* The interface translations were updated.
-* (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability.
-* (bug 27094) Fixed server-side arbitrary script inclusion vulnerability.
- Affects Windows servers only. A malicious file with extension ".php" must
- exist on the server for the exploit to be effective.
+== MediaWiki 1.17 ==
+
+=== PHP 5.2 now required ==
+Since 1.17, the lowest supported version of MediaWiki is now 5.2.3. Please
+upgrade PHP if you have not done so prior to upgrading MediaWiki.
+
+=== New installer in 1.17 ===
+MediaWiki 1.17 is shipping with a completely redesigned installer to fix
+a lot of outstanding bugs, cleanup the code quality, and make it easier to
+use. Notably, you can now run upgrades from the web without having to move
+LocalSettings.php. Also, configuration script directory has been renamed
+from config/ to mw-config/. The specific bugs are listed below in the
+general notes.
+
+=== New ResourceLoader in 1.17 ===
+MediaWiki 1.17 ships with a ResourceLoader which combines and minifies css and
+javascript attached to the page. They are served from the new entry point load.php
+If the page is served with the &debug=true parameter, the non-minified files
+are used instead.
+
+=== Configuration changes in 1.17 ===
+* DatabaseFunctions.php that was needed for compatibility with pre-1.3
+ extensions has been removed.
+* $wgAllowImageTag can be set to true to whitelist the <img> tag in wikitext.
+* (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
+ options.
+* $wgAllowUserCssPrefs option allows disabling CSS-based preferences; which can
+ improve page loading speed.
+* (bug 22858) $wgLocalStylePath is by default set to the same value as
+ $wgStylePath but should never point to a different domain than the site is
+ on, allowing skins to use .htc files which are not cross-domain friendly.
+* (bug 20193) Added $wgVectorShowVariantName global configuration variable
+ which causes Vector to render the variants drop-down menu with a label
+ showing the current variant name. This is off by default, pending further
+ research into its user experience implications.
+* XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
+* Added $wgSQLMode for setting database SQL modes - either performance (null)
+ or other reasons (such as enabling stricter checks)
+* $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
+ been turned into $wgDeletedDirectory.
+* $wgDeletedDirectory has been added to specify what directory to place deleted
+ uploads in.
+* IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
+ normal $wgDBport.
+* The upload link for missing files can now be set separately from the
+ navigation link with $wgUploadMissingFileUrl.
+* $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
+ provides more sensible sorting behavior for categories.
+* Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
+ $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors,
+ $wgUseZhdaemon, $wgZhdaemonHost and $wgZhdaemonPort.
+* (bug 24408) The include_path is not modified in the default LocalSettings.php
+* $wgVectorExtraStyles was removed, and is no longer in use.
+* $wgLoadScript was added to specify alternative locations for ResourceLoader
+ requests.
+* $wgResourceLoaderMaxage was added to specify maxage and smaxage times for
+ responses from ResourceLoader based on whether the request's URL contained a
+ version parameter or not.
+* $wgResourceLoaderDebug was added to specify the default state of debug mode;
+ this will still be overridden with the debug URL parameter a la
+ $wgLanguageCode.
+* $wgResourceLoaderInlinePrivateModules was added to specify whether private
+ modules such as user.options should be embedded in the HTML output or
+ delivered through a resource loader request, which bypasses server cache (like
+ squid) and checks the user parameter against $wgUser. The former adds more
+ data to all pages, while the latter adds a request which cannot be cached
+ server side.
+* Removed $wgUpdates for database updates; extension should use
+ DatabaseUpdater::addExtensionUpdate().
+* Removed $wgServerName. It doesn't need to be set anymore and is no longer
+ available as input for other configuration items, either.
+* Remove $wgRemoteUploads. It was not well supported and superseded by
+ $wgUploadNavigationUrl.
+* (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
+ without having to move LocalSettings.php
+* The FailFunction "error handling" method has now been removed
+* $wgAdditionalMailParams added to allow setting extra options to mail() calls.
+* $wgSecureLogin to optionaly login using HTTPS
+* (bug 25728) Added $wgPasswordSenderName to allow customise the name associed
+ with $wgPasswordSender
+* Sysops now have the "suppressredirect" right by default
+* (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
+ the footers of skins.
+* $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
+ used for the file cache. Default value is 2, which matches former behavior
+* It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
+* It's no longer necessary to set $wgCacheEpoch to the file modification time
+ of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
+ automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
+ the default).
+* (bug 26253) $wgPostCommitUpdateList has been removed
+
+=== New features in 1.17 ===
+* (bug 10183) Users can now add personal styles and scripts to all skins via
+ User:<name>/common.css and /common.js (if user css/js is enabled).
+* (bug 22748) Add anchors on Special:ListGroupRights.
+* (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
+ apply the names of the individual files within the gallery.
+* Future-proof redirection to fragments in Gecko, so things work a little nicer
+ if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
+* Support git:// and mms:// protocols by default for external links.
+* (bug 15810) Blocked admins can no longer unblock themselves without the
+ 'unblockself' permission (which they have by default).
+* (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
+ changes list.
+* (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
+ viewing contributions of a blocked IP address.
+* (bug 22474) {{urlencode:}} now takes an optional second paramter for type of
+ escaping.
+* Special:Listfiles now supports a username parameter.
+* Special:Random carries over query string parameters.
+* (bug 23206) Add Special::Search hook for detecting successful "Go".
+* When visiting a "red link" of a deleted file, a deletion and move log excerpt
+ is provided on the Upload form.
+* (bug 22647) Add category details in search results.
+* (bug 23276) Add hook to Special:NewPages to modify query.
+* Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
+* Add accesskey 'b' and tooltip to the summary field of edit mode.
+* (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
+* ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
+ watch links, not just to watch the page the link is on.
+* (bug 20976) "searchmenu-new-nocreate" message now displayed when when there
+ is no title match in search and the user has no rights to create pages.
+* (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
+* (bug 22844) Added support for WinCache object caching.
+* (bug 23580) Add two new events to LivePreview so that scripts can be
+ notified about the beginning and finishing of LivePreview actions.
+* (bug 21278) Now the sidebar allows inclusion of wiki markup.
+* (bug 23733) Add IDs to messages used on CSS/JS pages
+* (bug 21312) RevisionMove allows moving individual revisions of a page to
+ another page. Introducing 'revisionmove' user right; disabled by default;
+ experimental feature.
+* Show validity period of the login cookie in Special:UserLogin and
+ Special:Preferences
+* Interlanguage links display the page title in their tooltip.
+* (bug 23621) New Special:ComparePages to compare (diff) two articles.
+* (bug 4597) Provide support in Special:Contributions to show only "current"
+ contributions
+* (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
+* (bug 21477) \& can now be used in <math>
+* (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
+* (bug 21475) \mathtt and \textsf can now be used in <math>
+* texvc is now run via ulimit4.sh, to limit execution time.
+* SQLite now supports $wgSharedDB.
+* (bug 8507) Group file links by namespace:title on image pages
+* Stop emitting named entities, so we can use <!DOCTYPE html> while still being
+ well-formed XML
+* texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
+* Added scriptExtension setting to $wgForeignFileRepos
+* ForeignApiRepo uses scriptDirUrl if apiBase not set
+* (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
+ client wikis.
+* (bug 14685) Double underscore magic word usage is now tracked in the
+ page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
+ {{DISPLAYTITLE}}
+* (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
+ "mw-ipb-needreblock"
+* Non-file pages can no longer be moved to the file namespace, nor vice versa.
+* (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
+ input
+* (bug 24563) Entries on Special:WhatLinksHere now have a link to their history
+* (bug 21503) There's now a "reason" field when creating account for other users
+* (bug 24418) action=markpatrolled now requires a token
+* A variety of category sort-related fixes, including:
+** (bug 164) In English, lowercase and uppercase letters now sort the same.
+ (This should be expanded to proper sorting for other languages before the
+ 1.17 release.)
+** (bug 1211) Subcategories, ordinary pages, and files now page separately.
+** When several pages are given the same sort key, they sort by their names
+ instead of randomly.
+* (bug 23848) Add {{ARTICLEPATH}} Magic Word.
+* JavaScript-based password complexity checker on account creation and
+ password change.
+* (bug 8140) Add dedicated CSS classes to Special:Newpages elements
+* (bug 11005) Add CSS class to empty pages in Special:Newpages
+* The parser cache is now shared amongst users whose different settings aren't
+ used in the page.
+* Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
+* (bug 24007) Diff pages now mention the number of users having edited
+ intermediate revisions
+* Added new hook GetIP
+* Special:Version now displays whether a SQLite database supports full-text
+ search.
+* TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
+ for versioning
+* Maintenance scripts get a --memory-limit option to override defaults (which
+ is usually to set it to -1 to disable the limit)
+* (bug 25397) Allow uploading (not displaying) of WebP images, disabled
+ by default
+* (bug 23194) Special:ListFiles now has thumbnails
+* Use hreflang to specify canonical and alternate links, search engine friendly
+ when a wiki has multiple variant languages.
+* (bug 19593) Specifying --server in now works for all maintenance scripts
+* Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
+* (bug 10541) Front/backend separation of installation/upgrade code
+* (bug 10596) Allow installer to enable extensions already in extensions folder
+* (bug 17394) Make installer check for latest version against MediaWiki.org
+* (bug 20627) Installer should be in languages other than English
+* Support for metadata in SVG files (title, description).
+* Special:Search: Add CSS classes to 'none found' and 'create link' messages
+* Add CSS classes (including namespace and pagename) to the enhanced recent
+ changes/watchlist entries
+* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
+ customizable
+* Added CSS print pagination to the print stylesheets
+* (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
+ file repositories.
+* When viewing a redirect, the redirect arrow and redirection target are both
+ wrapped in a div that has the class "redirectMsg" so that the redirection
+ arrow can be customized with CSS
+* (bug 21911) Hard coded limit for long page warning removed. New message
+ [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
+ Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
+ number of the textsize in Byte
+* (bug 3276) Give image <gallery>s fluid width
+* Added uploads link to page subtitle in Special:Contributions
+* Added Special:Myuploads special page that redirects to Special:Listfiles
+* The footerlinks used in Monobook/Vector/Modern are now part of common skin
+ code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
+* Special wrapping setups can now define MW_CONFIG_FILE to load a config file
+ other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
+ some cases where MW_CONFIG_CALLBACK will not work.
+
+=== Bug fixes in 1.17 ===
+* (bug 17560) Half-broken deletion moved image files to deletion archive
+ without updating database.
+* (bug 22666) Submitting user block form with an invalid user name no longer
+ throws an error.
+* (bug 22665, bug 22667) User '0' can now be unblocked and have its block
+ settings changed.
+* (bug 22606) The body of e-mail address confirmation message is now different
+ when the address changed.
+* (bug 22664) Special:Userrights now accepts '0' as a valid user name.
+* (bug 5210) Preload parser now parses <noinclude>, <includeonly> and
+ redirects.
+* (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
+ the URL contains a colon.
+* (bug 22353) Categorised recent changes now works again.
+* (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
+ now only displayed when relevant.
+* (bug 22772) {{#special:}} parser function now works with subpages.
+* (bug 18664) Relative URIs in interwiki links cause failed redirects.
+* (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
+* (bug 22903) Revdelete log entries now show in the user preferred language.
+* (bug 22905) Correctly handle <abbr> followed by ISBN.
+* (bug 22940) Namespace aliases pointing to main namespace don't work.
+* (bug 15810) Blocked admins can no longer block/unblock other users.
+* (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
+ correctly set.
+* (bug 14952) Page titles are renormalized after html entities are removed so
+ that links with non-NFC character references work correctly.
+* (bug 22991) wgUserGroups JavaScript variable now reports * group for
+ anonymous users instead of null.
+* (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
+* (bug 21520) Anonymous previews now also gives a warning about not being
+ logged in (anonpreviewwarning).
+* (bug 22935) image/x-ms-bmp mime type added for BMP files.
+* (bug 23024) Special:ListFiles now escapes file names correctly.
+* (bug 22867) "View source" tab is now only displayed if there's source text.
+* (bug 19393) Feeds now format dates in user language rather than content
+ language.
+* (bug 22852) "Served in" comment is now the time used to cache a single page
+ when using rebuildFileCache.php
+* (bug 22496) Viewing diff of a redirect page without specifying "oldid".
+ parameter no longer makes the page displayed as being the redirect target.
+* (bug 22918) Feed cache keys now use $wgRenderHashAppend.
+* (bug 21916) Last-Modified header is now correct when outputting cached feed.
+* (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
+* (bug 23017) Special:Disambiguations now list pages in content namespaces
+ rather than only main namespace.
+* (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
+ frames, and $wgMaxImageArea against the size of the first frame, rather than
+ the other way around. Both now default to 12.5 megapixels. Also, images
+ exceeding $wgMaxImageArea can still be embedded at original size.
+* (bug 23078) "All public logs" option on Special:Log is now always the first
+ item.
+* (bug 16817) Group names in user rights log are now singular and in lowercase.
+* Special:Preferences no longer crashes if the wiki default date formatting
+ style is not valid for the user's interface language.
+* (bug 23167) Check the watch checkbox by default if the watchcreations
+ preference is set.
+* Maintenance script cleanupTitles is now able to fix titles stored
+ in a negative namespace (which is invalid).
+* (bug 19858) Removed obsolete <big> in interface messages.
+* (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
+ displays incorrect tabs.
+* (bug 23190) Improved math representation for text browsers.
+* (bug 22015) Improved upload-by-url error handling and error display.
+* (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
+* (bug 23080) New usernames now limited to 235 bytes so that custom skin files
+ work.
+* (bug 23075) Correct MediaTransformError default width in gallery.
+* (bug 16487) The Anonymous user account used on Postgres is no longer
+ displayed on Special:Listusers.
+* (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
+ to enhance preference grouping.
+* (bug 23298) Interwiki links with prefix only in log summaries now link to the
+ correct link.
+* (bug 23284) Times are now rounded correctly.
+* (bug 23375) Added ogv, oga, spx as extensions for ogg files.
+* (bug 18408) All required permissions for uploading (upload, edit, create)
+ are now checked when loading Special:Upload. Toolbar link for Special:Upload
+ is no longer shown if the user does not have the required permissions.
+* (Bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
+* (Bug 23241) Remove License selector, because it is not used when uploading a
+ new version.
+* (bug 23240) Add ID to namespace selector form on Special:Watchlist.
+* The pipe | character in urls is now escaped.
+* (bug 23422) mp3 files can now be moved.
+* (bug 23448) MediaWiki:Summary-preview is now displayed instead of
+ MediaWiki:Subject-preview when previewing summary.
+* (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
+ new variable {{REVISIONMONTH1}} when unpadded version is needed.
+* Special:Userrights didn't recognize user as changing his/her own rights if
+ user did not capitalize first letter of username.
+* (bug 23507) Add styles for printing wikitables.
+* (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
+ as Opera 8.
+* (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
+ account upload rights.
+* (bug 1347) Render \phi in math using images, in order to create consistent
+ and correct render results.
+* (bug 16573) Render \epsilon in math using images, in order to create
+ consistent and correct render results.
+* (bug 22541) Support image redirects when using ForeignAPIRepo.
+* (bug 22967) Make edit summary length cut-off behave correctly for
+ multibyte characters.
+* (bug 8689) Long numeric lines no longer kill the parser.
+* (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
+ the $noRedir parameter is set to true
+* (bug 23688) Correct mime types for Office 2007 OpenXML documents.
+* (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php
+* (bug 23797) Xml::input() now allows '0' for the value parameter
+* (bug 23747) Make sure that on History pages, the RevDel button is not
+ accidently activated when hitting enter.
+* (bug 23845) Special:ListFiles now uses correct file names without underscores
+* Ask for permanent login in Special:Preferences only if $wgCookieExpiration > 0
+* (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
+* (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
+ a fatal error
+* (bug 23465) Don't ignore the predefined destination filename on
+ Special:Upload after following a red link
+* (bug 23642) Recognize mime types of MS OpenXML documents.
+* (bug 22784) Normalise underscores and spaces in autocomments.
+* (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings
+* (bug 24022) Only check file extensions on the uploadpage when needed.
+* (bug 24076) Recognize Office 2003 files with OpenXML trailers
+* (bug 24244) Updated comments in DefaultSettings.php to reflect
+ Image: --> File: namespace rename.
+* Make wfTimestamp recognize negative unix timestamp values.
+* (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
+ disabled
+* (bug 23293) Do not show change tags when special:recentchanges(linked)
+ or special:newpages is transcluded into another page as it messes up the
+ page.
+* (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
+ throw fatal errors
+* (bug 23380) Uploaded files that are larger than allowed by PHP now show a
+ useful error message.
+* Uploading to a protected title will allow the user to choose a new name
+ instead of showing an error page
+* (bug 24425) Use Database::replace instead of delete/insert in
+ SqlBagOStuff::set to avoid query errors about duplicate keynames.
+* (bug 15470) First letters of filenames are always capitalized by upload JS.
+* (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules
+* (bug 21052) Fix link color for stubs in NewPages
+* (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
+ longer pollutes the parser cache.
+* (bug 17031) Correct which characters the parser allows in tag attributes (a
+ letter, colon or underscore followed by 0 or more letters, numbers, colons,
+ underscores, hyphens, and/or periods).
+* Save 200 useless queries on each category page view
+* Shell commands will now work on Linux in filesystems mounted noexec
+* (bug 24804) Corrected commafying in Polish and Ukrainian
+* "Difference between pages" is now displayed instead of "Difference between
+ revisions" on diffs when appropriate.
+* (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
+ a repository due to missing 'name' attribute from the API list=allimages
+* (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
+ make wfTempDir() return a sane value for Windows on worst-case
+* (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
+ memory usage when such an ImageMagick is used for scaling.
+* Disable multithreaded behaviour in recent ImageMagick, to avoid a deadlock
+ when a resource limit such as $wgMaxShellMemory is hit.
+* (bug 24981) Allow extensions to access SpecialUpload variables again
+* (bug 20744) Wiki forgets about an uploaded file
+* (bug 17913) Don't show "older edit" when no older edit available
+* (bug 6204) TOC not properly rendered when using $wgMaxTocLevel
+* (bug 24977) The accesskey in history page now lead directly to the diff
+ instead of alterning focus between the two buttons.
+* (bug 24987) Special:ListUsers does not take external groups into account
+* (bug 20633) update.php has mixed language output
+* SQLite system table names are now never prefixed.
+* (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
+ parameter
+* (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16)
+* (bug 25367) wfShellExec() is more explicit when failing due to disabled
+ passthru()
+* (bug 25462) Fix double-escaping for section edit link tooltips
+* action=raw was removed for Special:Statistics. This information is still
+ available via the API
+* (bug 23934) Groups defined in $wgRevokePermissions but not in
+ $wgGroupPermissions now appear on Special:ListGroupRights
+* (bug 23923) Special:Prefixindex no longer shows results if nothing was
+ requested.
+* (bug 22308) Search now finds text in default main page immediately after setup
+* (bug 25697) Make sure empty lines render in diff view.
+* Use an actual minus sign in diff views, instead of a hyphen.
+* (bug 23732) Clarified "n links" message on Special:MostLinkedFiles
+* (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates
+* (bug 25642) A exception is now thrown instead of a fatal error when using
+ $wgSMTP without PEAR mail package
+* (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
+* (bug 11013) Database driver detection needs rewriting for robustness
+* (bug 13409) Installer prompts could use clarification--now has help boxes
+* (bug 16902) Installer spews warnings when exec() and dl() are not available
+* (bug 19129) Only show MyISAM/InnoDB when supported
+* (bug 17762) Only show other e-mail options when e-mail is globally enabled
+* Cache multiple sizes of InstantCommons thumbnails
+* (bug 25488) Disallowing anonymous users to read pages no longer throws error
+ on discussion pages with vector as default skin
+* (bug 24833) Files name in includes/diff/ are now less confusing
+* (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores
+* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
+ parameters
+* (bug 25175) HTML file cache now honor $wgCacheDirectory if
+ $wgFileCacheDirectory is not set
+* (bug 13353) Diff3 version checks were too strict, did not detect working diff3
+* (bug 25843) Links to special pages using link= attribute on images are now
+ normalised like normal links to special pages
+* (bug 21364) External links using link= attribute on images now respect
+ $wgExternalLinkTarget
+* (bug 17789) Added a note to the total views on Special:Statistics saying that
+ is doesn't count non-existing pages and special pages
+* (bug 17996) HTTP redirects are now combined when requesting a special page
+* (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
+ some cases
+* (bug 25670) wfFindFile() now checks the namespace of the given title, only
+ "File" and "Media" are allowed now
+* (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
+ with php extension that defines same class.
+* (bug 20591) There's now a different message on Special:MovePage when
+ $wgFixDoubleRedirects is set to false.
+* Fixed PHP warnings when updating a broken MySQL database.
+* (bug 26023) Corrected deleteBacth.php's documentation
+* (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
+* Show "skin does not exist error" only when the skin is inputted in the wrong
+ case.
+* (bug 26164) Potential html injection when the database server isn't available
+* (bug 26160) Upload description set by extensions are not propagated
+* (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
+ absolute URLs in the sitemap index (as required e.g. by Google)
+* Partial workaround for bug 6220: at least make files on shared repositories
+ show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles
+* rebuildFileCache.php no longer creates inappropriate cache files for redirects
+* (bug 18372) $wgFileExtensions will now override $wgFileBlacklist
+* (bug 25512) Subcategory list should not include category prefix for members.
+* (bug 20244) Installer does not validate SQLite database directory for stable path
+* (bug 1379) Installer directory conflicts with some hosts' configuration panel.
+* (bug 12070) After Installation MySQL was blocked
+* Fix XML well-formedness on a few pages when $wgHtml5 is true (the default)
+* (bug 28568) Entries in the iwlinks table are now removed on page deletion
+
+=== API changes in 1.17 ===
+* (bug 22738) Allow filtering by action type on query=logevent.
+* (bug 22764) uselang parameter for action=parse.
+* (bug 22944) API: watchlist options are inconsistent.
+* (bug 22868) don't list infinite block expiry date as "now" in API logevents.
+* (bug 22290) prop=revisions now outputs "comment" field even when comment.
+ is empty, for consistency with list=recentchanges.
+* (bug 19721) API action=help should have a way to just list for a specific
+ module.
+* (bug 23458) Add support for pageid parameter to action=parse requests.
+* (bug 23460) Parse action should have a section option.
+* (bug 21346) Make deleted images searchable by hash.
+* (bug 23461) Normalise usage of parameter names in parameter descriptions.
+* (bug 23548) Allow access of another users watchlist through watchlistraw
+ using token and username.
+* (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
+ track inline interwiki link usage).
+* Add pltitles and tltemplates to prop=links and prop=templates respectively,
+ similar to prop=categories's clcategorie
+* (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
+ thumbnailing larger than original image
+* (bug 23835) Need "thumbmime" result in "imageinfo" query
+* (bug 23851) Repair diff for file redirect pages
+* (bug 24009) Include implicit groups in action=query&list=users&usprop=groups
+* (bug 24016) API: Handle parameters specified in simple string syntax
+ ( 'paramname' => 'defaultval' ) correctly when outputting help
+* (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied
+* (bug 23473) Give description of properties on all modules
+* (bug 24136) unknownerror when adding new section without summary, but
+ forceditsummary
+* (bug 16886) Sister projects box moves down the extract of the first result
+ in IE 7.
+* (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result
+* (bug 24303) Added new &servedby parameter to all actions which adds the
+ hostname that served the request to the result. It is also added
+ unconditionally on error
+* (bug 24185) Titles in the Media and Special namespace are now supported for
+ title normalization in action=query. Special pages have their name resolved
+ to the local alias.
+* (bug 24296) Added converttitles parameter to convert titles to their
+ canonical language variant.
+* (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
+ parameter.
+* (bug 23936) Add "displaytitle" to query/info API
+* (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
+ iwtitle
+* (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
+ one of the backlinks generators with limit=max.
+* (bug 24656) API's parse module needs option to disable PP report
+* PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
+ does not set the parameter, the API will automatically throw an error.
+* (bug 24665) When starttimestamp is not specified, fake it by setting it to
+ NOW, not to the timestamp of the last edit
+* (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
+ allmessages, allpages, and allusers
+* (bug 24236) Add add, remove, add-self, remove-self tags to
+ meta=siteinfo&siprop=usergroups
+* (bug 24484) Add prop=pageprops module
+* (bug 24330) Add &redirect parameter to ?action=edit
+* (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
+ blockreason if the user is actually blocked.
+* Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format
+* For required string parameters, if '' is provided, this is now classed as
+ missing
+* (bug 24724) list=allusers is out by 1 (shows total users - 1)
+* (bug 24166) API error when using rvprop=tags
+* Introduced "asynchronous download" mode for upload-by-url. Requires
+ $wgAllowAsyncCopyUploads to be true.
+* sinumberingroup correctly gives size of 'user' group, and omits size of
+ implicit groups rather than showing 0.
+* (bug 25248) API: paraminfo errors with certain modules
+* (bug 25303) Fix API parameter integer validation to actually enforce
+ validation on the input values in addition to giving a warning. Also add flag
+ to enforce (die) if integer out of range (breaking change!)
+* (bug 24792) API help for action=purge sometimes wrongly stated whether a
+ POST request was needed due to cache pollution
+* Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions
+* Added rvparse to parse revisions. For performance reasons if this option is
+ used, rvlimit is enforced to 1.
+* (bug 25748) If a action=parse request provides an oldid that is actually the
+ current revision id, try the parser cache, and save it to it if necessary
+* (bug 25463) Export header should not be shown if no pages were requested, to
+ reduce confusion
+* (bug 25648) API discovery information has been added as RSD link in page
+ <head> and by providing an API module action=rsd. Added hook
+ ApiRsdServiceApis for extensions to add their own service to the services
+ list.
+* The HTML of diff output markers has changed. Hyphens are now minus signs,
+ empty markers are now filled with non-breaking-space characters
+* (bug 25741) Add more data to list=search's srprop
+* (bug 25760) counter property still reported by the API when
+ $wgDisableCounters enabled
+* (bug 25987) prop=info&inprop=watched now also works for missing pages
+* (bug 26006) prop=langlinks now allows obtaining full URL
+* (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook
+* (bug 26089) add block expiration to blockinfo
+* (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
+ file is a multi-page file
+* (bug 10268) Added linktodiffs parameter on action=feedwatchlist
+* (bug 26219) Show API limits for multi values in description
+
+=== Languages updated in 1.17 ===
+
+MediaWiki supports over 330 languages. Many localisations are updated
+regularly. Below only new and removed languages are listed, as well as
+changes to languages because of Bugzilla reports.
-== Changes since 1.16.0 ==
+* Moroccan Spoken Arabic (ary) (new)
+* Banjar (bjn) (new)
+* Danish (dk) (removed deprecated language code)
+* Fiji Hindi (Devangari script) (removed)
+* Kabardian (kdb) (new, dummy)
+* Kabardian (Cyrillic) (kbd-cyrl) (new)
+* Latgalian (ltg) (new)
+* Minangkabau (min) (new)
+* Dutch (informal) (nl-informal) (new)
+* Rusyn (rue) (new)
+
+* (bug 23156) Commafy and search normalization updated for Belarusian
+ (Taraškievica).
+* (bug 23283) Native name for Old English -> Ænglisc.
+* (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
+* (bug 24593) Native name for Sorani now uses only Arabic script.
+* (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
+* (bug 24917) Polish as fallback for Kashubia.
+* (bug 24794) Tatar link trail updated.
+* Esperanto date format corrected.
-* (bug 24981) Allow extensions to access SpecialUpload variables again
-* (bug 24724) list=allusers was out by 1 (shows total users - 1)
-* (bug 24166) Fixed API error when using rvprop=tags
-* For wikis using French as a content language, Special:Téléchargement works
- again as an alias for Special:Upload.
-* (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16.0)
-* (bug 25248) Fixed paraminfo errors in certain API modules.
-* The installer now has improved handling for situations where safe_mode is
- active or exec() and similar functions are disabled.
-* (bug 19593) Specifying --server in now works for all maintenance scripts.
-* Fixed $wgLicenseTerms register globals.
-* (bug 26561) Fixed clickjacking vulnerabilities by introducing support for
- X-Frame-Options. The header value can be configured using $wgBreakFrames and
- $wgEditPageFrameOptions.
-
-== Changes since 1.16 beta 3 ==
-
-* (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in
- 1.16 beta 1, but is currently poorly supported by browsers.
-* (bug 23175) Re-added window.ta variable for backwards compatibility.
-* (bug 23264) Fixed breakage of various command line scripts due to extra line
- endings being inserted by Maintenance::output().
-* Fixed HTTP client functionality with safe_mode=On.
-* Fixed parser tests broken in 1.16 beta 3.
-* For Oracle DB backend: fixed parser tests and table prefix feature.
-* (bug 23767) Fixed PHP warning when REQUEST_URI is blank (IIS issue).
-* Fixed plural function for Northern Sami (se)
-* (bug 23597) Fixed conflicts between ID attributes in the Vector skin and
- parser-generated heading IDs. Renamed head, panel, head-base and page-base.
-* Disabled $wgHitcounterUpdateFreq>1 feature on SQLite, does not work yet.
-* (bug 23465) Don't ignore the predefined destination filename on
- Special:Upload after following a red link to a file.
-* In SQLite full-text search feature: fixed "move page" feature, was non-
- functional.
-* (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
- user privacy in the case where an attacker can access the wiki through the
- same HTTP proxy as a logged-in user.
-* Fixed an XSS vulnerability in profileinfo.php for installations with
- $wgEnableProfileInfo = true (false by default)
-* Fixed a case where an X-Vary-Options header was sent despite $wgUseXVO being
- false. Fixed a minor header parsing issue when $wgUseXVO = true.
-* Fixed a register_globals arbitrary inclusion vulnerability in
- MediaWikiParserTest.php, introduced in 1.16 beta 1.
-
-== Changes since 1.16 beta 2 ==
-
-* Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
- invalid usernames.
-* Fixed sorting in [[Special:Allmessages]]
-* (bug 23113) Fixed title in the show/hide links on diff pages
-* (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests
-* (bug 23127) Re-added missing $1 parameter to the uploadtext message
-* Fixed a bug in the Vector skin where personal tools display behind the logo
-* (bug 23139) Fixed a bug in edit conflict resolution, where both textboxes
- showed the same text.
-* (bug 23115, bug 23124) Fixed various problems with <title> and <h1> elements
- in page views and previews when the language converter is enabled.
-* (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image
- scaling, which was introduced in 1.16 beta 1.
-* Improved error checking on installer.
-* (bug 22970) Fixed a JavaScript error in the upload destination conflict
- check.
-* (bug 23167) Check the watch checkbox by default if the watchcreations
- preference is set.
-* (bug 23171) Improve IE6 version check to avoid false positives.
-* (bug 23176) Fixed upload warning override feature "upload new version",
- broken in 1.16 beta 1.
-* Fixed regression in unwatch links sent out in notification emails. When the
- mailing job was deferred via the job queue, the title was incorrect.
-* (bug 23534) Fixed SQL query error in API list=allusers.
-* Fixed a bug in uploads for non-JavaScript clients. An empty string was used
- as the default destination filename, instead of the source filename as
- expected.
-* (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
- account" and "create by e-mail" features of [[Special:Userlogin]]
-* (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
- validation issue.
-* Fixed a DoS vulnerability in ImageMagick image scaling. ImageMagick
- expanded wildcard characters "?" and "*" in image filenames, potentially
- causing large numbers of images to be scaled in response to a single request.
- The fix for this involves breaking the scaling of such image filenames until
- ImageMagick 6.6.1-5 or later is deployed, see bug 23361 for more details.
-* (bug 23608) Fixed invalid HTML in diff pages.
-
-=== Changes since 1.16 beta 1 ===
-
-* Fixed errors in maintenance/patchSql.php
-* (bug 19627) Fix regression from r57867 where HTMLForm would output
- <element classes="foo bar"> rather than <element class="foo bar">
-* Fixed broken "-r" option to maintenance/lag.php
-* (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
- be submitted along with the user name and password.
+== MediaWiki 1.16 ==
=== Configuration changes in 1.16 ===
diff --git a/INSTALL b/INSTALL
index 2a35216d..1f226fe0 100644
--- a/INSTALL
+++ b/INSTALL
@@ -6,7 +6,7 @@ Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki
"in-place", as long as you have the necessary prerequisites available.
Required software:
-* Web server with PHP 5.2.3 or higher (1.16 was the last release to support 5.1.x)
+* Web server with PHP 5.2.3 or higher.
* A SQL server, the following types are supported
** MySQL 4.0.14 or higher
** PostgreSQL 8.3 or higher
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
deleted file mode 100644
index d4eb8bf4..00000000
--- a/RELEASE-NOTES
+++ /dev/null
@@ -1,891 +0,0 @@
-= 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.17.1 ==
-
-2011-11-24
-
-This a maintenance and security release of the MediaWiki 1.17 branch.
-
-=== Security changes ===
-* (bug 32276) Skins were generating output using the internal page title which
- would allow anonymous users to determine wheter a page exists, potentially
- leaking private data. In fact, the curid and oldid request parameters would
- allow page titles to be enumerated even when they are not guessable.
-* (bug 32616) action=ajax requests were dispatched to the relevant internal
- functions without any read permission checks being done. This could lead to
- data leakage on private wikis.
-
-=== Summary of selected changes in 1.17 ===
-
-Selected changes since MediaWiki 1.16 that may be of interest:
-
-* A new installer has been introduced. It has a wizard-style interface which is
- translated into many languages. Many shortcomings in the old installer were
- addressed with this rewrite. Note that it is no longer required for the config
- directory to be made writable by the webserver. Instead the generated
- LocalSettings.php file is offered as a download, which you must then upload
- to the wiki's base directory.
-
-* ResourceLoader, a new framework for delivering client-side resources such as
- JavaScript and CSS, has been introduced. These resources are now delivered
- through the new entry point script "load.php", instead of as static files
- served directly by the web server. This allows minification, compression and
- client-side caching to be used more effectively, which should provide a net
- performance improvement for most users.
-
-* Category sorting has been improved.
-** Sorting is now case insensitive.
-** Sub-categories, pages and files can now be paged separately.
-** When several pages are given the same sort key, they sort by their
- names instead of randomly.
-
-* The lowest supported version of PHP is now 5.2.3. If necessary, please
- upgrade PHP prior to upgrading MediaWiki.
-
-=== Changes since 1.17.0 ===
-
-* (bug 29535) Added missing Creative Commons CC0 icon.
-* (bug 29726) Fixed failure to load internationalization messages in
- client-side scripts on WebKit-based browsers.
-* Fixed a bug in message transformation where the previous language could leak
- into later transformations in the UI language.
-* (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон)
-* Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not
- work at all since 1.17 beta 1.
-* (bug 29531) Fixed img_auth.php for thumbnails and other filenames with
- multiple dots, was broken by the fix for bug 28840.
-* In the maintenance script purgeList.php, fixed a fatal error when a page
- title is given, instead of a URL.
-* (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
-* Installer checked for magic_quotes_runtime instead of register_globals.
-* $wgSVGMaxSize is now applied to the smaller of width or height, making very
- wide pano/timeline/diagram SVGs renderable at saner sizes.
-* (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
- tries to subsribe to mediawiki-announce.
-* Installer checked for magic_quotes_runtime instead of register_globals
-* (bug 30131) XCache with variable caching disabled no longer used for variable
- caching (CACHE_ACCEL)
-* (bug 30264) Changed installer-generated LocalSettings.php to use require_once()
- instead require() for included extensions.
-* (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
- warnings/notices to be thrown
-* (bug 30907) Special:Unusedcategories should sort ascendingly.
-* (bug 30219) The page shown when LocalSettings.php does not exist was broken on
- Windows servers.
-
-=== Changes since 1.17.0rc1 ===
-
-* Fixed syntax error in generated LocalSettings.php when a non-default user
- rights profile is chosen.
-* (bug 29399) Fixed PostgreSQL installation when the DB user for installation
- is the same as the one for web access.
-* (bug 29233) Fixed failover for DB slave servers. When a DB slave went down,
- an error was immediately shown to the user, instead of trying another slave.
- Was broken since 1.17 beta 1.
-* (bug 29278) Fixed PHP fatal error when attempting to add text to a page via a
- redirect.
-* (bug 29408) Fixed uploads of files with MIME types that aren't detected by
- MediaWiki.
-* Removed DEFAULT '' NOT NULL field definitions from Oracle DB schema because
- using the DEFAULT value ('') in DML broke Oracle backend as it treats an
- empty VARCHAR2 value as NULL. Indexes on Oracle do not require NOT NULL
- fields.
-
-=== Changes since 1.17 beta 1 ===
-
-* Fixed warning about missing file "password.js".
-* When installing on MySQL, don't attempt to create a new database user if the
- same user is used for installation and web access.
-* Fixed SQL query errors in queries with table aliases.
-* (bug 27891) Fixed the "chronology protector", broken since 1.17beta1, which
- ensures that when database replication is used, the new version is seen by
- the user immediately after they create or edit an article.
-* (bug 28845) Allow PostgreSQL installation using a non-root user account which
- has role creation abilities.
-* When installing on PostgreSQL and the install account is the same as the web
- account, check to make sure that the account has suitable privileges in the
- mediawiki schema.
-* (bug 28172) Fixed error in PostgreSQL installation when creating the wiki
- sysop account.
-* Fixed an issue with the Oracle installer in cases where the user is different
- to the database name.
-* Added "unblockself" to the list of available rights.
-* In the installer, fixed the "user rights profile" option, it never worked.
-* (bug 29117) Fixed Hebrew localisation of the installer.
-* (bug 28840) Reduce the collateral damage caused by the fix for bug 28235 (XSS
- on Internet Explorer 6 due to a file extension in the query string) by
- reducing the number of URLs that are blocked, and by redirecting the request
- to a safer URL where possible instead of blocking it.
-* (bug 28812) Fixed documentation of API action=parse.
-* (bug 28979) Fixed styling of <abbr> and <acronym>.
-* Fixed the error message displayed when you try to create an account by email,
- but an email address is not given.
-* Fixed JS error due to missing dependency for jquery.suggestions.
-* Exposed $wgExtensionAssetsPath in JavaScript.
-* (bug 28738) Made ResourceLoader support environments with small URL length
- limits. The length limit can be configured via $wgResourceLoaderMaxQueryLength,
- and this is set automatically in the generated LocalSettings.php when the
- php.ini variable "suhosin.get.max_value_length" is set. When a URL exceeds
- this limit, the request is split up. Also, reduced the average length of
- load.php URLs by using a more compact parameter format.
-* (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
-* (bug 25124) Respect $wgStyleDirectory in ResourceLoader.
-* Allow installation when no HTTP client is available, don't throw an exception.
-* (bug 27465) Fix metadata extraction for SVG files using unusual namespace
- names.
-* (bug 29174) Fix regression in upload-by-URL: uploading files larger than the
- PHP memory limit should work again.
-* Fixed the display of comments in the new user log.
-* (bug 28237) When installing extensions using the web-based installer, create
- any necessary database tables.
-* (bug 28983) Fixed automated installation of extensions that overwrite $path.
-* Fixed error caused by missing magic words.
-* Fixed breakage of article editing in PostgreSQL due to text search
- configuration errors.
-* Fixed the HTTPS client used when Curl is not available. This avoids an error
- during install about failure of the mediawiki-announce subscription.
-* (bug 28162) When installing to PostgreSQL, respect the "database port" input,
- it was ignored.
-
-=== Configuration changes in 1.17 ===
-
-* $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
- to new users log.
-* (bug 22858) $wgLocalStylePath is by default set to the same value as
- $wgStylePath but should never point to a different domain than the site is
- on, allowing skins to use .htc files which are not cross-domain friendly.
-* $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
- been turned into $wgDeletedDirectory.
-* $wgDeletedDirectory has been added to specify what directory to place deleted
- uploads in.
-* IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
- normal $wgDBport.
-* $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
- provides more sensible sorting behavior for categories.
-* Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
- $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors, $wgUseZhdaemon,
- $wgZhdaemonHost and $wgZhdaemonPort.
-* (bug 24408) The include_path is not modified in the default LocalSettings.php
-* $wgVectorExtraStyles was removed, and is no longer in use.
-* Removed $wgUpdates for database updates; extensions should use
- DatabaseUpdater::addExtensionUpdate() via the LoadExtensionSchemaUpdates hook.
-* Removed $wgServerName. It doesn't need to be set anymore and is no longer
- available as input for other configuration items, either.
-* It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
-* It's no longer necessary to set $wgCacheEpoch to the file modification time
- of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
- automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
- the default).
-* $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright']
- should be used instead.
-* $wgSysopUserBans is deprecated, and will be made permanently true in 1.18.
- If you need this functionality, you should use the BlockIp hook to filter and
- reject such blocks.
-* $wgSysopRangeBans is deprecated, you should set $wgBlockCIDRLimit to maximum
- (32 for IPv4, 128 for IPv6), equivalent to allowing rangeblocks of only 1
- address at a time.
-
-=== New features in 1.17 ===
-
-* (bug 10183) Users can now add personal styles and scripts to all skins via
- User:<name>/common.css and /common.js (if user css/js is enabled).
-* (bug 22748) Add anchors on Special:ListGroupRights.
-* (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
- apply the names of the individual files within the gallery.
-* Future-proof redirection to fragments in Gecko, so things work a little nicer
- if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
-* Support git:// and mms:// protocols by default for external links.
-* (bug 15810) Blocked admins can no longer unblock themselves without the
- 'unblockself' permission (which they have by default).
-* (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
- changes list.
-* (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
- viewing contributions of a blocked IP address.
-* (bug 22474) {{urlencode:}} now takes an optional second parameter for type of
- escaping.
-* Special:Listfiles now supports a username parameter.
-* Special:Random carries over query string parameters.
-* (bug 23206) Add Special::Search hook for detecting successful "Go".
-* When visiting a "red link" of a deleted file, a deletion and move log excerpt
- is provided on the Upload form.
-* (bug 22647) Add category details in search results.
-* (bug 23276) Add hook to Special:NewPages to modify query.
-* Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
-* Add accesskey 'b' and tooltip to the summary field of edit mode.
-* (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
-* ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
- watch links, not just to watch the page the link is on.
-* (bug 20976) "searchmenu-new-nocreate" message now displayed when when there
- is no title match in search and the user has no rights to create pages.
-* (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
-* (bug 22844) Added support for WinCache object caching (for IIS).
-* (bug 23580) Add two new events to LivePreview so that scripts can be notified
- about the beginning and finishing of LivePreview actions.
-* (bug 21278) Now the sidebar allows inclusion of wiki markup.
-* (bug 23733) Add IDs to messages used on CSS/JS pages.
-* Show validity period of the login cookie in Special:UserLogin and
- Special:Preferences.
-* Interlanguage links display the page title in their tooltip.
-* (bug 23621) New Special:ComparePages to compare (diff) two articles.
-* (bug 4597) Provide support in Special:Contributions to show only "current"
- contributions
-* (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
-* (bug 21477) \& can now be used in <math>
-* (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
-* (bug 21475) \mathtt and \textsf can now be used in <math>
-* texvc is now run via ulimit4.sh, to limit execution time.
-* SQLite now supports $wgSharedDB.
-* (bug 8507) Group file links by namespace:title on image pages.
-* Stop emitting named entities, so we can use <!DOCTYPE html> while still being
- well-formed XML.
-* texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
-* Added scriptExtension setting to $wgForeignFileRepos.
-* ForeignApiRepo uses scriptDirUrl if apiBase not set.
-* (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
- client wikis.
-* (bug 14685) Double underscore magic word usage is now tracked in the
- page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
- {{DISPLAYTITLE}}
-* (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
- "mw-ipb-needreblock"
-* Non-file pages can no longer be moved to the file namespace, nor vice versa.
-* (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
- input.
-* (bug 21503) There's now a "reason" field when creating account for other users.
-* (bug 24418) action=markpatrolled now requires a token.
-* A variety of category sort-related fixes, including:
-** (bug 164) In English, lowercase and uppercase letters now sort the same.
-** (bug 1211) Subcategories, ordinary pages, and files now page separately.
-** When several pages are given the same sort key, they sort by their names
- instead of randomly.
-* (bug 23848) Add {{ARTICLEPATH}} Magic Word.
-* (bug 8140) Add dedicated CSS classes to Special:Newpages elements.
-* (bug 11005) Add CSS class to empty pages in Special:Newpages.
-* The parser cache is now shared amongst users whose different settings aren't
- used in the page.
-* Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
-* (bug 24007) Diff pages now mention the number of users having edited
- intermediate revisions.
-* Added new hook GetIP.
-* Special:Version now displays whether a SQLite database supports full-text
- search.
-* TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
- for versioning.
-* Maintenance scripts get a --memory-limit option to override defaults (which
- is usually to set it to -1 to disable the limit).
-* (bug 25397) Allow uploading (not displaying) of WebP images, disabled
- by default.
-* (bug 23194) Special:ListFiles now has thumbnails.
-* Use hreflang to specify canonical and alternate links, search engine friendly
- when a wiki has multiple variant languages.
-* (bug 19593) Specifying --server in now works for all maintenance scripts.
-* Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
-* (bug 10541) Front/backend separation of installation/upgrade code.
-* (bug 10596) Allow installer to enable extensions already in extensions folder.
-* (bug 20627) Installer should be in languages other than English.
-* Support for metadata in SVG files (title, description).
-* Special:Search: Add CSS classes to 'none found' and 'create link' messages.
-* Add CSS classes (including namespace and pagename) to the enhanced recent
- changes/watchlist entries.
-* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
- customizable.
-* Added CSS print pagination to the print stylesheets.
-* (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
- file repositories.
-* When viewing a redirect, the redirect arrow and redirection target are both
- wrapped in a div that has the class "redirectMsg" so that the redirection
- arrow can be customized with CSS.
-* (bug 21911) Hard coded limit for long page warning removed. New message
- [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
- Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
- number of the textsize in Byte.
-* (bug 3276) Give image <gallery>s fluid width.
-* Added uploads link to page subtitle in Special:Contributions.
-* Added Special:Myuploads special page that redirects to Special:Listfiles.
-* The footerlinks used in Monobook/Vector/Modern are now part of common skin
- code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
-* Special wrapping setups can now define MW_CONFIG_FILE to load a config file
- other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
- some cases where MW_CONFIG_CALLBACK will not work.
-* (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
- pages to be queried via the API and Special:ProtectedPages, and allowing
- disabling upload protection by removing it from $wgRestrictionTypes.
-* The name attribute of HTMLForm fields can now be overridden by passing a
- 'name' key in the descriptor array. Hidden field names are now treated
- consistently with other fields and, by default, prefixed with 'wp'.
-* (bug 27402) Add support for disabling MWSuggest.
-* (bug 26563) Add bytes changed per revision for stub and full article dumps.
-* (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
- look at when finding metadata to prevent excessive resource usage.
-* (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
- without having to move LocalSettings.php
-* Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag
- in wikitext.
-* (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
- options.
-* Added the $wgAllowUserCssPrefs option which allows disabling CSS-based
- preferences; which can improve page loading speed.
-* Added $wgSQLMode for setting database SQL modes - either performance (null)
- or other reasons (such as enabling stricter checks).
-* (bug 20193) Added $wgVectorShowVariantName global configuration variable
- which causes Vector to render the variants drop-down menu with a label
- showing the current variant name. This is off by default, pending further
- research into its user experience implications.
-* The upload link for missing files can now be set separately from the
- navigation link with $wgUploadMissingFileUrl.
-* $wgAdditionalMailParams added to allow setting extra options to mail() calls.
-* Added $wgSecureLogin to optionally login using HTTPS.
-* (bug 25728) Added $wgPasswordSenderName to make the name associated
- with $wgPasswordSender configurable.
-* (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
- the footers of skins.
-* $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy.
- used for the file cache. Default value is 2, which matches former behavior.
-
-=== Bug fixes in 1.17 ===
-
-* (bug 17560) Half-broken deletion moved image files to deletion archive
- without updating database.
-* (bug 22666) Submitting user block form with an invalid user name no longer
- throws an error.
-* (bug 22665, bug 22667) User '0' can now be unblocked and have its block
- settings changed.
-* (bug 22606) The body of e-mail address confirmation message is now different
- when the address changed.
-* (bug 22664) Special:Userrights now accepts '0' as a valid user name.
-* (bug 5210) Preload parser now parses <noinclude>, <includeonly> and
- redirects.
-* (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
- the URL contains a colon.
-* (bug 22353) Categorised recent changes now works again.
-* (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
- now only displayed when relevant.
-* (bug 22772) {{#special:}} parser function now works with subpages.
-* (bug 18664) Relative URIs in interwiki links cause failed redirects.
-* (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
-* (bug 22903) Revdelete log entries now show in the user preferred language.
-* (bug 22905) Correctly handle <abbr> followed by ISBN.
-* (bug 22940) Namespace aliases pointing to main namespace don't work.
-* (bug 15810) Blocked admins can no longer block/unblock other users.
-* (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
- correctly set.
-* (bug 14952) Page titles are renormalized after html entities are removed so
- that links with non-NFC character references work correctly.
-* (bug 22991) wgUserGroups JavaScript variable now reports * group for
- anonymous users instead of null.
-* (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
-* (bug 21520) Anonymous previews now also gives a warning about not being
- logged in (anonpreviewwarning).
-* (bug 22935) image/x-ms-bmp mime type added for BMP files.
-* (bug 23024) Special:ListFiles now escapes file names correctly.
-* (bug 22867) "View source" tab is now only displayed if there's source text.
-* (bug 19393) Feeds now format dates in user language rather than content
- language.
-* (bug 22852) "Served in" comment is now the time used to cache a single page
- when using rebuildFileCache.php
-* (bug 22496) Viewing diff of a redirect page without specifying "oldid".
- parameter no longer makes the page displayed as being the redirect target.
-* (bug 22918) Feed cache keys now use $wgRenderHashAppend.
-* (bug 21916) Last-Modified header is now correct when outputting cached feed.
-* (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
-* (bug 23017) Special:Disambiguations now list pages in content namespaces
- rather than only main namespace.
-* (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all.
- frames, and $wgMaxImageArea against the size of the first frame, rather than
- the other way around. Both now default to 12.5 megapixels. Also, images
- exceeding $wgMaxImageArea can still be embedded at original size.
-* (bug 23078) "All public logs" option on Special:Log is now always the first
- item.
-* (bug 16817) Group names in user rights log are now singular and in lowercase.
-* Special:Preferences no longer crashes if the wiki default date formatting
- style is not valid for the user's interface language.
-* (bug 23167) Check the watch checkbox by default if the watchcreations
- preference is set.
-* Maintenance script cleanupTitles is now able to fix titles stored
- in a negative namespace (which is invalid).
-* (bug 19858) Removed obsolete <big> in interface messages.
-* (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
- displays incorrect tabs.
-* (bug 23190) Improved math representation for text browsers.
-* (bug 22015) Improved upload-by-url error handling and error display.
-* (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
-* (bug 23080) New usernames now limited to 235 bytes so that custom skin files
- work.
-* (bug 23075) Correct MediaTransformError default width in gallery.
-* (bug 16487) The Anonymous user account used on Postgres is no longer
- displayed on Special:Listusers.
-* (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
- to enhance preference grouping.
-* (bug 23298) Interwiki links with prefix only in log summaries now link to the
- correct link.
-* (bug 23284) Times are now rounded correctly.
-* (bug 23375) Added ogv, oga, spx as extensions for ogg files.
-* (bug 18408) All required permissions for uploading (upload, edit, create).
- are now checked when loading Special:Upload. Toolbar link for Special:Upload
- is no longer shown if the user does not have the required permissions.
-* (bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
-* (bug 23241) License selector should be disabled during upload of a new
- version.
-* (bug 23240) Add ID to namespace selector form on Special:Watchlist.
-* The pipe | character in urls is now escaped.
-* (bug 23422) mp3 files can now be moved.
-* (bug 23448) MediaWiki:Summary-preview is now displayed instead of
- MediaWiki:Subject-preview when previewing summary.
-* (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
- new variable {{REVISIONMONTH1}} when unpadded version is needed.
-* Special:Userrights didn't recognize user as changing his/her own rights if
- user did not capitalize first letter of username.
-* (bug 23507) Add styles for printing wikitables.
-* (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
- as Opera 8.
-* (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
- account upload rights.
-* (bug 1347) Render \phi in math using images, in order to create consistent
- and correct render results.
-* (bug 16573) Render \epsilon in math using images, in order to create
- consistent and correct render results.
-* (bug 22541) Support image redirects when using ForeignAPIRepo.
-* (bug 22967) Make edit summary length cut-off behave correctly for multibyte
- characters.
-* (bug 8689) Long numeric lines no longer kill the parser.
-* (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
- the $noRedir parameter is set to true.
-* (bug 23688) Correct mime types for Office 2007 OpenXML documents.
-* (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php.
-* (bug 23797) Xml::input() now allows '0' for the value parameter.
-* (bug 23747) Make sure that on History pages, the RevDel button is not
- accidentally activated when hitting enter.
-* (bug 23845) Special:ListFiles now uses correct file names without underscores.
-* Ask for permanent login in Special:Preferences only if $wgCookieExpiration > 0.
-* (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
-* (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
- a fatal error.
-* (bug 23465) Don't ignore the predefined destination filename on
- Special:Upload after following a red link.
-* (bug 23642) Recognize mime types of MS OpenXML documents.
-* (bug 22784) Normalise underscores and spaces in autocomments.
-* (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings.
-* (bug 24022) Only check file extensions on the uploadpage when needed.
-* (bug 24076) Recognize Office 2003 files with OpenXML trailers.
-* (bug 24244) Updated comments in DefaultSettings.php to reflect.
- Image: --> File: namespace rename.
-* Make wfTimestamp recognize negative unix timestamp values.
-* (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
- disabled.
-* (bug 23293) Do not show change tags when Special:RecentChanges(linked) or
- Special:Newpages is transcluded into another page as it messes up the page.
-* (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
- throw fatal errors.
-* (bug 23380) Uploaded files that are larger than allowed by PHP now show a
- useful error message.
-* Uploading to a protected title will allow the user to choose a new name
- instead of showing an error page.
-* (bug 24425) Use Database::replace instead of delete/insert in
- SqlBagOStuff::set to avoid query errors about duplicate keynames.
-* (bug 15470) First letters of filenames are always capitalized by upload JS.
-* (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules.
-* (bug 21052) Fix link color for stubs in NewPages.
-* (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
- longer pollutes the parser cache.
-* (bug 17031) Correct which characters the parser allows in tag attributes (a
- letter, colon or underscore followed by 0 or more letters, numbers, colons,
- underscores, hyphens, and/or periods).
-* Save 200 useless queries on each category page view.
-* Shell commands will now work on Linux in filesystems mounted noexec.
-* (bug 24804) Corrected commafying in Polish and Ukrainian.
-* "Difference between pages" is now displayed instead of "Difference between
- revisions" on diffs when appropriate.
-* (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
- a repository due to missing 'name' attribute from the API list=allimages.
-* (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
- make wfTempDir() return a sane value for Windows on worst-case.
-* (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
- memory usage when such an ImageMagick is used for scaling.
-* Disable multithreaded behaviour in recent ImageMagick, to avoid a deadlock
- when a resource limit such as $wgMaxShellMemory is hit.
-* (bug 24981) Allow extensions to access SpecialUpload variables again.
-* (bug 20744) Wiki forgets about an uploaded file.
-* (bug 17913) Don't show "older edit" when no older edit available.
-* (bug 6204) TOC not properly rendered when using $wgMaxTocLevel.
-* (bug 24977) The accesskey in history page now lead directly to the diff.
- instead of alternating focus between the two buttons.
-* (bug 24987) Special:ListUsers does not take external groups into account.
-* (bug 20633) update.php has mixed language output.
-* SQLite system table names are now never prefixed.
-* (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
- parameter.
-* (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16).
-* (bug 25367) wfShellExec() is more explicit when failing due to disabled
- passthru().
-* (bug 25462) Fix double-escaping for section edit link tooltips.
-* action=raw was removed for Special:Statistics. This information is still
- available via the API.
-* (bug 23934) Groups defined in $wgRevokePermissions but not in
- $wgGroupPermissions now appear on Special:ListGroupRights.
-* (bug 23923) Special:Prefixindex no longer shows results if nothing was
- requested.
-* (bug 22308) Search now finds text in default main page immediately after setup.
-* (bug 25697) Make sure empty lines render in diff view.
-* Use an actual minus sign in diff views, instead of a hyphen.
-* (bug 23732) Clarified "n links" message on Special:MostLinkedFiles.
-* (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates.
-* (bug 25642) A exception is now thrown instead of a fatal error when using
- $wgSMTP without PEAR mail package.
-* (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
-* (bug 11013) Database driver detection needs rewriting for robustness.
-* (bug 13409) Installer prompts could use clarification--now has help boxes.
-* (bug 16902) Installer spews warnings when exec() and dl() are not available.
-* (bug 19129) Only show MyISAM/InnoDB when supported.
-* (bug 17762) Only show other e-mail options when e-mail is globally enabled.
-* Cache multiple sizes of InstantCommons thumbnails.
-* (bug 25488) Disallowing anonymous users to read pages no longer throws error
- on discussion pages with vector as default skin.
-* (bug 24833) Files name in includes/diff/ are now less confusing.
-* (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores.
-* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
- parameters.
-* (bug 25175) HTML file cache now honor $wgCacheDirectory if
- $wgFileCacheDirectory is not set.
-* (bug 13353) Diff3 version checks were too strict, did not detect working diff3.
-* (bug 25843) Links to special pages using link= attribute on images are now.
- normalised like normal links to special pages.
-* (bug 21364) External links using link= attribute on images now respect
- $wgExternalLinkTarget.
-* (bug 17789) Added a note to the total views on Special:Statistics saying that
- is doesn't count non-existing pages and special pages.
-* (bug 17996) HTTP redirects are now combined when requesting a special page.
-* (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
- some cases.
-* (bug 25670) wfFindFile() now checks the namespace of the given title, only
- "File" and "Media" are allowed now.
-* (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
- with php extension that defines same class.
-* (bug 20591) There's now a different message on Special:MovePage when
- $wgFixDoubleRedirects is set to false.
-* Fixed PHP warnings when updating a broken MySQL database.
-* (bug 26023) Corrected deleteBacth.php's documentation.
-* (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
-* Show "skin does not exist error" only when the skin is inputted in the wrong
- case.
-* (bug 26164) Potential html injection when the database server isn't available.
-* (bug 26160) Upload description set by extensions are not propagated.
-* (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
- absolute URLs in the sitemap index (as required e.g. by Google).
-* Partial workaround for bug 6220: at least make files on shared repositories
- show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles.
-* rebuildFileCache.php no longer creates inappropriate cache files for redirects.
-* (bug 25512) Subcategory list should not include category prefix for members.
-* (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
- treated as wikitext on preview.
-* Page existence is now not revealed (in the colour of the tabs) to users who
- cannot read the page in question.
-* (bug 22753) Output from update.php is more clear when things changed, entries
- indicating nothing changed are now all prefixed by "..."
-* (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
-* (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown as
- "Permitted file types" on the upload form.
-* (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
-* (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
- selected when the action is "purge".
-* (bug 26733) Wrap initial table creation in transaction.
-* (bug 26208) Mark directionality of some interlanguage links.
-* (bug 26716) Provide link to instructions for external editor related preferences.
-* (bug 26961) Hide anon edits in watchlist preference now actually works.
-* (bug 1379) Installer directory conflicts with some hosts' configuration panel.
-* (bug 27781) Installer does not warn about 5.1.x. Added a compatibility function
- for array_key_exists().
-* Fix XML well-formedness on a few pages when $wgHtml5 is true (the default).
-* (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler
- are also set.
-* (bug 26223) Concurrently moving an article to different titles leaks a
- redirect revision with no page.
-* (bug 15641) Fixed permissions checks in Special:Import which allowed users
- without the 'import' permission to import pages from configured import sources.
-* (bug 26449) Keep underlines from headings outside of tables and thumbs by
- adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
-* (bug 26708) Remove background-color:white from tables in Monobook and Vector.
-* (bug 26781) {{PAGENAME}} and related parser functions escape their output better.
-* (bug 26716) Provide link to instructions for external editor related preferences
- and add a comment to the ini control file explaining what is going on.
-* (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
- to table.wikitable instead.
-* (bug 27560) Search queries no longer fail in walloon language.
-* (bug 27700) The upload protection can now also be set for files that do not
- exist.
-* (bug 28034) uploading file to local wiki when file exists on shared repository
- (commons) gives spurious info in the warning message.
-* Usernames get lost when selecting different sorts on Special:listfiles.
-* (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
- page restrictions.
-* (bug 28242) Make redirects generated by urls containing a local interwiki
- prefix be a 301 instead of a 302.
-* (bug 28568) Entries in the iwlinks table are now removed on page deletion.
-* (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
-* (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
-* UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
- intl installed.
-* (bug 26729) Category pages should return 404 if they do not exist and have no
- members.
-* (bug 28214) When page not found, sends malformed HTTP/1.x instead of HTTP/1.1
- in header of response.
-* (bug 27634) TOC title appears in wrong language.
-* (bug 27761) Fix regression: pages with Esperanto titles containing convertible
- character sequences became unreachable.
-* (bug 27508) SVGMetadataExtractor takes too much resources on huge svgs.
-* (bug 27465) SVG thumbnail generation.
-* (bug 27467) preload can leave UNIQ.
-* (bug 27539) Allow attributes beginning with a digit in wiktext tag parameters.
-* (bug 27328) using relative paths in CSS imports in MediaWiki:Common.css broken
- in 1.17.
-* (bug 27333) Fix repetitive last-seen time queries on page history.
-* (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes
- processing of JSON return values for ForeignAPIRepo when native json module
- not present.
-* (bug 25675) Fix search suggestions for Special: pages with spaces.
-* (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting
- to strings.
-* (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler.
-* (bug 27302) Don't append the current timestamp for user/site modules when no
- user/site JS/CSS is present.
-* (bug 27016) dumpTextPass.php now consider the "output" parameter.
-* (bug 22606) don't send the "someone registred an account" message when setting
- email address (i.e. old one empty) in user preferences.
-* (bug 26458) Section edit links appear on pages that user does not have right
- to edit.
-* (bug 28611) Don't die in SqlBagOStuff::incr() if there's a race condition.
-* (bug 16886) Sister projects box moves down the extract of the first result
- in IE 7.
-* (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
- parameter.
-
-=== API changes in 1.17 ===
-
-* BREAKING CHANGE: action=patrol now requires POST.
-* BREAKING CHANGE: patrol token is no longer the same as edit token.
-* BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead
- of integers.
-* BREAKING CHANGE: (bug 25303) Fix API parameter integer validation to actually
- enforce validation on the input values in addition to giving a warning.
- Also add flag to enforce (die) if integer out of range.
-* (bug 24650) Fix API to work with categorylinks changes.
-* action=parse now correctly returns an error for nonexistent pages.
-* (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
-* (bug 26560) On allusers if limit < total number of users, last user gets
- duplicated.
-* (bug 27715) imageinfo didn't respect revdelete.
-* (bug 27479) API error when using both prop=pageprops and
- prop=info&inprop=displaytitle.
-* (bug 27862) Useremail module didn't properly return success on success.
-* (bug 27590) prop=imageinfo now allows querying the media type.
-* (bug 27587) list=filearchive now outputs full title info.
-* (bug 27897) list=allusers and list=users list hidden users.
-* (bug 22738) Allow filtering by action type on query=logevent.
-* (bug 22764) uselang parameter for action=parse.
-* (bug 22944) API: watchlist options are inconsistent.
-* (bug 22868) don't list infinite block expiry date as "now" in API logevents.
-* (bug 22290) prop=revisions now outputs "comment" field even when comment.
- is empty, for consistency with list=recentchanges.
-* (bug 19721) API action=help should have a way to just list for a specific
- module.
-* (bug 23458) Add support for pageid parameter to action=parse requests.
-* (bug 23460) Parse action should have a section option.
-* (bug 21346) Make deleted images searchable by hash.
-* (bug 23461) Normalise usage of parameter names in parameter descriptions.
-* (bug 23548) Allow access of another users watchlist through watchlistraw
- using token and username.
-* (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
- track inline interwiki link usage).
-* Add pltitles and tltemplates to prop=links and prop=templates respectively,
- similar to prop=categories's clcategorie.
-* (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
- thumbnailing larger than original image.
-* (bug 23835) Need "thumbmime" result in "imageinfo" query.
-* (bug 23851) Repair diff for file redirect pages.
-* (bug 24009) Include implicit groups in action=query&list=users&usprop=groups.
-* (bug 24016) API: Handle parameters specified in simple string syntax
- ( 'paramname' => 'defaultval' ) correctly when outputting help.
-* (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied.
-* (bug 23473) Give description of properties on all modules.
-* (bug 24136) unknownerror when adding new section without summary, but
- forceditsummary.
-* (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result.
-* (bug 24303) Added new &servedby parameter to all actions which adds the
- hostname that served the request to the result. It is also added
- unconditionally on error.
-* (bug 24185) Titles in the Media and Special namespace are now supported for
- title normalization in action=query. Special pages have their name resolved
- to the local alias.
-* (bug 24296) Added converttitles parameter to convert titles to their
- canonical language variant.
-* (bug 23936) Add "displaytitle" to query/info API.
-* (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
- iwtitle.
-* (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
- one of the backlinks generators with limit=max.
-* (bug 24656) API's parse module needs option to disable PP report.
-* PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
- does not set the parameter, the API will automatically throw an error.
-* (bug 24665) When starttimestamp is not specified, fake it by setting it to
- NOW, not to the timestamp of the last edit.
-* (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
- allmessages, allpages, and allusers.
-* (bug 24236) Add add, remove, add-self, remove-self tags to
- meta=siteinfo&siprop=usergroups.
-* (bug 24484) Add prop=pageprops module.
-* (bug 24330) Add &redirect parameter to ?action=edit.
-* (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
- blockreason if the user is actually blocked.
-* Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
-* For required string parameters, if '' is provided, this is now classed as
- missing.
-* (bug 24724) list=allusers is out by 1 (shows total users - 1).
-* (bug 24166) API error when using rvprop=tags.
-* Introduced "asynchronous download" mode for upload-by-url. Requires
- $wgAllowAsyncCopyUploads to be true.
-* sinumberingroup correctly gives size of 'user' group, and omits size of
- implicit groups rather than showing 0.
-* (bug 25248) API: paraminfo errors with certain modules.
-* (bug 24792) API help for action=purge sometimes wrongly stated whether a
- POST request was needed due to cache pollution.
-* Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions.
-* Added rvparse to parse revisions. For performance reasons if this option is
- used, rvlimit is enforced to 1.
-* (bug 25748) If a action=parse request provides an oldid that is actually the
- current revision id, try the parser cache, and save it to it if necessary.
-* (bug 25463) Export header should not be shown if no pages were requested, to
- reduce confusion.
-* (bug 25648) API discovery information has been added as RSD link in page.
- <head> and by providing an API module action=rsd. Added hook
- ApiRsdServiceApis for extensions to add their own service to the services
- list.
-* The HTML of diff output markers has changed. Hyphens are now minus signs,
- empty markers are now filled with non-breaking-space characters.
-* (bug 25741) Add more data to list=search's srprop.
-* (bug 25760) counter property still reported by the API when
- $wgDisableCounters enabled.
-* (bug 25987) prop=info&inprop=watched now also works for missing pages.
-* (bug 26006) prop=langlinks now allows obtaining full URL.
-* (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook.
-* (bug 26089) add block expiration to blockinfo.
-* (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
- file is a multi-page file.
-* (bug 10268) Added linktodiffs parameter on action=feedwatchlist.
-* (bug 26219) Show API limits for multi values in description.
-* (bug 28070) Fix watchlist RSS for databases that store timestamps in a
- real timestamp field.
-* (bug 27722) list=filearchive now supports revdel.
-
-=== Language support changes in 1.17 ===
-
-MediaWiki supports over 330 languages. Many localizations are updated regularly.
-
-The following languages were added:
-
-* Moroccan Spoken Arabic (ary)
-* Banjar (bjn)
-* Kabardian (kdb)
-* Kabardian (Cyrillic) (kbd-cyrl)
-* Latgalian (ltg)
-* Minangkabau (min)
-* Dutch (informal) (nl-informal)
-* Rusyn (rue)
-
-Other significant changes to MediaWiki's language support:
-
-* Fiji Hindi (Devangari script) was removed.
-* Removed deprecated language code "dk" (Danish), use "da" instead.
-* Link trail added for sl and sh.
-* (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
-* (bug 23156) Commafy and search normalization updated for Belarusian
- (Taraškievica).
-* (bug 23283) Native name for Old English -> Ænglisc.
-* (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
-* (bug 24593) Native name for Sorani now uses only Arabic script.
-* (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
-* (bug 24917) Polish as fallback for Kashubia.
-* (bug 24794) Tatar link trail updated.
-* Esperanto date format corrected.
-* (bug 28159) Change interwiki name of language kbd to Къэбэрдеибзэ /
- Qabardjajəbza.
-* (bug 28184) Namespaces for the Latgalian Wikipedia.
-* (bug 25010) Bashkir-language interwikis: linktext change from Башҡорт
- to Башҡортса.
-* (bug 26395) Change name of Cornish language to Kernowek.
-
-=== Other changes in 1.17 ===
-
-* DatabaseFunctions.php that was needed for compatibility with pre-1.3
- extensions has been removed.
-* XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
-* The FailFunction "error handling" method has now been removed
-* Sysops now have the "suppressredirect" right by default
-* Removed $wgRemoteUploads. It was not well supported and superseded by
- $wgUploadNavigationUrl.
-* (bug 26253) $wgPostCommitUpdateList has been removed
-* The PHPUnit test suite has been removed from this release due to serious issues
- which should be resolved by the 1.18 release.
-* Oracle DB now uses the __destruct fuction to commit/close connection as it
- doesn't commit on close if transation is triggered in OCI.
-
-== Compatibility ==
-
-MediaWiki 1.17 requires PHP 5.2.3 or later.
-
-MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
-support for them is somewhat less mature. There is experimental support for IBM
-DB2 and Microsoft SQL Server.
-
-The supported versions are:
-
-* MySQL 4.0 or later
-* PostgreSQL 8.3 or later
-* SQLite 3
-* Oracle 9.0.1 or later
-
-== Upgrading ==
-
-1.17 has several database changes since 1.16, and will not work without schema
-updates.
-
-If upgrading from before 1.11, and you are using a wiki as a commons repository,
-make sure that it is updated as well. Otherwise, errors may arise due to
-database schema changes.
-
-If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
-new database fields are filled with data.
-
-If you are upgrading from MediaWiki 1.4.x or earlier, some major database
-changes are made, and there is a slightly higher chance that things could
-break. Don't forget to always back up your database before upgrading!
-
-See the file UPGRADE for more detailed upgrade instructions.
-
-For notes on 1.16.x and older releases, see HISTORY.
-
-== Online documentation ==
-
-Documentation for both end-users and site administrators is available on
-MediaWiki.org, and is covered under the GNU Free Documentation License (except
-for pages that explicitly state that their contents are in the public domain):
-
- http://www.mediawiki.org/wiki/Documentation
-
-== Mailing list ==
-
-A mailing list is available for MediaWiki user support and discussion:
-
- http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-
-A low-traffic announcements-only list is also available:
-
- http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
-
-It's highly recommended that you sign up for one of these lists if you're
-going to run a public MediaWiki, so you can be notified of security fixes.
-
-== IRC help ==
-
-There's usually someone online in #mediawiki on irc.freenode.net
diff --git a/RELEASE-NOTES-1.18 b/RELEASE-NOTES-1.18
new file mode 100644
index 00000000..182d3152
--- /dev/null
+++ b/RELEASE-NOTES-1.18
@@ -0,0 +1,794 @@
+= 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.18 ==
+2011-11-24
+
+This is the first stable release of the MediaWiki 1.18 branch.
+
+=== Summary of selected changes in 1.18 ===
+
+Selected changes since MediaWiki 1.17 that may be of interest:
+
+* Some of the more commonly used MediaWiki extensions are now included in the
+ release tarball. These extensions are ConfirmEdit, Gadgets, Nuke, ParserFunctions,
+ Renameuser, Vector and WikiEditor.
+
+* Gender support has been improved, meaning user pages can display the correct gender
+ variant of "User" can now be used.
+
+* MediaWiki can now detect the camera orientation of an image from the Exif metadata, and
+ can rotate the image thumbnail appropriately. Metadata support has been generally
+ improved, and can now extract IPTC and XMP metadata.
+
+* Improved directionality support in 1.18 means that MediaWiki is better to use for
+ RTL users.
+
+* MediaWiki now supports protocol - relative URLs in links, interwiki targets and $wgServer
+
+* Math support has been removed from core
+
+=== Changes since 1.18.0rc1 ===
+* (bug 32228) regression in Special:Search which did not conserve profile on new search
+* (bug 32460) Categories were improperly aligned in Simple and CologneBlue
+* (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets
+* (bug 32582) Fix TOC show/hide link regression on IE 8
+
+=== Changes since 1.18 beta 1 ===
+* (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18 deployment.
+* (bug 32051) Fix description for wlprop=sizes.
+* (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
+ under Microsoft SQL.
+* (bug 32100) installer complains about suhosin GET limit.
+* (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between portlets
+ on IE 7 and IE 8/9 in compatibility view.
+* (bug 32126) Fix 1.18 regression in watchlist editor when items already removed
+ from watchlist.
+* (bug 32183) remove the client-* classes added from user-agent-sniffing onto
+ the <html> element.
+* (bug 29912) Unit tests break if parsertest tables are still present.
+* (bug 31694) During installation, tabbing order (cursor focus) goes to logo
+ instead of 'continue'.
+* (bug 29102) Upgrade fails "Unknown character set: 'mysql4".
+* (bug 31990) justify paragraphs pref adds extra space to category listing.
+* (bug 20148) Better title for [[Special:Disambiguations]] page.
+* (bug 31502) TOC is missing on Special:EditWatchlist.
+* (bug 32256) API list=search stops at first invalid result.
+* (bug 32047) jquery.tablesorter.js: thead is before caption.
+* (bug 29854) Store protocol-relative links twice in the externallinks table,
+ one with http: in el_index and once with https.
+* (bug 31822) Error during upgrade due to output buffer reset in stdout.
+
+=== Configuration changes in 1.18 ===
+* The WantedPages::getSQL hook has been removed and replaced with
+ WantedPages::getQueryInfo. This may break older extensions.
+* The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
+ SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
+ favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage.
+* $wgUseCombinedLoginLink controls whether to output a combined
+ login / create account link in the personal bar, or to output separate login
+ and create account links.
+* Skin names are no longer created based on a ucfirst version of the key in
+ $wgValidSkinNames but now the value. This means for
+ $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
+ loading SkinMonobook and will instead load SkinMonoBook.
+* $wgMaxUploadSize may now be set to an array to specify the upload size limit
+ per upload type.
+* $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
+ $wgAPICacheHelpTimeout = 0;
+* OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
+ by the page, but $wgAllowUserJs is set to false.
+* Pure "Skin" class based custom skins are no longer supported, all custom skins
+ should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
+* The transliteration for passwords in case they were migrated from an old
+ Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
+ $wgLegacyEncoding set.
+* (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
+ look at when finding metadata to prevent excessive resource usage.
+* $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
+ Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
+ same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
+ replicate $wgSysopUserBans functionality.
+* The options on the block form have been standardised such that checking a box
+ makes the block 'more serious'; so while "check to prevent account creation"
+ and "check to enable autoblock" remain the same, "check to allow user-talk
+ edit" is reversed to "check to *disable* user-talk edit", and "check to block
+ anon-only" becomes "check to block logged-in users too". The default settings
+ remain the same.
+* Most of the field names on the Special:Block form have been changed, which
+ will probably break screen-scraping bots.
+* (bug 26866) The 'trackback' right is no longer granted to sysops by default.
+ $wgUseTrackbacks is already false by default.
+* (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
+ *appearing* to hide article elements, has been removed. Use the
+ ParserFunctions extension to actually remove unwanted elements from the
+ output.
+* (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
+ math conversion after upgrading, obtain the Math extension from SVN or from
+ http://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
+ require_once "$IP/extensions/Math/Math.php";
+* $wgProfiler is now a configuration array, see StartProfiler.sample for
+ details.
+* $wgProfiling has been removed.
+* The spyc library is now no longer included in phase3.
+* (bug 28343) Unused preferences contextlines/contextchars have been removed
+* $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
+* $wgProto has been removed. You now only need to set $wgServer to change the
+ URL protocol.
+* $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed.
+* $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been removed.
+* $wgAllowUserSkin (deprecated in 1.16) has now been removed.
+* $wgExtraRandompageSQL (deprecated in 1.16) has now been removed.
+* LogReader and LogViewer classes (deprecated in 1.14) have now been removed.
+* (bug 26033) Added $wgArticleCountMethod to select the method to use to say
+ whether a page is an article or not. $wgUseCommaCount is now deprecated.
+* $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
+ and the functionality has been moved to the relevant extensions. See
+ http://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
+ http://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate.
+* (bug 21107) Split error "customcssjsprotected" into separate messages for JS and CSS
+* Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant feature
+ was removed in about 1.5.
+* LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
+ hooks have been removed.
+* New hook "Collation::factory" to allow extensions to create custom
+ category collations.
+* $wgGroupPermissions now supports per namespace permissions.
+* $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
+ null will cause MediaWiki to determine if auto-rotation is available.
+
+=== New features in 1.18 ===
+* BREAKING CHANGE: action=watch / action=unwatch now requires a token.
+* BREAKING CHANGE: Article class hierarchy split into WikiPage (backend).
+ and Article (frontend) hierarchies. Several hooks now pass a WikiPage object instead
+ of an Article object. These hooks all use an $article paramater as documented in hooks.txt.
+ Extensions should be updated to account for this, though most won't require any changes.
+* (bug 27860) Minor edit after clicking 'new section' tab
+ Now the "This is a minor edit" checkbox is not available when you
+ create a page or new section.
+* (bug 8130) Query pages should limit to content namespaces, not just main
+ namespace.
+* Search suggestions (other than in the Vector skin) will now use the HTML5
+ datalist feature where supported, currently only Firefox 4.
+* Special:Contribs now redirects to Special:Contributions.
+* (bug 6672) Images are now autorotated according to their EXIF orientation.
+ This only affects thumbnails; the source remains unrotated.
+* (bug 25708) Update case mappings and normalization to Unicode 6.0.0.
+* New hook ArticlePrepareTextForEdit added, called when preparing text to be
+ saved.
+* New parser option PreSaveTransform added, allows the pre-save transformation
+ to be selectively disabled.
+* Alternative to $wgHooks implemented, using the new Hooks class.
+* Add width parameter to Special:Filepath to allow getting the file path of a
+ thumbnail.
+* (bug 26870) Add size to {{filepath:}}.
+* Upload warnings now show a thumbnail of the uploaded file.
+* Introduced the edittools-upload message, which will be inserted under the
+ upload form instead of edittools if available.
+* (bug 26285) Extensions will be automatically generated on upload if the user
+ specified a filename without extension.
+* (bug 26851) Special:UserRights now allows to prefill the reason field
+* New maintenance script to fix double redirects
+ (maintenance/fixDoubleRedirects.php).
+* (bug 23315) New body classes to allow easier styling of special pages.
+* (bug 27159) Make email confirmation code expiration time configurable.
+* (bug 29047) CSS/JS for each user group is imported from MediaWiki:Group-sysop.js,
+ MediaWiki:Group-autoconfirmed.css, etc.
+* (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
+ safely enabled. A ZIP file reader was added which can scan a ZIP file for
+ potentially dangerous Java applets. This allows applets to be blocked
+ specifically, rather than all ZIP files being blocked.
+* (bug 2429) Allow selection of associated namespace in recent changes.
+* (bug 26217) File size is now checked before uploading in HTML5 browsers.
+* CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
+ disabled (enclosed in the head in a <noscript> tag).
+* Added UserGetLanguageObject hook to change the language used in $wgLang.
+* (bug 14645) When $wgMiserMode is on, expensive special pages are styled
+ differently (italicized by default) on Special:SpecialPages.
+* Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
+ several wikis.
+* When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
+ the three that were defined in the original specification.
+* (bug 14706) Added support for the Imagick PHP extension.
+* (bug 18691) Added support for SVG rasterization using the Imagick PHP
+ extension.
+* (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
+ file description page. The sizes are set by $wgImageLimits.
+* (bug 28031) Add pageCount support to ArchivedFile.
+* (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
+* Added hook BitmapHandlerTransform to allow extension to transform a file
+ without overriding the entire handler.
+* The parser now attempts to output markers for editsection tokens and defer the
+ rendering of them post-cache to reduce parser cache fragmentation and ensure
+ skin customizability of edit section links.
+* (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
+ other extensions by handling the 'AbortAutoAccount' hook, similar to the
+ 'AbortNewAccount' triggered by explicit account creations. (They are separate
+ to avoid loops and confusion; auth plugins like CentralAuth need to handle
+ AbortNewAccount separately.
+* Special:ListFiles is now transcludable.
+* (bug 13879) Special:Emailuser asks for suitable target user if called without.
+* (bug 16956) IPTC and XMP metadata now extracted from images.
+* (bug 23816) A tracking category is now added for any pages with broken images.
+* (bug 23495) Allow createAndPromote.php to create non-sysop users.
+* (bug 28916) A way to to toggle mw.config legacy globals settings from
+ LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
+* (bug 28503) Support for ircs:// URL protocols.
+* (bug 26033) It is now possible to count all non-redirect pages in content
+ namespaces as articles.
+* Images can now be embedded in an XML dump stream using backupDump.php
+ --include-files and can be imported using importDump.php --uploads;
+ furthermore, it can import files from the filesystem using --image-base-path.
+* Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
+ 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
+ may override the usage of PageArchive class and replace it with their own
+ class that extends PageArchive.
+* (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
+ Also built-in support for distribution through a TestSwarm instance.
+* (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
+ added to the textarea on the edit form.
+* mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
+* (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
+* New 'Debug' hook used by wfDebug() and wfDebugLog().
+* (bug 27655) Require token for watching/unwatching pages)
+* (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest version)
+* (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
+ handle titles on case-sensitive wikis.
+* (bug 29397) Implement mw.Title module in core.
+* In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
+ STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
+ correctly in the case where there are no write events occurring. Note that
+ the DB user now needs to have the REPLICATION CLIENT privilege if you are
+ using replication.
+* Language codes in $wgDummyLanguageCodes are now excluded on localization
+ statistics (maintenance/language/transstat.php).
+* (bug 29586) Make the (next 200) links on categories link directly to
+ the relevant section of the category.
+* (bug 29109) Allow the automatic edit summary for redirect creation
+ show the first bit of the new redirect page.
+* (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
+* (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
+* (bug 16699) {{#language:}} accepts second parameter to specify the language in
+ which the language name is wanted. Coverage depends on the cldr extension.
+* (bug 15802) An easy way to look up messages: language qqx which returns
+ the message keys.
+* (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
+* (bug 29558) $wgMiserMode now disables update.php by default.
+* AjaxCategories: Easily add, edit or delete categories on article pages.
+ Suggests possible categories when typing, all saves are done via AJAX.
+ Supports editing of multiple categories and then saving them in one batch.
+* $wgAutopromoteOnce was added, allowing for users to be automatically promoted
+ to explicit usergroups. If a group is removed from a user via Special:UserRights,
+ it will not automatically be re-added. Configuration is similar to
+ $wgAutopromote (see DefaultSettings.php).
+* The PerformRetroactiveAutoblock hook was added to allow overriding or complementing
+ retroactive autoblock handling. This runs when blocking a user with the 'autoblock' option.
+* MediaWiki now supports using protocol-relative URLs in links, interwiki
+ targets and $wgServer.
+* Introduced $wgVaryOnXFPForAPI which will cause the API to send
+ Vary: X-Forwarded-Proto headers.
+* New maintenance script to refresh image metadata (maintenance/refreshImageMetadata.php).
+* (bug 16428) Include permalink in printable version.
+* (bug 30722) Add an identity collation that sorts things based on what the
+ unicode code point is (aka pre-1.17 behaviour).
+* (bug 30940) Add a hook in User:getDefaultOptions.
+ To give extensions a better and more flexible way of providing default
+ values for preferences a hook has been introdiced in User:getDefaultOptions().
+ Setting preferences in $wgDefaultUserOptions still work fine, but when reading
+ them (i.e. with array_keys) to get a list of all preferences, then
+ $wgDefaultUserOptions should no longer be used as it will contain those set via
+ User:getDefaultOptions().
+* (bug 30497) Add client-nojs and client-js classes on document element
+ to let styles easily hide or show things based on general JS availability.
+* (bug 31293) If Special:Userlogin is loaded over HTTPS, display
+ MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
+ Same for signupend on the account creation page.
+* (bug 31233) New OutputPage::addJsConfigVars() method to make the output page specific
+ mw.config map extendable.
+
+=== Bug fixes in 1.18 ===
+* (bug 27860) Minor edit after clicking 'new section' tab.
+* mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php).
+* (bug 23119) WikiError class and subclasses are now marked as deprecated.
+* (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
+ treated as wikitext on preview.
+* (bug 22753) Output from update.php is more clear when things changed, entries
+ indicating nothing changed are now all prefixed by "...".
+* Page existence is now not revealed (in the colour of the tabs) to users who
+ cannot read the page in question.
+* (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
+ cases.
+* (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
+* (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
+ as "Permitted file types" on the upload form.
+* (bug 26379) importImages.php gives more descriptive error message on failure.
+* (bug 26410) + signs are no longer treated as spaces in internal links if
+ link has a % sign in it.
+* (bug 26412) Search results headers no longer show a bogus edit link.
+* (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
+* (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
+ pages to be queried via the API and Special:ProtectedPages, and allowing
+ disabling upload protection by removing it from $wgRestrictionTypes.
+* If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
+* (bug 26638) Database error pages display correctly in RTL languages.
+* (bug 26187) Confirmrecreate no longer parses the edit summary.
+* (bug 26208) Mark directionality of some interlanguage links.
+* (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
+ selected when the action is "purge".
+* (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
+ namespace tab on the mainpage of a wiki.
+* (bug 10158) Do not mention allowing others to contact you when the feature
+ is disabled ($wgEnableUserEmail=false).
+* (bug 26733) Wrap initial table creation in transaction.
+* (bug 26729) Category pages should return 404 if they do not exist and have no
+ members.
+* (bug 2585) Image pages should send 404 if no image, no shared image and no
+ description page.
+* Custom editintro's using the editintro url parameter will no longer show
+ <noinclude> sections on pages they are included on.
+* (bug 26449) Keep underlines from headings outside of tables and thumbs by
+ adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
+* (bug 26708) Remove background-color:white from tables in Monobook and Vector.
+* (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
+ to table.wikitable instead.
+* (bug 26781) {{PAGENAME}} and related parser functions escape their output
+ better.
+* (bug 26716) Provide link to instructions for external editor related
+ preferences and add a comment to the ini control file explaining what is
+ going on.
+* Trying to upload a file with no extension or with a disallowed MIME type now
+ gives the right message instead of complaining about a MIME/extension
+ mismatch.
+* (bug 26809) Uploading files with multiple extensions where one of the
+ extensions is blacklisted now gives the proper extension in the error message.
+* (bug 26961) Hide anon edits in watchlist preference now actually works.
+* (bug 19751) Filesystem is now checked during image undeletion.
+* Send last modified headers for Special:Recentchanges when RC patrol is
+ enabled, but user cannot see rc patrol links.
+* (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
+ and other multi-paged file formats.
+* Files with a mime type that does not match the extension are now properly
+ thumbnailed.
+* (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
+* (bug 15905) Nostalgia skin could become more usable by including a Talk:
+ link at the top of the page.
+* (bug 27560) Search queries no longer fail in Walloon language.
+* (bug 27679) Broken embedded files with special characters are no longer
+ double HTML escaped.
+* (bug 27700) The upload protection can now also be set for files that do not
+ exist.
+* (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
+ incorrect revision ID is passed.
+* Trim the form field for uploading by url to remove extra spaces which could
+ cause confusing error messages.
+* (bug 27854) Http::isValidURI is way too lax.
+* Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
+* AbortLogin returning "ABORTED" now handled. Also allows message identifier
+ for "ABORTED" reason to be returned and displayed to user.
+* (bug 28034) uploading file to local wiki when file exists on shared repository
+ (commons) gives spurious info in the warning message.
+* Usernames get lost when selecting different sorts on Special:listfiles.
+* (bug 14005) editing section 0 of an existing but empty page gives no such
+ section error.
+* (bug 26939) Installer does not set $wgMetaNamespace.
+* (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
+ page restrictions.
+* Make truncate function automatically consider length of '...' string,
+ since length can vary by localization.
+* (bug 28242) Make redirects generated by urls containing a local interwiki
+ prefix be a 301 instead of a 302.
+* (bug 15641) blocked administrators are now prevented from deleting or
+ protecting their own talk page; and all blocked users are more
+ comprehensively prevented from performing other actions.
+* (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
+ no longer triggers unexpectedly on delete, history etc.
+* (bug 28417) Fix PHP notice when importing revision without a listed id.
+* (bug 28430) Make html and TeX output of <math> always be left-to-right.
+* (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
+* (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
+* (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
+ for ca, kaa.
+* (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
+* &apos; character entity is now allowed in wikitext.
+* UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
+ intl installed.
+* (bug 28561) The css class small will no longer make nested elements even
+ smaller.
+* (bug 13172) Array type exif data (like GPS) was not being extracted from
+ images.
+* (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse().
+* (bug 16129) Transcluded special pages expose strip markers when they output
+ parsed messages.
+* (bug 27249) "Installed software" table in Special:Version should always be
+ left-to-right.
+* (bug 28719) Do not call mLinkHolders __destruct explicitly.
+* (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
+* (bug 28752) XCache doesn't work in CLI mode.
+* (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles.
+* (bug 22227) Special:Listfiles no longer throws an error on bogus file entries.
+* (bug 19408) user_properties.up_property: 32 bytes is not enough.
+* (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
+* (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
+ such as SQL queries shown in dberrortext and similar messages in RTL
+ environments.
+* (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
+ as the server name.
+* The View X deleted revisions is now shown again on Special:Upload.
+* (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
+* (bug 28868) Show total pages in the subtitle of an image on the
+ file description page for multi-paged documents.
+* (bug 28883) Message names for different compression types commonly
+ used in Tiff files.
+* When translcuding a special page, do not let it interpret url parameters.
+* (bug 28887) Special page classes are no longer re-used during 1 request.
+* (bug 28888) Searching for something starting with a # sign no longer tells
+ the user a page named [[:]] already exists.
+* (bug 23002) Imagelinks table not updated after imagemove.
+* (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
+ pages.
+* (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
+* (bug 11868) If using links to count articles, the checking will now be based
+ on the real presence of an internal link instead of the "[[" string.
+* (bug 28287) The "your changes" box for edit conflicts is now read-only.
+* (bug 28940) When making a thumb of an SVG, and only specifying the height
+ make the width be the max SVG size, not the natrual width of the SVG.
+* (bug 1780) Uploading files with non-ascii characters are now forbidden on
+ Windows.
+* (bug 23464) File: prefixes are now chopped off during uploading.
+* (bug 28174) Message config-logo-help amended to not explicitly assume any
+ LTR/RTL screen layout.
+* (bug 28992) Revision numbers in the patrol log are transformed in the user
+ language.
+* (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended to
+ the document head if it doesn't exist.
+* (bug 27023) After the document is ready, mw.loader is broken (calls callback
+ before module is parsed).
+* (bug 4330) External URLs without a custom title should be treated as LTR,
+ even in RTL text.
+* (bug 29055) Make "don't send email on minor edits" preference apply to
+ changes to talk page in addition to watchlist edits.
+* (bug 28272) Special:AllMessages should have only one "Go" button.
+* (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
+* (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
+ as lastTabIndex().
+* (bug 29332) Warn if user requests mediawiki-announce subscription but does not
+ enter an e-mail address.
+* (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
+* The class JpegOrTiffHandler was renamed ExifBitmapHandler.
+* (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
+ instead of reloading the page.
+* (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect warning.
+* (bug 29437) Multiple apostrophes in deleted article title cause odd rendering.
+* (bug 29485) RSS feed of Special:RecentChange grouped together multiple
+ consecutive edits by same user in included diff, but then linked to
+ a single ungrouped diff.
+* Do not try to group together a page creation and edit in the RSS feed of RC.
+* (bug 29342) Patrol preferences shouldn't be visible to users who don't have
+ patrol permissions.
+* (bug 29471) Exception no longer thrown for files with invalid date in metadata.
+* (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
+ no longer cause timeouts.
+* (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere.
+* If the db is really screwed up, and doesn't have a recentchanges table,
+ make the updater throw an exception instead of a fatal.
+* wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
+ correctly.
+* (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
+ "vectorTabs" portlets.
+* (bug 8556) Incorrect session failure warning on preview-on-open
+ namespaces (categories) when combined with $wgRawHtml.
+* Use content language in formatting of dates in revertpage message
+ (rollback revert edit summary) and do not adjust for user timezone.
+* (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
+* Make sure Backlink cache does not retrieve interwiki redirects when looking for
+ redirects to a local page.
+* (bug 6100) Allow different directionality (LTR/RTL) for user interface
+ and wiki content, along with many other RTL and directionality improvements
+ (such as bugs 28030, 12406, 28349).
+* (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
+ unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
+ left/right according to the directionality of your interface language.
+* (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
+* (bug 27410) The tag filter on a history page is now within a <label> element.
+* (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
+ styling (strike/underline).
+* (bug 28630) Add iwlinks, langlinks, redirect to
+ RefreshLinks::deleteLinksFromNonexistent.
+* (bug 29797) Error: "Tried to load block with invalid type" when subpages
+ are disabled for user pages.
+* (bug 12205) Bidirectional names in action=credits are split and displayed.
+ incorrectly when wrapped to the next line.
+* (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
+* (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
+ not language.
+* (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
+* Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
+ to the FCKEditor extension.
+* (bug 28762) Resizing to specified height broken for very thin images.
+* (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
+ tries to subsribe to mediawiki-announce.
+* (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
+ param is only present in hash.
+* Installer checked for magic_quotes_runtime instead of register_globals.
+* (bug 30131) XCache with variable caching disabled no longer used for variable
+ caching (CACHE_ACCEL)
+* $wgSVGMaxSize is now applied to the smaller of width or height, making very wide
+ pano/timeline/diagram SVGs renderable at saner sizes.
+* (bug 30219) The page shown when LocalSettings.php does not exist was broken on
+ Windows servers.
+* (bug 30074) Moving user JS subpages resulted in JS errors because
+ #REDIRECT [[Foo]] is invalid JS.
+* (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
+ are used.
+* (bug 30264) Changed installer-generated LocalSettings.php to use require_once()
+ instead require() for included extensions.
+* Tracking categories are no longer shown in footer for special pages.
+* (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e. <key>).
+* $wgOverrideSiteFeed no longer double escapes urls.
+* The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
+ processing complex pages using newer versions of libxml2.
+* (bug 30907) Special:Unusedcategories should sort ascendingly.
+* (bug 28545) When using the uca-default collation, sortkey's starting with a
+ space (U+20) will sort under an invisible header like in 1.16 rather than a U+6DE.
+* (bug 30192) Thumbnails of archived files are now deleted.
+* (bug 30843) mediawiki.Title should not convert extensions (anything after the
+ last full stop) to lower case).
+* (bug 31213) Exception thrown when trying to move file cross-namespace.
+* (bug 18424) Special:Prefixindex and Special:Allpages paging links are
+ really small, and somewhat inconsistent with each other.
+* (bug 30466) Entries in iwlinks table are now cleared when moving a page over
+ redirect.
+* (bug 31674) Can't edit watchlist if it contains special pages.
+* (bug 32100) Installer complains about Suhosin GET limit even if it is
+ already set above 1024 bytes.
+
+=== API changes in 1.18 ===
+* BREAKING CHANGE: action=watch now requires POST and token.
+* (bug 26339) Throw warning when truncating an overlarge API result.
+* (bug 14869) Add API module for accessing QueryPage-based special pages.
+* (bug 14020) API for Special:Unwatchedpages.
+* (bug 24287) Wrap API Help output at 100 characters.
+* Add a realname uiprop option to query=userinfo so a user's realname can be
+ extracted.
+* Add a &watchuser option to ApiBlock.
+* (bug 26541) Generator-ise ApiQueryRecentChanges.
+* action=parse now correctly returns an error for nonexistent pages.
+* (bug 25767) Add userrights properties to allusers and users query lists.
+* (bug 26558) list=allusers auprop=groups does not list groups a user is
+ automatically a member of.
+* (bug 26559) list=allusers auprop=rights does not match
+ list=users usprop=rights.
+* (bug 26560) On allusers if limit < total number of users, last user gets
+ duplicate.
+* (bug 25135) add "normalized" to action=parse.
+* (bug 26460) Add support for listing category members by category pageid.
+* (bug 26482) add a imimages param to prop=images.
+* (bug 26498) allow LinksUpdate with API.
+* (bug 26485) add a elextlinks param to prop=extlinks.
+* (bug 26483) add a iwtitles param to prop=iwlinks.
+* (bug 26484) add a lltitles param to prop=langlinks.
+* (bug 26480) add a pppageprops param to prop=pageprops.
+* (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
+* (bug 24650) Fix API to work with categorylinks changes.
+* Expose list of skins in meta=siteinfo.
+* (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
+* (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
+* Add a amtitle param to meta=allmessages.
+* (bug 25832) query=allimages now outputs ns/title as well.
+* (bug 27199) Thumbnail urls can be fetched for old files as well.
+* (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
+ max value, API doesn't validate the input is actually an integer.
+* (bug 27479) API error when using both prop=pageprops and
+ prop=info&inprop=displaytitle.
+* (bug 27554) Update API information text to reflect change in bug 26125.
+* (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
+* (bug 27616) Add userid of blocked user and blocker to list=blocks.
+* (bug 27688) Simplify queries to list user block information.
+* (bug 27708) list=users does not have a property to return user id.
+* (bug 27715) imageinfo didn't respect revdelete.
+* (bug 27862) Useremail module didn't properly return success on success.
+* (bug 27590) prop=imageinfo now allows querying the media type.
+* (bug 27587) list=filearchive now outputs full title info.
+* (bug 27018) Added action=filerevert to revert files to an old version.
+* (bug 27897) list=allusers and list=users list hidden users.
+* (bug 27717) API's exturlusage module does not respect $wgMiserMode.
+* (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
+* (bug 28010) Passing a non existant user to list=users gives internal error.
+* (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
+ groups if a user doesn't have explicit groups.
+* (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
+ in auto generated document, as it is on mediawiki.org.
+* (bug 27182) API: Add filter by prefix for meta=allmessages.
+* (bug 27183) API: Add filter by customisation state for meta=allmessages.
+* (bug 27340) API: Allow listing of "small" categories.
+* (bug 27342) Add audir param to list=allusers.
+* (bug 27203) add fato param to list=filearchive.
+* (bug 27341) Add drto param to list=deletedrevs.
+* (bug 26630) Add API for Special:ActiveUsers.
+* (bug 27020) API: Allow title prefix search of logevents (only when not in
+ miser mode).
+* (bug 26629) add Special:MIMESearch to API.
+* (bug 27585) add pagecount to list=filearchive.
+* (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
+ is missing.
+* (bug 27343) Add parseddescription to list=filearchive.
+* (bug 27469) label implicit groups in list=allusers&auprop=groups/
+ list=users&usprop=groups.
+* Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
+ the general site info results.
+* (bug 16288) API: consider making closure status of wikis more clear
+ with meta=siteinfo.
+* (bug 27589) list=allimages&aiprop=archivename is useless.
+* (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
+ by using ApiQueryImageInfo.
+* (bug 28226) prop=extlinks&eloffset should be an integer.
+* (bug 28070) Fix watchlist RSS for databases that store timestamps in a
+ real timestamp field.
+* API upload errors may now return the parameter that needs to be changed and
+ a sessionkey to fix the error.
+* (bug 28249) allow dupes in meta=allmessages&amargs.
+* (bug 28263) cannot import xml with the API, when have not "import" user
+ right, but "importupload".
+* (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
+* (bug 28394) Set forgotten parameters types in ApiUnblock.
+* (bug 28395) Set forgotten parameters types in ApiParse.
+* (bug 28368) add hint for multipart/form-data to API information of
+ action=import&xml=.
+* (bug 28391) action=feedwatchlist&allrev should be a bool.
+* (bug 28364) add registration date to meta=userinfo.
+* (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
+ PARAM_TYPE is not set.
+* (bug 27712) add parent_id to list=deletedrevs.
+* (bug 28455) Add 'toponly' to recentchanges API module.
+* (bug 26873) API: Add 'toponly' filter in usercontribs module.
+* (bug 28586) YAML: strings that are the same as boolean literals.
+* (bug 28591) Update/replace/supplement spyc (YAML parsing library).
+* YAML API output is now 1.2 compliant, using JSON as the formatter.
+* (bug 28672) give information about misermode on API.
+* (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
+* (bug 26882) Allow listing of indefinite protections with the API.
+* (bug 27344) add drprefix param to list=deletedrevs.
+* (bug 28560) list=deletedrevs should die, if combination of param is invalid.
+* (bug 28238) paraminfo: output both limits for multi param.
+* (bug 27179) API: List of extension tags through meta=siteinfo.
+* Get a list of function hooks through meta=siteinfo.
+* Get a list of all subscribed hooks, and those subscribers.
+* (bug 28225) Allow hiding of user groups in list=allusers.
+* (bug 27185) API: Add Special:ComparePages.
+* (bug 28265) allow outputting of comments for action=expandtemplates.
+* (bug 27790) Add query type for querymodules to output of ApiParamInfo.
+* (bug 28963) Add langbacklinks query module to the api.
+* (bug 27593) API should return error message when sha1/sha1base36 is invalid.
+* (bug 28578) API's parse module should not silently override invalid
+ title inputs.
+* (bug 20699) Watchlist API should list log-events.
+* (bug 29070) Require a token in API action=watch.
+* (bug 29221) Expose oldrevid in ApiQueryWatchlist output.
+* (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag.
+* (bug 28897) rvparse now respects rvsection for action=query&prop=revisions.
+* (bug 25734) API: Possible issue with revids validation.
+* (bug 28002) Internal error in ApiFormatRaw::getMimeType.
+* (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
+* (bug 28392) Mark action=undelete&timestamps as type "timestamp".
+* (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode).
+* (bug 27595) sha1 search of list=filearchive does not work.
+* (bug 26763) Make RSS/Atom of user contributions more visible.
+* (bug 25133) Allow redirects also for action=parse&pageid.
+* (bug 29745) Fatal error in API search.
+* (bug 29476) API returns page title instead of sectiontitle for
+ srprop=sectiontitle.
+* Correct the documentation of srprop properties.
+* (bug 28817) Add reference help page link to API Modules.
+* (bug 29935) Improve formatting of examples in ApiParamInfo.
+* (bug 29938) list=users&usprop=rights shows rights the user doesn't have.
+* (bug 24781) The API will include an XML namespace if the includexmlnamespace
+ parameter is set.
+* (bug 29392) Setting the start or end parameter now works with lists blocks,
+ categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
+ and watchlist in Postgres.
+
+=== Languages updated in 1.18 ===
+
+MediaWiki supports over 330 languages. Many localisations are updated
+regularly. Below only new and removed languages are listed, as well as
+changes to languages because of Bugzilla reports.
+
+* Angika (anp) (new).
+* Brahui (brh) (new).
+* Central Dusun (dtp) (new).
+* Jamaican Creole English (jam) (new).
+* Khowar (khw) (new).
+* Liv (liv) (new).
+* Kichwa (qug) (new).
+* Tokipona (tp) (removed) 'tokipona' is still valid.
+* (bug 17160) Gender specific display text for User namespace.
+* Link trail added for sl and sh.
+* (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
+* (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
+* (bug 27385) Set Polish $namespaceGenderAliases.
+* (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
+* (bug 27785) Fallback language for Kabardian (kbd) is English now.
+* (bug 27825) Raw watchlist edit message now uses formatted numbers.
+* (bug 28040) Turkish: properly lower case 'I' to 'ı' (dotless i) and
+ uppercase 'i' to 'İ' (dotted i).
+* Conversion script between Syllabics and Latin for the Inuktitut language.
+* Date formats for Indonesian (id) updated.
+* Bhojpuri (bho) (renamed from "bh").
+* (bug 29031) When translating block log entries, indefinite, infinite, and
+ infinity are now considered the same.
+* Aromanian (rup) (renamed from "rua-rup").
+* Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
+ (Devanagari) (ks-deva). Defaults to ks-arab.
+* (bug 30864) Use bengali numerals for <ol> for Assamese.
+* (bug 30817) Restored linktrail for kk (Kazakh).
+* (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces.
+* (bug 30846) New LanguageOs class.
+
+=== Other changes in 1.18 ===
+* Removed legacy wgAjaxWatch javascript global object, no longer in use.
+* (bug 28556) Upload support for MacBinary files has been removed (Used by
+ Internet Explorer 5 for Mac OS 9).
+* On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
+ set for all wikis. This was already the case for 'wgServer'.
+
+== Compatibility ==
+
+MediaWiki 1.18 requires PHP 5.2.3. PHP 4 is no longer supported.
+
+MySQL is the recommended DBMS. PostgreSQL, Oracle or SQLite can also be used, but
+support for them is somewhat less mature. There is experimental support for IBM
+DB2 and Microsoft SQL Server.
+
+The supported versions are:
+
+* MySQL 4.0 or later
+* PostgreSQL 8.3 or later
+* SQLite 3
+* Oracle 9.0.1 or later
+
+== Upgrading ==
+
+1.18 has several database changes since 1.17, and will not work without schema
+updates.
+
+If upgrading from before 1.11, and you are using a wiki as a commons
+repository, make sure that it is updated as well. Otherwise, errors may arise
+due to database schema changes.
+
+If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
+new database fields are filled with data.
+
+If you are upgrading from MediaWiki 1.4.x or earlier, some major database
+changes are made, and there is a slightly higher chance that things could
+break. Don't forget to always back up your database before upgrading!
+
+See the file UPGRADE for more detailed upgrade instructions.
+
+For notes on 1.17.x and older releases, see HISTORY.
+
+== Online documentation ==
+
+Documentation for both end-users and site administrators is available on
+MediaWiki.org, and is covered under the GNU Free Documentation License (except
+for pages that explicitly state that their contents are in the public domain):
+
+ http://www.mediawiki.org/wiki/Documentation
+
+== Mailing list ==
+
+A mailing list is available for MediaWiki user support and discussion:
+
+ http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
+
+A low-traffic announcements-only list is also available:
+
+ http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
+
+It's highly recommended that you sign up for one of these lists if you're
+going to run a public MediaWiki, so you can be notified of security fixes.
+
+== IRC help ==
+
+There's usually someone online in #mediawiki on irc.freenode.net.
diff --git a/StartProfiler.sample b/StartProfiler.sample
index f91aeb92..6bce634d 100644
--- a/StartProfiler.sample
+++ b/StartProfiler.sample
@@ -1,20 +1,16 @@
<?php
-require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
-
/**
* To use a profiler, copy this file to StartProfiler.php,
- * delete the PHP line above, and add something like this:
+ * and add something like this:
*
- * require_once( dirname(__FILE__).'/includes/Profiler.php' );
- * $wgProfiler = new Profiler;
+ * $wgProfiler['class'] = 'Profiler';
*
* Or for a sampling profiler:
* if ( !mt_rand( 0, 100 ) ) {
- * require_once( dirname(__FILE__).'/includes/Profiler.php' );
- * $wgProfiler = new Profiler;
+ * $wgProfiler['class'] = 'Profiler';
* } else {
- * require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
+ * $wgProfiler['class'] = 'ProfilerStub';
* }
*
* Configuration of the profiler output can be done in LocalSettings.php
diff --git a/api.php b/api.php
index 5c675b06..39d27dd6 100644
--- a/api.php
+++ b/api.php
@@ -37,8 +37,18 @@
// So extensions (and other code) can check whether they're running in API mode
define( 'MW_API', true );
-// Initialise common code
-require ( dirname( __FILE__ ) . '/includes/WebStart.php' );
+// Bail if PHP is too low
+if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.2.3' ) < 0 ) {
+ require( dirname( __FILE__ ) . '/includes/PHPVersionError.php' );
+ wfPHPVersionError( 'api.php' );
+}
+
+// Initialise common code.
+if ( isset( $_SERVER['MW_COMPILED'] ) ) {
+ require ( 'phase3/includes/WebStart.php' );
+} else {
+ require ( dirname( __FILE__ ) . '/includes/WebStart.php' );
+}
wfProfileIn( 'api.php' );
$starttime = microtime( true );
@@ -50,9 +60,10 @@ if ( !$wgRequest->checkUrlExtension() ) {
// Verify that the API has not been disabled
if ( !$wgEnableAPI ) {
- echo 'MediaWiki API is not enabled for this site. Add the following line to your LocalSettings.php';
- echo '<pre><b>$wgEnableAPI=true;</b></pre>';
- die( 1 );
+ header( $_SERVER['SERVER_PROTOCOL'] . ' 500 MediaWiki configuration Error', true, 500 );
+ echo( 'MediaWiki API is not enabled for this site. Add the following line to your LocalSettings.php'
+ . '<pre><b>$wgEnableAPI=true;</b></pre>' );
+ die(1);
}
// Selectively allow cross-site AJAX
@@ -120,7 +131,8 @@ if ( $wgAPIRequestLog ) {
$_SERVER['HTTP_USER_AGENT']
);
$items[] = $wgRequest->wasPosted() ? 'POST' : 'GET';
- if ( $processor->getModule()->mustBePosted() ) {
+ $module = $processor->getModule();
+ if ( $module->mustBePosted() ) {
$items[] = "action=" . $wgRequest->getVal( 'action' );
} else {
$items[] = wfArrayToCGI( $wgRequest->getValues() );
@@ -129,6 +141,8 @@ if ( $wgAPIRequestLog ) {
wfDebug( "Logged API request to $wgAPIRequestLog\n" );
}
-// Shut down the database
-wfGetLBFactory()->shutdown();
+// Shut down the database. foo()->bar() syntax is not supported in PHP4: we won't ever actually
+// get here to worry about whether this should be = or =&, but the file has to parse properly.
+$lb = wfGetLBFactory();
+$lb->shutdown();
diff --git a/config/OBSOLETE b/config/OBSOLETE
deleted file mode 100644
index 108c1675..00000000
--- a/config/OBSOLETE
+++ /dev/null
@@ -1,2 +0,0 @@
-This is a back-compat directory for installer, which resides in mw-config/ now.
-It will probably be remved in 1.19. \ No newline at end of file
diff --git a/config/index.php b/config/index.php
deleted file mode 100644
index 948fe69f..00000000
--- a/config/index.php
+++ /dev/null
@@ -1 +0,0 @@
-<?php require( dirname( dirname( __FILE__ ) ) . '/mw-config/index.php' ); \ No newline at end of file
diff --git a/config/index.php5 b/config/index.php5
deleted file mode 100644
index f9ce630c..00000000
--- a/config/index.php5
+++ /dev/null
@@ -1 +0,0 @@
-<?php require( dirname( dirname( __FILE__ ) ) . '/mw-config/index.php5' ); \ No newline at end of file
diff --git a/docs/database.txt b/docs/database.txt
index b9fa6ff7..3985b70e 100644
--- a/docs/database.txt
+++ b/docs/database.txt
@@ -186,3 +186,14 @@ MediaWiki does support the following other DBMSs to varying degrees.
More information can be found about each of these databases (known issues,
level of support, extra configuration) in the "databases" subdirectory in
this folder.
+
+------------------------------------------------------------------------
+ Use of GROUP BY
+------------------------------------------------------------------------
+
+MySQL supports GROUP BY without checking anything in the SELECT clause.
+Other DBMSs (especially Postgres) are stricter and require that all the
+non-aggregate items in the SELECT clause appear in the GROUP BY. For
+this reason, it is highly discouraged to use SELECT * with GROUP BY
+queries.
+
diff --git a/docs/databases/postgres.txt b/docs/databases/postgres.txt
index cec51861..6b266a6a 100644
--- a/docs/databases/postgres.txt
+++ b/docs/databases/postgres.txt
@@ -92,6 +92,18 @@ in maintenance/tables.sql itself, as it is very strict in the
format it expects things to be in. :)
+== MySQL differences ==
+
+The major differences between MySQL and Postgres are represented as
+methods in the Database class. For example, implicitGroupby() is
+true for MySQL and false for Postgres. This means that in those
+places where the code does not add all the non-aggregate items
+from the SELECT clause to the GROUP BY, we can add them in, but in
+a conditional manner with the above method, as simply adding them
+all in to the main query may cause performance problems with
+MySQL.
+
+
== Getting help ==
In addition to the normal venues (MediaWiki mailing lists
diff --git a/docs/design.html b/docs/design.html
new file mode 100644
index 00000000..064a6976
--- /dev/null
+++ b/docs/design.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <link rel="stylesheet" href="../skins/common/shared.css" />
+</head>
+<body style="font-size: small;">
+
+ <h2>Messages</h2>
+ <p class="success">Success message</p>
+ <p class="warning">Warning message</p>
+ <p class="error">Error message</p>
+
+ <h2>Messages box</h2>
+ <p class="visualClear successbox">Success message</p>
+ <p class="visualClear warningbox">Warning message</p>
+ <p class="visualClear errorbox">Error message</p>
+
+</body></html>
diff --git a/docs/export-0.4.xsd b/docs/export-0.4.xsd
index 9ff39254..3e7f2eab 100644
--- a/docs/export-0.4.xsd
+++ b/docs/export-0.4.xsd
@@ -68,8 +68,8 @@
<!-- Behavior when $wgCapitalLinks = false -->
<enumeration value="case-sensitive" />
- <!-- Cannot have two titles differing only by case. -->
- <!-- Not yet implemented as of MediaWiki 1.5 -->
+ <!-- Cannot have non-case senstitive titles eg [[FOO]] == [[Foo]] -->
+ <!-- Not yet implemented as of MediaWiki 1.18 -->
<enumeration value="case-insensitive" />
</restriction>
</simpleType>
@@ -161,6 +161,10 @@
<attribute ref="xml:space" use="optional" default="preserve" />
<!-- This allows deleted=deleted on non-empty elements, but XSD is not omnipotent -->
<attribute name="deleted" use="optional" type="mw:DeletedFlagType"/>
+ <!-- This isn't a good idea; we should be using "ID" instead of "NMTOKEN" -->
+ <!-- However, "NMTOKEN" is strictest definition that is both compatible with existing -->
+ <!-- usage ([0-9]+) and with the "ID" type. -->
+ <attribute name="id" type="NMTOKEN"/>
</extension>
</simpleContent>
</complexType>
diff --git a/docs/export-0.5.xsd b/docs/export-0.5.xsd
index a0884958..ca54c938 100644
--- a/docs/export-0.5.xsd
+++ b/docs/export-0.5.xsd
@@ -68,8 +68,8 @@
<!-- Behavior when $wgCapitalLinks = false -->
<enumeration value="case-sensitive" />
- <!-- Cannot have two titles differing only by case. -->
- <!-- Not yet implemented as of MediaWiki 1.5 -->
+ <!-- Cannot have non-case senstitive titles eg [[FOO]] == [[Foo]] -->
+ <!-- Not yet implemented as of MediaWiki 1.18 -->
<enumeration value="case-insensitive" />
</restriction>
</simpleType>
@@ -161,6 +161,10 @@
<attribute ref="xml:space" use="optional" default="preserve" />
<!-- This allows deleted=deleted on non-empty elements, but XSD is not omnipotent -->
<attribute name="deleted" use="optional" type="mw:DeletedFlagType"/>
+ <!-- This isn't a good idea; we should be using "ID" instead of "NMTOKEN" -->
+ <!-- However, "NMTOKEN" is strictest definition that is both compatible with existing -->
+ <!-- usage ([0-9]+) and with the "ID" type. -->
+ <attribute name="id" type="NMTOKEN"/>
<attribute name="bytes" use="optional" type="nonNegativeInteger"/>
</extension>
</simpleContent>
diff --git a/docs/globals.txt b/docs/globals.txt
index 46486dd8..8b4c755b 100644
--- a/docs/globals.txt
+++ b/docs/globals.txt
@@ -9,7 +9,7 @@ in a much more flexible way. Consider the elegance of:
# Generate the article HTML as if viewed by a web request
$article = new Article( Title::newFromText( $t ) );
$article->view();
-
+
versus
# Save current globals
@@ -29,13 +29,13 @@ Some of the current MediaWiki developers have an idle fantasy that some day,
globals will be eliminated from MediaWiki entirely, replaced by an application
object which would be passed to constructors. Whether that would be an
efficient, convenient solution remains to be seen, but certainly PHP 5 makes
-such object-oriented programming models easier than they were in previous
+such object-oriented programming models easier than they were in previous
versions.
For the time being though, MediaWiki programmers will have to work in an
environment with some global context. At the time of writing, 418 globals were
-initialised on startup by MediaWiki. 304 of these were configuration settings,
-which are documented in DefaultSettings.php. There is no comprehensive
+initialised on startup by MediaWiki. 304 of these were configuration settings,
+which are documented in DefaultSettings.php. There is no comprehensive
documentation for the remaining 114 globals, however some of the most important
ones are listed below. They are typically initialised either in index.php or in
Setup.php.
@@ -45,9 +45,6 @@ For a description of the classes, see design.txt.
$wgTitle
Title object created from the request URL.
-$wgArticle
- Article object corresponding to $wgTitle.
-
$wgOut
OutputPage object for HTTP response.
@@ -68,6 +65,3 @@ $wgRequest
$wgMemc, $messageMemc, $parserMemc
Object caches
-
-$wgMessageCache
- Message cache, to manage interface messages
diff --git a/docs/hooks.txt b/docs/hooks.txt
index 12d603bb..ca938555 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -234,6 +234,10 @@ MediaWiki 1.4rc1.
This is a list of known events and parameters; please add to it if you're going
to add events to the MediaWiki code.
+'AbortAutoAccount': Return false to cancel automated local account creation, where normally authentication against an external auth plugin would be creating a local account.
+$user: the User object about to be created (read-only, incomplete)
+&$abortMsg: out parameter: name of error message to be displayed to user
+
'AbortAutoblock': Return false to cancel an autoblock.
$autoblockip: The IP going to be autoblocked.
$block: The block from which the autoblock is coming.
@@ -247,6 +251,7 @@ $password: the password being submitted, not yet checked for validity
&$retval: a LoginForm class constant to return from authenticateUserData();
default is LoginForm::ABORTED. Note that the client may be using
a machine API rather than the HTML user interface.
+&$msg: the message identifier for abort reason (new in 1.18, not available before 1.18)
'AbortMove': allows to abort moving an article (title)
$old: old title
@@ -255,9 +260,20 @@ $user: user who is doing the move
$err: error message
$reason: the reason for the move (added in 1.13)
-'AbortNewAccount': Return false to cancel account creation.
+'AbortNewAccount': Return false to cancel explicit account creation.
$user: the User object about to be created (read-only, incomplete)
-$message: out parameter: error message to display on abort
+&$msg: out parameter: name of error message to display on abort
+
+'ActionBeforeFormDisplay': before executing the HTMLForm object
+$name: name of the action
+&$form: HTMLForm object
+$article: Article object
+
+'ActionModifyFormFields': before creating an HTMLForm object for a page action;
+ allows to change the fields on the form that will be generated
+$name: name of the action
+&$fields: HTMLForm descriptor array
+$article: Article object
'AddNewAccount': after a user account is created
$user: the User object that was created. (Parameter added in 1.7)
@@ -270,16 +286,6 @@ $revCount: Number of revisions in the XML file
$sRevCount: Number of sucessfully imported revisions
$pageInfo: associative array of page information
-'AfterUserMessage': After a user message has been left, this hook is
-called to take care of any cleanup.
-$user: The user who we left the message for.
-$article: The article the message was left on.
-$subject: The subject of the message
-$text: The text of the message.
-$signature: The signature we used.
-$summary: The edit summary.
-$editor: The editor that performed the edit.
-
'AjaxAddScript': Called in output page just before the initialisation
of the javascript ajax engine. The hook is only called when ajax
is enabled ( $wgUseAjax = true; ).
@@ -353,6 +359,11 @@ associated RecentChange object. In the hook, just add your callback to the
$tokenFunctions array and return true (returning false makes no sense)
$tokenFunctions: array(action => callback)
+'APIQuerySiteInfoGeneralInfo': use this hook to add extra information to
+the sites general information.
+$module: the current ApiQuerySiteInfo module
+&$results: array of results, add things here
+
'APIQueryUsersTokens': use this hook to add custom token to list=users.
Every token has an action, which will be used in the ustoken parameter
and in the output (actiontoken="..."), and a callback function which
@@ -380,7 +391,8 @@ $article: the article (object) being deleted
$output: the OutputPage object ($wgOut)
&$reason: the reason (string) the article is being deleted
-'ArticleContentOnDiff': before showing the article below a diff
+'ArticleContentOnDiff': before showing the article content below a diff.
+Use this to change the content in this area or how it is loaded.
$diffEngine: the DifferenceEngine
$output: the OutputPage object ($wgOut)
@@ -440,6 +452,10 @@ $row: row (object) returned from the database server
$article: article (object) that data will be loaded
$fields: fileds (array) to load from the database
+'ArticlePrepareTextForEdit': called when preparing text to be saved
+$article: the article being saved
+$popts: parser options to be used for pre-save transformation
+
'ArticleProtect': before an article is protected
$article: the article being protected
$user: the user doing the protection
@@ -505,6 +521,9 @@ before the user is redirected back to the page
&$sectionanchor: The section anchor link (e.g. "#overview" )
&$extraq: Extra query parameters which can be added via hooked functions
+'ArticleViewFooter': After showing the footer section of an ordinary page view
+$article: Article object
+
'ArticleViewHeader': Before the parser cache is about to be tried for article
viewing.
&$article: the article
@@ -536,11 +555,6 @@ $name: Image name being checked
Change $bad and return false to override. If an image is "bad", it is not
rendered inline in wiki pages or galleries in category pages.
-'BeforeGalleryFindFile': before an image is fetched for a gallery
-&$gallery,: the gallery object
-&$nt: the image title
-&$time: image timestamp
-
'BeforeInitialize': before anything is initialized in performRequestForTitle()
&$title: Title being used for request
&$article: The associated Article object
@@ -553,22 +567,38 @@ $mediaWiki: Mediawiki object
&$out: OutputPage object
&$skin: Skin object
+'BeforeParserFetchFileAndTitle': before an image is rendered by Parser
+$parser: Parser object
+$nt: the image title
+&$time: the image timestamp (use '0' to force a broken thumbnail)
+&$sha1: image base 36 sha1 (used to specify the file, $nt will be ignored if this is set)
+&$descQuery: query string to add to thumbnail URL
+
'BeforeParserFetchTemplateAndtitle': before a template is fetched by Parser
-&$parser: Parser object
-&$title: title of the template
+$parser: Parser object
+$title: title of the template
&$skip: skip this template and link it?
&$id: the id of the revision being parsed
-'BeforeParserMakeImageLinkObj': before an image is rendered by Parser
-&$parser: Parser object
-&$nt: the image title
-&$skip: skip this image and link it?
-&$time: the image timestamp
-
'BeforeParserrenderImageGallery': before an image gallery is rendered by Parser
&$parser: Parser object
&$ig: ImageGallery object
+'BeforeWelcomeCreation': before the welcomecreation message is displayed to a newly created user
+&$welcome_creation_msg: MediaWiki message name to display on the welcome screen to a newly created user account
+&$injected_html: Any HTML to inject after the "logged in" message of a newly created user account
+
+'BitmapHandlerTransform': before a file is transformed, gives extension the
+possibility to transform it themselves
+$handler: BitmapHandler
+$image: File
+&$scalerParams: Array with scaler parameters
+&$mto: null, set to a MediaTransformOutput
+
+'PerformRetroactiveAutoblock': called before a retroactive autoblock is applied to a user
+$block: Block object (which is set to be autoblocking)
+&$blockIds: Array of block IDs of the autoblock
+
'BlockIp': before an IP address or user is blocked
$block: the Block object about to be saved
$user: the user _doing_ the block (not the one being blocked)
@@ -595,6 +625,11 @@ $catpage: CategoryPage instance
$unpatrolled: Whether or not we are showing unpatrolled changes.
$watched: Whether or not the change is watched by the user.
+'Collation::factory': Called if $wgCategoryCollation is an unknown collation
+$collationName: Name of the collation in question
+&$collationObject: Null. Replace with a subclass of the Collation class that implements
+the collation given in $collationName.
+
'ConfirmEmailComplete': Called after a user's email has been confirmed successfully
$user: user (object) whose email is being confirmed
@@ -623,6 +658,10 @@ etc.
'DatabaseOraclePostInit': Called after initialising an Oracle database
&$db: the DatabaseOracle object
+'Debug': called when outputting a debug log line via wfDebug() or wfDebugLog()
+$text: plaintext string to be output
+$group: null or a string naming a logging group (as defined in $wgDebugLogGroups)
+
'NewDifferenceEngine': Called when a new DifferenceEngine object is made
$title: the diff page title (nullable)
&$oldId: the actual old Id to use in the diff
@@ -675,7 +714,7 @@ pages
$editPage: EditPage object
'EditPage::attemptSave': called before an article is
-saved, that is before insertNewArticle() is called
+saved, that is before Article::doEdit() is called
$editpage_Obj: the current EditPage object
'EditPage::importFormData': allow extensions to read additional data
@@ -789,7 +828,7 @@ $editToken: The user's edit token.
'FetchChangesList': When fetching the ChangesList derivative for
a particular user
-&$user: User the list is being fetched for
+$user: User the list is being fetched for
&$skin: Skin object to be used with the list
&$list: List object (defaults to NULL, change it to an object
instance and return false override the list derivative used)
@@ -813,12 +852,6 @@ $fileVersions: array of undeleted versions. Empty if all versions were restored
$user: user who performed the undeletion
$reason: reason
-'FormatUserMessage': Hook to format a message if you want to override
-the internal formatter.
-$subject: Title of the message.
-&$text: Text of the message.
-$signature: Signature that they would like to leave.
-
'GetAutoPromoteGroups': When determining which autopromote groups a user
is entitled to be in.
&$user: user to promote.
@@ -832,15 +865,27 @@ $out: OutputPage object
&$cookies: array of cookies name, add a value to it if you want to add a cookie
that have to vary cache options
+'GetCanonicalURL': modify fully-qualified URLs used for IRC and e-mail notifications
+$title: Title object of page
+$url: string value as output (out parameter, can modify)
+$query: query options passed to Title::getCanonicalURL()
+$variant: variant passed to Title::getCanonicalURL()
+
+'GetDefaultSortkey': Override the default sortkey for a page.
+$title: Title object that we need to get a sortkey for
+&$sortkey: Sortkey to use.
+
'GetFullURL': modify fully-qualified URLs used in redirects/export/offsite data
$title: Title object of page
$url: string value as output (out parameter, can modify)
$query: query options passed to Title::getFullURL()
+$variant: variant passed to Title::getFullURL()
'GetInternalURL': modify fully-qualified URLs used for squid cache purging
$title: Title object of page
$url: string value as output (out parameter, can modify)
$query: query options passed to Title::getInternalURL()
+$variant: variant passed to Title::getFullURL()
'GetIP': modify the ip of the current user (called only once)
&$ip: string holding the ip as determined so far
@@ -854,6 +899,15 @@ $linkcolour_ids: array of prefixed DB keys of the pages linked to,
$title: Title object of page
$url: string value as output (out parameter, can modify)
$query: query options passed to Title::getLocalURL()
+$variant: variant passed to Title::getLocalURL()
+
+'GetMetadataVersion': modify the image metadata version currently in use. This is
+ used when requesting image metadata from a ForiegnApiRepo. Media handlers
+ that need to have versioned metadata should add an element to the end of
+ the version array of the form 'handler_name=version'. Most media handlers
+ won't need to do this unless they broke backwards compatibility with a
+ previous version of the media handler metadata output.
+&$version: Array of version strings
'GetPreferences': modify user preferences
$user: User whose preferences are being modified.
@@ -956,6 +1010,12 @@ $ignoreRedirect: boolean to skip redirect check
$target: Title/string of redirect target
$article: Article object
+'InterwikiLoadPrefix': When resolving if a given prefix is an interwiki or not.
+Return true without providing an interwiki to continue interwiki search.
+$prefix: interwiki prefix we are looking for.
+&$iwData: output array describing the interwiki with keys iw_url, iw_local,
+ iw_trans and optionally iw_api and iw_wikiid.
+
'InternalParseBeforeLinks': during Parser's internalParse method before links
but after noinclude/includeonly/onlyinclude and other processing.
&$parser: Parser object
@@ -965,6 +1025,11 @@ but after noinclude/includeonly/onlyinclude and other processing.
'InvalidateEmailComplete': Called after a user's email has been invalidated successfully
$user: user (object) whose email is being invalidated
+'IRCLineURL': When constructing the URL to use in an IRC notification.
+Callee may modify $url and $query, URL will be constructed as $url . $query
+&$url: URL to index.php
+&$query: Query string
+
'IsFileCacheable': Override the result of Article::isFileCacheable() (if true)
$article: article (object) being checked
@@ -994,13 +1059,17 @@ Use to define aliases of special pages names depending of the language
$specialPageAliases: associative array of magic words synonyms
$lang: laguage code (string)
+'LanguageGetTranslatedLanguageNames': Provide translated language names.
+&$names: array of language code => language name
+$code language of the preferred translations
+
'LinkBegin': Used when generating internal and interwiki links in
Linker::link(), before processing starts. Return false to skip default proces-
sing and return $ret. See documentation for Linker::link() for details on the
expected meanings of parameters.
$skin: the Skin object
$target: the Title that the link is pointing to
-&$text: the contents that the <a> tag should have (raw HTML); null means "de-
+&$html: the contents that the <a> tag should have (raw HTML); null means "de-
fault"
&$customAttribs: the HTML attributes that the <a> tag should have, in associa-
tive array form, with keys and values unescaped. Should be merged with de-
@@ -1012,13 +1081,13 @@ $target: the Title that the link is pointing to
'LinkEnd': Used when generating internal and interwiki links in Linker::link(),
just before the function returns a value. If you return true, an <a> element
-with HTML attributes $attribs and contents $text will be returned. If you re-
+with HTML attributes $attribs and contents $html will be returned. If you re-
turn false, $ret will be returned.
$skin: the Skin object
$target: the Title object that the link is pointing to
$options: the options. Will always include either 'known' or 'broken', and may
include 'noclasses'.
-&$text: the final (raw HTML) contents of the <a> tag, after processing.
+&$html: the final (raw HTML) contents of the <a> tag, after processing.
&$attribs: the final HTML attributes of the <a> tag, after processing, in asso-
ciative array form.
&$ret: the value to return if your hook returns false.
@@ -1088,21 +1157,8 @@ $paramArray: Array of parameters that corresponds to logging.log_params field.
&$revert: string that is displayed in the UI, similar to $comment.
$time: timestamp of the log entry (added in 1.12)
-'LogPageValidTypes': action being logged.
-DEPRECATED: Use $wgLogTypes
-&$type: array of strings
-
-'LogPageLogName': name of the logging page(s).
-DEPRECATED: Use $wgLogNames
-&$typeText: array of strings
-
-'LogPageLogHeader': strings used by wfMsg as a header.
-DEPRECATED: Use $wgLogHeaders
-&$headerText: array of strings
-
-'LogPageActionText': strings used by wfMsg as a header.
-DEPRECATED: Use $wgLogActions
-&$actionText: array of strings
+'MaintenanceRefreshLinksInit': before executing the refreshLinks.php maintenance script
+$refreshLinks: RefreshLinks object
'MagicWordMagicWords': When defining new magic word.
DEPRECATED: use $magicWords in a file listed in
@@ -1131,11 +1187,6 @@ $user: user (object) who marked the edit patrolled
$wcOnlySysopsCanPatrol: config setting indicating whether the user
must be a sysop to patrol the edit
-'MathAfterTexvc': after texvc is executed when rendering mathematics
-$mathRenderer: instance of MathRenderer
-$errmsg: error message, in HTML (string). Nonempty indicates failure
- of rendering the formula
-
'MediaWikiPerformAction': Override MediaWiki::performAction().
Use this to do something completely different, after the basic
globals have been set up, but before ordinary actions take place.</