GSoC/GCI Archive
Google Code-in 2010 MoinMoin Wiki

make use of itemtransclusions metadata

completed by: NikitaUtiu

mentors: Alexander Schremmer, ReimarBauer, Thomas Waldmann, Diógenes Augusto Fernandes Hermínio, Ronny Pfannschmidt


We have metadata for item transclusions (similar to item links) now, but we do not use that metadata yet, some views just use the item links metadata, but they should also consider item transclusions.

Your task is to use item transclusions metadata where appropriate and modify these views accordingly.



An item X has links to items A and subitem b and transcludes item C and subitem d. For that item (for its current revision), metadata looks like:

  • ITEMLINKS: ["A", "X/b"].

You have to:

  1. modify "Orphaned Items" (+orphans view) - consider item transclusions
  2. modify "Wanted Items" (+wanteds view) - consider item transclusions
  3. freshly implement a "What refers here?" view. It should consider links and transclusions

  4. remove the "What links here?" code and menu entry - it doesn't work.
  5. practically test all your changes
  6. add unit tests where appropriate

Deliverables: changesets or patch


This will make wiki user experience much better, as it is what a user expects.

Skill Requirements

See tags. You only need a litte html and jinja2 knowledge as you will mostly modify existing templates, not create completely new ones.

Note: unless otherwise noted, tasks usually refer to moin2 (!

You can discuss this issue in the MoinMoin wiki: