View source for WikipediaPlus enabling a Website
Jump to:
navigation
,
search
Wikipedia+ is designed for websites whose material complements the content on Wikipedia. This might be because it offers contrasting opinions, or simply because it contains more detail than is available on Wikipedia. Making such sites '''Wikipedia+ enabled''' will result in traffic from users of the software. ==Requirements== Making a site Wikipedia+ capable is a pretty straightforward task as it doesn't require changing any existing pages. The main work needed, if your site already has pages of [[sufficient quality]] is deciding which wikipedia page(s) you wish to associate with which of your site's pages. ==Choosing an Access URL== The first step is to choose a URL pattern by which Wikipedia+ can query the site. This is like an ordinary URL, but will contain the text ''{PageName}'' somewhere in it, e.g. <font face="courier"><nowiki>http://www.example.com/wiki/{PageName}</nowiki></font>. This is requested by the browser add-in, with ''{PageName}'' replaced by the name of whichever Wikipedia page the user is visiting. This is how the software checks whether a page is available. ===Multi-Language Sites=== Wikipedia+ supports multiple languages, so if the user is browsing Spanish wikipedia, he can configure it only to suggest Spanish language websites. If your websites is multi-language, your Access URL should include the text ''{LangCode}'', which will be replaced by an ISO 639-1 language code, such as "en" for english. For example, <font face="courier"><nowiki>http://www.example.com/{LangCode}/{PageName}</nowiki></font>. ==Implementing the Access URL== All the access URL has to do is to translate a request for a particular ''PageName'' either into a locally available page, or give a 404 (Page Not Found) code if no such page is available. Your means of implementing this will depend on the technology which your site already uses. ===General Method=== One simple method is to have an access URL of the form <font face="courier"><nowiki>http://www.example.com/WP.php?page={PageName}</nowiki></font>, so that all incoming requests are served by a single script. This could read from a database of local page URL to match with wikipedia ''PageName''s. You may wish to use [http://www.RobinUpton.com/WP/WP-site-index.0.1.zip this simple site index script], which includes an editor if you wish to build it online. ===Wikis only Method=== If your site is a wiki, you could use dedicated namespace (e.g. <font face="courier">Wikipedia:</font>) to maintain an easy correspondence between your site's pages and Wikipedia's pages. If you already have content, the fastest way to make your site Wikipedia+ enabled is to just add a redirect, so that <font face="courier">/wiki/Wikipedia:Some_Wikipedia_URL</font> contains <font face="courier"><nowiki>#REDIRECT[[Your_Corresponding_Local_URL]]</nowiki></font>. ==Associating <nowiki>{{PageName}}</nowiki>s with Website Pages== With the technical implementation sorted, the last step to enabling your site for Wikipedia+ is to add the content. i.e. To associate particular Wikipedia ''PageName''s with particular Website Pages from your site. The only golden rule on how to do this is to bear the user experience foremost in mind. Different styles of site may be well served by different approaches to this. ===Page Replacement=== Page replacement is the most straightforward style. It is effective for well finished pages which match wikipedia's comprehensive nature. See, for example, http://www.wikispooks.com/wiki/Wikipedia:7_World_Trade_Center which offers a drop in replacement to the corresponding Wikipedia page. ===Portal Style=== A portal page is effective if you have a bunch of documents or links on a subject, but don't have a narrative structure to tie them together or to introduce them. Some wikipedia pages give a fairly reasonable treatment of a topic, but omit one or two crucial aspects, in which case, providing suitable links to these is an effective way to assist the reader. A single paragraph may be enough to explain what is missing from the Wikipedia account, and allow the reader to navigate to important material which they could otherwise not easily find. Another case in which a portal page is effective is if your website looks at material in a lot more depth that Wikipedia. In this case, you may wish to make a single 'index' page that offers easy navigation to your specialised content. <!-- EXAMPLE HERE WOULD BE GOOD --> ==Informing your Audience== [file:logo-32.png|frame|right|WP+ Icon]] Once your site is Wikipedia+ enabled, you need to tell people of it so that they can [[Website Configuration |add your site to their list of preferred sites]]. Announcing it over a mailing list will work for site members, but not random browsers, so adding a discrete icon is a good way to tell the world that your site is Wikipedia+ ready. You may also wish to add your access URL to the list below: {! !Site Name !Access URL !Focus |- |Wikispooks |https://wikispooks.com/wiki/Wikipedia:{PageName} |The "smoke-and-mirrors world of [[https://wikispooks.com/wiki/Wikipedia:Deep_Politics]]". |}
Return to
WikipediaPlus enabling a Website
.
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
▶ Install
⎘ Downloads
☺ For Users
☻ For Webmasters
☻ For Developers
⚫ A-Z Index
⟳ Recent Changes
⚑ About
✍ Contact
⌨ Help
Tools
What links here
Related changes
Special pages
Page information