MediaWiki:Common.js: Difference between revisions
(Created page with "var sourceEdit = document.getElementById('ca-edit'); if (sourceEdit) { var url = sourceEdit.getAttribute('href'); sourceEdit.setAttribute('href', url.split('&')[0]); }") |
mNo edit summary |
||
Line 2: | Line 2: | ||
if (sourceEdit) { | if (sourceEdit) { | ||
var url = sourceEdit.getAttribute('href'); | var url = sourceEdit.getAttribute('href'); | ||
sourceEdit.setAttribute('href', url.split('&')[0]); | sourceEdit.setAttribute('href', url.split('§ion')[0]); | ||
} | } |