TDG EMPIRE
☰
Features
Wiki
Gallery
Webmap
Interactive Map
Punishments
Discord
Wiki
TDG Encyclopedia
Not logged in
Talk
Contributions
Create account
Log in
Search
Module
Discussion
Read
Edit source
Add topic
View history
Editing
Module talk:Hatnote
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== p._formatLink() for interwiki links == {{edit protected|answered=yes}} p._formatLink() is special cased for category and files links, but interwiki links with a prefix of language code need this too or they're treated as language links. Actually, does it harm if we add colon to all links? [[:Main Page]] works the same as [[Main Page]]. <span class="signature signature_2539476">[[User:Liangent|Liangent]] ([[User talk:Liangent|talk]])</span> 20:38, 28 January 2016 (UTC) :{{ping|Liangent}} I don't see any reason not to just add the colon by default, as plenty of other templates already do. I just commented out the "if" statement for now so we can assess if this breaks anything, but if it doesn't we can optimize the code a little bit more --[[User:Ahecht|Ahecht]] ([[User_talk:Ahecht|<span style="color:#FFF;background:#00f;display:inline-block;padding:1px 1px 0;vertical-align:-0.3em;line-height:1;font-size:50%;text-align:center;"><b>TALK<br />PAGE</b></span>]]) 23:58, 28 January 2016 (UTC) ::I've tidied the code up. I can't think of any downsides to this, unless <code>_formatLink</code> is being substituted somewhere, but [[Template:Format link]] isn't set up for substitution and I'm not aware of any other places that <code>_formatLink</code> is directly exposed to wikitext. β '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|βͺ talk βͺ]]</sup> 23:30, 28 January 2016 (UTC)
Summary:
Please note that all contributions to TDG Encyclopedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TDG Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)