Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Fix some outdated wiki links #17739

Merged
merged 1 commit into from
Jul 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CRM/Core/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public function &add(
unset($attributes['multiple']);
$extra = NULL;
}
// @see http://wiki.civicrm.org/confluence/display/CRMDOC/crmDatepicker
// @see https://docs.civicrm.org/dev/en/latest/framework/ui/#date-picker
if ($type == 'datepicker') {
// Support minDate/maxDate properties
if (isset($extra['minDate'])) {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/Resources.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public function addScript($code, $weight = self::DEFAULT_WEIGHT, $region = self:
* Access var from javascript:
* CRM.vars.myNamespace.foo // "bar"
*
* @see http://wiki.civicrm.org/confluence/display/CRMDOC/Javascript+Reference
* @see https://docs.civicrm.org/dev/en/latest/standards/javascript/
*
* @param string $nameSpace
* Usually the name of your extension.
Expand Down
2 changes: 1 addition & 1 deletion CRM/Upgrade/Page/Cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function cleanup425() {
$postMessage = ts('You can <a href="%1">click here</a> to try running the 4.2 upgrade script again. <a href="%2" target="_blank">(Review upgrade documentation)</a>',
[
1 => CRM_Utils_System::url('civicrm/upgrade', 'reset=1'),
2 => 'http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades',
2 => CRM_Utils_System::docURL2('sysadmin/upgrade', TRUE),
]);
$template->assign('postMessage', $postMessage);

Expand Down
2 changes: 1 addition & 1 deletion ang/crmUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
angular.module('crmUtil', CRM.angRequires('crmUtil'));

// Angular implementation of CRM.api3
// @link http://wiki.civicrm.org/confluence/display/CRMDOC/AJAX+Interface#AJAXInterface-CRM.api3
// @link https://docs.civicrm.org/dev/en/latest/api/interfaces/#angularjs
//
// Note: To mock API results in unit-tests, override crmApi.backend, e.g.
// var apiSpy = jasmine.createSpy('crmApi');
Expand Down
3 changes: 2 additions & 1 deletion js/crm.ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
return result;
}

// https://docs.civicrm.org/dev/en/latest/api/interfaces/#ajax
CRM.api4 = function(entity, action, params, index) {
return new Promise(function(resolve, reject) {
if (typeof entity === 'string') {
Expand Down Expand Up @@ -88,7 +89,7 @@

/**
* AJAX api
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/AJAX+Interface#AJAXInterface-CRM.api3
* @link https://docs.civicrm.org/dev/en/latest/api/interfaces/#ajax
*/
CRM.api3 = function(entity, action, params, status) {
if (typeof(entity) === 'string') {
Expand Down
2 changes: 1 addition & 1 deletion js/crm.datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"use strict";

/**
* @see http://wiki.civicrm.org/confluence/display/CRMDOC/crmDatepicker
* @see https://docs.civicrm.org/dev/en/latest/framework/ui/#date-picker
*/
$.fn.crmDatepicker = function(options) {
return $(this).each(function() {
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/common/civicrm.settings.php.template
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ if (!defined('CIVICRM_UF_BASEURL')) {
}

/**
* Define any CiviCRM Settings Overrides per http://wiki.civicrm.org/confluence/display/CRMDOC/Override+CiviCRM+Settings
* Define any CiviCRM Settings Overrides per https://docs.civicrm.org/sysadmin/en/latest/customize/settings/
*
* Uncomment and edit the below as appropriate.
*/
Expand Down