Skip to content

Commit

Permalink
Fixes Wiki Verb (#2149)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

If you can't read the title, this fix doesn't affect you

## Why It's Good For The Game

Wiki integration is a very good thing

## Changelog

:cl:
fix: The wiki verb now works again
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
MarkSuckerberg authored Jul 9, 2023
1 parent 94739d1 commit bb99208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var/wikiurl = CONFIG_GET(string/wikiurl)
if(wikiurl)
if(query)
var/output = wikiurl + "/index.php?title=Special%3ASearch&profile=default&search=" + query
var/output = "[wikiurl]?title=Special%3ASearch&profile=default&search=[query]"
src << link(output)
else if (query != null)
src << link(wikiurl)
Expand Down

0 comments on commit bb99208

Please sign in to comment.