http://api.drupal.org does not have documentation for drupal 4.7 any more. For some time the legacy API documentation was available on http://api.scratch.drupal.org but now it seems that http://api.scratch.drupal.org requires HTTP authorization. What happened? Where can I find API docs for drupal 4.7?

Comments

gerhard killesreiter’s picture

Status: Active » Closed (won't fix)

4.7 is dead and buried. You shouldn't be using it anymore.

siliconmind’s picture

4.7 is dead and buried. You shouldn't be using it anymore

Now that was very useful help. You realize that sometimes it is not possible to update? There are people who just don't want to pay for that (yet), but still want new features for their custom made modules.

I'm still using internally drupal 4.7 with custom modules that have thousands of lines of code. Should I rewrite them just because there is no documentation for old API? Be realistic. There is not always a need for update. In my case it's just to much work for now.

gerhard killesreiter’s picture

Whatever your reasons, we won't be providing the docs anymore. You can set up your own api site, though.

siliconmind’s picture

You can set up your own api site, though.

Ok, thank you for info. Can you verify if this instructions are also valid for D7 as a api site base? http://drupal.org/node/425944

siliconmind’s picture

Newer mind. I'm sorry. I didn't realize that there is no API module for D7 yet.

drumm’s picture

We actually are still indexing 4.7 and 4.6, but it isn't shown in the UI. I have this since I want to be able to show how much functions have (not) changed, http://api.drupal.org/api/drupal/includes--common.inc/function/l/7. I don't know offhand how exactly hook_menu() doesn't present these- either the items just don't exist or they are callbacks rather than local tasks. All this is changing in #770784: Replace branch local tasks with our own theme function since we shouldn't be using local tasks anyway. You can help out there to make them accessible somehow.

However, if at all possible, I recommend taking the 4.7 maintainer's advice and not running it. As the Drupal 5 maintainer, I can't recommend that either at this time.

jhodgdon’s picture

SiliconMind - just to clarify, you can set up your own API site using those instructions. The API module runs under Drupal 6, but you can use it to index Drupal code of any version.