Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/294096

Change subject: Fix docs/hooks.txt syntax for RequestHasSameOriginSecurity
......................................................................

Fix docs/hooks.txt syntax for RequestHasSameOriginSecurity

There is no place for a type before the variable name

Follows 9ec1ef7308acc0366e92f8e6af10ce3cb22b5065 (security patch not in gerrit)

Change-Id: I7c2718f8026c7163553b9135362e5de61a26c9f8
(cherry picked from commit e8b3024a2f5f29260ac733383bb46cd81be7916e)
---
M docs/hooks.txt
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/96/294096/1

diff --git a/docs/hooks.txt b/docs/hooks.txt
index 95f55b9..dc28562 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -2500,7 +2500,7 @@
 flagged to lack same-origin security. Return false to indicate the lack. Note
 if the "somehow" involves HTTP headers, you'll probably need to make sure
 the header is varied on.
-WebRequest $request: The request.
+$request: The WebRequest object.
 
 'ResetPasswordExpiration': Allow extensions to set a default password 
expiration
 $user: The user having their password expiration reset

-- 
To view, visit https://gerrit.wikimedia.org/r/294096
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c2718f8026c7163553b9135362e5de61a26c9f8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_27
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to