Deutsch
English
Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Mobile.js
(view source)
Revision as of 17:30, 7 April 2019
3 bytes added
,
17:30, 7 April 2019
m
wgPageName
Line 2:
Line 2:
if (mw.config.get('wgNamespaceNumber') == mw.config.get('wgNamespaceIds').tu_wien){
if (mw.config.get('wgNamespaceNumber') == mw.config.get('wgNamespaceIds').tu_wien){
−
var href = mw.config.get('wgArticlePath').replace('$1', 'Spezial:Materialien/' + mw.config.get('
wgTitle
'));
+
var href = mw.config.get('wgArticlePath').replace('$1', 'Spezial:Materialien/' + mw.config.get('
wgPageName
'));
$('#page-actions').append('<li class="mw-ui-icon"><a href="'+href+'">📁</a></li>');
$('#page-actions').append('<li class="mw-ui-icon"><a href="'+href+'">📁</a></li>');
}
}
Gittenburg
Interface administrators
,
Curators (Semantic MediaWiki)
,
Administrators
11,851
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Study paths
Recent changes
Current events
Contribute
Beispielseiten
Mission
FAQ
Moderation
Tools
Upload file
Special pages
Printable version