I like the proposed improvements to the tip template, but I'm a little wary
about a tip template for new tips.  How exactly do you propose that that
would work?  From what I understand, any tips we want to keep would be given
this template.  But what about tips that don't get reviewed within the time
period you suggest?  Do they just get deleted?  I think that a good solution
may be to count any tips without a tip template as needing review, similar
to the way in which all imported tips have the "review" template applied
right away.  Is there a way to automatically insert the review template, or
would we need to detect the absence of a tip template?  Can we even do that?

This also does not address the issue of people that just enter a tip and put
in the template themselves.

Oh, and if you can make improvements as part of the script like moving the
category or replacing html entities, that would also be great.  I see no
reason not to do that.

On 10/22/07, John Beckett <[EMAIL PROTECTED]> wrote:
>
> As mentioned a couple of weeks ago, I propose running a script that will
> progressively change the {{Tip}} template used on imported tips. I also
> have
> developed another template that I propose will be used for new tips that
> we
> intend to keep. However, I'm less concerned about fixing the new tips, and
> will not be pursuing that at the moment.
>
> The main motivation for changing the Tip template is to remove the 'text'
> argument so that the tip body is no longer an argument to the template.
> Then
> we won't have to worry about pipe characters or double braces in the tip.
> If
> we keep the current template, we have to fix all the existing tips which
> use
> the problematic characters, *and* we have to worry about the tips being
> broken by future editing.
>
> The imported tips have numbers from 1 to 1504. In that range, over 280 are
> missing (spam deleted on vim.org, or other glitches, or tips we've
> deleted).
> Another motivation for changing the Tip template is to improve the tip
> navigation so that Previous and Next will skip the missing tips.
>
> I intend taking advantage of this opportunity to do some other processing:
> Trim trailing spaces; replace '&#35;' with '#'; maybe manually inspect
> '--AT--' and replace with '@', or delete if an email address; maybe move
> [[Category]] to the end of each tip.
>
> See the following for examples and more details:
> http://vim.wikia.com/wiki/User:JohnBeckett/Tip_templates_project
>
> Please let me know if you like or dislike the proposals.
>
> John
>
> _______________________________________________
> Vim-l mailing list
> Vim-l@wikia.com
> http://lists.wikia.com/mailman/listinfo/vim-l
>
_______________________________________________
Vim-l mailing list
Vim-l@wikia.com
http://lists.wikia.com/mailman/listinfo/vim-l

Reply via email to