<div dir="ltr">Hey all, last night I made an MediaWiki extension for doing content referencing. The idea is for this to be applied to figures, equations, anything that would want to be referenced back to later. <div><br></div><div>Everything here is on the GitHub repo, under the branch ContentRefrencer, give it a try!<br><div><br></div><div>Anything here is up for debate/change.</div><div><br></div><div><b>Motivation:</b></div><div><br></div><div>Reuse of content. This way one chapter that requires a certain proof or math equation, they can reference to there, where it is explained in more depth instead of explaining it again.</div><div><br></div><div><b>Syntax:</b></div><div><br></div><div>Currently there are two new tags, content and content-ref. </div><div><br></div><div>Example:</div><div><br></div><div><content name="Quadratic Formula" id=1.0></div><div><math> ... </math></div><div></content></div><div><br></div><div>and then later</div><div><content-ref id=1.0>See Quadratic formula</content-ref></div><div><br></div><div>This will work for any <content> elements in that page. In order to reference to a different page, just add the page attribute to the <content-ref> element:</div></div><div><br></div><div><content-ref page="Physics/Quantum Mechanics" id=3>...</content-ref></div><div><br></div><div><b>Features:</b></div><div><b><br></b></div><div>So as of right now, this is very simple, and could live in a template, but there are more options with an extension. </div><div><br></div><div><i>Hover</i><br>One feature I really want to figure out is showing the contents of the <content> tag when hovering over the corresponding <content-ref> tag. This would allow anyone to be able to see the content without even navigation outside the page. </div><div><br></div><div><i>dmath</i></div><div>One cool feature would to have support similar to this in the dmath tag, to make it easier to pass on to OCG.</div><div><br></div><div>So what do you think? Is this something we need? Additional thoughts?</div><div><br></div><div>-Russell</div></div>