Task description

Docs page on updating module weights contains a list, no idea how up to date it is. http://drupal.org/node/110238

My understanding is that you can use the Util module http://drupal.org/project/util or db queries such as:

db_update('system')->condition('module', $module)->fields('weight' => $new_weight)->execute();
or
db_select('system', 's')->fields('s', array('module', 'weight'))->execute()->fetchAllAssoc('module');
to find out the weights of the modules.

Original issue http://drupal.org/node/721324, some of this has been addressed on the existing page, but would definitely like to have someone review and updated (and add to) the list.

Deliverables

An updated Documentation page, reviewed by a minimum of two other community members (one must be a Docs Team member) and approved so that the original issue can be marked fixed.

Resources

- Documentation style guide: http://drupal.org/node/338208
- IRC channels: #drupal-docs #drupal-contribute

Primary Contact

TBD

CommentFileSizeAuthor
#18 system.xls39.5 KBblackjack48
#14 system.xls39.5 KBblackjack48

Comments

vosechu’s picture

Status: Active » Needs work
Issue tags: +needs mentor

I'm concerned about whether this is going to be perceived as boring. It's a good task but it lacks some of that flare. Most of the other docs tasks are pretty visible, but this seems pretty buried. Maybe I'm wrong about that though, it's just a feeling. Either way, going to add the need-mentor tag.

arianek’s picture

heh, i guess it's not quite as jazzy as some, but it's a really good opportunity to learn how to customize the order that modules run things... i'll see if i can find a mentor with the help of twitter. ;)

rolodmonkey’s picture

I can mentor this one.

vosechu’s picture

Status: Needs work » Reviewed & tested by the community
Issue tags: -needs mentor

Sweet, sounds like we have a mentor. Going to rtbc.

arianek’s picture

Awesome, RoloDMonkey! Thanks!

rolodmonkey’s picture

Um... I'm actually new to this process. What happens next? Will someone contact me? Should I be monitoring that specific page? Will we keep using this thread?

rolodmonkey’s picture

Okay, I have figured part of it out. I have logged into the Google site, and requested to be a mentor.

However, I don't see this task on the list. Should I add it when I become a mentor, or does someone else have to do it?

dawehner’s picture

Added you as mentor.

cwgordon7’s picture

Project: Google Code-in » Documentation
Component: Documentation » Outdated
Status: Reviewed & tested by the community » Active
Issue tags: +gci-task

Added to the google app, thanks!

blackjack48’s picture

Hi folks, I'm Aaron and I'll be be working on updating the module weight documentation. I had a couple of questions:

*Should I include modules that are only compatible with 6.x or should I update the 5.x ones as well?
*Also, are there any other modules not currently on that list that should be included?

Please let me know if there's anything else I should consider.

Thanks!
-Aaron

rolodmonkey’s picture

Welcome Aaron!

I wouldn't worry about 5.x.

Let's start with cleaning up the existing documentation for 6.x. Although, we should probably include 7.x in the near future.

What I would do is start by checking all of the core modules.

Then, I would re-check all of the contrib modules that are already on the page.

You shouldn't try to figure out the weights of every contrib module. After all, there are thousands. If you are feeling ambitious, you could also check some of the 'most installed' modules:

http://drupal.org/project/modules/?filters=drupal_core%3A87%20type%3Apro...

Please let us know if you have any questions.

blackjack48’s picture

Hi Rolo,

I've submitted the list of module weights to the Google task page. Please let me know if you have any questions.

-Aaron

cwgordon7’s picture

Hi Aaron,

Please also use the drupal.org issue queue. You should upload the module weights list here, assign the issue to yourself, and mark the status to "needs review". This way, it will get the attention of potential reviewers more quickly, and you will also learn to use the drupal.org issue queue effectively. Thanks!

blackjack48’s picture

Assigned: Unassigned » blackjack48
Status: Active » Needs review
StatusFileSize
new39.5 KB

Ok, thanks Gordon - here's the list.

blackjack48’s picture

Could someone please review my work so that I can claim another task through Google? Thanks.

cwgordon7’s picture

Status: Needs review » Needs work

Not sure what you're doing wrong since you didn't post anything about your methodology, but this data is definitely incorrect. I haven't checked all the weights, but the ones I know off hand that are nonzero are off - the Devel module has a weight of 88 and the forum module has a weight of 1 and you listed both as having a weight of 0. You should work with your mentor to fix your data, or ask any questions on this issue or on IRC (#drupal-gci is the dedicated channel for Drupal's participation in GCI, but you can try #drupal-contribute or #drupal as well).

Thanks!
Charlie

blackjack48’s picture

Status: Needs work » Needs review

Oh my bad... the modules need to be enabled. :) I'll update the list.

blackjack48’s picture

StatusFileSize
new39.5 KB

I've attached the updated list and submitted it to the Google task page.

Please let me know if there are any inaccuracies or crucial modules missing.

rolodmonkey’s picture

Component: Outdated » Correction/Clarification

This looks good, but I do have a few questions:

  1. Which version of Drupal did you use?
  2. Would it be possible to separate the core modules from the contrib in the list?
  3. On the old list, there were some items that were dependent on others, like "modules/notify/notify.install scheduler + 10". We will need to check for dependencies like that.

Last, this goes out to the doc team: Do we want to update more than just the list on this page? The text before the list is definitely a little out-of-date. Should we split this up into different versions and/or core vs. contrib?

cwgordon7’s picture

Status: Needs review » Needs work

Ok, please address the feedback by RoloDMonkey to finish up this task. Thanks!

blackjack48’s picture

Status: Needs work » Needs review

1) 6.19
2) The two lists have been separated.
3) The dependencies have been resolved.

http://www.google-melange.com/gci/task/show/google/gci2010/drupal/t12910...

(Drupal says my file is too large - so I've made it available on the Google task page.)

cwgordon7’s picture

Status: Needs review » Fixed

Looks good to me. Thanks for all your hard work!

rolodmonkey’s picture

Charlie,

Who actually updates the docs page with the new information? Do you need me to do it?

arianek’s picture

That'd be lovely Rolo (or anyone who wants to update the page) - you can reopen this if you want, or use the original docs queue issue to follow up http://drupal.org/node/721324

rolodmonkey’s picture

Status: Fixed » Patch (to be ported)

Interesting...

For some reason, I don't have the 'Edit' tab on the page in question. I am a member of the Documentation team, and I have edited pages before.

What is missing?

arianek’s picture

Ah - Hi Rolo, "docs team" doesn't equal "docs admin"! That said, I've had a browse through your user history, and you look like you've got a pretty solid history so I've assigned you the docs admin role. This will allow you to edit pages that have tables or images in them.

Please review the style guide http://drupal.org/node/338208 for any formatting and language usage rules, and be careful with any high level pages you may now have access to (best to file issues so that someone can review any changes you make to the top level book pages in the future, if you do end up working on them).

You can set this to "needs review" after you've updated the page, and I'll have a quick look over it.

Thanks so much for the help!

rolodmonkey’s picture

Assigned: blackjack48 » rolodmonkey
Status: Patch (to be ported) » Needs review

Sorry for the delay. I finally actually updated the page in question. It still needs review:

http://drupal.org/node/110238

arianek’s picture

Status: Needs review » Fixed

style looks good to me. updated the page status (i added 7 as well since it's mentioned, if that's wrong, please remove it!)

going to mark this fixed. thanks!!!

Status: Fixed » Closed (fixed)
Issue tags: -gci-docs, -gci-medium, -gci-task

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