? ? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
15 Jul 2020

Based on some discussions (see #29595 (comment)) initiated by a translator I'm proposing to completely remove the usage of the following strings and deprecated them.

JGLOBAL_INDEX_FOLLOW="Index, follow"
JGLOBAL_INDEX_NOFOLLOW="Index, no follow"
JGLOBAL_NOINDEX_FOLLOW="No index, follow"
JGLOBAL_NOINDEX_NOFOLLOW="No index, no follow"

In J4 they can be removed completely.

Reason is that they are now marked as "not to translate". But if a complete string shouldn't be translated, it doesn't make sense to have them as language strings to begin with.

Summary of Changes

Removing the strings from the XML. Instead the list will now directly show the value.
Deprecating the strings so they can still be used by 3rd parties but will get removed with J4.

The global configuration is a bit different since for some reason the first option is currently an empty value (<option value="">JGLOBAL_INDEX_FOLLOW</option>). I've changed that to <option value="">index, follow</option> so the behavior is the same.

Testing Instructions

Check the robots parameters in the global configuration and the various other places (eg category, article, contact, ...)

No difference before and after the PR.

Documentation Changes Required

None

avatar Bakual Bakual - open - 15 Jul 2020
avatar Bakual Bakual - change - 15 Jul 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jul 2020
Category Administration com_categories com_config com_contact com_content com_menus com_newsfeeds com_tags Language & Strings Front End
avatar zero-24
zero-24 - comment - 15 Jul 2020

It seems this PR includes some unrealted changes?

avatar brianteeman
brianteeman - comment - 15 Jul 2020

I thought they were already marked as deprecated - my bad for not checking properly - because that is what was decided

avatar Bakual
Bakual - comment - 16 Jul 2020

It seems this PR includes some unrealted changes?

PhpStorm automatically removed some superfluous spaces in the article.xml and item_component.xml. It's only CS stuff which should be simple to review.

avatar Quy Quy - test_item - 16 Jul 2020 - Tested successfully
avatar Quy
Quy - comment - 16 Jul 2020

I have tested this item successfully on b6aabe9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30110.

avatar alikon alikon - test_item - 16 Jul 2020 - Tested successfully
avatar alikon
alikon - comment - 16 Jul 2020

I have tested this item successfully on b6aabe9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30110.

avatar alikon alikon - change - 16 Jul 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 16 Jul 2020

rtc


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30110.

avatar HLeithner HLeithner - close - 17 Aug 2020
avatar HLeithner HLeithner - merge - 17 Aug 2020
avatar HLeithner HLeithner - change - 17 Aug 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-08-17 10:40:05
Closed_By HLeithner
Labels Added: ? ?
avatar HLeithner
HLeithner - comment - 17 Aug 2020

Thanks

Add a Comment

Login with GitHub to post a comment