| 779 |
|
if [ $LINK_NUM -lt $URL_START ]; then |
| 780 |
|
continue |
| 781 |
|
fi |
| 782 |
< |
|
| 782 |
> |
|
| 783 |
|
# Stop if we are at the limit declared for testing purposes |
| 784 |
|
if [ $URL_LIMIT -gt 0 ] && [ $LINK_NUM -gt $URL_LIMIT ]; then |
| 785 |
|
FINISHED_LIST="limit" |
| 1252 |
|
# Notify reader if we can use an intrawiki link for this URL |
| 1253 |
|
if [ $STATUS == "EI" ]; then |
| 1254 |
|
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 |
| 1259 |
|
valPrint ts " Just use [[$INTRA_PAGE]]" |
| 1260 |
|
valPrint rs " Just use [[$INTRA_PAGE]]" |
| 1261 |
|
valPrint hs "<tr><td colspan=\"2\" align=\"right\">Just use</td><td>[[$INTRA_PAGE]]</td></tr>" |