Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you go to any page on api.drupal.org that contains a pager (for example https://api.drupal.org/api/drupal/classes), you can't switch the page if your browser has JavaScript disabled. This makes cloning the docs for offline use using a tool like httrack impossible.
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedI couldn't reproduce this actually; the pager worked fine for me with JavaScript disabled (in Firefox at least).
Nonetheless, moving to the api.drupal.org issue queue. I'm not sure what code is responsible for that JavaScript-pager but don't think it's an issue with core.
Comment #2
jhodgdonThe JavaScript pager in use currently on api.drupal.org comes from Views. The Views are from the API module, and they have the "Use Ajax" setting turned on, so that searching, filtering, and table sort will use Ajax if JavaScript is available. If it is not working without JavaScript, then that is a bug.
However, I think we need more information from the person who reported this issue, since David reported in #1 that he could not reproduce it in Firefox:
a) What browser were you using? (Browser name, version, operating system)
b) What settings were you using (specifically how did you turn off JavaScript)?
c) Just to make sure, after turning off JavaScript, did you either close your browser and restart, or completely clear the browser memory and disk cache, and reload the api.drupal.org page you were looking at? Or if you go back today to api.drupal.org, can you still see the problem?
d) What api.drupal.org page(s) exhibited this problem?
Comment #3
nnewton CreditAttribution: nnewton commentedThis might have been a configuration issue with the CDN. Could you re-test?
-N
Comment #4
jhodgdonAt this point, the issue was retested in #1 and I'm going to close as 'cannot reproduce'. We can reopen if someone can provide more details (see #2) and it is still a problem.