<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/28/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nakohdo</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/28/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nakohdo"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/Special:Contributions/Nakohdo"/>
	<updated>2026-04-18T04:50:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Moodle_XML1&amp;diff=114059</id>
		<title>User:Frank Ralf/Moodle XML1</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Moodle_XML1&amp;diff=114059"/>
		<updated>2014-08-07T21:29:28Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: amended URL for Quedoc&amp;#039;s Moodle XML documentation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is only for keeping notes on some of my findings regarding Moodle XML.&lt;br /&gt;
&lt;br /&gt;
== Minimum Question XML ==&lt;br /&gt;
&lt;br /&gt;
Other than stated at Quedoc&#039;s Moodle XML documentation ([http://www.qedoc.org/index.php?title=Moodle_XML_format#Minimum_requirements Minimum requirements]) the minimum working Moodle XML file seems to be the following (short answer question). It gets imported using the default import settings.&lt;br /&gt;
&lt;br /&gt;
Missing fields are populated with the default values during import which can be seen by re-exporting the question(s).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;quiz&amp;gt;&lt;br /&gt;
  &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;name&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;Minimum question&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/name&amp;gt;&lt;br /&gt;
    &amp;lt;questiontext&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;What&#039;s the minimum XML required for import?&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
    &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;This here!&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/quiz&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Moodle XML Minimum question.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Re-export ===&lt;br /&gt;
This is how the question looks after exporting it again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;quiz&amp;gt;&lt;br /&gt;
&amp;lt;!-- question: 35  --&amp;gt;&lt;br /&gt;
  &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;name&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;Minimum question&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/name&amp;gt;&lt;br /&gt;
    &amp;lt;questiontext format=&amp;quot;moodle_auto_format&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;What&#039;s the minimum XML required for import?&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
    &amp;lt;image&amp;gt;&amp;lt;/image&amp;gt;&lt;br /&gt;
    &amp;lt;generalfeedback&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/generalfeedback&amp;gt;&lt;br /&gt;
    &amp;lt;defaultgrade&amp;gt;1&amp;lt;/defaultgrade&amp;gt;&lt;br /&gt;
    &amp;lt;penalty&amp;gt;0.1&amp;lt;/penalty&amp;gt;&lt;br /&gt;
    &amp;lt;hidden&amp;gt;0&amp;lt;/hidden&amp;gt;&lt;br /&gt;
    &amp;lt;shuffleanswers&amp;gt;0&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
    &amp;lt;usecase&amp;gt;0&amp;lt;/usecase&amp;gt;&lt;br /&gt;
     &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;This here!&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;feedback&amp;gt;&lt;br /&gt;
        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;br /&gt;
      &amp;lt;/feedback&amp;gt;&lt;br /&gt;
    &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/quiz&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OpenOffice &amp;amp; XML ==&lt;br /&gt;
