Le Mercredi 26 Avril 2006 23:56, Tels a écrit :
Moin,
On Wednesday 26 April 2006 23:46, Brion Vibber wrote:
fred wrote:
I'm currently pushing my company to adopt mediawiki as our main collaborative working tool. I'm looking for a way to automaticaly create an article containing a list of permanent links pointing to specific versions of articles. It could be a category but this category should be "frozen"; the category should list the articles versions frozen at time T.
In short, I'm trying to "tag" (as in cvs or subversion) a list of articles.
Is it feasible with mediawiki? Maybe using some Bots?
If you're in the database, you can get the current revision number of each page from its page_latest field. You can then make a list of links using the 'oldid' URL parameter, and store it however you like.
And the best way would probably to write a new SpecialPage, call it SpecialFreezeList or something.
User could then select which articles need "freezing" and where to store the list linking to these revisions.
Thanks you very much for your answers/suggestions. I've been scratching my head about this problem since yesterday.
The problem is that if I freeze an article, I WON'T freeze children articles whose link is mentionned in the frozen article...Anoying...
If think the best way to go is to tag my whole mediawiki website using subversion each time I wan't to freeze it.
Then if I want to go back, I restore the whole site... no other satisfying solutions for the moment.
My only wish left is to create a bot that would fill the summary of a list of article with something like "VERSION 1.0".
Is this a difficult bot to write ? Any rough example around ?
sheers
Fred