វិគីភីឌា:Scripts៖ ភាពខុសគ្នារវាងកំណែនានា

ខ្លឹមសារដែលបានលុបចោល ខ្លឹមសារដែលបានសរសេរបន្ថែម
រ៉ូបូ ដកចេញ: vi:Wikipedia:Tạo script riêng (strong connection between (2) km:វិគីភីឌា:Scripts and vi:Trợ giúp:Tạo script riêng)
Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
 
បន្ទាត់ទី៩១៖
Use the following script, which will make any <nowiki>[[links]]</nowiki> appear as <nowiki>[[links]] <http://en.wikipedia.org/wiki/links></nowiki>. Store it in .irssi/scripts, then you do /load script-name, although it might not take effect in an existing instance of a channel:
{{Collapse top|title=Met's script}}
<sourcesyntaxhighlight lang="perl">
#!/usr/bin/perl
use strict;
បន្ទាត់ទី១៤៦៖
 
Irssi::signal_add_first ('message public', \&sig_message_public);
</syntaxhighlight>
</source>
{{Collapse bottom}}
(Contributed by [[User:Ricky clarkson|Ricky Clarkson]], who was channelling 'met' from Freenode IRC, on #irssi)
បន្ទាត់ទី៤១៤៖
 
 
<sourcesyntaxhighlight lang="perl">
#!/usr/bin/perl
# Code is in the public domain.
បន្ទាត់ទី៤២៧៖
}
}
</syntaxhighlight>
</source>
 
=== [[AppleScript]] ===
បន្ទាត់ទី៥០៦៖
 
{{Collapse top|title=JavaScript}}
<sourcesyntaxhighlight lang="javascript">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
បន្ទាត់ទី៥៤០៖
</script>
</html>
</syntaxhighlight>
</source>
{{Collapse bottom}}