User tests: Successful: Unsuccessful:
This PR just add deprecated note for unnecessary catslug parameter because it's not used anywhere.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Title |
|
This PR has received new commits.
CC: @anibalsanchez
I tried to look for other similar notices, in order to understand what is standardization here.
And I did not see any of the standard in these notices, except probably this notices must contain the word "deprecated".
So what notice I should insert here???
Category | ⇒ | Router / SEF |
I asked @wilsonge and he said to use the PHPDocumentor standard https://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.deprecated.pkg.html so something like
/** @deprecated Some information here VERSION_TO_BE_REMOVED **/
BUT before that - what is the source that says that it is actually deprecated
There is no need to use catslug in Joomla 3.x because process link function - ContentHelperRoute::getArticleRoute - requires only catid (integer value).
/components/com_content/helpers/route.php
public static function getArticleRoute($id, $catid = 0, $language = 0)
https://github.com/joomla/joomla-cms/blob/staging/components/com_content/helpers/route.php#L32
Already discussed here #4363
#4363 (comment)
@Bakual : If you want to make it perfect, you can add a deprecated notice somewhere.
what I did
This PR has received new commits.
CC: @anibalsanchez
@shur There is no need to have multiple Pull Requests. I am assuming thats because you are using github.com
To apply the change here to the other places just go to your fork and select this branch (patch-3)
Or this direct link https://github.com/shur/joomla-cms/tree/patch-3
And then any edits you make there will be automatically added to this PR. No need to have multiple pull requests for this one issue. I am closing the others and pasting this message there as well
This PR has received new commits.
CC: @anibalsanchez
This PR has received new commits.
CC: @anibalsanchez
This PR has received new commits.
CC: @anibalsanchez
This PR has received new commits.
CC: @anibalsanchez
This PR has received new commits.
CC: @anibalsanchez
Title |
|
Milestone |
Added: |
Status | Pending | ⇒ | Ready to Commit |
Setting to RTC since these are only comments.
Milestone |
Removed: |
Labels |
Added:
?
|
Category | Router / SEF | ⇒ | Modules Front End Router / SEF |
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-11-07 16:36:17 |
Closed_By | ⇒ | rdeutz |
I have tested this item unsuccessfully on ce90f1e
The comment has a typo
If we are going to introduce these notices it should be standarized. For example:
// Legacy support to be removed in 4.0.
or
JLog::add('... is deprecated. Function will be removed in 4.0', JLog::WARNING, 'deprecated');
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8941.