Moodle version: Difference between revisions

From MoodleDocs
m (re-wording, formatting)
(Updated link to * [https://moodledev.io/general/releases developer documentation about versions])
 
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
The [[Site administration block]] and the Notification link will show a site's current Moodle version.  The example below came from demo.moodle.org when it was version 200721520, which is also known as "Moodle 1.8.2+" branch.
{{Managing a Moodle site}}
[[Image:Moodle_Version_Notification_Page.JPG|frame|center|Moodle Version with (build number) and copyright]]
==What version of Moodle am I using?==
==Logo hover==
[[Image:MoodleVersionPopup.jpg|Version popup over Moodle logo|right]]
Often one sees references to differences in different Moodle versions. How can one see which version is  on a certain site?


'''Hover over the Moodle logo''': On many Moodle sites (it depends on the how customised the theme is) you can hover the mouse over the Moodle logo at the bottom of the page and you'll see the exact release version.
The version of Moodle which your site is using can be found if you log in as an administrator and go to ''Site administration > Notifications''.
[[Image:moodleversion.png|center|thumb|Moodle version info]]


==Administrator page==
==Finding the version of Moodle if you are not an admin==
In earlier versions of Moodle, Administrators can see the exact version at the bottom of the main admin screen.
* For Moodle sites in English or German (only), if you are a regular teacher with no admin access, you might be able to find your Moodle version by clicking on "Moodle Docs for this page" at the bottom of any Moodle page when logged in. If your admin  has allowed this link to display, you should be taken to the documentation for your version of Moodle. Look at the number in the URL e.g. 27 or 32 which mean you are using Moodle 2.7 or 3.2 respectively.


==PHP file==
==Finding the version of Moodle if your site is in a language other than English  or German==
'''Version.php''': You can also view version information by opening the moodle/version.php file in your text editor. Here is a typical version.php:
* For Moodle sites in languages other than English, you can go to any course where you are a teacher. We will see one example for a Mexican Spanish site.
** Notice the URL in the browser window (blue rectangle in the image below).


<pre>
[[File:Finding_your_Moodle_via_English_Docs_step_1_.png]]
<?php


// MOODLE 1.6 VERSION INFORMATION
**  Add '&lang=en' to the address (green rectangle in the image below).  


// This file defines the current version of the core Moodle code being used.
[[File:Finding_your_Moodle_via_English_Docs_step_2_.png]]
// This is compared against the values stored in the database to determine
* Your course will now have a 'Moodle Docs for this page' link (blue rectangle in the image above) that will lead you to the version of the English Moodle documentation that corresponds to your Moodle site version (green rectangle in the image below):
// whether upgrades should be performed (see lib/db/*.php)


  $version = 2006050521;  // YYYYMMDD  = date of the 1.6 branch (don't change)
[[File:Finding your Moodle via English Docs step 3 .png]]
                          //        X  = release number 1.6.[0,1,2,3...]
                          //          Y = micro-increments between releases


  $release = '1.6.2+';    // Human-friendly version name
==See also==


?>
* [https://moodledev.io/general/releases developer documentation about versions]
</pre>


Note: You cannot view the contents of version.php in your browser - you must use a text editor.
[[Category:FAQ]]


[[Category:FAQ]]
[[es:Versión de Moodle]]
[[Category:Administrator]]

Latest revision as of 16:41, 20 October 2023

What version of Moodle am I using?

The version of Moodle which your site is using can be found if you log in as an administrator and go to Site administration > Notifications.

Moodle version info

Finding the version of Moodle if you are not an admin

  • For Moodle sites in English or German (only), if you are a regular teacher with no admin access, you might be able to find your Moodle version by clicking on "Moodle Docs for this page" at the bottom of any Moodle page when logged in. If your admin has allowed this link to display, you should be taken to the documentation for your version of Moodle. Look at the number in the URL e.g. 27 or 32 which mean you are using Moodle 2.7 or 3.2 respectively.

Finding the version of Moodle if your site is in a language other than English or German

  • For Moodle sites in languages other than English, you can go to any course where you are a teacher. We will see one example for a Mexican Spanish site.
    • Notice the URL in the browser window (blue rectangle in the image below).

Finding your Moodle via English Docs step 1 .png

    • Add '&lang=en' to the address (green rectangle in the image below).

Finding your Moodle via English Docs step 2 .png

  • Your course will now have a 'Moodle Docs for this page' link (blue rectangle in the image above) that will lead you to the version of the English Moodle documentation that corresponds to your Moodle site version (green rectangle in the image below):

Finding your Moodle via English Docs step 3 .png

See also