There are several places in the UI where we refer to the "system paths" of Drupal. Most of the time (in 6 and in the past) these are referred to as "system paths".

(See http://drupal.org/node/87777 for details on the use of the different phrases)

This patch standardizes the UI on "system path"

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scor’s picture

I've identified more of these. I've added them to greggles' patch.

scor’s picture

fixed a rejected hunk and rerolled!

scor’s picture

Component: base system » documentation
FileSize
7.68 KB

needed a reroll.
it's actually a documentation issue.

JirkaRybka’s picture

Status: Needs review » Reviewed & tested by the community

This applies cleanly, doesn't break anything (I tried a clean install with the patch applied and various administrative pages), and helps us to more consistency. The issue linked above (especially comments around #9 - http://drupal.org/node/87777#comment-454831 ) gives enough background.

Gábor Hojtsy’s picture

Status: Reviewed & tested by the community » Needs work

I don't agree 'system path' makes it better at all. What system? File system? Why not standardize on "Drupal path"? Honestly all of "Drupal path" (= the path to Drupal on the file system?), "internal path" (internal to what?) and "system path" (= path on the file system?) feels possibly ambiguous to me. Anyway, I don't think standardizing on "system path" gets us forward, it sounds too external to Drupal.

greggles’s picture

I've listed the places that are impacted by this broken down by where the strings are shown to users.

*Admin pages:
Individual Block configuration
Locale administration
Menu admin

*Schema help texts:
Locale install
Statistics installation

*"Everyday site visitor who can only create content visible pages"
None

As we initially discussed this in irc I remember grepping through the source code to see which was more common between all these variations and then deciding to standardize on the most common one.

All of the places where those strings are shown to users I think it's fair to say that the user knows what "Drupal" is and indeed may be confused about a "system" path. However, people who won't necessarily know what Drupal is are distribution users. The idea of throwing in "Drupal" to describe something in general feels like a cop-out. It also means that the companies who create productized specialized distributions have to to either 1) patch core to remove these 2) educate their users "We know that we told you this was the CivicSpace/RainCity/Bryght/Acquia whatever distribution, but when you see 'Drupal' in the interface that's the same thing". Neither of those solutions sounds good to me, but I guess that's not my argument to make since I don't have a distro.

scor’s picture

Status: Needs work » Needs review

It's fair to say that "system path" can be ambiguous, but there seem to be no better wording, and it is already used in most of the UI.

I think the current inconsistent situation is more ambiguous than anything. Is it less ambiguous to have other expression such as "internal path" and "Drupal path" to actually talk about the same thing as "system path"? Once a new user figures out what "system path" means, he then have to figure out what "internal path" and "Drupal path" are. Intuitively, he would not think that all these term refer to the same thing.
Let "system path" be part of the Drupal learning curve, and let's keep the UI consistent.

Gábor Hojtsy’s picture

To me, 'internal path' sounds like much better if we'd like to avoid using Drupal in the name. As said, 'system path' sounds external to Drupal IMHO.

scor’s picture

currently, "internal path" is only used twice: in the schema of statistics module, and in menu.admin.inc.
If there is support for "internal path", I can roll a patch. Let's get more opinions first.

scor’s picture

there isn't much time left to decide on that if the rc1 is to be released in the next few days...

keith.smith’s picture

Version: 6.x-dev » 7.x-dev

To quote Gábor from http://lists.drupal.org/pipermail/development/2007-December/027977.html: "RC1 is string freeze, so whatever needs modifications in the strings is generally postponed to Drupal 7."

Freso’s picture

FWIW, my vote is for "Drupal path". "Drupal path" clearly states that it's the path which Drupal recognises - it doesn't have anything to do with the file system, the web server, PHP's path, $PATH, or any other such thing "outside" Drupal. Also, any string mentioning these paths should be admin-centric, and there shouldn't be a need to hide the "Drupal factor" from such fellows, IMHO. (And if there really is a need to hide this, there are plenty of options of overriding strings through various means.)

But +1 to standardising on one term for one "idea".

greggles’s picture

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

I assume this needs work now.

lilou’s picture

Title: ui/string freeze: Standardize on "system path" instead of "Drupal path" or "Internal path" » Standardize on "system path" instead of "Drupal path" or "Internal path"
Component: documentation » user interface text
Category: bug » task
lilou’s picture

