Editing
Components/Links
(section)
Jump to navigation
Jump to search
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!
=== External Links that behave like internal links === This is useful if you have a link with URL parameters. Note CSS class="plainlinks" in the <nowiki><span></nowiki>-wrapper: This class comes with MediWiki core and hides the symbol for external links. In addition this class is configured in LocalSeetings.php for [https://www.mediawiki.org/wiki/Extension:LinkTarget Extension:LinkTarget] and overwrites the standard behavior for external links (opens in the same browser tab instead of a new one). Note: For external links you need to use an underscore (_) for pagenames with spaces (Main_Page instead of Main Page). <syntaxhighlight lang="wikitext"><span class="plainlinks">[{{SERVER}}/wiki/Main_Page?name={{CURRENTUSER}} Send me home with my name as URL parameter]</span></syntaxhighlight> '''Example:''' <span class="plainlinks">[{{SERVER}}/wiki/Main_Page?name={{CURRENTUSER}} Send me home with my name as URL parameter]</span> Note: At target page URL parameters can be used as follows: <syntaxhighlight lang="wikitext">{{#urlget:parameter-name|default-value}}</syntaxhighlight> See: [https://www.mediawiki.org/wiki/Extension:UrlGetParameters Extension:UrlGetParameters]
Summary:
Please note that all contributions to Visual Data Wiki 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
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Log in
Dark mode
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Delete
Move
Purge
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
VisualData
New article
Browse data