516 internal links (#20428)

Convert all (appropriate) links to use the required `byond://` for 516

Added a grep to detect incompatible ones
This commit is contained in:
Fluffy
2025-02-20 22:54:10 +00:00
committed by GitHub
parent f09ec22549
commit 3185c10cf1
223 changed files with 1397 additions and 1398 deletions
+4 -4
View File
@@ -41,7 +41,7 @@ GLOBAL_LIST_INIT(adminhelp_ignored_words, list("unknown","the","a","an","of","mo
if(!(word in GLOB.adminhelp_ignored_words))
if(word == "ai" && !ai_found)
ai_found = 1
msg += "<b>[original_word] <A HREF='?_src_=holder;adminchecklaws=[REF(mob)]'>(CL)</A></b> "
msg += "<b>[original_word] <A href='byond://?_src_=holder;adminchecklaws=[REF(mob)]'>(CL)</A></b> "
continue
else
var/mob/found = ckeys[word]
@@ -52,10 +52,10 @@ GLOBAL_LIST_INIT(adminhelp_ignored_words, list("unknown","the","a","an","of","mo
if(found)
if(!(found in mobs_found))
mobs_found += found
msg += "<b>[original_word] <A HREF='?_src_=holder;adminmoreinfo=[REF(found)]'>(?)</A>"
msg += "<b>[original_word] <A href='byond://?_src_=holder;adminmoreinfo=[REF(found)]'>(?)</A>"
if(!ai_found && isAI(found))
ai_found = 1
msg += " <A HREF='?_src_=holder;adminchecklaws=[REF(mob)]'>(CL)</A>"
msg += " <A href='byond://?_src_=holder;adminchecklaws=[REF(mob)]'>(CL)</A>"
msg += "</b> "
continue
msg += "[original_word] "
@@ -111,7 +111,7 @@ GLOBAL_LIST_INIT(adminhelp_ignored_words, list("unknown","the","a","an","of","mo
//Options bar: mob, details ( admin = 2, undibbsed admin = 3, mentor = 4, character name (0 = just ckey, 1 = ckey and character name), link? (0 no don't make it a link, 1 do so),
// highlight special roles (0 = everyone has same looking name, 1 = antags / special roles get a golden name)
msg = SPAN_NOTICE("<b>[create_text_tag("HELP")][get_options_bar(mob, 2, 1, 1, 1, ticket)] (<a href='?_src_=holder;take_ticket=[REF(ticket)]'>[(ticket.status == TICKET_OPEN) ? "TAKE" : "JOIN"]</a>) (<a href='?src=[REF(usr)];close_ticket=[REF(ticket)]'>CLOSE</a>):</b> [msg]")
msg = SPAN_NOTICE("<b>[create_text_tag("HELP")][get_options_bar(mob, 2, 1, 1, 1, ticket)] (<a href='byond://?_src_=holder;take_ticket=[REF(ticket)]'>[(ticket.status == TICKET_OPEN) ? "TAKE" : "JOIN"]</a>) (<a href='byond://?src=[REF(usr)];close_ticket=[REF(ticket)]'>CLOSE</a>):</b> [msg]")
var/admin_number_present = 0
var/admin_number_afk = 0