Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
User:Alexbfree/Code:GDPRMailAccess.js
(view source)
Revision as of 16:17, 27 January 2020
8 bytes removed
,
4 years ago
no edit summary
Line 38:
Line 38:
// get the ID of the current page
// get the ID of the current page
−
var
$title2
=
$
( '.wikibase-title
' );
+
var
pageID
=
document.querySelector
('.wikibase-title .wikibase-title-id').text().replace( /[()]/g, '' );
−
var qId = $title2.find( '
.wikibase-title-id' ).text().replace( /[()]/g, '' );
if (isDataController()) {
if (isDataController()) {
−
generateGDPRLink(
qId
);
+
generateGDPRLink(
pageID
);
}
}
Alexbfree
editors
3,524
edits
Navigation menu
Personal tools
English
Log in
Request account
Namespaces
User page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
New Item
New Property
All items
All properties
All pages
Active Users
SAR service dev
Query Service
Maintenance
Administrator
Tools
User contributions
Logs
View user groups
Special pages
Printable version
Interaction
Community portal
WebXray
Recent changes
Contact Page
Telegram
Discourse forum
MyData Slack