User:Bopha/monobook.js

importScript('User:TheJosh/Scripts/RecentChangesPatrol.js');

addOnloadHook(function {    var hist; var url;    if (!(hist = document.getElementById('ca-history') )) return;    if (!(url = hist.getElementsByTagName('a')[0] )) return;    if (!(url = url.href )) return;    mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), 'សំអាតខាច់', 'ca-purge', 'សំអាតខាច់នៃកម្មវិធីរុករក', '0'); }); //បន្ថែមប៊ូតុងកែប្រែ document.write('<\/SCRIPT>'); document.write(' ');