Am Dienstag, den 29.05.2007, 21:03 +1000 schrieb John Beckett:
> Sebastian Menge wrote:
> >> Put the list of 1500 tip titles in one file, one title per
> >> line. Then edit that file to clean up the titles. Then run a
> >> script to rename each tip to match the cleaned-up title.
> >
> > One idea was that the editing can be done on the wiki. Just
> > edit the Errornames page :-)
> 
> Neat, but please give explicit directions if that's what you
> want. There's not much point in my editing the titles if you
> meanwhile are planning to use some other scheme.

Forget that, most problems came from slashes which could not be handled
by wikipediafs. I fixed that.

Other special chars get replaced by "__HASH__" or "__BRACKET__" and the
like. Ugly, I know.

> Also, we (actually, you, because it looks like you're doing all
> the work:), need to resolve the issue of exactly what is allowed
> in a title, and we should agree on some general guidelines.
> 
> I think the Wikipedia style of prominently saying something like
> "this page should be titled xxx but due to technical
> restrictions we can't do that" is too ponderous (although
> reasonable in their context).
> 
> Maybe we could have something more informal (if scriptable).
> For example: tip 249 in your errornames might be:
> 
> Title = C - Quickly insert precompiler directives
>   [I'm not very happy with this wording]
> But first line of the tip might say:
>   C/C++: Quickly insert #if 0 - #endif around block of code
> 

I decided for myself that I dont wont to do editorial work on the tips
or comments. So some pages will look ugly and have to be repaired
manually later. But its a wiki: I hope that will evolve naturally.

> > stable regexes for 1500 pages are not easy to do
> 
> I'm glad it's you and not me! It's hardly reasonable to come up

As you perhaps guessed its a bit of fun for me :-) I'm learning python,
I deepen my regex understanding etc. Its a nice study :-)

See my next post for details ...

S.


Reply via email to