Commit 881ead96 authored by Alexander Nitsche's avatar Alexander Nitsche Committed by Christian Kuhn
Browse files

[TASK] Replace wiki links by documentation links

The wiki.typo3.org is marked as deprecated and gets
replaced soon by docs.typo3.org permanently. Replace
all wiki links by actual documentation links.

Resolves: #93677
Releases: master, 10.4, 9.5
Change-Id: Ib1bc42a6f2192580581499a9a0c1deb8d21ae2e0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68372

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent cf18b1dc
......@@ -132,7 +132,7 @@ class SystemEnvironmentBuilder
define('TYPO3_URL_LICENSE', 'https://typo3.org/typo3-cms/overview/licenses/');
define('TYPO3_URL_EXCEPTION', 'https://typo3.org/go/exception/CMS/');
define('TYPO3_URL_DONATE', 'https://typo3.org/community/contribute/donate/');
define('TYPO3_URL_WIKI_OPCODECACHE', 'https://wiki.typo3.org/Opcode_Cache');
define('TYPO3_URL_WIKI_OPCODECACHE', 'https://docs.typo3.org/m/typo3/guide-installation/master/en-us/Troubleshooting/Index.html#opcode-cache-messages');
// @deprecated since TYPO3 v9.4 and will be removed in TYPO3 v10.0
define('TYPO3_URL_MAILINGLISTS', 'http://lists.typo3.org/cgi-bin/mailman/listinfo');
......
......@@ -78,7 +78,7 @@ class PasswordHashFactory
// Do not add the hash to the exception to prevent information disclosure
throw new InvalidPasswordHashException(
'No implementation found to handle given hash. This happens if the stored hash uses a'
. ' mechanism not supported by current server. Follow the wiki link to fix this issue.',
. ' mechanism not supported by current server. Follow the documentation link to fix this issue.',
1533818591
);
}
......@@ -129,7 +129,7 @@ class PasswordHashFactory
throw new InvalidPasswordHashException(
'Configured default hash method ' . $defaultHashClassName . ' is not available. If'
. ' the instance has just been upgraded, please log in to the standalone install tool'
. ' at typo3/install.php to fix this. Follow the wiki link for more details.',
. ' at typo3/install.php to fix this. Follow the documentation link for more details.',
1533822084
);
}
......
......@@ -95,19 +95,20 @@ HTML;
$exceptionInfo = '';
if ($throwable->getCode() > 0) {
$wikiLink = TYPO3_URL_EXCEPTION . 'debug/' . $throwable->getCode();
$documentationLink = TYPO3_URL_EXCEPTION . 'debug/' . $throwable->getCode();
$exceptionInfo = <<<INFO
<div class="container">
<div class="callout">
<h4 class="callout-title">Get help in the TYPO3 Wiki</h4>
<h4 class="callout-title">Get help in the TYPO3 Documentation</h4>
<div class="callout-body">
<p>
If you need help solving this exception, you can have a look at the TYPO3 Wiki.
If you need help solving this exception, you can have a look at the TYPO3 Documentation.
There you can find solutions provided by the TYPO3 community.
Once you have found a solution to the problem, help others by contributing to the wiki page.
Once you have found a solution to the problem, help others by contributing to the
documentation page.
</p>
<p>
<a href="$wikiLink" target="_blank" rel="noopener noreferrer">Find a solution for this exception in the TYPO3 wiki.</a>
<a href="$documentationLink" target="_blank" rel="noopener noreferrer">Find a solution for this exception in the TYPO3 Documentation.</a>
</p>
</div>
</div>
......
......@@ -23,7 +23,7 @@ It is possible however to do a `composer install` in the TYPO3 sources directory
to gain full control over class loading of your TYPO3 installation. This step is optional and currently requires
thorough knowledge of composer and as such currently is only recommended for people familiar with this process.
Further technical details can be found in the `wiki`_.
Further technical details can be found in the `documentation`_.
Impact
======
......@@ -48,7 +48,7 @@ If you previously installed TYPO3 via composer, make sure you perform a `compose
the current changes in your Packages folder.
.. _`wiki`: http://wiki.typo3.org/ComposerClassLoader
.. _`documentation`: https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Autoloading/Background.html
.. index:: PHP-API
......@@ -11,7 +11,7 @@ Description
===========
Formerly `initializeObject()` was called before the dependencies were injected when retrieving an Extbase Domain
Model. This behavior didn't match either the documentation nor the behavior when using the `ObjectManager`.
Model. This behavior didn't match either the documentation_ nor the behavior when using the `ObjectManager`.
With TYPO3 CMS 7.3 this has been changed, dependency injection using `@inject` annotations and `inject*()` methods
is now performed **before** calling `initializeObject()` when retrieving Domain Models.
......@@ -19,7 +19,7 @@ is now performed **before** calling `initializeObject()` when retrieving Domain
This may have impact on extensions that are relying on the reversed call order. In these cases adjustments are
required to take into account that the injected objects are available.
.. _documentation: http://wiki.typo3.org/Dependency_Injection#initializeObject.28.29_as_object_lifecycle_method
.. _documentation: https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/DependencyInjection/Index.html
.. index:: PHP-API, ext:extbase
......@@ -46,7 +46,7 @@ Usage:
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
$uri = $uriBuilder->buildUriFromRoute('myRouteIdentifier', array('foo' => 'bar'));
See http://wiki.typo3.org/Blueprints/BackendRouting for more details.
See https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/BackendRouting/Index.html for more details.
Impact
======
......
......@@ -56,7 +56,6 @@ Extension: https://typo3.org/extensions/repository/view/irre_tutorial/
Thesis: https://typo3.org/documentation/article/inline-relational-record-editing-irre/
Video: http://typo3.org/videos/play/7-minutes-of-fame-inline-relational-record-editing-irre/
Core API: https://docs.typo3.org/typo3cms/CoreApiReference/
Wiki: https://wiki.typo3.org/Inline_Relational_Record_Editing
XING: https://www.xing.com/profile/Oliver_Hader
......
......@@ -73,7 +73,7 @@ class AuthenticationService
// Still no valid hash instance could be found. Probably the stored hash used a mechanism
// that is not available on current system. We throw the previous exception again to be
// handled on a higher level. The install tool will render an according exception message
// that links to the wiki.
// that links to the documentation.
throw $invalidPasswordHashException;
}
}
......
......@@ -581,7 +581,7 @@ class Check implements CheckInterface
. '* The PHP extension eaccelerator is known to break this if'
. ' it is compiled without --with-eaccelerator-doc-comment-inclusion flag.'
. ' This compile flag must be specified, otherwise TYPO3 CMS will not work.' . LF
. 'For more information take a look in our wiki ' . TYPO3_URL_WIKI_OPCODECACHE . '.',
. 'For more information take a look in our documentation ' . TYPO3_URL_WIKI_OPCODECACHE . '.',
'PHP Doc comment reflection broken',
FlashMessage::ERROR
));
......
......@@ -191,8 +191,8 @@ class SetupCheck implements CheckInterface
*/
protected function checkSomePhpOpcodeCacheIsLoaded()
{
// Link to our wiki page, so we can update opcode cache issue information independent of TYPO3 CMS releases.
$wikiLink = 'For more information take a look in our wiki ' . TYPO3_URL_WIKI_OPCODECACHE . '.';
// Link to our documentation page, so we can update opcode cache issue information independent of TYPO3 CMS releases.
$documentationLink = 'For more information take a look in our documentation ' . TYPO3_URL_WIKI_OPCODECACHE . '.';
$opcodeCaches = GeneralUtility::makeInstance(OpcodeCacheService::class)->getAllActive();
if (empty($opcodeCaches)) {
// Set status to notice. It needs to be notice so email won't be triggered.
......@@ -202,7 +202,7 @@ class SetupCheck implements CheckInterface
. ' This can be a massive performance improvement and can reduce the load on a'
. ' server in general. A parse time reduction by factor three for fully cached'
. ' pages can be achieved easily if using an opcode cache.'
. LF . $wikiLink,
. LF . $documentationLink,
'No PHP opcode cache loaded',
FlashMessage::NOTICE
));
......@@ -226,7 +226,7 @@ class SetupCheck implements CheckInterface
}
$message .= LF;
}
$message .= $wikiLink;
$message .= $documentationLink;
// Set title of status depending on serverity
switch ($status) {
case FlashMessage::ERROR:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment