Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The UI never talks about 'Node' or 'nodes' anymore. There are a few patches underway (#544318: Rework trigger_menu() & #375397: Make Node module optional) that cause Node.module's human-readable name to be visible in the UI, so here's a patch to rename 'Node' to 'Content'.
Comment | File | Size | Author |
---|---|---|---|
#27 | rename_node_to_content_02.patch | 311 bytes | Xano |
#4 | rename_node_to_content_01.patch | 874 bytes | Xano |
rename_node_to_content_00.patch | 939 bytes | Xano | |
Comments
Comment #1
XanoComment #3
moshe weitzman CreditAttribution: moshe weitzman commentedThis is probably a good idea in isolation, but we just went through years of teaching people that content module lives in the cck package. This is going to cause severe confusion. I think the risks outweight the benefits.
Comment #4
XanoYet the UI is talking more and more about Content and Content as part of the CCK package doesn't exist anymore starting with Drupal 7.
Comment #5
chachasikes CreditAttribution: chachasikes commentedI ran this patch, and the patch executed fine.
However, Node/Content do not show up in the modules list page... this is probably because node is so required that it doesn't show up. Not sure where to look.
Comment #6
jim0203 CreditAttribution: jim0203 commentedThis runs fine. It looks like a lot of the required modules have been removed from module list page, which makes perfect sense (why give the user the option to remove something they can't remove; why force them to think that "node" is a module like other modules when without it Drupal isn't Drupal).
How far do we want to take this though? Renaming hook_nodeapi to hook_contentapi? In five years hook_nodeapi will be a really counterintuitive name for new devs who have never referred to a piece of content as a node.
Comment #7
XanoSince Drupal 7 the required modules are no longer visible. However, as mentioned in the first post, there are other patches that will make Node.module's title visible to end users and because of that we need this patch.
Comment #8
eMPee584 CreditAttribution: eMPee584 commentedNot really in favor of completely removing the term node or renaming nodeapi to contentapi, simply because content is to general a term - and is not even countable. You can't refer to 'a certain content' without using helper words (piece), or committing linguistic mischief IMHO.
Comment #9
XanoWe already do that. This patch is not about that change, but about consistency. Also, nodeapi is a code term and this is about the UI.
Comment #10
eMPee584 CreditAttribution: eMPee584 commentedConsistency is not a value all by itself. Doing the wrong thing everywhere clearly is worse than doing the right thing only in some cases.
Content is adequate a term in the context of 'Content types' and 'Create content', but everwhere where the object of the talk is a node, we should refer to it not as a 'piece' of content. Content node would be still acceptable, but that implies there are other types of nodes (non-content nodes.. huh?) which is plain crap too.
And to address your point: Drupal content is build of nodes, which in turn consist of fields. We shouldn't let the gap between API and UI get too wide; referring to content as content (in the general sense) is great, referring to a specific node as 'piece of content' is not so.
Regarding the specific change this patch does, i'm against it. The node module handles nodes, and that's why NODE module is the correct term IMHo.
Comment #11
Bojhan CreditAttribution: Bojhan commentedSo we have been trying to remove 'node' from the interface, this seems to only enforce that pattren. It looks good to me, hope that moshe his concerns will be adressed.
The divide between node in the code, and content in the UI should be fine.
Comment #12
moshe weitzman CreditAttribution: moshe weitzman commentedMy concerns aren't addressed. In addition to my concern in #3, see #10. Honestly, I think this is Won't Fix but I'm not feeling like being a jerk so I'll just leave this as.
Comment #13
XanoTo be short and blunt there is no way we can address Moshe's concerns *and* get this issue fixed, because we're talking about opposites here.
We still have Node in the interface by the way at the permissions page.
Comment #14
Anonymous (not verified) CreditAttribution: Anonymous commented@eMPee584
+1
Comment #15
gpk CreditAttribution: gpk commentedI think that having the module's name in the interface as "Content" but a machine name for the module of "node" (and a hidden module at that) is going to be highly confusing, especially so in 7.x because of the history of content.module being the engine of CCK in 6.x, 5.x.
For 8.x I'd be more relaxed, but would still want consistency between the UI name and machine name of the module. So yes, maybe content.module, contentapi etc, but I still think we should have "nodes" because IMO that is more useful terminology for "a (specific) piece or container of referenceable content" (hell, what is a node anyway) than "a piece of content" or "a content" (?!). So we'd have an inconsistency at another place instead. Besides, the generic term "content" covers more than nodes really... we also have fields, blocks, feed items etc.
Comment #17
webchickLet's discuss this more in Drupal 8.
Comment #18
pillarsdotnet CreditAttribution: pillarsdotnet commentedComment #19
XanoIt has already been decided that in Drupal 7 we no longer speak of nodes, but of (pieces of) content. This issue was created to reflect that change in Node's name.
Re Moshe's concern raised in #3: CCK for Drupal 7 no longer has a Content module. If we would introduce the change from Node to Content in Drupal 8, there has been at least one Drupal version without a Content module, which would cause less confusion than if we would've committed this change for Drupal 7.
Comment #20
pillarsdotnet CreditAttribution: pillarsdotnet commentedComment #21
alexanderpas CreditAttribution: alexanderpas commentedI have to agree with #18, as a node consists not only of (pieces of) content, but also of the metadata belonging to that specific (piece of) content (effectively, a node is a specific content entity)
Comment #22
XanoThis issue is meant to make the UI consistent with decisions that have been made already. If you want to discuss or revert the change from "node" to "content" in the UI, please open a new issue. Don't continue here.
Comment #23
pillarsdotnet CreditAttribution: pillarsdotnet commentedComment #24
naught101 CreditAttribution: naught101 commentedAgree with moshe, and eMPee584 and pillarsdotnet. I think this is a won'tfix.
There are problems with the term "node", but "content" will not work as a drop-in replacement. For example, relation.module defines relation entities. these are not nodes, but since they're fieldable the can certainly act as content. So can profile2 entities, for that matter. Just because nodes are the standard content entity does not mean that they are the only content entity, and labelling them so will only make for more confusion as more non-node content entities get added in contrib.
If you want to re-name node, I would potentially agree with that (although I doubt you'll find many better words, in english at least, for such a slippery concept), but not "content".
Comment #25
pillarsdotnet CreditAttribution: pillarsdotnet commentedComment #26
XanoThe decision has been made by a lot of people on the UX team. Again: this is not the place to revive that discussion. A new issue is.
Comment #27
XanoRerolled the patch to apply to head.
Moshe's concerns have been addressed, because when D8 comes out, we will have been working with a Drupal version without a "Content" module for over a year. Furthermore, this issues is meant to make Drupal core less confusing (using both "node" and "content" is always worse than using either of those).
@chachasikes: All required modules are visible at the modules page (they were once made invisible, but that change was reverted). Module names also appear in other places in core, such as the permission page, or in contrib.
Comment #28
XanoComment #29
naught101 CreditAttribution: naught101 commentedXano, can you please provide a link to the discussion and decision that you're referring to?
Comment #30
alexanderpas CreditAttribution: alexanderpas commentedI only see #425478: Choose one: "content" or "node"
Comment #31
pillarsdotnet CreditAttribution: pillarsdotnet commentedComment #32
Damien Tournoud CreditAttribution: Damien Tournoud commentedThe name of the Node module is hardly user facing. This is won't fix, there is no reason to make everything confusing just to avoid the term Node on the module page, that is frightening for a lot of reasons that have nothing to do with this.
Comment #33
Damien Tournoud CreditAttribution: Damien Tournoud commentedRemoving the tags as there is zero usability backing here.
The redesign of the modules page is handled by #538904: D8UX: Redesign Modules Page.
Comment #34
XanoI'd like to see some arguments before this issue is closed. #32 doesn't mention any.
Comment #35
naught101 CreditAttribution: naught101 commented@pillarsdotnet: I wish you wouldn't do that, it just makes the conversation extremely hard to follow. You can always just edit them and use <del>, or note your retraction or similar..
Comment #36
XanoBump
Comment #37
naught101 CreditAttribution: naught101 commentedPlease, don't let bump become the new "+1 subscribe". If people think this issue is important and want to work on it, they'll post meaningful comments. If it's a blocker issue for some specific release, then add an appropriate tag.
Comment #38
Anonymous (not verified) CreditAttribution: Anonymous commentedMarking duplicate of:
http://drupal.org/node/425478
Let's keep the discussion centralized. It's an interesting discussion by all means.
One way of naming a 'node item' would be better, as far as I can tell, but I'm open to suggestions. What is wrong with node anyway? It's a cute word. :-)
Comment #39
Xano