Jforrester has uploaded a new change for review.

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

Change subject: registration: Explain skipFunction more succinctly
......................................................................

registration: Explain skipFunction more succinctly

Don't use the RL documentation for skipFunction which is wordy and
not helpful, to be in keeping with the rest of this file.

Change-Id: Ic72672be94537176a9aa0a138052137c9715f7cf
---
M docs/extension.schema.json
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/docs/extension.schema.json b/docs/extension.schema.json
index 370e18e..ab0ac24 100644
--- a/docs/extension.schema.json
+++ b/docs/extension.schema.json
@@ -324,7 +324,7 @@
                                                                },
                                                                "skipFunction": 
{
                                                                        "type": 
"string",
-                                                                       
"description": "Modules that provide fallback functionality can provide a 
\"skip function\". This function, if provided, will be passed along to the 
module registry on the client. When this module is loaded (either directly or 
as a dependency of another module), then this function is executed first. If 
the function returns true, the module will instantly be considered \"ready\" 
without requesting the associated module resources. The value returned here 
must be valid javascript for execution in a private function. It must not 
contain the \"function () {\" and \"}\" wrapper though."
+                                                                       
"description": "Path to a file containing a JavaScript \"skip function\", if 
desired."
                                                                },
                                                                "scripts": {
                                                                        "type": 
["string", "array"],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic72672be94537176a9aa0a138052137c9715f7cf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jforrester <jforres...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to