On 10/07/10 03:29, TJ Frazier wrote:
The problem with FlaggedRevs is that it is designed for /quality/
control, not /version/ control; I'm afraid it's not suitable for our
purposes.
Yes, you and Freek are right :-P
May I suggest a script that does the following:
The main routine takes a Guide name as a parameter, and calls a
subroutine which:
1) Takes as input a page name (like,
[[Documentation/OOo3_User_Guides/Writer_Guide]])
2) Adds this name to a table, excluding duplicates (exits, or proceeds
conditionally)
3) Finds the TOC call on that page (warns if none found)
4) For each page in the body of the TOC call, calls itself recursively.
When the table is completely built, for each entry, the main routine
calls a subroutine which:
5) examines each table page for existing version marker; deletes if found.
6) adds to each table page a version marker (icon or text) up near the
top, like "<!--Version Marker-->(V3.3)", with an edit summary like,
"updated to V3.3 (bot)".
This could certainly be done. it' snot so difficult to send the WikiBot over
sections of the Wiki. We have a fairly accurate list of what Wiki pages are in a
specific book... the TOC. A simple cleanup of the TOC file will produce a file
for the WikiBot to parse (strip extra Template bits and simplify the page
links). The Wikibot can then pass over the pages and add contents or change
contents - in the example you provided TJ, it could add the link for a Template
which flags the page for a specific version.
If we want to nail down the guides on the Wiki to a specific version it may be
easier to protect the 3.2 guides and start clean with 3.3. Not sure... just one
way since there really is no "version control" on Wikis (not designed for that).
In theory, if all versions were so marked, we could even print a book
for any given version. In practice, a user should be able to find the
older version in the History tab for any particular page. We may want a
Help entry on how to do this, and a reference to that on the Doc page.
You "can" do this by linking the Book file to the specific page in the history.
it's messy to do this... but it's possible using current Wiki tools.
C.
--
Clayton Cornell [email protected]
OpenOffice.org Documentation Project co-lead
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]