Ignore:
Timestamp:
May 16, 2023, 3:10:09 AM (18 months ago)
Author:
iritscen
Message:

ValExtLinks now knows to recommend that a template or image intrawiki link start with a ':' so it's a clickable link.

Location:
Validate External Links
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Validate External Links/validate_external_links.sh

    r1182 r1183  
    780780      continue
    781781   fi
    782 
     782   
    783783   # Stop if we are at the limit declared for testing purposes
    784784   if [ $URL_LIMIT -gt 0 ] && [ $LINK_NUM -gt $URL_LIMIT ]; then
     
    12531253      if [ $STATUS == "EI" ]; then
    12541254         INTRA_PAGE=${URL#*://*/}
     1255         # If INTRA_PAGE starts with Category:, File: or Image:, prefix it with a ':' to make it a wikilink
     1256         if [[ $INTRA_PAGE == Category:* ]] || [[ $INTRA_PAGE == File:* ]]|| [[ $INTRA_PAGE == Image:* ]]; then
     1257            INTRA_PAGE=:${INTRA_PAGE}
     1258         fi
    12551259         valPrint ts "  Just use [[$INTRA_PAGE]]"
    12561260         valPrint rs "          Just use [[$INTRA_PAGE]]"
Note: See TracChangeset for help on using the changeset viewer.