Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
drupal.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2004 at 09:25 UTC
Updated:
3 Nov 2008 at 16:42 UTC
By definition, modules should define functions named modulename_functionname(), so drupal.module is expected to define functions drupal_anything(). This is confusing, since there are a lot of drupal_anything() functions defined elsewhere (common.inc and bootstrap.inc specifically). This leads to some confusion if you are searching for a function's implementation.
The naming of drupal.module also suggests that it is an integral part of drupal's inner workings, however it is not the case. It is rather a glue between the drupal.org site and the drupal instance. Therefore I would suggest renaming the module to drupalorg.module.
Comments
Comment #1
gábor hojtsyWould a patch
have a chance being accepted? Also given that someone will rename drupal.module to drupalorg.module after the patch gets accepted. I stronly beleive that it is wrong to have two competely different sets of functions with the same prefix.
Comment #2
Steven commentedDrupal module is not limited to Drupal.org though: it handles pinging Drupal sites (you can make your own list if you want), Drupal authentication, ...
Drupalorg suggests it's only useful for Drupal.org.
Comment #3
gábor hojtsyBetter name suggestions? I guess the name should reflect that this module handles the 'distributed' tasks between Drupal installations (authentication from another Drupal site, pinging Drupal.org and/or other sites)...
What about drupalnet.module ? :) Not referring to a web address of course.
Comment #4
moshe weitzman commenteddrupalnet sounds jst right to me. more importantly, i think this calrifies the services provided by current drupal.module
Comment #5
gábor hojtsyComment #6
alexandreracine commentedToo old version (x.y.z?). Closing.
Comment #7
alexandreracine commentedComment #8
gábor hojtsyThis might be for a too old version, but the problem still applies. Drupal core functions have drupal_ prefixes and the drupal module mixes into this with it's own functions. Moving up to 6.x
Comment #9
alexandreracine commentedGood enough.
Comment #10
pwolanin commentedpatch at: http://drupal.org/node/29826
will mark this issue as duplicate in a few days.
Comment #11
johnalbinComment #12
senpai commentedCompletely fixed by http://drupal.org/node/178768
drupalorg.module is now a contrib.[EDIT: Based upon Kbahey's comment in #13, I removed this text. ~Senpai]Comment #13
kbahey commentedJust for those who may get confused.
The drupalorg.module is a completely different module.
The correct module is http://drupal.org/project/site_network which is now in contrib.
Comment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.