Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-8) was last changed on 23-Aug-2006 16:58 by Nascif Abousalh-Neto  

This page was created on 23-Feb-2003 22:01 by SantiagoGala

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 2 added one line
I hope this patch can be useful, at least it is for me.
At line 4 added one line
At line 19 changed one line
So, now you can say [[{UnusedPagesPlugin maxwidth=10}]
So, now you can say [[{UnusedPagesPlugin maxwidth=10}] or [[{UnusedPagesPlugin maxwidth=3 prelink=' ' separator=',' exclude='(.*blogentry.*|.*comments.*|NavMenu.*)'}]
At line 25 added 5 lines
I applied the code in ~IndexPlugin, changing it slightly to use regexp, so that I
can {{exclude='(NavMenu.*|.*blogentry.*|.*comment.*)'}}, for instance. This can be applied
to all inheriting classes, ~UnusedPages, ~UndefinedPages and ~ReferringPages
At line 32 added 13 lines
The ~Locale.~getInstance() call is broken for the Spanish Locale. So, I used rule based locale,
which gives a very fine control. See the [javadocs|http://java.sun.com/products/jdk/1.2/docs/api/java/text/RuleBasedCollator.html] for how
to use it.
{{separator='<z;Z<y;Y<x;X<w;W<v,V<u;ú;ü,U,Ú<t,T<s,S<r,R<q,Q<p,P<o;ó,O;Ó<ñ,Ñ<n,N<m,M<l,L <k,K<j,J<i;í,I;Í<h,H<g,G<f,F<e;é,E;É<d,D<c;ç,C;Ç<b,B<a;á,A;Á'}} will give reverse alphabetic sorting
for Spanish,
{{{
[{UndefinedPagesPlugin
prelink='# '
sortorder='<a;á,A;Á<b,B<c;ç,C;Ç<d,D<e;é,E;É<f,F<g,G<h,H<i;í,I;Í<j,J<k,K<l,L<m,M<n,N<ñ,Ñ <o;ó,O;Ó<p,P<q,Q<r,R<s,S<t,T<u;ú;ü,U,Ú<v,V<w,W<x,X<y,Y<z,Z'
}]
}}}
will generate a ''normal'' Spanish sort, with a numbered list of Undefined Pages.
At line 47 added 8 lines
I will change the implementation of ~IndexPlugin so that it uses this functionality.
!Missing
Maybe a {{foreach=5,foreachtext='\\'}} could be interesting.
{{separator=','}} is applied after every Link, so the last one has an extra ",". Difficult
to solve and be generic at the same time.
At line 373 added one line
Version Date Modified Size Author Changes ... Change note
8 23-Aug-2006 16:58 21.81 kB Nascif Abousalh-Neto to previous
7 23-Aug-2006 15:51 22.397 kB Nhdkgf to previous | to last
6 24-Feb-2003 00:48 21.81 kB SantiagoGala to previous | to last
5 23-Feb-2003 23:16 21.855 kB SantiagoGala to previous | to last
4 23-Feb-2003 23:13 21.734 kB SantiagoGala to previous | to last
3 23-Feb-2003 22:15 21.047 kB SantiagoGala to previous | to last
2 23-Feb-2003 22:13 21.002 kB SantiagoGala to previous | to last
1 23-Feb-2003 22:01 19.53 kB SantiagoGala to last
« This page (revision-8) was last changed on 23-Aug-2006 16:58 by Nascif Abousalh-Neto