វិគីភីឌា: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}}
<
#!/usr/bin/perl
use strict;
បន្ទាត់ទី១៤៦៖
Irssi::signal_add_first ('message public', \&sig_message_public);
</syntaxhighlight>
{{Collapse bottom}}
(Contributed by [[User:Ricky clarkson|Ricky Clarkson]], who was channelling 'met' from Freenode IRC, on #irssi)
បន្ទាត់ទី៤១៤៖
<
#!/usr/bin/perl
# Code is in the public domain.
បន្ទាត់ទី៤២៧៖
}
}
</syntaxhighlight>
=== [[AppleScript]] ===
បន្ទាត់ទី៥០៦៖
{{Collapse top|title=JavaScript}}
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
បន្ទាត់ទី៥៤០៖
</script>
</html>
</syntaxhighlight>
{{Collapse bottom}}
|