Difference between revisions 238907 and 258257 on ptwikibooks/** * Add a link to [[Special:RecentChanges]] indicating the current version of MW * @author: [[User:Helder.wiki]] * @tracking: [[Special:GlobalUsage/User:Helder.wiki/Tools/AddMediaWikiVersionLinkToRecentChanges.js]] ([[File:User:Helder.wiki/Tools/AddMediaWikiVersionLinkToRecentChanges.js]]) */ /*jslint browser: true, white: true, regexp: true*/ /*global jQuery, mediaWiki */ ( function ( $, mw ) { (contracted; show full) $div.append( $normalLink ); } $div.appendTo( '#mw-head' ); } if ( 'Recentchanges' === mw.config.get( 'wgCanonicalSpecialPageName' ) ) { mw.loader.using( ['mediawiki.api'], function () { var api =( new mw.Api(); api ).get( { 'action': 'query', 'meta': 'siteinfo' }, { ok: addMWVersion } ); } ); } }( jQuery, mediaWiki ) ); All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://pt.wikibooks.org/w/index.php?diff=prev&oldid=258257.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|