Widget:Ohloh Project

From COPTR
Revision as of 22:21, 25 May 2021 by Rcdeboer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This widget allows you to add Ohloh Project Widgets to your wiki page.

It was created by Sergey Chernyshev.

It was copied from http://www.mediawikiwidgets.org/Widget:Ohloh_Project

To insert this widget, use the following code:

{{#widget:Ohloh Project|id=mediawiki-widgets|type=thin_badge}}

Parameters

  • id is a number or string in project profile page URL
  • type is a one of the following:
    • users - users voting button
      • use optional style parameter to change the style of the voting button (gray, red, green, blue, rainbow)
    • thin_badge (default) - Thin Badge
    • partner_badge - Partner Badge
    • languages - Languages summary
    • cocomo - Cocomo cost summary
    • factoids - Project Factoids
    • basic_stats - Project Stats

Sample result

Voting button

{{#widget:Ohloh Project|id=mediawiki-widgets|type=users|style=rainbow}}
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt66374b9ea07135_65383515

Thin Badge

{{#widget:Ohloh Project|id=mediawiki-widgets|type=thin_badge}}
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt66374b9ea463c3_41684607

Partner Badge

{{#widget:Ohloh Project|id=mediawiki-widgets|type=partner_badge}}
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt66374b9ea75a26_95008267

Languages summary

{{#widget:Ohloh Project|id=mediawiki-widgets|type=languages}}
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt66374b9eab00c0_11259429

Cocomo cost summary

{{#widget:Ohloh Project|id=mediawiki-widgets|type=cocomo}}
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt66374b9eae0ce7_03585250

Project Factoids

{{#widget:Ohloh Project|id=mediawiki-widgets|type=factoids}}
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt66374b9eb0f3d7_98282591

Project Stats

{{#widget:Ohloh Project|id=mediawiki-widgets|type=basic_stats}}
Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt66374b9eb4f8f8_60829191