Per the suggestion of Tim Starling I implemented a way for extensions to display their credits on Special:Version ( see it live at http://commons.wikimedia.org/wiki/Special:Version ), to add your credits to the page just include the following in your extension:
$wgExtensionCredits[$type][] = array( 'name' => 'Example extension', 'author' => 'Foo Barstein', 'url' => 'http://wwww.example.com/Example%20Extension/', );
Where $type is one of 'specialpage', 'parserhook', or 'other'.
Happy hacking.
-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Wednesday 13 July 2005 01:54, Ævar Arnfjörð Bjarmason wrote:
Per the suggestion of Tim Starling I implemented a way for extensions to display their credits on Special:Version ( see it live at http://commons.wikimedia.org/wiki/Special:Version ), to add your credits to the page just include the following in your extension:
$wgExtensionCredits[$type][] = array( 'name' => 'Example extension', 'author' => 'Foo Barstein', 'url' => 'http://wwww.example.com/Example%20Extension/', );
Where $type is one of 'specialpage', 'parserhook', or 'other'.
What is the difference between these types?
Otherwise, way cool, wikimedia-graph will have this soon. Thanx!
Tels
- -- Signed on Wed Jul 13 18:39:19 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email.
I'm a Wei-wei-wei-wei-wei-wow-wow-wow-wow-wow-wow-wizzzaahrd...
-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Wednesday 13 July 2005 18:40, Tels wrote:
Moin,
On Wednesday 13 July 2005 01:54, Ævar Arnfjörð Bjarmason wrote:
Per the suggestion of Tim Starling I implemented a way for extensions to display their credits on Special:Version ( see it live at http://commons.wikimedia.org/wiki/Special:Version ), to add your credits to the page just include the following in your extension:
$wgExtensionCredits[$type][] = array( 'name' => 'Example extension', 'author' => 'Foo Barstein', 'url' => 'http://wwww.example.com/Example%20Extension/', );
Btw, it would be cool if the extension could also include a version number.
Best wishes,
Tels
- -- Signed on Wed Jul 13 19:20:12 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email.
"Trust us, Duke Nukem Forever will rock when it comes out next year." - Joe Siegler, 1999 (http://tinyurl.com/6m8nh)
On 7/13/05, Tels nospam-abuse@bloodgate.com wrote:
Btw, it would be cool if the extension could also include a version number.
Doh, I knew I forgot something, I'll implement that later, thanks.
On 7/13/05, Tels nospam-abuse@bloodgate.com wrote:
Where $type is one of 'specialpage', 'parserhook', or 'other'.
What is the difference between these types?
It identifies what type of extension it is, currently this is used to put extensions under different subheadings in Special:Version.
wikitech-l@lists.wikimedia.org