Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is made in reference to: #
This PR addresses or contains:
o_hash
field)teSt
,TEST
, ortest
the normalized version will always match the keywordtest
independent of anySMW_FIELDT_CHAR_NOCASE
or the full-text index settings[[Formatter rule:...]]
) which will self link any keyword to alink_to
target (which can either be aSpecial:SearchByProperty
orSpecial:Ask
) to have immediate access to entities that have the same normalized keyword annotatedKeyword
as property has been added tosmwgDataTypePropertyExemptionList
so thatProperty:Keyword
is not automatically occupied and doesn't override any existing user properties with the same nameThis PR includes:
Why?
Users apply the
#lc
parser function to normalize texts and in a later phase format those via a template to help generate query links. Both functions#lc
and templates can lengthen the parser time of a page therefore the keyword type and hereby any property defined as such should help minimize the work related to it.Formatter rule
Any keyword typed property can have its own formatter rule assigned which defines how links should be generated where #3017 was added to allow those links to become compact and easier to handle from a user point of view.
Link to
Special:Ask
with formatlist
Link to
Special:Ask
with formattable
and showHas description
as printout.Link to
Special:SearchByProperty
with no parameters required (the link definition is clear by just being a property and a value).Example