Platonides wrote:
> You don't need to specify all parameters:
> {{man|bash}} Open bash(1)
> {{man|passwd|section=5}} Documentation about /etc/passwd
> {{man|read|section=2|os=bsd}} Open the man page of the syscall read(2)
> {{man|apt-get|section=2|os=debian|version=5}} Use the man page from Debian
* Chad [Mon, 19 Apr 2010 13:10:46 +0200]:
> There's no hook or other way to extend the current magic links. The
only
> way to add it would be by changing Parser::doMagicLinks().
>
Perhaps something like this (an extension, core is unmodified):
$wgParserConf['class'] = 'MyParser';
class MyParser
You don't need to specify all parameters:
{{man|bash}} Open bash(1)
{{man|passwd|section=5}} Documentation about /etc/passwd
{{man|read|section=2|os=bsd}} Open the man page of the syscall read(2)
{{man|apt-get|section=2|os=debian|version=5}} Use the man page from Debian 5
(I know, I know, technic
On Mon, Apr 19, 2010 at 12:13, masti wrote:
> then create a template {{man|command}} for example
Sounds like a good solution, to me. Though I would go for
{{man|N|foo}}
as some manpages exist in several namespaces.
Though the next problem you will encounter is that not all manpages are
the s
On Mon, Apr 19, 2010 at 11:35 AM, Strainu wrote:
> Hi,
>
> Is there a way to create a link to a unix command man page by writing
> "man command" (like it happens with RFCs)? I searched for an extension
> to do this, but I've been unlucky :)
>
There's no hook or other way to extend the current mag
On 19 April 2010 12:13, masti wrote:
> On 04/19/2010 11:52 AM, Strainu wrote:
>> On Mon, Apr 19, 2010 at 12:46 PM, masti wrote:
>>> why not use http://linuxmanpages.com/ as external link?
>>
>> The site is unimportant, what is important is to have the link
>> automatically created, hence shorteni
On 04/19/2010 11:52 AM, Strainu wrote:
> On Mon, Apr 19, 2010 at 12:46 PM, masti wrote:
>> why not use http://linuxmanpages.com/ as external link?
>
> The site is unimportant, what is important is to have the link
> automatically created, hence shortening the wikitext.
then create a template {{ma
On Mon, Apr 19, 2010 at 12:46 PM, masti wrote:
> why not use http://linuxmanpages.com/ as external link?
The site is unimportant, what is important is to have the link
automatically created, hence shortening the wikitext.
On Mon, Apr 19, 2010 at 12:44 PM, Nikola Smolenski wrote:
> This should b
On 04/19/2010 11:35 AM, Strainu wrote:
> Hi,
>
> Is there a way to create a link to a unix command man page by writing
> "man command" (like it happens with RFCs)? I searched for an extension
> to do this, but I've been unlucky :)
>
> If nothing has been implemented, do you think it would be a good
Strainu wrote:
> Is there a way to create a link to a unix command man page by writing
> "man command" (like it happens with RFCs)? I searched for an extension
> to do this, but I've been unlucky :)
>
> If nothing has been implemented, do you think it would be a good idea
> to have this in Wikiped
Hi,
Is there a way to create a link to a unix command man page by writing
"man command" (like it happens with RFCs)? I searched for an extension
to do this, but I've been unlucky :)
If nothing has been implemented, do you think it would be a good idea
to have this in Wikipedia? I personally think
11 matches
Mail list logo