aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version from rc.0 to rc.21.31.0-rc.2Chad Horohoe2018-05-301-1/+1
| | | | | | | | Should've been bumped awhile ago to rc.1, meaning the rc.1 tag had the wrong version number. Rather than re-issue the tag, we'll just move forward and not bother with rc.1 Change-Id: Ie89caf3826c35c3a15fe1390c4caec1f8b7d19cc
* Update git submodulesPaladox2018-05-291-0/+0
| | | | | | | | | * Update skins/Timeless from branch 'REL1_31' to 97ba1dd2996811899b6b1a96dce3fa20dd613b21 - Fix $count to === against array instead of using count that fails Bug: T195613 Change-Id: If2b51af8c5335394b8c0266ac2765e1c7ce49618
* Release notes for I61749f1d864cf68afe90cd9e15ba2d7a74252501Bartosz Dziewoński2018-05-251-0/+3
| | | | Change-Id: Idd0a8f5bbc1da161817276cef44ff61a0e72f8b2
* Only load PEAR Smtp mailer from vendor/composer, not from `pear` itself1.31.0-rc.1Chad Horohoe2018-05-243-15/+7
| | | | Change-Id: I91c42a3eafd079039ddbc17a11ad3c7b6579e3c1
* mail: Refactor checks looking for PEAR libraries to be clearerKunal Mehta2018-05-241-11/+44
| | | | | | | | | | I don't think this makes any difference towards the linked bug, but it makes it more obvious that MediaWiki doesn't try to use any PEAR classes before attempting to require them. Bug: T186456 Change-Id: I342f41903a15f13e72e76464499351412a9afa34 (cherry picked from commit 5d30435e81427fcce3353d900faaf8d9fa9a8709)
* build: Updating mediawiki/mediawiki-codesniffer to 18.0.0libraryupgrader2018-05-231-1/+1
| | | | | Change-Id: Id39e8dcf22262d1b3c57628467163a995fe4053b (cherry picked from commit 5a024697a272981fc491e7502d6d5fddef4d2c22)
* installer: Do not wrongly hide namespace input fieldFomafix2018-05-232-2/+4
| | | | | | | | | | | When the radio button is already on "other" then the input field for the namespace should not get hidden by JavaScript on load. Also remove the readonly attribute in HTML because the readonly attribute can not get removed with disabled JavaScript. Change-Id: I8cfde90d791765234572caf00b731881ac2eda48 (cherry picked from commit 31a472655b246df3c072d36959afcb7d2897889d)
* Fix warning "ob_end_flush(): failed to delete and flush buffer" during uploadsEdward Chernenko2018-05-222-1/+6
| | | | | | Bug: T186565 Change-Id: Ia4b29611ccee4acac11717f5220ff9e0fdbd55a9 (cherry picked from commit 30d72ec3d0914bb905d4114dee9256f02cbdcc7f)
* Don't require trailing slash in PSR-4 autoloader directoryMark A. Hershberger2018-05-201-1/+1
| | | | | | | | | This avoids the confusing error “Fatal error: Uncaught InvalidArgumentException” or similar. Bug: T195211 Change-Id: Ifda59a26f8bd968a2d0acbdb157d81dc0bf6aab4 (cherry picked from commit 3b85e362a4098832a08529adc89571a86bf6e9a2)
* Update git submodulesCindy Cicalese2018-05-161-0/+0
| | | | | | | | | * Update extensions/ReplaceText from branch 'REL1_31' to a027ec972c1d98e92483230e1cbf71cc08a31150 - Fix path to maintenance directory. Change-Id: Ife7a7076ee87938cadb84aa56982cc667bd90e2f (cherry picked from commit f7b59db9b3aba2e5523a11d7922f668ef05806ee)
* Merge "registration: Improve duplicate config setting exception" into REL1_31jenkins-bot2018-05-151-11/+15
|\
| * registration: Improve duplicate config setting exceptionKunal Mehta2018-05-151-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't keep track of what set a specific global, so at least mention the name of the extension that is setting a duplicate for easier debugging. Also, fix the case where if the first extension to be loaded was setting a core setting, it would not throw an exception since config was being processed before the rest of extension.json. Now we process config after all core settings, going only before attributes. Bug: T194319 Change-Id: I4fd96e7d167cf0652ee3e8e66167c86f2b91b992 (cherry picked from commit 5490b1270a0a7447f28d2407736fc3c1deb41d44)
* | Merge "IcuCollation: Use codepoint as tiebreaker when getting first-letters" ↵jenkins-bot2018-05-151-3/+11
|\ \ | | | | | | | | | into REL1_31
| * | IcuCollation: Use codepoint as tiebreaker when getting first-lettersBartosz Dziewoński2018-05-111-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents unexpected cuneiform digits from acting as headings for 2 and 3 on category pages. Bug: T187645 Change-Id: I0424a24769899cb23b28704f97e1002fa44999fd (cherry picked from commit 390ff7fca179e26ac177810145d27d98fe2fff43)
* | | installer: Don't shell out if it's disabledKunal Mehta2018-05-152-0/+9
| |/ |/| | | | | | | | | Bug: T191947 Change-Id: I16a82d271157cd0024aa14d7eaec80b4870947b5 (cherry picked from commit 2e473413a8fd1e205142b5c5980addb34aaf369f)
* | Update git submodulesJames D. Forrester2018-05-111-0/+0
|/ | | | | | | | | | * Update extensions/MultimediaViewer from branch 'REL1_31' to 1273d3e0b2189e33fed0567f589a3e7bc4ae6d4e - tests: Comment out failing tests Bug: T192932 Change-Id: Iba81676ebb13407679bd99b0e08d29e225a7ebde (cherry picked from commit 2078fbfb53acd357c96ea187f31a6ba878afc053)
* Add default edit rate limit of 90 edits/minute for all usersBrian Wolff2018-05-102-0/+2
| | | | | | | | | | Previously there was no rate limit at all if you were autoconfirmed. This initial setting is set on the high end of things, we may adjust later. See also T192668, T194204. Change-Id: I7cb002900bae2da3f4f4758671186659c1720e1d (cherry picked from commit cefdcefdb8f15ffdec8345b93aff2036db92d1f7)
* Add ReplaceText submoduleKunal Mehta2018-05-072-0/+4
| | | | | Bug: T191741 Change-Id: Iea4e0e4e04b2ec1b4fc07b11fb0af1ac3ee6347f
* Update git submodulesKunal Mehta2018-05-051-0/+0
| | | | | | | | | * Update extensions/TitleBlacklist from branch 'REL1_31' to 1143a1f61e049e4f8e4de317e7299091a2ca0707 - Upgrade phan-taint-check-plugin to 1.2.0 Change-Id: I9c02ca49f9e35873adc2e2462df1020fd30eb934 (cherry picked from commit 616a7afb885bd8707c143bb271831fb31fc8d377)
* Update git submodulesKunal Mehta2018-05-051-0/+0
| | | | | | | | | * Update extensions/Renameuser from branch 'REL1_31' to f8e515711db88fdd2aae02b760d2e11df3d70489 - Upgrade phan-taint-check-plugin to 1.2.0 Change-Id: I3af50c0a15b7ec0ecea087fefc3d026cced99749 (cherry picked from commit 52ac2bdc3221a65a15d383f7fafc56f47e31b08b)
* Update git submodulesKunal Mehta2018-05-051-0/+0
| | | | | | | | | * Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_31' to a7d04ae33439d1c1b595d68fbad08c43f930fdcf - Upgrade phan-taint-check-plugin to 1.2.0 Change-Id: I2fa1c622dc495e3f4969d7684934f1839f9caf00 (cherry picked from commit b185d9892f5c45d02c0bb3c620644c831945d7bb)
* Update git submodulesKunal Mehta2018-05-051-0/+0
| | | | | | | | | * Update extensions/SpamBlacklist from branch 'REL1_31' to f6fa789ad2c07a4fe89e4d1e636aea1126f26afc - Upgrade phan-taint-check-plugin to 1.2.0 Change-Id: Iaefb223d2217762f6fa91a854d0f963270362c07 (cherry picked from commit 9a87cc3c060eab4d576f3561f0f197f91ac090c2)
* Update git submodulesKunal Mehta2018-05-051-0/+0
| | | | | | | | | * Update extensions/Poem from branch 'REL1_31' to c4098df5ea8132826164f71c0c18b54ae8450edf - Upgrade phan-taint-check-plugin to 1.2.0 Change-Id: I38ce057fc41a0164922f403b77d998df2b4f1099 (cherry picked from commit 8552303267a4f45a38048f90595385572efe30f0)
* Update git submodulesKunal Mehta2018-05-051-0/+0
| | | | | | | | | * Update extensions/PdfHandler from branch 'REL1_31' to 21f2fe96901077927bde13ec15496c186a208197 - Configure phan-taint-check-plugin Change-Id: I934702057ecee687d9966a6f042ee8aa7c68f2d7 (cherry picked from commit 5f0b10d2a5e8ea8e5aa1f05ab1c9ddbab07a1584)
* Update git submodulesKunal Mehta2018-05-051-0/+0
| | | | | | | | | * Update extensions/WikiEditor from branch 'REL1_31' to 277159cd3ae6fdafb7f49db3dbfedfa023e81d35 - Upgrade phan-taint-check-plugin to 1.2.0 Change-Id: Ib6953c3f1eb5b9c9edc7d58735391b965ac6b27a (cherry picked from commit 9ba9e3e4e12a8004fe7198285a8864e752259091)
* Adding Timeless skin to 1.31Chad Horohoe2018-05-052-0/+4
| | | | Change-Id: I57d868eb596f5067690fbfdb9c546dcbdbaf5be2
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/InputBox from branch 'REL1_31' to dfec2613ddd6b2bfc6cf291be74429b5bfebea89 - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit 4d4aefd2f24e9e8e996e3fba29df3f5cae60c7b7)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | | | | * Update extensions/InputBox from branch 'REL1_31' to 0fdeec73bd212f4409bfbdfcfc1aa977694d3c43 - Fix a phan-taint-check false positive phan-taint-check gets confused when you escape a variable and assign the escaped version to the same name as the unescaped version. Change-Id: I1bf4d64e68bff516b5f8b6266d85f67020008433 (cherry picked from commit 252fed5d27cc67701c7fbf98370e4af0d50fcb38)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/CodeEditor from branch 'REL1_31' to 886d7971ae1b04edc463bc7e11d7f5d282ae4f10 - Add phan-taint-check as version 1.2.0 Bug: T193909 Change-Id: Ibbfa1554ed1fe4dcaba2629abf608b59a2dd2733 (cherry picked from commit e9df595a2670e967fd5005b87fa401287cc18a48)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/CiteThisPage from branch 'REL1_31' to f224f44304637e739ac470f7fca25498486cb0fe - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit 860ece0d63309b077d605526790e198907bbd185)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | * Update extensions/ParserFunctions from branch 'REL1_31' to 7ec426b9a1d5fabfa8ba79e08806c5b3f796837a - Update phan-taint-check version 1.1.0 -> 1.2.0 Change-Id: Ib3eec1e70d8c1e4fdcfe811168adff7e32878d3b (cherry picked from commit b67b90c6a4918396c221c7154a827495d3d6d942)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/Interwiki from branch 'REL1_31' to b78d2d1d83f403241a5c882c62fcb5019fdcf5a2 - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit 14279ac1774db1d9585cf1b97074de359194556d)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/Gadgets from branch 'REL1_31' to bac29aee151272c14b0675af2f4c273dc3139a1b - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit ee633a273bda1f16a63897c6adfe4f6baa889347)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/ImageMap from branch 'REL1_31' to 6ca1ad79b0afb0d7b80f4ffccd844cc557e22db9 - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit 08909bdffa0ab08f5fa5bbeec79555ca898dcdab)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/LocalisationUpdate from branch 'REL1_31' to 0249f52dca6b034edc249894efdc849e161eb925 - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit d9ed872a2adec76915b0e86c2fd3d84bc9309e0a)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/ConfirmEdit from branch 'REL1_31' to b52469cf5716165dcf55e0db103d45af045b2acc - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit 544f0712f04bc790782541fdc63cae34976ede4b)
* Update git submodulesBrian Wolff2018-05-051-0/+0
| | | | | | | | | | * Update extensions/OATHAuth from branch 'REL1_31' to cf9f8c126b5213b77fb4dc7b7f49d775c8189119 - Bump phan-taint-check 1.1.0->1.2.0 Bug: T193909 Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df (cherry picked from commit 19c9b40836b40cb2d82e8be957e0c615eaae20c8)
* RELEASE-NOTES-1.31: Synchronise with masterJforrester2018-05-031-20/+23
| | | | | | | | | | Patches: * 0e757428d RELEASE-NOTES-1.31: Add notes for Ia76dd6db3 * 0b7d183e2 RELEASE-NOTES-1.31: Add notes for I8228cdd3b * 360fac542 RELEASE-NOTES-1.31: Add notes for I94377faa5 * b4674e56a RELEASE-NOTES-1.31: More cleanup Change-Id: I78d01cd1616c4ec9cdc3f7b798d52cfbf7ba46ad
* Drop archive.ar_text and ar_flagsBrad Jorsch2018-05-0326-126/+147
| | | | | | | | | | | This should have been done long ago. Now it is being done. This also changes ar_text_id to NOT NULL, since it should never be null anymore, and DEFAULT 0 in preparation for MCR stopping writing it. Bug: T33223 Change-Id: I18f1c740b7537c7dc3cfeba9b241d0a9f31caa34 (cherry picked from commit 21c6ae1163b07da7ac49938f50613c0e1cf262c3)
* RELEASE-NOTES-1.31: Wrap to 80 chars and fix upJforrester2018-05-021-122/+139
| | | | Change-Id: I0a090a3ac057021ac2e3544f5e05b2fadd0b9155
* Fix MySQLism in populateRevisionLength.php1.31.0-rc.0Brad Jorsch2018-05-011-1/+1
| | | | | | | | Use addQuotes() to make a quoted string instead of MySQL's nonstandard use of double-quotes. Change-Id: Ie2d017a33b694417a3db140b2798a8d55f911985 (cherry picked from commit 5e6efe18d01f64f2c9a0a8bcb213ffe30999530f)
* Make populateRevisionLength fix rows with ar_len = 0.daniel2018-05-011-2/+10
| | | | | | | | | | | | Due to T192189, some rows in the archive table may have ar_len set to 0 erronously. This can be detected by checking if they have ar_sha1 set to "phoiac9h4m842xq45sp7s6u21eteeq1", which is the hash of the empty string. This patch makes populateRevisionLength.php detect and fix such rows. Bug: T192189 Change-Id: I9b6cd62f4b8c5bf93cd305b56af4352a527e19c9 (cherry picked from commit e420790f5200568422dce9473ef44d4f7cefe675)
* Update git submodulesKunal Mehta2018-04-281-0/+0
| | | | | | | | | * Update extensions/CodeEditor from branch 'REL1_31' to 422d0186bd4f5f5653683b8cb79c0f7cb6fe2a92 - Mention Ace license in "license-name" Change-Id: Ibbfa1554ed1fe4dcaba2629abf608b59a2dd279a (cherry picked from commit 99a38b36a316fed4c4fdbc6ecf688d0fd442606f)
* Update wikimedia/html-formatter from 1.0.1 to 1.0.2Reedy2018-04-282-1/+2
| | | | | | | | | | https://github.com/wikimedia/html-formatter/releases/tag/1.0.2 https://github.com/wikimedia/html-formatter/compare/1.0.1...1.0.2 Bug: T193318 Change-Id: I5f7a3e2300f343f675124df399cfe12909f56e14 Depends-On: Ia69102af64a0102e05b96b10f63ffcf6cbf292fa (cherry picked from commit b5088a20c96b2a1be15850a72e637f384b231606)
* Update git submodulesBrion Vibber2018-04-271-0/+0
| | | | | | | | | | | | | | | | | | | | * Update extensions/PdfHandler from branch 'REL1_31' to ab596dbb7dc3f162c2772832456a1ad4e6266608 - Fix for pdfinfo changes in poppler-utils 0.48 PDF metadata querying was done with pdfinfo's "-meta" and "-l" options at the same time, which was supported in poppler 0.26 but not in poppler 0.48. Upstream change: https://bugs.freedesktop.org/show_bug.cgi?id=96801 Local change is to run the two as separate commands, then send the output together into the existing processing. Should work with older poppler-utils on Jessie as well as current one on Stretch. Bug: T117839 Bug: T193200 Change-Id: Ib4ee9cf12ac04304c576087727eff5dc521ae751
* Merge "import: Don't try duplicate detection when the sha1 is unavailable" ↵jenkins-bot2018-04-261-10/+12
|\ | | | | | | into REL1_31
| * import: Don't try duplicate detection when the sha1 is unavailableBrad Jorsch2018-04-261-10/+12
| | | | | | | | | | | | | | | | | | Trying to compare a string field with 0 (cast from false) raises an error in PostgreSQL, and we're expecting it to not detect duplicates in that situation anyway. Change-Id: Ibff6daee6bbec00e37532e03c9ece041ba612de0 (cherry picked from commit f09d66de2ab88e3ed39fc21b3805cea90eee5bfe)
* | mail: Always quote uncoded names in MailAddressAlexia E. Smith2018-04-262-8/+14
|/ | | | | | | | | | | | | | | | | | | | | | Otherwise, names that contain whitespace (but no special characters that need Q-encoding) will be sent as-is in an email header. While that's valid by RFC 1036, RFC 5322 and others, some mail programs fail to correctly process spaces. Avoid these problems by simply quoting the name always - except for cases which are Q-encoded, which must remain unquoted to be valid (and also cannot contain spaces, thus unaffected). Before: > From: Foo Bar <fb@example.org> After: > From "Foo Bar" <fb@example.org> Update test to work with the new criteria. Bug: T191931 Change-Id: I4b2a0a80e8b43ecc943939fc5ebaa356a4f840e0 (cherry picked from commit 2b28a56d8ac9a2393924a0b201cc39bd86fc4d15)
* PHPVersionCheck: Properly check for `xml` extension in PHP 7.2+Kunal Mehta2018-04-251-1/+1
| | | | | | | | | In 7.2, the `utf8_encode` function was moved into core PHP, and is no longer a part of the `xml` extension. Use a different function to check for the existence of it. Change-Id: Ib50c1a59dd9c2a8777b07b2f7a3dd638a55832c6 (cherry picked from commit 9e5785b7204e6a927e7f60ce4cbdeedad8f45818)
* Fix handling of ar_length and ar_sha1 in RevisionArchiveRecord.daniel2018-04-247-498/+920
| | | | | | | | | | | | This makes sure that length and hash are calculated if not known. This patch also adds missing unit tests for RevisionArchiveRecord, and consolidates unit tests for the different RevisionRecord subclasses using a trait. Bug: T192189 Change-Id: I5e1d17ba96e61e068b6aa5ac9c45ac0f657905a6 (cherry picked from commit 040d5b25525a9a9c8fd27d8dca7fe1b7452cf05b)