Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-2592

Shell script to update wiki pages

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None

    Description

      It has come to my attention that many pages on the wiki now use the older tags 
      <tt> and <code> instead of the newer {{c|}}. Similarly, many pages still use 
      <console> instead of {{console}}. I have written a script that uses sed to find these
      problems in pages and automatically fix them. The current way I use the script is 
      somewhat cumbersome, as I have to go to the editing view of every page, copy all of 
      the page's content, paste that content into a file on my computer, and then run the 
      shell script on that file. I was wondering if there was any way to upload this to the 
      computer that runs the Funtoo wiki so that it can automatically search through all of the
      files on the wiki, replacing old tags with new templates as it goes?
      I have attached the script.
      

      Attachments

        Activity

          People

            drobbins drobbins
            duncan.britton duncan.britton@outlook.com
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: