29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-25 14:53:01 +00:00

[4.0] doc site links (#34762)

All links go the docs.joomla.org web site should use  `Special:MyLanguage` in the url as this enables the user to be automatically redirect to the correct language version of the linked page.

Code Review
This commit is contained in:
Brian Teeman 2021-07-12 17:11:27 +01:00 committed by GitHub
parent 4730efc243
commit 132a25057f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 19 additions and 19 deletions

View File

@ -28,13 +28,13 @@ Joomla is not installable out of the box from this repository, please use:
How to get a working installation from the source
---------------------
For detailed instructions please visit https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment
For detailed instructions please visit https://docs.joomla.org/Special:MyLanguage/J4.x:Setting_Up_Your_Local_Environment
You will need:
- PHP - basically the same as you need for running a Joomla Site, but you need the cli (command line interface) Version (see https://docs.joomla.org/Configuring_a_LAMPP_server_for_PHP_development)
- PHP - basically the same as you need for running a Joomla Site, but you need the cli (command line interface) Version (see https://docs.joomla.org/Special:MyLanguage/Configuring_a_LAMPP_server_for_PHP_development)
- Composer - for managing Joomla's PHP Dependencies. For help installing composer please read the documentation at https://getcomposer.org/doc/00-intro.md
- Node.js - for compiling Joomla's Javascript and SASS files. For help installing Node.js please follow the instructions available on https://nodejs.org/en/
- Git - for version management. Download from here https://git-scm.com/downloads (MacOS users can also use Brew and Linux users can use the built-in package manager, eg apt, yum, etc).
- Git - for version management. Download from here https://git-scm.com/downloads (MacOS users can also use Brew and Linux users can use the built-in package manager, eg apt, yum, etc).
**Steps to setup the local environment:**
- Clone the repository:

View File

@ -16,7 +16,7 @@ use Joomla\CMS\Session\Session;
$displayData = [
'textPrefix' => 'COM_INSTALLER',
'formURL' => 'index.php?option=com_installer&task=discover.refresh',
'helpURL' => 'https://docs.joomla.org/Help4.x:Extensions:_Discover',
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help4.x:Extensions:_Discover',
'icon' => 'icon-puzzle-piece install',
'createURL' => 'index.php?option=com_installer&task=discover.refresh&' . Session::getFormToken() . '=1',
'content' => Text::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'),

View File

@ -16,7 +16,7 @@ use Joomla\CMS\Session\Session;
$displayData = [
'textPrefix' => 'COM_INSTALLER',
'formURL' => 'index.php?option=com_installer&view=update',
'helpURL' => 'https://docs.joomla.org/Help4.x:Extensions:_Update',
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help4.x:Extensions:_Update',
'icon' => 'icon-puzzle-piece install',
];

View File

@ -13,7 +13,7 @@ use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
$displayData = [
'helpURL' => 'https://docs.joomla.org/Help4.x:Information:_Warnings',
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help4.x:Information:_Warnings',
'icon' => 'icon-puzzle-piece install',
'title' => Text::_('COM_INSTALLER_MSG_WARNINGS_NONE'),
'content' => '',

View File

@ -57,7 +57,7 @@ COM_ACTIONLOGS_OPTION_RANGE_PAST_YEAR="In the last year"
COM_ACTIONLOGS_OPTION_RANGE_POST_YEAR="More than a year ago"
COM_ACTIONLOGS_OPTION_RANGE_TODAY="Today"
COM_ACTIONLOGS_OPTIONS="Options"
COM_ACTIONLOGS_POSTINSTALL_BODY="<p>With the release of Joomla 3.9.0 you can now log all administrative actions performed by your users in supported extensions. It is now easy to see who did what and when they did it.</p><p>The logs can be reviewed in Joomla or exported for external use.</p><p>For further information on this new feature read the <a href='https://docs.joomla.org/J3.x:User_Action_Logs' target='_new'>User Action Logs documentation.</a></p>"
COM_ACTIONLOGS_POSTINSTALL_BODY="<p>With the release of Joomla 3.9.0 you can now log all administrative actions performed by your users in supported extensions. It is now easy to see who did what and when they did it.</p><p>The logs can be reviewed in Joomla or exported for external use.</p><p>For further information on this new feature read the <a href='https://docs.joomla.org/Special:MyLanguage/J3.x:User_Action_Logs' target='_new'>User Action Logs documentation.</a></p>"
COM_ACTIONLOGS_POSTINSTALL_TITLE="User Actions Can Now Be Logged"
COM_ACTIONLOGS_PURGE_CONFIRM="Are you sure want to delete all User Action logs?"
COM_ACTIONLOGS_PURGE_FAIL="Failed to delete all User Action logs."

View File

@ -175,7 +175,7 @@ COM_INSTALLER_MSG_UPDATESITES_REBUILD_SUCCESS="Update sites have been rebuilt fr
COM_INSTALLER_MSG_UPDATESITES_REBUILD_WARNING="Update sites have been rebuilt. No extension with updates sites discovered."
COM_INSTALLER_MSG_WARNING_NO_LANGUAGES_UPDATESERVER="The update table is not up to date. Please <a href=\"index.php?option=com_installer&view=updatesites\">rebuild your update server table</a>"
COM_INSTALLER_MSG_WARNINGFURTHERINFO="Further information on warnings"
COM_INSTALLER_MSG_WARNINGFURTHERINFODESC="For more information see the <a href=\"https://docs.joomla.org/Help4.x:Information:_Warnings\" target=\"_blank\" class=\"alert-link\">Joomla! Documentation Site</a>."
COM_INSTALLER_MSG_WARNINGFURTHERINFODESC="For more information see the <a href=\"https://docs.joomla.org/Special:MyLanguage/Help4.x:Information:_Warnings\" target=\"_blank\" class=\"alert-link\">Joomla! Documentation Site</a>."
COM_INSTALLER_MSG_WARNINGS_FILEUPLOADISDISABLEDDESC="File uploads are required to upload extensions with the installer."
COM_INSTALLER_MSG_WARNINGS_FILEUPLOADSDISABLED="File uploads disabled."
COM_INSTALLER_MSG_WARNINGS_JOOMLATMPNOTSET="The Joomla temporary folder is not set."

View File

@ -57,7 +57,7 @@ COM_JOOMLAUPDATE_VIEW_DEFAULT_DESCRIPTION_MISSING_TAG="Extensions marked with <s
COM_JOOMLAUPDATE_VIEW_DEFAULT_DESCRIPTION_UPDATE_REQUIRED="Extensions marked with <span class='badge bg-warning text-dark'>Yes (X.X.X)</span> might require an update."
COM_JOOMLAUPDATE_VIEW_DEFAULT_DIRECTIVE="Directive"
COM_JOOMLAUPDATE_VIEW_DEFAULT_DOWNLOAD_IN_PROGRESS="Downloading update file. Please wait ..."
COM_JOOMLAUPDATE_VIEW_DEFAULT_EXPLANATION_AND_LINK_TO_DOCS="The pre-update check provides you with information about the readiness of your server, settings and installed extensions for the update.<br>You can find more information about this page and how to prepare for updating Joomla in the <a class='pre-update-docs' href='https://docs.joomla.org/Pre-Update_Check' target='_blank' rel='noopener noreferrer'>pre-update check documentation</a>."
COM_JOOMLAUPDATE_VIEW_DEFAULT_EXPLANATION_AND_LINK_TO_DOCS="The pre-update check provides you with information about the readiness of your server, settings and installed extensions for the update.<br>You can find more information about this page and how to prepare for updating Joomla in the <a class='pre-update-docs' href='https://docs.joomla.org/Special:MyLanguage/Pre-Update_Check' target='_blank' rel='noopener noreferrer'>pre-update check documentation</a>."
COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_COMPATIBLE="Compatible"
COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_COMPATIBLE_WITH_JOOMLA_VERSION="Joomla %s Compatible Version"
COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_INSTALLED_VERSION="Installed Version"

View File

@ -131,7 +131,7 @@ COM_PRIVACY_NOTIFY_LABEL="Days To Consider Request Urgent"
COM_PRIVACY_N_CONSENTS_INVALIDATED="%s consents were invalidated."
COM_PRIVACY_N_CONSENTS_INVALIDATED_1="The consent was invalidated."
COM_PRIVACY_OPTION_LABEL="Options"
COM_PRIVACY_POSTINSTALL_BODY="<p>With the introduction of GDPR for EU citizens and similar regulations elsewhere in the world it may be necessary for you to request consent before storing any <strong>Personal Information</strong> of a user.</p><p>Joomla 3.9 introduces new capabilities to assist you in creating site privacy policies and collecting user consent. In addition a workflow is available to help you manage user information requests such as requests for removing their personal data from your site.</p><p>For further information on this new feature read the <a href='https://docs.joomla.org/J3.x:Privacy' target='_new'>Privacy documentation</a>.</p>"
COM_PRIVACY_POSTINSTALL_BODY="<p>With the introduction of GDPR for EU citizens and similar regulations elsewhere in the world it may be necessary for you to request consent before storing any <strong>Personal Information</strong> of a user.</p><p>Joomla 3.9 introduces new capabilities to assist you in creating site privacy policies and collecting user consent. In addition a workflow is available to help you manage user information requests such as requests for removing their personal data from your site.</p><p>For further information on this new feature read the <a href='https://docs.joomla.org/Special:MyLanguage/J3.x:Privacy' target='_new'>Privacy documentation</a>.</p>"
COM_PRIVACY_POSTINSTALL_TITLE="Increased Management Of Users Privacy"
COM_PRIVACY_REQUESTS_EMPTYSTATE_BUTTON_ADD="Add your first request"
COM_PRIVACY_REQUESTS_EMPTYSTATE_CONTENT="This screen displays all Privacy: Information Requests that have been received and their status. You can also create a new request here."

View File

@ -94,7 +94,7 @@ INSTL_DATABASE_PREFIX_MSG="The table prefix must start with a letter, optionally
INSTL_DATABASE_RESPONSE_ERROR="The installation process failed."
INSTL_DATABASE_TYPE_DESC="Select the database type."
INSTL_DATABASE_USER_DESC="Either a username you created or a username provided by your host."
INSTL_DATABASE_VALIDATION_ERROR="Check your database credentials, database type, database name or hostname. If you have MySQL 8 installed then please read this <a href=\"https://docs.joomla.org/Joomla_and_MySQL_8#Workaround_to_get_Joomla_working_with_MySQL_8\" target=\"_blank\" rel=\"noopener noreferrer\">wiki</a> for more information."
INSTL_DATABASE_VALIDATION_ERROR="Check your database credentials, database type, database name or hostname. If you have MySQL 8 installed then please read this <a href=\"https://docs.joomla.org/Special:MyLanguage/Joomla_and_MySQL_8#Workaround_to_get_Joomla_working_with_MySQL_8\" target=\"_blank\" rel=\"noopener noreferrer\">wiki</a> for more information."
INSTL_CONNECT_DB="Setup Database Connection"
INSTL_INSTALL_JOOMLA="Install Joomla"

View File

@ -95,7 +95,7 @@ INSTL_DATABASE_PREFIX_MSG="The table prefix must start with a letter, optionally
INSTL_DATABASE_RESPONSE_ERROR="The installation process failed."
INSTL_DATABASE_TYPE_DESC="Select the database type."
INSTL_DATABASE_USER_DESC="Either a username you created or a username provided by your host."
INSTL_DATABASE_VALIDATION_ERROR="Check your database credentials, database type, database name or hostname. If you have MySQL 8 installed then please read this <a href=\"https://docs.joomla.org/Joomla_and_MySQL_8#Workaround_to_get_Joomla_working_with_MySQL_8\" target=\"_blank\">wiki</a> for more information."
INSTL_DATABASE_VALIDATION_ERROR="Check your database credentials, database type, database name or hostname. If you have MySQL 8 installed then please read this <a href=\"https://docs.joomla.org/Special:MyLanguage/Joomla_and_MySQL_8#Workaround_to_get_Joomla_working_with_MySQL_8\" target=\"_blank\">wiki</a> for more information."
INSTL_CONNECT_DB="Setup Database Connection"
INSTL_INSTALL_JOOMLA="Install Joomla"

View File

@ -10,7 +10,7 @@ at the moment
Here are the steps that are needed to setup UI tests execution on `localhost`
#### Linux OS
1) Checkout the Project in your document root folder, and follow the [setup guide](https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment).
1) Checkout the Project in your document root folder, and follow the [setup guide](https://docs.joomla.org/Special:MyLanguage/J4.x:Setting_Up_Your_Local_Environment).
2) Navigate to `tests/Codeception` folder and edit configuration file `acceptance.suite.yml` file.
1) Within the JoomlaBrowser config section change `url` point it to your localhost url
2) update `database host` `database user` & `database password` as per your localhost installed DB,
@ -24,7 +24,7 @@ Here are the steps that are needed to setup UI tests execution on `localhost`
3) Run `./node_modules/.bin/selenium-standalone install` in project to install selenium-standalone server in localhost
4) Run `./node_modules/.bin/selenium-standalone start` and wait for the message `Selenium Started`
5) Run the following in project root: `libraries/vendor/bin/codecept run acceptance tests/Codeception/acceptance/install`
this will start Chrome in headless mode, to view the test execution in Chrome UI, remove `headless` from capabilities in configuration file
this will start Chrome in headless mode, to view the test execution in Chrome UI, remove `headless` from capabilities in configuration file
@ -36,17 +36,17 @@ These are the Joomla 4 API (webservices) tests. To run these tests on OSX you wi
### Installation
1) Checkout the Project in your document root folder, and follow the [setup guide}(https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment).
1) Checkout the Project in your document root folder, and follow the [setup guide}(https://docs.joomla.org/Special:MyLanguage/J4.x:Setting_Up_Your_Local_Environment).
2) Copy the file `tests/Codeception/api.suite.dist.yml` to `tests/Codeception/api.suite.yml`. Then edit the REST url in the new file to point it to your localhost url.
3) Edit the file configuration.php. Set `$secret` = `'tEstValue'` - see [drone-api-run.sh](https://github.com/joomla/joomla-cms/blob/d8930208814fb52c0871853cfd9298f70998fd1f/tests/Codeception/drone-api-run.sh#L59).
> Tests with authentication always use the super user credentials for now.
> Tests with authentication always use the super user credentials for now.
### Running
`libraries/vendor/bin/codecept run api`
You can also run the command with
You can also run the command with
- `--debug` to get some extended information.
- `--steps` to print step-by-step execution.

View File

@ -9,8 +9,8 @@ The unit tests are checking the specific PHP code of the Joomla framework with t
Javascript tests
==========
The javascript tests test the Joomla-specific Javascript code. For further information on the tests and on how to run them, please check out https://docs.joomla.org/Running_JavaScript_Tests_for_the_Joomla_CMS
The javascript tests test the Joomla-specific Javascript code. For further information on the tests and on how to run them, please check out https://docs.joomla.org/Special:MyLanguage/Running_JavaScript_Tests_for_the_Joomla_CMS
Codeception tests
==========
The Codeception tests test the user interface in a real browser and the webservices API of Joomla with the help of Codeception. For further information on the tests and on how to run them, please check out tests/Codeception/README.md
The Codeception tests test the user interface in a real browser and the webservices API of Joomla with the help of Codeception. For further information on the tests and on how to run them, please check out tests/Codeception/README.md