GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOJOMOJO::FORMATTER::WIKIPEDIALINK (3)

.ds Aq ’

NAME

MojoMojo::Formatter::WikipediaLink - Linked Wikipedia by writing {{wikipedia:<lang> <word>}}

CONTENTS

DESCRIPTION

Normally, to hyperlink to the Wikipedia, you’d write:



    [wikipedia Hello](http://en.wikipedia.org/wiki/Hello)



This plugin lets you write just



    {{wikipedia Hello}}



not just Link to Wikipedia in English page, you can use many languages



    {{wikipedia:ja XXXXX}}
    {{wikipedia:fr Salut}}



Actually, if you wrote this without a language ex.{{wikipedia Foo}}, select location of Wikipedia Link is getting default-language setting of MojoMojo.

METHODS

    format_content_order

The WikipediaLink formatter has no special requirements in terms of the order it gets run in, so it has a priority of 17.

    format_content

Calls the formatter. Takes a ref to the content as well as the context object.

    process

Here the actual formatting is done.

SEE ALSO

MojoMojo and Module::Pluggable::Ordered.

AUTHORS

Dai Okabayashi, bayashi at cpan . org

LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOJOMOJO::FORMATTER::WIKIPEDIALINK (3) 2013-05-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.