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
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | system.xls | 39.5 KB | blackjack48 |
| #14 | system.xls | 39.5 KB | blackjack48 |
Comments
Comment #1
vosechu commentedI'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.
Comment #2
arianek commentedheh, 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. ;)
Comment #3
rolodmonkey commentedI can mentor this one.
Comment #4
vosechu commentedSweet, sounds like we have a mentor. Going to rtbc.
Comment #5
arianek commentedAwesome, RoloDMonkey! Thanks!
Comment #6
rolodmonkey commentedUm... 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?
Comment #7
rolodmonkey commentedOkay, 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?
Comment #8
dawehnerAdded you as mentor.
Comment #9
cwgordon7 commentedAdded to the google app, thanks!
Comment #10
blackjack48 commentedHi 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
Comment #11
rolodmonkey commentedWelcome 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.
Comment #12
blackjack48 commentedHi Rolo,
I've submitted the list of module weights to the Google task page. Please let me know if you have any questions.
-Aaron
Comment #13
cwgordon7 commentedHi 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!
Comment #14
blackjack48 commentedOk, thanks Gordon - here's the list.
Comment #15
blackjack48 commentedCould someone please review my work so that I can claim another task through Google? Thanks.
Comment #16
cwgordon7 commentedNot 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
Comment #17
blackjack48 commentedOh my bad... the modules need to be enabled. :) I'll update the list.
Comment #18
blackjack48 commentedI'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.
Comment #19
rolodmonkey commentedThis looks good, but I do have a few questions:
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?
Comment #20
cwgordon7 commentedOk, please address the feedback by RoloDMonkey to finish up this task. Thanks!
Comment #21
blackjack48 commented1) 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.)
Comment #22
cwgordon7 commentedLooks good to me. Thanks for all your hard work!
Comment #23
rolodmonkey commentedCharlie,
Who actually updates the docs page with the new information? Do you need me to do it?
Comment #24
arianek commentedThat'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
Comment #25
rolodmonkey commentedInteresting...
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?
Comment #26
arianek commentedAh - 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!
Comment #27
rolodmonkey commentedSorry for the delay. I finally actually updated the page in question. It still needs review:
http://drupal.org/node/110238
Comment #28
arianek commentedstyle 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!!!