Page MenuHomePhabricator

perhaps add "Pages using the special property Xxx" section to special property pages
Closed, ResolvedPublic


Author: info

Special properties like Attribute:Allows_value and Relation:Has_type don't list
the pages that use them. This might be useful to find imported attributes, and
also to spot special properties used in error, e.g. on a regular page or an
attribute of the wrong type.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 9:37 PM
bzimport set Reference to bz9748.

info wrote:

Property page for a special property now shows "This is a special property with a reserved meaning in the wiki."

I went on to modify SMW_PropertyPage.php to display the special property's values, which requires adding SMWStore->getAllSpecialValues and modifying SMWPropertyPage->shortList() to print out the various types of special properties. Then I found SMW_SP_SUBPROPERTY_OF isn't even stored in smw_specialprops, and I'm unclear on SMW_SP_REDIRECTS_TO and SMW_SP_HAS_CATEGORY. If this incomplete implementation is useful, I can check it in.

The requested feature is fully supported in SMW 1.4.