v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
View source for User:Lethosor/outdated warning.js
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
// Warning when visiting an outdated page from an external site (e.g. Google)
if((document.referrer && document.referrer.indexOf(document.domain) == -1
&& 'v0.31 40d 23a'.split(' ').indexOf(wgCanonicalNamespace)!=-1 && !wgUserName)
|| window.location.hash == '#outdated'){
$('<div>').attr('class','usermessage').css({borderColor:'red', backgroundColor:'#fdb', fontWeight:'normal', fontSize: '120%', color:'#900'})
.html('This page is about an <strong style="color:#f00">older version</strong> of Dwarf Fortress. Click the v0.34.11 link in the box below to view the current version of this page.').prependTo('#bodyContent')
}
000
1:0
Return to User:Lethosor/outdated warning.js.