Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27695

Moodle Docs links need to be fixed to point to correct versions of docs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.9.13, 2.0.4
    • 1.9.12, 2.0.3, 2.1
    • Documentation
    • None
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • Hide

      None

      Show
      None
    • Hide

      All the "Moodle docs" links at the footer of pages in 1.9, 2.0 and 2.1 should be going to the correct docs (if not the exact version, then the latest available version for that language). Try different langauges too.

      Show
      All the "Moodle docs" links at the footer of pages in 1.9, 2.0 and 2.1 should be going to the correct docs (if not the exact version, then the latest available version for that language). Try different langauges too.

      Moodle contains a config setting "docroot" which defaults to "http://docs.moodle.org"

      Leave the default as it is.

      However, in lib/weblib.php update get_docs_url() so that instead of producing URLS like:

      $CFG->docroot/en/blah

      it now produces

      $CFG->docroot/20/en/blah

      Where "20" in the example is derived from the first three letters of $CFG->release with the period taken out.

      eg '2.0.3+ (Build: 20110511)' ---> '20'

      This needs to be fixed for 1.9, 2.0 and 2.1.

            nebgor Aparup Banerjee
            dougiamas Martin Dougiamas
            Rossiani Wijaya Rossiani Wijaya
            Sam Hemelryk Sam Hemelryk
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.