Overview
- Title
- make use of itemtransclusions metadata
- Duration
- 180
- Difficulty
- Medium
- Type
- Code, User Interface
- Tags
- python,html,jinja2
- Mentors
- thomaswaldmann,rb_proj,ronny_pfannschmidt,xoraxax,diofeher
- Count
- -1
Description
Abstract
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.
Details
Example:
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"].
- ITEMTRANSCLUSIONS: ["C", "X/d"]
You have to:
- modify "Orphaned Items" (+orphans view) - consider item transclusions
- modify "Wanted Items" (+wanteds view) - consider item transclusions
freshly implement a "What refers here?" view. It should consider links and transclusions
- remove the "What links here?" code and menu entry - it doesn't work.
- practically test all your changes
- add unit tests where appropriate
Deliverables: changesets or patch
Benefits
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.
Links
Note: unless otherwise noted, tasks usually refer to moin2 (http://moinmo.in/MoinMoin2.0)!
http://hg.moinmo.in/moin/2.0-dev repository of moin2
http://moimo.in/MoinMoinChat - please join us on IRC #moin-dev