Last modified: 2008-03-14 13:17:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13350 - The type page for a built-in datatype should display smw_isknowntype (and smw_isaliastype) message
The type page for a built-in datatype should display smw_isknowntype (and smw...
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
Depends on:
  Show dependency treegraph
Reported: 2008-03-13 21:45 UTC by S Page
Modified: 2008-03-14 13:17 UTC (History)
0 users

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

patch to SMW_TypePage.php (1.76 KB, patch)
2008-03-13 21:45 UTC, S Page

Description S Page 2008-03-13 21:45:43 UTC
Created attachment 4712 [details]
patch to SMW_TypePage.php

The type page for a built-in datatype such as [[Type:Number]] should indicate if it's built-in.  There's already a message for this, smw_isknowntype ("This type is among the standard datatypes of this wiki.") which the factbox and Special:Types display.

Its behavior should match the property page for a special property such as [[Property:Has type]] display smw_isspecprop ("This property is a special property in this wiki.")

The type page should also detect and display smw_isaliastype, but that message needs the target of the alias and the code to determine it is in SMW_SpecialTypes.php rather than in SMW_DV_Types.

Patch attached (just for smw_isknowntype), I think it works.

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