Last modified: 2008-03-14 13:17:57 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 T15350, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
http://semantic-mediawiki.org/wiki/Ty...
:
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links