- Add getRightDescriptionHtml() to return HTML
the change handles cases where the message contains wikitext
- Use the new method getRightDescriptionHtml() in createBotPassword
Bug: T312819
Change-Id: If3b9bce2f02806572cc6cc1194a07cb7d5b8d6da
This patch updates several Settings classes within the includes/Settings
directory to use typed properties, thus simplifying the codebase by
removing explicit docblock annotations for class properties.
- DynamicDefaultValues.php: Convert $configSchema property to use
typed property syntax.
- LocalSettingsLoader.php: Apply typed property syntax to
$settingsBuilder and $baseDir.
- WikiFarmSettingsLoader.php: Switch $settingsBuilder to typed property.
Change-Id: Iec8ee9c91362d13f49dea65f314d5c1113a19306
999 edits isn't that many, even for a freshly created CI wiki.
Wikibase's e2e test suite started hitting this limit which causes
this test to fail.
Change-Id: I0aff1fcc648780201cb2ad14a1e27aafb3e90774
The array spread operator is documented to behave identical to
array_merge. The syntax is just much shorter and easier to read in
situations like this, in my opinion.
Change-Id: I3b016e896e552af53d87d5e72436dc4e29070ce1
If you try to do `composer update` using a git checkout of a Composer
branch, it fails because "@package_version@" is less than 2.0.0.
So in that case, use Composer::getVersion() which falls back to
Composer::SOURCE_VERSION. The method doesn't exist on very old versions
of Composer, so we can't use it unconditionally.
Change-Id: I53ea01c2f992499a25ba851bd8ed3593c9a13711
This patch optimizes the use of namespaces in the PHPSessionHandler.
It imports the `SessionHandlerInterface` and `PhpSessionSerializer`
classes
Change-Id: Iab4f000d315b75da95db3bc368ddcb0b8ac9312b
Refactored CsrfTokenSet by removing the doc comment for the `$request`
member variable and adding a type declaration directly in the property
definition.
Change-Id: I997ce2db44528fcf4599d71126551cb42cd9f9f6
In CookieSessionProvider, unnecessary namespace qualifiers for the
WebRequest parameter in method documentation have been removed,
making the documentation cleaner and more consistent. This change
applies to the getUserInfoFromCookies and getCookie methods.
Change-Id: Ib9f8cf22dda6015abf84df5203300534df63da15
Following-up to Idcfdee458301, the neutral colors should not feature
Wikimedia User-Interface colors as they are fallbacks for custom
MediaWiki skins outside of Wikimedia.
Change-Id: I4cbf2c6754f1ee75c7b976651c3234d3202af8d2
The collapsing of the legend on the changes list now works without
JavaScript. For storing the state in a cookie still JavaScript is used.
The HTML elements <details> and <summary> are supported by newer
browsers:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
Bug: T172618
Change-Id: I67d1e791dc99e25f8ef80920ec9a8420354f3412
Also make the error thrown by ConditionalHeaderUtil slightly more
obvious where the upstream content ends and the context starts.
Bug: T350852
Change-Id: Ia76c0974487f151c3ca37fba2c666143bd435843