Opened 14 years ago
Last modified 6 years ago
#9612 closed enhancement
`WikiPage` instances lack the `ipnr` attribute — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.3.1 |
Component: | wiki system | Version: | 0.12-stable |
Severity: | minor | Keywords: | WikiPage model ipnr |
Cc: | Thijs Triemstra | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Just saw this while changing th:WatchlistPlugin from own SQL code to the trac.wiki.model.WikiPage
class:
Instances of the WikiPage
class do not provide the ipnr
as attribute as for all other wiki page values (version, author, etc.). In fact the _fetch
method doesn't read this value from the DB.
If this is not by intention this should be fixed for consistency. Some plug-ins probably like to read this information out, e.g. I would have given the users the option to show it in their watchlist.
I would be willing to provide a patch.