From: Yaron K. <ya...@wi...> - 2011-10-26 18:29:01
|
If the Replace Text thing doesn't work, I believe you could also do this by writing a script that calls the "sfautoedit" API action on all those pages: http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Modifying_pages_automatically -Yaron On Wed, Oct 26, 2011 at 2:24 PM, Matt Goff <go...@na...> wrote: > > In this case it's not quite as bad as all that, opening and saving > manually does work, as I've just added templates into the middle of the > page - and haven't changed template names for what's already there. I'll > see if I can figure out how to use Replace Text to get the bulk of the > changes done, otherwise I'll be manually opening and saving 2 or 3 > thousand pages. This is do-able, but pretty tedious. > > Thanks, > > Matt > > On Wed, 26 Oct 2011 01:43:18 -0800, Stephan Gambke <s7...@gm...> > wrote: > >> Hi Matt, >> >> there is no automatic application of forms. In fact, with changed >> template names, just opening and saving pages manually will not help >> you either. In this case all fields will show up empty and the old >> template calls will be stored as free text. >> >> The best chance for you might be to use the Replace Text [1] extension >> and replace the old template names by the new ones (assuming the >> parameter names are the same or can be replace, too). >> >> Stephan >> >> [1] http://www.mediawiki.org/wiki/Extension:Replace_Text >> >> On 26 October 2011 11:16, Matt Goff <go...@na...> wrote: >>> >>> I think this may have been asked before, but I haven't been able to find >>> the answer. >>> >>> I've made some significant modifications to forms for pages which >>> include >>> changes to which templates will be used on the pages. I would like to >>> know if there's a way of updating all of the pages automatically with >>> the >>> new form without needing to manually edit with form and then save each >>> page. > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |