How to contribute new features

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to contribute new features

Manuel Vázquez Acosta
Hi all,

A few weeks ago I was to set up a wiki, I choose mediawiki (1.5.3 was
the stable version these days) as the software. As I worked on the
project customers asked me for some modifications. I want to share
those with the comunity. Currently the patch is for version 1.5.3, but
if you think features are worthy I can create a patch for version
1.5.6 (current stable).

This a sumary of features:
1.  Added a initTemplate(&$tpl) method in SinkTemplate in order to
give a chance to subclases to init QuickTemplates in several ways.
2. Added 2 global vars to keep category pages from displaying the
header "Articles in category XXX" and no articles at all.
3. Added a 'talk' permission to allow wiki admins to restrict
anonymous access to pages in NS_TALK namespace.
4. Added 1 global var to control how firstChar() should behave in
order to create index entries in category page's listings. This, I
think, should be done other way, please read the comments in the
patch.

Files modified:
1. CategoryPage.php
2. DefaultSettings.php (in order to set the introduced permission and
global vars to current default values, this is, as if they never
existed)
3. SkinTemplate.php
4. Title.php (permissions are granted here)
5. Language.php and LanguageUtf8.php  (firstChar mod, see above)
6. LanguageEs.php (disposable)


I would like to hear comments.

Regards,
Manuel.

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Fwd: How to contribute new features

Manuel Vázquez Acosta
Hi all,

It seems this list does not allow attachments. So I published the patch on

http://www.chasqui.cu/staff/manu/2006/mediawiki/mediawiki-1.5.3-manu.bz2.

Regards,
Manuel.

---------- Forwarded message ----------
From: Manuel Vazquez Acosta <[hidden email]>
Date: Jan 30, 2006 10:31 PM
Subject: How to contribute new features
To: [hidden email]


Hi all,

A few weeks ago I was to set up a wiki, I choose mediawiki (1.5.3 was
the stable version these days) as the software. As I worked on the
project customers asked me for some modifications. I want to share
those with the comunity. Currently the patch is for version 1.5.3, but
if you think features are worthy I can create a patch for version
1.5.6 (current stable).

This a sumary of features:
1.  Added a initTemplate(&$tpl) method in SinkTemplate in order to
give a chance to subclases to init QuickTemplates in several ways.
2. Added 2 global vars to keep category pages from displaying the
header "Articles in category XXX" and no articles at all.
3. Added a 'talk' permission to allow wiki admins to restrict
anonymous access to pages in NS_TALK namespace.
4. Added 1 global var to control how firstChar() should behave in
order to create index entries in category page's listings. This, I
think, should be done other way, please read the comments in the
patch.

Files modified:
1. CategoryPage.php
2. DefaultSettings.php (in order to set the introduced permission and
global vars to current default values, this is, as if they never
existed)
3. SkinTemplate.php
4. Title.php (permissions are granted here)
5. Language.php and LanguageUtf8.php  (firstChar mod, see above)
6. LanguageEs.php (disposable)


I would like to hear comments.

Regards,
Manuel.
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l