Replace a load of references to the wiki with docs links
authorAidan Saunders <aidan.saunders@squiffle.uk>
Mon, 20 Jul 2020 21:07:30 +0000 (22:07 +0100)
committerAidan Saunders <aidan.saunders@squiffle.uk>
Tue, 21 Jul 2020 09:23:15 +0000 (10:23 +0100)
Change docs links to 'latest' not 'stable'

20 files changed:
CRM/Admin/Form/Job.php
CRM/Member/BAO/MembershipStatus.php
CRM/Upgrade/Incremental/sql/README.txt
CRM/Utils/Check.php
CRM/Utils/Check/Component/Env.php
CRM/Utils/Hook/WordPress.php
CRM/Utils/System.php
templates/CRM/Admin/Form/Setting/Debugging.tpl
templates/CRM/Admin/Form/Setting/Mail.tpl
templates/CRM/Admin/Form/Setting/Path.tpl
templates/CRM/Admin/Page/MessageTemplates.hlp
templates/CRM/Admin/Page/Options.hlp
templates/CRM/Admin/Page/PaymentProcessor.hlp
templates/CRM/Campaign/Form/Survey/Main.tpl
templates/CRM/Contact/Import/Form/DataSource.tpl
templates/CRM/Contact/Page/CustomSearch.hlp
templates/CRM/Custom/Form/Field.tpl
templates/CRM/Report/Form/Tabs/Settings.hlp
templates/CRM/SMS/Page/Provider.tpl
templates/CRM/common/success.tpl

