Difference between revisions of "Development guidelines"
(→Simple Template) |
(→Simple Template) |
||
Line 94: | Line 94: | ||
=== Simple Template === | === Simple Template === | ||
− | This style of templates is for debugging purposes and not for end user display. It can be easily generated with a few lines of python and an smw query. See also https://www.confident-conference.org/r/wiki/index.php?title=Template:Process&action=edit for more specific additions like <nowiki>#if</nowiki> and handling | + | This style of templates is for debugging purposes and not for end user display. It can be easily generated with a few lines of python and an smw query. See also https://www.confident-conference.org/r/wiki/index.php?title=Template:Process&action=edit for more specific additions like <nowiki>#if</nowiki> and handling elements with multiple allowed entries |
<source lang='bash'> | <source lang='bash'> | ||
<noinclude> | <noinclude> |
Revision as of 10:31, 19 November 2020
Contents
Guidelines
Proposed and tested
- Maintained Templates should be put in the Category:Template
- all relevant Properties should be set via Templates/Forms -> make systematic handling possible
- make sure this holds true for Meta-Properties e.g Property:Homepage
{{Property|has type=URL|isA=Property|used for=Concept:Event}}
- make sure this holds true for Meta-Properties e.g Property:Homepage
- use bots like wikipush, wikiedit, wikinuke, wikiupload, wikuser to do mass changes of pages e.g. adding the source "WikiCfP" information to pages imported from WikiCfp
This CfP was obtained from [http://www.wikicfp.com/cfp/servlet/event.showcfp?eventid=3864©ownerid=2 WikiCFP]
=>[[Source::wikicfp]][[eventId::3864]]
=>{{Event|...|Source=wikicfp|eventId=3864| ...}}
- use WikiFarm for creating development copies e.g. prod 1x /dev 1x /test (1x per developer)
- Mapping to Aeon of properties is done via Property:mapsToAEON which for the time being references the vanilla wiki property according to https://wiki.tib.eu/jira/browse/CONFIDENT-242
Copy of Openresearch
Main Entities only
wikipush -l -s or -t test -q "[[isA::Event]]"
copying 8848 pages from or to test
1/8848 ( 0%): copying 3DUI 2020 ...✅
2/8848 ( 0%): copying 3IA 2009 ...✅
3/8848 ( 0%): copying 3PGIC 2010 ...✅
4/8848 ( 0%): copying 4S4D 2017 ...✅
5/8848 ( 0%): copying 5GU 2017 ...✅
6/8848 ( 0%): copying 5GWN 2017 ...✅
7/8848 ( 0%): copying AAAI 1980 ...✅
8/8848 ( 0%): copying AAAI 1982 ...✅
9/8848 ( 0%): copying AAAI 1983 ...✅
10/8848 ( 0%): copying AAAI 1984 ...✅
11/8848 ( 0%): copying AAAI 1986 ...✅
...
wikipush -s or -t test -q "[[Category:Event series]]"
copying 1029 pages from or to test
1/1029 ( 0%): copying 3DUI ...✅
2/1029 ( 0%): copying AAAAECC ...✅
3/1029 ( 0%): copying AAAI ...✅
4/1029 ( 0%): copying AAMAS ...✅
5/1029 ( 0%): copying ACAH ...✅
6/1029 ( 1%): copying ACC ...✅
7/1029 ( 1%): copying ACCV ...✅
8/1029 ( 1%): copying ACE (DIMEA) ...✅
9/1029 ( 1%): copying ACIIDS ...✅
10/1029 ( 1%): copying ACIVS ...✅
11/1029 ( 1%): copying ACL ...✅
Properties
Only the ones used in templates. See e.g. PropertyUsage
isA Property
see Property:isA
{{#ask: [[isA::Property]] }}
Abstract deadline, Accepted papers, Acronym, Attendance fee currency, Attendance fee reduced, Camera ready due, Cfp, DBLP-venue-ID, DID, DOI landing page, DblpSeries, Demo deadline, Early bird regular, Early bird student, End date, Event in series, Event status, Event type, Event type other, EventSeries acronym, Extension name, Extension purpose, Extension since, Extension url, Extension wiki, Fixme done, Fixme todo, GND-ID, Has Average 5y Acceptance Rate, Has Average Acceptance Rate, Has CORE Rank, Has Keynote speaker, Has OC member, Has PC chair, Has PC member, Has Submitting link, Has coordinates, Has coordinator, Has demo chair, Has general chair, Has local chair, Has location city, Has location country, Has location state, Has person, Has program chair, Has publication chair, Has publicity chair, Has sub event, Has subject... further results
Entity List
{{EntityList|type=Property}}
111 Property
used For
{{#ask: [[used for::+]] |?used for }}
Event series
{{Event series | acronym = | Title = | Field = }}
Pushing Properties
wikipush -s or -t test -p "Property:isA" "Property:used for" "Property:Acronym" "Property:Title" "Property:Start date" "Property:End date" "Property:Homepage" -f
copying 5 pages from or to test
1/5 ( 20%): copying Property:Acronym ...✅
2/5 ( 40%): copying Property:Title ...✅
3/5 ( 60%): copying Property:Start date ...✅
4/5 ( 80%): copying Property:End date ...✅
5/5 ( 100%): copying Property:Homepage ...✅
Simple Template
This style of templates is for debugging purposes and not for end user display. It can be easily generated with a few lines of python and an smw query. See also https://www.confident-conference.org/r/wiki/index.php?title=Template:Process&action=edit for more specific additions like #if and handling elements with multiple allowed entries
<noinclude>
= Usage =
<pre>
{{Event
|Acronym=ATDM 2009
|Title=2nd International Workshop on Agent Technology for Disaster Management
|Type=Workshop
|Field=Artificial intelligence
|Superevent=PRIMA 2009
|Start date=2009/12/13
|End date=2009/12/13
|Homepage=doesnotunderstand.org/wikka.php?wakka=ATDM2009
|City=Nagoya
|Country=Japan
|Submission deadline=2009/09/15
}}
</pre>
== Example ==
{{Event
|Acronym=ATDM 2009
|Title=2nd International Workshop on Agent Technology for Disaster Management
|Type=Workshop
|Field=Artificial intelligence
|Superevent=PRIMA 2009
|Start date=2009/12/13
|End date=2009/12/13
|Homepage=doesnotunderstand.org/wikka.php?wakka=ATDM2009
|City=Nagoya
|Country=Japan
|Submission deadline=2009/09/15
}}
</noinclude><includeonly>
{| class="wikitable sortable"
|+ Event
|-
! Name !! Value
|-
| [[Property:isA|isA]] || [[isA::{{{isA|Event}}}]]
|-
| [[Property:Acronym|Acronym]] || [[Acronym::{{{Acronym|}}}]]
|-
| [[Property:Title|Title]] || [[Title::{{{Title|}}}]]
|-
| [[Property:Start date|Start date]] || [[Start date::{{{Start date|}}}]]
|-
| [[Property:End date|End date]] || [[End date::{{{End date|}}}]]
|-
| [[Property:Homepage|Homepage]] || [[Homepage::{{{Homepage|}}}]]
|-
| ... || ...
|}
[[Category:Event]]
</includeonly>