keith.smith’s picture

Status: Needs work » Needs review
FileSize
21.29 KB

The attached patch changes "Drupal path", "system path", and friends to a hopefully-consistent "internal path", as Gábor suggested in #8.

This standardizes an important piece of terminology, and removes an instance where we refer to "Drupal" inside the interface (which may not be ideal for white-label applications).

I am hopeful that I got most of them, including references in code comments, but obviously could have easily missed some. This patch should handle those instances revealed by a grep for "system path" and "Drupal path" , however.

scor’s picture

found 4 more instances to be fixed. later we might also want to standardize on path vs URL, but let's not hijack this thread for now.

scor’s picture

Title: Standardize on "system path" instead of "Drupal path" or "Internal path" » Standardize on "internal path" instead of "Drupal path" or "system path"

updating title

Anonymous’s picture

I know I'm coming into this late but the recent review just flagged me.

- *     DRUPAL_BOOTSTRAP_PATH: set $_GET['q'] to Drupal path of request.
+ *     DRUPAL_BOOTSTRAP_PATH: set $_GET['q'] to internal path of request.

Neither of these makes sense to me. This makes more sense:

  *     DRUPAL_BOOTSTRAP_PATH: set $_GET['q'] to the request path.

And

  * @param $path
  *   An internal path or a full URL.

is better as

  * @param $path
  *   A request path or a full URL.

So instead of "internal" we should use "request" and restructure the sentence to fit that word. I don't know what an internal path is; it seems mysterious and hidden from user view but a request path is one that is being requested for the action.

alexanderpas’s picture

internal path should be used for user facing stuff, drupal path... request path, system path and internal path should be used in the documentation where appropriate.

internal path is a path pointing to a destination (node, etc...) within the site.
request path can be used for RPC etc.

scor’s picture

I disagree with #19 first statement. Here we purposely check whether it's an alias in which case we set $_GET['q'] to the internal path. See drupal_init_path() and drupal_get_normal_path(): "Given a path alias, return the internal path it represents."
The second fix in #19 makes sense. I updated the patch. The patch also adds one fix 'normal path' -> 'internal path'.

By the way, 'normal path' was never suggested before. It might make sense to consider it in the discussion.

Anonymous’s picture

I disagree with the word internal for this documentation. The word internal means that the user will never see the object because it isn't accessible externally and that isn't true for the paths that are being documented. Two references for the word internal http://dictionary.reference.com/search?q=internal and http://dictionary.cambridge.org/define.asp?key=41507&dict=CALD are what I base my objection. What we have are "request paths" as described in http://martin.gleeson.com/pwebstats/glossary.html, http://www.cs.jcu.edu.au/CIE/RFC/2068/4.htm, and http://www.griffin.uga.edu/aemn/report6/glossary.htm (see "Hit (Request)").

alexanderpas’s picture

user display:
relative paths will be used for your website's internal links.
absolute paths will be used for your website's external links.

internal is the opposite of external, therefor, i still say, internal links have internal paths.

HOWEVER!!!
to make a difference beween the requested path (news/bully) and the system path (node/30), we should document it likewise.

Therefor, i suggest:
user facing (consistently):
- internal path: will be displayed to the user when talking about paths for internal links(e.g. menu system), the opposite of an external url.
documentation (detailed)
- request path: the actual requested path, for example, news/bully, is possibly an url-alias, used for example on a page load.
- internal path: used in for example the menu system, similar to request path, but not for the actual requested page, but for other pages
- system path: the actual system path, for example node/30, never an url alias.

comments are welcome.

Anonymous’s picture

Status: Needs review » Needs work

@alexanderpas: I agree except that relative paths are shown to the user as absolute paths so the difference to the end user is obscured. However, your suggestion is good and I'm marking CNW for support of that suggestion.

Tor Arne Thune’s picture

Version: 7.x-dev » 8.x-dev

Still a valid issue.

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

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should 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.

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

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should 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.

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

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should 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.

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

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should 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.

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

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should 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.

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

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should 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.

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

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

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

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

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

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Issue summary: View changes
Status: Needs work » Postponed (maintainer needs more info)

With 12 years of inactivity wonder if this is still a valid feature request.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.