Created
April 23, 2018 16:42
-
-
Save subbuss/3e41a8478c4df2c21185db101388eb56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[subbu@earth:~/work/wmf/mediawiki] echo -e "a\n\n=b=" | php maintenance/parse.php | |
parse.php: warning: reading wikitext from STDIN. Press CTRL+D to parse. | |
<div class="mw-parser-output"><p>a | |
</p> | |
<h1><span class="mw-headline" id="b">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/index.php?title=CLIParser&veaction=edit&section=1" class="mw-editsection-visualeditor" title="Edit section: b">edit</a><span class="mw-editsection-divider"> | </span><a href="/wiki/index.php?title=CLIParser&action=edit&section=1" title="Edit section: b">edit source</a><span class="mw-editsection-bracket">]</span></span></h1> | |
</div>[subbu@earth:~/work/wmf/mediawiki] echo -e "a\n\n\n=b=" | php maintenance/parse.php | |
parse.php: warning: reading wikitext from STDIN. Press CTRL+D to parse. | |
<div class="mw-parser-output"><p>a | |
</p><p><br /> | |
</p> | |
<h1><span class="mw-headline" id="b">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/index.php?title=CLIParser&veaction=edit&section=1" class="mw-editsection-visualeditor" title="Edit section: b">edit</a><span class="mw-editsection-divider"> | </span><a href="/wiki/index.php?title=CLIParser&action=edit&section=1" title="Edit section: b">edit source</a><span class="mw-editsection-bracket">]</span></span></h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment