User:Konzertheld/Plugins with features

From Habari Project

Jump to: navigation, search

Contents

Thoughts

<Konzertheld> okay. so i should use features 1. if i provide some api-like functionality that could be used by other devs. 2. if i want other devs to be able to require my feature like you just gave an example. 3. if a user might not want another plugin providing the same functionality like mikelietz just said. http://drunkenmonkey.org/irc/habari/2013-01-16#T16-12-29

So, a plugin will / should not contain features in it's xml when it is designed for a single case that is unlikely to be provided by another plugin, unlikely to conflict and has no parts capable of being re-used by other plugins.

  • Plugins should always require features provided by Core so they do not work if the used core version does not yet or no longer provide that feature. Mind that plugins should not do that when tagged for habari core versions not yet supporting features.
  • Is block a core feature, hence required by plugins, or a feature plugins provide?

Plugins that propably don't provide or use features

browserupdate

Displays a Javascript hint if the browser is outdated. I guess this one has no features.

crontabmanager

Manages cron. No features but an admin tool.

hconsole

Live debugging. No feature but should be tagged as admin tool.

nameguard

Prevent users from commenting under a registered user's name.

slugsync

Update the slug when the title is changed.

Plugins I'm quite sure provide or use features

blogroll

  • content type
  • Post info
  • blogroll

dashpresets

  • Dashblock
  • Presets

draftdashmodule

  • Dashblock

eventscontent

  • Content type
  • Post info
  • events

freshcomments

  • block
  • latest comments

featuredarticles

Mark articles featured so a hand-picked collection of posts is available.

  • block
  • post info

piwik

Adds piwik javascript and dash analytics.

  • dashblock

recaptcha

Modifys the comment form. Comment posting control.

  • recaptcha

RN-Block-Tag-Cloud

rnbtagcloud

  • block

scheduleddashmodule

  • dashblock

simpleblacklist

  • spamcheck

Plugins that might be changed so they provide features

folder2gallery

One-click gallery creation from folders directly in the editor. Might become obsolete in the future.

  • gallery

picasasilo

  • picasa
  • silo
  • image hosters/services

The rest

allposts

Adds a rewrite rule that will then display all posts. Users can define what that means.

  • rewrite rules

bricks

Allows users to use text snippets {foobar} in their post.

  • post modification
  • text snippets

extendedlog

Extended log information. Requires log, but well...

footnotes

  • text snippets

gravatar

  • gravatar

metaseo

  • post info

preapproved

Auto-approve comments. Several plugins offer comment moderation. Might be something for features.

tabasamu

  • Smileys
  • text snippets

tagtray

Admin extension. Requires tags?

thickbox

Javascript image viewer. Suggests galleries?

userfields

  • user info

Further thoughts

  • TheViewInside makes much use of galleries and images. It should require at least one gallery plugin. Galleries then must provide a single API to access their content (hence the listing under "could be changed").
Personal tools