index e304420e0cd232db2afe9a60e596163dda643b95..0f69059f7b3ec90eefc86173ac50b318b416f661 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Admin_Form_Job extends CRM_Admin_Form {
     }
 
     if ($this->_action & CRM_Core_Action::VIEW) {
-      $this->assign('jobName', self::getJobName($this->_id)); 
+      $this->assign('jobName', self::getJobName($this->_id));
       $this->addButtons([
         [
           'type' => 'submit',
@@ -70,7 +70,6 @@ class CRM_Admin_Form_Job extends CRM_Admin_Form {
       ]);
       return;
     }
-        
 
     $attributes = CRM_Core_DAO::getAttribute('CRM_Core_DAO_Job');
 
@@ -242,8 +241,7 @@ class CRM_Admin_Form_Job extends CRM_Admin_Form {
 
     // CRM-11143 - Give warning message if update_greetings is Enabled (is_active) since it generally should not be run automatically via execute action or runjobs url.
     if ($values['api_action'] == 'update_greeting' && CRM_Utils_Array::value('is_active', $values) == 1) {
-      // pass "wiki" as 6th param to docURL2 if you are linking to a page in wiki.civicrm.org
-      $docLink = CRM_Utils_System::docURL2("Managing Scheduled Jobs", NULL, NULL, NULL, NULL, "wiki");
+      $docLink = CRM_Utils_System::docURL2("user/initial-set-up/scheduled-jobs/#job_update_greeting");
       $msg = ts('The update greeting job can be very resource intensive and is typically not necessary to run on a regular basis. If you do choose to enable the job, we recommend you do not run it with the force=1 option, which would rebuild greetings on all records. Leaving that option absent, or setting it to force=0, will only rebuild greetings for contacts that do not currently have a value stored. %1', [1 => $docLink]);
       CRM_Core_Session::setStatus($msg, ts('Warning: Update Greeting job enabled'), 'alert');
     }
index fc187f186b6d4490425a1bf7d0ce8ff52462e13e..756dc07c0c8cfe8e73d5cda5a1af81a6de7ed1a3 100644 (file)
@@ -68,7 +68,6 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
 
   /**
    * Takes an associative array and creates a membership Status object.
-   * See http://wiki.civicrm.org/confluence/display/CRM/Database+layer
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index a5d166d50e5329656022ee2ebc329a897378ae2d..f7954bce542e4a715e3c3913fb26c733409a64f5 100644 (file)
@@ -80,4 +80,4 @@ VALUES
     (@option_group_id_activity_type, {localize}'{ts escape="sql"}Change Custom Data{/ts}'{/localize},{localize}''{/localize}, (SELECT @max_val := @max_val+1), 'Change Custom Data', (SELECT @max_wt := @max_wt+1), 0, @caseCompId);
 
 ------------------------------------------------------------------------------
-More details on the wiki: http://wiki.civicrm.org/confluence/display/CRMDOC/Internationalisation+for+Developers#InternationalisationforDevelopers-Localisedfieldsschemachanges
+More details: https://docs.civicrm.org/dev/en/latest/translation/database/#localised-fields-schema-changes
index e8eb744ab21a43d9902982032d12d29df0a834d3..e92bb9ec7c24180c7d9769b568d4ef4bb2ceb3f6 100644 (file)
@@ -175,7 +175,7 @@ class CRM_Utils_Check {
    * This functon is wrapped by the System.check api.
    *
    * Calls hook_civicrm_check() for extensions to add or modify messages.
-   * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_check
+   * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_check/
    *
    * @param bool $max
    *   Whether to return just the maximum non-hushed severity
index 603a3b3a774e91c88dacda4421277ab07d7b3e3c..a81de7792c0946326fed202d2c5fc47549a42fb1 100644 (file)
@@ -117,11 +117,10 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
     if (!CRM_Utils_Time::isEqual($phpNow, $sqlNow, 2.5 * 60)) {
       $messages[] = new CRM_Utils_Check_Message(
         __FUNCTION__,
-        ts('Timestamps reported by MySQL (eg "%2") and PHP (eg "%3" ) are mismatched.<br /><a href="%1">Read more about this warning</a>', [
-          1 => CRM_Utils_System::docURL2('sysadmin/requirements/#mysql-time', TRUE),
-          2 => $sqlNow,
-          3 => $phpNow,
-        ]),
+        ts('Timestamps reported by MySQL (eg "%1") and PHP (eg "%2" ) are mismatched.', [
+          1 => $sqlNow,
+          2 => $phpNow,
+        ]) . '<br />' . CRM_Utils_System::docURL2('sysadmin/requirements/#mysql-time'),
         ts('Timestamp Mismatch'),
         \Psr\Log\LogLevel::ERROR,
         'fa-server'
@@ -262,10 +261,9 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
         \Psr\Log\LogLevel::WARNING,
         'fa-envelope'
       );
-      $docUrl = 'target="_blank" href="' . CRM_Utils_System::docURL(['page' => 'user/advanced-configuration/email-system-configuration/', 'URLonly' => TRUE]) . '""';
       $message->addHelp(
         ts('A default mailbox must be configured for email bounce processing.') . '<br />' .
-        ts("Learn more in the <a %1>online documentation</a>.", [1 => $docUrl])
+          CRM_Utils_System::docURL2('user/advanced-configuration/email-system-configuration/')
       );
       $messages[] = $message;
     }
@@ -323,10 +321,8 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
         // After 1 day (86400 seconds) increase the error level
         $level = ($lastCron > $now - 86400) ? \Psr\Log\LogLevel::WARNING : \Psr\Log\LogLevel::ERROR;
       }
-      $cronLink = 'target="_blank" href="' . htmlentities(CRM_Utils_System::docURL2('sysadmin/setup/jobs/', TRUE)) . '""';
-      $msg .= '<p>' . ts('To enable scheduling support, please <a %1>set up the cron job</a>.', [
-        1 => $cronLink,
-      ]) . '</p>';
+      $msg .= '<p>' . ts('To enable scheduling support, please set up the cron job.') .
+       '<br />' . CRM_Utils_System::docURL2('sysadmin/setup/jobs/') . '</p>';
     }
 
     $messages[] = new CRM_Utils_Check_Message(
@@ -604,10 +600,9 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
       // CRM-13141 There may not be any compatible extensions available for the requested CiviCRM version + CMS. If so, $extdir is empty so just return a notice.
       $messages[] = new CRM_Utils_Check_Message(
         __FUNCTION__,
-        ts('There are currently no extensions on the CiviCRM public extension directory which are compatible with version %1. If you want to install an extension which is not marked as compatible, you may be able to <a %2>download and install extensions manually</a> (depending on access to your web server).', [
+        ts('There are currently no extensions on the CiviCRM public extension directory which are compatible with version %1. If you want to install an extension which is not marked as compatible, you may be able to download and install extensions manually (depending on access to your web server).', [
           1 => CRM_Utils_System::majorVersion(),
-          2 => 'href="http://wiki.civicrm.org/confluence/display/CRMDOC/Extensions"',
-        ]),
+        ]) . '<br />' . CRM_Utils_System::docURL2('sysadmin/customize/extensions/#installing-a-new-extension'),
         ts('No Extensions Available for this Version'),
         \Psr\Log\LogLevel::NOTICE,
         'fa-plug'
@@ -907,7 +902,7 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
     else {
       $messages[] = new CRM_Utils_Check_Message(
         __FUNCTION__,
-        ts("Future versions of CiviCRM may require MySQL to support utf8mb4 encoding. It is recommended, though not yet required. Please discuss with your server administrator about configuring your MySQL server for utf8mb4. CiviCRM's recommended configurations are in the <a href='%1' title='System Administrator Guide'>System Administrator Guide</a>", [1 => CRM_Utils_System::docURL2("sysadmin/requirements/#mysql-configuration", TRUE)]),
+        ts("Future versions of CiviCRM may require MySQL to support utf8mb4 encoding. It is recommended, though not yet required. Please discuss with your server administrator about configuring your MySQL server for utf8mb4. CiviCRM's recommended configurations are in the System Administrator Guide") . '<br />' . CRM_Utils_System::docURL2('sysadmin/requirements/#mysql-configuration'),
         ts('MySQL Emoji Support (utf8mb4)'),
         \Psr\Log\LogLevel::WARNING,
         'fa-database'
index a82553f1b564aae9c2245a47b55508900c1ef319..4a2c63f377ad6c1fb9aebc4db90bc10fff65d1a0 100644 (file)
@@ -80,13 +80,13 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook {
     // are incompatible with the WordPress Plugin API:
     //
     // civicrm_upgrade
-    // http://wiki.civicrm.org/confluence/display/CRMDOC43/hook_civicrm_upgrade
+    // https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade/
     //
     // civicrm_caseSummary
-    // http://wiki.civicrm.org/confluence/display/CRMDOC43/hook_civicrm_caseSummary
+    // https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_caseSummary/
     //
     // civicrm_dashboard
-    // http://wiki.civicrm.org/confluence/display/CRMDOC43/hook_civicrm_dashboard
+    // https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_dashboard/
 
     // distinguish between types of hook
     if (!in_array($fnSuffix, $this->hooksThatReturn)) {
index 9a7d12db038acd719f18bc9d3c03a0b8cb71db5c..42b0960d2b9a74c15a2dff222dbf2ee393c23888 100644 (file)
@@ -1390,7 +1390,7 @@ class CRM_Utils_System {
     }
 
     if (!isset($params['text']) or $params['text'] === NULL) {
-      $params['text'] = ts('(learn more...)');
+      $params['text'] = ts('(Learn more...)');
     }
 
     if (!isset($params['style']) || $params['style'] === NULL) {
@@ -1419,7 +1419,7 @@ class CRM_Utils_System {
    * @return mixed
    */
   public static function formatDocUrl($url) {
-    return preg_replace('#^(user|sysadmin|dev)/#', '\1/en/stable/', $url);
+    return preg_replace('#^(user|sysadmin|dev)/#', '\1/en/latest/', $url);
   }
 
   /**
index 7a1c237412173a802f2bc5200254a3d3b6e737c4..5c785c8c8b8fc130336eb99b1a1996d9f5b352b3 100644 (file)
@@ -8,7 +8,7 @@
  +--------------------------------------------------------------------+
 *}
 <div class="help">
-    {ts}In addition to the settings on this screen, there are a number of settings you can add to your sites's settings file (civicrm.settings.php) to provide additional debugging information.{/ts} {docURL page="Debugging for developers" resource="wiki"}
+    {ts}In addition to the settings on this screen, there are a number of settings you can add to your sites's settings file (civicrm.settings.php) to provide additional debugging information.{/ts} {docURL page="dev/tools/debugging/#changing-file-based-settings"}
 </div>
 <div class="crm-block crm-form-block crm-debugging-form-block">
 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
index 87318f8cc397d69ae8b69110e67886d61430a9d8..b73060be9600a8172be20fd3d883254577eac084 100644 (file)
@@ -7,9 +7,8 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{capture assign=docLink}{docURL page="CiviMail Mailer Settings" text="CiviMail Mailer Settings and Optimization" resource="wiki"}{/capture}
 <div class="help">
-    {ts 1=$docLink}These settings are used to configure mailer properties for the optional CiviMail component and may allow you to significantly optimize performance. Please read the %1 documentation, and make sure you understand it before modifying default values. (These settings are NOT used for the built-in 'Email - send now' feature).{/ts}
+    {ts}These settings are used to configure mailer properties for the optional CiviMail component and may allow you to significantly optimize performance. Please read the documentation, and make sure you understand it before modifying default values. (These settings are NOT used for the built-in 'Email - send now' feature).{/ts} {docURL page="sysadmin/setup/civimail/outbound"}
   </div>
 <div class="crm-block crm-form-block crm-mail-form-block">
   {include file='CRM/Admin/Form/Setting/SettingForm.tpl'}
index 69b5c652c7a60f70301f8f498b3a125cd881c395..98c6597244160d147eabbb1fc158f4c713f579fb 100644 (file)
@@ -40,7 +40,7 @@
             <tr class="crm-path-form-block-customTemplateDir">
                 <td class="label">{$form.customTemplateDir.label}</td>
                 <td>{$form.customTemplateDir.html|crmAddClass:'huge40'}<br />
-                    <span class="description">{ts}Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named <em>templateFile.extra.tpl</em>.{/ts} {docURL page="Customize Built-in Screens" resource="wiki"}</span><br />
+                    <span class="description">{ts}Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named <em>templateFile.extra.tpl</em>.{/ts} {docURL page="sysadmin/setup/directories"}</span><br />
                     <span class="description">{ts}CiviCase configuration files can also be stored in this custom path.{/ts} {docURL page="user/case-management/set-up"}</span>
                 </td>
             </tr>
index 458672890850a798a259d981002d44bda2da7913..dce28aeeafe0fd45a33c00164f6482e66be49931 100644 (file)
@@ -10,7 +10,7 @@
 {capture assign=tokenDocLink}{docURL page="user/common-workflows/tokens-and-mail-merge"}{/capture}
 {capture assign=schedRemindersDocLink}{docURL page="user/email/scheduled-reminders/"}{/capture}
 {capture assign=schedRemURL}{crmURL p='civicrm/admin/scheduleReminders' q="reset=1"}{/capture}
-{capture assign=upgradeTemplatesDocLink}{docURL page="Updating System Workflow Message Templates after Upgrades - method 1 - kdiff" resource="wiki"}{/capture}
+{capture assign=upgradeTemplatesDocLink}{docURL page="sysadmin/upgrade/#updating-system-workflow-message-templates"}{/capture}
 {htxt id="id-intro-title"}
   {ts}Message Templates{/ts}
 {/htxt}
index c11452fc4439ced5166f0b6fa0a623b08d89dbd5..7f7018192de14e09e9022300515c7cce7cbb7aa7 100644 (file)
@@ -11,9 +11,8 @@
   {ts}Activity Types{/ts}
 {/htxt}
 {htxt id='id-activity-types'}
-  {capture assign=docLink}{docURL page="CiviCRM Public APIs" text="API Documentation" resource="wiki"}{/capture}
   <p>{ts}Activities are 'interactions with contacts' which you want to record and track. CiviCRM has several reserved (e.g. 'built-in') activity types (meetings, phone calls, emails sent). Create additional 'activity types' here if you need to record other types of activities. For example, you might want to add 'Job Interview', or 'Site Audit', etc.{/ts}</p>
   {capture assign=crmURL}{crmURL p='civicrm/admin/custom/group' q='reset=1'}{/capture}
   <p>{ts 1=$crmURL}Subject, location, date/time and description fields are provided for all activity types. You can add custom fields for tracking additional information about activities <a href='%1'>here</a>.{/ts}</p>
-  <p>{ts 1=$docLink}Scheduled and Completed Activities are searchable by type and/or activity date using 'Advanced Search'. Other applications may record activities for CiviCRM contacts using our APIs. For more information, refer to the online %1.{/ts}</p>
+  <p>{ts}Scheduled and Completed Activities are searchable by type and/or activity date using 'Advanced Search'. Other applications may record activities for CiviCRM contacts using our APIs.{/ts} {docURL page="dev/api"} </p>
 {/htxt}
index 72f2a3f7ddadd0c4a803afe25bf284cae775a4a5..3568576d615db169534d1903365fa445a7f4196a 100644 (file)
 <p>{ts}Refer to the following documentation:{/ts}</p>
 <ul>
   <li>{docURL page="user/contributions/payment-processors" text="Payment processor overview"}</li>
-  <li>{docURL page="Payment Processors" text="Processor comparison and setup guide" resource="wiki"}</li>
+  <li>{docURL page="sysadmin/setup/payment-processors" text="Processor comparison and setup guide"}</li>
 </ul>
 <p>{ts}If you're not sure which processor to use - we recommend reviewing terms, limitations and coverage areas on each processor's website before proceeding.{/ts}</p>
-<p>{ts 1="https://civicrm.org/extensions?tid_4[]=125"}If your desired processor is not in the list, check the <a href="%1">Extensions Directory</a> for more payment processors you can download. If you still can't find it, consider partnering with a developer and contributing a new extension.{/ts}</p>
+<p>{ts 1="https://civicrm.org/extensions?field_extension_civi_use_target_id=125"}If your desired processor is not in the list, check the <a href="%1">Extensions Directory</a> for more payment processors you can download. If you still can't find it, consider partnering with a developer and contributing a new extension.{/ts}</p>
 {/htxt}
 
 {htxt id='AuthNet-live-user-name'}
index 081559ef2603cf3824fc64f75cfb2481a34f8f16..b861552d1f4e71539b9354480d8521416a98a194 100644 (file)
@@ -49,7 +49,7 @@
    <tr class="crm-campaign-survey-main-form-block-release_frequency">
        <td class="label">{$form.release_frequency.label}</td>
        <td class="view-value">{$form.release_frequency.html}
-      <div class="description">{ts}Reserved respondents are released if they haven't been surveyed within this number of days. The Respondent Processor script must be run periodically to release respondents.{/ts} {docURL page="Managing Scheduled Jobs" resource="wiki"}</div> </td>
+      <div class="description">{ts}Reserved respondents are released if they haven't been surveyed within this number of days. The Respondent Processor script must be run periodically to release respondents.{/ts} {docURL page="user/initial-set-up/scheduled-jobs"}</div> </td>
    </tr>
    <tr class="crm-campaign-survey-main-form-block-is_active">
        <td class="label">{$form.is_active.label}</td>
index 42312a195dcf27dc7897b90ee61b647f8c042025..5009af8a195864f0a7d63f91d6995ab94a5a49a0 100644 (file)
@@ -70,7 +70,7 @@
                <span class="description">
                 {ts}This option is not recommended for large imports. Use the command-line geocoding script instead.{/ts}
                </span>
-               {docURL page="Managing Scheduled Jobs" resource="wiki"}
+               {docURL page="user/initial-set-up/scheduled-jobs"}
             </td>
          </tr>
         {/if}
index 91987733b5d02f3348271ebd2f5a934619e36df6..86f030bb40cfa5209c0e77e3971788243604cd74 100644 (file)
@@ -14,7 +14,7 @@
 <p>
   {ts}These are developed and contributed by members of the CiviCRM community. Consider adding any custom searches which you use often to your Search menu (from Administer > Customize Data and Screens > Navigation Menu). As new custom searches become available they can be viewed (and installed if useful) from Administer > System Settings > Manage Extensions.{/ts}
 </p>
-<p>{docURL page="Create a Custom-Search Extension" resource="wiki"}</p>
+<p>{docURL page="dev/extensions/civix/#generate-search"}</p>
 </p>
 <p>
   {ts}NOTE: Some of these searches may rely on specific site configurations - and may not work as expected on your site.{/ts}
index f6be9fb9c330d7b0ee6847192dad9fc197d54a81..c50080cef8840a3a500b5b9c4991c12c78186c0d 100644 (file)
@@ -72,7 +72,7 @@
         {$form.filter.html}
         &nbsp;&nbsp;<span><a class="crm-hover-button toggle-contact-ref-mode" href="#Group">{ts}Filter by Group{/ts}</a></span>
         <br />
-        <span class="description">{ts}Filter contact search results for this field using Contact get API parameters. EXAMPLE: To list Students in group 3:{/ts} "action=get&group=3&contact_sub_type=Student" {docURL page="Using the API" resource="wiki"}</span>
+        <span class="description">{ts}Filter contact search results for this field using Contact get API parameters. EXAMPLE: To list Students in group 3:{/ts} "action=get&group=3&contact_sub_type=Student" {docURL page="dev/api"}</span>
       </td>
     </tr>
     <tr class="crm-custom-field-form-block-options_per_line" id="optionsPerLine" {if $action neq 2 && ($form.data_type.value.0.0 >= 4 && $form.data_type.value.1.0 neq 'CheckBox' || $form.data_type.value.1.0 neq 'Radio' )}class="hiddenElement"{/if}>
index 64326f486500702aa4f2dfdc016858cbc8e4d09e..acd4388f08f92dd8240c5cf1dd5ab65b17561044 100644 (file)
@@ -15,7 +15,7 @@
   {ts}A copy of this report can be automatically generated and delivered via email to specified recipients. Use the settings in this section to control Subject of the email containing the report, as well as the recipient list (To and Cc fields). Separate multiple 'To' or 'CC' email addresses with commas.{/ts}
 </p>
 <p>
-  {ts}Your site administrator will need to setup an instance of the Scheduled Job "Mail Reports" to trigger creation and delivery of each report. When invoked, this job will deliver email to the recipients specified for the report. The report can be attached to the email as a PDF file (default), as a CSV file, or included in HTML format.{/ts} {docURL page="Managing Scheduled Jobs" resource="wiki"}
+  {ts}Your site administrator will need to setup an instance of the Scheduled Job "Mail Reports" to trigger creation and delivery of each report. When invoked, this job will deliver email to the recipients specified for the report. The report can be attached to the email as a PDF file (default), as a CSV file, or included in HTML format.{/ts} {docURL page="user/initial-set-up/scheduled-jobs"}
 </p>
 {/htxt}
 
index 3d25551c634b2619224493a8a295d96d7a2d1c19..3c27c157c4592345e86eddb637d5fecbefc140e9 100644 (file)
@@ -10,9 +10,8 @@
 {if $action eq 1 or $action eq 2 or $action eq 8}
    {include file="CRM/SMS/Form/Provider.tpl"}
 {else}
-  {capture assign=wikiLink}{docURL page="Setting up a SMS Provider for CiviSMS" text="(How to add a SMS Provider)" resource="wiki"}{/capture}
   <div class="help">
-    {ts}You can configure one or more SMS Providers for your CiviCRM installation. To learn more about the procedure to install SMS extension and Provider, refer{/ts} {$wikiLink}
+    {ts}You can configure one or more SMS Providers for your CiviCRM installation.{/ts} {docURL page="user/sms-text-messaging/set-up"}
   </div>
 
 <div class="crm-content-block crm-block">
index a1fbfb37023960e0d5969ddf6e34a43cdf150e42..14ca9873a9fdcb41c399a5a768bdc869f1212bff 100644 (file)
@@ -26,8 +26,7 @@
             </div>
         {/if}
         <p><strong>{ts}Back up your database before continuing.{/ts}</strong>
-            {capture assign=docLink}{docURL page="Installation and Upgrades" text="Upgrade Documentation" style="text-decoration: underline;" resource="wiki"}{/capture}
-            {ts 1=$docLink}This process may change your database structure and values. In case of emergency you may need to revert to a backup. For more detailed information, refer to the %1.{/ts}</p>
+            {ts}This process may change your database structure and values. In case of emergency you may need to revert to a backup.{/ts} {docURL page="sysadmin/upgrade"}</p>
         <input type="hidden" name="action" value="begin" />
         <button type="submit" class="crm-button" name="upgrade" onclick="return confirm('{ts escape="js"}Are you sure you are ready to upgrade now?{/ts}');" >
           <i class="crm-i fa-rocket" aria-hidden="true"></i>