PaypalDonationExtension-Progress

From PeacockWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 23:16, 8 April 2007 (edit)
Trevorp (Talk | contribs)

← Previous diff
Revision as of 23:17, 8 April 2007 (edit)
Trevorp (Talk | contribs)

Next diff →
Line 37: Line 37:
==Releases== ==Releases==
===Todo=== ===Todo===
-{{:PaypalDonationExtension-FinanceReports/Todo}}+{{:PaypalDonationExtension-Progress/Todo}}
-[[PaypalDonationExtension-FinanceReports/Todo|Full Todo]]+[[PaypalDonationExtension-Progress/Todo|Full Todo]]
===RoadMap=== ===RoadMap===
-{{:PaypalDonationExtension-FinanceReports/RoadMap}}+{{:PaypalDonationExtension-Progress/RoadMap}}
-[[PaypalDonationExtension-FinanceReports/RoadMap|Full RoadMap]]+[[PaypalDonationExtension-Progress/RoadMap|Full RoadMap]]
===History=== ===History===
-{{:PaypalDonationExtension-FinanceReports/History}}+{{:PaypalDonationExtension-Progress/History}}
-[[PaypalDonationExtension-FinanceReports/History|Full History]]+[[PaypalDonationExtension-Progress/History|Full History]]
==Source Code== ==Source Code==

Revision as of 23:17, 8 April 2007

Adds a progress bar to each page showing how much of this months costs are met.

Contents

Details

  • Version 0.1
  • Date 9 Apr 2007
  • Tested on MediaWiki 1.7.1, PHP 5.1.6 (apache2handler), MySQL 5.0.24a-Debian_9ubuntu0.1-log

Features

  • Adds an image to the top of wiki pages in selected namespaces.
  • Generates a bar graph comparing expences and income

Design

This extension requires PaypalDonationExtension and PaypalDonationExtension-Finance to be installed.

Files

  • pp_progress.php
    Adds progress bars to wiki pages
  • progressbar.php
    Generates GIF progress bar image

Usage

Once installed, a small graph will appear at the top of each page. This bar also links to Project:Site_support, which should explain what the graph means, and how to donate to the wiki.

Installation

Copy the two files into the same location as the paypal extension (extensions/paypal/). The file will be automatically detected and loaded

File will be automatically detected

You should see the following items:

  • Extensions:
    • Extension functions:
      • paypalSetupProgress
  • Hooks:
    • OutputPageBeforeHTML: InsertProgress
    • SkinTemplateSetupPageCss: ProgressBarCss

Releases

Todo

  • Cache the generated image so it isn't rendered for every view.

Full Todo

RoadMap

PaypalDonationExtension-Progress/RoadMap Full RoadMap

History

PaypalDonationExtension-Progress/History Full History

Source Code

Personal tools