Last modified: 2014-08-22 02:45:38 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 T31422, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29422 - Display of special properties in Special:Properties page is strange (1.8 beta2)
Display of special properties in Special:Properties page is strange (1.8 beta2)
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Markus Krötzsch
http://semantic-mediawiki.org/wiki/Sp...
:
: 41480 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-15 21:47 UTC by Yaron Koren
Modified: 2014-08-22 02:45 UTC (History)
6 users (show)

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


Attachments

Description Yaron Koren 2011-06-15 21:47:22 UTC
There are two strange things about how special properties currently appear in the Special:Properties page, as you can see here:

http://discoursedb.org/wiki/Special:Properties

First, the special properties all show up at the beginning of the list, instead of mixed in with the rest; and second, some of them show up as having type "Special:Types/".
Comment 1 Niklas Laxström 2011-12-16 14:01:53 UTC
Half of the bug is fixed in r106430.
Comment 2 Nischay Nahata 2012-10-31 17:32:01 UTC
Is this still a bug?
Comment 3 Yaron Koren 2012-10-31 18:52:15 UTC
Hi - yes, definitely. Actually, in some ways I think it's stranger than it was before. Here are the issues I see:

- The special properties all still show up at the beginning, instead of being sorted alphabetically with the rest.

- The standard display of each line now reads "9 of type Has color (String)". That doesn't make any sense to me. 9 of what - values? That conflicts with the header, which reads, "The following properties are used in the wiki." It should be a listing of properties, not property values. And calling "Has color" a type is confusing, because "String" is a type.

- Special properties defined by Semantic Forms and Semantic Drilldown are listed differently, for some reason - they show up as "Covers property (29)".

- The SF special properties "Has default form" and "Has alternate form" don't show up at all.
Comment 4 Nemo 2012-10-31 19:01:23 UTC
(In reply to comment #3)
> Hi - yes, definitely. Actually, in some ways I think it's stranger than it was
> before.

Compare bug 41480.
Comment 5 Nischay Nahata 2012-10-31 19:27:56 UTC
(In reply to comment #3)

Try applying https://gerrit.wikimedia.org/r/#/c/31024/ and comment there if anything is still not functional. The first two problems you mentioned should definitely be fixed.
Comment 6 Yaron Koren 2012-10-31 19:35:53 UTC
Ah! I just applied the change. I was really worried that the new wording represented a deliberate change, but now I realize that it was just text being displayed in the wrong order. (Which I should have figured out before.) The other issues are still there, though - including special properties showing up before the rest. (Though you could argue that that's a feature, not a bug.)
Comment 7 Nischay Nahata 2012-10-31 19:44:10 UTC
The special properties don't show before the rest for me. I tested this with both the stores, maybe someone else could also confirm this.
Comment 8 [[kgh]] 2012-10-31 20:36:14 UTC
*** Bug 41480 has been marked as a duplicate of this bug. ***
Comment 9 elindarie 2014-08-21 08:34:58 UTC
At htt://subnet.referata.com/wiki/Special:Properties (where "subnet" is something else), none of the Properties I entered with Special:CreateProperty show up, although I can list them one by one, e.g., http://subnet.referata.com/wiki/Property:Blahblah
Comment 10 Jeroen De Dauw 2014-08-21 23:20:10 UTC
When I visit http://subnet.referata.com/wiki/Property:Blahblah, I get

A database query error has occurred. This may indicate a bug in the software.

    Query:
    INSERT INTO `site_settings` (name,namespace,language_code,hours_timezone_offset,use_american_dates,use_24_hour_time,show_page_counters,use_subpages,allow_external_images,allow_lowercase_page_names,copyright_text,copyright_url,url_alias,use_liquid_threads,use_wysiwyg_editor,default_skin,background_color,sidebar_color,sidebar_border_color,logo_file,favicon_file,viewing_policy_id,registration_policy_id,editing_policy_id,questy_captcha_question,questy_captcha_answer,id,url,owner_id,db_name,created_at,service_level,delete_this,virtual_domain,custom_skin,google_analytics_id,google_verification_id,google_adsense_id,google_ad_slot,show_infobox,hide_main_edit_tab,rename_edit_tabs,use_drilldown_tag_cloud,tabs_for_categories) VALUES ('Referata','Referata','en','0','1','','1','','','','Creative Commons CC-BY-SA 3 license','http://creativecommons.org/licenses/by-sa/3.0/us/',NULL,'','','vector',NULL,NULL,NULL,NULL,NULL,'1','1','2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'basic','',NULL,NULL,NULL,NULL,NULL,NULL,'','','','','')
    Function: DatabaseBase::insert
    Error: 1048 Column 'url' cannot be null (localhost)
Comment 11 Yaron Koren 2014-08-21 23:29:09 UTC
Jeroen - sorry about that; that's a weird error message Referata currently displays when the subdomain doesn't exist. ("subnet" is not the real subdomain for elindarie's wiki, according to their post.)

Anyway, the whole thing is irrelevant because Referata is not using the latest version of SMW. Plus, the issue they're talking about is unrelated to the issue I reported.

But since we're on the subject, elindarie - it could be that the properties you created are only to be found in the page Special:UnusedProperties, until you use them.
Comment 12 elindarie 2014-08-22 02:45:38 UTC
Yes, you're right about the properties showing up in Special:UnusedProperties - I hadn't added any data yet.  Thank you!

Another thing, maybe related, is that at

http://scratchpad.referata.com/wiki/Special:Properties

it doesn't show all the properties.  There are probably over a thousand, but only 47 are shown.  Is this fixed in later versions of SMW?

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


Navigation
Links