MediaWiki:Gadget-twinklexfd.js: Perbedaan revisi

Repo at 8015bfc: Fix xfd log numbering (#981)
(Repo at 5c1e7e3: Update from Github)
(Repo at 8015bfc: Fix xfd log numbering (#981))
 
var fileLogLink = mw.config.get('wgNamespaceNumber') === 6 ? ' ([{{fullurl:Special:Log|page=' + mw.util.wikiUrlencode(mw.config.get('wgPageName')) + '}} log])' : '';
 
var appendText = '\n# [[:' + Morebits.pageNameNorm + ']]' + fileLogLink + ' nominated at [[WP:' + params.venue.toUpperCase() + '|' + toTLACase(params.venue) + ']]';
var extraInfo = '';
 
appendText += ' ~~~~~';
if (params.reason) {
appendText += "\n#* '''Reason''': " + params.reason + '\n';
}