Skip to content

Commit

Permalink
use matomo.org instead of piwik.org in some links
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Feb 26, 2025
1 parent f095341 commit d5e9416
Show file tree
Hide file tree
Showing 23 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion core/API/DocumentationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function getApiDocumentationAsString($outputExampleUrls = true)
}

/**
* Used on developer.piwik.org
* Used on developer.matomo.org
*
* @param bool|true $outputExampleUrls
* @param string $prefixUrls
Expand Down
2 changes: 1 addition & 1 deletion core/FrontController.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
* return $realtimeMap->render();
* }
*
* For a detailed explanation, see the documentation [here](https://developer.piwik.org/guides/how-piwik-works).
* For a detailed explanation, see the documentation [here](https://developer.matomo.org/guides/how-piwik-works).
*
* @method static \Piwik\FrontController getInstance()
*/
Expand Down
2 changes: 1 addition & 1 deletion core/Tracker/GoalManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ protected function insertNewConversion($conversion, $visitInformation, Request $
*
* This event can be used to modify conversion information or to add new information to be persisted.
*
* This event is deprecated, use [Dimensions](https://developer.piwik.org/guides/dimensions) instead.
* This event is deprecated, use [Dimensions](https://developer.matomo.org/guides/dimensions) instead.
*
* @param array $conversion The conversion entity. Read [this](/guides/persistence-and-the-mysql-backend#conversions)
* to see what it contains.
Expand Down
2 changes: 1 addition & 1 deletion core/Tracker/VisitorRecognizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ private function getVisitorFieldsPersist()
*
* Plugins can use this event to load additional visit entity properties for later use during tracking.
*
* This event is deprecated, use [Dimensions](https://developer.piwik.org/guides/dimensions) instead.
* This event is deprecated, use [Dimensions](https://developer.matomo.org/guides/dimensions) instead.
*
* @deprecated
*/
Expand Down
2 changes: 1 addition & 1 deletion core/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ protected static function saveHostsnameInConfig($host, $domain, $key)
*
* @param bool $checkIfTrusted Whether to do trusted host check. Should ALWAYS be true,
* except in Controller.
* @return string|bool eg, `"demo.piwik.org"` or false if no host found.
* @return string|bool eg, `"demo.matomo.org"` or false if no host found.
*/
public static function getHost($checkIfTrusted = true)
{
Expand Down
2 changes: 1 addition & 1 deletion libs/upgradephp/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function _glob($pattern, $flags = 0) {
* Reads entire file into a string.
* This function is not 100% compatible with the native function.
*
* @see http://php.net/file_get_contents
* @see https://php.net/file_get_contents
* @since PHP 4.3.0
*
* @param string $filename Name of the file to read.
Expand Down
2 changes: 1 addition & 1 deletion piwik.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@ignore_user_abort(true);

// Note: if you wish to debug the Tracking API please see this documentation:
// https://developer.piwik.org/api-reference/tracking-api#debugging-the-tracker
// https://developer.matomo.org/api-reference/tracking-api#debugging-the-tracker

if (!defined('PIWIK_DOCUMENT_ROOT')) {
define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__) == '/' ? '' : dirname(__FILE__));
Expand Down
2 changes: 1 addition & 1 deletion plugins/Actions/Columns/ActionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* This example dimension only defines a name and does not track any data. It's supposed to be only used in reports.
*
* See {@link https://developer.piwik.org/api-reference/Piwik/Columns\Dimension} for more information.
* See {@link https://developer.matomo.org/api-reference/Piwik/Columns\Dimension} for more information.
*/
class ActionType extends ActionDimension
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/BulkTracking/Tracker/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private function checkTokenAuthNotEmpty($token)
{
if (empty($token)) {
throw new Exception("token_auth must be specified when using Bulk Tracking Import. "
. " See <a href='https://developer.piwik.org/api-reference/tracking-api'>Tracking Doc</a>");
. " See <a href='https://developer.matomo.org/api-reference/tracking-api'>Tracking Doc</a>");
}
}

Expand Down
2 changes: 1 addition & 1 deletion plugins/Contents/Reports/GetContentNames.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* This class defines a new report.
*
* See {@link https://developer.piwik.org/api-reference/Piwik/Plugin/Report} for more information.
* See {@link https://developer.matomo.org/api-reference/Piwik/Plugin/Report} for more information.
*/
class GetContentNames extends Base
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/Contents/Reports/GetContentPieces.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* This class defines a new report.
*
* See {@link https://developer.piwik.org/api-reference/Piwik/Plugin/Report} for more information.
* See {@link https://developer.matomo.org/api-reference/Piwik/Plugin/Report} for more information.
*/
class GetContentPieces extends Base
{
Expand Down
4 changes: 2 additions & 2 deletions plugins/Diagnostics/Diagnostic/DbAdapterCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ private function getLongErrorMessage()

$message .= $this->translator->translate('Installation_RestartWebServer') . '<br/><br/>';
$message .= $this->translator->translate('Installation_SystemCheckPhpPdoAndMysqli', array(
'<a style="color:red" href="http://php.net/pdo">',
'<a style="color:red" href="https://php.net/pdo">',
'</a>',
'<a style="color:red" href="http://php.net/mysqli">',
'<a style="color:red" href="https://php.net/mysqli">',
'</a>',
));
$message .= '</p>';
Expand Down
2 changes: 1 addition & 1 deletion plugins/Diagnostics/Diagnostic/TimezoneCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function execute()
$comment = sprintf(
'%s<br />%s.',
$this->translator->translate('SitesManager_AdvancedTimezoneSupportNotFound'),
'<a href="http://php.net/manual/en/datetime.installation.php" rel="noreferrer noopener" target="_blank">Timezone PHP documentation</a>'
'<a href="https://php.net/manual/en/datetime.installation.php" rel="noreferrer noopener" target="_blank">Timezone PHP documentation</a>'
);

return array(DiagnosticResult::singleResult($label, DiagnosticResult::STATUS_WARNING, $comment));
Expand Down
2 changes: 1 addition & 1 deletion plugins/Diagnostics/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* This class allows you to add, remove or rename menu items.
* To configure a menu (such as Admin Menu, Reporting Menu, User Menu...) simply call the corresponding methods as
* described in the API-Reference https://developer.piwik.org/api-reference/Piwik/Menu/MenuAbstract
* described in the API-Reference https://developer.matomo.org/api-reference/Piwik/Menu/MenuAbstract
*/
class Menu extends \Piwik\Plugin\Menu
{
Expand Down
6 changes: 3 additions & 3 deletions plugins/ExamplePlugin/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

/**
* A controller lets you for example create a page that can be added to a menu. For more information read our guide
* https://developer.piwik.org/guides/mvc-in-piwik or have a look at the our API references for controller and view:
* https://developer.piwik.org/api-reference/Piwik/Plugin/Controller and
* https://developer.piwik.org/api-reference/Piwik/View
* https://developer.matomo.org/guides/mvc-in-piwik or have a look at the our API references for controller and view:
* https://developer.matomo.org/api-reference/Piwik/Plugin/Controller and
* https://developer.matomo.org/api-reference/Piwik/View
*/
class Controller extends \Piwik\Plugin\Controller
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/ExamplePlugin/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* This class allows you to add, remove or rename menu items.
* To configure a menu (such as Admin Menu, Top Menu, User Menu...) simply call the corresponding methods as
* described in the API-Reference https://developer.piwik.org/api-reference/Piwik/Menu/MenuAbstract
* described in the API-Reference https://developer.matomo.org/api-reference/Piwik/Menu/MenuAbstract
*/
class Menu extends \Piwik\Plugin\Menu
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/ExamplePlugin/RecordBuilders/ExampleBlob.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* queries as possible (this results in improved performance overall).
*
* For more detailed information about RecordBuilders please visit Matomo developer guide
* https://developer.piwik.org/api-reference/Piwik/ArchiveProcessor/RecordBuilder
* https://developer.matomo.org/api-reference/Piwik/ArchiveProcessor/RecordBuilder
*/
class ExampleBlob extends RecordBuilder
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/ExamplePlugin/RecordBuilders/ExampleMetric.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* queries as possible (this results in improved performance overall).
*
* For more detailed information about RecordBuilders please visit Matomo developer guide
* https://developer.piwik.org/api-reference/Piwik/ArchiveProcessor/RecordBuilder
* https://developer.matomo.org/api-reference/Piwik/ArchiveProcessor/RecordBuilder
*/
class ExampleMetric extends RecordBuilder
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/ExamplePlugin/RecordBuilders/ExampleMetric2.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* queries as possible (this results in improved performance overall).
*
* For more detailed information about RecordBuilders please visit Matomo developer guide
* https://developer.piwik.org/api-reference/Piwik/ArchiveProcessor/RecordBuilder
* https://developer.matomo.org/api-reference/Piwik/ArchiveProcessor/RecordBuilder
*/
class ExampleMetric2 extends RecordBuilder
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/ExamplePlugin/Widgets/MyExampleWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* This class allows you to add your own widget to the Piwik platform. In case you want to remove widgets from another
* plugin please have a look at the "configureWidgetsList()" method.
* To configure a widget simply call the corresponding methods as described in the API-Reference:
* https://developer.piwik.org/api-reference/Piwik/Plugin\Widget
* https://developer.matomo.org/api-reference/Piwik/Plugin\Widget
*/
class MyExampleWidget extends Widget
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/ExampleReport/Reports/GetExampleReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* This class defines a new report.
*
* See {@link https://developer.piwik.org/api-reference/Piwik/Plugin/Report} for more information.
* See {@link https://developer.matomo.org/api-reference/Piwik/Plugin/Report} for more information.
*/
class GetExampleReport extends Base
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPUnit/System/TrackerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected static function configureFixture($fixture)
}

/**
* Test the Bulk tracking API as documented in: http://developer.piwik.org/api-reference/tracking-api#bulk-tracking
* Test the Bulk tracking API as documented in: https://developer.matomo.org/api-reference/tracking-api#bulk-tracking
*
* With invalid token_auth the request would still work
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPUnit/Unit/PeriodTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function testValidateValidDates()
public function testValidateInvalidDates($invalidDateFormat)
{
$this->expectException(\Exception::class);
$this->expectExceptionMessage('Date format must be: YYYY-MM-DD, or \'today\' or \'yesterday\' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information):');
$this->expectExceptionMessage('Date format must be: YYYY-MM-DD, or \'today\' or \'yesterday\' or any keyword supported by the strtotime function (see https://php.net/strtotime for more information):');

Period::checkDateFormat($invalidDateFormat);
}
Expand Down

0 comments on commit d5e9416

Please sign in to comment.