Some useful resources for using XML filters in OpenOffice for converting XML files:&lt;br /&gt;
&lt;br /&gt;
* [http://www.xml.com/pub/a/2005/01/26/hacking-ooo.html &amp;quot;Hacking Open Office &amp;quot;] by Peter Sefton&lt;br /&gt;
&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html &amp;quot;Use XSLT to expand OpenOffice&#039;s editing capabilities - Create import and output filters to edit your XML as rich text&amp;quot;] by Jonathan Levin (site requires free registration for full access) - [https://www6.software.ibm.com/developerworks/education/x-xsltopenoff/resources.html Resources]&lt;br /&gt;
&lt;br /&gt;
== Converting Moodle Glossary XML to Question XML ==&lt;br /&gt;
Moved to its own page: [[User:Frank Ralf/Converting Moodle glossary XML to question XML]]. --[[User:Frank Ralf|Frank Ralf]] 20:12, 24 November 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=XML_FAQ&amp;diff=114058</id>
		<title>XML FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=XML_FAQ&amp;diff=114058"/>
		<updated>2014-08-07T21:28:03Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: amended URL for Quedoc&amp;#039;s Moodle XML documentation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}(If you don&#039;t find the answer to your question here, just post the question. There might be someone out there to provide the answer.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML in general==&lt;br /&gt;
&lt;br /&gt;
===Where do I find general information about XML?===&lt;br /&gt;
* http://www.w3schools.com/xml/default.asp - A host of information and hands-on examples&lt;br /&gt;
*http://en.wikipedia.org/wiki/XML - A good starting point&lt;br /&gt;
&lt;br /&gt;
==Moodle XML==&lt;br /&gt;
&lt;br /&gt;
===Is there only one kind of Moodle XML?===&lt;br /&gt;
&lt;br /&gt;
No, there are (at least) two different kinds of Moodle XML:&lt;br /&gt;
# one for importing/exporting &#039;&#039;glossaries&#039;&#039; &lt;br /&gt;
# and one for &#039;&#039;questions&#039;&#039; (quizzes), the latter being the one usually referred to as &amp;quot;Moodle XML&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Then there is XML in the SCORM/IMS packages that Moodle can import and must be able to handle. These packages are educational content that has been marked up in a special way to be able to be used in compatible Learning Management Systems.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;course backup and restore&#039;&#039; process also generates an XML file (inside the zip file) that contains all the information about the course.&lt;br /&gt;
&lt;br /&gt;
===Where do I find documentation about Moodle XML?===&lt;br /&gt;
&lt;br /&gt;
* The official documentation: [[Moodle XML]]&lt;br /&gt;
* A more thorough documentation: [http://www.qedoc.org/index.php?title=Moodle_XML_format Moodle XML format] by Quedoc&lt;br /&gt;
: [http://www.qedoc.org/index.php?title=Problems_when_transferring_XML_format_into_Moodle Problems when transferring XML format into Moodle]&lt;br /&gt;
&lt;br /&gt;
* [[User:Frank Ralf/Moodle XML1]] (work in progress)&lt;br /&gt;
&lt;br /&gt;
==Tools==&lt;br /&gt;
&lt;br /&gt;
===Are there tools for converting to and from Moodle XML?===&lt;br /&gt;
* [http://vletools.com Moodle XML Converter] - allows to create XML from text files. Also can converse Moodle XML into text file. Supports quiz and glossary.&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=91224#p489764 Glossary to XML Converter]&lt;br /&gt;
:A simple HTML file which converts TSV data to XML using JavaScript&lt;br /&gt;
* Microsoft Office macros: http://finemetronome.com/moodle/&lt;br /&gt;
* OpenOffice XML filters (TBA see [[User:Frank_Ralf/Moodle_XML1#OpenOffice_.26_XML|User:Frank_Ralf/Moodle XML1 &amp;gt; OpenOffice &amp;amp; XML]] for some pointers)&lt;br /&gt;
&lt;br /&gt;
===How can I view and edit XML files?===&lt;br /&gt;
XML is just text so you can view and edit it with any text editor. However, this isn&#039;t very easy for anything more than a trivial file. There are a number of dedicated XML editors available for many platforms. If you only need to view the XML, most browsers are able to render XML files. Some even let you view the source text and do some basic editing.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
; Moodle Docs&lt;br /&gt;
* [[Import and export FAQ]]&lt;br /&gt;
&lt;br /&gt;
; Contributed modules and plugins&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=161367 DocBook Module to Parse DocBook XML]&lt;br /&gt;
&lt;br /&gt;
; Books&lt;br /&gt;
* [http://www.sitepoint.com/books/xml1/ No Nonsense XML Web Development With PHP] by Thomas Myer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:XML FAQ]]&lt;br /&gt;
[[es:XML FAQ]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=114057</id>
		<title>Moodle XML format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=114057"/>
		<updated>2014-08-07T21:26:44Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: amended URL for Quedoc&amp;#039;s Moodle XML documentation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Export questions}}&lt;br /&gt;
The XML Format is a Moodle-specific format for importing and exporting questions to be used with the [[Quiz module]]. The format has been developed within the Moodle Community but other software may support it to a greater or lesser degree.&lt;br /&gt;
&lt;br /&gt;
==A word about validity (and CDATA)==&lt;br /&gt;
&lt;br /&gt;
The XML parser assumes that the XML file is well formed and does not detect or report errors. If it is not you are very likely to get unexpected errors. If you are hand-coding the XML file it is strongly recommended that you pass it through some sort of XML verifier before importing into Moodle. A simple way to do this is to open the XML file using Firefox or Internet Explorer. &lt;br /&gt;
&lt;br /&gt;
Note particularly that embedded HTML fragments should be within [http://en.wikipedia.org/wiki/CDATA CDATA sections]. CDATA example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;questiontext format=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;text&amp;gt;&amp;lt;![CDATA[&lt;br /&gt;
              Now I can include &amp;lt;strong&amp;gt;any&amp;lt;/strong&amp;gt; HTML that I&amp;lt;br /&amp;gt;&lt;br /&gt;
              wish. Without the CDATA, the &amp;lt;i&amp;gt;HTML&amp;lt;/i&amp;gt; tags would break&lt;br /&gt;
              the XML!!&lt;br /&gt;
              ]]&amp;gt;&lt;br /&gt;
        &amp;lt;/text&amp;gt;&lt;br /&gt;
 &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Overall structure of XML file==&lt;br /&gt;
&lt;br /&gt;
The file is enclosed by tags as follows. It is &#039;&#039;&#039;important&#039;&#039;&#039; to make sure the xml-line is really the first line of the file. A blank first line turns your otherwise compliant file into a source of frustration. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;quiz&amp;gt;&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
&amp;lt;/quiz&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Within the &amp;lt;quiz&amp;gt; tags are any number of &amp;lt;question&amp;gt; tags. One of these &amp;lt;question&amp;gt; tags can be a dummy question with a &#039;&#039;category&#039;&#039; type to specify a category for the import/export. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question type=&amp;quot;category&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;category&amp;gt;&lt;br /&gt;
        &amp;lt;text&amp;gt;$course$/XXXX&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where XXXX is the new category name. If the category exists, the question(s) will be added to the existing course; otherwise a new category will be created. This only works if you have &amp;quot;Get category from file&amp;quot; checked.&lt;br /&gt;
&lt;br /&gt;
Multiple categories can be specified in the same file. Just add another dummy &#039;category&#039; question each time you would like to establish a new category and the questions that follow it will be placed there.&lt;br /&gt;
&lt;br /&gt;
The file must be encoded in [[UTF8]]&lt;br /&gt;
&lt;br /&gt;
Moodle XML import and export are balanced in functionality, so if you need to understand the format you can simply create some questions and export them to see what it looks like.&lt;br /&gt;
&lt;br /&gt;
==Tags common to all question types==&lt;br /&gt;
&lt;br /&gt;
A question is written as follows.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question type=&amp;quot;multichoice|truefalse|shortanswer|matching|cloze|essay|numerical|description&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;name&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;Name of question&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/name&amp;gt;&lt;br /&gt;
     &amp;lt;questiontext format=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;What is the answer to this question?&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Format&amp;quot; selects the [[Formatting options]] for the question text. The options are &#039;&#039;&#039;html&#039;&#039;&#039; (the default), &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039;, &#039;&#039;&#039;plain_text&#039;&#039;&#039; and &#039;&#039;&#039;markdown&#039;&#039;&#039;. The choice effects the way in which the text will be displayed. &lt;br /&gt;
&lt;br /&gt;
Further tags, which usually include at least one &amp;lt;answer&amp;gt; tag, follow in the space marked with dots as child nodes to the &amp;lt;question&amp;gt; tag. The response-related tags are listed further down on this page. Various (optional?) tags are possible. &lt;br /&gt;
&lt;br /&gt;
* tags (non-hierarchical keywords)&lt;br /&gt;
* penalty&lt;br /&gt;
* generalfeedback&lt;br /&gt;
* defaultgrade&lt;br /&gt;
* hidden&lt;br /&gt;
&lt;br /&gt;
Even though question tags (non-hierarchical keyowords) are not fully supported in the question engine, they can be imported and exported via XML. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question ...&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;tags&amp;gt;&lt;br /&gt;
    &amp;lt;tag&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;keyword1&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/tag&amp;gt;&lt;br /&gt;
    &amp;lt;tag&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;keyword2&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/tag&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/tags&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;image&amp;gt; tag contains the url of any included image. Nested within the &amp;lt;image&amp;gt; tag may be an &amp;lt;image_base64&amp;gt; tag which contains the actual image data encoded in base64 [http://www.php.net/manual/en/function.base64-encode.php].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In the following question type examples the common parts of the question are not shown to improve clarity. It&#039;s a good idea to export some examples yourself to see a full example.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Multiple choice==&lt;br /&gt;
&lt;br /&gt;
MC questions have one &amp;lt;answer&amp;gt; tag for each choice. Each choice can carry feedback and score weighting (by using the fraction attribute). In addition, an MC question has the following tags:&lt;br /&gt;
&lt;br /&gt;
* single &#039;&#039;(values: true/false)&#039;&#039;&lt;br /&gt;
* shuffleanswers &#039;&#039;(values: 1/0)&#039;&#039;&lt;br /&gt;
* correctfeedback &lt;br /&gt;
* partiallycorrectfeedback &lt;br /&gt;
* incorrectfeedback&lt;br /&gt;
* answernumbering (allowed values: &#039;none&#039;, &#039;abc&#039;, &#039;ABCD&#039; or &#039;123&#039;)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;single&amp;gt; tag is used to distinguish single response (radio button) and multiple response (checkbox) variants.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question type=&amp;quot;multichoice&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;A distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;Another distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;1&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
 &amp;lt;single&amp;gt;true&amp;lt;/single&amp;gt;&lt;br /&gt;
 &amp;lt;answernumbering&amp;gt;abc&amp;lt;/answernumbering&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== True/false ==&lt;br /&gt;
&lt;br /&gt;
Two answer tags are given, one which is true, and one which is false. The fraction attribute of the answer tag identifies which option is correct (100) and which is false (0). Feedback is supported. The following example shows the format when true is the correct answer and false is wrong.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;truefalse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;true&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;false&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Short answer  ==&lt;br /&gt;
&lt;br /&gt;
The short answer question type supports alternative correct responses, each with its own weighting and feedback.  The Moodle XML format uses one &amp;lt;answer&amp;gt; tag for each of the alternative correct answers.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;usecase&amp;gt; tag toggles case-sensitivity with the values 1/0. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;An alternative answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Numerical response ==&lt;br /&gt;
&lt;br /&gt;
The following is a simplified version of the Moodle XML format for numerical responses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;numerical&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;23&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Feedback&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Moodle also supports a &amp;lt;tolerance&amp;gt; tag (how accurate must the number be?) and one or more &amp;lt;unit&amp;gt; tags. Unit tags have names and multipliers. E.g. if the main answer is in kilometres, an additional answer could be the equivalent in metres with a multiplier of 1000.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the numerical question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Matching ==&lt;br /&gt;
&lt;br /&gt;
Pair matching responses use the &amp;lt;shuffleanswers&amp;gt; tag to determine whether the order of the items should be randomized.&lt;br /&gt;
Each pair is contained inside a &amp;lt;subquestion&amp;gt; tag. The first item of each pair is contained with a &amp;lt;text&amp;gt; tag, while the second has an &amp;lt;answer&amp;gt; tag around it as well. Feedback and score weighting is not supported by Moodle for this response type.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;matching&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;true&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Essay ==&lt;br /&gt;
&lt;br /&gt;
An example of the essay type question...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
  &amp;lt;question type=&amp;quot;essay&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/answer&amp;gt;&lt;br /&gt;
  &amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There isn&#039;t an answer and there isn&#039;t a grade in this case. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the essay question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Other question types ==&lt;br /&gt;
&lt;br /&gt;
=== Cloze ===&lt;br /&gt;
&lt;br /&gt;
It is supported, and depends on a special format for the &amp;lt;questiontext&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
=== Description response type===&lt;br /&gt;
&lt;br /&gt;
This response type has no further tags other than those contained in the question header (such as &amp;lt;questiontext&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Random matching ===&lt;br /&gt;
&lt;br /&gt;
Moodle has a question type which consists of taking short answer questions in the same quiz and displaying them as a pair matching exercise. However Moodle is neither able to export nor import this question type.&lt;br /&gt;
&lt;br /&gt;
==Text formats==&lt;br /&gt;
&lt;br /&gt;
Moodle XML files should explicity specify the text format (&#039;&#039;&#039;html&#039;&#039;&#039;, &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039;, &#039;&#039;&#039;plain_text&#039;&#039;&#039; and &#039;&#039;&#039;markdown&#039;&#039;&#039; - these correspond to the constants , FORMAT_HTML, FORMAT_MOODLE, etc used in the Moodle code) for each piece of content. Note that, by default, the format should be specified on the parent of the &amp;lt;text&amp;gt; element. This is slightly odd, but a remnant of history.&lt;br /&gt;
&lt;br /&gt;
If the format is not specified for the questiontext, then &#039;&#039;&#039;html&#039;&#039;&#039; is the default. If the format is not specified on any other part of the question, then the format of the questiontext is the default.&lt;br /&gt;
&lt;br /&gt;
(This default changed around November 2011. Before that, the default was &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039; whenever the format was not specified.)&lt;br /&gt;
&lt;br /&gt;
==Useful utilities==&lt;br /&gt;
*[http://vletools.com Online Moodle XML converter] Convert from existing text files glossaries and quizzes to Moodle XML format. Also can convert from Moodle XMl to text. &lt;br /&gt;
*[http://finemetronome.com/moodle/ Word Template for generating Moodle XML].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.qedoc.org/index.php?title=Moodle_XML_format Quedoc&#039;s Moodle XML documentation]&lt;br /&gt;
* [[User:Frank Ralf/Moodle XML1]] (work in progress)&lt;br /&gt;
*[[Aiken format]]&lt;br /&gt;
*[[XML FAQ]]&lt;br /&gt;
*[[Import and export FAQ]] &lt;br /&gt;
&lt;br /&gt;
[[ja:Moodle XMLフォーマット]]&lt;br /&gt;
[[de: Moodle XML-Format]]&lt;br /&gt;
[[fr:Format XML Moodle]]&lt;br /&gt;
[[es:Formato Moodle XML]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=114056</id>
		<title>Moodle XML format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=114056"/>
		<updated>2014-08-07T21:19:51Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Export questions}}&lt;br /&gt;
The XML Format is a Moodle-specific format for importing and exporting questions to be used with the [[Quiz module]]. The format has been developed within the Moodle Community but other software may support it to a greater or lesser degree.&lt;br /&gt;
&lt;br /&gt;
==A word about validity (and CDATA)==&lt;br /&gt;
&lt;br /&gt;
The XML parser assumes that the XML file is well formed and does not detect or report errors. If it is not you are very likely to get unexpected errors. If you are hand-coding the XML file it is strongly recommended that you pass it through some sort of XML verifier before importing into Moodle. A simple way to do this is to open the XML file using Firefox or Internet Explorer. &lt;br /&gt;
&lt;br /&gt;
Note particularly that embedded HTML fragments should be within [http://en.wikipedia.org/wiki/CDATA CDATA sections]. CDATA example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;questiontext format=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;text&amp;gt;&amp;lt;![CDATA[&lt;br /&gt;
              Now I can include &amp;lt;strong&amp;gt;any&amp;lt;/strong&amp;gt; HTML that I&amp;lt;br /&amp;gt;&lt;br /&gt;
              wish. Without the CDATA, the &amp;lt;i&amp;gt;HTML&amp;lt;/i&amp;gt; tags would break&lt;br /&gt;
              the XML!!&lt;br /&gt;
              ]]&amp;gt;&lt;br /&gt;
        &amp;lt;/text&amp;gt;&lt;br /&gt;
 &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Overall structure of XML file==&lt;br /&gt;
&lt;br /&gt;
The file is enclosed by tags as follows. It is &#039;&#039;&#039;important&#039;&#039;&#039; to make sure the xml-line is really the first line of the file. A blank first line turns your otherwise compliant file into a source of frustration. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;quiz&amp;gt;&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
&amp;lt;/quiz&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Within the &amp;lt;quiz&amp;gt; tags are any number of &amp;lt;question&amp;gt; tags. One of these &amp;lt;question&amp;gt; tags can be a dummy question with a &#039;&#039;category&#039;&#039; type to specify a category for the import/export. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question type=&amp;quot;category&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;category&amp;gt;&lt;br /&gt;
        &amp;lt;text&amp;gt;$course$/XXXX&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where XXXX is the new category name. If the category exists, the question(s) will be added to the existing course; otherwise a new category will be created. This only works if you have &amp;quot;Get category from file&amp;quot; checked.&lt;br /&gt;
&lt;br /&gt;
Multiple categories can be specified in the same file. Just add another dummy &#039;category&#039; question each time you would like to establish a new category and the questions that follow it will be placed there.&lt;br /&gt;
&lt;br /&gt;
The file must be encoded in [[UTF8]]&lt;br /&gt;
&lt;br /&gt;
Moodle XML import and export are balanced in functionality, so if you need to understand the format you can simply create some questions and export them to see what it looks like.&lt;br /&gt;
&lt;br /&gt;
==Tags common to all question types==&lt;br /&gt;
&lt;br /&gt;
A question is written as follows.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question type=&amp;quot;multichoice|truefalse|shortanswer|matching|cloze|essay|numerical|description&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;name&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;Name of question&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/name&amp;gt;&lt;br /&gt;
     &amp;lt;questiontext format=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;What is the answer to this question?&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Format&amp;quot; selects the [[Formatting options]] for the question text. The options are &#039;&#039;&#039;html&#039;&#039;&#039; (the default), &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039;, &#039;&#039;&#039;plain_text&#039;&#039;&#039; and &#039;&#039;&#039;markdown&#039;&#039;&#039;. The choice effects the way in which the text will be displayed. &lt;br /&gt;
&lt;br /&gt;
Further tags, which usually include at least one &amp;lt;answer&amp;gt; tag, follow in the space marked with dots as child nodes to the &amp;lt;question&amp;gt; tag. The response-related tags are listed further down on this page. Various (optional?) tags are possible. &lt;br /&gt;
&lt;br /&gt;
* tags (non-hierarchical keywords)&lt;br /&gt;
* penalty&lt;br /&gt;
* generalfeedback&lt;br /&gt;
* defaultgrade&lt;br /&gt;
* hidden&lt;br /&gt;
&lt;br /&gt;
Even though question tags (non-hierarchical keyowords) are not fully supported in the question engine, they can be imported and exported via XML. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question ...&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;tags&amp;gt;&lt;br /&gt;
    &amp;lt;tag&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;keyword1&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/tag&amp;gt;&lt;br /&gt;
    &amp;lt;tag&amp;gt;&lt;br /&gt;
      &amp;lt;text&amp;gt;keyword2&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/tag&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/tags&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;image&amp;gt; tag contains the url of any included image. Nested within the &amp;lt;image&amp;gt; tag may be an &amp;lt;image_base64&amp;gt; tag which contains the actual image data encoded in base64 [http://www.php.net/manual/en/function.base64-encode.php].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In the following question type examples the common parts of the question are not shown to improve clarity. It&#039;s a good idea to export some examples yourself to see a full example.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Multiple choice==&lt;br /&gt;
&lt;br /&gt;
MC questions have one &amp;lt;answer&amp;gt; tag for each choice. Each choice can carry feedback and score weighting (by using the fraction attribute). In addition, an MC question has the following tags:&lt;br /&gt;
&lt;br /&gt;
* single &#039;&#039;(values: true/false)&#039;&#039;&lt;br /&gt;
* shuffleanswers &#039;&#039;(values: 1/0)&#039;&#039;&lt;br /&gt;
* correctfeedback &lt;br /&gt;
* partiallycorrectfeedback &lt;br /&gt;
* incorrectfeedback&lt;br /&gt;
* answernumbering (allowed values: &#039;none&#039;, &#039;abc&#039;, &#039;ABCD&#039; or &#039;123&#039;)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;single&amp;gt; tag is used to distinguish single response (radio button) and multiple response (checkbox) variants.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;question type=&amp;quot;multichoice&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;A distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;Another distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;1&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
 &amp;lt;single&amp;gt;true&amp;lt;/single&amp;gt;&lt;br /&gt;
 &amp;lt;answernumbering&amp;gt;abc&amp;lt;/answernumbering&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== True/false ==&lt;br /&gt;
&lt;br /&gt;
Two answer tags are given, one which is true, and one which is false. The fraction attribute of the answer tag identifies which option is correct (100) and which is false (0). Feedback is supported. The following example shows the format when true is the correct answer and false is wrong.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;truefalse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;true&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;false&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Short answer  ==&lt;br /&gt;
&lt;br /&gt;
The short answer question type supports alternative correct responses, each with its own weighting and feedback.  The Moodle XML format uses one &amp;lt;answer&amp;gt; tag for each of the alternative correct answers.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;usecase&amp;gt; tag toggles case-sensitivity with the values 1/0. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;An alternative answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Numerical response ==&lt;br /&gt;
&lt;br /&gt;
The following is a simplified version of the Moodle XML format for numerical responses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;numerical&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;23&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Feedback&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Moodle also supports a &amp;lt;tolerance&amp;gt; tag (how accurate must the number be?) and one or more &amp;lt;unit&amp;gt; tags. Unit tags have names and multipliers. E.g. if the main answer is in kilometres, an additional answer could be the equivalent in metres with a multiplier of 1000.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the numerical question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Matching ==&lt;br /&gt;
&lt;br /&gt;
Pair matching responses use the &amp;lt;shuffleanswers&amp;gt; tag to determine whether the order of the items should be randomized.&lt;br /&gt;
Each pair is contained inside a &amp;lt;subquestion&amp;gt; tag. The first item of each pair is contained with a &amp;lt;text&amp;gt; tag, while the second has an &amp;lt;answer&amp;gt; tag around it as well. Feedback and score weighting is not supported by Moodle for this response type.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
 &amp;lt;question type=&amp;quot;matching&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;true&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Essay ==&lt;br /&gt;
&lt;br /&gt;
An example of the essay type question...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
  &amp;lt;question type=&amp;quot;essay&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/answer&amp;gt;&lt;br /&gt;
  &amp;lt;/question&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There isn&#039;t an answer and there isn&#039;t a grade in this case. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the essay question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Other question types ==&lt;br /&gt;
&lt;br /&gt;
=== Cloze ===&lt;br /&gt;
&lt;br /&gt;
It is supported, and depends on a special format for the &amp;lt;questiontext&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
=== Description response type===&lt;br /&gt;
&lt;br /&gt;
This response type has no further tags other than those contained in the question header (such as &amp;lt;questiontext&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Random matching ===&lt;br /&gt;
&lt;br /&gt;
Moodle has a question type which consists of taking short answer questions in the same quiz and displaying them as a pair matching exercise. However Moodle is neither able to export nor import this question type.&lt;br /&gt;
&lt;br /&gt;
==Text formats==&lt;br /&gt;
&lt;br /&gt;
Moodle XML files should explicity specify the text format (&#039;&#039;&#039;html&#039;&#039;&#039;, &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039;, &#039;&#039;&#039;plain_text&#039;&#039;&#039; and &#039;&#039;&#039;markdown&#039;&#039;&#039; - these correspond to the constants , FORMAT_HTML, FORMAT_MOODLE, etc used in the Moodle code) for each piece of content. Note that, by default, the format should be specified on the parent of the &amp;lt;text&amp;gt; element. This is slightly odd, but a remnant of history.&lt;br /&gt;
&lt;br /&gt;
If the format is not specified for the questiontext, then &#039;&#039;&#039;html&#039;&#039;&#039; is the default. If the format is not specified on any other part of the question, then the format of the questiontext is the default.&lt;br /&gt;
&lt;br /&gt;
(This default changed around November 2011. Before that, the default was &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039; whenever the format was not specified.)&lt;br /&gt;
&lt;br /&gt;
==Useful utilities==&lt;br /&gt;
*[http://vletools.com Online Moodle XML converter] Convert from existing text files glossaries and quizzes to Moodle XML format. Also can convert from Moodle XMl to text. &lt;br /&gt;
*[http://finemetronome.com/moodle/ Word Template for generating Moodle XML].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.qedoc.org/en/index.php?title=Moodle_XML_format Quedoc&#039;s Moodle XML documentation]&lt;br /&gt;
* [[User:Frank Ralf/Moodle XML1]] (work in progress)&lt;br /&gt;
*[[Aiken format]]&lt;br /&gt;
*[[XML FAQ]]&lt;br /&gt;
*[[Import and export FAQ]] &lt;br /&gt;
&lt;br /&gt;
[[ja:Moodle XMLフォーマット]]&lt;br /&gt;
[[de: Moodle XML-Format]]&lt;br /&gt;
[[fr:Format XML Moodle]]&lt;br /&gt;
[[es:Formato Moodle XML]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=XML_FAQ&amp;diff=106899</id>
		<title>XML FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=XML_FAQ&amp;diff=106899"/>
		<updated>2013-10-15T14:56:07Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Is there only one kind of Moodle XML? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}(If you don&#039;t find the answer to your question here, just post the question. There might be someone out there to provide the answer.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==XML in general==&lt;br /&gt;
&lt;br /&gt;
===Where do I find general information about XML?===&lt;br /&gt;
* http://www.w3schools.com/xml/default.asp - A host of information and hands-on examples&lt;br /&gt;
*http://en.wikipedia.org/wiki/XML - A good starting point&lt;br /&gt;
&lt;br /&gt;
==Moodle XML==&lt;br /&gt;
&lt;br /&gt;
===Is there only one kind of Moodle XML?===&lt;br /&gt;
&lt;br /&gt;
No, there are (at least) two different kinds of Moodle XML:&lt;br /&gt;
# one for importing/exporting &#039;&#039;glossaries&#039;&#039; &lt;br /&gt;
# and one for &#039;&#039;questions&#039;&#039; (quizzes), the latter being the one usually referred to as &amp;quot;Moodle XML&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Then there is XML in the SCORM/IMS packages that Moodle can import and must be able to handle. These packages are educational content that has been marked up in a special way to be able to be used in compatible Learning Management Systems.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;course backup and restore&#039;&#039; process also generates an XML file (inside the zip file) that contains all the information about the course.&lt;br /&gt;
&lt;br /&gt;
===Where do I find documentation about Moodle XML?===&lt;br /&gt;
&lt;br /&gt;
* The official documentation: [[Moodle XML]]&lt;br /&gt;
* A more thorough documentation: [http://www.qedoc.org/en/index.php?title=Moodle_XML_format Moodle XML format] by Quedoc&lt;br /&gt;
: [http://www.qedoc.org/en/index.php?title=Problems_when_transferring_XML_format_into_Moodle Problems when transferring XML format into Moodle]&lt;br /&gt;
&lt;br /&gt;
* [[User:Frank Ralf/Moodle XML1]] (work in progress)&lt;br /&gt;
&lt;br /&gt;
==Tools==&lt;br /&gt;
&lt;br /&gt;
===Are there tools for converting to and from Moodle XML?===&lt;br /&gt;
* [http://vletools.com Moodle XML Converter] - allows to create XML from text files. Also can converse Moodle XML into text file. Supports quiz and glossary.&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=91224#p489764 Glossary to XML Converter]&lt;br /&gt;
:A simple HTML file which converts TSV data to XML using JavaScript&lt;br /&gt;
* Microsoft Office macros: http://finemetronome.com/moodle/&lt;br /&gt;
* OpenOffice XML filters (TBA see [[User:Frank_Ralf/Moodle_XML1#OpenOffice_.26_XML|User:Frank_Ralf/Moodle XML1 &amp;gt; OpenOffice &amp;amp; XML]] for some pointers)&lt;br /&gt;
&lt;br /&gt;
===How can I view and edit XML files?===&lt;br /&gt;
XML is just text so you can view and edit it with any text editor. However, this isn&#039;t very easy for anything more than a trivial file. There are a number of dedicated XML editors available for many platforms. If you only need to view the XML, most browsers are able to render XML files. Some even let you view the source text and do some basic editing.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
; Moodle Docs&lt;br /&gt;
* [[Import and export FAQ]]&lt;br /&gt;
&lt;br /&gt;
; Contributed modules and plugins&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=161367 DocBook Module to Parse DocBook XML]&lt;br /&gt;
&lt;br /&gt;
; Books&lt;br /&gt;
* [http://www.sitepoint.com/books/xml1/ No Nonsense XML Web Development With PHP] by Thomas Myer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:XML FAQ]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93466</id>
		<title>User:Frank Ralf/jQuery</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93466"/>
		<updated>2011-11-06T16:04:54Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Collapsible course list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some examples and proof of concept for using jQuery for enhancing Moodle usability.&lt;br /&gt;
&lt;br /&gt;
You can try those code snippets without changing your Moodle installation by using the [[Firebug]] extension [http://firequery.binaryage.com/ FireQuery].&lt;br /&gt;
&lt;br /&gt;
== Collapsible course list ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code javascript&amp;gt;&lt;br /&gt;
jQuery(&#039;.section h3&#039;).wrapInner(&#039;&amp;lt;a href=&amp;quot;#&amp;quot; /&amp;gt;&#039;)  // make the heading clickable&lt;br /&gt;
  .click( function(event) {&lt;br /&gt;
    event.preventDefault();&lt;br /&gt;
    jQuery(this).parent().find(&#039;ul.section&#039;).toggle();  // toggle the content of the section&lt;br /&gt;
})&lt;br /&gt;
jQuery(&#039;ul.section&#039;).hide();   // hide by default&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93465</id>
		<title>User:Frank Ralf/jQuery</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93465"/>
		<updated>2011-11-06T16:02:38Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some examples and proof of concept for using jQuery for enhancing Moodle usability.&lt;br /&gt;
&lt;br /&gt;
You can try those code snippets without changing your Moodle installation by using the [[Firebug]] extension [http://firequery.binaryage.com/ FireQuery].&lt;br /&gt;
&lt;br /&gt;
== Collapsible course list ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code javascript&amp;gt;&lt;br /&gt;
jQuery(&#039;.section h3&#039;).wrapInner(&#039;&amp;lt;a href=&amp;quot;#&amp;quot; /&amp;gt;&#039;)&lt;br /&gt;
  .click( function(event) {&lt;br /&gt;
    event.preventDefault();&lt;br /&gt;
    jQuery(this).parent().find(&#039;ul.section&#039;).toggle();&lt;br /&gt;
})&lt;br /&gt;
jQuery(&#039;ul.section&#039;).hide();&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93464</id>
		<title>User:Frank Ralf/jQuery</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93464"/>
		<updated>2011-11-06T16:00:58Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Collapsible course list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some examples and proof of concept for using jQuery for enhancing Moodle usability.&lt;br /&gt;
&lt;br /&gt;
== Collapsible course list ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code javascript&amp;gt;&lt;br /&gt;
jQuery(&#039;.section h3&#039;).wrapInner(&#039;&amp;lt;a href=&amp;quot;#&amp;quot; /&amp;gt;&#039;)&lt;br /&gt;
  .click( function(event) {&lt;br /&gt;
    event.preventDefault();&lt;br /&gt;
    jQuery(this).parent().find(&#039;ul.section&#039;).toggle();&lt;br /&gt;
})&lt;br /&gt;
jQuery(&#039;ul.section&#039;).hide();&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93463</id>
		<title>User:Frank Ralf/jQuery</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93463"/>
		<updated>2011-11-06T16:00:08Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Collapsible course list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some examples and proof of concept for using jQuery for enhancing Moodle usability.&lt;br /&gt;
&lt;br /&gt;
== Collapsible course list ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
jQuery(&#039;.section h3&#039;).wrapInner(&#039;&amp;lt;a href=&amp;quot;#&amp;quot; /&amp;gt;&#039;)&lt;br /&gt;
  .click( function(event) {&lt;br /&gt;
    event.preventDefault();&lt;br /&gt;
    jQuery(this).parent().find(&#039;ul.section&#039;).toggle();&lt;br /&gt;
})&lt;br /&gt;
jQuery(&#039;ul.section&#039;).hide();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93462</id>
		<title>User:Frank Ralf/jQuery</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/jQuery&amp;diff=93462"/>
		<updated>2011-11-06T15:59:40Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: Created page with &amp;quot;Some examples and proof of concept for using jQuery for enhancing Moodle usability.  == Collapsible course list ==  &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; jQuery(&amp;#039;.section h3&amp;#039;).wrap...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some examples and proof of concept for using jQuery for enhancing Moodle usability.&lt;br /&gt;
&lt;br /&gt;
== Collapsible course list ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
jQuery(&#039;.section h3&#039;).wrapInner(&#039;&amp;lt;a href=&amp;quot;#&amp;quot; /&amp;gt;&#039;)&lt;br /&gt;
  .click( function(event) {&lt;br /&gt;
    event.preventDefault();&lt;br /&gt;
    jQuery(this).parent().find(&#039;ul.section&#039;).toggle();&lt;br /&gt;
})&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
jQuery(&#039;ul.section&#039;).hide();&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=93461</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=93461"/>
		<updated>2011-11-06T15:50:36Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|&lt;br /&gt;
Due to the cloning of Moodle Docs there might be copies of these pages on [https://docs.moodle.org/19/en/User:Frank_Ralf Moodle 1.9 Docs] and [https://docs.moodle.org/dev/User:Frank_Ralf Moodle Dev Docs]. I intend to keep this pages here up to date.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 23:49, 6 November 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started upgrading the [http://drupal.org/node/1058838 Moodle Integration] module for Drupal. --[[User:Frank Ralf|Frank Ralf]] 19:44, 29 August 2011 (WST)&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== NanoGong ===&lt;br /&gt;
* cloned &amp;amp; archived: https://docs.moodle.org/dev/User:Frank_Ralf/NanoGong&lt;br /&gt;
* current: [[/NanoGong]]&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Moodle Docs stuff ==&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=93460</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=93460"/>
		<updated>2011-11-06T15:49:25Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|&lt;br /&gt;
Due to the cloning of Moodle Docs there might be copies of these pages on Moodle 1.9 Docs and Moodle Dev Docs. I intend to keep this pages here up to date.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 23:49, 6 November 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started upgrading the [http://drupal.org/node/1058838 Moodle Integration] module for Drupal. --[[User:Frank Ralf|Frank Ralf]] 19:44, 29 August 2011 (WST)&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== NanoGong ===&lt;br /&gt;
* cloned &amp;amp; archived: https://docs.moodle.org/dev/User:Frank_Ralf/NanoGong&lt;br /&gt;
* current: [[/NanoGong]]&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Moodle Docs stuff ==&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Git_for_Administrators&amp;diff=93404</id>
		<title>Git for Administrators</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Git_for_Administrators&amp;diff=93404"/>
		<updated>2011-11-03T17:53:40Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An alternative way to maintaining your Moodle server via [[CVS for Administrators|CVS]] is using Git. This page describes how to maintain a copy of Moodle on your production server which can easily be upgraded using Git. If you have customisations of Moodle core code, you are advised to follow the instructions in the [[Development:Quick Git start guide for Moodle development|Quick Git start guide for Moodle development]].&lt;br /&gt;
&lt;br /&gt;
== Obtaining the code from Git ==&lt;br /&gt;
&lt;br /&gt;
You can find the official Moodle git repository at git://git.moodle.org/moodle.git (with an official clone at git://github.com/moodle/moodle.git). To initialize your local checkout, use&lt;br /&gt;
&lt;br /&gt;
    git clone git://git.moodle.org/moodle.git                       (1)&lt;br /&gt;
    cd moodle&lt;br /&gt;
    git branch -a                                                   (2)&lt;br /&gt;
    git branch --track local_21_STABLE origin/MOODLE_21_STABLE      (3)&lt;br /&gt;
    git checkout local_21_STABLE                                    (4)&lt;br /&gt;
&lt;br /&gt;
* The command (1) initializes the new local repository as a clone of the upstream moodle.git repository, known as the &#039;&#039;origin&#039;&#039; remote repository by default. It creates a new directory named &#039;&#039;moodle&#039;&#039;, where it downloads all the files. This operation can take a while.&lt;br /&gt;
* The command (2) lists all available branches.&lt;br /&gt;
* Use the command (3) to create a new local branch called local_21_STABLE and set it to track the branch MOODLE_21_STABLE from the upstream repository.&lt;br /&gt;
* The command (4) actually switches to the newly created local branch. Note that the last two lines can be replaced with&lt;br /&gt;
&lt;br /&gt;
    git checkout -b --track local_21_STABLE origin/MOODLE_21_STABLE         (3 + 4)&lt;br /&gt;
&lt;br /&gt;
that creates a new local tracking branch and switches to it immediately.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;master&#039;&#039; local branch, automatically created by git-clone, can then be deleted with the command&lt;br /&gt;
&lt;br /&gt;
    git branch -d master&lt;br /&gt;
&lt;br /&gt;
== Updating your installation ==&lt;br /&gt;
&lt;br /&gt;
The Moodle development team performs integration and testing of fixed bugs every Monday and Tuesday. On Wednesday you can install all patches by updating your code. Check the [http://git.moodle.org/gw?p=moodle.git;a=summary shortlog] to see if the official repository has been already updated or not.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    git fetch                                                       (1)&lt;br /&gt;
    git status                                                      (2)&lt;br /&gt;
    git merge                                                       (3)&lt;br /&gt;
&lt;br /&gt;
The command (1) downloads new updates from the remote repository without touching your local checkout. The command (2) displays the information about the eventual drift between you local version and the upstream one. The command (3) actually modifies your local files with the updates. The git-fetch + git-merge couple can be replaced with a single command&lt;br /&gt;
&lt;br /&gt;
    git pull                                                        (1 + 3)&lt;br /&gt;
&lt;br /&gt;
== Installing a contributed extension from its Git repository ==&lt;br /&gt;
&lt;br /&gt;
For example, let us say we want to install the [[Book module]] form its Git repository into our Moodle 2.0.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    cd mod                                                          (1)&lt;br /&gt;
    git clone git://github.com/skodak/moodle-mod_book.git book      (2)&lt;br /&gt;
    cd book&lt;br /&gt;
    git checkout -b MOODLE_20_STABLE origin/MOODLE_20_STABLE        (3)&lt;br /&gt;
    git branch -d master                                            (4)&lt;br /&gt;
&lt;br /&gt;
The command (1) changes the current directory into the &#039;&#039;mod&#039;&#039; folder of your local Moodle clone. The command (2) creates a new subdirectory &#039;&#039;book&#039;&#039; and makes a local clone of Petr Škoda&#039;s vanilla Book repository. The command (3) creates a new local branch that will track the remote branch with a Book version for Moodle 2.0. The command (4) deletes the &#039;&#039;master&#039;&#039; that was created automatically by git-clone in (2) as we do not want it in this production checkout.&lt;br /&gt;
&lt;br /&gt;
Now it is wise to put the new directory mod/book/ to the list of ignored files of the main Moodle clone.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    echo /mod/book/ &amp;gt;&amp;gt; .git/info/exclude&lt;br /&gt;
&lt;br /&gt;
To update your Moodle installation now, you must visit both Git repositories and pull changes from upstream.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    git pull&lt;br /&gt;
    cd /path/to/your/moodle/checkout/mod/book&lt;br /&gt;
    git pull&lt;br /&gt;
&lt;br /&gt;
Writing a shell script with these lines in the root of Moodle installation is a very good idea. Otherwise it is easy to forget what Git repositories are there within the main Moodle repository.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
; Moodle Docs&lt;br /&gt;
* [[Git FAQ]]&lt;br /&gt;
* [[CVS for Administrators]]&lt;br /&gt;
* [[Moodle versions]]&lt;br /&gt;
* For some screenshots see [[User:Frank_Ralf/Git]] (still work in progress)&lt;br /&gt;
&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=183693 Git and CVS]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[ja:管理者用Git]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=88775</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=88775"/>
		<updated>2011-08-29T11:44:10Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Drupal integration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started upgrading the [http://drupal.org/node/1058838 Moodle Integration] module for Drupal. --[[User:Frank Ralf|Frank Ralf]] 19:44, 29 August 2011 (WST)&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== NanoGong ===&lt;br /&gt;
* cloned &amp;amp; archived: https://docs.moodle.org/dev/User:Frank_Ralf/NanoGong&lt;br /&gt;
* current: [[/NanoGong]]&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Moodle Docs stuff ==&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Git_for_Administrators&amp;diff=88245</id>
		<title>Git for Administrators</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Git_for_Administrators&amp;diff=88245"/>
		<updated>2011-08-22T17:50:47Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An alternative way to maintaining your Moodle server via [[CVS for Administrators|CVS]] is using Git. This page describes how to maintain a copy of Moodle on your production server which can easily be upgraded using Git. If you have customisations of Moodle core code, you are advised to follow the instructions in the [[Development:Quick Git start guide for Moodle development|Quick Git start guide for Moodle development]].&lt;br /&gt;
&lt;br /&gt;
== Obtaining the code from Git ==&lt;br /&gt;
&lt;br /&gt;
You can find the official Moodle git repository at git://git.moodle.org/moodle.git (with an official clone at git://github.com/moodle/moodle.git). To initialize your local checkout, use&lt;br /&gt;
&lt;br /&gt;
    git clone git://git.moodle.org/moodle.git                       (1)&lt;br /&gt;
    cd moodle&lt;br /&gt;
    git branch -a                                                   (2)&lt;br /&gt;
    git branch --track local_19_STABLE origin/MOODLE_19_STABLE      (3)&lt;br /&gt;
    git checkout local_19_STABLE                                    (4)&lt;br /&gt;
&lt;br /&gt;
The command (1) initializes the new local repository as a clone of the upstream moodle.git repository. By default, this upstream repository will be known as &#039;origin&#039; remote repository. The command (2) lists all available branches. Use the command (3) to create a new local branch called local_19_STABLE and set it to track the branch MOODLE_19_STABLE from the upstream repository. The command (4) actually switches to the newly created local branch. Note that the last two lines can be replaced with&lt;br /&gt;
&lt;br /&gt;
    git checkout -b local_19_STABLE origin/MOODLE_19_STABLE         (3 + 4)&lt;br /&gt;
&lt;br /&gt;
that creates a new local tracking branches and switches to it immediately.&lt;br /&gt;
&lt;br /&gt;
== Updating your installation ==&lt;br /&gt;
&lt;br /&gt;
The Moodle development team performs integration and testing of fixed bugs every Monday and Tuesday. On Wednesday you can install all patches by updating your code. Check the [http://git.moodle.org/gw?p=moodle.git;a=summary shortlog] to see if the official repository has been already updated or not.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    git fetch                                                       (1)&lt;br /&gt;
    git status                                                      (2)&lt;br /&gt;
    git merge                                                       (3)&lt;br /&gt;
&lt;br /&gt;
The command (1) downloads new updates from the remote repository without touching your local checkout. The command (2) displays the information about the eventual drift between you local version and the upstream one. The command (3) actually modifies your local files with the updates. The git-fetch + git-merge couple can be replaced with a single command&lt;br /&gt;
&lt;br /&gt;
    git pull                                                        (1 + 3)&lt;br /&gt;
&lt;br /&gt;
== Installing a contributed extension from its Git repository ==&lt;br /&gt;
&lt;br /&gt;
For example, let us say we want to install the [[Book module]] form its Git repository into our Moodle 2.0.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    cd mod                                                          (1)&lt;br /&gt;
    git clone git://github.com/skodak/moodle-mod_book.git book      (2)&lt;br /&gt;
    cd book&lt;br /&gt;
    git checkout -b MOODLE_20_STABLE origin/MOODLE_20_STABLE        (3)&lt;br /&gt;
    git branch -d master                                            (4)&lt;br /&gt;
&lt;br /&gt;
The command (1) changes the current directory into the &#039;&#039;mod&#039;&#039; folder of your local Moodle clone. The command (2) creates a new subdirectory &#039;&#039;book&#039;&#039; and makes a local clone of Petr Škoda&#039;s vanilla Book repository. The command (3) creates a new local branch that will track the remote branch with a Book version for Moodle 2.0. The command (4) deletes the &#039;&#039;master&#039;&#039; that was created automatically by git-clone in (2) as we do not want it in this production checkout.&lt;br /&gt;
&lt;br /&gt;
Now it is wise to put the new directory mod/book/ to the list of ignored files of the main Moodle clone.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    echo /mod/book/ &amp;gt;&amp;gt; .git/info/exclude&lt;br /&gt;
&lt;br /&gt;
To update your Moodle installation now, you must visit both Git repositories and pull changes from upstream.&lt;br /&gt;
&lt;br /&gt;
    cd /path/to/your/moodle/checkout&lt;br /&gt;
    git pull&lt;br /&gt;
    cd /path/to/your/moodle/checkout/mod/book&lt;br /&gt;
    git pull&lt;br /&gt;
&lt;br /&gt;
Writing a shell script with these lines in the root of Moodle installation is a very good idea. Otherwise it is easy to forget what Git repositories are there within the main Moodle repository.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
; Moodle Docs&lt;br /&gt;
* [[CVS for Administrators]]&lt;br /&gt;
* [[Moodle versions]]&lt;br /&gt;
* For some screenshots see [[User:Frank_Ralf/Git]] (still work in progress)&lt;br /&gt;
&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=183693 Git and CVS]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87829</id>
		<title>User:Frank Ralf/NanoGong/1.9</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87829"/>
		<updated>2011-08-15T19:40:17Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* POST message */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NanoGong for Moodle 1.9 also needs some updating.&lt;br /&gt;
&lt;br /&gt;
== build_navigation() ==&lt;br /&gt;
Navigation needs to be updated to use build_navigation()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 print_header() was sent a string as 3rd (-&amp;gt; NanoGongs -&amp;gt; NanoGong) parameter. &lt;br /&gt;
 This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.&lt;br /&gt;
 &lt;br /&gt;
 * line 2539 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
 * line 3759 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 37 of theme\standard\header.html: call to print_navigation()&lt;br /&gt;
 * line 2765 of lib\weblib.php: call to include()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
See [[lib/weblib.php#function_build_navigation]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
* [[Navigation 2.0]]&lt;br /&gt;
* [[Navigation 2.0 implementation plan]]&lt;br /&gt;
&lt;br /&gt;
== $cm ==&lt;br /&gt;
 The field $cm-&amp;gt;modname should be set if you call build_navigation with a $cm parameter. &lt;br /&gt;
 If you get $cm  using &#039;&#039;get_coursemodule_from_instance&#039;&#039; or &#039;&#039;&#039;get_coursemodule_from_id&#039;&#039;&#039;, &lt;br /&gt;
 this will be done automatically.&lt;br /&gt;
 &lt;br /&gt;
 * line 3894 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 59 of mod\nanogong\view.php: call to build_navigation()&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;No sound has been submitted for the message.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Error message ===&lt;br /&gt;
 No sound has been submitted for the message.&lt;br /&gt;
 &lt;br /&gt;
 Stack trace:&lt;br /&gt;
 &lt;br /&gt;
 * line 1664 of lib\deprecatedlib.php: call to debugging()&lt;br /&gt;
 * line 88 of mod\nanogong\view.php: call to error()&lt;br /&gt;
&lt;br /&gt;
=== That&#039;s how it should look like ===&lt;br /&gt;
[[File:NanoGong Test1.png]]&lt;br /&gt;
http://gong.ust.hk/moodle/mod/nanogong/view.php?id=32&lt;br /&gt;
&lt;br /&gt;
=== POST message ===&lt;br /&gt;
&lt;br /&gt;
; correct&lt;br /&gt;
 POST /moodle/mod/nanogong/view.php?id=32&amp;amp;messageid=&amp;amp;action=new &lt;br /&gt;
 title=testen&amp;amp;message=&lt;br /&gt;
 &amp;amp;path=%2F2%2Fmoddata%2Fnanogong%2F4999%2F2011-08-16_030503.spx&lt;br /&gt;
 &amp;amp;action=submit&lt;br /&gt;
http://gong.ust.hk/moodle/mod/nanogong/view.php?id=32&lt;br /&gt;
&lt;br /&gt;
; wrong&lt;br /&gt;
 POST /moodle19_git/moodle/mod/nanogong/view.php?id=61 &lt;br /&gt;
 title=Test3&amp;amp;message=&amp;amp;path=&amp;amp;action=submit&lt;br /&gt;
http://localhost/moodle19_git/moodle/mod/nanogong/view.php?id=61&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
Plugin page&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1209&lt;br /&gt;
&lt;br /&gt;
See the following forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=135714 won&#039;t start recording]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=136848 Nanogong bug?]&lt;br /&gt;
&lt;br /&gt;
== Github repository ==&lt;br /&gt;
The current code is available at https://github.com/nakohdo/moodle-mod_nanogong&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker] &lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 1.9|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87828</id>
		<title>User:Frank Ralf/NanoGong/1.9</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87828"/>
		<updated>2011-08-15T19:28:31Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NanoGong for Moodle 1.9 also needs some updating.&lt;br /&gt;
&lt;br /&gt;
== build_navigation() ==&lt;br /&gt;
Navigation needs to be updated to use build_navigation()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 print_header() was sent a string as 3rd (-&amp;gt; NanoGongs -&amp;gt; NanoGong) parameter. &lt;br /&gt;
 This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.&lt;br /&gt;
 &lt;br /&gt;
 * line 2539 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
 * line 3759 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 37 of theme\standard\header.html: call to print_navigation()&lt;br /&gt;
 * line 2765 of lib\weblib.php: call to include()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
See [[lib/weblib.php#function_build_navigation]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
* [[Navigation 2.0]]&lt;br /&gt;
* [[Navigation 2.0 implementation plan]]&lt;br /&gt;
&lt;br /&gt;
== $cm ==&lt;br /&gt;
 The field $cm-&amp;gt;modname should be set if you call build_navigation with a $cm parameter. &lt;br /&gt;
 If you get $cm  using &#039;&#039;get_coursemodule_from_instance&#039;&#039; or &#039;&#039;&#039;get_coursemodule_from_id&#039;&#039;&#039;, &lt;br /&gt;
 this will be done automatically.&lt;br /&gt;
 &lt;br /&gt;
 * line 3894 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 59 of mod\nanogong\view.php: call to build_navigation()&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;No sound has been submitted for the message.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Error message ===&lt;br /&gt;
 No sound has been submitted for the message.&lt;br /&gt;
 &lt;br /&gt;
 Stack trace:&lt;br /&gt;
 &lt;br /&gt;
 * line 1664 of lib\deprecatedlib.php: call to debugging()&lt;br /&gt;
 * line 88 of mod\nanogong\view.php: call to error()&lt;br /&gt;
&lt;br /&gt;
=== That&#039;s how it should look like ===&lt;br /&gt;
[[File:NanoGong Test1.png]]&lt;br /&gt;
http://gong.ust.hk/moodle/mod/nanogong/view.php?id=32&lt;br /&gt;
&lt;br /&gt;
=== POST message ===&lt;br /&gt;
&lt;br /&gt;
; correct&lt;br /&gt;
 POST /moodle/mod/nanogong/view.php?id=32&amp;amp;messageid=&amp;amp;action=new title=testen&amp;amp;message=&amp;amp;path=%2F2%2Fmoddata%2Fnanogong%2F4999%2F2011-08-16_030503.spx&amp;amp;action=submit&lt;br /&gt;
http://gong.ust.hk/moodle/mod/nanogong/view.php?id=32&lt;br /&gt;
&lt;br /&gt;
; wrong&lt;br /&gt;
 POST /moodle19_git/moodle/mod/nanogong/view.php?id=61 title=Test3&amp;amp;message=&amp;amp;path=&amp;amp;action=submit&lt;br /&gt;
http://localhost/moodle19_git/moodle/mod/nanogong/view.php?id=61&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
Plugin page&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1209&lt;br /&gt;
&lt;br /&gt;
See the following forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=135714 won&#039;t start recording]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=136848 Nanogong bug?]&lt;br /&gt;
&lt;br /&gt;
== Github repository ==&lt;br /&gt;
The current code is available at https://github.com/nakohdo/moodle-mod_nanogong&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker] &lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 1.9|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87817</id>
		<title>User:Frank Ralf/NanoGong/1.9</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87817"/>
		<updated>2011-08-15T18:02:18Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NanoGong for Moodle 1.9 also needs some updating.&lt;br /&gt;
&lt;br /&gt;
== build_navigation() ==&lt;br /&gt;
Navigation needs to be updated to use build_navigation()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 print_header() was sent a string as 3rd (-&amp;gt; NanoGongs -&amp;gt; NanoGong) parameter. &lt;br /&gt;
 This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.&lt;br /&gt;
 &lt;br /&gt;
 * line 2539 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
 * line 3759 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 37 of theme\standard\header.html: call to print_navigation()&lt;br /&gt;
 * line 2765 of lib\weblib.php: call to include()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
See [[lib/weblib.php#function_build_navigation]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
* [[Navigation 2.0]]&lt;br /&gt;
* [[Navigation 2.0 implementation plan]]&lt;br /&gt;
&lt;br /&gt;
== $cm ==&lt;br /&gt;
 The field $cm-&amp;gt;modname should be set if you call build_navigation with a $cm parameter. &lt;br /&gt;
 If you get $cm  using &#039;&#039;get_coursemodule_from_instance&#039;&#039; or &#039;&#039;&#039;get_coursemodule_from_id&#039;&#039;&#039;, &lt;br /&gt;
 this will be done automatically.&lt;br /&gt;
 &lt;br /&gt;
 * line 3894 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 59 of mod\nanogong\view.php: call to build_navigation()&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;No sound has been submitted for the message.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Error message ===&lt;br /&gt;
 No sound has been submitted for the message.&lt;br /&gt;
 &lt;br /&gt;
 Stack trace:&lt;br /&gt;
 &lt;br /&gt;
 * line 1664 of lib\deprecatedlib.php: call to debugging()&lt;br /&gt;
 * line 88 of mod\nanogong\view.php: call to error()&lt;br /&gt;
&lt;br /&gt;
=== That&#039;s how it should look like ===&lt;br /&gt;
[[File:NanoGong Test1.png]]&lt;br /&gt;
http://gong.ust.hk/moodle/mod/nanogong/view.php?id=32&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
Plugin page&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1209&lt;br /&gt;
&lt;br /&gt;
See the following forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=135714 won&#039;t start recording]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=136848 Nanogong bug?]&lt;br /&gt;
&lt;br /&gt;
== Github repository ==&lt;br /&gt;
The current code is available at https://github.com/nakohdo/moodle-mod_nanogong&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker] &lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 1.9|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87816</id>
		<title>User:Frank Ralf/NanoGong/1.9</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87816"/>
		<updated>2011-08-15T17:42:37Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Error message */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NanoGong for Moodle 1.9 also needs some updating.&lt;br /&gt;
&lt;br /&gt;
== build_navigation() ==&lt;br /&gt;
Navigation needs to be updated to use build_navigation()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 print_header() was sent a string as 3rd (-&amp;gt; NanoGongs -&amp;gt; NanoGong) parameter. &lt;br /&gt;
 This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.&lt;br /&gt;
 &lt;br /&gt;
 * line 2539 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
 * line 3759 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 37 of theme\standard\header.html: call to print_navigation()&lt;br /&gt;
 * line 2765 of lib\weblib.php: call to include()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
See [[lib/weblib.php#function_build_navigation]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
* [[Navigation 2.0]]&lt;br /&gt;
* [[Navigation 2.0 implementation plan]]&lt;br /&gt;
&lt;br /&gt;
== $cm ==&lt;br /&gt;
 The field $cm-&amp;gt;modname should be set if you call build_navigation with a $cm parameter. &lt;br /&gt;
 If you get $cm  using &#039;&#039;get_coursemodule_from_instance&#039;&#039; or &#039;&#039;&#039;get_coursemodule_from_id&#039;&#039;&#039;, &lt;br /&gt;
 this will be done automatically.&lt;br /&gt;
 &lt;br /&gt;
 * line 3894 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 59 of mod\nanogong\view.php: call to build_navigation()&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;No sound has been submitted for the message.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Error message ===&lt;br /&gt;
 No sound has been submitted for the message.&lt;br /&gt;
 &lt;br /&gt;
 Stack trace:&lt;br /&gt;
 &lt;br /&gt;
 * line 1664 of lib\deprecatedlib.php: call to debugging()&lt;br /&gt;
 * line 88 of mod\nanogong\view.php: call to error()&lt;br /&gt;
&lt;br /&gt;
=== That&#039;s how it should look like ===&lt;br /&gt;
[[File:NanoGong Test1.png]]&lt;br /&gt;
http://gong.ust.hk/moodle/mod/nanogong/view.php?id=32&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
See the following forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=135714 won&#039;t start recording]&lt;br /&gt;
&lt;br /&gt;
== Github repository ==&lt;br /&gt;
The current code is available at https://github.com/nakohdo/moodle-mod_nanogong&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker] &lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 1.9|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87815</id>
		<title>User:Frank Ralf/NanoGong/1.9</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87815"/>
		<updated>2011-08-15T17:36:14Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* &amp;quot;No sound has been submitted for the message.&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NanoGong for Moodle 1.9 also needs some updating.&lt;br /&gt;
&lt;br /&gt;
== build_navigation() ==&lt;br /&gt;
Navigation needs to be updated to use build_navigation()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 print_header() was sent a string as 3rd (-&amp;gt; NanoGongs -&amp;gt; NanoGong) parameter. &lt;br /&gt;
 This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.&lt;br /&gt;
 &lt;br /&gt;
 * line 2539 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
 * line 3759 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 37 of theme\standard\header.html: call to print_navigation()&lt;br /&gt;
 * line 2765 of lib\weblib.php: call to include()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
See [[lib/weblib.php#function_build_navigation]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
* [[Navigation 2.0]]&lt;br /&gt;
* [[Navigation 2.0 implementation plan]]&lt;br /&gt;
&lt;br /&gt;
== $cm ==&lt;br /&gt;
 The field $cm-&amp;gt;modname should be set if you call build_navigation with a $cm parameter. &lt;br /&gt;
 If you get $cm  using &#039;&#039;get_coursemodule_from_instance&#039;&#039; or &#039;&#039;&#039;get_coursemodule_from_id&#039;&#039;&#039;, &lt;br /&gt;
 this will be done automatically.&lt;br /&gt;
 &lt;br /&gt;
 * line 3894 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 59 of mod\nanogong\view.php: call to build_navigation()&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;No sound has been submitted for the message.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Error message ===&lt;br /&gt;
 No sound has been submitted for the message.&lt;br /&gt;
 Stack trace:&lt;br /&gt;
 &lt;br /&gt;
  * line 1664 of lib\deprecatedlib.php: call to debugging()&lt;br /&gt;
  * line 88 of mod\nanogong\view.php: call to error()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== That&#039;s how it should look like ===&lt;br /&gt;
[[File:NanoGong Test1.png]]&lt;br /&gt;
http://gong.ust.hk/moodle/mod/nanogong/view.php?id=32&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
See the following forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=135714 won&#039;t start recording]&lt;br /&gt;
&lt;br /&gt;
== Github repository ==&lt;br /&gt;
The current code is available at https://github.com/nakohdo/moodle-mod_nanogong&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker] &lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 1.9|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=File:NanoGong_Test1.png&amp;diff=87814</id>
		<title>File:NanoGong Test1.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=File:NanoGong_Test1.png&amp;diff=87814"/>
		<updated>2011-08-15T17:34:27Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87813</id>
		<title>User:Frank Ralf/NanoGong/1.9</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87813"/>
		<updated>2011-08-15T17:32:30Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* &amp;quot;No sound has been submitted for the message.&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NanoGong for Moodle 1.9 also needs some updating.&lt;br /&gt;
&lt;br /&gt;
== build_navigation() ==&lt;br /&gt;
Navigation needs to be updated to use build_navigation()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 print_header() was sent a string as 3rd (-&amp;gt; NanoGongs -&amp;gt; NanoGong) parameter. &lt;br /&gt;
 This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.&lt;br /&gt;
 &lt;br /&gt;
 * line 2539 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
 * line 3759 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 37 of theme\standard\header.html: call to print_navigation()&lt;br /&gt;
 * line 2765 of lib\weblib.php: call to include()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
See [[lib/weblib.php#function_build_navigation]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
* [[Navigation 2.0]]&lt;br /&gt;
* [[Navigation 2.0 implementation plan]]&lt;br /&gt;
&lt;br /&gt;
== $cm ==&lt;br /&gt;
 The field $cm-&amp;gt;modname should be set if you call build_navigation with a $cm parameter. &lt;br /&gt;
 If you get $cm  using &#039;&#039;get_coursemodule_from_instance&#039;&#039; or &#039;&#039;&#039;get_coursemodule_from_id&#039;&#039;&#039;, &lt;br /&gt;
 this will be done automatically.&lt;br /&gt;
 &lt;br /&gt;
 * line 3894 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 59 of mod\nanogong\view.php: call to build_navigation()&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;No sound has been submitted for the message.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
See the following forum discussions:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=135714 won&#039;t start recording]&lt;br /&gt;
&lt;br /&gt;
== Github repository ==&lt;br /&gt;
The current code is available at https://github.com/nakohdo/moodle-mod_nanogong&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker] &lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 1.9|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87812</id>
		<title>User:Frank Ralf/NanoGong/1.9</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong/1.9&amp;diff=87812"/>
		<updated>2011-08-15T16:49:59Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: moved back from the dev docs ;-)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NanoGong for Moodle 1.9 also needs some updating.&lt;br /&gt;
&lt;br /&gt;
== build_navigation() ==&lt;br /&gt;
Navigation needs to be updated to use build_navigation()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 print_header() was sent a string as 3rd (-&amp;gt; NanoGongs -&amp;gt; NanoGong) parameter. &lt;br /&gt;
 This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.&lt;br /&gt;
 &lt;br /&gt;
 * line 2539 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
 * line 3759 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 37 of theme\standard\header.html: call to print_navigation()&lt;br /&gt;
 * line 2765 of lib\weblib.php: call to include()&lt;br /&gt;
 * line 61 of mod\nanogong\view.php: call to print_header()&lt;br /&gt;
&lt;br /&gt;
See [[lib/weblib.php#function_build_navigation]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
* [[Navigation 2.0]]&lt;br /&gt;
* [[Navigation 2.0 implementation plan]]&lt;br /&gt;
&lt;br /&gt;
== $cm ==&lt;br /&gt;
 The field $cm-&amp;gt;modname should be set if you call build_navigation with a $cm parameter. &lt;br /&gt;
 If you get $cm  using &#039;&#039;get_coursemodule_from_instance&#039;&#039; or &#039;&#039;&#039;get_coursemodule_from_id&#039;&#039;&#039;, &lt;br /&gt;
 this will be done automatically.&lt;br /&gt;
 &lt;br /&gt;
 * line 3894 of lib\weblib.php: call to debugging()&lt;br /&gt;
 * line 59 of mod\nanogong\view.php: call to build_navigation()&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;No sound has been submitted for the message.&amp;quot; ==&lt;br /&gt;
See &lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=135714 won&#039;t start recording]&lt;br /&gt;
&lt;br /&gt;
== Github repository ==&lt;br /&gt;
The current code is available at https://github.com/nakohdo/moodle-mod_nanogong&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker] &lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 1.9|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=87803</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=87803"/>
		<updated>2011-08-15T12:05:28Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch Moodle 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
&lt;br /&gt;
 git merge origin/MOODLE_20_STABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Git merge Moodle 2.0 2011-07-22.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: Updating these 500 files took only about 10 seconds!&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes. On Windows the .git folder is hidden by default so you will have to change your settings to show hidden files (Explorer &amp;gt; Tools &amp;gt; Folder settings ...).&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[User:Sam Hemelryk/My Moodle Git workflow]]&lt;br /&gt;
&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87802</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87802"/>
		<updated>2011-08-15T11:42:52Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* NanoGong */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== NanoGong ===&lt;br /&gt;
* cloned &amp;amp; archived: https://docs.moodle.org/dev/User:Frank_Ralf/NanoGong&lt;br /&gt;
* current: [[/NanoGong]]&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Moodle Docs stuff ==&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=87801</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=87801"/>
		<updated>2011-08-15T11:37:40Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch Moodle 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
&lt;br /&gt;
 git merge origin/MOODLE_20_STABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Git merge Moodle 2.0 2011-07-22.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: Updating these 500 files took only about 10 seconds!&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes. On Windows the .git folder is hidden by default so you will have to change your settings to show hidden files (Explorer &amp;gt; Tools &amp;gt; Folder settings ...).&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=87800</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=87800"/>
		<updated>2011-08-15T11:37:24Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch Moodle 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
&lt;br /&gt;
 git merge origin/MOODLE_20_STABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Git merge Moodle 2.0 2011-07-22.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: Updating these 500 files took only about 10 seconds!&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes. On Windows the .git folder is hidden by default so you will have to change your settings to show hidden files (Explorer &amp;gt; Tools &amp;gt; Folder settings ...).&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong&amp;diff=87776</id>
		<title>User:Frank Ralf/NanoGong</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong&amp;diff=87776"/>
		<updated>2011-08-15T07:24:03Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Java settings ==&lt;br /&gt;
(Not sure if this is relevant, but better to keep in mind ...)&lt;br /&gt;
* see [[Question type plugin how to#Configuration settings for your question type]]&lt;br /&gt;
&lt;br /&gt;
== Filter ==&lt;br /&gt;
General information on filters in Moodle 2.0 can be found at [[Filters 2.0]] and for developers at [[Filters 2.0]].&lt;br /&gt;
&lt;br /&gt;
=== Language folder ===&lt;br /&gt;
Add language folder: &#039;&#039;&#039;\lang\en\&#039;&#039;&#039; and put &#039;&#039;&#039;filter_nanogong.php&#039;&#039;&#039; file with the following content there:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$string[&#039;filtername&#039;] = &#039;NanoGong&#039;;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Nanogong filter folder structure.png]]&lt;br /&gt;
&lt;br /&gt;
=== Filter function ===&lt;br /&gt;
&lt;br /&gt;
The filter function is wrapped inside a class:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
class filter_nanogong extends moodle_text_filter {&lt;br /&gt;
    function filter($text, array $options = array()){&lt;br /&gt;
    ...&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: The callback function has to be &#039;&#039;&#039;outside&#039;&#039;&#039; this class definition!&lt;br /&gt;
&lt;br /&gt;
=== Preventing caching ===&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;currenttextiscacheable = false;&lt;br /&gt;
&lt;br /&gt;
is deprecated, outcommented&lt;br /&gt;
&lt;br /&gt;
=== File API ===&lt;br /&gt;
&lt;br /&gt;
==== Proof of concept ====&lt;br /&gt;
* Instead of the old &#039;&#039;&#039;file.php&#039;&#039;&#039; the new File API uses &#039;&#039;&#039;pluginfile.php&#039;&#039;&#039;.&lt;br /&gt;
* I uploaded a test file (sentence.wav) as a resource to find out the internal URL Moodle uses for serving this file.&lt;br /&gt;
* I then added this full URL as attribute to the NanoGong tag:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;nanogong &lt;br /&gt;
    caption=&amp;quot;Testing NanoGong...&amp;quot; &lt;br /&gt;
    url=&amp;quot;http://localhost/moodle-MOODLE_20_WEEKLY/pluginfile.php/130/mod_resource/content/1/sentence.wav&amp;quot;&lt;br /&gt;
/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* As the URL is already in its full format I just commented out the following lines in &#039;&#039;&#039;filter.php&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
if ($url != &amp;quot;&amp;quot;) {&lt;br /&gt;
    if ($CFG-&amp;gt;slasharguments)&lt;br /&gt;
        $url; # = &amp;quot;{$CFG-&amp;gt;wwwroot}/file.php$url&amp;quot;;&lt;br /&gt;
    else&lt;br /&gt;
        $url; # = &amp;quot;{$CFG-&amp;gt;wwwroot}/file.php?file=$url&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This works as a proof of concept.&lt;br /&gt;
&lt;br /&gt;
==== Getting closer ... ====&lt;br /&gt;
&lt;br /&gt;
This modification does also work:&lt;br /&gt;
&lt;br /&gt;
; NanoGong tag&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;nanogong &lt;br /&gt;
    caption=&amp;quot;Testing NanoGong...&amp;quot; &lt;br /&gt;
    url=&amp;quot;/130/mod_resource/content/1/sentence.wav&amp;quot;&lt;br /&gt;
/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; filter.php&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
if ($url != &amp;quot;&amp;quot;) {&lt;br /&gt;
    if ($CFG-&amp;gt;slasharguments)&lt;br /&gt;
        $url = &amp;quot;{$CFG-&amp;gt;wwwroot}/pluginfile.php$url&amp;quot;;&lt;br /&gt;
    else&lt;br /&gt;
        $url; # = &amp;quot;{$CFG-&amp;gt;wwwroot}/file.php?file=$url&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* see [[File API]] and [[Using the File API]]&lt;br /&gt;
&lt;br /&gt;
* [[File_API#File_serving]]&lt;br /&gt;
* [[Using_the_file_API#Serving_files_to_users]]&lt;br /&gt;
* [[File_storage_conversion_Quiz_and_Questions#Serving_files]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
; Necessary updating for Moodle 1.9&lt;br /&gt;
* see [[User:Frank Ralf/NanoGong/1.9|subpage on Moodle 1.9]]&lt;br /&gt;
&lt;br /&gt;
; Migrating to Moodle 2.0&lt;br /&gt;
* [[Migrating contrib code to 2.0]]&lt;br /&gt;
* [[Migrating to 2.0 checklist]]&lt;br /&gt;
* [[Migrating contrib code to 2.0/Experience of converting a module to Moodle 2]]&lt;br /&gt;
&lt;br /&gt;
; Forums&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=170422 Release of NanoGong 4.1, an important update for Moodle users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=174922 NanoGong in Moodle 2.xxx]&lt;br /&gt;
&lt;br /&gt;
; Moodle plugin database &lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;mode=list&amp;amp;perpage=50&amp;amp;search=&amp;amp;sort=44&amp;amp;order=ASC&amp;amp;advanced=0&amp;amp;filter=1&amp;amp;advanced=1&amp;amp;f_44=&amp;amp;f_45=nanogong all NanoGong plugins]&lt;br /&gt;
&lt;br /&gt;
; NanoGong documentation&lt;br /&gt;
* http://gong.ust.hk/nanogong/moodle.html&lt;br /&gt;
* http://gong.ust.hk/nanogong/info_php.html&lt;br /&gt;
* [http://gong.ust.hk/moodle/course/view.php?id=2 Gong and NanoGong Demonstration]&lt;br /&gt;
&lt;br /&gt;
[[Category:Moodle 2.0|NanoGong]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87775</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87775"/>
		<updated>2011-08-15T07:23:42Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* NanoGong */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== NanoGong ===&lt;br /&gt;
* archived: https://docs.moodle.org/dev/User:Frank_Ralf/NanoGong&lt;br /&gt;
* current: [[/NanoGong]]&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Moodle Docs stuff ==&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87774</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87774"/>
		<updated>2011-08-15T07:22:53Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Auto-link Hijacker */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== NanoGong ===&lt;br /&gt;
* https://docs.moodle.org/dev/User:Frank_Ralf/NanoGong&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Moodle Docs stuff ==&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong&amp;diff=87761</id>
		<title>User:Frank Ralf/NanoGong</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong&amp;diff=87761"/>
		<updated>2011-08-13T20:17:54Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Template:Moved_to_dev_docs&amp;diff=87760</id>
		<title>Template:Moved to dev docs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Template:Moved_to_dev_docs&amp;diff=87760"/>
		<updated>2011-08-13T20:17:20Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: changed variable to FULLPAGENAME to respect namespace (e.g. User:)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This development related page is now located in the [[:dev:Main_Page|Dev docs]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;See the [[:dev:{{FULLPAGENAME}}|{{FULLPAGENAME}}]] page in the Dev docs.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Moved_to_dev_docs]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;This template will categorize articles that include it into [[:Category:Moved_to_dev_docs]].&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong&amp;diff=87759</id>
		<title>User:Frank Ralf/NanoGong</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/NanoGong&amp;diff=87759"/>
		<updated>2011-08-13T20:15:22Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
The correct new page address is https://docs.moodle.org/dev/User:Frank_Ralf/NanoGong.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 04:15, 14 August 2011 (WST)&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87604</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=87604"/>
		<updated>2011-08-12T10:00:07Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Miscellaneous */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Moodle Docs stuff ==&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Subpage_transclusion&amp;diff=87603</id>
		<title>User:Frank Ralf/Subpage transclusion</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Subpage_transclusion&amp;diff=87603"/>
		<updated>2011-08-12T09:33:39Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* MediaWiki documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is only for testing purposes.&lt;br /&gt;
&lt;br /&gt;
== MediaWiki documentation ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;One can cut and paste the text to be transcluded into a subpage, then use the name of the subpage in the transclusion template. This approach can only be used with subpages from User, Talk or Wikipedia pages; currently, subpages cannot be created from main article pages.&lt;br /&gt;
&lt;br /&gt;
Example: you want to discuss the deletion and redirecting of Pussycat to Cat. First, create the subpage Talk:Pussycat/Let&#039;s delete Pussycat!, write your comment into it, then transclude it in Talk:Pussycat and Talk:Cat using the template {{Talk:Pussycat/Let&#039;s delete Pussycat!}}. Comments posted in either talk page will be shown in both.&amp;quot;&lt;br /&gt;
http://www.mediawiki.org/wiki/Help:Transclusion#Subpages&lt;br /&gt;
&lt;br /&gt;
== General information ==&lt;br /&gt;
&lt;br /&gt;
Instead of just linking to a subpage like so:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[/general information]]&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
you can use MediaWiki&#039;s [http://www.mediawiki.org/wiki/Help:Transclusion#Subpages transclusion mechanismen] to directly integrate the content of the subpage at any other place in the wiki.&lt;br /&gt;
&lt;br /&gt;
The following template is used to pull the content from a subpage of this page: &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{/general information}}&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
Below the following line comes the external (transcluded) content.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{/general information}}&lt;br /&gt;
&lt;br /&gt;
== Moodle 1.9 ==&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}&lt;br /&gt;
&lt;br /&gt;
This is information only relevant for Moodle 1.9. This information is written directly on this page.&lt;br /&gt;
&lt;br /&gt;
== Moodle 2.0 ==&lt;br /&gt;
&lt;br /&gt;
{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
This is information only relevant for Moodle 2.0. This information is written directly on this page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [[MoodleDocs:Transclusion]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Subpage_transclusion&amp;diff=87602</id>
		<title>User:Frank Ralf/Subpage transclusion</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Subpage_transclusion&amp;diff=87602"/>
		<updated>2011-08-12T09:28:45Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* General information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is only for testing purposes.&lt;br /&gt;
&lt;br /&gt;
== MediaWiki documentation ==&lt;br /&gt;
&lt;br /&gt;
 One can cut and paste the text to be transcluded into a subpage, then use the name of the subpage in the transclusion template. This approach can only be used with subpages from User, Talk or Wikipedia pages; currently, subpages cannot be created from main article pages.&lt;br /&gt;
&lt;br /&gt;
 Example: you want to discuss the deletion and redirecting of Pussycat to Cat. First, create the subpage Talk:Pussycat/Let&#039;s delete Pussycat!, write your comment into it, then transclude it in Talk:Pussycat and Talk:Cat using the template {{Talk:Pussycat/Let&#039;s delete Pussycat!}}. Comments posted in either talk page will be shown in both.&lt;br /&gt;
http://www.mediawiki.org/wiki/Help:Transclusion#Subpages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General information ==&lt;br /&gt;
&lt;br /&gt;
Instead of just linking to a subpage like so:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[/general information]]&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
you can use MediaWiki&#039;s [http://www.mediawiki.org/wiki/Help:Transclusion#Subpages transclusion mechanismen] to directly integrate the content of the subpage at any other place in the wiki.&lt;br /&gt;
&lt;br /&gt;
The following template is used to pull the content from a subpage of this page: &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{/general information}}&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
Below the following line comes the external (transcluded) content.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{/general information}}&lt;br /&gt;
&lt;br /&gt;
== Moodle 1.9 ==&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}&lt;br /&gt;
&lt;br /&gt;
This is information only relevant for Moodle 1.9. This information is written directly on this page.&lt;br /&gt;
&lt;br /&gt;
== Moodle 2.0 ==&lt;br /&gt;
&lt;br /&gt;
{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
This is information only relevant for Moodle 2.0. This information is written directly on this page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [[MoodleDocs:Transclusion]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Themes&amp;diff=86395</id>
		<title>Themes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Themes&amp;diff=86395"/>
		<updated>2011-07-25T07:06:55Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
This page describes what is mostly suitable for v1.9. Please feel free to update it to more recent information. &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A Moodle theme is a pre-designed user &amp;quot;view&amp;quot; (interface) that can be changed by the site administrator, teacher, or student.  While robust, it does not affect how Moodle functions, just how it looks.  Moodle comes with a standard set of themes and there is a [http://moodle.org/mod/data/view.php?id=6552  large free library] available to download. &lt;br /&gt;
&lt;br /&gt;
==Moodle themes==&lt;br /&gt;
&lt;br /&gt;
Themes may be [[Theme settings|selected]] at site level, course level and/or user level as long as the Moodle site has been configured to allow changes at these levels.&lt;br /&gt;
&lt;br /&gt;
== Installing a theme ==&lt;br /&gt;
&lt;br /&gt;
To install a theme:&lt;br /&gt;
# Unzip the .zip file to an empty local directory.&lt;br /&gt;
# Upload folder to your web server to the /moodle/theme/[Theme Name]. (Replace [Theme Name] with the name of the theme you have downloaded.) Ensure the new theme folder and its contents are readable by the webserver.  Change Read and Write permissions (CHMOD) for the files and folder to 755 - Owner read/write/execute, Group read/execute, Everyone read/execute.  Incorrect permissions may prevent display of the newly installed theme.&lt;br /&gt;
# Choose your new theme from within Moodle via &#039;&#039;Administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme selector&#039;&#039; (version 1.7+) or &#039;&#039;Administration &amp;gt; Configuration &amp;gt; Themes&#039;&#039; (older versions).&lt;br /&gt;
&lt;br /&gt;
See [[Installing a new theme]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Themes in standard install==&lt;br /&gt;
&lt;br /&gt;
Themes included in Moodle 1.9 are [[Chameleon theme|chameleon]], cornflower, [[Custom corners theme|custom corners]], formal white, metal, oceanblue, orangewhite, orangewhitepda, standard (default), standardblue, standardgreen, standardlogo, standardred, standardwhite, wood.  See [[Standard themes]] for screen shots of each.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://www.youtube.com/watch?v=pPUB_ReBPeg Installing 3rd Party Modules and Themes in Moodle video]&lt;br /&gt;
* [[Themes FAQ]]&lt;br /&gt;
* [[:dev:Theme_development|Theme development]]&lt;br /&gt;
* [[Development: Themes 2.0]]&lt;br /&gt;
&lt;br /&gt;
[[es:Temas]]&lt;br /&gt;
[[eu:Itxurak]]&lt;br /&gt;
[[de:Designs]]&lt;br /&gt;
[[fr:Thèmes]]&lt;br /&gt;
[[ja:テーマ]]&lt;br /&gt;
[[pt:Temas]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86314</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86314"/>
		<updated>2011-07-22T17:23:52Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* merge */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch Moodle 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
&lt;br /&gt;
 git merge origin/MOODLE_20_STABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Git merge Moodle 2.0 2011-07-22.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: Updating these 500 files took only about 10 seconds!&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes. On Windows the .git folder is hidden by default so you will have to change your settings to show hidden files (Explorer &amp;gt; Tools &amp;gt; Folder settings ...).&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86313</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86313"/>
		<updated>2011-07-22T17:21:37Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Updating your Moodle installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
==== fetch ====&lt;br /&gt;
[[File:Git fetch Moodle 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
==== merge ====&lt;br /&gt;
&lt;br /&gt;
 git merge origin/MOODLE_20_STABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Git merge Moodle 2.0 2011-07-22.png]]&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes. On Windows the .git folder is hidden by default so you will have to change your settings to show hidden files (Explorer &amp;gt; Tools &amp;gt; Folder settings ...).&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=File:Git_merge_Moodle_2.0_2011-07-22.png&amp;diff=86312</id>
		<title>File:Git merge Moodle 2.0 2011-07-22.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=File:Git_merge_Moodle_2.0_2011-07-22.png&amp;diff=86312"/>
		<updated>2011-07-22T17:19:53Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86311</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86311"/>
		<updated>2011-07-22T17:17:16Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Updating your Moodle installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== fetch ===&lt;br /&gt;
[[File:Git fetch Moodle 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== merge ===&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes. On Windows the .git folder is hidden by default so you will have to change your settings to show hidden files (Explorer &amp;gt; Tools &amp;gt; Folder settings ...).&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=File:Git_fetch_Moodle_2.0.png&amp;diff=86310</id>
		<title>File:Git fetch Moodle 2.0.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=File:Git_fetch_Moodle_2.0.png&amp;diff=86310"/>
		<updated>2011-07-22T17:16:36Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86309</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86309"/>
		<updated>2011-07-22T17:12:56Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Making Git ignore your code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== fetch ===&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== merge ===&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes. On Windows the .git folder is hidden by default so you will have to change your settings to show hidden files (Explorer &amp;gt; Tools &amp;gt; Folder settings ...).&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86307</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86307"/>
		<updated>2011-07-22T15:34:00Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Deleting master branch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
* See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== fetch ===&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== merge ===&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes:&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86306</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86306"/>
		<updated>2011-07-22T15:33:41Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Deleting master branch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
: See the discussion in the Moodle General Developer Forum: [http://moodle.org/mod/forum/discuss.php?d=181720 Git: deleting local &amp;quot;master&amp;quot; branch]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== fetch ===&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== merge ===&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes:&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86305</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86305"/>
		<updated>2011-07-22T15:32:28Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Deleting master branch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
: See [http://moodle.org/mod/forum/discuss.php?d=181720 &lt;br /&gt;
&lt;br /&gt;
=== Moodle 1.9 ===&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle 2.0 ===&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete local master branch 2.0.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== fetch ===&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== merge ===&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes:&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=File:Git_delete_local_master_branch_2.0.png&amp;diff=86304</id>
		<title>File:Git delete local master branch 2.0.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=File:Git_delete_local_master_branch_2.0.png&amp;diff=86304"/>
		<updated>2011-07-22T15:31:47Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86286</id>
		<title>User:Frank Ralf/Git</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git&amp;diff=86286"/>
		<updated>2011-07-22T11:22:52Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Deleting master branch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Cloning Moodle to your local installation ==&lt;br /&gt;
* See [[Git for Administrators]], the following screenshots illustrate the steps described there.&lt;br /&gt;
&lt;br /&gt;
[[File:Git cloning Moodle.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning to a new folder ===&lt;br /&gt;
[[File:Git cloning Moodle new folder.png]]&lt;br /&gt;
&lt;br /&gt;
=== Moodle branches ===&lt;br /&gt;
[[File:Git remote Moodle branches.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkout ===&lt;br /&gt;
[[File:Git checkout MOODLE 19 STABLE.png]]&lt;br /&gt;
&lt;br /&gt;
== Deleting master branch ==&lt;br /&gt;
Don&#039;t know whether this is a good idea but I accidentally messed up my local Moodle 1.9 master branch by fetching Moodle 2.1 on top of it ...&lt;br /&gt;
&lt;br /&gt;
[[File:Git delete master branch.png]]&lt;br /&gt;
&lt;br /&gt;
That&#039;s the result:&lt;br /&gt;
&lt;br /&gt;
[[File:Git only local branch left.png]]&lt;br /&gt;
&lt;br /&gt;
== Updating your Moodle installation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;git fetch&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Git fetch.png| thumb | First try ...]]&lt;br /&gt;
[[File:Git branch fetch 2011-07-20.png| thumb |Second try ...]]&lt;br /&gt;
&lt;br /&gt;
Following the [[User:Sam_Hemelryk/My_Moodle_Git_workflow| instructions by Sam Hemelryk]]:&lt;br /&gt;
&lt;br /&gt;
=== fetch ===&lt;br /&gt;
[[File:Git fetch status 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
=== merge ===&lt;br /&gt;
[[File:Git merge 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== Maintaining your own contributed code ==&lt;br /&gt;
&lt;br /&gt;
=== Copying the plug-in code to your Moodle installation ===&lt;br /&gt;
[[File:Git adding my custom plugin code.png]]&lt;br /&gt;
&lt;br /&gt;
=== Making Git ignore your code ===&lt;br /&gt;
Put the folder names for your own code into the &#039;&#039;&#039;.git/info/exclude&#039;&#039;&#039; file in your Moodle clone, as the following excerpt from .gitignore describes:&lt;br /&gt;
&lt;br /&gt;
 # Example: if you deploy a contributed plugin mod/foobar into your site, put&lt;br /&gt;
 # the following line into .git/info/exclude file in your Moodle clone:&lt;br /&gt;
 # /mod/foobar/&lt;br /&gt;
&lt;br /&gt;
That&#039;s how it looks:&lt;br /&gt;
&lt;br /&gt;
 # git ls-files --others --exclude-from=.git/info/exclude&lt;br /&gt;
 # Lines that start with &#039;#&#039; are comments.&lt;br /&gt;
 # For a project mostly in C, the following would be a good set of&lt;br /&gt;
 # exclude patterns (uncomment them if you want to use them):&lt;br /&gt;
 # *.[oa]&lt;br /&gt;
 # *~&lt;br /&gt;
 /blocks/firephp&lt;br /&gt;
 /filter/autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
=== Setting up a remote repository on GitHub ===&lt;br /&gt;
&lt;br /&gt;
See the instructions at:&lt;br /&gt;
* [[Dev:Git for developers]]&lt;br /&gt;
* [[Git repositories for contrib modules]]&lt;br /&gt;
&lt;br /&gt;
=== Cloning the remote GitHub repository to your local Moodle installation ===&lt;br /&gt;
&lt;br /&gt;
# Change to the parent folder for your plug-in&lt;br /&gt;
# Clone the repository: &amp;lt;code bash&amp;gt;git clone https://nakohdo@GitHub.com/nakohdo/moodle-filter_autolinkhijacker.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Rename the folder to your plug-in&#039;s name&lt;br /&gt;
# Open Git Bash in that folder&lt;br /&gt;
&lt;br /&gt;
=== Creating a local branch ===&lt;br /&gt;
&lt;br /&gt;
# Open Git Bash in the plug-in folder&lt;br /&gt;
# Create new branch: &amp;lt;code bash&amp;gt;git branch MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to the new branch: &amp;lt;code bash&amp;gt;git checkout MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Both steps in one: &amp;lt;code bash&amp;gt;git checkout -b MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a remote branch ===&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
It might be better using &amp;quot;remote&amp;quot; first to create the remote branch. &lt;br /&gt;
And usually it&#039;s best if both branches have the same name.&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 12:59, 18 July 2011 (WST)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
# Change to the correct local branch&lt;br /&gt;
# &amp;lt;code bash&amp;gt;git push origin -u MOODLE_19_STABLE&amp;lt;/code&amp;gt;&lt;br /&gt;
#: Using different names for local and remote branch: &amp;lt;code bash&amp;gt;$ git push origin  local_19_STABLE:MOODLE_19_STABLE &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:Git creating remote branch.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
=== Deleting a remote branch ===&lt;br /&gt;
 $ git push origin :testbranch&lt;br /&gt;
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github&lt;br /&gt;
&lt;br /&gt;
== Git GUI (aka GitTk) ==&lt;br /&gt;
&lt;br /&gt;
For launching the command line commands from a GUI. This will automatically be installed together with &amp;quot;Git for Windows&amp;quot; and is equally accessible from the explorer context menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Git Gui (moodle).png]]&lt;br /&gt;
&lt;br /&gt;
=== Visualize branch history === &lt;br /&gt;
[[File:Gitk moodle 2011-07-20.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
; Moodle forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=168094 GIT help needed]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=165236 Best way to manage CONTRIB code with GIT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167063 Handy Git tip for tracking 3rd-party modules and plugins]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=167730 Moodle Git repositories]&lt;br /&gt;
&lt;br /&gt;
; External resources &lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]&lt;br /&gt;
* [http://gitref.org/ Git Reference]&lt;br /&gt;
* [http://progit.org/book/ Pro Git book]&lt;br /&gt;
&lt;br /&gt;
; Stackoverflow resources&lt;br /&gt;
* [http://stackoverflow.com/questions/1427785/how-to-set-desired-language-in-git-gui How to set desired language in git-gui?] &lt;br /&gt;
* [http://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows GIT: How to get rid of the annoying CRLF message on msysgit (windows)?]&lt;br /&gt;
* [http://stackoverflow.com/questions/6414515/how-to-do-rebase-interactive-in-a-windows-gui How to do rebase --interactive in a Windows GUI?]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=86272</id>
		<title>User:Frank Ralf</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf&amp;diff=86272"/>
		<updated>2011-07-22T06:51:27Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: /* Git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What I am doing here =&lt;br /&gt;
&lt;br /&gt;
I am exploring Moodle as an e-learning tool for teaching German as a foreign language to Japanese.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s [http://moodle.org/user/view.php?id=728638&amp;amp;course=5 my profile on moodle.org]. &lt;br /&gt;
&lt;br /&gt;
== Semantic HMTL ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle HTML]]&lt;br /&gt;
&lt;br /&gt;
== JavaScript ==&lt;br /&gt;
* http://moodle.org/mod/forum/discuss.php?d=106312&lt;br /&gt;
* http://tracker.moodle.org/browse/MDL-14542 (http://moodle.org/mod/forum/discuss.php?d=95743)&lt;br /&gt;
&lt;br /&gt;
* I&#039;ve started a little series on different aspects of JavaScript and Moodle:&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript1]]&lt;br /&gt;
*# [[User:Frank_Ralf/JavaScript2]]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=151789 Why does Moodle 2.0 keep jumping about?] is suspected to be a JavaScript bug MDL-22372&lt;br /&gt;
&lt;br /&gt;
=== Greasemonkey ===&lt;br /&gt;
I&#039;ve started creating some little Greasemonkey user scripts:&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=138230 Enhancing Tracker Issue Links]&lt;br /&gt;
* TODO: coloring links to non-existing Moodle Doc pages red in the forums like on Moodle Docs: [[Non existing page]]&lt;br /&gt;
&lt;br /&gt;
== Moodle forms ==&lt;br /&gt;
* [[User:Frank Ralf/Moodle forms1]]&lt;br /&gt;
&lt;br /&gt;
== XML related stuff ==&lt;br /&gt;
* I am working on [[XML FAQ]] and [[Import and export FAQ]]&lt;br /&gt;
* At the moment I am trying to create a [http://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schma] for Moodle XML for validation purposes&lt;br /&gt;
&lt;br /&gt;
* Also on my todo list: &lt;br /&gt;
** creating XSLT stylesheet for converting Moodle XML to and from different (human readable) formats&lt;br /&gt;
** creating macros for OpenOffice for offline quiz creation&lt;br /&gt;
* [http://books.evc-cit.info/odbook/ch09.html XML Filters in OOo]&lt;br /&gt;
* [http://www.ibm.com/developerworks/edu/x-dw-x-xsltopenoff.html Expand the editing capabilities of OpenOffice with XSLT]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] on manual converting Excel to XML&lt;br /&gt;
&lt;br /&gt;
I will start to collect some of my findings at [[/Moodle XML1]].&lt;br /&gt;
&lt;br /&gt;
* Interesting discussion on [http://moodle.org/mod/forum/discuss.php?d=138895 Are there any standards for learning interaction data in XML?] - also I&#039;m not quite sure where this is heading...&lt;br /&gt;
&lt;br /&gt;
== Drupal integration ==&lt;br /&gt;
* I am also interested in integrating Moodle and &#039;&#039;&#039;Drupal&#039;&#039;&#039;, the open source CMS&lt;br /&gt;
** My Drupal profile: http://drupal.org/user/216048&lt;br /&gt;
** Drupal in Education User Group: http://groups.drupal.org/drupal-education&lt;br /&gt;
** The ongoing discussion about Drupal and Moodle: http://groups.drupal.org/node/13600&lt;br /&gt;
&lt;br /&gt;
* There&#039;s an interesting discussion in the Moodle Language Teaching course:&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;How can Moodle be more of a social networking site?&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:http://moodle.org/mod/forum/discuss.php?d=83963&amp;amp;mode=3&lt;br /&gt;
:I posted some more links regarding Drupal in education over there.&lt;br /&gt;
&lt;br /&gt;
== Learning Moodle programming ==&lt;br /&gt;
* I am taking part in the &#039;&#039;&#039;Introduction to Moodle Programming&#039;&#039;&#039; course (http://dev.moodle.org)&lt;br /&gt;
&lt;br /&gt;
=== FirePHP Block ===&lt;br /&gt;
* I started work on a [http://moodle.org/mod/forum/discuss.php?d=119961 Moodle plugin for FirePHP].&lt;br /&gt;
* Now lives on https://github.com/nakohdo/moodle-block_firephp&lt;br /&gt;
&lt;br /&gt;
=== Glossary List Block ===&lt;br /&gt;
Inspired by [http://moodle.org/mod/forum/discuss.php?d=20560 Using Keywords Glossary feature for language &amp;quot;correction&amp;quot;] by [[User:Joseph Rézeau|Joseph Rézeau]] I started dabbling in creating a block which shows all glossaries of the currently logged in user across all his/her courses. I use [[User:Frank Ralf/Glossary list]] for scribbling some ideas.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?sourceid=Mozilla-search&amp;amp;id=5&amp;amp;search=This+module+cannot+be+added+to+this+course+yet!+ This module cannot be added to this course yet! (No file found at: ../mod/game/mod.html).]&lt;br /&gt;
* See tracker issue MDL-25155&lt;br /&gt;
&lt;br /&gt;
=== Auto-link Hijacker ===&lt;br /&gt;
* A filter which hijacks glossary auto-links and redirects them to a URL of you choice.&lt;br /&gt;
* http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=4906&amp;amp;filter=1&lt;br /&gt;
* https://github.com/nakohdo/moodle-filter_autolinkhijacker&lt;br /&gt;
&lt;br /&gt;
== Theming related stuff ==&lt;br /&gt;
* I am following the discussions on the [http://moodle.org/mod/forum/discuss.php?d=106312 Use of JavaScript in Moodle] and [http://moodle.org/mod/forum/discuss.php?d=108993 The Future of Moodle Templates?]&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
* I have created some pages in the Moodle documentation: [[Javascript FAQ]], [[CSS FAQ]], [[PHP FAQ]], [[Usability FAQ]], [[Database FAQ]], [[Development:Firebug]]&lt;br /&gt;
&lt;br /&gt;
* I am watching the following issue in Moodle tracker:&lt;br /&gt;
:&#039;&#039;Day names, month names and am/pm appear garbled in Chinese and Japanese on Windows servers&#039;&#039;&lt;br /&gt;
:http://tracker.moodle.org/browse/MDL-14149&lt;br /&gt;
&lt;br /&gt;
* [[/Experience_of_converting_a_module_to_Moodle_2|Experience of converting a module to Moodle 2]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 12:11, 23 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Moodle 2.1 sections proposal]] by Sam Marshall --[[User:Frank Ralf|Frank Ralf]] 18:05, 12 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* [[/Subpage transclusion]] as a possible solution for avoiding duplicating documentation for different versions of Moodle, see ...&lt;br /&gt;
--[[User:Frank Ralf|Frank Ralf]] 07:39, 22 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MoodleMoot 2011 in Elmshorn (Germany) ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodlemoot.moodle.de/mod/resource/view.php?id=1103 Call for Papers zur MoodleMoot 2011 in Elmshorn]&lt;br /&gt;
* https://docs.moodle.org/de/Benutzer:Frank_Ralf/MoodleMoot2011: my private notes, any feedback welcome&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
* I&#039;m starting to get the hang of (g)it ... see [[/Git]] --[[User:Frank Ralf|Frank Ralf]] 03:49, 23 June 2011 (WST)&lt;br /&gt;
* [[/Git workflow]]&lt;br /&gt;
&lt;br /&gt;
== Test, test, test ... ==&lt;br /&gt;
* [[Dev:Firefox]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git_workflow&amp;diff=86233</id>
		<title>User:Frank Ralf/Git workflow</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=User:Frank_Ralf/Git_workflow&amp;diff=86233"/>
		<updated>2011-07-21T15:41:17Z</updated>

		<summary type="html">&lt;p&gt;Nakohdo: Created page with &amp;quot;== Standard workflow == # clone and track Moodle 1.9 STABLE # adding own contributed code # gitignore contributed code # creating local branch for next development step # testing...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Standard workflow ==&lt;br /&gt;
# clone and track Moodle 1.9 STABLE&lt;br /&gt;
# adding own contributed code&lt;br /&gt;
# gitignore contributed code&lt;br /&gt;
# creating local branch for next development step&lt;br /&gt;
# testing new code&lt;br /&gt;
# if ok &amp;gt; merge with stable branch&lt;br /&gt;
# push to GitHub&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [[User:Sam Hemelryk/My Moodle Git workflow]]&lt;/div&gt;</summary>
		<author><name>Nakohdo</name></author>
	</entry>
</feed>