diff --git a/dev/documentation/en/architecture-authentication.md b/dev/documentation/en/architecture-authentication.md index d00938bc3a52..f5c8b0cca942 100644 --- a/dev/documentation/en/architecture-authentication.md +++ b/dev/documentation/en/architecture-authentication.md @@ -29,7 +29,7 @@ CSRF tokens must be sent with all `POST`, `PUT` or `DELETE` requests to prevent $csrfToken = $request->getSession()->getCSRFToken(); ``` -CSRF tokens are not required for requests to the API when the [API Token](/dev/api/#api-token) is used. +CSRF tokens are not required for requests to the API when the [API Token](/dev/api/ojs/3.4#tag/Authentication/API-Token) is used. ### Page Routes @@ -72,7 +72,7 @@ API Handlers automatically check the CSRF token for all `POST`, `PUT` or `DELETE ## UI Library -A CSRF token is available as a global variable when working with the UI Library. Learn more about using the [CSRF Token](/dev/ui-library/dev/#/pages/csrf) in ajax requests. +A CSRF token is available as a global variable when working with the UI Library. Learn more about using the [CSRF Token](/dev/ui-library/dev/#/pages/api#csrf-token) in ajax requests. ## User Session The user's session stores a logged-in user's IP address, last-used date/time and more. You can access the current user's session directly. @@ -92,4 +92,4 @@ The [Handlers](./architecture-handlers) should perform any authentication and au --- -Now that we know who the user is, learn [how we authorize their access to different operations](./architecture-authorization). \ No newline at end of file +Now that we know who the user is, learn [how we authorize their access to different operations](./architecture-authorization). diff --git a/dev/documentation/en/architecture-database.md b/dev/documentation/en/architecture-database.md index d3d8b6a77474..44f5b8f6e62d 100644 --- a/dev/documentation/en/architecture-database.md +++ b/dev/documentation/en/architecture-database.md @@ -48,7 +48,7 @@ mysql> select * from journal_settings where journal_id=1 and setting_name='keywo +------------+--------+--------------+---------------+--------------+ ``` -Properties in an entity's [schema](./architecture-entities#schemas) that are an array or object are serialized to JSON when they are stored in the settings table. +Properties in an entity's [schema](./architecture-entities#schema) that are an array or object are serialized to JSON when they are stored in the settings table. ``` mysql> select * from journal_settings where journal_id=1 and setting_name='supportedLocales'; diff --git a/dev/documentation/en/architecture-routes.md b/dev/documentation/en/architecture-routes.md index 6a19a80e33c3..a5811f8dc46d 100644 --- a/dev/documentation/en/architecture-routes.md +++ b/dev/documentation/en/architecture-routes.md @@ -58,7 +58,7 @@ The router will **not** find a file at `/lib/pkp/api/v1/submissions/index.php`. ## Controller Routes -The diagram below shows a URL for a [Controller Handler](architecture-handlers#controller-handlers). +The diagram below shows a URL for a [Controller Handler](architecture-handlers#controller-handlers-deprecated). ![Diagram indicating the parts of a URL for Controller Handlers](../img/url-route-controller.png) diff --git a/dev/documentation/en/frontend-controllers.md b/dev/documentation/en/frontend-controllers.md index 0449a9acde37..9c771c8f661d 100644 --- a/dev/documentation/en/frontend-controllers.md +++ b/dev/documentation/en/frontend-controllers.md @@ -130,7 +130,7 @@ class PKPReviewerGridHandler extends GridHandler } ``` -Finally, the grid must define a `loadData` method that gets the items to be displayed. It should return an `array` of [DataObjects](./architecture-entities#dataobject-class). +Finally, the grid must define a `loadData` method that gets the items to be displayed. It should return an `array` of [DataObjects](./architecture-entities#dataobject). ```php use APP\core\Request; @@ -357,7 +357,7 @@ Every action created by the grid handler or the grid row will require an operati Most controllers are used to display a `Form`, which displays the form, receives the form submission, validates the input, and executes the changes. -> The forms described here are used by Controllers which have been deprecated. Use the forms in the [UI Library](./frontend-components#forms) when building forms for new features. +> The forms described here are used by Controllers which have been deprecated. Use the forms in the [UI Library](/dev/ui-library/3.4/#/component/Form) when building forms for new features. {:.warning} Every form extends the `Form` class. Define the template to use to render the form and add validation checks in the constructor method. diff --git a/dev/documentation/en/utilities-translation.md b/dev/documentation/en/utilities-translation.md index 37d6f271eacb..f3368e774cf1 100644 --- a/dev/documentation/en/utilities-translation.md +++ b/dev/documentation/en/utilities-translation.md @@ -8,7 +8,7 @@ title: Translation - Technical Documentation - OJS|OMP|OPS PKP's applications support multilingual publishing. This means the application can be translated into any language. It also means that each journal, press or preprint server can publish material in more than one language. This chapter will describe how to use translations and work with multilingual data. -> This guide describes how to work with translations when coding for PKP applications. Visit the [translating guide](./translating) to create or edit a translation of PKP software. +> This guide describes how to work with translations when coding for PKP applications. Visit the [translating guide](/translating-guide/) to create or edit a translation of PKP software. {:.notice} ## Translations @@ -132,7 +132,7 @@ msgstr[2] "%d Komentarzy" A journal, press or preprint server may publish in more than one language. For that reason, all data objects and forms must accept content in more than one language. -> The Entities chapter describes how to [get multilingual data in the DataObject class](/dev/documentation/en/architecture-entities#dataobject-class) and how to [define multilingual properties in the schema](/dev/documentation/en/architecture-entities#multilingual). +> The Entities chapter describes how to [get multilingual data in the DataObject class](/dev/documentation/en/architecture-entities#dataobject) and how to [define multilingual properties in the schema](/dev/documentation/en/architecture-entities#schema). {:.notice} Each journal, press, or preprint server can enable a locale in the UI, forms and submissions.