Some of the important files for the antivirus plugintype are described below. See the [common plugin files](../commonfiles) documentation for details of other files which may be useful in your plugin.
@@ -80,7 +84,6 @@ if ($ADMIN->fulltree) {
example={settingsExample}
/>
-
### lang/en/antivirus_scanmyfile.php
export const langExample = `
diff --git a/docs/apis/plugintypes/mod/_files/index-php.mdx b/docs/apis/plugintypes/mod/_files/index-php.mdx
index d6e479d814..1ab22546c9 100644
--- a/docs/apis/plugintypes/mod/_files/index-php.mdx
+++ b/docs/apis/plugintypes/mod/_files/index-php.mdx
@@ -1 +1,2 @@
+
The `index.php` should be used to list all instances of an activity that the current user has access to in the specified course.
diff --git a/docs/apis/plugintypes/mod/_files/mod_form-php.mdx b/docs/apis/plugintypes/mod/_files/mod_form-php.mdx
index b69962ec26..c2bdec2fd8 100644
--- a/docs/apis/plugintypes/mod/_files/mod_form-php.mdx
+++ b/docs/apis/plugintypes/mod/_files/mod_form-php.mdx
@@ -1,3 +1,4 @@
+
This file is used when adding/editing a module to a course. It contains the elements that will be displayed on the form responsible for creating/installing an instance of your module. The class in the file should be called `mod_[modname]_mod_form`.
:::warning
diff --git a/docs/apis/plugintypes/mod/_files/view-php.mdx b/docs/apis/plugintypes/mod/_files/view-php.mdx
index 84e411ee94..96567c5f4a 100644
--- a/docs/apis/plugintypes/mod/_files/view-php.mdx
+++ b/docs/apis/plugintypes/mod/_files/view-php.mdx
@@ -1 +1,2 @@
+
Moodle will automatically generate links to view the activity using the `/view.php` page and passing in an `id` value. The `id` passed is the course module ID, which can be used to fetch all remaining data for the activity instance.
diff --git a/docs/apis/plugintypes/mod/index.mdx b/docs/apis/plugintypes/mod/index.mdx
index 7eebb7f3ed..b473a7844d 100644
--- a/docs/apis/plugintypes/mod/index.mdx
+++ b/docs/apis/plugintypes/mod/index.mdx
@@ -187,7 +187,7 @@ Granting the view capability to archetypes like `guest` does not allow any user
:::
-For further information on what each attribute in that capabilities array means visit [[NEWMODULE_Adding_capabilities]].
+For further information on what each attribute in that capabilities array means visit [NEWMODULE Adding capabilities](https://docs.moodle.org/dev/NEWMODULE_Adding_capabilities).
}
@@ -250,7 +250,7 @@ also _required_:
extraDescription={
-See the [[NEWMODULE Documentation#lib.php]] for details on the list of the functions which can be specified in `lib.php`.
+See the [NEWMODULE Documentation#lib.php](https://docs.moodle.org/dev/NEWMODULE_Documentation#lib.php) for details on the list of the functions which can be specified in `lib.php`.
For an Activity, you _must_ define the following three functions, which are described below:
@@ -295,4 +295,4 @@ The `lib.php` file is one of the older parts of Moodle and functionality is grad
## See also
-- [[NEWMODULE_Documentation]]
+- [NEWMODULE Documentation](https://docs.moodle.org/dev/NEWMODULE_Documentation)
diff --git a/general/projects/api/amos.md b/general/projects/api/amos.md
index 7a6faa7dab..b084584583 100644
--- a/general/projects/api/amos.md
+++ b/general/projects/api/amos.md
@@ -146,7 +146,7 @@ AMOS BEGIN
AMOS END
```
-In this example, there are three instuctions to be done. The line with `MOV` ('move') command instructs AMOS to rename the string 'description' defined in workshop to the new identifier 'intro'. The second command `CPY` ('copy') orders to create new string in the workshop module with the identifier 'submission' and the value of that string shall be taken from the `$string[['submission']` in the module assignment. If such string already exists in any language, `CPY` will not replace it. The third command is used for migrating legacy HTML help files into ordinary strings. It tells AMOS to add `new $string['forumtype_hlp']` in every language, using the content of the help file `forum/forumtype.html` as the initial value.
+In this example, there are three instuctions to be done. The line with `MOV` ('move') command instructs AMOS to rename the string 'description' defined in workshop to the new identifier 'intro'. The second command `CPY` ('copy') orders to create new string in the workshop module with the identifier 'submission' and the value of that string shall be taken from the `$string['submission']` in the module assignment. If such string already exists in any language, `CPY` will not replace it. The third command is used for migrating legacy HTML help files into ordinary strings. It tells AMOS to add `new $string['forumtype_hlp']` in every language, using the content of the help file `forum/forumtype.html` as the initial value.
The script syntax is defined as follows. Note that amosbler keywords are case sensitive so must be upper-case. In pseudo-regexp, the valid AMOS script is defined as:
diff --git a/package.json b/package.json
index 5511ffa74d..9a3bb4261d 100644
--- a/package.json
+++ b/package.json
@@ -19,10 +19,14 @@
"mdlint-all": "markdownlint-cli2 '{docs,general}/**/*.md' '*.md'",
"mdfix": "markdownlint-cli2-fix",
"mdfix-all": "markdownlint-cli2-fix '{docs,general}/**/*.md' '*.md'",
+ "mdxlint": "markdownlint-cli2-config .markdownlint/mdx/.markdownlint-cli2.cjs",
+ "mdxlint-all": "markdownlint-cli2-config .markdownlint/mdx/.markdownlint-cli2.cjs '{docs,general}/**/*.mdx' '*.mdx'",
+ "mdxfix": "markdownlint-cli2-config .markdownlint/mdx/fix/.markdownlint-cli2.cjs",
+ "mdxfix-all": "markdownlint-cli2-config .markdownlint/mdx/fix/.markdownlint-cli2.cjs '{docs,general}/**/*.mdx' '*.mdx'",
"migrate": "scripts/wikimedia-fetch.js migrate",
"lint": "yarn mdlint-all",
"prepare": "husky install",
- "spell": "cspell '*.md' '**/*.md' 'docs/*.md' 'docs/**/*.md' 'general/*.md' 'general/**/*.md'"
+ "spell": "cspell '*.md' '*.mdx' '**/*.md' '**/*.mdx' 'docs/*.md' 'docs/*.mdx' 'docs/**/*.md' 'docs/**/*.mdx' 'general/*.md' 'general/*.mdx' 'general/**/*.md' 'general/**/*.mdx'"
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^0.10.0",
diff --git a/project-words.txt b/project-words.txt
index 9d90c8bd0b..8fe2842b69 100644
--- a/project-words.txt
+++ b/project-words.txt
@@ -129,6 +129,7 @@ lable
langindex
lastaccess
lastruntime
+locallib
loglevel
mainmenu
manageentries
@@ -185,6 +186,7 @@ protectusernames
qeupgradehelper
quizaccess
randomsamatch
+renamedclasses
returntype
riskbitmask
ruleset
@@ -209,6 +211,7 @@ tasklogs
temptables
themers
thirdparty
+thirdpartylibs
tinymce
todos
toggleall
@@ -232,3 +235,4 @@ workshopform
wwwroot
xcodeproj
xcworkspace
+xmldb