-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1568 from RogerHaase/1554-metadata
removed Extra Metadata (JSON), replaced with Wiki Dick and User Group
- Loading branch information
Showing
11 changed files
with
149 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
= WikiDict = | ||
|
||
MOINTODO: There is no longer a way to add or view arbitrary metadata. This feature must be reworked. One suggestion is to follow moin 1.9 implementation and add data to item content rather than item metadata. | ||
This item is a WikiDict because the item name ends with "Dict" and it has metadata defined under the "Wiki Dict" heading that visible when this item is edited. | ||
|
||
This item is a WikiDict because it has a "somedict" defined in "extra" metadata: | ||
To add metadata enter key=value pairs one per line. | ||
|
||
{{{ | ||
{ | ||
"itemid": "932eec2324c3494c9ac8b9dcb2e46359", | ||
"namespace": "", | ||
"somedict": { | ||
"var1": "value1", | ||
"var2": "value2", | ||
"var3": "value3" | ||
} | ||
} | ||
var1=value1 | ||
var2=value2 | ||
var3=value3 | ||
}}} | ||
|
||
The above is used by the GetVal macro: | ||
|
||
{{{ | ||
<<GetVal(help-en/WikiDict, var1)>> | ||
<<GetVal(help-en/WikiDict, var1)>> | ||
}}} | ||
|
||
<<GetVal(help-en/WikiDict, var1)>> | ||
|
||
Clicking the Meta link under Item Views is an alternative way to view this item's metadata. | ||
|
||
{{{ | ||
Wiki Dict: {'var1': 'value1', 'var2': 'value2', 'var3': 'value3'} | ||
}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.