Note: This issue is being posted here as an exercise by a participant in the http://drupalladder.org ladder for contributing to core. Please don't do anything with this post. The real issue has already been resolved in Drupal 8. If you would like to try this exercise yourself, visit http://drupalladder.org and click on Drupal Ladder
Problem/Motivation
The current help text is confusing.
Optionally specify an alternative URL by which this content can be accessed. For example, type "about" when writing an about page. Use a relative path and don't add a trailing slash or the URL alias won't work.
Proposed resolution
Change the help text to
The alternative URL for this content. For example, type "about" when creating an about page. Use a relative path without a trailing slash
Remaining tasks
Test patches, Write a patch.
User interface changes
The help text on URL settings tab changes.
API changes
none.
Data model changes
none.
Comment | File | Size | Author |
---|---|---|---|
#9 | rewrite-description-for-url-alias-2921431-6.patch | 917 bytes | mohit1604 |
#9 | Firefox_Screenshot_2017-11-07T11-30-34.195Z.png | 23.42 KB | mohit1604 |
#8 | Updated_description_for_URL_alias_on_node_form.-2836260-8.png | 53.86 KB | Thew |
#8 | Updated_description_for_URL_alias_on_node_form.-2836260-8.patch | 908 bytes | Thew |
#7 | sandbox-ladder-2836260-7-D8.patch | 909 bytes | Thew |
Comments
Comment #2
Thew CreditAttribution: Thew at Google Code-In commentedThe current description is confusing. I agree that the proposed is better.
Steps to reproduce:
1. Create a new content.
2. Navigate to URL settings tab.
3. See the help text like in attached screenshot.
Comment #3
Thew CreditAttribution: Thew at Google Code-In commentedComment #4
Thew CreditAttribution: Thew at Google Code-In commentedComment #5
Thew CreditAttribution: Thew at Google Code-In commentedComment #6
aadil.addweb CreditAttribution: aadil.addweb at AddWeb Solution Pvt. Ltd. commentedPFA patch for solution.
Comment #7
Thew CreditAttribution: Thew at Google Code-In commentedThis patch works.
Comment #8
Thew CreditAttribution: Thew at Google Code-In commentedMy patch.
Comment #9
mohit1604 CreditAttribution: mohit1604 at Google Summer of Code commentedThis patch works fine.
Comment #10
mohit1604 CreditAttribution: mohit1604 as a volunteer commented