As an anonymous user, you can only add new data. If you would like to also modify existing data, please create an account and indicate your languages on your user page.
User:MartinMai/vocabulary viewer
From OmegaWiki
Contents |
[edit] what should it do for the start
(things marked with (m2) are shifted to the next milestone)
- let people run a kind of vocabulary flash card box on omegawiki
- usage example 1
- (working) create an account (optional)
- (working) set the target language you want to train (label "Questions")
- set language*s you can understand (at "Answers" more fields than one)
- (working) select collection you like to get words from (something like OLPC-basic vocabulary)
- start and see only definition in target language (and also expression if show expression turned on)
- (optional) switch to show expression or definition first, default might be definition
- think wheter you know it, klick to see more: unhide expression in target language (curently it already shows the expression before)
if you like, klick to see even more e.g. expression and definition in the known language*s- (already possible at steps before) , Display the "peek" Button at teh same level as the answer textfiled
- set repetition status of that card (values like "I know it", "repeat never anymore", "repeat" (m2), "repeat more" (m2) "repeat less" (m2))
- go to next card
- usage example 2
- (working) get directly linked to a selected collection: ?defaultCollection=376322
- usage example 3
- klick a word with a special link to a defined-meaning in omegawiki (tagged by an author or a parser in some text , this ) and see a small window showing information from omegawiki (voc viewer mode). ?dmId rigth now perhaps ?expression (mk2)
have a button like "remember this, repeat this"optional switch to trainer mode(only one mode atm)
[edit] how to realize
- upload it somewhere to svn.mediawiki.org if possible
- we can use 141.13.22.236 for development
- use perhaps pear/auth for user management
- css hooks... (we will get html /css from clkm.de), first we could model all card content as ul / li like in the mokup
- links from text http://cms-sprachlabor.split.uni-bamberg.de/typo3/index.php?id=18118 (click links in te text tehre)
- trainer view in normal window http://141.13.22.238/wau/wau_0_5/ow/retrieve_neu.php
- the api tested for that in User:MartinMai/vocabulary_viewer/mokup_code
user properties user level
- uid
- login name
- password
- babel information (perhaps later), for social bookmarking
- preferences data (perhaps later)
flachcard properties
- user_uid
- dm-id
- trained-language
- flashcard status (i know it | repeat never anymore| repeat less | repeat more ...)
- note (perhaps later)
- alternative definition ... (perhaps later)
[edit] known problems / check this
- what if a definition or expression is not present in the choosen language (would be good not to return such definitions when choosing a random one by the api)
- implement that at API level ?
[edit] design
[edit] settings form
[edit] mokup screenshots
Example [1]
[edit] How to use
- How to embedd in pages
<script type="text/javascript">
function FensterOeffnen (Adresse) {
MeinFenster = window.open(Adresse, "Zweitfenster", "width=300,height=400,left=100,top=200");
MeinFenster.focus();
}
</script>
... <a href="http://141.13.22.238/wau/wau_migration/ow/retrieve.php?url=DefinedMeaning%3Atrimestrale_%28468796%29" onclick="FensterOeffnen(this.href); return false">[i]</a> ...




