Problem/Motivation

The description of a module on the Extend page, describes what the module does.
Not all module descriptions on the Extend page follow the common format, as described in the Help text standard.

In addition, module descriptions were reviewed and changed for Drupal 8, The module description on the Extend page, should follow the wording on the module's help page because these have been reviewed previously.

In general, "user" should be used to describe something that a user - with whatever role and appropriate permissions - can do, because we can't preempt what roles exist on site. The main point is to separate this from other modules, that don't result in users doing something.

Proposed resolution

Change the descriptions in the modules .info.yml files for the stable modules so that they are correct, consistent, and follow the same format.
Following comment #114, these descriptions of modules where the help text has been changed, are to go into a separate issue #3060616: Update the module descriptions on the Extend page to fit the Help texts
Experimental modules should have their own issues assigned because their functionality is still changing too much to hold up this issue in general.

Remaining tasks

  • Split the existing patch into two, so that this only includes changes to the structure of the sentence, but no new wording.

.
Several modules were added to core in later versions since this issue was started (see #101 Media, Settings tray, Workflow, Datetime range, Migrate, Field layout, Layout builder, Media library and Workspace). If necessary these are fixed in separate issues to avoid further issue creep.

User interface changes

This is a UI text change.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#148 2570985-module-descriptions-148.patch11.15 KBifrik
#148 interdiff-2570985-145-148.txt2.48 KBifrik
#148 interdiff-2570985-136-148.txt959 bytesifrik
#145 interdiff.txt970 bytesshimpy
#145 2570985_145.patch10.57 KBshimpy
#139 interdiff_136_139.txt2.63 KBgovind.maloo
#139 2570985-139.patch10.7 KBgovind.maloo
#136 interdiff-107-136.txt16.34 KBifrik
#136 2570985-module-descriptions-136.patch11.17 KBifrik
#128 2570985-patch-127-applied-before-after-128.png45.07 KBBalu Ertl
#127 2570985-module-descriptions-127.patch27.08 KBvacho
#22 interdiff-20-22.txt1.93 KBifrik
#22 2570985-ui-text-extend-page-22.patch26.38 KBifrik
#20 interdiff-9-20.txt11.37 KBifrik
#20 2570985-ui-text-extend-page-20.patch26.41 KBifrik
#10 2570985-ui-text-extend-page-9.patch26.72 KBifrik
#5 2570985-ui-text-extend-page-5.patch32.87 KBifrik
#4 interdiff-3-4.txt3.56 KBifrik
#4 2570985-ui-text-extend-page-4.patch11.25 KBifrik
#24 2570985-ui-text-extend-page-24.patch26.9 KBifrik
#24 interdiff-22-24.txt101.76 KBifrik
#26 2570985-ui-text-extend-page-26.patch26.85 KBifrik
#26 interdiff-24-26.txt11.95 KBifrik
#29 2570985-ui-text-extend-page-29.patch26.88 KBifrik
#29 interdiff-26-29.txt3.31 KBifrik
#33 2570985-ui-text-extend-page-31.patch26.87 KBifrik
#33 interdiff-29-31.txt504 bytesifrik
#36 2570985-ui-text-extend-page-36.patch26.75 KBifrik
#36 interdiff-31-36.txt8.08 KBifrik
#37 2570985-ui-text-extend-page-37.patch26.76 KBjhodgdon
#37 interdiff.txt1.27 KBjhodgdon
#40 2570985-ui-text-extend-page-40.patch26.78 KBifrik
#40 interdiff-2570985-37-40.txt5.5 KBifrik
#49 2570985-ui-text-extend-page-49.patch26.26 KBifrik
#53 Untitled Screencast.mp4173.52 KBManjit.Singh
#59 2570985-59.patch26.26 KBchipway
#62 2570985-62.patch27 KBchipway
#64 interdiff-2570985-49-59.txt0 byteschipway
#64 interdiff-2570985-59-62.txt611 byteschipway
#69 after.png52.4 KBlomasr
#69 before.png39.54 KBlomasr
#70 2570985-70.patch27.01 KBchipway
#70 interdiff-2570985-62-70.txt889 byteschipway
#73 2570985-72.patch29.22 KBlomasr
#79 interdiff-2570985-70-72.txt1.84 KBchipway
#84 2570985-84.patch642.55 KBchipway
#86 2570985-86.patch22.04 KBchipway
#86 interdiff-2570985-70-86.txt3.79 KBchipway
#86 interdiff-2570985-72-86.txt5.5 KBchipway
#90 2570985-90.patch26.7 KBifrik
#90 interdiff-2570985-86-90.txt6.37 KBifrik
#91 interdiff-2570985-90-91.txt2.7 KBifrik
#91 2570985-ui-text-extend-page-91.patch28.02 KBifrik
#95 2570985-ui-text-extend-page-95.patch25.97 KBifrik
#97 2570985-ui-text-extend-page-97.patch27.3 KBifrik
#97 interdiff-2570985-95-97.txt1.33 KBifrik
#107 interdiff-2570985-101-107.txt1.82 KBifrik
#101 2570985-module-descriptions-101.patch27.31 KBifrik
#107 2570985-module-descriptions-107.patch27.62 KBifrik
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ifrik created an issue. See original summary.

ifrik’s picture

Issue summary: View changes
ifrik’s picture

Assigned: ifrik » Unassigned
Parent issue: » #2499495: [meta] Review UI text for D8 core modules

I've checked and updated the modules Action to Forum so far, but left out the filter module because the hook_help text of that needs updating anyway #2570359: Update the hook_help for the filter module again.

ifrik’s picture

I've done Help to Search.

ifrik’s picture

Status: Active » Needs review
FileSize
32.87 KB

I've checked all module descriptions on the Extend page against the hook_help texts and formatting standards, and edited them in the modules *.info.yml files.

I've also added or removed some single quotation marks around the name in the *.info.yml file for consistency.

Status: Needs review » Needs work

The last submitted patch, 5: 2570985-ui-text-extend-page-5.patch, failed testing.

The last submitted patch, 5: 2570985-ui-text-extend-page-5.patch, failed testing.

ifrik’s picture

Some code from reviewing some other patch got mixed in here.

ifrik’s picture

ifrik’s picture

Status: Needs work » Needs review
FileSize
26.72 KB

Status: Needs review » Needs work

The last submitted patch, 10: 2570985-ui-text-extend-page-9.patch, failed testing.

Status: Needs work » Needs review

The last submitted patch, 4: 2570985-ui-text-extend-page-4.patch, failed testing.

ifrik’s picture

isntall’s picture

patch has been re-submitted and is running.

ifrik’s picture

Bojhan’s picture

Issue tags: -Needs usability review

I am not really sure about this. This could use some more rationale why this particular wording was used - quite a few get more lengthy and verbose. Focusing on what the "thing" delivers rather than a goal/task oriented description.

ifrik’s picture

Some of the descriptions currently aren't in the format of "Foo does something", and for a few the descriptions are simply not correct.
But I can try to shorten those ones that ended up too long, and then give a better overview.

ifrik’s picture

I've shortened the texts so that in general they are not longer then 80 or maybe 90 characters.

Here's an overview over why what was rewritten: usually because it they didn't fit the format, because they weren't quite correct, or very different from the hook_help texts which have been extensively reviewed in the last 2 years and which always start with a description whath the module does.

Actions: format as a sentence, consistent with help.
Activity tracker: consistent with help, more accurate description
Aggregator: changed the verbs, making it consistent with help instead of repeating the module name as a verb.
Ban: Current text can be misunderstood as banning the use of specific IP addresses in the site, but it bans visits from these IP addresses
Block: More accurate description of what the module does, and removed the sentence explaining what blocks are.
CKEditor: formated as a sentence
Comment: removed "discuss" because that's just one way comments can be used.
Config Manager: replaced manage with "import and export" because it's a new concept, and manage is already part of the name
Contact: More accurate description of what the module does.
Contextual links: reworded consistent with the help and removing the duplication of "contextual links"
Custom Block: added the creation of block types instead of only referring to block and removed the reference to the user interface because that's less needed here.
Custom menu links: removed custom from the description because it's obvious that the links are custom if a user has created them.
Database logging: removed "records" because that is part of the logging
Field: Formulated as a sentence
Field UI: Formulated as a sentence
Filter: Rewritten to mention that it's text formats that are used for filtering
Forum: Rewritten consistent with the hook_help text because the module doesn't provide any forums, only the ability to create them
History: Rewritten consistent with the hook_help text, and added the marking as new/updated as functionality provided.
Internal Dynamic page cache
Node: Rewritten to be more accurate and consistent with the hook_help text
RDF: Shortened because it was very long
Responsive image: shortened
Search: Rewritten because the current text only refered to keyword search
Shortcut: Rewritten so that it can be more easily understood
Statistics: Rewritten to be a bit more accurate and consistent with the hook_help text
Syslog: Rewritten to be more descriptive and consistent with the hook_help.
System: Rewritten to be more descriptive
Text editor : Rewritten to be more accurate.
Toolbar: Rewritten to be consistent with the hook_help
Update manager: Rewritten to be consistent with the hook_help and
User: Rewritten to include the user roles and permissions
views: Rewritten to be consistent with hook_help

Migrate and Migrate drupal: Rewritten so that they are consistent with each other

Field type modules: Rewritten so that they are consistent with each other

Multilingual modules: Rewritten so that they are consistent with each other

yoroy’s picture

  1. +++ b/core/modules/dynamic_page_cache/dynamic_page_cache.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Caches pages for all users, handling dynamic content correctly.'
    

    "handling dynamic content correctly", I don't know what this means. It suggests that without it, dynamic content is handled incorrectly. Is that true?

  2. +++ b/core/modules/editor/editor.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a framework that other modules can use to add toolbars or other means to format content.'
    

    "Provides ways to show toolbars for formatting content."? Or is that too simplified?

  3. +++ b/core/modules/field/field.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows the definition of custom data fields for entity types.'
    

    Maybe Enables instead of Allows? "Allows" smells of permissions.

  4. +++ b/core/modules/filter/filter.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows administrators to configure text formats to prepare content for display.'
    

    …configure text formats that prepare content for display.

ifrik’s picture

I changed those for descriptions.

The Text editor module makes it possible for contrib modules to add not only toolbars but also other ways of formatting text (even though I can't quite visualize what that might be at the moment) so kept that formulation a bit broader.

Sam152’s picture

Status: Needs review » Needs work

Great work on making things consistent, good to see. Few things I suggest or picked up on:

  1. +++ b/core/modules/datetime/datetime.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines  Date fields that store dates and times.'
    

    Double space and capital?

  2. +++ b/core/modules/dynamic_page_cache/dynamic_page_cache.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Caches pages incl. those with dynamic content for all users.'
    

    There aren't any abbreviations elsewhere?

  3. +++ b/core/modules/rdf/rdf.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Enriches content with metadata (relationships, attributes etc.) for other applications (search engines, aggregators etc.).'
    

    Are the etc.'s required? Why not mention the RDF spec instead of quoting the use cases?

  4. +++ b/core/modules/serialization/serialization.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a service for (de)serializing data to/from formats such as JSON and XML.'
    

    Normalizing is the terminology used to reverse serializing. I'd also stick to "to and from" instead of to/from.

  5. +++ b/core/modules/statistics/statistics.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Logs how often content of the site is viewed.'
    

    Should this be "content on"?

  6. +++ b/core/modules/telephone/telephone.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines fields that contain telephone numbers.'
    
    +++ b/core/modules/text/text.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines short and long text fields with optional summaries.'
    

    Sticking with the theme should these be "Provides a field type for..."

  7. +++ b/core/modules/update/update.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Checks for updates, and allows administrators to manage them through an interface.'
    

    Extra comma?

ifrik’s picture

Status: Needs work » Needs review
FileSize
26.9 KB
101.76 KB

Thanks Sam152 for the review.
I've fixed most of them accordingly.
About the serialization: We use serialization and deserialization in the help text; and "(de)serialization" was the description provided by the person writing the module. I've tried to fix this by not using serialization at all since it's already in the module name anyway.
I left the text field because it would just get convoluted, and "text field" is a phrase that's used in other contexts as well.

jhodgdon’s picture

Status: Needs review » Needs work

Wow. I can tell a lot of work went into this, but it still needs a lot more work to be more consistent. Plus, there are some grammatical problems.

Here is a quick run-through with some things to fix:

  1. +++ b/core/modules/ckeditor/ckeditor.info.yml
    @@ -1,6 +1,6 @@
    -description: "WYSIWYG editing for rich text fields using CKEditor."
    +description: 'Provides a visual text editor and adds a toolbar to text fields.'
    

    It seems like it should still mention that specifically it is the CKEditor editor that is provided. This is a 3rd-party editor that people may be familiar with, and other (contrib) modules may still provide other editors.

  2. +++ b/core/modules/comment/comment.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows users to comment on published content.'
    

    Hm. Is it actually not possible to comment on unpublished content? I have no idea.

  3. +++ b/core/modules/contextual/contextual.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides quick access to tasks related to elements on a page.'
    

    Perhaps this should be:
    elements of a page
    or
    parts of a page
    or
    ... hm, not sure. It's just not really clear what it means from this description, do we have a better description in the hook_help() perhaps?

  4. +++ b/core/modules/dblog/dblog.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Logs system events in the database of the site.'
    

    database of the site
    =>
    site database

  5. +++ b/core/modules/editor/editor.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a framework for other modules to add toolbars or other means to format content.'
    

    ... to format content... hm...

    how about

    Provides a framework for other modules to add text editors and toolbars to formatted text fields.

  6. +++ b/core/modules/entity_reference/entity_reference.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines fields that contain links to other content, users etc. within the site.'
    

    Um. This is ... not good. The punctuation is not great, for one thing. Maybe rewrite this one?

  7. +++ b/core/modules/field/field.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Enables the definition of custom data fields for entity types.'
    

    So you're using the word "entity" all over the place, how come "entity reference" cannot keep using it too?

    Also, really this should have API in the description. It is just for programmers and this is lost in the change here.

  8. +++ b/core/modules/field_ui/field_ui.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides an user interface for managing and displaying fields.'
    

    an user => a user

    But the UI is really for the management of fields, and their display and editing properties. The UI is not needed in order to "display fields", it is only for "manage". This is misleading.

  9. +++ b/core/modules/file/file.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines fields that contain files.'
    

    No, it defines a field type, not "fields".

  10. +++ b/core/modules/filter/filter.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows administrators to configure text formats that prepare content for display.'
    

    Everywhere else the descriptions say "users" not "administrators".

  11. +++ b/core/modules/hal/hal.info.yml
    @@ -1,4 +1,4 @@
    -name: 'HAL'
    +name: HAL
    

    Why take the quotes off here? You've added them everwhere else.

  12. +++ b/core/modules/history/history.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Records which content a user has viewed and marks it as new or updated.'
    

    actually it does this for all users, not "a user".

  13. +++ b/core/modules/language/language.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows administrators to configure the languages available in the site.'
    

    administrators => users

  14. +++ b/core/modules/menu_ui/menu_ui.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides an interface for managing menus.'
    

    interface => user interface

  15. +++ b/core/modules/options/options.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines fields with select lists, checkboxes or radio buttons to select values from a fixed list of options.'
    

    needs comma before "or"

  16. +++ b/core/modules/path/path.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows users to specify a custom URL for an existing internal path.'
    

    I would make this plural
    custom URLs
    paths

  17. +++ b/core/modules/quickedit/quickedit.info.yml
    @@ -1,6 +1,6 @@
    -description: 'In-place content editing.'
    +description: 'Allows users to edit field content without visiting a separate page.'
    

    separate from what?

    I liked the previous description better.

  18. +++ b/core/modules/search/search.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows administrators to create search pages based on plugins provided by other modules.'
    

    administrators => users

  19. +++ b/core/modules/serialization/serialization.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a service to converts data structure to and from formats such as JSON and XML.'
    

    converts => convert

    actually the grammar of this needs more fixing than that!

  20. +++ b/core/modules/statistics/statistics.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Logs how often content of the site is viewed.'
    

    hm. not really "how often", more like "how many times" I think?

  21. +++ b/core/modules/syslog/syslog.info.yml
    @@ -1,6 +1,6 @@
    +description: "Logs events by sending messages to the logging facility of the web server."
    

    This should not be using "" quotes I think?

  22. +++ b/core/modules/system/system.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides user interfaces for core systems and their configuration.'
    

    um, isn't it all configuration? This seems redundant.

  23. +++ b/core/modules/telephone/telephone.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines fields that contain telephone numbers.'
    

    no, it defines field types, not fields.

  24. +++ b/core/modules/text/text.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines short and long text fields with optional summaries.'
    

    field types not fields

  25. +++ b/core/modules/toolbar/toolbar.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides an administration toolbar which displays tabs and trays provided by modules.'
    

    which -> that

  26. +++ b/core/modules/tour/tour.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides guided tours of the site interface.'
    

    Actually it only displays them, as modules provide them.

  27. +++ b/core/modules/update/update.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Checks for updates and allows administrators to manage them through an interface.'
    

    interface -> user interface

  28. +++ b/core/modules/views/views.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows users to fetch information from the database and to display it in different formats.'
    

    Um. Not really.

ifrik’s picture

Thanks for the review.
I'm don't quite sure why some of the modules in the field type section now define field types while others define fields; or whether I should change all of the accordingly.

I've done nearly all according to the comments.

3. I added "direct" - for the rest the description based on the hook_help.

5. The toolbars etc. are added to text fields in general (not formatted ones), so I changed that accordingly.

6. Since "entity" is already in the name, I was trying to sneak in a bit more explanation, but in fact the main point is that it's to something that is within the site.

7. Added API back into the description.

11. I had asked during the sprint why some of the name had single quote around them and other not, and the answer was that it was convention to put them around several words, but not needing them around single words, so I fixed what I had done - and apparently that one as well.

17. That's wording used in the hook_help, but I understood it as not having to go to another edit page.

28. Reworded according to the hook_help.

ifrik’s picture

Status: Needs work » Needs review
jhodgdon’s picture

Regarding your comments in #26, ...

All of the modules that define field anythings are defining field types, field widgets, and/or field formatters, so I think all of the wording should say "field types".

Regarding item 5, I believe that the text field must have a text format associated with it, in order for the Editor module to add a toolbar/editor to the field, because in the UI for the Editor module, it allows you to associate a particular editor/toolbar with a particular text format. So a field without a text format would not get an editor, right?

I haven't looked at the patch yet. Want to fix those two items and I'll give it a good review again? Thanks!!

ifrik’s picture

I've changed the Field type module descriptions accordingly.

About the text editor: It's true that a toolbar (or any other functionality) should only be displayed if also the text format is set up to allow this, but if I get it correctly the editor module just provides the framework for other modules to use.

The description now very closely follows the wording in the hook_help.

jhodgdon’s picture

Regarding Editor, I looked at the code for that module, and it definitely only modifies text-with-text-format boxes. It cannot be used to add an editor to plain text boxes that do not have a text format on them. The UI also only allows you to attach editors to particular text formats.

If the hook_help implies that it can do something other than that, it needs to be changed too.

ifrik’s picture

How about Provides a framework to associate text formats with text editors and toolbars.?

That's pretty close to what it was anyway.

jhodgdon’s picture

That seems fine... wonder if it's clearer if the "associates" goes the other way:

Provides a framework to associate text editors and toolbars with text formats.

ifrik’s picture

That's exactely what I had been wondering about as well :-)

jhodgdon’s picture

Status: Needs review » Needs work

On a different issue, @Bojhan suggested removing "site" where possible... Looking at these:

  1. +++ b/core/modules/action/action.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides tasks that can be executed by the system on specfic events.'
    

    I think we need to keep "by the system" here, so this seems fine to me.

    Although ...

    The Configure page description from the other patch/issue seems to have a better description. Something like:

    Allows configuration of tasks to be executed in response to events

    might be better?

  2. +++ b/core/modules/ban/ban.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Enables administrators to ban visits to the site from specific IP addresses.'
    

    could lose

    to the site

    here

  3. +++ b/core/modules/dblog/dblog.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Logs system events in the site database.'
    

    could lose "site" here, although I think maybe I suggested adding it ;)

  4. +++ b/core/modules/dynamic_page_cache/dynamic_page_cache.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Caches pages including those with dynamic content for all users.'
    

    I think "including those with dynamic content" needs to be surrounded by commas?

  5. +++ b/core/modules/entity_reference/entity_reference.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines field types that contain links to other entities within the site.'
    

    could drop "within the site"

  6. +++ b/core/modules/filter/filter.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows userss to configure text formats that prepare content for display.'
    

    typo: userss

  7. +++ b/core/modules/language/language.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows users to configure the languages available in the site.'
    

    Could make this even more concise:

    Allows users to configure available languages

  8. +++ b/core/modules/migrate/migrate.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a framework to migrate data, usually from an external source into the site.'
    

    As a note, here I think we need the "into the site" part, to clarify that this module does not help you migrate data out of the site (it doesn't).

    Maybe this should be though:

    Provides a framework for migrating data into the site

  9. +++ b/core/modules/migrate_drupal/migrate_drupal.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a framework to migrate data from older Drupal sites into the site.'
    

    Similarly, I think this would be slightly better wording as:

    Provides a framework for migrating data from previous versions of Drupal into the site

  10. +++ b/core/modules/node/node.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Manages the creation, configuration, and display of the main site content.'
    

    I kind of think "site" is good here.

  11. +++ b/core/modules/options/options.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines field types with select lists, checkboxes, or radio buttons to select values from fixed lists of options.'
    

    or => and ?

  12. +++ b/core/modules/path/path.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows users to specify custom URLs for existing internal paths.'
    

    specify => create?

  13. +++ b/core/modules/rest/rest.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a framework for exposing REST resources on the site.'
    

    could lose "on the site"

  14. +++ b/core/modules/serialization/serialization.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a service to convert data structure to and from formats such as JSON and XML.'
    

    How about losing the word "structure" here?

    Better wording:

    Provides a service for converting data to and from formats such as JSON and XML

  15. +++ b/core/modules/shortcut/shortcut.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows users to create sets of shortcut links to pages within the site.'
    

    Could drop "to pages within the site" or at least drop "to pages"... we may want to leave "within the site" to make it clear it's only internal? or is it?

  16. +++ b/core/modules/statistics/statistics.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Logs how often content of the site is viewed.'
    

    could drop "of the site"

  17. +++ b/core/modules/telephone/telephone.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines fields types that contain telephone numbers.'
    

    fields types that contain => a field type that contains

  18. +++ b/core/modules/tour/tour.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Displays guided tours of the site interface.'
    

    probably site is OK here

  19. +++ b/core/modules/views/views.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Provides a back end to fetch information from the database and to display it in different formats.'
    

    I really like this one!

jhodgdon’s picture

Actions... discussing this on another issue also... maybe it should say (to avoid passive voice):

Allows configuration of tasks for the system to execute in response to events.

ifrik’s picture

Status: Needs work » Needs review
FileSize
26.75 KB
8.08 KB

Shortcuts are really only internal, so I left that, and for the rest I took up all the suggestions.

I will be offline mostly for the next days, so if it needs any more work, it would be good if somebody else could do that.

jhodgdon’s picture

https://groups.drupal.org/node/484788 Apparently this needs to be "rc deadline" because it changes translatable UI text strings

This all looks great to me! I found 3 little typos, so I fixed those (ifrik is away) and am marking the patch RTBC.

  1. +++ b/core/modules/action/action.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows configuration of tasks for the system to execute in response to events'
    

    To be consistent with the rest, this needs a . at the end

  2. +++ b/core/modules/shortcut/shortcut.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Allows users to create sets of shortcut within the site.'
    

    shortcut -> shortcuts

  3. +++ b/core/modules/telephone/telephone.info.yml
    @@ -1,6 +1,6 @@
    +description: 'Defines a field type that contain telephone numbers.'
    

    contain -> contains

xjm’s picture

Status: Reviewed & tested by the community » Needs work
  1. +++ b/core/modules/ban/ban.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Enables banning of IP addresses.'
    +description: 'Enables users to ban visits from specific IP addresses.'
    

    "Enables users to X" is a bit strange. Maybe just "Allows" instead?

  2. +++ b/core/modules/basic_auth/basic_auth.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides the HTTP Basic authentication provider'
    +description: 'Provides an HTTP Basic authentication provider.'
    

    Still providing a provider. ;) but I guess that this is fine.

  3. +++ b/core/modules/block/block.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Controls the visual building blocks a page is constructed with. Blocks are boxes of content rendered into an area, or region, of a web page.'
    +description: 'Allows users to configure blocks and to place them in the regions of a theme.'
    

    We are losing the description of what a "block" is here. I actually think this is pretty important since usability studies always surface that "block" does not mean anything to normal people. See: https://www.drupal.org/files/mental-model-big.png

  4. +++ b/core/modules/ckeditor/ckeditor.info.yml
    @@ -1,6 +1,6 @@
    -description: "WYSIWYG editing for rich text fields using CKEditor."
    +description: 'Provides a visual text editor and adds a toolbar to text fields using CKEditor.'
    

    I think "WYSIWYG" is actually useful information as well, because that would tell me what it is exactly, whereas the current description doesn't entirely make it clear that this is how I get my WYSIWYG on. Maybe put that in parentheses after "visual text editor"?

  5. +++ b/core/modules/contextual/contextual.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides contextual links to perform actions related to elements on a page.'
    +description: 'Provides direct and quick access to tasks related to areas of a page.'
    

    I also think losing the word "links" here is not good. "Provides direct and quick access" doesn't help me understand that this allows me to stick little menus of links on stuff on my page .

  6. +++ b/core/modules/editor/editor.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides a means to associate text formats with text editor libraries such as WYSIWYGs or toolbars.'
    +description: 'Provides a framework to associate text editors and toolbars with text formats.'
    

    This one I think it's okay to remove "WYSIWYG" so long as we keep it for CKEditor. The fact that CKEditor requires this one will make it clear.

  7. +++ b/core/modules/entity_reference/entity_reference.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides a field that can reference other entities.'
    +description: 'Defines field types that contain links to other entities.'
    
    +++ b/core/modules/field/field.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Field API to add fields to entities like nodes and users.'
    +description: 'Provides the Field API to add fields to entities.'
    

    I also think throwing users a bone about what an "entity" is is valuable.

    Also, in the first hunk, I think ER defines only one field type, not multiple field types?

  8. +++ b/core/modules/file/file.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Defines a file field type.'
    +description: 'Defines field types that contain files.'
    
    +++ b/core/modules/image/image.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Defines an image field type and provides image manipulation tools.'
    +description: 'Defines field types that contain image files and provides tools to configure their display.'
    

    Does it actually define multiple field types? I thought it was just the one, in both cases. I'll look on the issue to see if there's an explanation for this.

  9. +++ b/core/modules/path/path.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Allows users to rename URLs.'
    +description: 'Allows users to create custom URLs for existing internal paths.'
    

    I'm not sure about "existing internal paths"; the word "internal" seems misleading or confusing in context. It's also required to provide the path alias for e.g. a node. Maybe "existing paths on the site"?

  10. +++ b/core/modules/system/system.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Handles general site configuration for administrators.'
    +description: 'Provides user interfaces for core systems.'
    

    Hmm, system does a lot more than that.

  11. +++ b/core/modules/toolbar/toolbar.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides a toolbar that shows the top-level administration menu items and links from other modules.'
    +description: 'Provides an administration toolbar that displays tabs and trays provided by modules.'
    

    Not sure about this one... modules don't have to define tabs and trays; just the links.

  12. +++ b/core/modules/views/views.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Create customized lists and queries from your database.'
    +description: 'Provides a back end to fetch information from the database and to display it in different formats.'
    

    I think the word "lists" is important. Also, I don't think we should say it provides a back end for fetching info from the database; that sounds like a DB driver, and the information can also come from other sources than a database.

I'd be alright with splitting these less clear-cut strings into a separate issue and committing the rest first so that we can improve as many strings as possible before RC.

Bojhan’s picture

Version: 8.0.x-dev » 8.1.x-dev
Issue tags: -Needs usability review

This needs a lot of work, and wouldn't consider this a key improvement for 8.0.0 I am going to move this to 8.1

ifrik’s picture

Status: Needs work » Needs review
FileSize
26.78 KB
5.5 KB

I've taken up most of the proposals from comment #38, also re-reading through the previous comments.
I've also edited the description of the newly added Inline Form Errors module

1. File types: I've checked them and File, Image, Link and Telephone only provide one type, while the others provide several types. Entity Reference is not listed on the Extend page anymore.

2. System: We had previously removed the mentioning of configuration as redundant from the description. Basically we need a description that says something like "Does lots of things and can't be uninstalled anyway".

3. Field: In an earlier comment it was pointed out that Field API is only for developers, so I think the mentioning of Entity here doesn't make it anymore complicatied. As with the Blocks module: it would be great if the hook_help text could be accessible even if the module is not enabled, because that gives a detailed explanation.

4. Views: The text is the one we also use in the hook_help text to describe what the Views module does, so we might need to change that as well. From which other sources can the information come? About "lists": Views itself uses "lists" only as one of several formats (besides table, grid, and whatever other formats contrib modules provide) so "lists" is to restricted here, but could be added as an example.

5. Blocks: The descriptions on the Extend page only describe briefly what the module does, without explaining underlying concepts. If we want to add such explanations, then there are probably more modules for which that would make sense. (Ideally, the help pages that have all this information should be accessible for uninstalled modules as well...)
In any case, the text for the Block module is currently misleading. Blocks are not only used for content, but also for configuration (such as the site name), forms (user login) etc.; and "boxes" is confusing because there also is the Box module. So we need a better explanation what a block is in D8.

jhodgdon’s picture

Hopefully @Bojhan can comment/review...

no_angel’s picture

Assigned: Unassigned » no_angel
Status: Needs review » Needs work
Issue tags: -Barcelona2015, -rc deadline
no_angel’s picture

Hi @jhodgdon,

Not sure if this is the correct place to post this:

I've been working on :Update the UI texts for the Custom Block module and ran across this issue.

Based on Comment 40 1. File types: I've checked them and File, Image, Link and Telephone only provide one type, while the others provide several types. Entity Reference is not listed on the Extend page anymore.

I'm not sure if it should be but it's not listed on the Help page either.

Found this issue and re-tested the patch https://www.drupal.org/files/issues/entity_reference_help-2029751-29.patch and it now fails.

Can you please advise if that patch needs to be re-rolled and the next steps for this issue.

Sorry if I'm way off track here, I tend to over re-research everything.

@ifrik if you are working on this issue, go ahead and un-assign me.

Cheers

jhodgdon’s picture

Right, there is no Entity Reference module now. It is just a core Field type [note: typo in #40 and #43 -- they are *field* types not *file* types]. So the Entity Reference help page doesn't exist, and the Entity Reference field is currently documented in the Field help page (module Field, file field.module, function field_help()), along with other Core-provided fields.

So no, we don't want to revive that other issue about Entity Reference help. It's not a module any more, and so there is no Entity Reference help per se.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

yoroy’s picture

Issue tags: +ux-interfacetext
ifrik’s picture

Issue tags: +DevDaysMilan
ifrik’s picture

Assigned: no_angel » Unassigned
Issue tags: +String change in 8.2.0, +sprint

I'll be working on this during DevDaysMilan

ifrik’s picture

I'm not sure why this was moved to Needs work in #43 because the comment did not really seem to be about this issue.

Inline Form error is now an experimental issue. Therefore the patch did not apply anymore, but it has its own issue #2702545: Edit the Inline Form Error module description so I removed it as the only change between patch 40 and 49.

Status: Needs review » Needs work

The last submitted patch, 49: 2570985-ui-text-extend-page-49.patch, failed testing.

ifrik’s picture

Status: Needs work » Needs review

Random test bot fail.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Manjit.Singh’s picture

FileSize
173.52 KB

This issue is to update the module description on extend page but don't know why i am seeing the bit of layout change. Am i doing something wrong here ?
check the screencast.

Manjit.Singh’s picture

Issue tags: +Dublin2016

Status: Needs review » Needs work

The last submitted patch, 49: 2570985-ui-text-extend-page-49.patch, failed testing.

ifrik’s picture

Issue tags: +Barcelona2015

Added the Barcelona tag again, because there was no reason to remove it,

The last submitted patch, 49: 2570985-ui-text-extend-page-49.patch, failed testing.

chipway’s picture

I am working on this issue in DrupalCon Dublin2016.
I will try to apply https://www.drupal.org/files/issues/2570985-ui-text-extend-page-49.patch
[EDIT] patch doesn't apply against 8.3.x.

then I will re-roll it https://www.drupal.org/contributor-tasks/reroll

chipway’s picture

Status: Needs work » Needs review
FileSize
26.26 KB

I re-rolled rebased the patch against 8.3.x.
No conflict after few trials (got it from commit 5dd8636e97) then rebased on 8.3.X, and same file size.

Status: Needs review » Needs work

The last submitted patch, 59: 2570985-59.patch, failed testing.

chipway’s picture

I have to change the test and will do it next week.

chipway’s picture

Status: Needs work » Needs review
FileSize
27 KB

Here is the patch with descriptions changes from https://www.drupal.org/node/2570985#comment-11678809 and Test change.
@Manjit.Singh, I think that the display layout changes a little because of shorter descriptions text and responsive display. I propose to not change css or layout as it fits when I try it on several view width.

mradcliffe’s picture

Thank you for the past couple of patches, @chipway.

Could you provide an interdiff between the patches from #49 to #59 and from #59 to #62? An interdiff helps reviewers look at the changes between patches and makes it easier to check the intended changes from what you worked on.

chipway’s picture

Thanks @mradcliffe,
here are the interdiff files, but I do not know why there is no difference between 2570985-ui-text-extend-page-49.patch and 2570985-59.patch, while 2570985-ui-text-extend-page-49.patch didn't apply on 8.3.x, and 2570985-59.patch applies. Any idea of the reason?

mradcliffe’s picture

I think it's because the patch didn't have any changes and could be applied to 8.3.x fine as-is from the 8.2.x version.

Thank you for posting interdiffs.

Bojhan’s picture

The descriptions for Views are a little diffuse. Its unclear which one is about powering the API's and which one allows you to create (with clicks) the views?

chipway’s picture

Would these be better for views and views_ui?

/core/modules/views/views.info.yml
+description: 'Provides the Views API to fetch information from the database and to display it in different formats.'
or
+description: 'Provides the Views API to fetch information of entities from the database and to display it in different formats.' (which is closer to the help text).

/core/modules/views_ui/views_ui.info.yml
+description: 'Provides a user interface for creating and managing views.'

chipway’s picture

Status: Needs review » Needs work

Waiting for review of https://www.drupal.org/node/2570985#comment-11702267, then will need to change the patch.

lomasr’s picture

FileSize
52.4 KB
39.54 KB

Patch in #62 applied cleanly . Please see before & after screens.

chipway’s picture

Status: Needs work » Needs review
FileSize
27.01 KB
889 bytes

Little update including #67.

ifrik’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -String change in 8.2.0 +String change in 8.3.0

Thanks,
I think that's now really all done.

I'll make separate issues for the new experimental modules. They need some work anyway to fix their help texts, so the module descriptions can be done together with that.

lomasr’s picture

@ifrik I think you have created duplicate issues. 2830832 # 2830833 have same titles. As per the Issue scope https://www.drupal.org/core/scope . I think we don't need new issues. I have added changes for Content Moderation , Place Block.

Please review

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 73: 2570985-72.patch, failed testing.

ifrik’s picture

Thanks for fixing the duplication.

I was trying to avoid that with every new experimental module we start delaying this issue further, and those modules need work on their UI texts anyway.

Can you make an interdiff for the new changes?

chipway’s picture

I agree with ifrik.
We should fix this issue and use new issues for experimental modules, or we will never fix this one as new experimental modules will continue to appear.

tkoleary’s picture

Bojhan’s picture

Status: Needs work » Reviewed & tested by the community

Back to RTBC, I think we need to either get this in or split this up. This patch is way too hard to review and discuss.

chipway’s picture

FileSize
1.84 KB

I added interdiff-2570985-70-72.txt for better readability for myself and others.

@lomasr, Thank you for your help, but I think that your patch is out of the scope of this issue because the current issue doesn't deal with hook_help. On another hand, Content Moderation & Place Block will still be experimental in 8.3. I would suggest opening a new issue or adding this to another existing issue.

@Bojhan, Thank you. I agree. I would suggest to stop the current issue at #70.

xjm’s picture

Status: Reviewed & tested by the community » Needs work

Thanks everyone for continuing to work on this. I agree with @Bojhan that we should split this issue up since the scope is too hard to complete in one patch. Edit: the descriptions that are being rewritten are each about a separate concept, so per https://www.drupal.org/core/scope it makes sense to have issues to discuss conceptual groups of them in their own right. For simply fixing verb forms and punctuation, a single patch is correct, but best to not mix the two.

  1. +++ b/core/modules/action/action.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Perform tasks on specific events triggered within the system.'
    +description: 'Allows configuration of tasks for the system to execute in response to events.'
    

    This item is a noun salad. Is "for the system" necessary? Can we just say "Allows configuration of tasks that will be executed in response to events"?

  2. +++ b/core/modules/block/block.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Controls the visual building blocks a page is constructed with. Blocks are boxes of content rendered into an area, or region, of a web page.'
    +description: 'Allows users to configure blocks and to place them in the regions of a theme.'
    

    I still think this is a regression. Let's please add a parenthetical something like:

    "Allows the user to configure blocks (boxes of content) and to place them in regions of a theme."

    I see @ifrik's earlier point that it's not always content, but I think enough are content or content-like that it gets the point across. And I don't think we should remove the word "boxes" just because there's a contrib module called that, if it helps the user understand what a block is.

  3. +++ b/core/modules/editor/editor.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides a means to associate text formats with text editor libraries such as WYSIWYGs or toolbars.'
    +description: 'Provides a framework to associate text editors and toolbars with text formats.'
    

    Losing the keyword WYSIWYG here again. Let's just say "text editors (like WYSIWIGs)".

  4. +++ b/core/modules/link/link.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides a simple link field type.'
    +description: 'Defines a field type that contain internal or external URLs.'
    

    This includes a grammatical error ("contain" is the wrong verb form).

  5. +++ b/core/modules/syslog/syslog.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Logs and records system events to syslog.'
    +description: 'Logs events by sending messages to the logging facility of the web server.'
    

    I think this description actually is less clear and is longer than it needs to be. Maybe:
    "Logs events to the web server's system log."

  6. +++ b/core/modules/telephone/telephone.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Defines a field type for telephone numbers.'
    +description: 'Defines a field type that contains telephone numbers.'
    

    This description is also confusing. It sounds like you install this module and get some telephone numbers on your site. (The word "contains" for other field types confused me when I read it, actually.)

    I think the previous description was fine.

  7. +++ b/core/modules/views/views.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Create customized lists and queries from your database.'
    +description: 'Provides the Views API to fetch information from the database and to display it in different formats.'
    

    Elsewhere, we call an API a "framework". Do we need to repeat the name of the module in the description? We don't do that elsewhere

We could split this into one patch for the field type descriptions, another for modules that only provide APIs, etc. We could also split out the specific descriptions that are tricky, like those for views and blocks. I'd be okay with removing description changes I've raised concerns with from this patch and putting them in a separate issue. This patch does include a lot of great improvements that we could get in now and not block on the trickier ones.

tkoleary’s picture

I think in general we should be putting the functionality provided to users first, in the form of "Users can". Beginning with a verb when the subject is the user, not the module leads to confusion, as does using roles (administrators can) since those can be changed.

In the event there is no action the user can take with the module, we can start with a verb which should always create a sentence in which the module name is assumed. eg.

[Syslog] logs events to the web server's system log.

Where there is a clear task for the user but there also needs to be a clear description of the underlying function we could begin a second sentence with "The module..." eg.

Users can create customized lists, tables or grids of content. The module queries the database and re-formats the content in a variety of formats.

Separating User and Module specific information frees us up to be more everyday with the former, and more technical with the latter.

@xjm, @lomasr

#1 Better still, also remove the passive voice:

Users can create tasks that the module will execute in response to events.

#2

Users can create blocks of content and place them in regions of the page. The module provides a list of regions in each theme and the blocks they contain.

#3 This is the key user benefit.

Users can choose text editors, WYSIWYG toolbars and text formats for different kinds of content.

#4

Users can create a link field. The module defines a field type for internal or external URLs.

#5 Agree with xjm

Logs events to the web server's system log.

#6 Leaves out the key benefit

Users can add a telephone field that phones can recognize. The module defines a field type for the HTML5 'telephone' tag.

xjm’s picture

I agree we should avoid the passive voice, though actually "Allows users to..." is not passive voice. Probably Kevin is getting at the notion that "Allows" is a weak verb or that we should avoid verb + infinitive. (Passive voice would be "Users are allowed to...")

Users can create customized lists, tables or grids of content. The module queries the database and re-formats the content in a variety of formats.

FWIW, I think this is too long and less clear.

I also find the proposed sentences with "Users can" confusing, because if I were looking over the module page, it wouldn't be clear to me that the module is what makes it so that the users can do those things. So I think the standardization agreed in the summary, of starting with a third-person present tense indicative verb that has the module as the subject, is actually the best approach.

Can someone remove the changes to descriptions related to #80 and #81, as well as add a postponed followup for them, so we can review what's left and try to get some of the improvements that have consensus in? Thanks!

ifrik’s picture

Hi tkoleary,

we have a clear standard for how to word these descriptions as outlined in the Help Text Standards, and this has been repeatedly reviewed by members of the documentation group.
I'm happy to take up the points raised is #80, but if people are interested in changing the default format for these module description then it shouldn't been done in an adhoc manner, but as a clear change to the Help Text Standards.
Our aim here was to have an consistency that makes it easy for users to use this page.

chipway’s picture

Status: Needs work » Needs review
FileSize
642.55 KB

Thanks for your inputs,

2570985-70.patch didn't apply anymore. I re-rolled it and removed #80, #81.

@xjm, what do you mean by "add a postponed followup for" #80 and #81? I understood create a new issue for them. Am I right?

I think we should create also an issue for #73 (includes block_place and content_moderation).

Do we split new issues and how?

I will add an interdiff later today.

[EDIT] Uploaded wrong file. I see it later.

Status: Needs review » Needs work

The last submitted patch, 84: 2570985-84.patch, failed testing.

chipway’s picture

Status: Needs work » Needs review
FileSize
22.04 KB
3.79 KB
5.5 KB

Correct file for #84: 2570985-70.patch without strings from #80, #81.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

ifrik’s picture

Adding the issue tags again that got removed, and working on this during DevDaysSeville.

ifrik’s picture

Issue summary: View changes

I've changed the issue summary to make this issue for stable modules only. Experimental modules need their own issues because they are too much changing their functionality and if we continue playing catch-up on them we won't be going anywhere.

Chipway, your patch seem to have revert a number of texts back to their original wording, even though they had been reviewed repeatedly. I'm not sure assume that's an oversight in the roll-back. So unless the modules have been mentioned in #80, I revert the wording to what it previously was.
The most of the proposals in #81 are not in accordance to the Help text standard. I'll have a look at the points raised, but I'll stick to the standards.

We can discuss changing them, but then that should be done generally and be documented and not on an ad-hoc basis.

ifrik’s picture

Issue tags: -String change in 8.3.0 +String change in 8.4.0
FileSize
26.7 KB
6.37 KB

I've fixed the changes that got lost in the re-roll, and took up the comments in #80.
I've changed the "contains" to a wording with "for" for more field types, because it does sound clearer and I really couldn't remember why we previously had come up with that term.

ifrik’s picture

I've taken up the last comments from 80 and 81 by

  • removing the "contain" from the link module, so that none of the Field modules uses it, and
  • changing all the use of "administrator" to "user" since that would refer to a role rather to users in general.

All module descriptions of stable modules now consistently state what the modules does.

Turning all the "Module abc allows users to xyz" into "Module abc. Users can do xyz" would only replace one standard phrase into another, possibly with a bit more ambiguity because users can in some cases do the same task in other ways as well. It would also break the ability to just read the Module name and description as one sentence.

I could split this up in several individual patches, but I don't think this really getting us anywhere.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Bojhan’s picture

Assigned: Unassigned » yoroy

I think this warrants discussion with @yoroy, we need to get this in one go and stop iterating :)

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

ifrik’s picture

The last patch included some files that didn't belong here. I've removed them.
The module descriptions have not been changed any further.

Status: Needs review » Needs work

The last submitted patch, 95: 2570985-ui-text-extend-page-95.patch, failed testing. View results

ifrik’s picture

Status: Needs work » Needs review
FileSize
27.3 KB
1.33 KB

Re-rolled because the tests changed

ifrik’s picture

Yoroy,
could you review this or give me any other idea how to continue with this?

ifrik’s picture

Assigned: yoroy » Unassigned

Unassigning yoroy because he told me that he wouldn't deal with this issue atm.

ifrik’s picture

Assigned: Unassigned » ifrik
Status: Needs review » Needs work

Patch needs rerolling for 8.6.
I'll do that during DevDaysLisbon

ifrik’s picture

Status: Needs work » Needs review
Issue tags: +DevDaysLisbon
FileSize
27.31 KB

Rerolled the patch for forum, tracker and content_translation.

The patch does not include the descriptions of new experimental modules, or previously experimental modules that are now stable: Media, Settings tray, Workflow, Datetime range, Migrate, Field layout, Layout builder, Media library and Workspace.

The format follows the Help text standards on https://www.drupal.org/docs/develop/documenting-your-project/help-text-s...

jpoesen’s picture

Reviewed the patch.

I like the clear language and consistency in word choice and punctuation.
As far as I can see, language-wise, this looks good (unless there are style guidelines we're adhering to and that I'm missing).

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

ifrik’s picture

Issue summary: View changes
dawehner’s picture

Overall I think these are great improvements, just some minor questions / comments.

  1. +++ b/core/modules/block/block.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Controls the visual building blocks a page is constructed with. Blocks are boxes of content rendered into an area, or region, of a web page.'
    +description: 'Allows users to configure blocks (containing content, forms, etc) and to place them in the regions of a theme.'
    

    I just learned that "etc" needs a dot like "etc.". Thank you @xjm

  2. +++ b/core/modules/block_content/block_content.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Allows the creation of custom blocks through the user interface.'
    +description: 'Allows the creation of custom blocks and block types.'
    

    This one feels overly specific. Do users really need to know about block types here?

  3. +++ b/core/modules/field/field.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Field API to add fields to entities like nodes and users.'
    +description: 'Provides the Field API to add fields to entities.'
    

    I would suggest something like "Provides the capabilities to add new fields to entities."

  4. +++ b/core/modules/field_ui/field_ui.info.yml
    @@ -1,6 +1,6 @@
     type: module
    -description: 'User interface for the Field API.'
    +description: 'Provides a user interface for managing fields.'
     package: Core
    

    It feels like the field UI and the field module could be more similar. How about "Provides a user interface for field module?"

  5. +++ b/core/modules/simpletest/simpletest.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Provides a framework for unit and functional testing.'
    +description: 'Provides a framework for running automated tests.'
    

    I think this should be more like "Provides an interface for running automated tests."

ifrik’s picture

Status: Needs review » Needs work

Thanks,
I'm working on it during DrupalEurope

ifrik’s picture

Assigned: ifrik » Unassigned
Status: Needs work » Needs review
Issue tags: +DrupalEurope
FileSize
27.62 KB
1.82 KB

Thanks dawehner for the comments.

About comment 2: I think it is important to say that the Block Content module also includes the creation of custom block types, because otherwise it is unclear which of the two block modules provide that functionality.
I've taken up the rest of the comments.

I had to rerolled the patch from #101 because the Migrate Drupal module is not experimental anymore. This is not included in the interdiff.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

About comment 2: I think it is important to say that the Block Content module also includes the creation of custom block types, because otherwise it is unclear which of the two block modules provide that functionality.
I've taken up the rest of the comments.

Good point!

I went through the entire list of descriptions and they seem to follow the standard defined in the issue summary. They all seem to be reasonable for me, so it feels like getting things in would make sense.
Given these are string changes, we would just apply this to 8.7.x I assume.

The last submitted patch, 101: 2570985-module-descriptions-101.patch, failed testing. View results

ifrik’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +String change in 8.7.0
ifrik’s picture

Status: Needs review » Reviewed & tested by the community

Argh... I only meant to add the String change tag - not set it back to "Needs review".

ifrik’s picture

What does it take to commit this? There are now some other issues with improved UI texts somewhat waiting for this to be committed, for example #2999585

webchick’s picture

Status: Reviewed & tested by the community » Needs work

I think this one is tricky to review, because it isn't just a straight "reformat this description to fit the standards"; in many cases it's "re-write the string with a different meaning entirely" and it's not completely clear why we're doing that.

For example:

-description: 'Enables banning of IP addresses.'
+description: 'Allows users to ban visits from specific IP addresses.'

The old description seems to follow the standard just fine ("The description starts with a verb and should be short and concise."). But now we've introduced the concept of users banning visits from specific IP addresses, but this is incorrect. Administrators may be able to do that, with proper permissions, but regular users, no.

And then in an example like this:

-description: "WYSIWYG editing for rich text fields using CKEditor."
+description: 'Provides a visual text editor (WYSIWYG) and adds a toolbar to text fields using CKEditor.'

Here we're switching a non-verb to a verb, which is good (adheres to the first part of the rule: "The description starts with a verb"), but we're also vastly extending the description, which goes against the second half of the rule: "should be short and concise." We have help pages for extended info; these descriptions should basically be only the minimal amount of information for someone to determine whether or not they should turn it on or off.

I think we should try and re-scope this to just reformatting any texts that don't follow the standard. For example:

-description: "WYSIWYG editing for rich text fields using CKEditor."
+description: 'Provides a WYSIWYG editor for rich text fields using CKEditor.'

...as this we could get in quickly.

And then, maybe have another meta issue to talk about whether the existing standard allows enough information, and maybe adjust it in response, and at that point, add back in some of these more creative ones.

benjifisher’s picture

Issue summary: View changes
Issue tags: +Needs issue summary update, +Novice

It will be much easier to review this issue if we are much more detailed in the "Proposed Resolution" section of the issue summary. As is, I have to examine the patch or study the comments to see what changes are being recommended.

For the same reason, let's copy the appropriate section of the page on Help text standards. Keep the link to the full page.

I think that updating the issue summary qualifies as a Novice task.

alexpott credited wengerk.

alexpott credited wla_g.

alexpott’s picture

Closed #2999585: Update the Datetime Range module description in favour of this issue. Crediting people who worked on that issue - wla_g, ifrik, wengerk, Gábor Hojtsy

volkswagenchick’s picture

Issue tags: +fldc19, +sfdug, +dcnj19

Tagging for upcoming contribution days.

volkswagenchick’s picture

Issue tags: -dcnj19 +midcamp2019

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

alexpott credited RuslanP.

alexpott’s picture

Marked #3045382: RESTful Module Description: add dot to the end of the sentence as a duplicate and crediting the patch author @RuslanP

alexpott’s picture

Marked #3045379: Unify sentence closings of core module description lines on Extend page as a duplicate. Crediting @Balu Ertl and @RuslanP for working on that one.

vacho’s picture

Issue tags: +Needs reroll
vacho’s picture

Patch rerolled

Balu Ertl’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
45.07 KB

@vacho Thanks for rerolling the patch, which now I tested, applies cleanly:
Screenshot comparison

alexpott’s picture

Status: Reviewed & tested by the community » Needs work

@webchick's review from #113 has not been addressed. I think the key point that we should :

try and re-scope this to just reformatting any texts that don't follow the standard. For example:

-description: "WYSIWYG editing for rich text fields using CKEditor."
+description: 'Provides a WYSIWYG editor for rich text fields using CKEditor.'

...as this we could get in quickly.

And then we can open an issue to refine the standard and make the other improvements this issue suggests.

ifrik’s picture

I will work on this during DevDays 2019, and also update the issue summary.

Initially - in Barcelona years ago - these were listed as individual issue, but we were asked to make this one issue, because otherwise it would be to difficult to review, but if this should be split up again: so be it.

Most core module help texts have already been changed for the earlier 8.x releases, and the description texts should (1) follow the common standard, and (2) use the wording as used in the help text as much as possible, since these have been extensively reviewed.

alexpott’s picture

@ifrik thanks! I don't think we should have individual issues. I think we should have 1 issue for the simple type of formatting / rules as @webchick documents and 1 for the more complex improvements that need a bit more discussion.

ifrik’s picture

Okay, then I'll be working on that next week.

ifrik’s picture

Issue tags: +DevDaysTransylvania

Working on this now during DevDays

ifrik’s picture

Issue summary: View changes
ifrik’s picture

Issue summary: View changes
ifrik’s picture

Status: Needs work » Needs review
FileSize
11.17 KB
16.34 KB

This patch now only contains module descriptions where the changes are formal rather then content. I've changed the Ban module description back to "administrators" because that's what is in the module help text as well.

The interdiff is based on #107, because the subsequent re-roll seems to have simply removed the changes for the Serialization module and they shouldn't get lost.

The following module descriptions are now changed:
Actions, Aggregator, Ban, HTTP Basic Authentication, Custom Block, Breakpoint, Color, Comment, Configuration Manager, Configuration Translation, Contact, Content Translation, Contextual Links, Database Logging, Internal Dynamic Page Cache, Field UI, File, Image, Field types, Multilingual, Custom Menu Links, Internal Page Cache, Search, Tour, Views UI,

volkswagenchick’s picture

Issue tags: +drupalnorth2019

Tagging for DrupalNorth 2019

shimpy’s picture

Status: Needs review » Needs work

I have reviewed the patch created in #136 as per my understanding

name: Actions
type: module
-description: 'Perform tasks on specific events triggered within the system.'
+description: 'Allows configuration of tasks that will be executed in response to events.'

Rather we can use 'Allows configuration of tasks to be executed in response to events' that will shorten the sentence as well as will improve the sentence build

name: Aggregator
type: module
-description: 'Aggregates syndicated content (RSS, RDF, and Atom feeds) from external sources.'
+description: 'Gathers and displays syndicated content (RSS, RDF, and Atom feeds) from external sources.'

Aggregated better describe the sentence then gathers as the module name is also aggregator. For display we can rather put Aggregate and display syndicated contents (RSS, RDF and Atom Feeds) from external sources.

name: Breakpoint
type: module
-description: 'Manage breakpoints and breakpoint groups for responsive designs.'
+description: 'Manages breakpoints and breakpoint groups for responsive designs.'

Use of tense is not correct. Either it should be 'manage breakpoints and breakpoint groups' or 'manages breakpoint and breakpoint group'

name: Comment
type: module
-description: 'Allows users to comment on and discuss published content.'
+description: 'Allows users to comment on content.'

It should be 'allow users to comment on the published content.
name: Image
type: module
-description: 'Defines an image field type and provides image manipulation tools.'
+description: 'Defines a field type for image files and provides tools to configure their display.'

Instead we can use Defines a field type for image media and provides display configuring tools

-name: Internal Page Cache
+name: 'Internal Page Cache'
type: module
-description: 'Caches pages for anonymous users. Use when an external page cache is not available.'
+description: 'Caches pages for anonymous users and can be used when external page cache is not available.'

Rather we can use 'Caches pages for anonymous users to use when external page cache is not available.'

This is all what i found can be changed. I might be wrong as well.
Thanks

govind.maloo’s picture

Status: Needs work » Needs review
FileSize
10.7 KB
2.63 KB
volkswagenchick’s picture

Issue tags: +badcamp2019

Tagging for badcamp2019

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

shimpy’s picture

cheng75’s picture

The patch is not applying on my system

mradcliffe’s picture

Status: Needs review » Needs work

I was successfully able to apply the patch in #139 on Drupal core 8.9.x. @cheng75, try cloning Drupal core from the project page instructions on 8.9.x or 9.0.x branch.

  1. +++ b/core/modules/aggregator/aggregator.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Aggregates syndicated content (RSS, RDF, and Atom feeds) from external sources.'
    +description: 'Aggregate and display syndicated contents (RSS, RDF and Atom Feeds) from external sources.'
    

    This should be "Aggregates and displays".

  2. +++ b/core/modules/comment/comment.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Allows users to comment on and discuss published content.'
    +description: 'Allow users to comment on the published content.'
    

    There is a regression here with the tense. Should be "Allows users"

  3. +++ b/core/modules/aggregator/aggregator.info.yml
    @@ -1,6 +1,6 @@
    -description: 'Aggregates syndicated content (RSS, RDF, and Atom feeds) from external sources.'
    +description: 'Aggregate and display syndicated contents (RSS, RDF and Atom Feeds) from external sources.'
    

    This should be "Aggregates and displays".

I reviewed the patch and the issue. I think this is still a Novice issue for fixing the language in the patch.

shimpy’s picture

Status: Needs work » Needs review
FileSize
10.57 KB
970 bytes

Hii

I have created patch as per suggestions in #144.

ravi.shankar’s picture

ifrik’s picture

Assigned: Unassigned » ifrik

About the Aggregate module and the change proposed in #138: The wording "'Gathers and displays syndicated content (RSS, RDF, and Atom feeds) from external sources." was specifically chosen because it does _not_ use the verb that is already in the module name.
If people know what is meant by "aggregate" then they don't need the additional explanation - and if they don't know it then the description should provide a different way of explaining it.

Also - as describe in the issue description - these description should follow the wording used for the module help pages because these have been reviewed in depth. So before changing the wording of a description, please check the help text of the module.

Verb forms: The module name and description text together form a sentence, such as The module does something... See issue description. So the ones that were changed in the last patches need to be changed back again.

I'm working on this now during Contribution weekend 25/26 January.

ifrik’s picture

I've reverted most changes that were done in #139 and #145, but kept the shortened text for the Action module and the idea for shortening the text for the image module.

Therefore I've added two different interdiffs for comparing it to #136 and #145.

  1. Aggregator: I've reverted the text back because "gathers and displays" is consistent with the reviewed help text (see above) and because the deletion of the Oxford comma and changing the capitalization of feeds is against the style guide.
  2. Comment: Reverted the text because the change is factually wrong: Comments can also be added to unpublished content.
  3. Dynamic Page Cache text: The change was factually wrong, and the wording is inline with the help text which has the corrected information about how the module works. The previous wording had also been discussed as such before.
  4. Breakpoint module: Reverted because the last verbform was correct
  5. Image: change "configuring tools" to "configuration tools"
ifrik’s picture

Assigned: ifrik » Unassigned
ifrik’s picture

sahil06’s picture

the patch is not applying

cheng75’s picture

Is it applying for you guys ?

Balu Ertl’s picture

Status: Needs review » Reviewed & tested by the community

Now tested, I do confirm that latest patch attached to comment #148 does cleanly applies to the current HEAD of 8.9.x branch (at commit hash 25fd25a).

Read through the suggested changes and I agree that they convey message better based on the viewpoints discussed above. So I take the bravery to mark es RTBC. I hope we can get them into core soon, so leave enough time for translator colleagues as well, to have the chance to re-translate such important strings until June.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 915b74f and pushed to 9.0.x. Thanks!
Committed 5b786ae and pushed to 8.9.x. Thanks!

I cherry-picked this forward to 9.0.x because the patch won't apply to 9.0.x but git could sort it out :)

These descriptions are certainly better than what we have now and more consistent. There might well be future updates and improvements but trying to do them on this issue is only going to stop people from getting these improvements - let's not let perfect be the enemy of the good (or something like that).

  • alexpott committed 915b74f on 9.0.x
    Issue #2570985 by ifrik, chipway, lomasr, jhodgdon, shimpy, govind.maloo...

  • alexpott committed 5b786ae on 8.9.x
    Issue #2570985 by ifrik, chipway, lomasr, jhodgdon, shimpy, govind.maloo...
Balu Ertl’s picture

Yay! 🙌 🎊🍻

ifrik’s picture

Hurray!

Now we just need somebody to review the second set of descriptions that we were ask to move into a separate issues t https://www.drupal.org/project/drupal/issues/3060616 ...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.