I don't now if it already exists, but it would be interesting to have a field 'version' to be returned in every module and theme.
This is a nice way of validating the requeriment of a module, and allows that I can this way check Drupal version to use anywhere. (In my case I want to put the head "Generator" indicating Drupal and it's version) :)

Comments

gábor hojtsy’s picture

Component: system.module » base system
Assigned: Unassigned » gábor hojtsy

This will also be a requirement for the locale.module so it can match translations to CVS revision numbers properly. I'll provide a patch later this week which adds the revision numbers to the help hooks.

Rick Cogley’s picture

Is there currently a way users can see what version of Drupal they are running?

I looked in release notes in the base of the site, and that gave me the version (I forgot whether it was 4.5.1 or .2) but there must be an easy way?

Regards
Rick Cogley

magico’s picture

Status: Active » Closed (fixed)

The install system will take care of this.