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.
Comment | File | Size | Author |
---|---|---|---|
#148 | 2570985-module-descriptions-148.patch | 11.15 KB | ifrik |
#148 | interdiff-2570985-145-148.txt | 2.48 KB | ifrik |
#148 | interdiff-2570985-136-148.txt | 959 bytes | ifrik |
#145 | interdiff.txt | 970 bytes | shimpy |
#145 | 2570985_145.patch | 10.57 KB | shimpy |
Comments
Comment #2
ifrikComment #3
ifrikI'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.
Comment #4
ifrikI've done Help to Search.
Comment #5
ifrikI'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.
Comment #8
ifrikSome code from reviewing some other patch got mixed in here.
Comment #9
ifrikComment #10
ifrikComment #14
ifrikComment #15
isntall CreditAttribution: isntall at Drupal Association commentedpatch has been re-submitted and is running.
Comment #17
ifrikComment #18
Bojhan CreditAttribution: Bojhan commentedI 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.
Comment #19
ifrikSome 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.
Comment #20
ifrikI'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
Comment #21
yoroy CreditAttribution: yoroy at Wunder commented"handling dynamic content correctly", I don't know what this means. It suggests that without it, dynamic content is handled incorrectly. Is that true?
"Provides ways to show toolbars for formatting content."? Or is that too simplified?
Maybe Enables instead of Allows? "Allows" smells of permissions.
…configure text formats that prepare content for display.
Comment #22
ifrikI 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.
Comment #23
Sam152 CreditAttribution: Sam152 commentedGreat work on making things consistent, good to see. Few things I suggest or picked up on:
Double space and capital?
There aren't any abbreviations elsewhere?
Are the etc.'s required? Why not mention the RDF spec instead of quoting the use cases?
Normalizing is the terminology used to reverse serializing. I'd also stick to "to and from" instead of to/from.
Should this be "content on"?
Sticking with the theme should these be "Provides a field type for..."
Extra comma?
Comment #24
ifrikThanks 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.
Comment #25
jhodgdonWow. 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:
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.
Hm. Is it actually not possible to comment on unpublished content? I have no idea.
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?
database of the site
=>
site database
... to format content... hm...
how about
Provides a framework for other modules to add text editors and toolbars to formatted text fields.
Um. This is ... not good. The punctuation is not great, for one thing. Maybe rewrite this one?
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.
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.
No, it defines a field type, not "fields".
Everywhere else the descriptions say "users" not "administrators".
Why take the quotes off here? You've added them everwhere else.
actually it does this for all users, not "a user".
administrators => users
interface => user interface
needs comma before "or"
I would make this plural
custom URLs
paths
separate from what?
I liked the previous description better.
administrators => users
converts => convert
actually the grammar of this needs more fixing than that!
hm. not really "how often", more like "how many times" I think?
This should not be using "" quotes I think?
um, isn't it all configuration? This seems redundant.
no, it defines field types, not fields.
field types not fields
which -> that
Actually it only displays them, as modules provide them.
interface -> user interface
Um. Not really.
Comment #26
ifrikThanks 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.
Comment #27
ifrikComment #28
jhodgdonRegarding 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!!
Comment #29
ifrikI'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.
Comment #30
jhodgdonRegarding 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.
Comment #31
ifrikHow about
Provides a framework to associate text formats with text editors and toolbars.
?That's pretty close to what it was anyway.
Comment #32
jhodgdonThat 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.
Comment #33
ifrikThat's exactely what I had been wondering about as well :-)
Comment #34
jhodgdonOn a different issue, @Bojhan suggested removing "site" where possible... Looking at these:
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?
could lose
to the site
here
could lose "site" here, although I think maybe I suggested adding it ;)
I think "including those with dynamic content" needs to be surrounded by commas?
could drop "within the site"
typo: userss
Could make this even more concise:
Allows users to configure available languages
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
Similarly, I think this would be slightly better wording as:
Provides a framework for migrating data from previous versions of Drupal into the site
I kind of think "site" is good here.
or => and ?
specify => create?
could lose "on the site"
How about losing the word "structure" here?
Better wording:
Provides a service for converting data to and from formats such as JSON and XML
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?
could drop "of the site"
fields types that contain => a field type that contains
probably site is OK here
I really like this one!
Comment #35
jhodgdonActions... 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.
Comment #36
ifrikShortcuts 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.
Comment #37
jhodgdonhttps://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.
To be consistent with the rest, this needs a . at the end
shortcut -> shortcuts
contain -> contains
Comment #38
xjm"Enables users to X" is a bit strange. Maybe just "Allows" instead?
Still providing a provider. ;) but I guess that this is fine.
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
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"?
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 .
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.
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?
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.
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"?
Hmm, system does a lot more than that.
Not sure about this one... modules don't have to define tabs and trays; just the links.
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.
Comment #39
Bojhan CreditAttribution: Bojhan commentedThis 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
Comment #40
ifrikI'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.
Comment #41
jhodgdonHopefully @Bojhan can comment/review...
Comment #42
no_angel CreditAttribution: no_angel as a volunteer commentedComment #43
no_angel CreditAttribution: no_angel as a volunteer commentedHi @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
Comment #44
jhodgdonRight, 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.
Comment #46
yoroy CreditAttribution: yoroy commentedComment #47
ifrikComment #48
ifrikI'll be working on this during DevDaysMilan
Comment #49
ifrikI'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.
Comment #51
ifrikRandom test bot fail.
Comment #53
Manjit.SinghThis 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.
Comment #54
Manjit.SinghComment #56
ifrikAdded the Barcelona tag again, because there was no reason to remove it,
Comment #58
chipway CreditAttribution: chipway at Chipway commentedI 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
Comment #59
chipway CreditAttribution: chipway at Chipway commentedI 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.
Comment #61
chipway CreditAttribution: chipway at Chipway commentedI have to change the test and will do it next week.
Comment #62
chipway CreditAttribution: chipway at Chipway commentedHere 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.
Comment #63
mradcliffeThank 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.
Comment #64
chipway CreditAttribution: chipway at Chipway commentedThanks @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?
Comment #65
mradcliffeI 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.
Comment #66
Bojhan CreditAttribution: Bojhan commentedThe 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?
Comment #67
chipway CreditAttribution: chipway at Chipway commentedWould 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.'
Comment #68
chipway CreditAttribution: chipway at Chipway commentedWaiting for review of https://www.drupal.org/node/2570985#comment-11702267, then will need to change the patch.
Comment #69
lomasr CreditAttribution: lomasr at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedPatch in #62 applied cleanly . Please see before & after screens.
Comment #70
chipway CreditAttribution: chipway at Chipway commentedLittle update including #67.
Comment #71
ifrikThanks,
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.
Comment #72
ifrikI've made separate issues #2830832: Edit hook_help text for Content Moderation module, #2830833: Edit hook_help text for Place block module and #2830834: Edit hook_help text for Settings Tray module
Comment #73
lomasr CreditAttribution: lomasr at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commented@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
Comment #75
ifrikThanks 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?
Comment #76
chipway CreditAttribution: chipway at Chipway commentedI 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.
Comment #77
tkoleary CreditAttribution: tkoleary at Acquia commentedComment #78
Bojhan CreditAttribution: Bojhan commentedBack 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.
Comment #79
chipway CreditAttribution: chipway at Chipway commentedI 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.
Comment #80
xjmThanks 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.
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"?
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.
Losing the keyword WYSIWYG here again. Let's just say "text editors (like WYSIWIGs)".
This includes a grammatical error ("contain" is the wrong verb form).
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."
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.
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.
Comment #81
tkoleary CreditAttribution: tkoleary at Acquia commentedI 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.
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.
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:
#2
#3 This is the key user benefit.
#4
#5 Agree with xjm
#6 Leaves out the key benefit
Comment #82
xjmI 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...")
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!
Comment #83
ifrikHi 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.
Comment #84
chipway CreditAttribution: chipway at Chipway commentedThanks 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.
Comment #86
chipway CreditAttribution: chipway at Chipway commentedCorrect file for #84: 2570985-70.patch without strings from #80, #81.
Comment #88
ifrikAdding the issue tags again that got removed, and working on this during DevDaysSeville.
Comment #89
ifrikI'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.
Comment #90
ifrikI'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.
Comment #91
ifrikI've taken up the last comments from 80 and 81 by
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.
Comment #93
Bojhan CreditAttribution: Bojhan commentedI think this warrants discussion with @yoroy, we need to get this in one go and stop iterating :)
Comment #95
ifrikThe last patch included some files that didn't belong here. I've removed them.
The module descriptions have not been changed any further.
Comment #97
ifrikRe-rolled because the tests changed
Comment #98
ifrikYoroy,
could you review this or give me any other idea how to continue with this?
Comment #99
ifrikUnassigning yoroy because he told me that he wouldn't deal with this issue atm.
Comment #100
ifrikPatch needs rerolling for 8.6.
I'll do that during DevDaysLisbon
Comment #101
ifrikRerolled 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...
Comment #102
jpoesen CreditAttribution: jpoesen at Code Enigma commentedReviewed 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).
Comment #104
ifrikComment #105
dawehnerOverall I think these are great improvements, just some minor questions / comments.
I just learned that "etc" needs a dot like "etc.". Thank you @xjm
This one feels overly specific. Do users really need to know about block types here?
I would suggest something like "Provides the capabilities to add new fields to entities."
It feels like the field UI and the field module could be more similar. How about "Provides a user interface for field module?"
I think this should be more like "Provides an interface for running automated tests."
Comment #106
ifrikThanks,
I'm working on it during DrupalEurope
Comment #107
ifrikThanks 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.
Comment #108
dawehnerGood 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.
Comment #110
ifrikComment #111
ifrikArgh... I only meant to add the String change tag - not set it back to "Needs review".
Comment #112
ifrikWhat 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
Comment #113
webchickI 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:
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:
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:
...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.
Comment #114
benjifisherIt 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.
Comment #118
alexpottClosed #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
Comment #119
volkswagenchickTagging for upcoming contribution days.
Comment #120
volkswagenchickComment #123
alexpottMarked #3045382: RESTful Module Description: add dot to the end of the sentence as a duplicate and crediting the patch author @RuslanP
Comment #125
alexpottMarked #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.
Comment #126
vacho CreditAttribution: vacho at Skilld commentedComment #127
vacho CreditAttribution: vacho at Skilld commentedPatch rerolled
Comment #128
Balu Ertl@vacho Thanks for rerolling the patch, which now I tested, applies cleanly:
Comment #129
alexpott@webchick's review from #113 has not been addressed. I think the key point that we should :
And then we can open an issue to refine the standard and make the other improvements this issue suggests.
Comment #130
ifrikI 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.
Comment #131
alexpott@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.
Comment #132
ifrikOkay, then I'll be working on that next week.
Comment #133
ifrikWorking on this now during DevDays
Comment #134
ifrikComment #135
ifrikComment #136
ifrikThis 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,
Comment #137
volkswagenchickTagging for DrupalNorth 2019
Comment #138
shimpyI 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
Comment #139
govind.maloo CreditAttribution: govind.maloo at Salsa Digital commentedComment #140
volkswagenchickTagging for badcamp2019
Comment #142
shimpyComment #143
cheng75 CreditAttribution: cheng75 as a volunteer and at Google Code-In commentedThe patch is not applying on my system
Comment #144
mradcliffeI 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.
This should be "Aggregates and displays".
There is a regression here with the tense. Should be "Allows users"
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.
Comment #145
shimpyHii
I have created patch as per suggestions in #144.
Comment #146
ravi.shankar CreditAttribution: ravi.shankar at OpenSense Labs commentedComment #147
ifrikAbout 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.
Comment #148
ifrikI'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.
Comment #149
ifrikComment #150
ifrikComment #151
sahil06 CreditAttribution: sahil06 commentedthe patch is not applying
Comment #152
cheng75 CreditAttribution: cheng75 as a volunteer and at Google Code-In commentedIs it applying for you guys ?
Comment #153
Balu ErtlNow 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.
Comment #154
alexpottCommitted 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).
Comment #157
Balu ErtlYay! 🙌 🎊🍻
Comment #158
ifrikHurray!
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 ...