diff --git a/administrator/components/com_admin/models/forms/profile.xml b/administrator/components/com_admin/models/forms/profile.xml
index 4c451639facb3..02ae043bafbb1 100644
--- a/administrator/components/com_admin/models/forms/profile.xml
+++ b/administrator/components/com_admin/models/forms/profile.xml
@@ -143,15 +143,6 @@
-
-
-
-
-
-
diff --git a/installation/application/web.php b/installation/application/web.php
index b5176e2ea6cc0..3ccffbb4fc77a 100644
--- a/installation/application/web.php
+++ b/installation/application/web.php
@@ -275,7 +275,6 @@ public function getLocalise()
$ret = array();
$ret['language'] = (string) $xml->forceLang;
- $ret['helpurl'] = (string) $xml->helpurl;
$ret['debug'] = (string) $xml->debug;
$ret['sampledata'] = (string) $xml->sampledata;
@@ -402,15 +401,8 @@ protected function initialiseApp($options = array())
$options['language'] = 'en-GB';
}
- // Check for custom helpurl.
- if (empty($forced['helpurl']))
- {
- $options['helpurl'] = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}';
- }
- else
- {
- $options['helpurl'] = $forced['helpurl'];
- }
+ // Set the official helpurl.
+ $options['helpurl'] = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}';
// Store helpurl in the session.
$this->getSession()->set('setup.helpurl', $options['helpurl']);
diff --git a/installation/localise.xml b/installation/localise.xml
index 8f4fb69c991dd..8e78644b8031e 100644
--- a/installation/localise.xml
+++ b/installation/localise.xml
@@ -1,7 +1,6 @@
-
0
diff --git a/language/en-GB/en-GB.com_users.ini b/language/en-GB/en-GB.com_users.ini
index 71278c17df852..4c688d2c067fa 100644
--- a/language/en-GB/en-GB.com_users.ini
+++ b/language/en-GB/en-GB.com_users.ini
@@ -164,6 +164,7 @@ COM_USERS_USER_FIELD_EDITOR_DESC="Choose your text editor."
COM_USERS_USER_FIELD_EDITOR_LABEL="Editor"
COM_USERS_USER_FIELD_FRONTEND_LANGUAGE_DESC="Choose your default language for the Frontend."
COM_USERS_USER_FIELD_FRONTEND_LANGUAGE_LABEL="Frontend Language"
+; The following two strings are deprecated and will be removed with 4.0.
COM_USERS_USER_FIELD_HELPSITE_DESC="Help site for the Backend."
COM_USERS_USER_FIELD_HELPSITE_LABEL="Help Site"
COM_USERS_USER_FIELD_TIMEZONE_DESC="Choose your time zone."
diff --git a/language/en-GB/en-GB.ini b/language/en-GB/en-GB.ini
index 5529c6653232c..78c6b3a196a2c 100644
--- a/language/en-GB/en-GB.ini
+++ b/language/en-GB/en-GB.ini
@@ -244,6 +244,7 @@ JGLOBAL_FILTER_BUTTON="Filter"
JGLOBAL_FILTER_LABEL="Filter"
JGLOBAL_FULL_TEXT="Full Text"
JGLOBAL_GT=">"
+; The following string is deprecated and will be removed with 4.0.
JGLOBAL_HELPREFRESH_BUTTON="Refresh"
JGLOBAL_HITS="Hits"
JGLOBAL_HITS_COUNT="Hits: %s"
diff --git a/libraries/src/Form/Field/HelpsiteField.php b/libraries/src/Form/Field/HelpsiteField.php
index b6e90fa87ce20..45db528b47165 100644
--- a/libraries/src/Form/Field/HelpsiteField.php
+++ b/libraries/src/Form/Field/HelpsiteField.php
@@ -19,7 +19,8 @@
* Form Field class for the Joomla Platform.
* Provides a select list of help sites.
*
- * @since 1.6
+ * @since 1.6
+ * @deprecated 4.0 To be removed
*/
class HelpsiteField extends \JFormFieldList
{
diff --git a/libraries/src/Help/Help.php b/libraries/src/Help/Help.php
index 118630d26ed41..f9b65349d8307 100644
--- a/libraries/src/Help/Help.php
+++ b/libraries/src/Help/Help.php
@@ -48,15 +48,8 @@ public static function createUrl($ref, $useComponent = false, $override = null,
}
else
{
- // Get the user help URL.
- $user = \JFactory::getUser();
- $url = $user->getParam('helpsite');
-
- // If user hasn't specified a help URL, then get the global one.
- if ($url == '')
- {
- $url = $app->get('helpurl');
- }
+ // Get the global help URL.
+ $url = $app->get('helpurl');
// Component help URL overrides user and global.
if ($useComponent)
diff --git a/templates/protostar/css/template.css b/templates/protostar/css/template.css
index c6bdb79394610..83918b8b8aacb 100644
--- a/templates/protostar/css/template.css
+++ b/templates/protostar/css/template.css
@@ -7655,9 +7655,6 @@ div.current dd.tabs {
border: 1px solid #CCC;
background-color: #FFF;
}
-#helpsite-refresh {
- vertical-align: top;
-}
#pop-print {
float: right;
margin: 10px;
diff --git a/templates/protostar/less/template.less b/templates/protostar/less/template.less
index 335a9bfa3be9f..0c3f37103cd94 100644
--- a/templates/protostar/less/template.less
+++ b/templates/protostar/less/template.less
@@ -619,11 +619,6 @@ div.current dd.tabs {
background-color: #FFF;
}
-/* Help site refresh button*/
-#helpsite-refresh {
- vertical-align: top;
-}
-
/*Print pop-up*/
#pop-print {
float: right;
diff --git a/tests/unit/suites/libraries/cms/form/field/JFormFieldHelpsiteTest.php b/tests/unit/suites/libraries/cms/form/field/JFormFieldHelpsiteTest.php
deleted file mode 100644
index 93c33d2df6464..0000000000000
--- a/tests/unit/suites/libraries/cms/form/field/JFormFieldHelpsiteTest.php
+++ /dev/null
@@ -1,88 +0,0 @@
-saveFactoryState();
-
- JFactory::$application = $this->getMockCmsApp();
- JFactory::$document = $this->getMockDocument();
-
- $this->backupServer = $_SERVER;
-
- $_SERVER['HTTP_HOST'] = 'example.com';
- $_SERVER['SCRIPT_NAME'] = '';
- }
-
- /**
- * Tears down the fixture, for example, closes a network connection.
- * This method is called after a test is executed.
- *
- * @return void
- *
- * @since 3.2
- */
- protected function tearDown()
- {
- $_SERVER = $this->backupServer;
- unset($this->backupServer);
- $this->restoreFactoryState();
-
- parent::tearDown();
- }
-
- /**
- * Tests the getInput method.
- *
- * @return void
- *
- * @since 3.1
- */
- public function testGetInput()
- {
- $field = new JFormFieldHelpsite;
- $field->setup(
- new SimpleXMLElement(''),
- 'value'
- );
-
- $this->assertContains(
- '