Completely ignoring the progress on the according meta page, I went
ahead and created a database feature for the wiki.
It is in CVS HEAD. You'll have to run the two CREATE queries (in
SpecialData.php, as a comment) and set $wgUseData = true ; in your
LocalSettings.php
A new "Data" namespace contains the display/edit form for entering the
data sets. NOTE: This is mono-language only at the moment, but I don't
see a problem in either putting many language versions into it, or use
data namespaces from several databases.
Example [[Data:Movie]] :
{| cellpadding=5
!Field!!width='50%'|Value!!Notes
|-
|Title||((!title/line))||
|-
|Year||((year/number))||
|-
|Tagline||((tagline/line))||
|-
|Plot summary||((plot/multiline))||
|-
|Actors||((actors/multiline))||
|-
|Runtime||((runtime/number))||min
|-
|Country||((country/line))||
|-
|Color||((color/dropdown/Technicolor/B&W))||
|}
This display similar to the mock-up I found on meta. Keys are defined
like ((this)), parameters for the edit screen are separated by a "/".
Note the multiple options for the ((color)) key, and the ((!title)) key,
where the "!" defines the primary key.Multiple versions (history) are
made on entries with the same primary key. Currently, only one primary
key is allowed, but it would be no real problem to change that.
The actual data entry/display is done via Special:Data. At the moment,
it can already add data using the above form, preview it, and store it
with multiple revisions (like wiki). I have started minimal work on
listing entries, but will probably continue later today.
Now begin stomping me for just hacking this without informing anyone
first ;-)
Magnus