Last modified: 2012-11-08 19:02:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40811, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38811 - Special:UnusedProperties does not recognise and thus displays special properties properly (1.8 rc2)
Special:UnusedProperties does not recognise and thus displays special propert...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: [[kgh]]
http://semantic-mediawiki.org/wiki/Sp...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-29 23:56 UTC by [[kgh]]
Modified: 2012-11-08 19:02 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description [[kgh]] 2012-07-29 23:56:23 UTC
There are two things broken concerning special properties on this special page:

1) They are not recognised as special properties. All of them are assigned to datatype page though not datatype should be assigned. 

2) Since they are not recognised as special properties, they are not displayed as on other special pages, i.e. in italics.

Example: http://semantic-mediawiki.org/wiki/Special:UnusedProperties
Comment 1 [[kgh]] 2012-08-16 08:46:10 UTC
Something must have changed with this special page since my report. I am not sure though. However, in addition to what I already reported all special properties are listed now, regardless it they are in use or not.

In the meantime I think that special properties should not be listed at all on this special page, regardless of their status. I believe that this page should only list user created properties.
Comment 2 Nischay Nahata 2012-08-16 15:36:31 UTC
SMW 1.8 alpha has two SQL stores, which one is used here? Store2 or Store3 ?

This can be checked in variable $smwgDefaultStore in LocalSettings.php and SMW_Settings.php
Comment 3 [[kgh]] 2012-08-16 15:41:45 UTC
According to format=debug smw.o is on Store2.
Comment 4 [[kgh]] 2012-10-28 22:51:08 UTC
Hmm, I believe that this special page currently does not pick up regular (user created) properties at all. I do not think that do not have at least one of them on smw.o
Comment 5 MWJames 2012-11-07 07:41:02 UTC
Nischay + Karsten (I know I'm bitching here) any update on this  when using the SQLStore3 and Special:UnusedProperties

If this is a problem in SQLStore2 we put this on won't fix as SQLStore2 will not get any update.
Comment 6 [[kgh]] 2012-11-07 08:42:25 UTC
This is a SQLStore2 report. So far I did not test SQLStore3 for this.
Comment 7 Markus Krötzsch 2012-11-07 12:01:56 UTC
The formatting problem does not depend on the store but on the UI code (the store could filter out special properties, though this would be difficult and may not be worth the effort).

Fixed in https://gerrit.wikimedia.org/r/#/c/32206/
Comment 8 Markus Krötzsch 2012-11-07 12:04:05 UTC
P.S. The special properties are still not shown in italics. I think this is special code used only in some places. At least Special:Properties does not show special properties in italics either.
Comment 9 [[kgh]] 2012-11-08 17:19:08 UTC
This works now. :) Still it would be good to have italics back since this is usually the only way to tell user generated and build in properties apart. Since there is a class ".smwbuiltin" for this it is perhaps not a big problem to reimplement.
Comment 10 Nischay Nahata 2012-11-08 19:02:13 UTC
https://gerrit.wikimedia.org/r/32403 Implements the italics :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links