Administration: Add entensions
-
This application allows to create 5 types of polls:
- simple choice
- multiple choice, with the possibility of limiting the number of choices per voter
- multiple weighted choice, with the possibility of limiting the number of choices per voter: users can assign weights to the options, and the weights need to sum up to 100%
- rating: users are asked to assign ratings from 0 to MAX to all the options
- ranking: users are asked to order the options (higher = better)
Additionally, it provides a Poll wiki macro allowing to display the results of a poll in another wiki page.
-
This is a shortcut for
Script Macro equivalent to { { script language='ruby' } } for executing ruby scripts.
{{ruby}}
require 'java'
include_class 'java.util.TreeSet'
set = TreeSet.new
set.add 'foo'
set.add 'Bar'
set.add 'baz'
set.each do |v|
puts 'value: #{v}'
end
{{/ruby}}
See the
Script Macro for details.
{{ruby}}
if XWiki.XWikiGuest != 'XWiki.XWikiGuest' then
puts 'Hello [[#{XWiki.XWikiGuest}]]!'
else
puts 'You are not logged in!'
end
{{/ruby}}
-
XWiki Rendering Macro Ruby
2.4.3
org.xwiki.platform:xwiki-core-rendering-macro-ruby
-
JRuby
1.5.0
org.jruby:jruby
-
JLine
1.5.0
jline:jline
-
Joni
1.1.4
org.jruby.joni:joni
-
JCodings
1.0.4
org.jruby.jcodings:jcodings
-
Jnr-netdb
1.0
org.jruby.extras:jnr-netdb
-
Jnr-posix
1.1.3
org.jruby.ext.posix:jnr-posix
-
Bytelist
1.5.0
org.jruby.extras:bytelist
-
Constantine
0.6
org.jruby.extras:constantine
-
jffi
1.0.1
org.jruby.extras:jffi
-
jaffl
0.5.1
org.jruby.extras:jaffl
-
-
-