Jump to content

MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17:
'p-cactions',
mw.util.getUrl('Special:Log/' + conf.wgPageName),
'Logs',);
'Logs for this page');
 
// add extension-enabledlist reportof forsubpages thefor latestthis revisionpage
mw.util.addPortletLink(
'p-cactions',
mw.util.getUrl('Special:Report/' + mw.config.get('wgCurRevisionId')),
'Report a problem',
'Report a problem');
 
// add list of subpages
mw.util.addPortletLink(
'p-cactions',
mw.util.getUrl('Special:PrefixIndex/' + conf.wgPageName),
'Subpages',
'Subpages');
 
Line 37 ⟶ 28:
if (conf.wgCanonicalNamespace == 'User') {
 
// add user rights for this page
mw.util.addPortletLink(
'p-cactions',
mw.util.getUrl('Special:UserRights/' + conf.wgPageName),
'User rights',
'User rights');
}
 
// add extension-enabled report for the latest revision
mw.util.addPortletLink(
'p-cactions',
mw.util.getUrl('Special:Report/' + mw.config.get('wgCurRevisionId')),
'LogsReport fora this pageproblem');
});
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.