| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I4b171bedf3a9ef1df7bd11f86c5d7404bd695929
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These .htaccess files are intended to prohibit all web access. But if
the user sets "Satisfy Any" on a parent directory, in conjunction with
any permissive require directive like "Require all granted", access will
be allowed despite "Require all denied" in .htaccess.
So, override Satisfy so that the "Require all denied" will reliably take
effect.
Note that "Satisfy All" is the default. This only affects non-default
installations.
Change-Id: Ia5862fb69e439b7ea2ed7af011e1ebf8f1b1f6d6
|
|/
|
|
| |
Change-Id: I030398e0ef3a20be9a0d500b051e2a3d88ecc01f
|
|
|
|
| |
Change-Id: I94adc67717ac66fc655866f4b8d93bcb758eaace
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I328e7691cf620ddc9520670826a928a291e0dfe9
|
|/
|
|
| |
Change-Id: I2f499c75ce82bd4bb8697b6a950017f0309b2427
|
|
|
|
| |
Change-Id: I617c9421a2991a74f1d7aa3cbe05962e36c99de2
|
|
|
|
| |
Change-Id: Ie5ca65e941487bdd0b16a0e1f840a1b642a0d942
|
|
|
|
|
|
|
|
|
| |
In MediaWiki/Exception, to follow PSR-4 per plural vs. singular (this can be
changed later if people really care). Also, move the couple of exceptions in
here that were already namespaced in the MW-top-level into the new space.
Bug: T353458
Change-Id: I12ed850ae99effb699a6d7ada173f54e72f0570e
|
|
|
|
|
|
|
|
| |
Require SQLite 3.24+, released June 2018. Minimum distro releases:
Debian 10 (buster), Ubuntu 20.04, Fedora 29.
Bug: T389028
Change-Id: I1f548ee162921fa8398740e4b0528703c84bcaa3
|
|
|
|
| |
Change-Id: I9678e4aeed545b40b188ec582f452418d819a70e
|
|
|
|
| |
Change-Id: Id4dce6a1b6c111698a71e5531db33d1f47568e0c
|
|
|
|
| |
Change-Id: Ib9eb4ac69ff3c7361d7873873b02595521a4ddd6
|
|
|
|
| |
Change-Id: Id5b0ff9140433136acad22cf4def5740b583088b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add a box to the name page allowing $wgServer to be reviewed and
customised.
* Stay on the default server for LocalSettings.php download. Just use
the customised URL for the "enter your wiki" link. For the Refresh
header, use a relative URL, since that is safer.
It is a footgun. Ideally there would be client-side validation by
fetching a URL. For now, using a relative URL for the LocalSettings
download means you can fix LocalSettings by editing it.
Also add a little bit of padding between the textbox and the following
label so that the grouping is more clear. Remove the <br> from the
DBConnect page, otherwise there was excessive whitespace in combination
with the new padding.
Bug: T2061
Bug: T64950
Change-Id: I23951ac40faeae9447a2feb2bf5861f0bb81f664
|
|
|
|
| |
Change-Id: Ice1b0bef4d9a0162fcd513410aa31d73deb1ec63
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Web upgrade was the sole remaining caller of restoreServices(), a method
which I accidentally broke. You can't just run RestoredServicesProvider
and expect that to work, it has dependencies.
The order of operations was also backwards. You need to load extensions
before you can reset services, because you need virtual domains from the
extension.json files.
So:
* Port web upgrade to the task framework.
* Move the web upgrade part of DatabaseUpdater::loadExtensions() to
WebUpgradeExtensionsProvider.
* Move the DatabaseUpdater::doUpdates() call from
WebInstaller::doUpgrade() to WebUpgradeTask.
* Have WebInstaller::doUpgrade() run the two new tasks with
RestoredServicesProvider in the middle.
Only default virtual domains are used, not remote mappings; this appears
to be a pre-existing issue.
Bug: T386661
Change-Id: I324fce53d2460b70428115d2b02a31248cc7226e
|
|/
|
|
|
|
|
|
| |
Followup to I139036b265716e9898fb76ba907c194f005ea318. If the data
directory exists and is not writable, raise an error.
Bug: T385122
Change-Id: I9013490f4d57d36ba64d643268718a3fd6f61ff6
|
|
|
|
| |
Change-Id: I357515aef92ea5e98a578a1610113e61785e583a
|
|
|
|
| |
Change-Id: I69472adef5c1d04c7c28679f7c48371f07372f94
|
|
|
|
| |
Change-Id: Id3e5ba20513bcad9b6325503116e35381c3cc6f6
|
|
|
|
| |
Change-Id: I34fd825cb958633503af513192f60721721ec5e8
|
|
|
|
| |
Change-Id: Id17dc2a8d468370ee5398586783103c0df0e6bf5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* The `<div>` for the download icon was once upon a time styled
in an elaborate way, but all this has slowly lost to redesigns.
It is now a useless wrapper for an otherwise plain external link,
so let's make it just that.
Bug: T384524
Change-Id: I433e381eb1f388584e36bbfd2b40665b61ec22eb
|
|\| |
|
| |
| |
| |
| |
| | |
Bug: T384524
Change-Id: I688e310ab08d4fb83d5dc47bd1fa79617cead9d3
|
|/
|
|
| |
Change-Id: If5c6fb2b3f5a1d6b8d42268305018ff56ea2ed29
|
|
|
|
| |
Change-Id: Ia72373ae6cfd072f3cc9dd2158d620aaaab760f1
|
|
|
|
| |
Change-Id: Ib3a6f4867ed8c51f1e252cd59a8d5bcd21200efa
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix getInfoBox to not be a warning box, but an information notice
like it is intended to be.
* Update getInfoBox() to use codex class names, same as showMessage().
* Update getInfoBox() to bold the "Information" title, as per Codex
examples and guidelines, e.g.
https://doc.wikimedia.org/codex/latest/components/demos/message.html#multiline
* Remove infoBox() utility, it was used only once, in getInfoBox().
The `mw-installer-box-*`, `mw-installer-infobox-*` CSS classes
are also unusd now, however there is nothing to remove because
these were already removed in a previous refactor.
* Introduce showWarning(), and apply it to showMessage() calls that
convey non-fatal issues.
Bug: T384524
Change-Id: I6722346ef81a0a9cf8983153271be579905c7898
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use modern php syntax to call a callable.
Reduce the stack trace to improve performance
and better IDE and static analyzer support
Change-Id: I9ef131032a662a3b8db69aa7079dbd51f88f575a
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
No longer used. see T343492
Bug: T379661
Change-Id: I6b3d51995452f77b5da86b0cf32a23b12c7c669c
|
| | |
| | |
| | |
| | | |
Change-Id: Ieda8d483df6c85d6c766414f2e9602f94b9dc85e
|
| | |
| | |
| | |
| | | |
Change-Id: Ie305a422133d22a277a432462aa566dd3a876c9b
|
|/ /
| |
| |
| | |
Change-Id: I5495becb444413be27e0f2831adddaf5696834a3
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add $string === false or $string === null where $string can have other
types than a string.
Also document null as possible return value in FileRepo.
Change-Id: Iaa29ba01c3fd6bea506debdc6f929edfe881c808
|
|/ /
| |
| |
| | |
Change-Id: I95faeed1c284ede36d6e1ca21971a89aaaf79b08
|
| |
| |
| |
| | |
Change-Id: I9274d156a0d65de6eac9272e50e7db61c8351acd
|
|/
|
|
|
|
|
| |
To normalize cl_to and cl_collation
Bug: T299951
Change-Id: If58190f3cc912ffa99c623dc9f51d530d5c87186
|
|
|
|
| |
Change-Id: I9df0c21e9367e7feac1a17d25c2436051132f3d2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Same as Ia294bf4 did for 1-line comments. This patch removes slightly
more complex 2-line PHPDoc comments that don't add any new information
to the code, but literally repeat what the code already says.
They say "don't document the code, code the documentation", and we
are doing this more and more. We just tend to forget to remove the
obsolete comments.
Note I'm also removing a line of text in a few cases when it's very
short and literally says the same as the method name. Again, such
comments add zero new information.
Change-Id: I01535404bab458c6c47e48e5456403b7a64198ed
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I assume these are all either auto-generated by an IDE or the
language-level type declarations have been added later. In any case
the comments don't add any new information to what the code already
says. This is just extra clutter that makes the code harder to read,
I would argue.
There are many, many more comments like this. In this patch I
intentionally focus on the most trivial 1-line comments.
Change-Id: Ia294bf4ce0d8a77036842fe25884bc175c2b0e7d
|