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.
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
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
with one script that correctly formats all of the existing
pages. I imagine a fair bit of manual tweaking will be needed.
If you gave me a couple of days over a weekend when it's quiet
here, I might be able to do a fair bit (I sent over 260 typos
to Bram which he incorporated in the 7.1 release, so I can
occassionally cope with tediousness).
OTOH we can all do that after the initial import. I can download
all 1500 tips from wikia, and determine if any still have html
(what will wikia do to html tags??), and fix them then.
John