14 const ID =
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
17 return new SessionInfo( SessionInfo::MIN_PRIORITY, [
21 'userInfo' => UserInfo::newAnonymous(),
26 return new SessionInfo( SessionInfo::MIN_PRIORITY, [
31 'userInfo' => UserInfo::newAnonymous(),
57 return $request->getCookie(
'UserName' );
preventImmutableSessionsForUser( $user)
persistsSessionId()
Indicate whether self::persistSession() can save arbitrary session IDs.
persistSession(SessionBackend $session, WebRequest $request)
Persist a session into a request/response.
newSessionInfo( $id=null)
Provide session info for a new, empty session.
provideSessionInfo(WebRequest $request)
Provide session info for a request.
canChangeUser()
Indicate whether the user associated with the request can be changed.
suggestLoginUsername(WebRequest $request)
Get a suggested username for the login form.
unpersistSession(WebRequest $request)
Remove any persisted session from a request/response.
immutableSessionCouldExistForUser( $user)
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on $request