Allows to set various hidden fields from a single method call;
can be used with:
$form->addHiddenFields( $context->getRequest()->getValues( /* field list */ ) );
Change-Id: I864584e5889297bb680808163f48795bab8f7afb
Intended for situations where current user can't technically access the
site over a secure connection, e.g. due to a terribly obsolete browser or
WP Zero carrier that provides only insecure free access to the site.
Change-Id: I343985092c49a21fa347ca4dc0e5ec27774ad11d
This patch takes Tim's advice to amend the doc block for $wgHooks with an
admonition to register hook handlers early. (This was after it was determined
that late registration of a CanonicalNamespace handler was responsible for bug
45031). Since I was already here, I also documented the use of closures with
$wgHooks, fulfilling a @TODO.
Change-Id: Id16148dbfbcc89e0365860e078e089ae541ba08f
This ensures that the direction of the notice about the intermediate
versions is in the user language's direction.
Bug: 52321
Change-Id: I1ef8b85dc7a2f6e4a7e6be055ed0f962d5532c7f
Removed the wpStickHTTPS checkbox from the login form, and instead
just use the user's preferences along with whether they came from
HTTPS or not to determine if they should stay in HTTPS.
Bug: 29898
Bug: 52283
Change-Id: I69e9cb23b8d700e821b8a961c672958e4e19e4f8
Inform upstream caches when a file asset is deleted by calling
SquidUpdate::purge(). This helps prevent unintentional information leakage in
the event that the asset is being deleted for reasons of license or content.
Bug: 51064
Change-Id: Ibf57e8f32d7dd04b8508a69706be5a40b49e5abd
* monthonly - happens to be the same as in English, but nonetheless
copied explictly to avoid confusion in the future, as it's the only
one to use the nominative form of month name instead of genitive
* pretty - needs to use genitive month name instead of nominative;
same for dmy, mdy and ymd variants, as any form with different order
would be gramatically awkward
I am a native Polish speaker.
Change-Id: Ic253f590b0a60196cf3d98ce8785b151bb576946
Return a message when password has been successfully changed.
Give a successbox to the message which is the same as it for
saving preference.
Bug: 47399
Change-Id: I255c53d82cf0a58ee9ff1c0c939854e7392872e5
Summary preview of section=new shows expand templates.
Using the summary text as raw param avoids this.
Other usages of 'newsectionsummary' do it the same way.
Bug: 40453
Change-Id: I1fd3adfc64c664dfd490c11bfe60924fa215875c
Follow-up to clarify 6e83874748 , fix an
older inaccurate comment, and fix a docblock copy-and-paste error.
Change-Id: I14e4ff2a5c3e61d7a9a27428953f1579d9d8436b
Previously, the msg method was not taking into account any
changes to the context, and was just using the original context.
For example, if you had a DerivativeContext object, where the
original context had a language of en, and then you did
$derivContext->setLanguage( 'fr' );, $derivContext->msg( 'foo' )
was still outputting stuff in english instead of french.
Change-Id: I4a87e0e2664e77bf79a80c873db384e0c3f607e7
Throttle time will be enough to give an idea of the time to wait.
The actual time seems to be the time since the first of the last n
attempts in time t as per $wgPasswordAttemptThrottle, but it does not
seem too bad if the user gets a new full pool of allowed attempts.
Bug: 46965
Change-Id: Id385be840f340476fbe7a818ff1d05154fe86d68
Now with the introduction of page language, a site can have pages
in all languages, and different languages have different variants.
This patch allows users to set preferred variants for every page
they may see on the site.
Change-Id: Ie7e82bee0b1f8f902b38bb4a464cf0ebc4df4d89