Manual:Parse.php/zh

細節
parse.php file is a maintenance script that parses some wikitext.

Wikitext can be given by stdin or using a file. The wikitext will be parsed using  as a title. This can be overridden with  option.

$ php parse.php --title foo foo^D  foo 

$ echo "bold" > /tmp/foo.txt $ php parse.php /tmp/foo.txt bold

$ cat /tmp/foo | php parse.php bold