<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/test/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Topstone</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/test/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Topstone"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/Special:Contributions/Topstone"/>
	<updated>2026-07-17T11:15:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Category:Administrator&amp;diff=48473</id>
		<title>Category:Administrator</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Category:Administrator&amp;diff=48473"/>
		<updated>2008-12-26T07:13:49Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages for &#039;&#039;&#039;administrators&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[es:Categoría:Administrador]]&lt;br /&gt;
[[fr:Catégorie:Administrateur]]&lt;br /&gt;
[[ja:Category:管理者]]&lt;br /&gt;
[[ru:Категория:Администратору]]&lt;br /&gt;
[[pl:Kategoria:Administrator]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Installations_1000_plus&amp;diff=46481</id>
		<title>Installations 1000 plus</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Installations_1000_plus&amp;diff=46481"/>
		<updated>2008-11-08T02:06:36Z</updated>

		<summary type="html">&lt;p&gt;Topstone: /* Japan */ Osaka International University&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page has descriptions and links by country to Moodle sites with between 1000 and 5000 users.&lt;br /&gt;
{{Template:Large Installations}}&lt;br /&gt;
&lt;br /&gt;
==Australia==&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://montenet.monte.nsw.edu.au MonteNet] is used as our colleges student intranet and e-learning portal. Currently running 1.6dev with a few extra custom features thrown in.&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://compass.monte.nsw.edu.au Compass] takes moodle and uses it for a purpose that is a little outside the square. Compass is used as the staff intranet. Each course is refered to as a &amp;quot;Space&amp;quot; and is used by each departmentr to store meating minutes, agendas and teaching documentation. Communications tools such as forums allow to facilitate better teacher communication and the events are used to keep the teachers events online and targeted (e.g. year 9 teachers all know when excursions are on, all english teachers know when reports are due, etc).&lt;br /&gt;
&lt;br /&gt;
*Vermont Secondary College - [http://moodle.vermontsc.vic.edu.au] is used as the college intranet, portal and eLearning since 2004. There are approximately 1500 users consisting of teachers and years 7-12 students. Although using Moodle is an option, over 180 courses have been created across all learning areas and staff administration. All events within the college are constantly being added to the calendar to inform the school community.&lt;br /&gt;
&lt;br /&gt;
*Saint Ignatius&#039; College, Riverview - [http://www.riverview.nsw.edu.au ] - Jesuit College in Sydney, Australia, with 1,600 students. Adopted Moodle in 2007.&lt;br /&gt;
&lt;br /&gt;
==Belgium==&lt;br /&gt;
&lt;br /&gt;
*[http://www.ritacollege.be Sint-Ritacollege] We are a school for 12-18 year old students.  Currently our database contains about 1600 active users and 130 courses. Always running latest Moodle code since version 1.0.8.&lt;br /&gt;
&lt;br /&gt;
==Catalonia==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[http://www.iesterrassa.cat/ IES de TERRASSA ] - [http://moodle.iesterrassa.cat MOODLE de l&#039;IES de TERRASSA] - Institut d&#039;Enseyament Secundari de Terrassa. Tenim més de 1300 usuaris.&lt;br /&gt;
&lt;br /&gt;
==Croatia (Hrvatska)==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Philosophy in Zagreb - [http://omega.ffzg.hr Omega sustav ucenja na daljinu] is used as our faculty-wide e-learning system. Currently running 1.8.2 stable with more than 4400 users and 300+ courses. LDAP authorization.&lt;br /&gt;
&lt;br /&gt;
==Czech Republic==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Arts, Masaryk University, Brno - [http://www.phil.muni.cz/elf/ ELF], 16,000+ users total, 4,000+ active users in Spring Term 2006, 600+ courses; using Moodle from April 2003.&lt;br /&gt;
&lt;br /&gt;
==Finland==&lt;br /&gt;
&lt;br /&gt;
*Tampere Polytechnic or Tampereen ammattikorkeakoulu ([http://www.tamk.fi www.tamk.fi]), is a around 5000 student college or &amp;quot;a university of applied sciences&amp;quot; located at Tampere, Finland. Our moodle installation hosts around 2500 active students.&lt;br /&gt;
&lt;br /&gt;
==India==&lt;br /&gt;
* [http://www.doeaccmantra.com DOEACCMantra] is a website for [http://www.doeaccmantra.com DOEACC] students currently (as of July 2007) having 44 courses, 4928 users and 5965 posts.&lt;br /&gt;
&lt;br /&gt;
==Italy==&lt;br /&gt;
&lt;br /&gt;
* University of Rome &amp;quot;Roma Tre&amp;quot; - [http://ltaonline.learning.uniroma3.it/ Laboratorio di Tecnologie Audiovisive] hosts two faculties with more than 1600 students.&lt;br /&gt;
&lt;br /&gt;
==Japan==&lt;br /&gt;
&lt;br /&gt;
* Future University-Hakodate - [http://vle.c.fun.ac.jp/moodle/]&lt;br /&gt;
&lt;br /&gt;
* Kyoto Sangyo University - [http://www3.kyoto-su.ac.jp/index-e.html] First university in Japan to completely host all courses in Moodle.&lt;br /&gt;
&lt;br /&gt;
* Osaka International University - [http://moodle.oiu.ac.jp/] Over 3000 users.&lt;br /&gt;
&lt;br /&gt;
* Sapporo Gakuin University - [http://elearning.sgu.ac.jp] About 40 active courses using Moodle, plus 150 courses using it for attendance taking.  Over 3000 registered users.  Now using LDAP, so all 5000 students can login with their standard school ID and password.  1000 students take an English placement test using Moodle upon entrance to the school.&lt;br /&gt;
&lt;br /&gt;
==Netherlands==&lt;br /&gt;
&lt;br /&gt;
* We are a 5000 people school, one server, 9 locations and using Moodle for almost three years now: https://studiewijzerplus.nl Every schoolyear we start again with counting the number of users and the automatic counter (thanks Penny!) is now pointing at 3103&lt;br /&gt;
&lt;br /&gt;
==Norway==&lt;br /&gt;
&lt;br /&gt;
* ASP Hedmark - [http://pdl.asp-hedmark.no/ pdl.asp-hedmark.no] Region with 20 primary and lower-secondary schools have an installation with something above 2000 users. PDL=Platform for Digital Learning.&lt;br /&gt;
&lt;br /&gt;
== Russia ==&lt;br /&gt;
*Moscow State Institute of International Relations (University) - distance education programme [http://www.globalcompetence.ru Management of Global Processes]&lt;br /&gt;
&lt;br /&gt;
==Spain==&lt;br /&gt;
*[http://www.cicei.com CICEI] - Center of Innovation for the Information Society. We have a production [http://cursos.cicei.com Moodle server] having currently 1,042 users in 72 courses covering a wide range of applications (as of February 6, 2006).&lt;br /&gt;
&lt;br /&gt;
==Switzerland==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.fri-tic.ch/ Centre fri-tic] - Center for ICT Integration of Canton de Fribourg. Currently running 1 moodle for teachers and students from k-12 to High school, with more than 2000 users and about 130 courses. The [http://www.fri-tic.ch/ Centre fri-tic] is also hosting 9 other moodle installations for specific schools.&lt;br /&gt;
&lt;br /&gt;
==United Kingdom==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.altoncollege.ac.uk/ Alton College] - a Beacon sixth form college with over 2,500 active users.&lt;br /&gt;
&lt;br /&gt;
* [http://egglescliffe.org.uk/ Egglescliffe School and Sixth Form] - a specialist arts school with over 2,000 active moodlers and 345 courses whose usage was the basis of this [http://education.guardian.co.uk/elearning/story/0,,1583832,00.html Guardian article]&lt;br /&gt;
&lt;br /&gt;
* [http://vle.gloscol.ac.uk/ Gloucestershire College] - a general FE college in the south west, with nearly five thousand users and nearly eight hundred users, we have presented at many Moodle events in the UK. &lt;br /&gt;
&lt;br /&gt;
* [http://learn.gold.ac.uk Goldsmiths College, London] - over 2,500 active users. See also this [http://www.alt.ac.uk/altc2004/timetable/abstract.php?abstract_id=270 presentation at a 2004 conference].&lt;br /&gt;
&lt;br /&gt;
*  [https://moodle.plumsteadmanor.com/ Plumstead Manor School] - A specialist Sports, Performing arts and Vocational secondary school in South East London. 1,700 active students.&lt;br /&gt;
&lt;br /&gt;
* [http://www.thanet.ac.uk/ Thanet College] - a &amp;quot;medium sized general FE college&amp;quot;, using Moodle as documented in [http://ferl.becta.org.uk/display.cfm?resID=13423 this Ferl case study]&lt;br /&gt;
&lt;br /&gt;
* [http://www.westnotts.ac.uk West Nottingahmshire College] - an FE college in the East Midlands.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lifeintheuk.org Prepare: Life in the United Kingdom Test] - a free website dedicated to Life in the UK Test.&lt;br /&gt;
&lt;br /&gt;
==United States of America==&lt;br /&gt;
*[http://www.glyphdoctors.com Glyphdoctors] is a site with over 1200 registered users (as of Feb. 2006) on a shared server host, [http://www.opensourcehost.com Open Source Host]. It will offer online courses in Egyptology and Egyptian hieroglyphs to the general public. Currently, there is one free public course available and a course in Egyptian hieroglyphs under beta testing with a small number of students.&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.mcm.edu/ McMurry University]has several Moodle instances, the first begun as a pilot project in June, 2005.  McMurry is a small (1400 FTE) undergraduate-only institution affiliated with the United Methodist church.  Currently the main instance supports 1700 users (650 active), some 60 instructors, and approximately 180 active courses.&lt;br /&gt;
&lt;br /&gt;
* [http://ahshornets.org Aiken High School]has over 2000 registered users in grades 9 - 12 (Feb. 2006).&lt;br /&gt;
&lt;br /&gt;
* [http://academies.culver.org/moodle The Culver Academies] has over 1000 registered users in grades 9 - 12. The school has been using Moodle in the classroom since the 2002-2003 school year. Administratively we have a Moodle &amp;quot;course&amp;quot; for faculty-only announcements and materials. &lt;br /&gt;
&lt;br /&gt;
* [http://online.warner.edu Warner Southern College] began using Moodle in early 2005 as an experiment to move from a simple webboard system into a full learning management system.  The experiment went extremely well and a full transition to Moodle was accomplished in the fall term of 2005.  Currently, Warner Southern College has one Moodle instance running with over 1200 registered users (500+ active students, 50+ instructors, 80+ courses and two system administrators) offering associate, bachelor and master of arts degree programs for both traditional site based and full online students. Warner Southern College is a small institution affiliated with the Church of God and accredited by the Southern Association of Colleges and Schools. &lt;br /&gt;
&lt;br /&gt;
* [http://moodle.westshore.edu West Shore Community College] currently has just under 2,000 registered users in its database and began as a potential alternative to our Blackboard system. Our site has been active for 3 years and we are now fully migrated to Moodle as our sole LMS. The transition was slow (and a bit painful at times), but now that we&#039;re here, things have gone quite well.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[ja:ユーザ数1000名以上]]&lt;br /&gt;
&lt;br /&gt;
{{Template:Large Installations}}&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Question_bank&amp;diff=44858</id>
		<title>Question bank</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Question_bank&amp;diff=44858"/>
		<updated>2008-10-07T13:00:50Z</updated>

		<summary type="html">&lt;p&gt;Topstone: adjust links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
{{Moodle 1.6}}This feature allows a teacher to create, preview, and edit questions in a course question bank, a database of questions. These questions can then be used in [[Quizzes]] and through the export process in a Lesson. The teacher enters the question bank by creating or editing a quiz activity or through the Administration block [[Image:Question Icon Administration Block.JPG]]&lt;br /&gt;
&lt;br /&gt;
The initial Question Bank page has tabs that allow you (as teacher) to edit questions, [[Question categories|categories]], [[Import questions|import questions]] and [[Export questions|export questions]].&lt;br /&gt;
[[Image:Question_bank_tabs.gif|frame|center]] &lt;br /&gt;
==Select a category==&lt;br /&gt;
Questions are organised into categories. Initially each course has only one category called &amp;quot;Default&amp;quot;. It is good practice to create more categories to organize your questions. You can create a hierarchy of categories because you can create subcategories inside parent categories. To add or edit categories click on the &amp;quot;[[Question categories|Categories]]&amp;quot; tab.&lt;br /&gt;
&lt;br /&gt;
The question editing screen shows the questions from the currently selected category. You choose this category from the &#039;&#039;&#039;Category:&#039;&#039;&#039; drop-down menu. Using the tick box below that menu you determine whether to also show the questions from all subcategories.&lt;br /&gt;
&lt;br /&gt;
===Categories are shared in contexts since Moodle 1.9===&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}Since Moodle 1.9 there are separate question category trees in each different &#039;context&#039; in which questions are shared. The contexts available to you depend on whether you access the question bank from an activity or from a course and depend on the permissions assigned you for access to questions. See [[Question contexts]] for more information on these contexts.&lt;br /&gt;
&lt;br /&gt;
==Add a new question==&lt;br /&gt;
# Click the &#039;&#039;Questions&#039;&#039; tab to access the Question Bank page, if not there already.&lt;br /&gt;
# From the &#039;&#039;&#039;Category&#039;&#039;&#039; drop-down menu, select a category you want to add a question to.&lt;br /&gt;
# The page will change to show the questions already in that category&lt;br /&gt;
# Select the question type you want to create from the &#039;&#039;&#039;Create new question&#039;&#039;&#039; drop-down menu.&lt;br /&gt;
# Fill in the form for the question type you are creating. Each [[Question types|question type]] has its own form and has its own options.&lt;br /&gt;
# Click &#039;&#039;Save Changes&#039;&#039; at the bottom of the form.&lt;br /&gt;
&lt;br /&gt;
==Preview, Edit, Delete, and Move==&lt;br /&gt;
The first column in the list of questions contains a number of icons and a selection box.&lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Preview&#039;&#039;&#039; icon will open a preview window in which you can test the question. The &#039;&#039;&#039;Edit&#039;&#039;&#039; icon allows you to edit the question via the same form that you used to create it. The &#039;&#039;&#039;Delete&#039;&#039;&#039; icon deletes the question, provided it is not already in use in some activity. The selection box allows you to select a subset of questions that you can then move to another category using the controls below the list of questions.&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}As of Moodle 1.9 the &#039;&#039;&#039;move&#039;&#039;&#039; icon allows you to move one question at a time.&lt;br /&gt;
&lt;br /&gt;
==Tips and tricks==&lt;br /&gt;
*Put the answer into the question name so you can quickly see the answers when students are asking for answers. This is especially useful if you&#039;re dealing with large sets of questions! (No option yet for viewing category or answer of question in the list of questions.)&lt;br /&gt;
*Export questions in GIFT or Moodle XML formats, then import them into a Lesson. (Future versions of Moodle will make Question bank available to both Lesson and Quiz activities.)&lt;br /&gt;
*Remember that while some of the same question types can be found in both the Quiz and Lesson modules, they can be very different.  Scoring and grading each student&#039;s choice is more robust in a Quiz.  On the other hand, each Lesson question answer also has a [[Jumps|jump]] associated it.&lt;br /&gt;
*Use GIFT or other export modes to print questions and answers in a category.  Hint, clever use of word processor macros, using search and replace, can tidy up a GIFT file for printing.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
For info on question sharing relevant to versions of Moodle before Moodle 1.9 see :&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;advanced=1&amp;amp;f_46=Question+Type&amp;amp;f_98=Third-Party Third-party question types]&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;advanced=1&amp;amp;f_46=Question+Import/Export+Format&amp;amp;f_98=Third-Party Third-Party question import/export formats]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=58774 Sharing Question Databases] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=33335&amp;amp;parent=154984 Media in Quiz questions] forum reply&lt;br /&gt;
&lt;br /&gt;
For info on Question bank changes from Moodle 1.9 see :&lt;br /&gt;
&lt;br /&gt;
* [[Question_Engine_Changes_in_Moodle_1.9]]&lt;br /&gt;
&lt;br /&gt;
[[es:Banco de Preguntas]]&lt;br /&gt;
[[eu:Galdera-bankua]]&lt;br /&gt;
[[fr:Questions]]&lt;br /&gt;
[[ja:問題バンク]]&lt;br /&gt;
[[zh:题库]]&lt;br /&gt;
[[ca:Banc_de_preguntes]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Installations_1000_plus&amp;diff=44501</id>
		<title>Installations 1000 plus</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Installations_1000_plus&amp;diff=44501"/>
		<updated>2008-09-29T13:27:03Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page has descriptions and links by country to Moodle sites with between 1000 and 5000 users.&lt;br /&gt;
{{Template:Large Installations}}&lt;br /&gt;
&lt;br /&gt;
==Australia==&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://montenet.monte.nsw.edu.au MonteNet] is used as our colleges student intranet and e-learning portal. Currently running 1.6dev with a few extra custom features thrown in.&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://compass.monte.nsw.edu.au Compass] takes moodle and uses it for a purpose that is a little outside the square. Compass is used as the staff intranet. Each course is refered to as a &amp;quot;Space&amp;quot; and is used by each departmentr to store meating minutes, agendas and teaching documentation. Communications tools such as forums allow to facilitate better teacher communication and the events are used to keep the teachers events online and targeted (e.g. year 9 teachers all know when excursions are on, all english teachers know when reports are due, etc).&lt;br /&gt;
&lt;br /&gt;
*Vermont Secondary College - [http://moodle.vermontsc.vic.edu.au] is used as the college intranet, portal and eLearning since 2004. There are approximately 1500 users consisting of teachers and years 7-12 students. Although using Moodle is an option, over 180 courses have been created across all learning areas and staff administration. All events within the college are constantly being added to the calendar to inform the school community.&lt;br /&gt;
&lt;br /&gt;
*Saint Ignatius&#039; College, Riverview - [http://www.riverview.nsw.edu.au ] - Jesuit College in Sydney, Australia, with 1,600 students. Adopted Moodle in 2007.&lt;br /&gt;
&lt;br /&gt;
==Belgium==&lt;br /&gt;
&lt;br /&gt;
*[http://www.ritacollege.be Sint-Ritacollege] We are a school for 12-18 year old students.  Currently our database contains about 1600 active users and 130 courses. Always running latest Moodle code since version 1.0.8.&lt;br /&gt;
&lt;br /&gt;
==Catalonia==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[http://www.iesterrassa.cat/ IES de TERRASSA ] - [http://moodle.iesterrassa.cat MOODLE de l&#039;IES de TERRASSA] - Institut d&#039;Enseyament Secundari de Terrassa. Tenim més de 1300 usuaris.&lt;br /&gt;
&lt;br /&gt;
==Croatia (Hrvatska)==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Philosophy in Zagreb - [http://omega.ffzg.hr Omega sustav ucenja na daljinu] is used as our faculty-wide e-learning system. Currently running 1.8.2 stable with more than 4400 users and 300+ courses. LDAP authorization.&lt;br /&gt;
&lt;br /&gt;
==Czech Republic==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Arts, Masaryk University, Brno - [http://www.phil.muni.cz/elf/ ELF], 16,000+ users total, 4,000+ active users in Spring Term 2006, 600+ courses; using Moodle from April 2003.&lt;br /&gt;
&lt;br /&gt;
==Finland==&lt;br /&gt;
&lt;br /&gt;
*Tampere Polytechnic or Tampereen ammattikorkeakoulu ([http://www.tamk.fi www.tamk.fi]), is a around 5000 student college or &amp;quot;a university of applied sciences&amp;quot; located at Tampere, Finland. Our moodle installation hosts around 2500 active students.&lt;br /&gt;
&lt;br /&gt;
==India==&lt;br /&gt;
* [http://www.doeaccmantra.com DOEACCMantra] is a website for [http://www.doeaccmantra.com DOEACC] students currently (as of July 2007) having 44 courses, 4928 users and 5965 posts.&lt;br /&gt;
&lt;br /&gt;
==Italy==&lt;br /&gt;
&lt;br /&gt;
* University of Rome &amp;quot;Roma Tre&amp;quot; - [http://ltaonline.learning.uniroma3.it/ Laboratorio di Tecnologie Audiovisive] hosts two faculties with more than 1600 students.&lt;br /&gt;
&lt;br /&gt;
==Japan==&lt;br /&gt;
&lt;br /&gt;
* Kyoto Sangyo University - [http://www3.kyoto-su.ac.jp/index-e.html] First university in Japan to completely host all courses in Moodle.&lt;br /&gt;
&lt;br /&gt;
* Sapporo Gakuin University - [http://elearning.sgu.ac.jp] About 25 active courses using Moodle.  Over 1000 registered users.  Now using LDAP, so all 5000 students can login with their standard school ID and password.  &lt;br /&gt;
&lt;br /&gt;
==Netherlands==&lt;br /&gt;
&lt;br /&gt;
* We are a 5000 people school, one server, 9 locations and using Moodle for almost three years now: https://studiewijzerplus.nl Every schoolyear we start again with counting the number of users and the automatic counter (thanks Penny!) is now pointing at 3103&lt;br /&gt;
&lt;br /&gt;
==Norway==&lt;br /&gt;
&lt;br /&gt;
* ASP Hedmark - [http://pdl.asp-hedmark.no/ pdl.asp-hedmark.no] Region with 20 primary and lower-secondary schools have an installation with something above 2000 users. PDL=Platform for Digital Learning.&lt;br /&gt;
&lt;br /&gt;
== Russia ==&lt;br /&gt;
*Moscow State Institute of International Relations (University) - distance education programme [http://www.globalcompetence.ru Management of Global Processes]&lt;br /&gt;
&lt;br /&gt;
==Spain==&lt;br /&gt;
*[http://www.cicei.com CICEI] - Center of Innovation for the Information Society. We have a production [http://cursos.cicei.com Moodle server] having currently 1,042 users in 72 courses covering a wide range of applications (as of February 6, 2006).&lt;br /&gt;
&lt;br /&gt;
==Switzerland==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.fri-tic.ch/ Centre fri-tic] - Center for ICT Integration of Canton de Fribourg. Currently running 1 moodle for teachers and students from k-12 to High school, with more than 2000 users and about 130 courses. The [http://www.fri-tic.ch/ Centre fri-tic] is also hosting 9 other moodle installations for specific schools.&lt;br /&gt;
&lt;br /&gt;
==United Kingdom==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.altoncollege.ac.uk/ Alton College] - a Beacon sixth form college with over 2,500 active users.&lt;br /&gt;
&lt;br /&gt;
* [http://egglescliffe.org.uk/ Egglescliffe School and Sixth Form] - a specialist arts school with over 2,000 active moodlers and 345 courses whose usage was the basis of this [http://education.guardian.co.uk/elearning/story/0,,1583832,00.html Guardian article]&lt;br /&gt;
&lt;br /&gt;
* [http://vle.gloscol.ac.uk/ Gloucestershire College] - a general FE college in the south west, with nearly five thousand users and nearly eight hundred users, we have presented at many Moodle events in the UK. &lt;br /&gt;
&lt;br /&gt;
* [http://learn.gold.ac.uk Goldsmiths College, London] - over 2,500 active users. See also this [http://www.alt.ac.uk/altc2004/timetable/abstract.php?abstract_id=270 presentation at a 2004 conference].&lt;br /&gt;
&lt;br /&gt;
*  [https://moodle.plumsteadmanor.com/ Plumstead Manor School] - A specialist Sports, Performing arts and Vocational secondary school in South East London. 1,700 active students.&lt;br /&gt;
&lt;br /&gt;
* [http://www.thanet.ac.uk/ Thanet College] - a &amp;quot;medium sized general FE college&amp;quot;, using Moodle as documented in [http://ferl.becta.org.uk/display.cfm?resID=13423 this Ferl case study]&lt;br /&gt;
&lt;br /&gt;
* [http://www.westnotts.ac.uk West Nottingahmshire College] - an FE college in the East Midlands.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lifeintheuk.org Prepare: Life in the United Kingdom Test] - a free website dedicated to Life in the UK Test.&lt;br /&gt;
&lt;br /&gt;
==United States of America==&lt;br /&gt;
*[http://www.glyphdoctors.com Glyphdoctors] is a site with over 1200 registered users (as of Feb. 2006) on a shared server host, [http://www.opensourcehost.com Open Source Host]. It will offer online courses in Egyptology and Egyptian hieroglyphs to the general public. Currently, there is one free public course available and a course in Egyptian hieroglyphs under beta testing with a small number of students.&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.mcm.edu/ McMurry University]has several Moodle instances, the first begun as a pilot project in June, 2005.  McMurry is a small (1400 FTE) undergraduate-only institution affiliated with the United Methodist church.  Currently the main instance supports 1700 users (650 active), some 60 instructors, and approximately 180 active courses.&lt;br /&gt;
&lt;br /&gt;
* [http://ahshornets.org Aiken High School]has over 2000 registered users in grades 9 - 12 (Feb. 2006).&lt;br /&gt;
&lt;br /&gt;
* [http://academies.culver.org/moodle The Culver Academies] has over 1000 registered users in grades 9 - 12. The school has been using Moodle in the classroom since the 2002-2003 school year. Administratively we have a Moodle &amp;quot;course&amp;quot; for faculty-only announcements and materials. &lt;br /&gt;
&lt;br /&gt;
* [http://online.warner.edu Warner Southern College] began using Moodle in early 2005 as an experiment to move from a simple webboard system into a full learning management system.  The experiment went extremely well and a full transition to Moodle was accomplished in the fall term of 2005.  Currently, Warner Southern College has one Moodle instance running with over 1200 registered users (500+ active students, 50+ instructors, 80+ courses and two system administrators) offering associate, bachelor and master of arts degree programs for both traditional site based and full online students. Warner Southern College is a small institution affiliated with the Church of God and accredited by the Southern Association of Colleges and Schools. &lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[ja:ユーザ数1000名以上]]&lt;br /&gt;
&lt;br /&gt;
{{Template:Large Installations}}&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Quiz_module&amp;diff=43599</id>
		<title>Quiz module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Quiz_module&amp;diff=43599"/>
		<updated>2008-09-16T03:39:13Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quizzes}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Quiz&#039;&#039;&#039; [[Teacher_documentation#Activity_modules|activity]] module allows the teacher to design and set quizzes consisting of a large variety of [[Question types]], among them multiple choice, true-false, and short answer questions. These questions are kept in the course [[Question bank]] and can be re-used within courses and between courses. Quizzes can allow multiple attempts. Each attempt is automatically marked, and the teacher can choose whether to give feedback and/or show the correct answers. &lt;br /&gt;
&lt;br /&gt;
Feedback on performance is a critical part of a learning environment and assessment is one of the most important activities in education. As educators, we can’t tell what’s going on inside the heads of students, so we need a way for them to demonstrate what they understand and what they don’t. A well-designed test, even a multiple-choice test, can give you critical information about student performance. If the feedback is rapid enough, it can also be a critical tool for students to gauge their own performance and help them become more successful. &lt;br /&gt;
&lt;br /&gt;
Moodle’s quiz module has a large number of options and tools, making it extremely flexible. You can create quizzes with different question types, randomly generated quizzes from pools of questions, allow students to have repeated attempts at a question or retake quizzes multiple times, and have the computer score it all. &lt;br /&gt;
&lt;br /&gt;
These features open up a number of strategies which usually aren’t practical with paper based testing. It’s hard enough to score one batch of quizzes, and nearly impossible to score it 10 times for each student. When the computer does the work for you, it’s easy to give students a chance to practice taking a test, or to give frequent small quizzes. We explore how to apply these advantages on the page [[Effective quiz practices]].&lt;br /&gt;
&lt;br /&gt;
The quiz module index page lists all the quiz activities in the course, organized under four headings: &lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Topic&#039;&#039;&#039; - the number of the block, in which the given quiz appears&lt;br /&gt;
# &#039;&#039;&#039;Name&#039;&#039;&#039; - the name of the quiz &lt;br /&gt;
# &#039;&#039;&#039;Quiz closes&#039;&#039;&#039; - the date after which the quiz will be closed&lt;br /&gt;
# &#039;&#039;&#039;Attempts&#039;&#039;&#039; - if there have been any attempts at the quiz, you will see the text &#039;View reports for x attempts (y Students)&#039;, &#039;x&#039; being the number of attempts and &#039;y&#039; the number of students attempting at the quiz. Otherwise, the field will be empty.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;advanced=1&amp;amp;f_46=Quiz+Report&amp;amp;f_98=Third-Party Third-party quiz reports]&lt;br /&gt;
*[[Using Moodle book]] Chapter 6: Quizzes&lt;br /&gt;
*[https://docs.moodle.org/en/Lesson#Types_of_questions_available_within_a_lesson Questions available in a Lesson]&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[es:Cuestionarios]]&lt;br /&gt;
[[eu:Galdetegiak]]&lt;br /&gt;
[[ja:小テストモジュール]]&lt;br /&gt;
[[ru:Тест]]&lt;br /&gt;
[[fr:Test]]&lt;br /&gt;
[[pl:Quizy]]&lt;br /&gt;
[[de:Test]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Large_installations&amp;diff=43553</id>
		<title>Large installations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Large_installations&amp;diff=43553"/>
		<updated>2008-09-15T20:01:45Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Large Moodle installations listing ==&lt;br /&gt;
&lt;br /&gt;
This page was started on Wednesday 14th December 2005 at 1900GMT. &lt;br /&gt;
There are MANY more schools to add, it&#039;s just begun!&lt;br /&gt;
&lt;br /&gt;
*[[Installations 1000 plus]]&lt;br /&gt;
*[[Installations 5000 plus]]&lt;br /&gt;
*[[Installations 10000 plus]]&lt;br /&gt;
*[[Installations 30000 plus]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[http://moodle.org/mod/choice/view.php?id=3934 How big is your Moodle site?] choice activity&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=36216 Chart of schools (by size) that are using Moodle] forum discussion&lt;br /&gt;
*[http://www.frappr.com/moodle World map of Moodle users]&lt;br /&gt;
*[http://moodle.org/stats/ Moodle statistics]&lt;br /&gt;
*[[Institutions that have Migrated to Moodle]]&lt;br /&gt;
&lt;br /&gt;
[[ja:Moodleの大規模インストール]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Choice_module&amp;diff=43552</id>
		<title>Choice module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Choice_module&amp;diff=43552"/>
		<updated>2008-09-15T19:10:01Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Choices}}&lt;br /&gt;
[[Image:Choices_Icon.GIF]] A &#039;&#039;&#039;choice&#039;&#039;&#039; [[Teacher_documentation#Activity_modules|activity]] is very simple – the teacher asks a question and specifies a choice of multiple responses. It can be useful as a quick poll to stimulate thinking about a topic; to allow the class to vote on a direction for the course; or to gather research consent.&lt;br /&gt;
&lt;br /&gt;
Choice requires some preparation time for creating your activity and thinking about what results you would like to achieve, but your participation with activity itself is likely to be minimal. &lt;br /&gt;
&lt;br /&gt;
==Educational Benefits of Using Choice==&lt;br /&gt;
Pedagogically, the choice activity can be used to provide an opportunity to share starting points through which learners are encouraged to think about and articulate existing knowledge and understandings of a topic. For example, you can ask students to make ‘choices’ about a statement such as “in learning to become a teacher, the most significant issue for me is” (giving the following choices): trust, theoretical underpinnings, communication or delivering materials to students. &lt;br /&gt;
&lt;br /&gt;
This has two benefits: firstly, it forces participants to engage with their choice and think, in advance of a further related activity (you might wish to follow up such a choice activity with a forum discussion or a reflective activity like the online text assignment), about the context and consequences of this choice. Secondly, it allows tutors and students to gain a better understanding of existing views/understandings/knowledge related to the question, idea or concept at hand in the Choice activity.&lt;br /&gt;
&lt;br /&gt;
The choice activity in Moodle only allows a participant to select one choice from a variety of options (that you provide), but you may set the activity so that participants can change their choices.  You can also set the activity so that it ‘closes’ or ‘locks down’ on a specific date, making all choices final from that point on.  This allows participants to change their minds several times before a final date.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Using Moodle book]] Chapter 14: Surveys and Choices&lt;br /&gt;
* [http://www.youtube.com/watch?v=shkelQDKbtM Choice module video]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=43536 Have Your Students &amp;quot;Sign&amp;quot; an Agreement] forum discussion&lt;br /&gt;
* [[Choice block]] - a 3rd party block&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[cs:Modul Anketa]]&lt;br /&gt;
[[de:Abstimmung]]&lt;br /&gt;
[[es:Consulta]]&lt;br /&gt;
[[eu:Inkesta]]&lt;br /&gt;
[[fr:Sondage]]&lt;br /&gt;
[[ja:投票]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Category:Modules&amp;diff=43551</id>
		<title>Category:Modules</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Category:Modules&amp;diff=43551"/>
		<updated>2008-09-15T19:07:45Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of the activity &#039;&#039;&#039;modules&#039;&#039;&#039; available in Moodle. Modules listed below are all available in a standard Moodle 1.6 installation. You can follow the &#039;&#039;Modules (non-standard)&#039;&#039; link to find other modules available for download.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[de:Module]]&lt;br /&gt;
[[fr:Catégorie:Modules]]&lt;br /&gt;
[[it:Categoria:Moduli]]&lt;br /&gt;
[[ja:Category:モジュール]]&lt;br /&gt;
[[ru:Категория:Модули]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=2.1:Question_types&amp;diff=48770</id>
		<title>2.1:Question types</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=2.1:Question_types&amp;diff=48770"/>
		<updated>2008-09-13T13:05:17Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to other languages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
You may add a variety of different types of questions in the Quiz and Lesson modules.  This page is about [[Quiz module]] question types, some will be similar  to [[Lesson questions]] types, which are fewer in number and function differently. The standard quiz question types are listed below with brief descriptions. &#039;&#039;&#039;Please use the links on the right side of this page to find more detailed information about standard questions types that are found in both modules.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Standard question types==&lt;br /&gt;
&lt;br /&gt;
=== Calculated ===&lt;br /&gt;
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken. [[Calculated_question_type|More on the Calculated question type]]&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a subsequent group of questions, for example. [[Description_question_type|More on the Description question type]]&lt;br /&gt;
&lt;br /&gt;
=== Essay ===&lt;br /&gt;
In response to a question (that may include an image) the respondent writes an answer in essay format. [[Essay_question_type|More on the Essay question type]]&lt;br /&gt;
&lt;br /&gt;
=== Matching ===&lt;br /&gt;
A list of sub-questions is provided, along with a list of answers. The respondent must &amp;quot;match&amp;quot; the correct answers with each question. [[Matching_question_type|More on the Matching question type]]&lt;br /&gt;
&lt;br /&gt;
=== Embedded Answers (Cloze Test / Gap Fill) ===&lt;br /&gt;
These very flexible questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and numerical answers. [[Embedded_Answers_(Cloze)_question_type|More on the Embedded Answers question type]]&lt;br /&gt;
&lt;br /&gt;
=== Multiple Choice ===&lt;br /&gt;
In response to a question (that may include a image) the respondent chooses from multiple answers. There are two types of multiple choice questions - single answer and multiple answer. [[Multiple_Choice_question_type|More on the Multiple Choice question type]]&lt;br /&gt;
&lt;br /&gt;
=== Short Answer ===&lt;br /&gt;
In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. [[Short-Answer_question_type|More on the Short Answer question type]]&lt;br /&gt;
&lt;br /&gt;
=== Numerical ===&lt;br /&gt;
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. [[Numerical_question_type|More on the Numerical question type]]&lt;br /&gt;
&lt;br /&gt;
=== Random Short-Answer Matching ===&lt;br /&gt;
From the student perspective, this looks just like a Matching question. The difference is that the sub-questions are drawn randomly from Short Answer questions in the current category. [[Random_Short-Answer_Matching_question_type|More on the Random Short-Answer Matching question type]]&lt;br /&gt;
&lt;br /&gt;
=== True/False ===&lt;br /&gt;
In response to a question (that may include a image), the respondent selects from two options: True or False. [[True/False_question_type|More on the True/False question type]]&lt;br /&gt;
&lt;br /&gt;
==Third-party question types==&lt;br /&gt;
&lt;br /&gt;
Besides the standard question types that are part of the core Moodle distribution, there are question type plugins contributed by the community.&lt;br /&gt;
&lt;br /&gt;
===Drag and Drop===&lt;br /&gt;
&lt;br /&gt;
Please see the [[Drag and Drop question tutorial]] for more information.&lt;br /&gt;
&lt;br /&gt;
===Molecule design===&lt;br /&gt;
&lt;br /&gt;
The [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.&lt;br /&gt;
&lt;br /&gt;
===Opaque===&lt;br /&gt;
&lt;br /&gt;
[[Development:Opaque|Opaque]] is a system for using questions from other systems that support the Opaque protocol within Moodle quizzes. This question type is the Moodle end of that bridge. It can be downloaded from http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=798. See the [[Opaque question type]] tutorial for more information.&lt;br /&gt;
&lt;br /&gt;
===RQP===&lt;br /&gt;
&lt;br /&gt;
RQP was an earlier attempt to do the same thing that Opaque does, but as of Moodle 1.6 it did not work. It used to be in Moodle core, but in Moodle 1.9 it was moved to be a third-part question type. It is probably now only of historical interest.&lt;br /&gt;
&lt;br /&gt;
===Regular Expression Short Answer===&lt;br /&gt;
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an &amp;quot;open&amp;quot; question with a word or a short phrase. However, using so-called &#039;&#039;&#039;regular expressions&#039;&#039;&#039; gives you access to a more powerful system for analysing the student&#039;s answers and thus providing more adapted feedback messages.&lt;br /&gt;
The [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=338 Regular Expression Short Answer question type] is available for Moodle 1.6 from the Modules and plugins database.&lt;br /&gt;
&lt;br /&gt;
==Versions and questions==&lt;br /&gt;
*Some question types can be exported in version 1.6 to a lesson through use of a GIFT or XML Moodle file. &lt;br /&gt;
&lt;br /&gt;
==Question bank==&lt;br /&gt;
Moodle 1.6 created &amp;quot;[[Question bank]]&amp;quot;, a database of questions for the quiz module.  This database will be available for both quiz and lesson modules in 2.0.  &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[Lesson questions]]  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Quiz]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Lesson]]&lt;br /&gt;
[[ca:Tipus_de_preguntes]]&lt;br /&gt;
[[es:Tipos de preguntas]]&lt;br /&gt;
[[ja:問題タイプ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Question_types&amp;diff=43488</id>
		<title>Question types</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Question_types&amp;diff=43488"/>
		<updated>2008-09-13T13:05:17Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to other languages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
You may add a variety of different types of questions in the Quiz and Lesson modules.  This page is about [[Quiz module]] question types, some will be similar  to [[Lesson questions]] types, which are fewer in number and function differently. The standard quiz question types are listed below with brief descriptions. &#039;&#039;&#039;Please use the links on the right side of this page to find more detailed information about standard questions types that are found in both modules.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Standard question types==&lt;br /&gt;
&lt;br /&gt;
=== Calculated ===&lt;br /&gt;
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken. [[Calculated_question_type|More on the Calculated question type]]&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a subsequent group of questions, for example. [[Description_question_type|More on the Description question type]]&lt;br /&gt;
&lt;br /&gt;
=== Essay ===&lt;br /&gt;
In response to a question (that may include an image) the respondent writes an answer in essay format. [[Essay_question_type|More on the Essay question type]]&lt;br /&gt;
&lt;br /&gt;
=== Matching ===&lt;br /&gt;
A list of sub-questions is provided, along with a list of answers. The respondent must &amp;quot;match&amp;quot; the correct answers with each question. [[Matching_question_type|More on the Matching question type]]&lt;br /&gt;
&lt;br /&gt;
=== Embedded Answers (Cloze Test / Gap Fill) ===&lt;br /&gt;
These very flexible questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and numerical answers. [[Embedded_Answers_(Cloze)_question_type|More on the Embedded Answers question type]]&lt;br /&gt;
&lt;br /&gt;
=== Multiple Choice ===&lt;br /&gt;
In response to a question (that may include a image) the respondent chooses from multiple answers. There are two types of multiple choice questions - single answer and multiple answer. [[Multiple_Choice_question_type|More on the Multiple Choice question type]]&lt;br /&gt;
&lt;br /&gt;
=== Short Answer ===&lt;br /&gt;
In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. [[Short-Answer_question_type|More on the Short Answer question type]]&lt;br /&gt;
&lt;br /&gt;
=== Numerical ===&lt;br /&gt;
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. [[Numerical_question_type|More on the Numerical question type]]&lt;br /&gt;
&lt;br /&gt;
=== Random Short-Answer Matching ===&lt;br /&gt;
From the student perspective, this looks just like a Matching question. The difference is that the sub-questions are drawn randomly from Short Answer questions in the current category. [[Random_Short-Answer_Matching_question_type|More on the Random Short-Answer Matching question type]]&lt;br /&gt;
&lt;br /&gt;
=== True/False ===&lt;br /&gt;
In response to a question (that may include a image), the respondent selects from two options: True or False. [[True/False_question_type|More on the True/False question type]]&lt;br /&gt;
&lt;br /&gt;
==Third-party question types==&lt;br /&gt;
&lt;br /&gt;
Besides the standard question types that are part of the core Moodle distribution, there are question type plugins contributed by the community.&lt;br /&gt;
&lt;br /&gt;
===Drag and Drop===&lt;br /&gt;
&lt;br /&gt;
Please see the [[Drag and Drop question tutorial]] for more information.&lt;br /&gt;
&lt;br /&gt;
===Molecule design===&lt;br /&gt;
&lt;br /&gt;
The [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.&lt;br /&gt;
&lt;br /&gt;
===Opaque===&lt;br /&gt;
&lt;br /&gt;
[[Development:Opaque|Opaque]] is a system for using questions from other systems that support the Opaque protocol within Moodle quizzes. This question type is the Moodle end of that bridge. It can be downloaded from http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=798. See the [[Opaque question type]] tutorial for more information.&lt;br /&gt;
&lt;br /&gt;
===RQP===&lt;br /&gt;
&lt;br /&gt;
RQP was an earlier attempt to do the same thing that Opaque does, but as of Moodle 1.6 it did not work. It used to be in Moodle core, but in Moodle 1.9 it was moved to be a third-part question type. It is probably now only of historical interest.&lt;br /&gt;
&lt;br /&gt;
===Regular Expression Short Answer===&lt;br /&gt;
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an &amp;quot;open&amp;quot; question with a word or a short phrase. However, using so-called &#039;&#039;&#039;regular expressions&#039;&#039;&#039; gives you access to a more powerful system for analysing the student&#039;s answers and thus providing more adapted feedback messages.&lt;br /&gt;
The [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=338 Regular Expression Short Answer question type] is available for Moodle 1.6 from the Modules and plugins database.&lt;br /&gt;
&lt;br /&gt;
==Versions and questions==&lt;br /&gt;
*Some question types can be exported in version 1.6 to a lesson through use of a GIFT or XML Moodle file. &lt;br /&gt;
&lt;br /&gt;
==Question bank==&lt;br /&gt;
Moodle 1.6 created &amp;quot;[[Question bank]]&amp;quot;, a database of questions for the quiz module.  This database will be available for both quiz and lesson modules in 2.0.  &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[Lesson questions]]  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Quiz]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Lesson]]&lt;br /&gt;
[[ca:Tipus_de_preguntes]]&lt;br /&gt;
[[es:Tipos de preguntas]]&lt;br /&gt;
[[ja:問題タイプ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=43477</id>
		<title>Development:Implementing Reset course functionality in a module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=43477"/>
		<updated>2008-09-12T18:28:14Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The course reset code is triggered from /course/reset.php. To have your module included, you need to implement the two fuctions described below. To work out how to do this, a good example is to look at the implementations in /mod/fourm/lib.php&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_reset_course_form($course)==&lt;br /&gt;
&lt;br /&gt;
This is called directly by /course/reset.php. It needs to output some form controls to control different options for resetting your module.&lt;br /&gt;
&lt;br /&gt;
The convention is to call settings relating your your module reset_&#039;&#039;mymodule&#039;&#039;_&#039;&#039;something&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is a good model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * Called by course/reset.php&lt;br /&gt;
 */&lt;br /&gt;
function forum_reset_course_form($course) {&lt;br /&gt;
    echo get_string(&#039;resetforums&#039;, &#039;forum&#039;); echo &#039;:&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_news&#039;, 1, true, get_string(&#039;namenews&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_single&#039;, 1, true, get_string(&#039;singleforum&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_eachuser&#039;, 1, true, get_string(&#039;eachuserforum&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_general&#039;, 1, true, get_string(&#039;generalforum&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    echo &#039;&amp;lt;p&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_subscriptions&#039;, 1, true, get_string(&#039;resetsubscriptions&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);&lt;br /&gt;
    echo &#039;&amp;lt;/p&amp;gt;&#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_delete_userdata($data, $showfeedback)==&lt;br /&gt;
 &lt;br /&gt;
This actually does the resetting. It is called indirectly, /course/reset.php calls reset_course_userdata() in /lib/moodlelib.php, which then calls the functions for each module.&lt;br /&gt;
&lt;br /&gt;
The $data parameter is what came back from the form printed by forum_reset_course. In particular, $data-&amp;gt;courseid is the id of the coures we are cleaning up.&lt;br /&gt;
&lt;br /&gt;
The $showfeedback parameter determines whether we should output progress information as we go along.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is again a good one to study, here is a very simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
function example_delete_userdata($data, $showfeedback=true) {&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_frogs)) {&lt;br /&gt;
        if (delete_records(&#039;example_frogs&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;frogsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_newts)) {&lt;br /&gt;
        if (delete_records(&#039;example_newts&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;newtsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ja:開発:コースのリセット機能をモジュールに実装する]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development:Database_fields&amp;diff=43170</id>
		<title>Development:Database fields</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development:Database_fields&amp;diff=43170"/>
		<updated>2008-09-06T14:30:06Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle&#039;s [[Database module]] has some predefined [[Database_fields|field types]] (text, date, URL, picture, etc), but you can customise this to create new field types. For example, you might like to create:&lt;br /&gt;
&lt;br /&gt;
; Discipline-specific field types : e.g. &amp;quot;Protein PDB code&amp;quot; - people can enter the PDB code for a protein, and then the display could (for example) include a 3D viewer for the protein structure, or link out to molecular databases.&lt;br /&gt;
; Institution-specific field types :  e.g. &amp;quot;library reference number&amp;quot; - people can enter a number into the field, and this is automatically turned into a direct link to your library webpages&lt;br /&gt;
; Module-specific field types : e.g. &amp;quot;wiki page&amp;quot; - people see a drop-down list containing the names of pages in your wiki, and can choose which page this particular entry refers to&lt;br /&gt;
&lt;br /&gt;
==Basic concepts==&lt;br /&gt;
&lt;br /&gt;
To create a new field type in Moodle we need to create a new folder in /moodle/mod/data/field. Inside this folder will be PHP code telling Moodle:&lt;br /&gt;
&lt;br /&gt;
# What HTML to output when people are looking at a record in the database&lt;br /&gt;
# What form fields to output when people are adding/editing a record in the database&lt;br /&gt;
# What to do (what info to store) when someone submits the record-add/edit form&lt;br /&gt;
# What form fields to output when the teacher is adding/editing an instance of the field&lt;br /&gt;
# What to do (what info to store) when the teacher submits the field-add/edit form&lt;br /&gt;
&lt;br /&gt;
==The files==&lt;br /&gt;
&lt;br /&gt;
The best way to get an understanding of the plugin architecture is to look at an existing field type - I recommend you look at &#039;&#039;&#039;the URL field type&#039;&#039;&#039;, stored in /moodle/mod/data/field/url. There are three files:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;field.class.php&#039;&#039;&#039; - the most important file, this defines a PHP class which defines the majority of the data field&#039;s behaviour. See below for more detail on this.&lt;br /&gt;
* &#039;&#039;&#039;mod.html&#039;&#039;&#039; - contains a HTML &amp;quot;fragment&amp;quot; defining how the form fields will appear when the teacher is adding/editing an instance of the field.&lt;br /&gt;
* &#039;&#039;&#039;icon.gif&#039;&#039;&#039; - the icon to be displayed along with the field, as a visual cue to the teacher about what sort of data is stored in this field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The PHP class==&lt;br /&gt;
&lt;br /&gt;
If you look at the file &amp;quot;field.class.php&amp;quot; for the URL field type you&#039;ll see that the class is named &amp;quot;data_field_url&amp;quot; and it is a subclass of &amp;quot;data_field_base&amp;quot;. This is very important - the class &amp;quot;data_field_base&amp;quot; (defined in /moodle/mod/data/lib.php, by the way) defines some of the core behaviours without which your field will not work.&lt;br /&gt;
&lt;br /&gt;
Your class&#039;s name should match the subfolder you have created. For example, if we&#039;re creating a new data type called &amp;quot;Tastiness&amp;quot;, we want to create our plugin in a folder &amp;quot;tastiness&amp;quot; and the PHP class should be data_field_tastiness. The class should also define a class variable $type, which again should use the same name - in our example, we&#039;d give it the value &#039;tastiness&#039;. So the top of our field.class.php would look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?php &lt;br /&gt;
 class data_field_tastiness extends data_field_base {&lt;br /&gt;
    var $type = &#039;tastiness&#039;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to take an existing field type, duplicate it, and rename it to a new type (which you can modify later), this is all you need to do. You might like to try this (again, the URL field is a good one to start with) and see how it works.&lt;br /&gt;
&lt;br /&gt;
The base class defines some simple behaviours which you can override in your subclass, to make the plugin do exactly what you want. For example:&lt;br /&gt;
&lt;br /&gt;
 function display_add_field($recordid=0) // Return some HTML for use when a user is adding/editing a record&lt;br /&gt;
 function display_browse_field($recordid, $template) // Return some HTML for displaying a record&lt;br /&gt;
 function update_content($recordid, $value, $name=&#039;&#039;) // Used when a user stores data for a record&lt;br /&gt;
 function get_sort_sql($fieldname) // Specify SQL for how this field should be sorted&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t bother to specify these functions inside your new class, then the default behaviours specified by data_field_base will be used. Simply add these functions to your new class to make something different happen. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;To be continued...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
&lt;br /&gt;
[[ja:データベースフィールド]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Category:Teacher&amp;diff=43169</id>
		<title>Category:Teacher</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Category:Teacher&amp;diff=43169"/>
		<updated>2008-09-06T14:23:24Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages for &#039;&#039;&#039;teachers&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[es:Categoría:Profesor]]&lt;br /&gt;
[[eu:Kategoria:Irakasleak]]&lt;br /&gt;
[[fr:Catégorie:Enseignant]]&lt;br /&gt;
[[ja:Category:教師]]&lt;br /&gt;
[[ru:Категория:Учителю]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Administrator_documentation&amp;diff=24158</id>
		<title>Administrator documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Administrator_documentation&amp;diff=24158"/>
		<updated>2007-06-11T17:29:39Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to other languages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this page is to list useful links by general topics for administrators.&lt;br /&gt;
&lt;br /&gt;
== Installation &amp;amp; Upgrading ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation Quickstart]] for an overview of the installation steps&lt;br /&gt;
*[[Installing Moodle]] for detailed installation instructions&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Installing AMP|Installing Apache, MySQL and PHP]]&lt;br /&gt;
*[[Upgrading|Upgrading Moodle]]&lt;br /&gt;
&lt;br /&gt;
== System-specific Instructions &amp;amp; Packages ==&lt;br /&gt;
&lt;br /&gt;
* [[SUSE Linux Server 10|Automated Installation Guide for SUSE Linux Enterprise Server 10]] operating system&lt;br /&gt;
* [[RedHat Linux installation|Step by Step Installation Guide for RedHat]] operating system&lt;br /&gt;
* [[Debian GNU/Linux installation|Step by Step Installation Guide for Debian GNU/Linux]] operating system&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu]]&lt;br /&gt;
* [[Windows installation|Complete Install Packages for Windows XP and instructions for Windows NT/2000/2003 servers]]&lt;br /&gt;
* [[Complete Install Packages for Mac OS X]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client | Step-by-Step Guide for Installing Moodle using the internal web server on Mac OS X 10.4 Client]]&lt;br /&gt;
* [[1and1_MySQL_installation | Installation on 1and1 web hosting]]&lt;br /&gt;
&lt;br /&gt;
==Security, Performance and Roles==&lt;br /&gt;
&lt;br /&gt;
*[[Security]] contains important security procedures for a production site&lt;br /&gt;
*[[Performance | Performance and optimization]] for ideas on improving the speed of your installation&lt;br /&gt;
*[[Manage roles | Managing roles]] For Moodle 1.7 and later&lt;br /&gt;
&lt;br /&gt;
== FAQs ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
*[[Backup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Configuration Settings ==&lt;br /&gt;
&lt;br /&gt;
*[[Variables]]&lt;br /&gt;
*[[Site settings]]&lt;br /&gt;
*[[Themes]]&lt;br /&gt;
*[[Language]]&lt;br /&gt;
*[[Modules (administrator)|Modules]]&lt;br /&gt;
*[[Blocks (administrator)|Blocks]]&lt;br /&gt;
*[[Filters (administrator)|Filters]]&lt;br /&gt;
*[[Backup (administrator)|Backup]]&lt;br /&gt;
*[[Editor settings]]&lt;br /&gt;
*[[Calendar (administrator)|Calendar]]&lt;br /&gt;
*[[Maintenance mode]]&lt;br /&gt;
&lt;br /&gt;
* See also: [[Location of admin settings in 1.7|Comparision between configuration settings in Moodle 1.6 &amp;amp; 1.7]]&lt;br /&gt;
&lt;br /&gt;
==User Management==&lt;br /&gt;
&lt;br /&gt;
*[[Authentication]]&lt;br /&gt;
*[[Edit user accounts]]&lt;br /&gt;
*[[Edit profile|Add a new user]]&lt;br /&gt;
*[[Flat file|Upload users]]&lt;br /&gt;
*[[Enrolment plugins]]&lt;br /&gt;
*[[Courses (administrator)|Enrol students]]&lt;br /&gt;
*[[Courses (administrator)|Assign teachers]]&lt;br /&gt;
*[[Assign creators]]&lt;br /&gt;
*[[Assign administrators]]&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
*[[Courses (administrator)|Courses]] and [[Course formats|course formats]]&lt;br /&gt;
*[[Logs]]&lt;br /&gt;
*[[Site files]]&lt;br /&gt;
*[[Moodle database|Database]]&lt;br /&gt;
*[[Environment]]&lt;br /&gt;
*[[Moodle Network]] and Moodle Community Hub&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[:Category:Administrator | Index of all Administrator-related pages]]&lt;br /&gt;
*[[Integrations]]&lt;br /&gt;
*[[CVS (administrator)|CVS documentation]]&lt;br /&gt;
*[[Email processing]]&lt;br /&gt;
*[[Search engine optimization]]&lt;br /&gt;
*[[Messaging]]&lt;br /&gt;
*[[Migration]]&lt;br /&gt;
*[[Metacourses]]&lt;br /&gt;
*[[Block layout]]&lt;br /&gt;
*[[Customizing Moodle]]&lt;br /&gt;
*[[Administrator do&#039;s and don&#039;ts]]&lt;br /&gt;
*[http://download.moodle.org/docs/using_moodle/ch16_server_admin.pdf Using Moodle Chapter 16: Moodle Administration]&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[cs:Rukověť správce]]&lt;br /&gt;
[[es:Documentación para Administradores]]&lt;br /&gt;
[[fr:Documentation administrateur]]&lt;br /&gt;
[[ja:管理者ドキュメント]]&lt;br /&gt;
[[ko:관리자 문서]]&lt;br /&gt;
[[nl:Documentatie voor beheerders]]&lt;br /&gt;
[[ru:Администраторам]]&lt;br /&gt;
[[zh:管理员文档]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Help:Editing&amp;diff=24069</id>
		<title>Help:Editing</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Help:Editing&amp;diff=24069"/>
		<updated>2007-06-05T17:59:46Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Help}}&lt;br /&gt;
This page is for editing Moodle Documentation (MoodleDocs). This is a similar but much more robust type of program than the [[Wiki module|standard Moodle wiki]].&lt;br /&gt;
&lt;br /&gt;
==Edit tab==&lt;br /&gt;
Every ModdleDoc page has an &amp;quot;edit&amp;quot; tab at the top .  This link will let you edit the page you are viewing. Please try editing a page by using this  [[Sandbox|sandbox link]]. We will cover more formatting and special MoodleDoc features below. &lt;br /&gt;
&lt;br /&gt;
=== Show preview ===&lt;br /&gt;
In edit mode, the show preview button at the bottom of the page lets you see what the page will look like after your edit, before you actually save.  We all make mistakes; this feature lets you catch them immediately.  Using Show preview before saving also lets you try format changes and other edits without cluttering up the page history, and has a number of other advantages.  Don&#039;t forget to save your edits after previewing, though!&lt;br /&gt;
&lt;br /&gt;
=== Edit summary ===&lt;br /&gt;
Before saving the page, it&#039;s considered good practice to enter a very brief summary of your changes in the summary box below the edit-box.&lt;br /&gt;
&lt;br /&gt;
== Formatting ==&lt;br /&gt;
&lt;br /&gt;
Most &#039;&#039;&#039;formatting&#039;&#039;&#039;  in MoodleDocs is usually done with MediaWiki markup - you don&#039;t have to learn HTML!&lt;br /&gt;
&lt;br /&gt;
=== Bold and italics ===&lt;br /&gt;
&#039;&#039;&#039;Bolding&#039;&#039;&#039; and &#039;&#039;italicizing&#039;&#039; is done by surrounding a word or phrase with multiple apostrophes (&amp;lt;tt&amp;gt;&#039;&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&#039;&#039;italics&#039;&#039;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; appears as &#039;&#039;italics&#039;&#039;. (2 apostrophes on both sides)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&#039;&#039;&#039;bold&#039;&#039;&#039;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; appears as &#039;&#039;&#039;bold&#039;&#039;&#039;. (3 apostrophes on both sides)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&#039;&#039;&#039;&#039;&#039;bolded italics&#039;&#039;&#039;&#039;&#039;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; appears as &#039;&#039;&#039;&#039;&#039;bolded italics&#039;&#039;&#039;&#039;&#039;.  (5 apostrophes on both sides)&lt;br /&gt;
&lt;br /&gt;
=== Headings and subheadings ===&lt;br /&gt;
Headings and subheadings are an easy way to improve the organization of an article. &lt;br /&gt;
&lt;br /&gt;
Headings can be created like this:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;==Top level heading==&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (2 equals signs)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;===Subheading===&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (3 equals signs)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;====Another level down====&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (4 equals signs)&lt;br /&gt;
&lt;br /&gt;
If an article has at least four headings, a table of contents will automatically be generated.&lt;br /&gt;
&lt;br /&gt;
=== Indentations ===&lt;br /&gt;
The simplest way of indenting is to place a colon (&amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt;) at the beginning of a line. The more colons you put, the further indented the text will be. A newline marks the end of the indented paragraph e.g.&lt;br /&gt;
:&amp;lt;code&amp;gt;This is aligned all the way to the left.&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;This is indented slightly.&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;::&amp;lt;/nowiki&amp;gt;This is indented more.&amp;lt;/code&amp;gt;&lt;br /&gt;
is shown as&lt;br /&gt;
:This is aligned all the way to the left.&lt;br /&gt;
::This is indented slightly.&lt;br /&gt;
:::This is indented more.&lt;br /&gt;
&lt;br /&gt;
=== Lists ===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!What it looks like&lt;br /&gt;
!What you type&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* &#039;&#039;Unordered lists&#039;&#039; are easy to do:&lt;br /&gt;
** start every line with a star&lt;br /&gt;
*** more stars means deeper levels&lt;br /&gt;
*A newline&lt;br /&gt;
*in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;* Unordered Lists are easy to do:&lt;br /&gt;
** start every line with a star&lt;br /&gt;
*** more stars means deeper levels&lt;br /&gt;
*A newline&lt;br /&gt;
*in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
# Numbered lists are also good&lt;br /&gt;
## very organized&lt;br /&gt;
## easy to follow&lt;br /&gt;
#A newline&lt;br /&gt;
#in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Numbered lists are also good&lt;br /&gt;
## very organized&lt;br /&gt;
## easy to follow&lt;br /&gt;
#A newline&lt;br /&gt;
#in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Descriptive lists:&lt;br /&gt;
; first tag : accompanying description&lt;br /&gt;
; second tag : more description&lt;br /&gt;
; third tag : surprise! more description&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Descriptive lists:&lt;br /&gt;
; first tag : accompanying description&lt;br /&gt;
; second tag : more description&lt;br /&gt;
; third tag : surprise! more description&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Preserving formatting ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!What it looks like&lt;br /&gt;
!What you type&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Leading spaces are another way to preserve formatting.&lt;br /&gt;
&lt;br /&gt;
 Putting a space at the beginning of each line&lt;br /&gt;
 stops the text from being reformatted. &lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Leading spaces are another way to preserve formatting.&lt;br /&gt;
&lt;br /&gt;
 Putting a space at the beginning of each line&lt;br /&gt;
 stops the text from being reformatted.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use &amp;lt;pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/pre&amp;gt; tags around code and other preformatted text.&lt;br /&gt;
  or use block the text and use the nowiki tool&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
Links to other pages are the heart of a wiki and MoodleDocs.  &lt;br /&gt;
&lt;br /&gt;
=== Wiki links ===&lt;br /&gt;
To make a wiki link, simply put the word in double square brackets, like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Sandbox]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; .  Highlight text and using the &amp;quot;internal link&amp;quot; tool will do this as well.&lt;br /&gt;
&lt;br /&gt;
If you want to use words other than the article title as the text of the link, you can do so by adding the pipe &amp;quot;|&amp;quot; divider followed by the alternative name or text.&lt;br /&gt;
&lt;br /&gt;
For example, if you wanted to make a link to the [[Sandbox]], but wanted it to say &amp;quot;my text&amp;quot; you would write it as: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Sandbox|my text]]&amp;lt;/nowiki&amp;gt;...&amp;lt;/code&amp;gt; It would appear as: [[Sandbox|my text]]... but would link to the sandbox.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to make an external link is to simply type in the full URL for the page you want to link to e.g. http://moodle.com.&lt;br /&gt;
&lt;br /&gt;
To make the link display something other than the URL, use one square bracket at each end. If you want to make a link to moodle.com, type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[http://moodle.com/]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This will display the link as a number in brackets, like this: [http://moodle.com/].  There is also the external link tool which can also assist you.&lt;br /&gt;
&lt;br /&gt;
If you want the link to appear with text that you specify, add an alternative title after the address separated by a &#039;&#039;&#039;space&#039;&#039;&#039; (&#039;&#039;not&#039;&#039; a pipe). So if you want the link to appear as [http://moodle.com Moodle], just type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[http://moodle.com Moodle] &amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Categories links===&lt;br /&gt;
A catagory is a type of index page, a page of links listed in alphabetical order. In page view mode, a list of catagories that a page is linked to, appears at the bottom.&lt;br /&gt;
To put a page in a category, just type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, and put the name of the category between the colon and the brackets.&lt;br /&gt;
&lt;br /&gt;
To link directly to a category use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:Category:Teacher | teacher]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, this will show as [[:Category:Teacher | teacher]], note the preceding &amp;quot;:&amp;quot;, which is different to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:Teacher | teacher]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The second will put the current page in the teacher category as mentioned above.&lt;br /&gt;
&lt;br /&gt;
This page is linked to the single catagory &amp;quot;MoodleDocs&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
===Inter-language links===&lt;br /&gt;
&lt;br /&gt;
Simply type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[es:Corresponding page title in Spanish]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in the English Moodle Docs, or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[en:Corresponding page title in English]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in the [[:es:Portada|Spanish Moodle Docs]], at the bottom of the page, below the category link. Inter-language links will appear automatically in the &amp;quot;In other languages&amp;quot; block.&lt;br /&gt;
&lt;br /&gt;
===User-page links===&lt;br /&gt;
User names can be linked to a user page.  For example &amp;lt;nowiki&amp;gt;[[User:Helen Foster|Helen Foster]] &amp;lt;/nowiki&amp;gt; will appear [[User:Helen Foster|Helen Foster]] and link to the user&#039;s page. Comments by other users are generally left on the Users page comment tab.&lt;br /&gt;
&lt;br /&gt;
==Page comments==&lt;br /&gt;
The page comment tab is used for discussion about the page.  Sometimes before making an edit on the page for the first time, it is a good idea to check the page comments. It can be formatted the same as a main page, thus can be used to show a draft of a proposed change.&lt;br /&gt;
&lt;br /&gt;
Talk page contributions may be signed and dated by typing four tildes &amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt;. This will appear as [[User:Helen Foster|Helen Foster]] 06:35, 19 February 2006 (WST), for example.&lt;br /&gt;
&lt;br /&gt;
==Page history==&lt;br /&gt;
The page history tab allows a way to look at changes between different edits. It is also possible to revert (roll back) an edit to a previous version.  Usually this is left to the administrator, but you certainly can rollback your recent edits.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Watch and unwatch page==&lt;br /&gt;
A watched page will appear on &amp;quot;my watchlist&amp;quot; when ever someone edits the page. There is a tab next to history which acts as a toggle between watch and unwatch. There is also at the bottom of the page in edit mode a &amp;quot;Watch this page&amp;quot; check off box.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://meta.wikimedia.org/wiki/Help:Editing MediaWiki Help:Editing]&lt;br /&gt;
*[http://meta.wikimedia.org/wiki/Help:HTML_in_wikitext Help:HTML in wikitext]&lt;br /&gt;
*[http://diberri.dyndns.org/html2wiki.html HTML to MediaWiki converter]&lt;br /&gt;
*[http://wikipedia.mozdev.org/ Firefox Wikipedia extension] - The Wikipedia extension makes editing of  wiki pages easier by adding a new toolbar to your browser and by providing new menu items in the context menu (right mouse key).&lt;br /&gt;
*[[Wiki module]] for the wiki included as part of the standard Moodle&lt;br /&gt;
&lt;br /&gt;
[[Category:MoodleDocs]]&lt;br /&gt;
&lt;br /&gt;
[[es:Ayuda:Cómo se edita una página]]&lt;br /&gt;
[[fr:Aide:Comment éditer une page]]&lt;br /&gt;
[[ja:Help:編集方法]]&lt;br /&gt;
[[nl:Meehelpen]]&lt;br /&gt;
[[ru:Справка:Редактирование]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Sandbox&amp;diff=23893</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Sandbox&amp;diff=23893"/>
		<updated>2007-06-01T10:32:54Z</updated>

		<summary type="html">&lt;p&gt;Topstone: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;abcdef deneme 1 2&lt;br /&gt;
&lt;br /&gt;
Very nice :-)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;Moodle is Great!&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;== אחת שתיים שלו ארבע&lt;br /&gt;
 ==== Headline text ==== Headline text ==&#039;&#039;&#039;Bold text&#039;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====bbbbbb====&lt;br /&gt;
[[Table]]&lt;br /&gt;
$$ x^2 $$&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x^2&amp;lt;/math&amp;gt;&lt;br /&gt;
== Headline text ==&lt;br /&gt;
&lt;br /&gt;
== Aesthetic buggery to follow! ==&lt;br /&gt;
&amp;lt;hr size=5&amp;gt;  &lt;br /&gt;
&amp;lt;hr size=10&amp;gt;&lt;br /&gt;
&amp;lt;hr size=20&amp;gt;  &lt;br /&gt;
... well, that&#039;s too bad: &amp;lt;tt&amp;gt; I was expecting to be able to make larger headers! &amp;lt;i&amp;gt;[pout!]&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Interesting.  Don&#039;t know much about HTML but &lt;br /&gt;
#remember this is a Mediawiki.   &lt;br /&gt;
#When I want to try something off the beaten track in MoodleDocs, I [http://meta.wikimedia.org/wiki/Help:Editing#Templates start here with a search on editing tips].&lt;br /&gt;
#Since I am a clutz, I created a web page using a word processor.  Then opened my browser and revealed the page code.  Then placed it below.   So you can make larger headers several ways. chris collman&lt;br /&gt;
::see examples below&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;span style=&#039;font-size:26.0pt&#039;&amp;gt;This is 26.opt test&amp;lt;/span&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
Notice it still is a header just not the default font&lt;br /&gt;
&lt;br /&gt;
===This is a 3rd level - a little smaller===&lt;br /&gt;
&lt;br /&gt;
====This is a 3rd level header - Probably no difference====&lt;br /&gt;
&lt;br /&gt;
== Headline text ==&lt;br /&gt;
&lt;br /&gt;
Martha is a radical&lt;br /&gt;
&lt;br /&gt;
=Is a 1st level header - the larger header topic=&lt;br /&gt;
&lt;br /&gt;
just to see what would happen&lt;br /&gt;
&lt;br /&gt;
=&amp;lt;span style=&#039;font-size:40.0pt&#039;&amp;gt;This  is a 400.opt font test&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just testing it out!&lt;br /&gt;
&lt;br /&gt;
Seems OK!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Here&#039;s some text.&lt;br /&gt;
:Here&#039;s some indented text.&lt;br /&gt;
::And a bit more indented.&lt;br /&gt;
::::::::::Now you&#039;re just being silly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[fr:Bac à sable]]&lt;br /&gt;
[[ja:サンドボックス]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=HTML_in_Moodle&amp;diff=23854</id>
		<title>HTML in Moodle</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=HTML_in_Moodle&amp;diff=23854"/>
		<updated>2007-05-31T11:12:12Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;When writing HTML in Moodle, you are free to use almost any HTML tags you like to produce the effect you want.&lt;br /&gt;
&lt;br /&gt;
Note that scripting (eg Javascript or VB Script) is not allowed, and will be removed automatically.&lt;br /&gt;
&lt;br /&gt;
Your code will normally be printed on the page within a table cell, so:&lt;br /&gt;
&lt;br /&gt;
* there is no need to use any &amp;lt;HEAD&amp;gt; or &amp;lt;BODY&amp;gt; tags&lt;br /&gt;
* be careful about unmatched &amp;lt;/TABLE&amp;gt; tags that may mess up the display. &lt;br /&gt;
&lt;br /&gt;
Smilies (emoticons) will be converted into their graphical equivalent, and bare URLs will be converted into links.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[HTML editor]] | [[overlib]]&lt;br /&gt;
&lt;br /&gt;
[[ja:MoodleでのHTML]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development:Coding&amp;diff=23850</id>
		<title>Development:Coding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development:Coding&amp;diff=23850"/>
		<updated>2007-05-31T03:46:20Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any collaborative project needs consistency and stability to stay strong.&lt;br /&gt;
&lt;br /&gt;
These &#039;&#039;&#039;coding guidelines&#039;&#039;&#039; are to provide a goal for all Moodle code to strive to. It&#039;s true that some of the older existing code falls short in a few areas, but it will all be fixed eventually. All new code definitely must adhere to these standards as closely as possible.&lt;br /&gt;
&lt;br /&gt;
==General rules==&lt;br /&gt;
&lt;br /&gt;
# All code files should use the .php extension.&lt;br /&gt;
# All template files should use the .html extension.&lt;br /&gt;
# All text files should use Unix-style text format (most text editors have this as an option).&lt;br /&gt;
# All php tags must be &#039;full&#039; tags like &amp;lt;?php ?&amp;gt; ... not &#039;short&#039; tags like &amp;lt;? ?&amp;gt;.&lt;br /&gt;
# All existing copyright notices must be retained. You can add your own if necessary.&lt;br /&gt;
# Each file should include the main config.php file.&lt;br /&gt;
# Each file should check that the user is authenticated correctly, using require_login() and isadmin(), isteacher(), iscreator() or isstudent().&lt;br /&gt;
# All access to databases should use the functions in &#039;&#039;lib/dmllib.php&#039;&#039; whenever possible - this allows compatibility across a wide range of databases. You should find that almost anything is possible using these functions. If you must write SQL code then make sure it is: cross-platform; restricted to specific functions within your code (usually a lib.php file); and clearly marked.&lt;br /&gt;
# Don&#039;t create or use global variables except for the standard $CFG, $SESSION, $THEME, $SITE, $COURSE and $USER.&lt;br /&gt;
# All variables should be initialised or at least tested for existence using isset() or empty() before they are used.&lt;br /&gt;
# All strings should be translatable - create new texts in the &amp;quot;lang/en_utf8&amp;quot; files with concise English lowercase names and retrieve them from your code using get_string() or print_string(). Never delete strings to ensure backwards compatibility of the language packs is maintained.&lt;br /&gt;
# All errors should be printed using print_error() to maximise translation and help for users (it automatically links to the docs wiki).&lt;br /&gt;
# All help files should be translatable - create new texts in the &amp;quot;lang/en_utf8/help&amp;quot; directory and call them using helpbutton(). If you need to update a help file:&lt;br /&gt;
#* with a minor change, where an old translation of the file would still make sense, then it&#039;s OK to make the change but you should notify translation AT moodle DOT org.&lt;br /&gt;
#* for a major change you should create a new file by adding an incrementing number (eg filename2.html) so that translators can easily see it&#039;s a new version of the file. Obviously the new code and the help index files should also be modified to point to the newest versions.&lt;br /&gt;
# Incoming data from the browser (sent via GET or POST) automatically has magic_quotes applied (regardless of the PHP settings) so that you can safely insert it straight into the database. All other raw data (from files, or from databases) must be escaped with addslashes() before inserting it into the database. Because this is so often done incorrectly, there is more explanation on this issue of adding and stripping slashes on a [[Developer:Slashes|separate page]].&lt;br /&gt;
# VERY IMPORTANT: All texts within Moodle, especially those that have come from users, should be printed using the format_text() function. This ensures that text is filtered and cleaned correctly. More information can be found on the page about [[Development:Output_functions|output functions]].&lt;br /&gt;
# User actions should be logged using the [[Development:Logs|add_to_log()]] function. These logs are used for [[Settings#Show_activity_reports|activity reports]] and [[Logs]].&lt;br /&gt;
# When generating a HTML link, always make it relative to the full site root, i.e. link to  &#039;&#039;$CFG-&amp;gt;wwwroot/mod/blonk/view.php?id=99&#039;&#039; rather than just &#039;&#039;view.php?id=99&#039;&#039;. This means that your code will work if called by a script in another folder, among other things.&lt;br /&gt;
&lt;br /&gt;
==Coding style==&lt;br /&gt;
&lt;br /&gt;
I know it can be a little annoying to change your style if you&#039;re used to something else, but balance that annoyance against the annoyance of all the people trying later on to make sense of Moodle code with mixed styles. There are obviously many good points for and against any style that people use, but the current style just is, so please stick to it.&lt;br /&gt;
&lt;br /&gt;
1. Indenting should be consistently 4 spaces. Don&#039;t use tabs AT ALL.&lt;br /&gt;
&lt;br /&gt;
2. Variable names should always be easy-to-read, meaningful lowercase English words. If you really need more than one word then run them together, but keep them short as possible. Use plural names for arrays of objects.&lt;br /&gt;
&lt;br /&gt;
      GOOD: $quiz&lt;br /&gt;
      GOOD: $errorstring&lt;br /&gt;
      GOOD: $assignments (for an array of objects)&lt;br /&gt;
      GOOD: $i (but only in little loops)&lt;br /&gt;
&lt;br /&gt;
      BAD: $Quiz&lt;br /&gt;
      BAD: $aReallyLongVariableNameWithoutAGoodReason&lt;br /&gt;
      BAD: $error_string&lt;br /&gt;
&lt;br /&gt;
3. Constants should always be in upper case, and always start with the name of the module. They should have words separated by underscores.&lt;br /&gt;
&lt;br /&gt;
      define(&amp;quot;FORUM_MODE_FLATOLDEST&amp;quot;, 1);&lt;br /&gt;
4. Function names should be simple English lowercase words, and start with the name of the module to avoid conflicts between modules. Words should be separated by underscores. Parameters should always have sensible defaults if possible. Note there is no space between the function name and the following (brackets).&lt;br /&gt;
&lt;br /&gt;
      function forum_set_display_mode($mode=0) {&lt;br /&gt;
          global $USER, $CFG;&lt;br /&gt;
          &lt;br /&gt;
          if ($mode) {&lt;br /&gt;
              $USER-&amp;gt;mode = $mode;&lt;br /&gt;
          } else if (empty($USER-&amp;gt;mode)) {&lt;br /&gt;
              $USER-&amp;gt;mode = $CFG-&amp;gt;forum_displaymode;&lt;br /&gt;
          }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
5. Blocks must always be enclosed in curly braces (even if there is only one line). Moodle uses this style:&lt;br /&gt;
&lt;br /&gt;
      if ($quiz-&amp;gt;attempts) {&lt;br /&gt;
          if ($numattempts &amp;gt; $quiz-&amp;gt;attempts) {&lt;br /&gt;
              error($strtoomanyattempts, &amp;quot;view.php?id=$cm-&amp;gt;id&amp;quot;);&lt;br /&gt;
          }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
6. Strings should be defined using single quotes where possible, for increased speed.&lt;br /&gt;
&lt;br /&gt;
      $var = &#039;some text without any variables&#039;;&lt;br /&gt;
      $var = &amp;quot;with special characters like a new line \n&amp;quot;;&lt;br /&gt;
      $var = &#039;a very, very long string with a &#039;.$single.&#039; variable in it&#039;;&lt;br /&gt;
      $var = &amp;quot;some $text with $many variables $within it&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
7. Comments should be added as much as is practical, to explain the code flow and the purpose of functions and variables.&lt;br /&gt;
&lt;br /&gt;
* Every function (and class) should use the popular [http://www.phpdoc.org/ phpDoc format]. This allows code documentation to be generated automatically.&lt;br /&gt;
* Inline comments should use the // style, laid out neatly so that it fits among the code and lines up with it.&lt;br /&gt;
&lt;br /&gt;
      /**&lt;br /&gt;
      * The description should be first, with asterisks laid out exactly&lt;br /&gt;
      * like this example. If you want to refer to a another function,&lt;br /&gt;
      * do it like this: {@link clean_param()}. Then, add descriptions&lt;br /&gt;
      * for each parameter as follows.&lt;br /&gt;
      *&lt;br /&gt;
      * @param int $postid The PHP type is followed by the variable name&lt;br /&gt;
      * @param array $scale The PHP type is followed by the variable name&lt;br /&gt;
      * @param array $ratings The PHP type is followed by the variable name&lt;br /&gt;
      * @return mixed&lt;br /&gt;
      */&lt;br /&gt;
      function forum_get_ratings_mean($postid, $scale, $ratings=NULL) {&lt;br /&gt;
          if (!$ratings) {&lt;br /&gt;
              $ratings = array();     // Initialize the empty array&lt;br /&gt;
              if ($rates = get_records(&amp;quot;forum_ratings&amp;quot;, &amp;quot;post&amp;quot;, $postid)) {&lt;br /&gt;
                  // Process each rating in turn&lt;br /&gt;
                  foreach ($rates as $rate) {&lt;br /&gt;
      ....etc&lt;br /&gt;
&lt;br /&gt;
8. Space should be used liberally - don&#039;t be afraid to spread things out a little to gain some clarity. Generally, there should be one space between brackets and normal statements, but no space between brackets and variables or functions:&lt;br /&gt;
&lt;br /&gt;
      foreach ($objects as $key =&amp;gt; $thing) {&lt;br /&gt;
          process($thing);&lt;br /&gt;
      }&lt;br /&gt;
      &lt;br /&gt;
      if ($x == $y) {&lt;br /&gt;
          $a = $b;&lt;br /&gt;
      } else if ($x == $z) {&lt;br /&gt;
          $a = $c;&lt;br /&gt;
      } else {&lt;br /&gt;
          $a = $d;&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
9. When making a COPY of an object, always use the php5 clone() function (otherwise you may end up with just a reference to the first object).  Moodle will make sure this works consistently on php4 too.&lt;br /&gt;
&lt;br /&gt;
      BAD:   $b = $a;&lt;br /&gt;
      GOOD:  $b = clone($a);&lt;br /&gt;
&lt;br /&gt;
If the thing you want to copy is not an object, but may contain objects (eg an array of objects) then use fullclone() instead.&lt;br /&gt;
&lt;br /&gt;
==Database structures==&lt;br /&gt;
&lt;br /&gt;
To help you create tables that meet these guidelines, we recommend you use the built in [[Development:XMLDB_defining_an_XML_structure#The_XMLDB_editor|database definition (XMLDB) editor]].&lt;br /&gt;
&lt;br /&gt;
# Every table must have an auto-incrementing id field (INT10) as primary index. (see [[IdColumnReasons]])&lt;br /&gt;
# The main table containing instances of each module must have the same name as the module (eg widget) and contain the following minimum fields:&lt;br /&gt;
#* id - as described above&lt;br /&gt;
#* course - the id of the course that each instance belongs to&lt;br /&gt;
#* name - the full name of each instance of the module&lt;br /&gt;
# Other tables associated with a module that contain information about &#039;things&#039; should be named widget_things (note the plural).&lt;br /&gt;
# Table and column names should avoid using [[Database reserved words|reserved words in any database]]. Please check them before creation.&lt;br /&gt;
# Column names should be always lowercase, simple and short, following the same rules as for variable names.&lt;br /&gt;
# Where possible, columns that contain a reference to the id field of another table (eg widget) should be called widgetid. (Note that this convention is newish and not followed in some older tables)&lt;br /&gt;
# Boolean fields should be implemented as small integer fields (eg INT4) containing 0 or 1, to allow for later expansion of values if necessary.&lt;br /&gt;
# Most tables should have a timemodified field (INT10) which is updated with a current timestamp obtained with the PHP time() function.&lt;br /&gt;
# Always define a default value for each field (and make it sensible)&lt;br /&gt;
# Each table name should start with the database prefix ($CFG-&amp;gt;prefix). In a lot of cases, this is taken care of for you automatically. Also, under Postgres, the name of every index must start with the prefix too.&lt;br /&gt;
# In order to guarantee [[Development:XMLDB problems#Table and column aliases - the AS keyword|cross-db compatibility]] follow these simple rules about the use of the &#039;&#039;&#039;AS&#039;&#039;&#039; keyword (only if you need table/colum aliases, of course):&lt;br /&gt;
#* &#039;&#039;&#039;Don&#039;t use&#039;&#039;&#039; the &#039;&#039;&#039;AS&#039;&#039;&#039; keyword for &#039;&#039;&#039;table aliases&#039;&#039;&#039;.&lt;br /&gt;
#* &#039;&#039;&#039;Do use&#039;&#039;&#039; the &#039;&#039;&#039;AS&#039;&#039;&#039; keyword for &#039;&#039;&#039;column aliases&#039;&#039;&#039;.&lt;br /&gt;
# &#039;&#039;&#039;Never&#039;&#039;&#039; create UNIQUE KEYs (constraints) at all. Instead use UNIQUE INDEXes. In the future, if we decide to add referential integrity to Moodle and we need UNIQUE KEYs they will be used, but not now. Please note that the XMLDB editor allows you to specify both XMLDB-only UNIQUE and FOREIGN constraints (and that&#039;s good, in order to have the XML well defined) but only underlying INDEXes will be generated. &lt;br /&gt;
# Those XMLDB-only UNIQUE KEYs (read previous point) only must be defined if such field/fields &#039;&#039;&#039;are going to be the target&#039;&#039;&#039; for some (XMLDB-only too) FOREIGN KEY. Else, create them as simple UNIQUE INDEXes.&lt;br /&gt;
# Tables associated &#039;&#039;&#039;with one block&#039;&#039;&#039; must follow this convention with their names: &#039;&#039;&#039;$CFG-&amp;gt;prefix + &amp;quot;block_&amp;quot; + name_of_the_block + anything_else&#039;&#039;&#039;. For example, assuming that $CFG-&amp;gt;prefix is &#039;mdl_&#039;, all the tables for the block &amp;quot;rss_client&amp;quot; must start by &#039;mdl_block_rss_client&#039; (being possible to add more words at the end, i.e. &#039;mdl_block_rss_client_anothertable&#039;...). This rule will be 100% enforced with Moodle 2.0, giving time to developers until then. See [http://tracker.moodle.org/browse/MDL-6786 Task 6786] for more info about this.&lt;br /&gt;
# &#039;&#039;&#039;Never&#039;&#039;&#039; make database changes in the STABLE branches.  If we did, then users upgrading from one stable version to the next would have duplicate changes occurring, which may cause serious errors.&lt;br /&gt;
&lt;br /&gt;
==Security issues (and handling form and URL data)==&lt;br /&gt;
&lt;br /&gt;
# Do not rely on &#039;register_globals&#039;. Every variable must be properly initialised in every code file. It must be obvious where the variable came from.&lt;br /&gt;
# Initialise all arrays and objects, even if empty. $a = array() or $obj = new stdClass();.&lt;br /&gt;
# Do not use the optional_variable() function (this function is now deprecated). Use the optional_param() function instead. Pick the correct PARAM_XXXX value for the data type you expect.&lt;br /&gt;
# Do not use the require_variable() function (this function is now deprecated). Use the required_param() function instead. Pick the correct PARAM_XXXX value for the data type you expect.&lt;br /&gt;
# Use data_submitted(), with care. Data must still be cleaned before use.&lt;br /&gt;
# Do not use $_GET, $_POST or $_REQUEST. Use the appropriate required_param() or optional_param() appropriate to your need.&lt;br /&gt;
# Do not check for an action using something like if (isset($_GET[&#039;something&#039;])). Use, e.g., $something = optional_param( &#039;something&#039;,-1,PARAM_INT ) and then perform proper test for it being in its expected range of values e.g., if ($something&amp;gt;=0) {....&lt;br /&gt;
# Wherever possible group all your required_param(), optional_param() and other variables initialisation at the beginning of each file to make them easy to find.&lt;br /&gt;
# Use &#039;sesskey&#039; mechanism to protect form handling routines from attack. Basic example of use: when form is generated, include &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;sesskey&amp;quot; value=&amp;quot;&amp;lt;?php echo sesskey(); ?&amp;gt;&amp;quot; /&amp;gt;. When you process the form check with if (!confirm_sesskey()) {error(&#039;Bad Session Key&#039;);}.&lt;br /&gt;
# All filenames must be &#039;cleaned&#039; using the clean_filename() function, if this has not been done already by appropriate use of required_param() or optional_param()&lt;br /&gt;
# Any data read from the database must have [[Developer:Slashes|addslashes()]] applied to it before it can be written back. A whole object of data can be hit at once with addslashes_object().&lt;br /&gt;
# Wherever possible, data to be stored in the database must come from POST data (from a form with method=&amp;quot;POST&amp;quot;) as opposed to GET data (ie, data from the URL line).&lt;br /&gt;
# Do not use data from $_SERVER if you can avoid it. This has portability issues.&lt;br /&gt;
# If it hasn&#039;t been done somewhere else, make sure all data written to the database has been through the clean_param() function using the appropriate PARAM_XXXX for the datatype.&lt;br /&gt;
# If you write custom SQL code, make very sure it is correct. In particular watch out for missing quotes around values. Possible SQL &#039;injection&#039; exploit.&lt;br /&gt;
# Check all data (particularly that written to the database) in every file it is used. Do not expect or rely on it being done somewhere else.&lt;br /&gt;
# Blocks of code to be included should contain a definite PHP structure (e.g, a class declaration, function definition(s) etc.) - straight blocks of code promote uninitialised variable usage.&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer|Coding]]&lt;br /&gt;
&lt;br /&gt;
[[es:Manual de Estilo de Código]]&lt;br /&gt;
[[ja:コーディング]]&lt;br /&gt;
[[zh:代码指南]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Upgrading_to_Moodle_1.6&amp;diff=23798</id>
		<title>Upgrading to Moodle 1.6</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Upgrading_to_Moodle_1.6&amp;diff=23798"/>
		<updated>2007-05-28T17:05:42Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 1.6}}&lt;br /&gt;
Since the changes for the upgrade from Moodle 1.5.x to Moodle 1.6 not only change the database structure, but also the database content (everything is converted to UTF-8), some considerations are important before you start.  If you are upgrading a really important site, it will probably be worth doing a test upgrade on a separate copy of your site first just to make sure it goes OK.&lt;br /&gt;
&lt;br /&gt;
==Check the system requirements==&lt;br /&gt;
Go to Administration &amp;gt;&amp;gt; [[Environment]] (in recent versions of Moodle 1.5) and choose Moodle 1.6 ;-) &lt;br /&gt;
You will get a report of whether your server specs meet the requirements for Moodle 1.6 and what needs to be done.  Basically you need PHP 4.3.0 or later (for PHP5, version 5.1.0 or later is required), and MySQL 4.1.16 or later (4.1.12 is ok if your site is latin-only) or PostgreSQL.  Native iconv support in PHP will really speed things up too (it needs to be specified during compilation) but is not required.&lt;br /&gt;
&lt;br /&gt;
==Update the Moodle files==&lt;br /&gt;
Perform a [[Upgrading|normal upgrade]] of your Moodle installation, &#039;&#039;&#039;[[Upgrading#3._Your_database |backing up your database first]]&#039;&#039;&#039;.&lt;br /&gt;
Take care to include ALL optional modules you have in your existing installation. Conversion of the data to UTF-8 of these modules will not be possible if you forget this.&lt;br /&gt;
&lt;br /&gt;
==Database migration==&lt;br /&gt;
Although not strictly necessary, it is HIGHLY recomended that you migrate your database to UTF-8 immediately after upgrading.  You&#039;ll find the link to do this waiting for you at the top of the admin page. Please see [[Database migration|MySQL database migration]] or [[UTF-8 PostgreSQL|PostgreSQL database migration]] for further details.&lt;br /&gt;
&lt;br /&gt;
==Languages==&lt;br /&gt;
&lt;br /&gt;
An entirely new interface for languages has been designed.  By default, Moodle only contains one language (English), and you need to install all the language packs you need individually.  The new interface makes this easy - it will download them for you from moodle.org and install them in your data directory.&lt;br /&gt;
&lt;br /&gt;
After the migration of the database, you may go to Administration &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; [[Language]] and follow the [[Language import utility]] link. You may select the desired language packs on the right pane and install them directly. Updating the language packs can now easily be done by following the update link.&lt;br /&gt;
&lt;br /&gt;
Take care to use always a language pack that matches your database content:&lt;br /&gt;
&lt;br /&gt;
* Upgraded installations: first database migration, then UTF-8 language packs&lt;br /&gt;
* New 1.6 installations: you will immediately use UTF-8 language packs&lt;br /&gt;
&lt;br /&gt;
You will not find the en_utf8 language pack in your &#039;&#039;moodledata/lang&#039;&#039; folder. It is in the moodle/lang folder and is not to be modified at all. It should never be upgraded, since it is part of the installation. All other language packs, even modifications for the en language pack go in the &#039;&#039;moodledata/lang&#039;&#039; folder (and are in the case of the en language pack called en_utf8_local or en_xx_utf8 but then with parent language string in moodle.php)&lt;br /&gt;
&lt;br /&gt;
If you use the langlist variable on the config variables page, don&#039;t forget to change the language names from xx to xx_utf8 or the languages will not be shown in the language drop down menu.&lt;br /&gt;
&lt;br /&gt;
IMPORTANT: There is a bug in 1.6 and 1.6.1 that blocks the locales specified in language packs. Workaround is to override locale for all languages by setting it in Administration &amp;gt;&amp;gt; Configuration &amp;gt;&amp;gt; Variables &amp;gt;&amp;gt; locale. You can find suitable values in the [[Table of locales]] (en.UTF-8 , es_ES.UTF-8,...). If you are using 1.6.1+ and later the correct value is usually empty field.&lt;br /&gt;
&lt;br /&gt;
===Localisations of existing language packs===&lt;br /&gt;
&lt;br /&gt;
Localisations of an existing xx_utf8 language pack should be called xx_utf8_local, should be UTF-8 encoded and should also be put in the moodledata/lang folder. It is still possible to give it another name like xx_mypack_utf8, but then you should add the parentlanguage string in moodle.php from your localisation.&lt;br /&gt;
&lt;br /&gt;
===Custom language packs===&lt;br /&gt;
&lt;br /&gt;
Custom made new language packs go in &#039;&#039;moodledata/lang&#039;&#039;. They have to be in a xx_utf8 folder and MUST be UTF-8 encoded (Unicode).  We no longer support other encodings, especially when mixed with UTF-8 packs.&lt;br /&gt;
&lt;br /&gt;
If you are using custom language packs before the UTF-8 migration, please remember that they need to include either 1) thischarset or 2) parentlanguage in their moodle.php. Please also rename them from xx to xx_utf8 after the migration. You might need to convert the custom packs into UTF-8 format before using them in a migrated Moodle 1.6.&lt;br /&gt;
&lt;br /&gt;
===Advanced languages===&lt;br /&gt;
&lt;br /&gt;
If you want to download all the languages at once, we suggest checking the whole lang directory out directly from CVS into your &#039;&#039;moodledata/lang&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
  cvs -z3 -d:ext:myusername@moodle.cvs.sourceforge.net:/cvsroot/moodle co lang&lt;br /&gt;
&lt;br /&gt;
This is the recommended method for translators, as you can edit these packs within Moodle and just check them straight back into CVS.&lt;br /&gt;
&lt;br /&gt;
==Finishing up==&lt;br /&gt;
&lt;br /&gt;
Congratulations!  After migrating your database and updating your languages you should have a functional 1.6 site.  You&#039;ll probably want to visit the various admin pages (especially [[Variables]]) to turn some of the features on and off.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Translation]] - More details on language packs in 1.6, especially customized packs&lt;br /&gt;
*[[Converting files to UTF-8]] - General text on how to convert files, like non-standard language packs, to UTF-8&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=39153 utf-8 and mysql]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=44073 utf db migration in optional modules]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=43527 Local language modifications]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=46900 Language packs and migration to UTF-8]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=49668 Is there now only one local language pack allowed?]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:Actualización a moodle 1.6]]&lt;br /&gt;
[[fr:Mise à jour à Moodle 1.6]]&lt;br /&gt;
[[ja:Moodle1.6へのアップグレード]]&lt;br /&gt;
[[zh:升级到Moodle 1.6]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Language_packs&amp;diff=23797</id>
		<title>Language packs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Language_packs&amp;diff=23797"/>
		<updated>2007-05-28T17:04:37Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 1.6}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Administration &amp;gt; Language &amp;gt; Language packs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional language packs may be selected from the list in the right pane and installed directly.&lt;br /&gt;
* The new location for language files is &#039;&#039;moodledata/lang&#039;&#039;.&lt;br /&gt;
* Please note that certain language packs contain only the modified language strings from their parent language, rather than a complete set. Thus, it is necessary to install the parent language pack too. These language packs are:&lt;br /&gt;
** de_du (which requires de)&lt;br /&gt;
** es_mx and es_ar (which require es)&lt;br /&gt;
** fr-ca (which requires fr)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Upgrading to Moodle 1.6]]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=48492 Language import utility broken] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Language]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Utilitaire d&#039;importation de langues]]&lt;br /&gt;
[[ja:言語インポートユーティリティ]]&lt;br /&gt;
[[zh:语言倒入工具]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Translation&amp;diff=23796</id>
		<title>Translation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Translation&amp;diff=23796"/>
		<updated>2007-05-28T14:27:57Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle has been designed for internationalisation. Each &#039;string&#039; or &#039;page&#039; of text that is displayed as part of the interface is drawn from a set of language files.&lt;br /&gt;
&lt;br /&gt;
== Structure of a Moodle language pack ==&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
*All Moodle language packs may be found in the &#039;&#039;lang&#039;&#039; folder, with each language in a unique folder named the same as the language short name e.g. &#039;&#039;es&#039;&#039;, &#039;&#039;nl&#039;&#039;. From Moodle 1.6 upwards, the &#039;&#039;lang&#039;&#039; folder may be found in &#039;&#039;moodledata&#039;&#039;, with pack names indicating they are UTF-8 language packs e.g. &#039;&#039;es_utf8&#039;&#039;, &#039;&#039;nl_utf8&#039;&#039;. The default English language pack, &#039;&#039;en_utf8&#039;&#039;, remains in &#039;&#039;moodle/lang&#039;&#039;, along with a tiny non-UTF-8 version (&#039;&#039;en&#039;&#039;) for use in the 1.5 to 1.6 upgrade, prior to the database migration process.&lt;br /&gt;
&lt;br /&gt;
*All the main files are in the &#039;&#039;lang/xx_utf8&#039;&#039; folder, with .php extensions (eg &#039;&#039;moodle.php&#039;&#039;, &#039;&#039;resource.php&#039;&#039; etc).  These files contains short phrases, often called &amp;quot;strings&amp;quot;. Each string supports variable substitution, to support variable ordering in different languages.&lt;br /&gt;
&lt;br /&gt;
:e.g. &amp;lt;code&amp;gt;$strdueby = get_string(&amp;quot;assignmentdueby&amp;quot;, &amp;quot;assignment&amp;quot;, userdate($date));&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If a string doesn&#039;t exist in a particular language, then the equivalent in English will automatically be used instead.&lt;br /&gt;
&lt;br /&gt;
:There is also a &#039;&#039;help&#039;&#039; folder containing HTML pages for pop-up context-sensitive help.&lt;br /&gt;
&lt;br /&gt;
*Installation language packs may be found in the &#039;&#039;install/lang&#039;&#039; folder. These language packs contain only the strings needed for the installation process. The files are generated automatically every night by the download.moodle.org server and &#039;&#039;&#039;must not be changed manually&#039;&#039;&#039;. For translators this is a unusual experience, since changes you add to the strings used in the installation script will not be visible until 24 hours later in a new download of your 1.6 installation.&lt;br /&gt;
&lt;br /&gt;
==Creating a new language pack==&lt;br /&gt;
&lt;br /&gt;
If your language is not yet supported by Moodle, you may want to start a new translation.  If you are starting a new language, please contact [[User:koen roggemans|Koen Roggemans]] our Translation Coordinator (&#039;&#039;translation@moodle.org&#039;&#039;). You may also like to post in the Using Moodle [http://moodle.org/mod/forum/view.php?id=43 Languages Forum].&lt;br /&gt;
&lt;br /&gt;
All you need to do is create a new folder in the lang directory using the 2-letter code for your language. You can find these standard codes in &#039;&#039;lib/languages.php&#039;&#039;. If you are making a local variation of another language, use the code of that language with an underscore and a meaningful two letter extension (e.g. pt for Portuguese and pt_br for Brasilian variation of the Portuguese language pack).  If you are making a Unicode version add _utf8 at the end (eg sr_utf8). Language packs created with a new Moodle 1.6 or with a Moodle 1.6 in Unicode mode are always in Unicode and should get the _utf8 suffix.&lt;br /&gt;
&lt;br /&gt;
Next, copy the &#039;&#039;langconfig.php&#039;&#039; from another language into your new directory.  The one from the &amp;quot;en_utf8&amp;quot; folder is usually best.&lt;br /&gt;
&lt;br /&gt;
You are now ready to start inserting new strings by editing your language... see below for details on this.&lt;br /&gt;
&lt;br /&gt;
Note that your new language pack may not show up immediately on the dropdown list if under your site configuration you have langcache set to &amp;quot;Yes.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
Since Moodle 1.6, only UTF-8 is used as characterset. This setting is located in a string named &amp;quot;thischarset&amp;quot; in &#039;&#039;langconfig.php&#039;&#039; and should not be changed. All other settings for your language pack, as the notation of dates, the locale string, the direction etc. are in this file and can be changed there. Just be careful! ;-)&lt;br /&gt;
&lt;br /&gt;
==Editing an existing language pack==&lt;br /&gt;
&lt;br /&gt;
===Making small customisations===&lt;br /&gt;
&lt;br /&gt;
If you just want to change a few things in the interface to suit your own site better, don&#039;t start editing one of the standard language packs.  If you do then your changes will be overwritten next time you upgrade to a new Moodle.&lt;br /&gt;
&lt;br /&gt;
Instead, use the instructions above for making a brand new language pack, add a string &#039;parentlanguage&#039; (in &#039;&#039;&#039;&#039;&#039;langconfig.php&#039;&#039;&#039;&#039;&#039;) with the code of the language that is most similar to yours.  That language will be checked by Moodle for anything missing from yours. Here&#039;s an example of such a line:&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;parentlanguage&#039;] = &#039;en_utf8&#039;;&lt;br /&gt;
&lt;br /&gt;
A good name for a local English variant could be &amp;quot;en_utf8_local&amp;quot;, and the parent language would be defined as &amp;quot;en_utf8&amp;quot; or &amp;quot;en_us_utf8&amp;quot;. &#039;&#039;(For Moodle 1.5 and earlier, omit the &amp;quot;_utf8&amp;quot; from the names, since older versions of Moodle don&#039;t use UTF8.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that you also have to create a string &#039;thislanguage&#039; in &#039;&#039;&#039;&#039;&#039;moodle.php&#039;&#039;&#039;&#039;&#039; for your &amp;quot;en_utf8_local&amp;quot; language pack:&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;thislanguage&#039;] = &#039;English at OCU&#039;;&lt;br /&gt;
&lt;br /&gt;
In Moodle 1.5.x and earlier you would have to then make sure everyone chooses your new language pack.  They can change it in their profiles or you can issue an SQL command to change everyone, and prevent them changing it by restricting the available languages on Administration &amp;gt;&amp;gt; Configuration &amp;gt;&amp;gt; [[Variables]].&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
Starting in Moodle 1.6, the very best method is just to create a new language directory called &amp;quot;xxxx_local&amp;quot; where xxxx is the name of the language pack you want to modify (eg es_utf8_local or ja_utf8_local).  This new local language pack will automatically be checked before the main one.   The local pack only needs to contain the local changes (you don&#039;t need a complete copy of the language you are modifying).  It will not appear in the language menus for selection and your users do not need to change their settings. &lt;br /&gt;
&lt;br /&gt;
The &#039;parentlanguage&#039; method described above for 1.5 still works, just in case you want to create more than one variant of one language.   In this case, you still have to add the  &#039;thislanguage&#039; string, except in 1.6 you add it to the &#039;&#039;langconfig.php&#039;&#039; and not to  &#039;&#039;moodle.php&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Translating the Moodle interface language files (the &amp;quot;string&amp;quot; files)===&lt;br /&gt;
&lt;br /&gt;
# Log on to your Moodle server as an administrator.&lt;br /&gt;
# Go to Administration &amp;gt;&amp;gt; Configuration &amp;gt;&amp;gt; [[Language]], which is the language administration page.&lt;br /&gt;
# On this page you can choose your language from the menu, then choose &amp;quot;Compare and Edit Language&amp;quot;.&lt;br /&gt;
# You should see forms you can edit for each file. If you do not, then you may have to make sure that the files are writeable - you may have to change file permissions in your web folder.&lt;br /&gt;
# The forms consist of three columns, the first is the name of each string, the second is that string in English, and the last is translation in the current language.&lt;br /&gt;
# Edit missing strings in each files (highlighted in colour), remembering to hit the &amp;quot;Save changes&amp;quot; button at the end of each form.&lt;br /&gt;
# It&#039;s OK to leave strings empty - Moodle will simply use the parent language for that string instead. You can define the parent language in langconfig.php, otherwise English is always used by default.&lt;br /&gt;
# A quick way to see all the missing strings is by using the button to &amp;quot;Check for missing strings&amp;quot;. Leave the untranslated strings completely empty or this handy tool won&#039;t work.&lt;br /&gt;
&lt;br /&gt;
===Translating the help files===&lt;br /&gt;
&lt;br /&gt;
There is a built-in editor in Moodle to translate the help files. It uses the en_utf8 language pack as a reference language. You are strongly advised to use this editor: it cleans out some possible problems, it warns you for old translations and it marks (with stars in the drop down list) wich files are out of date and takes care of Unicode.&lt;br /&gt;
If you want another language than English as a reference (wich is not a good idea), you copy a help file from the reference language pack and paste it on the same location in your own language pack. Then use a plain text editor with Unicode support to translate the file, making sure not to modify any code in the file (there usually is no code, just HTML-tags). (DON&#039;T USE A WORDPROCESSOR to write the help-files because these programs add too much rubbish to the files).&lt;br /&gt;
Don&#039;t leave untranslated help files or empty files in your language pack.&lt;br /&gt;
&lt;br /&gt;
Take care to write the helpfiles XHTML-compliant. This means in short:&lt;br /&gt;
&lt;br /&gt;
* All tags should be closed: &amp;lt;pre&amp;gt;&amp;lt;p&amp;gt;lalala&amp;lt;/p&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* All elements should be nested: &amp;lt;pre&amp;gt;&amp;lt;p&amp;gt; lalala &amp;lt;em&amp;gt;lalala&amp;lt;/em&amp;gt; &amp;lt;/p&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* All elements and attributes must be lower case&lt;br /&gt;
* All atributes should be written in full and with quotes : &amp;lt;pre&amp;gt;&amp;lt;p align=&amp;quot;right&amp;quot;&amp;gt; lalala &amp;lt;/p&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Empty elements must end with /&amp;gt;: &amp;lt;pre&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;hr /&amp;gt;&amp;lt;/pre&amp;gt;. You should add an extra space before the &amp;quot;/&amp;quot; symbol.&lt;br /&gt;
* An &amp;lt;img should have an alt=&amp;quot;&amp;quot; (it can be empty) en must be closed like other empty elements with a space and /&amp;gt; like &amp;lt;pre&amp;gt;&amp;lt;img alt=&amp;quot;&amp;quot; src=&amp;quot;picture.gif&amp;quot; /&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;?= and &amp;lt;? should be &amp;lt;pre&amp;gt;&amp;lt;?php&amp;lt;/pre&amp;gt;&lt;br /&gt;
* There should not be ANY font tags at all. &amp;lt;pre&amp;gt;&amp;lt;p&amp;gt;&amp;lt;em&amp;gt; &amp;lt;h1&amp;gt; &amp;lt;h2&amp;gt;&amp;lt;/pre&amp;gt; etc should be enough for the language files ...&lt;br /&gt;
&lt;br /&gt;
None of the files in the help folder need a doc type, html, body, head opening and closing tags - these files are included with &#039;&#039;help.php&#039;&#039;. The script will take care of welforming the pages. This means also there is not much room for HTML creativity! Please stick to the English example.&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
The files in the docs folder must be completely XHTML compliant, including doc type, header etc. From Moodle 1.6 they will be moved to this wiki.&lt;br /&gt;
&lt;br /&gt;
Clicking on &amp;quot;Check for missing strings&amp;quot; in the language administration screen will also show you what files you are missing. If you have missing files then Moodle will use the parent language instead, so don&#039;t leave copies of untranslated help files in your language pack or this handy tool won&#039;t work.&lt;br /&gt;
&lt;br /&gt;
==Submitting your language pack to the Moodle project==&lt;br /&gt;
&lt;br /&gt;
Sharing your translation with Moodle will ensure that you help other people who speak your language. Your interface language will be available in future versions of Moodle.&lt;br /&gt;
&lt;br /&gt;
Simply archive your whole new language directory as a zip file and email it to &#039;&#039;translation@moodle.org&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
We will get back to you with further details.&lt;br /&gt;
&lt;br /&gt;
Checklist you can use before committing:&lt;br /&gt;
&lt;br /&gt;
* No empty files?&lt;br /&gt;
* No untranslated files or strings?&lt;br /&gt;
* Help files not edited with a wordprocessor?&lt;br /&gt;
* README file contains language, name and emailadress of the translator?&lt;br /&gt;
* Foldername is the right language code (check &#039;&#039;moodle\lib\languages.php&#039;&#039;)?&lt;br /&gt;
* Does the language pack run errorfree on a testsite?&lt;br /&gt;
* Are the strings and files XHTML compliant?&lt;br /&gt;
* Does &#039;&#039;langconfig.php&#039;&#039; exists and is it correct?&lt;br /&gt;
&lt;br /&gt;
==Maintenance of a standard language pack==&lt;br /&gt;
&lt;br /&gt;
If you are committed to maintaining a language in Moodle, it&#039;s best to use [[CVS for Developers|Moodle CVS]] so that you have an up-to-date version of Moodle, and can easily &amp;quot;check in&amp;quot; your changes directly into the Moodle project. &lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
You should always use HEAD to do translation. Instead of modifying the lang pack within your main code tree as it was until Moodle 1.6, you will now be modifying the one within your dataroot/lang directory.&lt;br /&gt;
&lt;br /&gt;
* Always check out the very latest Moodle code&lt;br /&gt;
* Upgrade your site. Of course you use a NON-PRODUCTION server for this.  &lt;br /&gt;
* Go to your dataroot directory and check out the new lang directory from CVS there like this on Unix/Linux&lt;br /&gt;
&lt;br /&gt;
   cd moodledata    (for example)&lt;br /&gt;
   cvs -z3 -d:ext:me@moodle.cvs.sourceforge.net:/cvsroot/moodle co lang&lt;br /&gt;
&lt;br /&gt;
or like this with Tortoise on Windows, &lt;br /&gt;
&lt;br /&gt;
   right click on your dataroot folder, choose &amp;quot;CVS Checkout&amp;quot;, &lt;br /&gt;
   CVSROOT field:  :ext:sfusername@moodle.cvs.sourceforge.net:/cvsroot/moodle&lt;br /&gt;
   Module: lang&lt;br /&gt;
&lt;br /&gt;
* Continue editing languages from within the Moodle GUI as you did before Moodle 1.6.  &lt;br /&gt;
&lt;br /&gt;
To check them into CVS, just go into the dataroot/lang directory and commit your changes.&lt;br /&gt;
&lt;br /&gt;
If you really want to continue updating the language packs for 1.5.x or earlier, then you should zip the folder of your langpack and mail it to &#039;&#039;translation@moodle.org&#039;&#039;. CVS write access on moodle/lang/xx will be moved to lang/xx_utf8.&lt;br /&gt;
&lt;br /&gt;
Please contact &#039;&#039;translation@moodle.org&#039;&#039; if you need help setting this up.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=43 Languages Forum] - news and discussion about issues that affect translations&lt;br /&gt;
*[[Translation credits]]&lt;br /&gt;
*To keep in touch with changes in the project on a day-to-day basis it is recommended that you subscribe to the [http://sourceforge.net/mail/?group_id=30935 CVS mailing list]. This helps to keep your translation as close to the English text as possible.&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:Language]]&lt;br /&gt;
&lt;br /&gt;
[[es:Traducciones]]&lt;br /&gt;
[[fr:Traduction]]&lt;br /&gt;
[[ja:翻訳]]&lt;br /&gt;
[[nl:Vertalen]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development:Modules&amp;diff=23795</id>
		<title>Development:Modules</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development:Modules&amp;diff=23795"/>
		<updated>2007-05-28T14:23:09Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Activity modules&#039;&#039;&#039; reside in the &#039;mod&#039; directory. Each module is in a separate subdirectory and consists of the following mandatory elements (plus extra scripts unique to each module):&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;mod.html&#039;&#039; - a form to set up or update an instance of this module&lt;br /&gt;
* &#039;&#039;version.php&#039;&#039; - defines some meta-info and provides upgrading code&lt;br /&gt;
* &#039;&#039;icon.gif&#039;&#039; - a 16x16 icon for the module&lt;br /&gt;
* &#039;&#039;db/&#039;&#039; - SQL dumps of all the required db tables and data (for each database type)&lt;br /&gt;
* &#039;&#039;index.php&#039;&#039; - a page to list all instances in a course&lt;br /&gt;
* &#039;&#039;view.php&#039;&#039; - a page to view a particular instance&lt;br /&gt;
* &#039;&#039;lib.php&#039;&#039; - any/all functions defined by the module should be in here. If the modulename is called widget, then the required functions include:&lt;br /&gt;
:* widget_add_instance() - code to add a new instance of widget&lt;br /&gt;
:* widget_update_instance() - code to update an existing instance&lt;br /&gt;
:* widget_delete_instance() - code to delete an instance&lt;br /&gt;
:* widget_user_outline() - given an instance, return a summary of a user&#039;s contribution&lt;br /&gt;
:* widget_user_complete() - given an instance, print details of a user&#039;s contribution&lt;br /&gt;
:* Other functions available but not required are:&lt;br /&gt;
:** widget_delete_course() - code to clean up anything that would be leftover after all instances are deleted&lt;br /&gt;
:** widget_process_options() - code to pre-process the form data from module settings&lt;br /&gt;
:* To avoid possible conflict, any module functions should be named starting with widget_ and any constants you define should start with WIDGET_&lt;br /&gt;
* &#039;&#039;config.html&#039;&#039; - (optional) a form to set up or update global settings of this module&lt;br /&gt;
* Lastly, each module will have some language files that contain strings for that module.&lt;br /&gt;
&lt;br /&gt;
IMPORTANT: When creating a new module, the new name of the module must not contain numbers or other special characters! &lt;br /&gt;
&lt;br /&gt;
You should also make sure that your activity module provides appropriate support for groups and metacourses. &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* http://download.moodle.org/download.php/modules/NEWMODULE.zip - new module template for starting module development. Please follow the README instructions inside the zip.&lt;br /&gt;
* Using Moodle [http://moodle.org/course/view.php?id=5 Activity modules] forum&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=66165 A new resource type: where do I put the language strings?] forum discussion&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=65986 New Module Template Code for Moodle 1.7] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[es:Módulos de actividades (desarrollador)]]&lt;br /&gt;
[[ja:モジュール (開発者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Teaching_with_Moodle&amp;diff=23794</id>
		<title>Teaching with Moodle</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Teaching_with_Moodle&amp;diff=23794"/>
		<updated>2007-05-28T14:20:24Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Objective:&#039;&#039;&#039; To organize and share resources and &amp;quot;good practices&amp;quot; so that teachers and students have a positive Moodle experience that enhances the learning process.  The resources presented will focus on the pedagogical implementation of Moodle in a classroom setting (whatever that classroom may look like).&lt;br /&gt;
&lt;br /&gt;
*[[The Good Teacher]] - The best place for a teacher contemplating using Moodle in their classroom to start learning as well as a great place for experienced Moodlers to remember why they began using it.&lt;br /&gt;
&lt;br /&gt;
*[[Teaching Do&#039;s]] &amp;amp; [[Teaching Don&#039;ts]] - Good general/pedagogical guidelines to consider when setting up a course in Moodle and introducing students to it.&lt;br /&gt;
&lt;br /&gt;
*[[Learning Activities Overview]] - A list of the different activities available within Moodle, as well as what type of learning strategy they employ, suggested age level, and a link to each activity&#039;s pedagogy page.&lt;br /&gt;
&lt;br /&gt;
*[[Moodle Stories]] - This is a subset of the &#039;&#039;[http://moodle.org/mod/forum/view.php?f=127 Moodle Stories]&#039;&#039; forum.  It contains a collection of innovative ways teachers are utilizing [http://www.moodle.org Moodle] in their classroom.  This is a great place for teachers who like the idea of Moodle and what it has to offer, but could benefit from ideas to start from.&lt;br /&gt;
&lt;br /&gt;
*[[Teaching FAQ | Common Teacher Questions (FAQs)]]&lt;br /&gt;
&lt;br /&gt;
*[[Teaching Good Practices (K-12) | Good Practices (K-12)]]&lt;br /&gt;
&lt;br /&gt;
*[[NECC 06 Collaboration Session | NECC 2006 Bird&#039;s of a Feather Session]] - Notes from the NECC 2006 Bird&#039;s of a Feather Session.  The focus is on using Moodle in educational settings with ideas about how to use it and hints too.&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=61228 How teaching is changing using Moodle] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Enseigner avec Moodle]]&lt;br /&gt;
[[ja:Moodleで教える]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Meta_course&amp;diff=23793</id>
		<title>Meta course</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Meta_course&amp;diff=23793"/>
		<updated>2007-05-28T14:18:17Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;metacourse&#039;&#039;&#039; automatically enrolls participants from other &amp;quot;child&amp;quot; courses.  Metacourses take their enrollments from other courses. This feature can populate many courses from one enrollment or one course from many enrollents. &lt;br /&gt;
&lt;br /&gt;
For example, a course is part of a program (metacourse).  Each time a student enrols in (or unenrols from) this course, they are enrolled/unenrolled from any metacourse(s) associated with it. &lt;br /&gt;
&lt;br /&gt;
Please note that metacourse enrolments do not preserve groups and enrolment does not happen immediately.&lt;br /&gt;
&lt;br /&gt;
==Metacourse setup==&lt;br /&gt;
Teachers are able to choose whether a course is a metacourse via the &amp;quot;Is this a metacourse?&amp;quot; (yes/no) menu option in the [[Course settings|course settings]]. In Moodle 1.5 and 1.6, if a meta course is chosen, the [[Students|students]] page changes from listing/searching for students to listing/searching for courses.  In Moodle 1.7 &amp;quot;Child courses&amp;quot; appears in the teacher&#039;s administration block.&lt;br /&gt;
&lt;br /&gt;
==Metacourse examples==&lt;br /&gt;
Metacourses may be used in a variety of ways:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 1:&#039;&#039;&#039; X is a metacourse with Course 1 through 4 as normal courses with standard student enrollments. Students enrolling on these courses are automatically enrolled onto Metacourse X. &lt;br /&gt;
&lt;br /&gt;
[[Image:Metacourses1_en.jpg|Standard Metacourse Usage]]&lt;br /&gt;
&lt;br /&gt;
For example, a math teacher or department has 2 algebra and 2 geometry courses. The teacher or department wants course for each of these subjects. But they also want a generic space where they can post things for all of the students in all of their courses, perhaps including compulsory work for all students.  By making algebra 1 &amp;amp; 2 and geometry 1 &amp;amp; 2 as each as part of a Math metacourse, they acheive this goal. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 2:&#039;&#039;&#039; Metacourses 1-4 are linked to Y which is a normal course. Students enrolling on Course Y are automatically enrolled on Metacourses  1-4. This would be used, for example, when all five courses are intended to have exactly the same students. &lt;br /&gt;
&lt;br /&gt;
[[Image:Metacourses2_en.jpg|Upsidedown Metacourse Usage]]&lt;br /&gt;
&lt;br /&gt;
In both diagrams you can see students being enrolled normally into standard courses and then the entire student list of a course being added to the Metacourse.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 3:&#039;&#039;&#039; One or more meta courses are used as a library of resources and activities.  For example, the English department has collected material useful in writing papers. Teachers can direct or embed a link to a specific reference about citations, or how to select a topic for a paper or suggested reading compiled by students.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 4:&#039;&#039;&#039; The metacourse feature can also be used &amp;quot;in reverse.&amp;quot;  Say you have a Diploma program that involves courses D1, D2, D3, and D4.  In this case, you would create a &amp;quot;Diploma&amp;quot; course as a normal course (non-metacourse).  You would then designate programs D1 through D4 as metacourses (plus completing the student enrollment task under Course Administration).  When a student enrolls in &amp;quot;Diploma&amp;quot;, he or she will be automatically enrolled in courses D1 through D4.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=48901 Metacourses?], [http://moodle.org/mod/forum/discuss.php?d=54389 Metacourses and Roles in 1.7] and [http://moodle.org/mod/forum/discuss.php?d=39438 Best reference for describing a metacourse] forum discussions&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[es:Metacourses]]&lt;br /&gt;
[[fr:Méta-cours]]&lt;br /&gt;
[[ja:メタコース]]&lt;br /&gt;
[[ru:Метакурсы]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Migration&amp;diff=23792</id>
		<title>Migration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Migration&amp;diff=23792"/>
		<updated>2007-05-28T14:16:59Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Migrating to/from Moodle ==&lt;br /&gt;
&lt;br /&gt;
*[[WebCT migration|Migrating from WebCT]] (whether Campus Edition or Vista) to Moodle&lt;br /&gt;
*[[Blackboard migration|Migrating from Blackboard]] to Moodle&lt;br /&gt;
*[[Learnwise migration|Migrating from Learnwise]] to Moodle&lt;br /&gt;
*[[Migration from Moodle|Migrating to another system]] from Moodle&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous import/export ==&lt;br /&gt;
* [[Import PowerPoint]] into lesson feature in 1.6&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=24572 Import Powerpoint html to lesson] forum discussion&lt;br /&gt;
*[http://www.openoffice.org/ OpenOffice] - this software can be used to convert Powerpoint files to Flash animations, which can then be loaded into Moodle&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[ja:移行作業]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Messaging&amp;diff=23791</id>
		<title>Messaging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Messaging&amp;diff=23791"/>
		<updated>2007-05-28T14:16:11Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Site-wide messaging may be disabled/enabled by the Administrator in the permissions section of &#039;&#039;Administration &amp;gt; Configuration &amp;gt; Variables&#039;&#039; (1.6) or in &#039;&#039;Administration &amp;gt; Security &amp;gt; Site policies&#039;&#039; (1.7 onwards).&lt;br /&gt;
&lt;br /&gt;
Unlike [[Forums]] and [[Chats]], Messaging is non-course specific i.e. students may send messages to each other regardless of whether they are enrolled on the same course. Your profile page contains a &amp;quot;Messages&amp;quot; button for opening the Messages window. Alternatively, to encourage the use of messaging in your course, you may wish to add a [[Messages block]] and/or an [[Online Users block]] to your course page.&lt;br /&gt;
&lt;br /&gt;
==Sending messages==&lt;br /&gt;
&lt;br /&gt;
To send a message to an individual:&lt;br /&gt;
#In the Messages window click on the Search tab to search for the person, if appropriate checking the box &amp;quot;Only in my courses&amp;quot;, then click on their name. (Alternatively, if the person is listed in the Online Users block, simply click on the &amp;quot;Add/send message&amp;quot; envelope opposite their name.)&lt;br /&gt;
#Type the message in the pop-up box then click on the &amp;quot;Send message&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
To send a message to selected course participants (for teachers only):&lt;br /&gt;
#Click on the Participants link in the People bock on the course page.&lt;br /&gt;
#Select participants from the list or use the &amp;quot;Select all&amp;quot; button at the bottom of the list.&lt;br /&gt;
#Choose &amp;quot;Add/send message&amp;quot; from the &amp;quot;With selected users...&amp;quot; drop-down menu.&lt;br /&gt;
#Type the message then click the &amp;quot;Preview&amp;quot; button.&lt;br /&gt;
#Assuming you are satisfied with the message, click the &amp;quot;Send&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==Reading and replying to messages==&lt;br /&gt;
&lt;br /&gt;
When you are sent a message, the Messages window will pop-up. Also, the Messages block will display the name of the person sending the message with a link to read the message. If you have set the email option (see Message Settings below), then you will get a copy of the message in your email after the time you have specified if you are not logged in.&lt;br /&gt;
&lt;br /&gt;
After reading a message, you may type a reply then click on the &amp;quot;Send message&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==Searching messages==&lt;br /&gt;
&lt;br /&gt;
In addition to searching for people, the Search tab in the Messages window provides the option to search for keywords, only messages to or from you, and to include in the search people you have previously blocked from contacting you.&lt;br /&gt;
&lt;br /&gt;
[[Image:MsgSearch.jpg|frame|none|Message window Search tab]]&lt;br /&gt;
&lt;br /&gt;
==Managing contacts==&lt;br /&gt;
&lt;br /&gt;
People may be added to your list of contacts (or blocked from contacting you) by clicking the &amp;quot;Add contact&amp;quot; (or &amp;quot;Block contact&amp;quot;) icon opposite their name in the Messages window.&lt;br /&gt;
&lt;br /&gt;
By default the contact list is empty. In order to send a message or to create a shortcut to the person you are sending, go to the Search tab. &lt;br /&gt;
&lt;br /&gt;
[[Image:MsgContacts.jpg|frame|none|Message window Contacts tab]]&lt;br /&gt;
&lt;br /&gt;
==Message history==&lt;br /&gt;
&lt;br /&gt;
A record of messages sent to/from a person may obtained by clicking the &amp;quot;History&amp;quot; icon opposite their name in the Messages window.&lt;br /&gt;
&lt;br /&gt;
==Message settings==&lt;br /&gt;
&lt;br /&gt;
Message settings may be changed via the Settings tab in the Messages window.&lt;br /&gt;
&lt;br /&gt;
Here you can decide on having a popup Message window whenever you get a new message, blocking messages from people who are not on your Contacts list, having an audio signal for a new message, using a HTML editor, or getting email messages when you are offline.&lt;br /&gt;
&lt;br /&gt;
[[Image:MsgSettings.jpg|frame|none|Message window Settings tab]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Messaging enhancements]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?f=476 Messaging forum]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=58977 How can I see student messages?] forum discussion&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=34972 Viewing old messages?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Teacher]]&lt;br /&gt;
[[Category: Messaging]]&lt;br /&gt;
&lt;br /&gt;
[[es:Mensajería]]&lt;br /&gt;
[[fr:Messagerie]]&lt;br /&gt;
[[ja:メッセージング]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Environment&amp;diff=23790</id>
		<title>Environment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Environment&amp;diff=23790"/>
		<updated>2007-05-28T14:13:01Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This setting allows administrators compare their server with the minimum requirements for hosting a particular version of moodle.&lt;br /&gt;
&lt;br /&gt;
==1.5.3==&lt;br /&gt;
&lt;br /&gt;
*MySQL version - 3.23 or later is required&lt;br /&gt;
*PHP version - 4.1.0 or later is required &lt;br /&gt;
*The php_extension mbstring is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==1.6==&lt;br /&gt;
&lt;br /&gt;
*MySQL version 4.1.12 or later for sites that are exclusively [http://czyborra.com/charsets/iso8859.html Latin-1], 4.1.16 if you have other languages, or PostgreSQL 7.4.x or later.&lt;br /&gt;
*PHP version 4.3.0 or later is required (but don&#039;t use versions 5.0.0 to 5.0.6 which were buggy)&lt;br /&gt;
*The php_extension iconv is recommended to be installed/enabled&lt;br /&gt;
*The php_extension mbstring is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Environnement]]&lt;br /&gt;
[[ja:環境]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=LDAP_authentication&amp;diff=23788</id>
		<title>LDAP authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=LDAP_authentication&amp;diff=23788"/>
		<updated>2007-05-28T14:10:19Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up Lightweight Directory Access Protocol (LDAP) authentication in Moodle.  We cover the basic, advanced and some trouble shooting sections to assist the user in the installation and administrating LDAP in Moodle.  &lt;br /&gt;
&lt;br /&gt;
==Basic Scenario==&lt;br /&gt;
The simple and straightforward approach  for most installations.&lt;br /&gt;
&lt;br /&gt;
===Assumptions===&lt;br /&gt;
&lt;br /&gt;
# Your Moodle site is located at &#039;&#039;&#039;http://your.moodle.site/&#039;&#039;&#039;&lt;br /&gt;
# You have configured your PHP installation with the LDAP extension. It is loaded and activated, and it shows when you go to &#039;&#039;&#039;http://your.moodle.site/admin/phpinfo.php&#039;&#039;&#039; (logged in as user &#039;admin&#039;).&lt;br /&gt;
# Your LDAP server has &#039;&#039;&#039;192.168.1.100&#039;&#039;&#039; as its IP address.&lt;br /&gt;
# You are not using LDAP with SSL (also known as LDAPS) in your settings. This might prevent certain operations from working (e.g., you cannot update data if you are using MS Active Directory -- MS-AD from here on --), but should be OK if you just want to authenticate your users.&lt;br /&gt;
# You don&#039;t want your users to change their passwords the first time they log in into Moodle.&lt;br /&gt;
# You are using a single domain as the source of your authentication data in case you are using MS-AD (more on this in the Appendices).&lt;br /&gt;
# You are using a top level distinguished name (DN) of &#039;&#039;&#039;dc=my,dc=organization,dc=domain&#039;&#039;&#039; as the root of your LDAP tree. &lt;br /&gt;
# You have a non-privileged LDAP user account you will use to bind to the LDAP server. This is not necessary with certain LDAP servers, but MS-AD requires this and it won&#039;t hurt if you use it even if your LDAP server doesn&#039;t need it. Make sure &#039;&#039;&#039;this account and its password don&#039;t expire&#039;&#039;&#039;, and make this password as strong as possible. Remember you only need to type this password once, when configuring Moodle, so don&#039;t be afraid of making it as hard to guess as possible. Let&#039;s say this user account has a DN of &#039;&#039;&#039;cn=ldap-user,dc=my,dc=organization,dc=domain&#039;&#039;&#039;, and password &#039;&#039;&#039;hardtoguesspassword&#039;&#039;&#039;.&lt;br /&gt;
# All of your Moodle users are in an organizational unit (OU) called &#039;&#039;&#039;moodleusers&#039;&#039;&#039;, which is right under your LDAP root. That OU has a DN of &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039;.&lt;br /&gt;
# You &#039;&#039;&#039;don&#039;t&#039;&#039;&#039; want your LDAP users&#039; passwords to be stored in Moodle at all.&lt;br /&gt;
&lt;br /&gt;
===Configuring Moodle authentication===&lt;br /&gt;
&lt;br /&gt;
Log in as an admin user and go to Administration &amp;gt;&amp;gt; Users &amp;gt;&amp;gt; Authentication. In the drop down listbox titled  &amp;quot;Choose an authentication method&amp;quot; select &amp;quot;Use an LDAP Server&amp;quot;. You will get a page similar to this one:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::: [[Image:auth_ldap_config_screenshot.jpg]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, you just have to fill in the values. Let&#039;s go step by step.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
! Field name&lt;br /&gt;
! Value to fill in&lt;br /&gt;
|-&lt;br /&gt;
| ldap_host_url&lt;br /&gt;
| As the IP of your LDAP server is 192.168.1.100, type &amp;quot;&#039;&#039;&#039;ldap://192.168.1.100&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_version&lt;br /&gt;
| Unless you are using a really old LDAP server, &#039;&#039;&#039;version 3&#039;&#039;&#039; is the one you should choose.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_preventpassindb&lt;br /&gt;
| As you &#039;&#039;&#039;don&#039;t&#039;&#039;&#039; want to store the users&#039;s password in Moodle&#039;s database, choose &#039;&#039;&#039;Yes&#039;&#039;&#039; here.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_bind_dn&lt;br /&gt;
| This is the distinguished name of the bind user defined above. Just type &amp;quot;&#039;&#039;&#039;cn=ldap-user,dc=my,dc=organization,dc=domain&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_bind_pw&lt;br /&gt;
| This is the bind user password defined above. Type &amp;quot;&#039;&#039;&#039;hardtoguesspassword&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_user_type&lt;br /&gt;
| Choose: &lt;br /&gt;
* &#039;&#039;&#039;Novel Edirectory&#039;&#039;&#039; if your LDAP server is running Novell&#039;s eDdirectory.&lt;br /&gt;
* &#039;&#039;&#039;posixAccount (rfc2307)&#039;&#039;&#039; if your LDAP server is running a RFC-2307 compatible LDAP server (choose this is your server is running OpenLDAP).&lt;br /&gt;
* &#039;&#039;&#039;posixAccount (rfc2307bis)&#039;&#039;&#039; if your LDAP server is running a RFC-2307bis compatible LDAP server.&lt;br /&gt;
* &#039;&#039;&#039;sambaSamAccount (v.3.0.7)&#039;&#039;&#039; if your LDAP server is running with SAMBA&#039;s 3.x LDAP schema extension and you want to use it.&lt;br /&gt;
* &#039;&#039;&#039;MS ActiveDirectory&#039;&#039;&#039; if your LDAP server is running Microsoft&#039;s Active Directory (MS-AD)&lt;br /&gt;
|-&lt;br /&gt;
| ldap_contexts&lt;br /&gt;
| The DN of the context (container) where all of your Moodle users are found. Type &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; here.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_search_sub&lt;br /&gt;
| If you have any sub organizational units (subcontexts) hanging from &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; and you want Moodle to search there too, set this to &#039;&#039;&#039;yes&#039;&#039;&#039;. Otherwise, set this to &#039;&#039;&#039;no&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_opt_deref&lt;br /&gt;
| Sometimes your LDAP server will tell you that the real value you are searching for is in fact in another part of the LDAP tree (this is called an alias). If you want Moodle to &#039;dereference&#039; the alias and fetch the real value from the original location, set this to &#039;&#039;&#039;yes&#039;&#039;&#039;. If you don&#039;t want Moodle to dereference it, set this to &#039;&#039;&#039;no&#039;&#039;&#039;. If you are using MS-AD, set this to &#039;&#039;&#039;no&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_user_attribute&lt;br /&gt;
| The attribute used to name/search users in your LDAP tree. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
By the way, it&#039;s usually &#039;&#039;&#039;cn&#039;&#039;&#039; (Novell eDirectory and MS-AD) or &#039;&#039;&#039;uid&#039;&#039;&#039; (RFC-2037, RFC-2037bis and SAMBA 3.x LDAP extension), but if you are using MS-AD you could use &#039;&#039;&#039;sAMAccountName&#039;&#039;&#039; (the pre-Windows 2000 logon account name) if you need too.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_memberattribute&lt;br /&gt;
| The attribute used to list the members of a given group. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By the way, the usual values are &#039;&#039;&#039;member&#039;&#039;&#039; and &#039;&#039;&#039;memberUid&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_objectclass&lt;br /&gt;
| The type of LDAP object used to search for users. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are the default values for each of the &#039;&#039;ldap_user_type&#039;&#039; values:&lt;br /&gt;
* &#039;&#039;&#039;User&#039;&#039;&#039; for Novel eDirectory&lt;br /&gt;
* &#039;&#039;&#039;posixAccount&#039;&#039;&#039; for RFC-2037 and RFC-2037bis&lt;br /&gt;
* &#039;&#039;&#039;sambaSamAccount&#039;&#039;&#039; for SAMBA 3.0.x LDAP extension&lt;br /&gt;
* &#039;&#039;&#039;user&#039;&#039;&#039; for MS-AD&lt;br /&gt;
|-&lt;br /&gt;
| Force change password&lt;br /&gt;
| Set this to &#039;&#039;Yes&#039;&#039; if you want to force your users to change their password on the first login into Moodle. Otherwise, set this to &#039;&#039;no&#039;&#039;. Bear in mind the password they are forced to change is the one stored in your LDAP server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;As you don&#039;t want your users to change their passwords in their first login, leave this set to &#039;&#039;No&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Use standard Change Password Page&lt;br /&gt;
|&lt;br /&gt;
* Setting this to &#039;&#039;Yes&#039;&#039; makes Moodle use it&#039;s own standard password change page, everytime users want to change their passwords.&lt;br /&gt;
* Setting this to &#039;&#039;No&#039;&#039; makes Moodle use the the page specified in the field called &amp;quot;Change password URL&amp;quot; (at the bottom of the configuration page).&lt;br /&gt;
&lt;br /&gt;
Bear in mind that changing your LDAP passwords from Moodle might require a LDAPS connection (this is true at least for MS-AD).&lt;br /&gt;
&lt;br /&gt;
Also, code for changing passwords from Moodle for anything but Novell eDirectory is almost not tested, so this may or may not work for other LDAP servers.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_expiration&lt;br /&gt;
| &lt;br /&gt;
* Setting this to &#039;&#039;No&#039;&#039; will make Moodle not to check if the password of the user has expired or not.&lt;br /&gt;
* Setting this to &#039;&#039;LDAP&#039;&#039; will make Moodle check if the LDAP password of the user has expired or not, and warn her a number of days before the password expires.&lt;br /&gt;
&lt;br /&gt;
Current code only deals with Novell eDirectory LDAP server, but there is a patch floating around to make it work with MS-AD too (search in the authentication forum).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So unless you have Novell eDirectory server (or use the patch), choose &#039;&#039;No&#039;&#039; here.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_expiration_warning&lt;br /&gt;
| This value sets how many days in advance of password expiration the user is warned that her password is about to expire.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_exprireattr&lt;br /&gt;
| The LDAP user attribute used to check password expiration. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_gracelogins&lt;br /&gt;
| This setting is specific to Novell eDirectory. If set to &#039;&#039;Yes&#039;&#039;, enable LDAP gracelogin support. After password has expired the user can login until gracelogin count is 0.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So unless you have Novell eDirectory server and want to allow gracelogin support, choose &#039;&#039;No&#039;&#039; here.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_graceattr&lt;br /&gt;
| This setting is currently not used in the code (and is specific to Novell eDirectory). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_create_context&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ldap_creators&lt;br /&gt;
| The DN of the group that contains all of your Moodle creators. This is typically a posixGroup with a &amp;quot;memberUid&amp;quot; attribute for each user you want to be a creator.  If your group is called &#039;&#039;creators&#039;&#039;, type &#039;&#039;&#039;cn=creators,ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; here.  Each memberUid attribute contains the CN of a user who is authorized to be a creator.  Do not use the user&#039;s full DN (e.g.,  not &#039;&#039;&#039;memberUid: cn=JoeTeacher,ou=moodleusers,dc-my,dc=organizations,dc=domain&#039;&#039;&#039;, but rather &#039;&#039;&#039;memberUid: JoeTeacher&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
In eDirectory, the objectClass for a group is (by default) not &#039;&#039;&#039;posixGroup&#039;&#039;&#039; but &#039;&#039;&#039;groupOfNames,&#039;&#039;&#039; whose member attribute is &#039;&#039;&#039;member,&#039;&#039;&#039; not &#039;&#039;&#039;memberUid,&#039;&#039;&#039; and whose value is the full DN of the user in question.  Although you can probably modify Moodle&#039;s code to use this field, a better solution is just to add a new &#039;&#039;&#039;objectClass&#039;&#039;&#039; attribute of &#039;&#039;&#039;posixGroup&#039;&#039;&#039; to your creators group and put the CNs for each creator in a &#039;&#039;&#039;memberUid&#039;&#039;&#039; attribute.&lt;br /&gt;
&lt;br /&gt;
In MS Active Directory, you will need to create a security group for your creators to be part of and then add them all. If your ldap context above is &#039;ou=staff,dc=my,dc=org&#039; then your group should then be &#039;cn=creators,ou=staff,dc=my,dc=org&#039;. If some of the users are from other contexts and have been added to the same security group, you&#039;ll have to add these as separate contexts after the first one using the same format.&lt;br /&gt;
|-&lt;br /&gt;
| First name&lt;br /&gt;
| The name of the attribute that holds the first name of your users in your LDAP server. This is usually &#039;&#039;&#039;givenName&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Surname&lt;br /&gt;
| The name of the attribute that holds the surname of your users in your LDAP server. This is usually &#039;&#039;&#039;sn&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Email address&lt;br /&gt;
| The name of the attribute that holds the email address of your users in your LDAP server. This is usually &#039;&#039;&#039;mail&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Phone 1&lt;br /&gt;
| The name of the attribute that holds the telephone number of your users in your LDAP server. This is usually &#039;&#039;&#039;telephoneNumber&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Phone 2&lt;br /&gt;
|  The name of the attribute that holds an additional telephone number of your users in your LDAP server. This can be &#039;&#039;&#039;homePhone&#039;&#039;&#039;, &#039;&#039;&#039;mobile&#039;&#039;&#039;, &#039;&#039;&#039;pager&#039;&#039;&#039;, &#039;&#039;&#039;facsimileTelephoneNumber&#039;&#039;&#039; or even others.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Department&lt;br /&gt;
| The name of the attribute that holds the department name of your users in your LDAP server. This is usully &#039;&#039;&#039;departmentNumber&#039;&#039;&#039; (for posixAccount and maybe eDirectory) or &#039;&#039;&#039;department&#039;&#039;&#039; (for MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Address&lt;br /&gt;
| The name of the attribute that holds the street address of your users in your LDAP server. This is usully &#039;&#039;&#039;streetAddress&#039;&#039;&#039; or &#039;&#039;&#039;street&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| City/town&lt;br /&gt;
| The name of the attribute that holds the city/town of your users in your LDAP server. This is usully &#039;&#039;&#039;l&#039;&#039;&#039; (lowercase L) or &#039;&#039;&#039;localityName&#039;&#039;&#039; (not valid in MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| Country&lt;br /&gt;
| The name of the attribute that holds the couuntry of your users in your LDAP server. This is usully &#039;&#039;&#039;c&#039;&#039;&#039; or &#039;&#039;&#039;countryName&#039;&#039;&#039; (not valid in MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Description&lt;br /&gt;
| &#039;&#039;&#039;description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ID Number&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Language&lt;br /&gt;
| &#039;&#039;&#039;preferredLanguage&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Instructions&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The rest of the fields are common to all authentication methods and will not be discussed here..&lt;br /&gt;
&lt;br /&gt;
==Active Directory Troubleshooting Help==&lt;br /&gt;
&lt;br /&gt;
===Warning: The PHP LDAP module does not seem to be present. Please ensure it is installed and enabled.===&lt;br /&gt;
This usually means that the main ldap dll or one of the supporting dlls are missing.&lt;br /&gt;
Let&#039;s start with the main one itself. &lt;br /&gt;
Browse to http://(moodleserver)/admin/phpinfo.php and examine the &amp;quot;Configuration File (php.ini) Path&amp;quot; field to determine which php.ini is being used and open it with an editor. Find the line &#039;extension=php_ldap.dll&#039; and take out the semi-colon if it is there. That semi-colon will stop it loading the module all together! &lt;br /&gt;
While you have that file open, search for &#039;extension_dir&#039; and note which folder it is set to. Open that folder and ensure the php_ldap.dll file is in there. If it isn&#039;t then put it in there.&lt;br /&gt;
If that still hasn&#039;t fixed it you are missing a supporting dll, but you don&#039;t get told that. To see what dlls are missing open the Command Prompt and navigate to the php directory and execute the following line &#039;php -m&#039;. You should get some error messages now. Ugly, but at least they give you information! Find the dlls listed and copy them to the php directory. You may now need to restart the apache/httpd service. Run &#039;php -m&#039; again and you should be error free and the message in Moodle should be gone now.&lt;br /&gt;
&lt;br /&gt;
===LDAP-module cannot connect any LDAP servers : Server: &#039;ldap://my.ldap.server/&#039; Connection: &#039;Resource id #26&#039; Bind result: &#039;&#039;===&lt;br /&gt;
Getting this message when you are trying to log in is a result of incorrect details for the Bind user, or the user account having insufficient permissions in Active Directory. The best way to test and resolve this is use ldp.exe to test binding until it suceeds. There are instructions on installing ldp.exe below.&lt;br /&gt;
Open the program and Connect to AD, giving the server name, then from the Connection menu choose Bind. Enter the details you think are correct and you will probably find that an error is returned. Try adjusting the accounts priveleges or another account until you are returned an &amp;quot;Authenticated as&amp;quot; message.&lt;br /&gt;
Once you are sure your account can be used to bind to AD, check that the DN of that users name is correct. Expand the tree on the left until you find the user you used to bind. Right click on that item and choose Copy DN. Go to the User Authentication page in Moodle and paste the value into the ldap_bind_dn field. Add the password and you can now feel safe your user is binding sucessfully.&lt;br /&gt;
&lt;br /&gt;
===Getting correct CNs for Contexts and Creators===&lt;br /&gt;
For those not familiar with AD this could be very confusing, and not that easy for some who are familiar with it. Again, ldp.exe is your friend. There are instructions on installing ldp.exe below.&lt;br /&gt;
Open it up and expand the tree on the left until you find the group or user you want to use and right click on it and select Copy DN. Go back to the Moodle User Authentication page and paste that value into either ldap_contexts or ldap_creators.&lt;br /&gt;
&lt;br /&gt;
===Getting the right user_attribute===&lt;br /&gt;
By default, Moodle uses an accounts cn (full name) to verify against, but most networks don&#039;t use a full given name for logon as it&#039;s too easy to guess and you can easily have two people with the same name. If this is the case for you too you need to tell Moodle to look at another field for the logon id.&lt;br /&gt;
In ldp.exe navigate the tree on the left to find a user account, preferably your own. Double-click the item in the tree and full-details will be loaded into the screen on the right. Look down the details until you find your logon id and note the item listed against it. For me, and a lot of people, it is sAMAccountName. Copy this name and paste it into the ldap_user_attribute on the Moodle User Authentication page.&lt;br /&gt;
There are instructions on installing ldp.exe below.&lt;br /&gt;
&lt;br /&gt;
===Installing ldp.exe Server Tool===&lt;br /&gt;
ldp.exe comes as part of the Server Tools on most versions of Windows Server. Find your Windows Server installation disc and find a folder on it called Support\Tools. In there will be a SupTools.msi which will install the server tools if run. You should now have a folder under Program Files called Support Tools, in which will be ldp.exe. ldp.exe is also available in the Windows XP Support Tools, which you can download from Microsoft [http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&amp;amp;displaylang=en here]. Alternatively, a single download of ldp.exe is available [http://www.computerperformance.co.uk/w2k3/utilities/ldp.htm here].&lt;br /&gt;
&lt;br /&gt;
===Example Active Directory Configuration===&lt;br /&gt;
Below is an example configuration for Active Directory. As detailed above, the values may vary based on your local Active Directory configuration, but should provide a good starting point for most cases.&lt;br /&gt;
&lt;br /&gt;
 ldap_host_url = ldap://ads.example.com&lt;br /&gt;
 ldap_version = 3&lt;br /&gt;
 ldap_preventpassindb = yes&lt;br /&gt;
 ldap_bind_dn = bind-user@example.com&lt;br /&gt;
 ldap_bind_pw = bind-password&lt;br /&gt;
 ldap_user_type = MS ActiveDirectory&lt;br /&gt;
 ldap_contexts = ou=moodleusers,dc=example,dc=com&lt;br /&gt;
 ldap_user_attribute = sAMAccountName&lt;br /&gt;
&lt;br /&gt;
==Advanced Scenarios - Multiple servers or locations==&lt;br /&gt;
For larger installations with  multiple LDAP servers, or multiple locations (contexts) in a LDAP tree.&lt;br /&gt;
&lt;br /&gt;
===Using multiple LDAP Servers===&lt;br /&gt;
Entering more than one name in the ldap_host_url field can provide some sort of resilience to your system. Simply use the syntax :&lt;br /&gt;
ldap://my.first.server ; ldap://my.second.server ; ...&lt;br /&gt;
&lt;br /&gt;
Of course, this will only work if all the servers share the same directory information, using a replication or synchronization mecanism once introduced in eDirectory and now generalized to the main LDAP-compatible directories.&lt;br /&gt;
&lt;br /&gt;
There is one drawback in Moodle 1.5 - 1.6 implementation of LDAP authentication : the auth_ldap_connect() function processes the servers sequentially, not in a round robin mode. Thus, if the primary server fails, you will have to wait for the connection to time out before switching to the following one.&lt;br /&gt;
&lt;br /&gt;
===Using multiple user locations (contexts) in your LDAP tree===&lt;br /&gt;
There is no need to use multiple user locations if your directory tree is flat, i.e. if all user accounts reside in a &#039;&#039;&#039;ou=people,dc=my,dc=organization,dc=domain&#039;&#039;&#039; or &#039;&#039;&#039;ou=people,o=myorg&#039;&#039;&#039; container. &lt;br /&gt;
&lt;br /&gt;
At the opposite, if you use the ACL mecanism to delegate user management, there are chances that your users will be stored in containers like &#039;&#039;&#039;ou=students,ou=dept1,o=myorg&#039;&#039;&#039; and &#039;&#039;&#039;ou=students,ou=dept2,o=myorg&#039;&#039;&#039; ...&lt;br /&gt;
&lt;br /&gt;
Then there is an alternative :&lt;br /&gt;
* Look at the &#039;&#039;&#039;o=myorg&#039;&#039;&#039; level with the ldap_search_sub attribute set to &#039;&#039;&#039;yes&#039;&#039;&#039;.&lt;br /&gt;
* Set the ldap_context to &#039;&#039;&#039;ou=students,ou=dept1,o=myorg ; ou=students,ou=dept2,o=myorg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Choosing between these two solutions supposes some sort of benchmarking, as the result depends heavily on the structure of your directory tree &#039;&#039;&#039;and&#039;&#039;&#039; on your LDAP software indexing capabilities. Simply note that there is a probability in such deep trees that two users share the same &#039;&#039;common name&#039;&#039; (cn), while having different &#039;&#039;distinguished names&#039;&#039;. Then only the second solution will have a deterministic result (returning allways the same user).&lt;br /&gt;
&lt;br /&gt;
===Using LDAPS (LDAP + SSL)===&lt;br /&gt;
====MS Active Directory + SSL ====&lt;br /&gt;
&lt;br /&gt;
If the Certificate Authority is not installed you&#039;ll have to install it first as follows:&lt;br /&gt;
# Click &#039;&#039;&#039;Start&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Control Panel&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Add or Remove programs.&#039;&#039;&#039;&lt;br /&gt;
# Click &#039;&#039;&#039;Add/Remove Windows Components&#039;&#039;&#039; and select &#039;&#039;&#039;Certificate Services.&#039;&#039;&#039;&lt;br /&gt;
# Follow the procedure provided to install the &#039;&#039;&#039;Certificate Authority&#039;&#039;&#039;. Enterprise level is a good choice.&lt;br /&gt;
&lt;br /&gt;
Verify that SSL has been enabled on the server by installing suptools.msi from Windows installation cd&#039;s \Support\tools directory. After support tools installation:&lt;br /&gt;
# Select &#039;&#039;&#039;Start&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Run&#039;&#039;&#039;, write &#039;&#039;&#039;ldp&#039;&#039;&#039; in the Open field.&lt;br /&gt;
# From the ldp window select &#039;&#039;&#039;Connection&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Connect&#039;&#039;&#039; and supply valid hostname and port number &#039;&#039;&#039;636&#039;&#039;&#039;. Also select the SSL check box.&lt;br /&gt;
&lt;br /&gt;
If successful, you should get information about the connection.&lt;br /&gt;
&lt;br /&gt;
Next step is to tell PHP&#039;s OpenLDAP extension to disable SSL certificate checking. On Windows servers you&#039;re most likely using pre-compiled PHP version, where you must create a path &#039;&#039;C:\OpenLDAP\sysconf&#039;&#039;. In this path create a file called &amp;quot;ldap.conf&amp;quot; with content:&lt;br /&gt;
&lt;br /&gt;
 TLS_REQCERT never.&lt;br /&gt;
&lt;br /&gt;
Now you should be able to use &#039;&#039;&#039;ldaps://&#039;&#039;&#039; when connecting to MS-AD.&lt;br /&gt;
&lt;br /&gt;
==Appendices==&lt;br /&gt;
&lt;br /&gt;
===Child Domains and the Global Catalog in MS Active Directory===&lt;br /&gt;
&lt;br /&gt;
Moodle currently only has limited support for multiple domain controllers; specifically it expects each of the LDAP servers listed to contain identical sets of information. If you have users in multiple domains this presents an issue. One solution when working with MS-AD is to use the Global Catalog. The Global Catalog is designed to be a read-only, partial representation of an entire MS-AD forest, designed for searching the entire directory when the domain of the required object is not known.&lt;br /&gt;
&lt;br /&gt;
For example your organisation has a main domain example.org, staff and students are contained in two child domains staff.example.org and students.example.org. The 3 domains (example.org, staff.example.org and students.example.org) each have a domain controller (dc01, dc02 and dc03 respectively.) Each domain controller contains a full, writable, representation of only the objects that belong to its domain. However, assuming that the Global Catalog has been enabled (see below) on one of the domain controllers (for example dc01) a query to the Global Catalog would reveal matching objects from all three domains. The Global Catalog is automatically maintained through replication across the active directory forest, it can also be enabled on multiple servers (if, for example, you need redundancy / load balancing.)&lt;br /&gt;
&lt;br /&gt;
To make use of this in Moodle to allow logins from multiple domains is simple. The Global Catalog runs on port 3268 as opposed to 389 for standard LDAP queries. As a result, still assuming the Global Catalog is running on dc01, the &#039;&#039;&#039;&#039;ldap_host_url&#039;&#039;&#039;&#039; would be &#039;&#039;ldap://dc01.example.org:3268&#039;&#039;. The rest of the settings are the same as for other MS-AS Auth setups.&lt;br /&gt;
&lt;br /&gt;
You should use the &#039;&#039;&#039;&#039;ldap_contexts&#039;&#039;&#039;&#039; setting to indicate the locations of individuals you wish to grant access. To extend the example above a little: In the example.org domain users are all in the&#039;&#039; &#039;Users&#039; &#039;&#039;OU, in the staff.example.org domain users are in two OUs at the root of the domain,&#039;&#039; &#039;Support Staff&#039; &#039;&#039;and&#039;&#039; &#039;Teaching Staff&#039; &#039;&#039;, and in the students.example.org domain students are in an OU indicating the year that they enrolled, all of which are under the&#039;&#039; &#039;Students&#039; &#039;&#039;OU. As a result our &#039;&#039;&#039;&#039;ldap_contexts&#039;&#039;&#039;&#039; setting may look a little like this:&#039;&#039; &#039;OU=Users,DC=example,DC=org; OU=Support Staff,DC=staff,DC=example,DC=org; OU=Teaching Staff,DC=staff,DC=example,DC=org; OU=Students,DC=students,DC=example,DC=org&#039;&#039;.&#039; The &#039;&#039;&#039;&#039;ldap_search_sub&#039;&#039;&#039;&#039; option should be set to&#039;&#039; &#039;Yes&#039; &#039;&#039;to allow moodle to search within the child OUs.&lt;br /&gt;
&lt;br /&gt;
Its worth noting that the Global Catalog only contains a partial representation of the attributes of each object, as defined in the Partial Attribute Set supplied by Microsoft. However common information likely to be of use to a general Moodle installation (Forename, Surname, Email Address, sAMAccountName etc) is included in the set. For specific needs the schema can be altered to remove or add various attributes.&lt;br /&gt;
&lt;br /&gt;
In most cases the Global Catalog is read-only, update queries must be made over the standard LDAP ports to the domain controller that holds the object in question (in our example, updating a student&#039;s details would require an LDAP query to the students.example.org domain controller - dc03, it would not be possible to update details by querying the Global Catalog.) The exception to this would be in an environment where there is only a single domain in the active directory forest; in this case the Global Catalog holds a writable full set of attributes for each object in the domain. However, for the purposes of Moodle authorisation, there would be no need to use the Global Catalog in this case.&lt;br /&gt;
&lt;br /&gt;
===Enabling the Global Catalog===&lt;br /&gt;
&lt;br /&gt;
The Global Catalog is available on Windows 2000 and Windows 2003 Active Directory servers. To enable, open the ‘Active Directory Sites and Services’ MMC (Microsoft Management Console) snap-in. Extend ‘Sites’ and then the name of the Site containing the active directory forest you wish to use. Expand the server you wish to enable the Global Catalog on, right click ‘NTDS settings’ and select the ‘Properties’ tab. To enable, simply click the ‘Global Catalog’ checkbox. Under a Windows 2000 server it is necessary to restart the server (although it won’t prompt you to); under Windows 2003 server it is not necessary to restart the server. In either case you will generally have to wait for the AD forest to replicate before the Global Catalog offers a representation of the entire AD forest. Changes made in Active Directory will also be subject to a short delay due to the latency involved with replication. If your AD servers are firewalled port 3268 will need to be opened for Global Catalog servers.&lt;br /&gt;
If your organisation uses Microsoft Exchange then it its highly likely that at least one Domain Controller will already have Global Catalog enabled – Exchange 2000 and 2003 rely on the Global Catalog for address information, users also access the Global Catalog when using the GAL (Global Address List)&lt;br /&gt;
&lt;br /&gt;
===ldap auth_user_create() only suports Novell===&lt;br /&gt;
&lt;br /&gt;
After configuring user authentication with ldap I realized ldap only support edir (Novell) when combining ldap an email user confirmation. For example in my case (I use openldap) I have the following error after filling the user form:&lt;br /&gt;
&lt;br /&gt;
auth: ldap auth_user_create() does not support selected usertype:&amp;quot;rfc2307&amp;quot; (..yet)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=32168 PHP LDAP module does not seem to be present] forum discussion&lt;br /&gt;
* [[LDAP enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[es:LDAP_authentication]]&lt;br /&gt;
[[fr:Utiliser un serveur LDAP]]&lt;br /&gt;
[[ja:LDAP認証]]&lt;br /&gt;
[[zh:LDAP认证]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Maintenance_mode&amp;diff=23787</id>
		<title>Maintenance mode</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Maintenance_mode&amp;diff=23787"/>
		<updated>2007-05-28T14:07:47Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The idea of maintenance mode is to prevent any users other than admin to use the site while the maintenance process takes place.&lt;br /&gt;
&lt;br /&gt;
When students/guests/teachers try access a course in maintenance mode, they will obtain a message saying the course is in maintenance mode. A customized message may be added, perhaps stating when the site will be available again or giving the reason for doing maintenance.&lt;br /&gt;
&lt;br /&gt;
If for some reason the webinterface is not available you can also put the Moodle installation in maintenance mode by creating a file called &#039;&#039;maintenance.html&#039;&#039; in the folder called &#039;&#039;1&#039;&#039; in your moodle data folder. Any text in that file will be displayed to users trying to access anything other than the frontpage.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=46451 Maintenance mode?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Mode de maintenance]]&lt;br /&gt;
[[ja:メンテナンスモード]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=2.3:HTML_editor_settings&amp;diff=49157</id>
		<title>2.3:HTML editor settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=2.3:HTML_editor_settings&amp;diff=49157"/>
		<updated>2007-05-28T14:06:33Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Enabling spell-checking==&lt;br /&gt;
&lt;br /&gt;
To use spell-checking within the editor, you MUST have aspell 0.50 or later installed on your server, and you must specify the correct path to access the aspell binary. On Unix/Linux systems, this path is usually &#039;&#039;/usr/bin/aspell&#039;&#039;, but it might be something else. On a Windows system it might look like &#039;&#039;c:\program\aspell\bin\aspell&#039;&#039; where the last aspell is the &#039;&#039;aspell.exe&#039;&#039; file. Some people have reported problems with a path like &#039;&#039;c:\program files\aspell&#039;&#039;, probably caused by the space before &#039;&#039;files&#039;&#039;. It can be best to install aspell in c:\aspell.&lt;br /&gt;
&lt;br /&gt;
[[Configuring aspell on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring aspell on Windows 2003 Server]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
&lt;br /&gt;
*[http://aspell.sourceforge.net/ GNU Aspell]&lt;br /&gt;
*[http://aspell.net/win32/ GNU Aspell (Win32 version)]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=28465 Check your aspell installation] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=41831 When will we be able to use TinyCME in Moodle?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[ja:エディタ設定]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=HTML_editor_settings&amp;diff=23786</id>
		<title>HTML editor settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=HTML_editor_settings&amp;diff=23786"/>
		<updated>2007-05-28T14:06:33Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Enabling spell-checking==&lt;br /&gt;
&lt;br /&gt;
To use spell-checking within the editor, you MUST have aspell 0.50 or later installed on your server, and you must specify the correct path to access the aspell binary. On Unix/Linux systems, this path is usually &#039;&#039;/usr/bin/aspell&#039;&#039;, but it might be something else. On a Windows system it might look like &#039;&#039;c:\program\aspell\bin\aspell&#039;&#039; where the last aspell is the &#039;&#039;aspell.exe&#039;&#039; file. Some people have reported problems with a path like &#039;&#039;c:\program files\aspell&#039;&#039;, probably caused by the space before &#039;&#039;files&#039;&#039;. It can be best to install aspell in c:\aspell.&lt;br /&gt;
&lt;br /&gt;
[[Configuring aspell on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring aspell on Windows 2003 Server]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
&lt;br /&gt;
*[http://aspell.sourceforge.net/ GNU Aspell]&lt;br /&gt;
*[http://aspell.net/win32/ GNU Aspell (Win32 version)]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=28465 Check your aspell installation] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=41831 When will we be able to use TinyCME in Moodle?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[ja:エディタ設定]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Backup_and_restore_FAQ&amp;diff=23785</id>
		<title>Backup and restore FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Backup_and_restore_FAQ&amp;diff=23785"/>
		<updated>2007-05-28T14:05:43Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FAQ}}&lt;br /&gt;
;Site backups&lt;br /&gt;
:Site backups, as explained in [[Upgrading_Moodle#Backup_important_data|upgrading Moodle]], are recommended in order to have all data saved with the best confidence and the shortest recovery time.&lt;br /&gt;
&lt;br /&gt;
;Course backups&lt;br /&gt;
:Course backups, configured on the [[admin/backup|backup]] page, are more expensive in terms of time and CPU usage. The recovery time to have your site running again is longer. Course backups are useful for obtaining &amp;quot;fresh&amp;quot; copies of courses to be re-used or distributed individually, however they should never be used as a primary backup system (unless your hosting doesn&#039;t allow the preferred site backups). In order to make scheduled backups, you have to set up CRON to run periodically. Please refer to the [[Cron|cron instructions]].&lt;br /&gt;
&lt;br /&gt;
==How do I backup my whole Moodle site?==&lt;br /&gt;
&lt;br /&gt;
There are two main things you need to make a copy of - the database and the uploaded files. The Moodle scripts themselves are less important, since you can always download a fresh copy if you have to.&lt;br /&gt;
&lt;br /&gt;
There are many ways to do such backups. Here is an outline of a little script you can run on Unix to backup the database (it works well to have such a script run daily via a cron task):&lt;br /&gt;
&lt;br /&gt;
 cd /my/backup/directory&lt;br /&gt;
 mv moodle-database.sql.gz moodle-database-old.sql.gz&lt;br /&gt;
 mysqldump -h example.com -u myusername --password=mypassword -C -Q -e -a mydatabasename &amp;gt; moodle-database.sql&lt;br /&gt;
 gzip moodle-database.sql&lt;br /&gt;
&lt;br /&gt;
For the files, you can use rsync regularly to copy only the changed files to another host:&lt;br /&gt;
&lt;br /&gt;
 rsync -auvtz --delete -e ssh mysshusername@example.com:/my/server/directory /my/backup/directory/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Character Encoding&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When dumping the entire Moodle database, Administrators should be careful to watch for possible character encoding issues. In some instances, backups created with mysqldump or phpmyadmin may not properly encode all of the data resulting in spurious A characters. One solution is to use mySQL Administrator 1.1 or another tool that will force a UTF-8 dump of the data.&lt;br /&gt;
&lt;br /&gt;
==How do I restore a backup of my whole Moodle site?==&lt;br /&gt;
&lt;br /&gt;
If you have followed the above instructions and created a backup of a Moodle site, you may need to know how to restore the site backup you created.  Here is a set of basic steps that make up the restore process.&lt;br /&gt;
&lt;br /&gt;
1. Rename the original moodle directory to something different (so you still have it) and copy the backed up moodle directory or a newly downloaded moodle directory in its place.&lt;br /&gt;
&lt;br /&gt;
2. If you are running mysql, a backup of the database should be a .sql, .gz or .tar.gz file.  If it is .tar.gz or .gz you need to extract it until it is an sql file.&lt;br /&gt;
&lt;br /&gt;
 tar -xzvf moodlesqlfile.tar.gz&lt;br /&gt;
&lt;br /&gt;
3. If you are running mysql, import the sql file back into a newly created database on the mysql server.  Be careful here, some backups try to import right back into the same working database that moodle is connected to.  This causes database problems that damage a Moodle installation.  The best thing to do is make a new database, restore the backed up database into it, and change the Moodle config.php file to connect to this new database (this way you still have the original database).&lt;br /&gt;
&lt;br /&gt;
once you have created the new database:&lt;br /&gt;
 mysql -p new_database &amp;lt; moodlesqlfile.sql&lt;br /&gt;
&lt;br /&gt;
==What data is not contained in course backups?==&lt;br /&gt;
&lt;br /&gt;
By selecting all the options when setting up the backup you can include almost all the data in the course. However you should be aware of the fact that some things are not backed up:&lt;br /&gt;
* Quiz questions are only backed up if at least one question from their category has been added to a quiz.&lt;br /&gt;
* Scales are only backed up if they are used by at least one activity.&lt;br /&gt;
&lt;br /&gt;
==Error: An error occurred deleting old backup data==&lt;br /&gt;
&lt;br /&gt;
This part of the backup (or restore) procedure tries to delete old info, used in previous executions, performing the following tasks:&lt;br /&gt;
&lt;br /&gt;
* Delete old records from &amp;quot;backup_ids&amp;quot; table: Check the table exists, repair it and try again.&lt;br /&gt;
&lt;br /&gt;
* Delete old records from &amp;quot;backup_files&amp;quot; table: Check the table exists, repair it and try again.&lt;br /&gt;
&lt;br /&gt;
* Delete old files from &amp;quot;moodledata/temp/backup&amp;quot;: Delete the dir completely and try again.&lt;br /&gt;
&lt;br /&gt;
There are various ways of repairing tables, including using MySQL Admin.&lt;br /&gt;
&lt;br /&gt;
==XML error: not well-formed (invalid token) at line YYYY==&lt;br /&gt;
&lt;br /&gt;
This problem can appear at any point in the restore process. It&#039;s caused when the XML parser detects something incorrect in the backup file that prevent correct operation. Usually, it&#039;s caused by some &amp;quot;illegal&amp;quot; characters added in the original course due to some copy/paste of text containing them (control characters, or invalid sequences...).&lt;br /&gt;
&lt;br /&gt;
The best method to handle this issue is:&lt;br /&gt;
&lt;br /&gt;
* Unzip the problematic backup file under one empty folder.&lt;br /&gt;
&lt;br /&gt;
* Open the moodle.xml with Firefox. It will show you where (exact char) the problem is happening.&lt;br /&gt;
&lt;br /&gt;
* Edit the moodle.xml file with some UTF8-compatible editor and delete such characters. Save changes.&lt;br /&gt;
&lt;br /&gt;
* Test the moodle.xml file again with Firefox until no error was displayed.&lt;br /&gt;
&lt;br /&gt;
* Zip everything again (all the folder contents but not the folder itself!).&lt;br /&gt;
&lt;br /&gt;
* Restore the course. It should work now.&lt;br /&gt;
&lt;br /&gt;
* Restore still not working? See the next paragraph.&lt;br /&gt;
&lt;br /&gt;
Also, if possible, it&#039;s highly recommended to solve those problems in the original course too from Moodle itself. Once &amp;quot;repaired&amp;quot; there, problems will be out if you create new backup files in the future.&lt;br /&gt;
&lt;br /&gt;
==Still XML error: how to clean xml borked file==&lt;br /&gt;
&lt;br /&gt;
In some cases XML backup files may contain characters causing the restore process to abort, even after the steps described in the previous paragraph. In such cases you may want to try the following:&lt;br /&gt;
&lt;br /&gt;
* Download the [http://repository.atlassian.com/atlassian-xml-cleaner/jars/atlassian-xml-cleaner-0.1.jar Atlassian XML Cleanr Utility] from the [http://confluence.atlassian.com/display/JIRA/Removing+invalid+characters+from+XML+backups JIRA Atlassian site].&lt;br /&gt;
&lt;br /&gt;
* Unzip the problematic Moodle backup file under one empty folder. Moodle will create the course file folders as long as the unclean moodle.xml file. Please unzip using the Moodle unzip feature.&lt;br /&gt;
&lt;br /&gt;
* Rename the unclean moodle.xml file to moodle-unclean.xml. &lt;br /&gt;
&lt;br /&gt;
* If you don&#039;t have access to your Moodle server&#039;s command prompt, using the Moodle zip feature, zip the moodle-unclean.xml file only, download the zip file locally and unzip it. It is very important to download the xml file in zipped format to avoid unwanted charachter encoding when transferring from an operating system to another.&lt;br /&gt;
&lt;br /&gt;
* Move the downloaded Atlassian XML Cleaner Utility in the same folder where is your moodle-unclean.xml file.&lt;br /&gt;
&lt;br /&gt;
* Issue the following command from the command prompt: &lt;br /&gt;
&lt;br /&gt;
 java -jar atlassian-xml-cleaner-0.1.jar moodle-unclean.xml &amp;gt; moodle.xml&lt;br /&gt;
&lt;br /&gt;
* If you launched the utility on your local computer, zip the just created (and hopefully cleaned) moodle.xml file and upload it in the same place from where you downloaded the moodle-unclean.xml file. Once uploaded, unzip it using the Moodle unzip feature.&lt;br /&gt;
&lt;br /&gt;
* Zip everything again (all the folder contents but the folder itself!).&lt;br /&gt;
&lt;br /&gt;
* Restore the course. It should work now.&lt;br /&gt;
&lt;br /&gt;
==Some of your courses weren&#039;t saved!!==&lt;br /&gt;
&lt;br /&gt;
There are three possible causes of this problem:&lt;br /&gt;
# Error - this happens when the backup procedure has found an error and so hasn&#039;t finished the backup of a particular course. These are &amp;quot;controlled&amp;quot; errors and the scheduled backup continues with the next course.&lt;br /&gt;
# Unfinished - this happens when the backup procedure dies without knowing why. When the cron is next executed it detects that the last execution went wrong, and continues skipping the problematic course. A possible solution would be to raise the PHP/Apache limit in your installation (memory, time of execution...). By taking a look to your log tables you should be able to see if the &amp;quot;crash&amp;quot; is happening at exact time intervals (usually a problem with the max_execution_time php&#039;s variable), or if there is some exact point were all the courses are breaking (generally internal zip libraries, try to switch to external executables instead).&lt;br /&gt;
# Skipped - this happens when a course is unavailable to students and has not been changed in the last month (31 days). This isn&#039;t an error situation - it&#039;s a feature, especially useful for sites with many unavailable old courses, saving process time.&lt;br /&gt;
&lt;br /&gt;
==Restoring pre 1.6 non-ISO-8859-1 backups to Moodle 1.6 - Unicode==&lt;br /&gt;
&lt;br /&gt;
Any backup files with contents which are not 100% ISO-8859-1 will be a problem to restore to Moodle 1.6 (and upwards) running under Unicode. Instead, please try the following:&lt;br /&gt;
&lt;br /&gt;
# Make a clean install of Moodle 1.5.x (the latest version available)&lt;br /&gt;
# Restore all your courses there (they should work if they were working originally)&lt;br /&gt;
# Upgrade your site to Moodle 1.6 and run the UTF-8 migration script&lt;br /&gt;
# Backup your courses again&lt;br /&gt;
&lt;br /&gt;
This will produce a new set of backup files that will be 100% UTF-8 and you will be able to use them with Moodle 1.6 without any problems.&lt;br /&gt;
&lt;br /&gt;
==Why are some courses being skipped?==&lt;br /&gt;
&lt;br /&gt;
From 1.6 onwards, course backups automatically skip courses which are unavailable to students AND have not been changed in the last month.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=128 Backup and Restore forum]&lt;br /&gt;
*[[Backup restore]] Version 1.6 description of screens for both&lt;br /&gt;
*[[Restore]] almost same as backup_restore&lt;br /&gt;
*[[Roll courses forward]] new Version 1.7 option&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=66708 Scheduled backup fails] forum discussion including possible solution to &amp;quot;An error occured while copying files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.databasejournal.com/features/mysql/article.php/10897_3300511_2 Repairing Database Corruption in MySQL]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[es:FAQ Backup]]&lt;br /&gt;
[[fr:FAQ de sauvegarde]]&lt;br /&gt;
[[ja:バックアップFAQ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Automated_course_backup&amp;diff=23784</id>
		<title>Automated course backup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Automated_course_backup&amp;diff=23784"/>
		<updated>2007-05-28T14:04:23Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The backup configuration page enables administrators to configure automated course backups and a backup schedule.  This menu can be found in the administration block under configuration.&lt;br /&gt;
&lt;br /&gt;
*Course backups are more expensive in terms of time and CPU usage. The recovery time to have your site running again is longer. &lt;br /&gt;
*Course backups are useful for obtaining &amp;quot;fresh&amp;quot; copies of courses to be re-used or distributed individually, however they should never be used as a primary backup system (unless your hosting doesn&#039;t allow the preferred site backups). &lt;br /&gt;
*In order to make scheduled course backups, you have to setup CRON to run periodically. Have a look at [[Cron|Set up cron]] for details.&lt;br /&gt;
*Site backups, as explained in [[Upgrading_Moodle#Backup_important_data|upgrading Moodle]], are recommended in order to have all data saved with the best confidence and the shorter recovery time.&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
*From 1.6 onwards, course backups automatically skip courses which are unavailable to students AND have not been changed in the last month.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Backup FAQ]]&lt;br /&gt;
*[[Backup restore]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Sauvegarde (administrateur)]]&lt;br /&gt;
[[ja:バックアップ (管理者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Filters&amp;diff=23783</id>
		<title>Filters</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Filters&amp;diff=23783"/>
		<updated>2007-05-28T14:03:28Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Filters&#039;&#039;&#039; allow for the automatic transformation of entered text into different, often more complex forms. For example the titles of [[Resources|resources]] can automatically become hyperlinks that take you to the relevant resource, URLs pointing to [[mp3]] files can become [[Flash]] controls embedded in the webpage that let you pause and rewind the audio. The possibilities are endless and there are a number of standard filters included with Moodle and many more specialized filters contributed by the community.&lt;br /&gt;
&lt;br /&gt;
Filters are one of Moodle&#039;s pluggable resources and may be added or removed simply by using a file manager to add or remove them from the /filters directory.  Moodle detects those that are present and makes them available to use.  &lt;br /&gt;
&lt;br /&gt;
In versions prior to 1.7, the filters manager and individual filter settings may be found in the site administration block &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; Filters.  In 1.7 it can be found in the administration block &amp;gt;&amp;gt; Modules &amp;gt;&amp;gt; Filters.&lt;br /&gt;
&lt;br /&gt;
[[Image:Filters_configuration_table.JPG|thumb|300px|left|Moodle 1.6 Filters administration]] &lt;br /&gt;
Prior to Moodle 1.6 the filters administration screen has two columns - &#039;&#039;&#039;active&#039;&#039;&#039; and &#039;&#039;&#039;inactive&#039;&#039;&#039;. The arrows are used to move filters from one column to the other. Only filters in the active column will be applied. Note that up and down arrows are provided to the left of the &#039;&#039;&#039;active&#039;&#039;&#039; column to enable the order in which filters are applied to be changed. In some cases this can be significant.&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
Moodle 1.6 has a more unified administration screen (similar to the modules and blocks administration screens). &lt;br /&gt;
 &lt;br /&gt;
The filters administration screen enables individual filters to be shown (enabled) or hidden (disabled). Only enabled filters will be applied to displayed text. The order in which filters are applied to displayed text can be significant - you can change the order in which enabled filters are applied using the up and down buttons. The enabled filters are applied from the top of the list down. Some filters have their own settings screen. Please refer to the documentation for the individual filter for more information.&lt;br /&gt;
&lt;br /&gt;
Underneath the filter selection area, there are fields which control the cache.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Filters==&lt;br /&gt;
&lt;br /&gt;
*Activity Names Auto-linking - This scans text for activity titles that exist in the same course and creates a link.&lt;br /&gt;
*[[Algebra filter|Algebra]] - This filter will convert algebra code into GIF images. It requires the tex filter to be installed ([[#TeX notation|see below]]). Note also that your system must also include the following Perl module: HTML::Entities.pm&lt;br /&gt;
*Database auto-linking - As the name suggests, this filter enables automatic linking of [[Database module]] entries.&lt;br /&gt;
*Email Protection - This filter scans the text for any email addresses. Where found they are changed to reduce the chance of being added to a spammers list.&lt;br /&gt;
*Glossary auto-linking - As the name suggests, this filter enables automatic linking of [[Glossary module]] entries. In addition to this filter, individual glossary entries should have the &amp;quot;This entry should be automatically linked&amp;quot; box checked.&lt;br /&gt;
*[[Multi language content]] - This filter enables resources to be created in multiple languages. It looks for &amp;amp;lt;span&amp;amp;nbsp;lang=&amp;quot;xx&amp;quot; class=&amp;quot;multilang&amp;quot;&amp;amp;gt;...&amp;amp;lt;/span&amp;amp;gt; tags which indicate that a text contains multiple languages. Then it selects and outputs the best language for the current user. The language of the resource will change when the user changes their selected Moodle language. Please note: going to the past, the multilang filter supported the &amp;amp;lt;lang&amp;amp;gt; tag. Then, officially, we changed it to the standard HTML &amp;amp;lt;span&amp;amp;gt; tag and the &amp;amp;lt;lang&amp;amp;gt; solution is now deprecated.&lt;br /&gt;
*[[Multimedia plugins]]&lt;br /&gt;
*Resource Names Auto-linking - The titles of [[Resources]] can automatically become hyperlinks that take you to the relevant resource within the same course.&lt;br /&gt;
*[[TeX filter|TeX notation]]&lt;br /&gt;
*Tidy - This filter checks whether HTML code is XHTML compliant, tidying where necessary. To make this filter work you need to have PHP compiled with the libtidy option; see http://www.php.net/tidy. The Using Moodle discussion [http://moodle.org/mod/forum/discuss.php?d=28418 Tidy Filter for Moodle 1.5] contains more details.&lt;br /&gt;
*Wiki Page Auto-linking&lt;br /&gt;
*[[Word censorship]] - This filter &amp;quot;blacks out&amp;quot; words found on a list.&lt;br /&gt;
&lt;br /&gt;
==Cache Controls==&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
*Text cache lifetime - To reduce load on the server and to speed display of pages, Moodle can store previously processed pages (that have not changed) for a period of time. This setting controls the time for which processed pages are stored. A longer setting may improve performance but has the effect that changes to pages may not become visible for a time. You can switch caching off completely here.&lt;br /&gt;
*Filter uploaded files - This setting enables uploaded files (HTML and text only) to be processed by the filters system. You can choose to have none, only HTML or all files filtered.&lt;br /&gt;
*Filter match once per page - This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match on the complete page will be converted to a link. All others will be ignored.&lt;br /&gt;
*Filter match once per text - This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match in a discrete block of text will be converted to a link. All others in that text block will be ignored.&lt;br /&gt;
*Filter all strings - When set to yes, almost all Moodle text will be filtered. This is probably only necessary when using the multi-language filter.&lt;br /&gt;
&lt;br /&gt;
==Config.php settings==&lt;br /&gt;
{{Moodle 1.5}}&lt;br /&gt;
*For Moodle 1.6 see the Cache Settings above. For earlier versions of Moodle, the filter/config.php file will need to be changed for the visual effects below.  The following two settings affect the glossary, activity and resource linking filters:&lt;br /&gt;
:To convert only the first matching title on a page, insert or uncomment the  following line in config.php: &amp;lt;code&amp;gt;$CFG-&amp;gt;filtermatchoneperpage = true;&amp;lt;/code&amp;gt;&lt;br /&gt;
:To convert only the first matching title in a discrete block of text, insert or uncomment the following line in config.php: &amp;lt;code&amp;gt;$CFG-&amp;gt;filtermatchonepertext = true;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Development:Filters]]&lt;br /&gt;
Non-standard filters:&lt;br /&gt;
&lt;br /&gt;
* [[Jmol filter|Jmol]] - for interactive 3D viewing of molecular structures&lt;br /&gt;
* [[Code Syntax Highlighting]] - for more readable excerpts of programming languages including [[PHP]], [[HTML]], [[CSS]], and XML amongst many others&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
[[es:Filtros (Administrador)]]&lt;br /&gt;
[[fr:Filtres (administrateur)]]&lt;br /&gt;
[[ja:フィルタ (管理者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Block_layout&amp;diff=23782</id>
		<title>Block layout</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Block_layout&amp;diff=23782"/>
		<updated>2007-05-28T14:01:43Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Default block layout for new courses==&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
*[[Sticky blocks]] may be used in Moodle 1.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.5}}&lt;br /&gt;
To amend the default block layout for new courses in Moodle 1.5, add one or more of the following lines (omitting the forward slashes) to &#039;&#039;config.php&#039;&#039; and amend the block names as required.&lt;br /&gt;
 // These variables define DEFAULT block variables for new courses&lt;br /&gt;
 // If this one is set it overrides all others and is the only one used.&lt;br /&gt;
 //      $CFG-&amp;gt;defaultblocks_override =    &#039;participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity&#039;;&lt;br /&gt;
 //&lt;br /&gt;
 // These variables define the specific settings for defined course formats.&lt;br /&gt;
 // They override any settings defined in the formats own config file.&lt;br /&gt;
 //      $CFG-&amp;gt;defaultblocks_site = &#039;site_main_menu,admin,course_list:course_summary,calendar_month&#039;;&lt;br /&gt;
 //      $CFG-&amp;gt;defaultblocks_social =  &#039;participants,search_forums,calendar_month,calendar_upcoming,social_activities,recent_activity,admin,course_list&#039;;&lt;br /&gt;
 //      $CFG-&amp;gt;defaultblocks_topics =  &#039;participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity&#039;;&lt;br /&gt;
 //      $CFG-&amp;gt;defaultblocks_weeks =  &#039;participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity&#039;;&lt;br /&gt;
 // These blocks are used when no other default setting is found.&lt;br /&gt;
 //      $CFG-&amp;gt;defaultblocks = &#039;participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity&#039;;&amp;lt;/pre&amp;gt;&lt;br /&gt;
(code copied from &#039;&#039;config-dist.php&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
==Resetting the block layout for existing courses==&lt;br /&gt;
&lt;br /&gt;
The block layout for existing courses may be reset by copying the following script into a text file, saving it as &#039;&#039;resetblocks.php&#039;&#039;, copying it into the Moodle root directory, then visiting &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/resetblocks.php&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Please note that a database backup is recommended before using the script. ;-)&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 require_once(&#039;config.php&#039;);&lt;br /&gt;
 require_once($CFG-&amp;gt;libdir.&#039;/blocklib.php&#039;);&lt;br /&gt;
 $courses = get_records(&#039;course&#039;);&lt;br /&gt;
 foreach($courses as $course) {&lt;br /&gt;
    $page = page_create_object(PAGE_COURSE_VIEW, $course-&amp;gt;id);&lt;br /&gt;
    blocks_repopulate_page($page);&lt;br /&gt;
 }&lt;br /&gt;
 print_heading(&#039;Done!&#039;);&lt;br /&gt;
 ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Block]]&lt;br /&gt;
[[ja:ブロックレイアウト]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Blocks_administration&amp;diff=23781</id>
		<title>Blocks administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Blocks_administration&amp;diff=23781"/>
		<updated>2007-05-28T14:00:42Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: Administration &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; Blocks &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;blocks&#039;&#039;&#039; configuration page allows you to manage installed blocks and their settings.  &lt;br /&gt;
&lt;br /&gt;
== Instances ==&lt;br /&gt;
&lt;br /&gt;
This number tells you how many times a particular type of block is used in the courses on your Moodle site.&lt;br /&gt;
&lt;br /&gt;
== Multiple ==&lt;br /&gt;
&lt;br /&gt;
Some blocks can be added multiple times to the same course. This of course is supported only by blocks for which it makes sense. For example, it makes sense to have two HTML blocks (and configure each one to show something different), but it doesn&#039;t make sense to have two Administration blocks. For those blocks which do support multiple instances, the administrator can choose to allow it or not.&lt;br /&gt;
&lt;br /&gt;
== Delete==&lt;br /&gt;
&lt;br /&gt;
To delete a block click here and it will be removed from Moodle.  However you will need to use a file manager and remove/delete the actual module directory from the moodle/blocks directory, otherwise Moodle will reinstall it next time you visit the admin page.&lt;br /&gt;
&lt;br /&gt;
==Adding a non-standard block==&lt;br /&gt;
&lt;br /&gt;
You may add [[:Category:Block (non-standard)|non-standard blocks]] simply by using a file manager to copy the new block as a directory into the moodle/blocks directory and Moodle will install it next time you visit the admin page.  Moodle uses the name of the directory as the name of the block.  The same applies for blocks which you delete and wish to reinstall later.&lt;br /&gt;
&lt;br /&gt;
==Block configuration==&lt;br /&gt;
&lt;br /&gt;
*[[Courses block configuration|Courses]]&lt;br /&gt;
*[[Online Users block configuration|Online Users]]&lt;br /&gt;
*[[Remote RSS Feeds block configuration|Remote RSS Feeds]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Block layout]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Block]]&lt;br /&gt;
[[ja:ブロック管理 (管理者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Activity_modules_administration&amp;diff=23779</id>
		<title>Activity modules administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Activity_modules_administration&amp;diff=23779"/>
		<updated>2007-05-28T13:58:30Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: Administration &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; Modules &lt;br /&gt;
&lt;br /&gt;
*[[Assignment configuration|Assignment]]&lt;br /&gt;
*[[Chat configuration|Chat]]&lt;br /&gt;
*[[Database configuration|Database]] (1.6)&lt;br /&gt;
*[[Forum configuration|Forum]]&lt;br /&gt;
*[[Glossary configuration|Glossary]]&lt;br /&gt;
*[[Hotpot configuration|Hotpot]] (1.6)&lt;br /&gt;
*[[LAMS configuration|LAMS]] (1.6)&lt;br /&gt;
*[[Quiz configuration|Quiz]]&lt;br /&gt;
*[[Resource configuration|Resource]]&lt;br /&gt;
*[[SCORM/AICC configuration|SCORM/AICC]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[:Category:Modules (non-standard)|Non-standard modules]] - a list of additional modules available plus installation instructions&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Modules (administrateur)]]&lt;br /&gt;
[[ja:モジュール管理 (管理者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Language_editing&amp;diff=23778</id>
		<title>Language editing</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Language_editing&amp;diff=23778"/>
		<updated>2007-05-28T12:02:17Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOEDITSECTION__&lt;br /&gt;
== Manage language ==&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
Moodle 1.6 includes a [[Language import utility]].&lt;br /&gt;
&lt;br /&gt;
== Edit strings ==&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
Text in Moodle may be changed by editing the language strings, either via Administration &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; Language or directly i.e. in &#039;&#039;moodledata/lang/&#039;&#039;.&lt;br /&gt;
* Click the button &amp;quot;switch&amp;quot; and a local language folder, &#039;&#039;parentlanguage_local&#039;&#039;, will automatically be created in &#039;&#039;moodledata/lang/&#039;&#039;. Files of edited strings will then be saved in this folder. This will prevent your local changes to be overwritten by a newer language pack while updating.&lt;br /&gt;
* When returning to edit further strings, check that files of edited strings will again be saved to the folder &#039;&#039;parentlanguage_local&#039;&#039;, switching folder if necessary.&lt;br /&gt;
&lt;br /&gt;
[[Image:Edit-strings.gif]]&lt;br /&gt;
&lt;br /&gt;
==Previous admin/lang==&lt;br /&gt;
{{Moodle 1.5}}&lt;br /&gt;
Text in Moodle 1.5 may be changed by editing the language strings, either via Administration &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; Language or directly e.g. in &#039;&#039;lang/en&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Local language pack&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To ensure that any changes are not overwritten by a new version when upgrading, you need to create your own local language pack as follows:&lt;br /&gt;
&lt;br /&gt;
* Copy the contents of your language folder (e.g. &#039;&#039;lang/en&#039;&#039;) into a new folder (e.g. &#039;&#039;lang/en_local&#039;&#039;) - you will need access to the server to achieve this step, it cannot be done from within Moodle.&lt;br /&gt;
* Make your local language pack the default for the site via Administration &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; [[Variables]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Translation]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=43 Languages] forum&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=49150 Local language] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[Category:Language]]&lt;br /&gt;
&lt;br /&gt;
[[es:admin/lang]]&lt;br /&gt;
[[fr:Langue]]&lt;br /&gt;
[[ja:言語]]&lt;br /&gt;
[[zh:语言]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Themes&amp;diff=23777</id>
		<title>Themes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Themes&amp;diff=23777"/>
		<updated>2007-05-28T12:01:25Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
&lt;br /&gt;
Moodle has a powerful &#039;&#039;&#039;themes&#039;&#039;&#039; system that allows for a variety of effects through the use of XHTML and CSS.&lt;br /&gt;
&lt;br /&gt;
* Themes may be [[Theme config|configured]] at site level, course level and/or user level.&lt;br /&gt;
* Each page is individually-addressable via CSS, allowing you to pinpoint exact items.&lt;br /&gt;
* Our CSS class naming system uses simple English, is consistent and easily understood.&lt;br /&gt;
* New modules can tell Moodle what styles they need and automatically include these in the stylesheet.&lt;br /&gt;
* Themes can be based on the &#039;&#039;standard&#039;&#039; theme, which is very plain but functional.  You simply override styles you want to change by adding to the stylesheet in your own theme.  This means that if you upgrade Moodle later and new styles are needed, your custom theme will still work without any changes, because the new classes will be defined in the &#039;&#039;standard&#039;&#039; theme.&lt;br /&gt;
* Themes can also be based on any other theme.  This allows you to easily create families of themes, or variations on a theme.  For example you might create a spectrum of pastel shades for use in different courses, but with the same basic layout and logos.  You may also want to create a family of differently-coloured themes for accessibility purposes.&lt;br /&gt;
&lt;br /&gt;
== Creating your own theme ==&lt;br /&gt;
&lt;br /&gt;
If you plan to work on your own theme please create a new one (with its own named subfolder) and use Moodle&#039;s [what] feature to base your theme on an existing theme such as &#039;&#039;standard&#039;&#039;. If you just modify one of the delivered themes it will be overwritten by the next Moodle update.&lt;br /&gt;
&lt;br /&gt;
== Installing your own theme ==&lt;br /&gt;
&lt;br /&gt;
Once you have your own theme created, you should follow these steps to install it on your site:&lt;br /&gt;
&lt;br /&gt;
# Zip the theme folder using winzip or similar&lt;br /&gt;
# Upload the .zip file into the theme folder moodle/themes/&lt;br /&gt;
# Unzip&lt;br /&gt;
# note: make sure the new theme folder and its contents are readable by the webserver. in Mac OS X, set Group and Other privileges to  &#039;Read &amp;amp; Write&#039; (select File&amp;gt; Get Info&amp;gt; Ownership &amp;amp; Permissions) otherwise Moodle may not be able to display the newly installed theme.&lt;br /&gt;
# Choose your new theme from within Moodle Admin&amp;gt;Appearances&amp;gt;Themes (version 1.7 +). For older versions, the path is Moodle Admin&amp;gt;Configuration&amp;gt;Themes&lt;br /&gt;
&lt;br /&gt;
== Theme system changes across Moodle versions ==&lt;br /&gt;
&lt;br /&gt;
Moodle 1.5 themes are quite different from previous versions and so a [[Theme upgrade|theme upgrade]] is required. A theme upgrade is also required for the [[1.6 theme upgrade|transition from 1.5 to 1.6]], since the XHTML structure has been reworked for improved [[Accessibility|accessibility]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:Themes]]&lt;br /&gt;
&lt;br /&gt;
[[es:Temas]]&lt;br /&gt;
[[fr:Thèmes]]&lt;br /&gt;
[[ja:テーマ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Site_settings&amp;diff=23776</id>
		<title>Site settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Site_settings&amp;diff=23776"/>
		<updated>2007-05-28T12:00:33Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page provides options for defining the appearance of the site homepage.&lt;br /&gt;
&lt;br /&gt;
The site homepage is effectively a course with id = 1 (usually). &#039;&#039;&amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/course/teacher.php?id=1&amp;lt;/nowiki&amp;gt;&#039;&#039; may be used to give users other than admins editing rights (including the rights to post in a no discussions, no replies forum or add an entry to a teacher-only glossary) to the site homepage.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Homepage design|Homepage design of moodle.org]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=38614 Front page format] forum discussion	 	&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[ja:サイト設定]]&lt;br /&gt;
[[zh:站点设置]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Variables&amp;diff=23775</id>
		<title>Variables</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Variables&amp;diff=23775"/>
		<updated>2007-05-28T11:59:30Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Interface ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;lang&#039;&#039; - If you wish to change any text on your site, it is recommended that a local language pack is created. Please refer to [[Language]] for details&lt;br /&gt;
*&#039;&#039;timezone&#039;&#039; -  This field is used to set the default timezone used by Moodle. It effects time-related messages on the system such as assignment deadlines. If you have set this and still have time problems, make sure the time is set correctly on the server. Users can also set their timezone, see [[Edit profile]].&lt;br /&gt;
*&#039;&#039;themelist&#039;&#039;, &#039;&#039;allowuserthemes&#039;&#039;, &#039;&#039;allowcoursethemes&#039;&#039; - Please refer to the [[Theme config|Theme configuration]] for details&lt;br /&gt;
&lt;br /&gt;
== Operating System ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;slasharguments&#039;&#039; - Please refer to the FAQ [[Installation_FAQ#Uploaded_files_give_.22File_not_found.22|Uploaded files give &amp;quot;File not found&amp;quot;]] and the [[Installing_Moodle#Check_web_server_settings|check web server settings]] instructions&lt;br /&gt;
&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;autologinguests&#039;&#039; - Please refer to [[Guest access]]&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;opentogoogle&#039;&#039; - Please refer to [[Search engine optimization]] for further information&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;maxeditingtime&#039;&#039; - Please refer to the forum discussions [http://moodle.org/mod/forum/discuss.php?d=28679 Editing a forum post after the 30 minutes deadline] and [http://moodle.org/mod/forum/discuss.php?d=5367 The philosophy underlying &amp;quot;no editing after 30 minutes&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;debug&#039;&#039; - Set debug to on in order to get more information about PHP errors. This is often helpful to an administrator when trying to get more information about an error or problem being experienced. Normally, debug is set to off. For more information about debugging in Moodle 1.7 onwards, see [[Debugging]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=32306 How to make individual course policies (vs. site policies)] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Paramètres techniques]]&lt;br /&gt;
[[es:Variables]]&lt;br /&gt;
[[ja:詳細設定]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=23774</id>
		<title>Upgrading</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=23774"/>
		<updated>2007-05-28T11:56:25Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle is designed to upgrade cleanly from any earlier version to any later version. Please refer to [[Upgrading to Moodle 1.6]], [[Upgrading to Moodle 1.7]] or [[Upgrading to Moodle 1.8]]  for particular considerations related to features of the version you are upgrading to.&lt;br /&gt;
__TOC__&lt;br /&gt;
When upgrading a Moodle installation you should follow these steps:&lt;br /&gt;
&lt;br /&gt;
==Check the system requirements==&lt;br /&gt;
Spend some time re-reading the [[Installing Moodle | installation documentation]]. Check the system requirements for the version you are upgrading to in &#039;&#039;Administration &amp;gt; Server &amp;gt; [[Environment]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Backup important data ==&lt;br /&gt;
&lt;br /&gt;
Although it is not strictly necessary, it is always a good idea to make a backup of any production system before a major upgrade, just in case you need to revert back to the older version for some reason. In fact, it&#039;s a good idea to automate your server to backup your Moodle installation daily, so that you can skip this step.&lt;br /&gt;
&lt;br /&gt;
There are three areas that need backing up:&lt;br /&gt;
&lt;br /&gt;
=== 1. The Moodle software directory itself ===&lt;br /&gt;
&lt;br /&gt;
Make a separate copy of these files before the upgrade, so that you can retrieve your config.php and any modules you have added like themes, languages etc&lt;br /&gt;
&lt;br /&gt;
=== 2. Your data directory ===&lt;br /&gt;
&lt;br /&gt;
This is where uploaded content resides (such as course resources and student assignments) so it is very important to have a backup of these files anyway. Sometimes upgrades may move or rename directories within your data directory.&lt;br /&gt;
&lt;br /&gt;
=== 3. Your database ===&lt;br /&gt;
&lt;br /&gt;
Most Moodle upgrades will alter the database tables, adding or changing fields. Each database has different ways to backup. One way of backing up a MySQL database is to &#039;dump&#039; it to a single SQL file. The following example shows Unix commands to dump the database called &amp;quot;moodle&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql&lt;br /&gt;
&lt;br /&gt;
Substitute your database user account for username. The -p flag will prompt you for the password for the username specified by -u.&lt;br /&gt;
&lt;br /&gt;
If your database host is different from the host you want to execute the backup command (usually the web server), you have to specify it with the -h option to mysqldump:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -h databasehost -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql &lt;br /&gt;
&lt;br /&gt;
You can also use the &amp;quot;Export&amp;quot; feature in Moodle&#039;s optional &amp;quot;MySQL Admin&amp;quot; web interface to do the same thing on all platforms. This interface can be downloaded from http://download.moodle.org/modules/integrations.php. It is an integration of PHPMyAdmin for the Moodle administration interface.&lt;br /&gt;
&lt;br /&gt;
== Install the new Moodle software ==&lt;br /&gt;
&lt;br /&gt;
=== Using a downloaded archive ===&lt;br /&gt;
&lt;br /&gt;
Do not overwrite an old installation unless you know what you are doing ... sometimes old files can cause problems in new installations. The best way is to rename the current Moodle directory to something else, then unpack the new Moodle archive into the old location.&lt;br /&gt;
&lt;br /&gt;
 mv moodle moodle.backup&lt;br /&gt;
 tar xvzf moodle-1.1.tgz&lt;br /&gt;
&lt;br /&gt;
Next, copy across your config.php and any other plugins such as custom themes:&lt;br /&gt;
&lt;br /&gt;
 cp moodle.backup/config.php moodle&lt;br /&gt;
 cp -pr moodle.backup/theme/mytheme moodle/theme/mytheme&lt;br /&gt;
&lt;br /&gt;
=== Using CVS ===&lt;br /&gt;
&lt;br /&gt;
You can use CVS for updating or upgrading your Moodle.&lt;br /&gt;
First you need to do a CVS checkout in your (empty) Moodle root directory.&lt;br /&gt;
&lt;br /&gt;
Until 25th April 2007, we only had one server available for anonymous CVS (moodle.cvs.sourceforge.net). Unfortunately this server is now disabled. But you can use any of the [[CVS_for_Administrators#CVS_Servers|CVS Mirror servers]]. Just replace &#039;&#039;&#039;moodle.cvs.sourceforge.net&#039;&#039;&#039; in the instructions below with the name of the mirror server you chose!.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Linux servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To do a CVS checkout of Moodle, you first have to logon to the Moodle CVS server.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -d:pserver:anonymous@moodle.cvs.sourceforge.net:/cvsroot/moodle login&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  No password for anonymous, so just hit the Enter button.&lt;br /&gt;
&lt;br /&gt;
Go to the directory where you want the Moodle root to come and type&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -z3 -d:pserver:anonymous@moodle.cvs.sourceforge.net:/cvsroot/moodle co -r MOODLE_18_STABLE moodle&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
  (where MOODLE_18_STABLE is the desired version)&lt;br /&gt;
&lt;br /&gt;
To update, just go into the Moodle root directory and update to the new files:&lt;br /&gt;
&lt;br /&gt;
  cvs update -dP&lt;br /&gt;
To update to a new version type in the following and change 18 to whatever newest version upgrade number is&lt;br /&gt;
  cvs -Q update -dP -r MOODLE_18_STABLE&lt;br /&gt;
&lt;br /&gt;
Make sure you use the &amp;quot;d&amp;quot; parameter to create new directories if necessary, and the &amp;quot;P&amp;quot; parameter to prune empty directories.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Windows servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can use Tortoise CVS to do the initial checkout and the updates.&lt;br /&gt;
&lt;br /&gt;
If you have been editing Moodle files, watch the messages very closely for possible conflicts. All your customised themes and non-standard plugins will be untouched.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to visit the admin page after the CVS update proces has completed.&lt;br /&gt;
&lt;br /&gt;
== Finishing the upgrade ==&lt;br /&gt;
&lt;br /&gt;
The last step is to trigger the upgrade processes within Moodle.&lt;br /&gt;
&lt;br /&gt;
To do this just visit the admin page of your installation e.g. &#039;&#039;&amp;lt;nowiki&amp;gt;http://example.com/moodle/admin&amp;lt;/nowiki&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It doesn&#039;t matter if you are logged in as admin or not. If you are upgrading from some older versions you would not be able to login before the upgrade anyway.&lt;br /&gt;
&lt;br /&gt;
Moodle will automatically detect the new version and perform all the database or filesystem upgrades that are necessary. If there is anything it can&#039;t do itself (very rare) then you will see messages telling you what you need to do.&lt;br /&gt;
&lt;br /&gt;
Assuming all goes well (no error messages) then you can start using your new version of Moodle and enjoy the new features!&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems] forum&lt;br /&gt;
*[[Upgrading to Moodle 1.6]]&lt;br /&gt;
*[[Installing Moodle]]&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[http://otaru-jc.ac.jp/hagley/howtoupgrademoodlewithcpanel.swf How to upgrade Moodle with cpanel tutorial].&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=26731&amp;amp;parent=125858 Using cvs] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=56915 Upgrading from 1.5.2 to 1.7] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=56991 Upgrade nightmares.... any help appreciated] forum discussion with a happy ending :-)&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=62463 After upgrading i get &amp;quot;Your site may not be secure.&amp;quot; msg.] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Core]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:Actualización de moodle]]&lt;br /&gt;
[[fr:Mise à jour]]&lt;br /&gt;
[[ja:アップグレード]]&lt;br /&gt;
[[nl:Upgraden]]&lt;br /&gt;
[[zh:升级]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Administrator_documentation&amp;diff=23772</id>
		<title>Administrator documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Administrator_documentation&amp;diff=23772"/>
		<updated>2007-05-28T11:29:57Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this page is to list useful links by general topics for administrators.&lt;br /&gt;
&lt;br /&gt;
== Installation &amp;amp; Upgrading ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation Quickstart]] for an overview of the installation steps&lt;br /&gt;
*[[Installing Moodle]] for detailed installation instructions&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Installing AMP|Installing Apache, MySQL and PHP]]&lt;br /&gt;
*[[Upgrading|Upgrading Moodle]]&lt;br /&gt;
&lt;br /&gt;
== System-specific Instructions &amp;amp; Packages ==&lt;br /&gt;
&lt;br /&gt;
* [[SUSE Linux Server 10|Automated Installation Guide for SUSE Linux Enterprise Server 10]] operating system&lt;br /&gt;
* [[RedHat Linux installation|Step by Step Installation Guide for RedHat]] operating system&lt;br /&gt;
* [[Debian GNU/Linux installation|Step by Step Installation Guide for Debian GNU/Linux]] operating system&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu]]&lt;br /&gt;
* [[Windows installation|Complete Install Packages for Windows XP and instructions for Windows NT/2000/2003 servers]]&lt;br /&gt;
* [[Complete Install Packages for Mac OS X]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client | Step-by-Step Guide for Installing Moodle using the internal web server on Mac OS X 10.4 Client]]&lt;br /&gt;
&lt;br /&gt;
==Security, Performance and Roles==&lt;br /&gt;
&lt;br /&gt;
*[[Security]] contains important security procedures for a production site&lt;br /&gt;
*[[Performance | Performance and optimization]] for ideas on improving the speed of your installation&lt;br /&gt;
*[[Manage roles | Managing roles]] For Moodle 1.7 and later&lt;br /&gt;
&lt;br /&gt;
== FAQs ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
*[[Backup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Configuration Settings ==&lt;br /&gt;
&lt;br /&gt;
*[[Variables]]&lt;br /&gt;
*[[Site settings]]&lt;br /&gt;
*[[Themes]]&lt;br /&gt;
*[[Language]]&lt;br /&gt;
*[[Modules (administrator)|Modules]]&lt;br /&gt;
*[[Blocks (administrator)|Blocks]]&lt;br /&gt;
*[[Filters (administrator)|Filters]]&lt;br /&gt;
*[[Backup (administrator)|Backup]]&lt;br /&gt;
*[[Editor settings]]&lt;br /&gt;
*[[Calendar (administrator)|Calendar]]&lt;br /&gt;
*[[Maintenance mode]]&lt;br /&gt;
&lt;br /&gt;
* See also: [[Location of admin settings in 1.7|Comparision between configuration settings in Moodle 1.6 &amp;amp; 1.7]]&lt;br /&gt;
&lt;br /&gt;
==User Management==&lt;br /&gt;
&lt;br /&gt;
*[[Authentication]]&lt;br /&gt;
*[[Edit user accounts]]&lt;br /&gt;
*[[Edit profile|Add a new user]]&lt;br /&gt;
*[[Flat file|Upload users]]&lt;br /&gt;
*[[Enrolment plugins]]&lt;br /&gt;
*[[Courses (administrator)|Enrol students]]&lt;br /&gt;
*[[Courses (administrator)|Assign teachers]]&lt;br /&gt;
*[[Assign creators]]&lt;br /&gt;
*[[Assign administrators]]&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
*[[Courses (administrator)|Courses]] and [[Course formats|course formats]]&lt;br /&gt;
*[[Logs]]&lt;br /&gt;
*[[Site files]]&lt;br /&gt;
*[[Moodle database|Database]]&lt;br /&gt;
*[[Environment]]&lt;br /&gt;
*[[Moodle Network]] and Moodle Community Hub&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[:Category:Administrator | Index of all Administrator-related pages]]&lt;br /&gt;
*[[Integrations]]&lt;br /&gt;
*[[CVS (administrator)|CVS documentation]]&lt;br /&gt;
*[[Email processing]]&lt;br /&gt;
*[[Search engine optimization]]&lt;br /&gt;
*[[Messaging]]&lt;br /&gt;
*[[Migration]]&lt;br /&gt;
*[[Metacourses]]&lt;br /&gt;
*[[Block layout]]&lt;br /&gt;
*[[Customizing Moodle]]&lt;br /&gt;
*[[Administrator do&#039;s and don&#039;ts]]&lt;br /&gt;
*[http://download.moodle.org/docs/using_moodle/ch16_server_admin.pdf Using Moodle Chapter 16: Moodle Administration]&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[cs:Rukověť správce]]&lt;br /&gt;
[[es:Documentación para Administradores]]&lt;br /&gt;
[[fr:Documentation administrateur]]&lt;br /&gt;
[[ja:管理者ドキュメント]]&lt;br /&gt;
[[nl:Documentatie voor beheerders]]&lt;br /&gt;
[[zh:管理员文档]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
</feed>