PaypalDonationExtension-Progress
From PeacockWiki
(Difference between revisions)
Revision as of 23:16, 8 April 2007 (edit) Trevorp (Talk | contribs) ← Previous diff |
Current revision (12:22, 9 April 2007) (edit) Trevorp (Talk | contribs) (→Files) |
||
Line 18: | Line 18: | ||
*progressbar.php | *progressbar.php | ||
*:Generates GIF progress bar image | *:Generates GIF progress bar image | ||
+ | *font.pfb | ||
+ | *:The font used in generating the images | ||
==Usage== | ==Usage== | ||
Line 37: | Line 39: | ||
==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== |
Current revision
Adds a progress bar to each page showing how much of this months costs are met.
Contents |
[edit]
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
[edit]
Features
- Adds an image to the top of wiki pages in selected namespaces.
- Generates a bar graph comparing expences and income
[edit]
Design
This extension requires PaypalDonationExtension and PaypalDonationExtension-Finance to be installed.
[edit]
Files
- pp_progress.php
- Adds progress bars to wiki pages
- progressbar.php
- Generates GIF progress bar image
- font.pfb
- The font used in generating the images
[edit]
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.
[edit]
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
- Extension functions:
- Hooks:
- OutputPageBeforeHTML: InsertProgress
- SkinTemplateSetupPageCss: ProgressBarCss
[edit]
Releases
[edit]
Todo
- Cache the generated image so it isn't rendered for every view.
[edit]
RoadMap
PaypalDonationExtension-Progress/RoadMap Full RoadMap
[edit]
History
PaypalDonationExtension-Progress/History Full History
[edit]