1. λ§€ν¬λ‘ ¶
λ§€ν¬λ‘λ μν€ νμ΄μ§μ νΉμν κΈ°λ₯μ μ§μ΄λ£λ νμ₯μ
λλ€. λλΆλΆμ μν€νμ΄μ§λ λ§€ν¬λ‘κΈ°λ₯μ μ¬μ©νμ§ μκ³ μμ§λ§ κ²½μ°μ λ°λΌμ μ΄λ¬ν νΉμν κΈ°λ₯μ΄ νμν λκ° μμ΅λλ€. μλ₯Ό λ€μ΄ RecentChanges νμ΄μ§μλ RecentChangesλ§€ν¬λ‘λ₯Ό μ¬μ©νκ³ μκ³ , SystemInfo νμ΄μ§μλ SystemInfo λ§€ν¬λ‘λ₯Ό μ¬μ©νκ³ μμ΅λλ€. κ° νμ΄μ§λ₯Ό νΈμ§νκ±°λ
λ₯Ό λλ¬ μ΄μ μ 보λ‘λΆν° νμ΄μ§ μμ€λ₯Ό 보μλ©΄ λ§€ν¬λ‘λ₯Ό μ΄λ»κ² μ¬μ©νκ³ μλμ§λ₯Ό λ³΄μ€ μ μμ΅λλ€.
λ₯Ό λλ¬ μ΄μ μ 보λ‘λΆν° νμ΄μ§ μμ€λ₯Ό 보μλ©΄ λ§€ν¬λ‘λ₯Ό μ΄λ»κ² μ¬μ©νκ³ μλμ§λ₯Ό λ³΄μ€ μ μμ΅λλ€.λ§€ν¬λ‘λ
[[MacroName]]κ³Ό κ°μ λ¬Έλ²μ μ¬μ©ν©λλ€. λ§€ν¬λ‘μ λν μΈμκ° νμν κ²½μ°κ° μλλ° κ° λ§€ν¬λ‘μ λν μμΈν μ€λͺ
μ ν΄λΉ νμ΄μ§μμ νμΈνμ€ μ μμ΅λλ€.μν€ λ¬Έλ²μ΄ κΆκΈνμλ©΄ HelpOnEditing νμ΄μ§λ₯Ό μ°Έμ‘°νμΈμ.
2. λ§€ν¬λ‘ λ¬Έλ² ¶
[[MacroName]] νΉμ μΈμκ° νμν κ²½μ°μλ [[MacroName(arg1,arg2,arg3...)]]μ²λΌ μ¬μ©ν©λλ€.λ§€ν¬λ‘μ ꡬνμ λ°λΌ μΈμλ λ€μν λ°©μμΌλ‘ λ€μ΄κ° μ μμ΅λλ€.
λͺ¨λμν€ νμ₯ μ£Όμμ¬ν- μλ λͺ¨μΈλͺ¨μΈ λ¬Έλ²μμ λ§€ν¬λ‘ μ΄λ¦μ λ°λμ λλ¬Έμλ‘ μμνλ μ΄λ¦μ΄μ΄μΌ νμ΅λλ€. λͺ¨λμν€μμλ μ΄λ¬ν μ νμ΄ μμ΅λλ€.
- λ§€ν¬λ‘ λ¬Έλ²μ
[[νμ΄μ§ μ΄λ¦]]λ¬Έλ²κ³Ό μΆ©λμ μΌμΌν¬ μ μμ΅λλ€. μλ₯Ό λ€μ΄ DateTime νμ΄μ§κ° μμ λμ[[DateTime]]μ΄λΌλ μμΌλ‘ DateTimeμ μ°κ²°ν μ μμ΅λλ€. μ΄ κ²½μ° 2025-10-24 14:19:08μ΄λΌκ³ λμ€κ² λ©λλ€. μ΄λ° κ²½μ°μλ[["DateTime"]]μ΄λΌκ³ νλ©΄ DateTimeμ΄λΌκ³ λ§ν¬κ° 걸립λλ€.
- λͺ¨λμν€ 1.1.5 λΆν°λ λ§€ν¬λ‘μ λν λ³λͺ
μ μ§μν©λλ€.
[[κ°μ£Ό]]λΌλ μμΌλ‘ μ¨μ[[FootNote]]μ λ³λͺ μΌλ‘ μ¬μ©νμ€ μ μμ΅λλ€.
μ΄λ κ² μ¬μ©νλ €λ©΄ λ€μκ³Ό κ°μ μ€μ μconfig.phpμ λ£μ΄μ£Όμ μΌ ν©λλ€.
$myplugins=array("κ°μ£Ό"=>"FootNote",...); # ...λ μλ΅μ λ»ν©λλ€. λ€λ₯Έ λ΄μ©μ΄ μμΌλ©΄ μ°μ§ μμΌμ
μΌ ν©λλ€.
- μ΄κ²½μ° λμλ¬Έμ ꡬλΆμ΄ μ€μνλ°, λ°λμ
plugin/νμΌμ΄λ¦.phpμ λμνλ νμΌμ΄λ¦μ"κ°μ£Ό"=>"λ§€ν¬λ‘νμΌμ΄λ¦"μμΌλ‘ μ§μ ν΄μΌ ν©λλ€.
2.2. λ€λΉκ²μ΄μ ¶
| λ§€ν¬λ‘ | μ€λͺ | μ¬μ©λ‘ |
[[RecentChanges]] | μ΅κ·Όμ λ³κ²½λ νμ΄μ§ λͺ©λ‘ | RecentChanges |
[[TitleIndex]] | λͺ¨λ νμ΄μ§μ λν μ λͺ© λͺ©μ°¨ | TitleIndex |
[[WordIndex]] | νμ΄μ§ μ΄λ¦μΌλ‘ ꡬμ±λ λ¨μ΄ λͺ©μ°¨ | WordIndex |
[[RandomPage]] | λλ€νμ΄μ§ | μ‘°μ¬ν¬ |
[[RandomPage(#)]] | μ¬λ¬κ°μ λλ€ νμ΄μ§. μΈμλ μ«μ | |
[[TableOfContents]] | λͺ©μ°¨ λ§€ν¬λ‘ | νμ¬ λ³΄κ³ κ³μ νμ΄μ§μμ μ¬μ©μ€μ λλ€. |
2.3. μμ€ν μ 보 ¶
| λ§€ν¬λ‘ | μ€λͺ | μ¬μ©λ‘ |
[[InterWiki]] | λ±λ‘λ μΈν°μν€ μ΄λ¦ | InterWiki |
[[SystemInfo]] | νμ¬ μν€μ μ¬μ | SystemInfo |
[[PageCount]] | μ 체 νμ΄μ§ κ°μ | 7555 νμ΄μ§ |
[[PageHits]] | νμ΄μ§λ₯Ό λ³Έ νμ | PageHits |
2.4. κΈ°ν ¶
| λ§€ν¬λ‘ | μ€λͺ | μ¬μ©λ‘ |
[[Icon(image)]] | μμ€ν μμ΄μ½ 보μ¬μ£ΌκΈ° | HelpOnNavigation |
[[UserPreferences]] | μ¬μ©μ νκ²½μ€μ | UserPreferences |
[[BR]] | κ°μ μ€λ°κΏ | 첫λ²μ§Έ μ€ λ€μ μ€ |
[[Include(HelloWorld[,heading[,level]])]] | λ€λ₯Έ νμ΄μ§λ₯Ό μ½μ΄μ΄ | Hello, World! λΌλ λ¬Έμμ΄μ μΆλ ₯νλ νλ‘κ·Έλ¨μ λλΆλΆμ μΈμ΄λ₯Ό λ°°μ°λ 첫걸μμ΄ λμ΄μ€λ€.
λκ° μ μΌ μ²μ HelloWorld λ₯Ό λ§λ€μμκΉ. μ΄λ»κ² λͺ¨λ μΈμ΄μ μ
λ¬Έμμ λΉ μ§μ§ μλ μμ κ° λκ²μΌκΉ.
νλ‘κ·Έλλ°μ 첫걸μμΌλ‘ HelloWorldλ₯Ό μΆλ ₯νλ κ΄μ΅μ 1978λ μ μΆνλ, λΈλΌμ΄μΈ 컀λνΈκ³Ό λ°λμ€ λ¦¬μΉκ° μ΄ "The C Programming Language"λΌλ μ± μμ λΉλ‘―λμλ€. μ΄λ―Έ μ΄ μμ κ° λμ¬λλΆν° 'νλ‘κ·Έλλ°μ΄λ νμ€μΈκ³μ λν κ°μμΈκ³λ‘μ λͺ¨λΈλ§' μ΄λΌλ κ°λ
μ λ€κ³ μ¨ κ²μ΄ μλκΉ. μλ‘μ΄ μΈμμ λν λ
Έν¬. μ. λ©μ§λλ€;
μμ μ CACM μμλ OO Language (Java λ±)μμ C μ€νμΌμ HelloWorld μμ€λ₯Ό μλ‘ λλ μ μ κ΄λ ¨νμ¬ OO μ μ΄μ§ λͺ»ν μλΌλ λ
Όμμ΄ μκΈ°λ νλ€λ.
κ΄λ ¨ λ§ν¬ ¶
μΈμ΄λ³ Hello World μμ ¶C version ¶~cpp
#include <stdio.h>
int main(void)
{
printf("Hello, World!n");
return 0;
}
C++ version ¶~cpp
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World" << endl;
return 0;
}
Python version ¶~cpp print "Hello, World!" Perl version ¶~cpp #/usr/bin/perl print "Hello World!n"; Ruby version ¶puts "Hello World!" Ruby version (OOP) ¶
class String
def say
puts self
end
end
"Hello, world!".say
Java version ¶μ±
μ μ²μ λμ€λ μμ
~cpp
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
κΆμ₯ μμ ~cpp
public class HelloWorld{
public static void main(String[] args){
Mouth mouth = new Mouth();
mouth.say("Hello World!");
}
}
class Mouth{
public void say(String what){
System.out.println(what);
}
}
PHP Web version ¶~cpp
<?php
echo "<H1>Hello, World!</H1><BR>n"
?>
PHP Web - Template version ¶~cpp
<?php
include_once "class.CHTemplate.inc";
$tpl = CHTemplate();
$tpl->load_file("template_hello.tpl");
$tpl->register("MessageString", "Hello, World!");
$tpl->pprint();
?>
----
template_hello.tpl
<HTML>
<BODY><TABLE BORDER=1><TR><TD>
<H1> {MessageString} </H1>
</TD></TR></TABLE></BODY>
</HTML>
Windows API version ¶~cpp
#include <windows.h>
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int nCmdShow)
{
MessageBox (NULL, "Hello, World!", "Message", MB_OK);
return 0;
}
Scheme version ¶~cpp (write "Hello World") C# version ¶~cpp
using System;
namespace HelloWorld
{
class HelloWorld
{
static void Main()
{
Console.WriteLine("Hello World!");
}
}
}
VB.NET version ¶~cpp
Module HelloWorld
Sub Main()
Console.WriteLine("Hello World!")
End Sub
End Module
J# version ¶~cpp
package HelloWorld;
public class HelloWorld
{
public static void main()
{
System.Console.WriteLine("Hello World!");
}
}
Managed Extension C++ version ¶~cpp
#using <mscorlib.dll>
using namespace System;
int main(void)
{
Console::WriteLine("Hello World");
return 0;
}
Ada version ¶~cpp
with Ada.Text_IO;
Procedure main is
begin
Ada.Text_IO.Put_Line("Hello World!");
end main;
|
[[Comment]] | λκΈμ°½ | [[Comment]] |
3. μ¬μ©λ‘ ¶
κ°κ°μ λ§€ν¬λ‘μ λν μμ λ κ° λ§€ν¬λ‘ ν΄λΉ νμ΄μ§μμ λ³΄μ€ μ μμ΅λλ€. κ°λ¨ν μλ‘ SystemInfoνμ΄μ§μμ μ¬μ©νλ
[[SystemInfo]]λ§€ν¬λ‘μ
λλ€. [[SystemInfo]]λ₯Ό μμμ νμ΄μ§μ μ§μ΄λ£μΌλ©΄ λ€μκ³Ό κ°μ΄ 보μ¬μ§λλ€:| PHP Version | 5.5.x (Linux 6.8.0-1040-aws SMP) |
|---|---|
| MoniWiki Version | Release 1.2.5p2 [Revision: 1.2000 ] |
| HTTP Server Version | Apache/2.4.10 |
| Number of Pages | 7555 |
----
- [1] λͺ¨λμν€ 1.1.5λΆν° νμ΄μ§ λ³λͺ λ μ°Ύμμ€λλ€








