Wikipedia Preview

Beskrivning

Förbättra din webbplats med gratis kunskap direkt från Wikipedia!

Install Wikipedia Preview, the free add-on designed to better engage your visitors and improve the user experience on your website.

The Wikipedia Preview plugin provides context to your site’s visitors with content directly from Wikipedia. It allows you to add links to your content so that when your visitors click or hover on them, they see a pop-up box with information and images straight from Wikipedia. With Wikipedia Preview your visitors gain context on a topic, without ever leaving your website.

Wikipedia Preview is an official plug-in designed and developed by the Wikimedia Foundation, the non-profit behind Wikipedia and other free knowledge projects.

The plug-in is entirely free to download and use, in line with the Wikimedia Foundation’s mission to provide free knowledge for everyone.

Fördelar

  • Rich-media content straight from Wikipedia, to give your site’s visitors the context they need, without ever having to leave your website.
  • Alltid gratis.
  • Tillgängligt på 300 språk.
  • Easy to set up. Adding Wikipedia Preview links is even easier than adding other hyperlinks.
  • Leveraging the content and brand name of one of the most popular websites in the world.

Funktioner

  • Can be set up using the same process you use to add hyperlinks to your articles or using the Gutenberg editor custom tool.
  • Hanterar alla länkar till artiklar på Wikipedia, oberoende av språk, om artikeln inleds med en bild eller hur lång artikeln är.
  • Fungerar för språk som skrivs från höger till vänster (RTL) och från vänster till höger (LTR).
  • Offers access to a built-in gallery to dive into article images.
  • Can be disabled for any page using the post metadata sidebar.
  • Uses Gutenberg editor custom tool to search for Wikipedia articles and visualize Wikipedia Preview for readers.

How to add preview links to your site

Option 1 – How to add Wikipedia Preview links using the Classic Editor:

  • Add a Wikipedia article link to your site’s content using the same process you use to add hyperlinks to your articles.

Option 2 – How to add Wikipedia Preview links using the Gutenberg/ Block Editor:

  1. Highlight the text you want to link to a Wikipedia article.
  2. Select ‘W’ – Wikipedia Preview icon from the menu.
  3. You will see a list of suggested articles. Select the one you want to link to.
  4. Wikipedia Preview will automatically turn the link into a preview of the relevant Wikipedia article. You can easily edit or remove this.

Skärmdumpar

  • Highlight a word in Gutenberg editor and access Wikipedia Preview option from dropdown menu
  • Välj en förhandsgranskning från sökresultaten
  • Preview is displayed for highlighted word
  • Hover over cursor to view the preview
  • Highlight a word in Classic editor for preview
  • Insert Wikipedia article link to enable preview
  • Preview can be discovered on mobile web by readers
  • Tap on preview to show preview card
  • Tap on an image within the preview card to open it in a gallery view

Installation

Setting up the Wikipedia Preview plugin requires two simple steps:

  1. Installera och aktivera tillägget på din webbplats gratis.
  2. Add preview links to your site content to improve the experience for your site visitors.

INSTALLATION:

Option 1 – Install using the automatic plug-in installer:

  1. To add a plugin using the built-in plugin installer:
  2. Navigate to Plug-ins > select Add New.
  3. Use the search form in the top-right and search Wikipedia Preview.
  4. Click the Install Now button to install the plug-in.
  5. Once the plug-in installation is complete, click Activate to activate the plugin.

Alternativ 2 – ladda upp via WordPress-admin:

  1. If you have a copy of the plug-in downloaded as a zip file, you can manually upload it and install it through the Plug-ins admin screen.
  2. Navigate to Plugins > Add New.
  3. Click the Upload Plugin button at the top of the screen.
  4. Select the zip file from your local filesystem.
  5. Klicka på knappen ”Installera nu”.
  6. When the installation is complete, you’ll see “Plug-in installed successfully.” Click the Activate Plug-in button.

EFTER AKTIVERING:

It’s easy to add Wikipedia Preview links to your site. It takes only a few seconds to add a preview link and create a richer experience for your site visitors.

Option 1 – How to add Wikipedia Preview links using the Classic Editor:

  • Add a Wikipedia article link to your site’s content using the same process you use to add hyperlinks to your articles.

Option 2 – How to add Wikipedia Preview links using the Gutenberg/ Block Editor:

  1. Highlight the text you want to link to a Wikipedia article.
  2. Select ‘W’ – Wikipedia Preview icon from the menu.
  3. You will see a list of suggested articles. Select the one you want to link to.
  4. Wikipedia Preview will automatically turn the link into a preview of the relevant Wikipedia article. You can easily edit or remove this.

KOM IGÅNG:

Wikipedia Preview gives your site visitors context without leaving your site. We recommend adding links to words, pronouns, or phrases that you think your site visitors might be confused about or want more information about. Some sections of your site may be enhanced by adding a lot of links; other sections of your site might not need any.
Take a few minutes to add links retroactively to your existing content, and take just a few seconds to add links to new content as you create it in the future. Your visitors will thank you!
Let us know what you think about the product as you’re using it – we love to hear from you.

Vanliga frågor

Är Wikipedia Preview gratis?

Ja, Wikipedia Preview är gratis. Tillägget erbjuds av Wikimedia Foundation, den ideella stiftelse som driver Wikipedia med syftet fri åtkomst till öppet innehåll.

Fungerar Wikipedia Preview på vilket ord som helst?

Wikipedia Preview works with any word or phrase that has an article on Wikipedia, in any of the available languages. However, Wikipedia articles are typically language specific, meaning that different articles will be available in different languages. Not every article is available in every language, but you control the language of each preview on your site.

Hur ser förfarandet ut för att lägga in länkar till Wikipedia förhandsgranskning i ett inlägg?

När du skriver en artikel kan du avgöra vilka ord som kommer att innehålla en Wikipedia-popup för ett visst inlägg. Förfarandet för att aktivera en Wikipedia-popup för ett visst ord är detsamma som för att lägga till en hyperlänk.

Efter att man lagt till Wikipedia Preview – kommer sidornas storlek att påverkas? Blir webbplatsen långsammare?

De ord, för vilka du vill ha en popup med Wikipedia-förhandsgranskning behöver märkas upp. Denna märkning gör sidans storlek större, men inte med mer än vad vanliga hyperlänkar (som du redan använder) gör.

How does one customise the preview style?

In the admin site, go to “Appearance / customize”, then select the “Additional CSS” option from the left side menu. In the text box, the following CSS should reset the existing term style so you can adjust it to your liking.

.wmf-wp-with-preview {
    border: 0;
    background-color: unset;
    padding: unset;
}
.wmf-wp-with-preview::after {
    content: '';
}

How can I select the language of my preview links?

You control the language of each preview link on your website when using the Wikipedia Preview search bar. This allows you to select different languages for each of your site’s previews, if you choose, particularly if your audience speaks multiple languages. Since not every Wikipedia article is available in every language, this has the benefit of creating previews for content that is not available in your site’s primary language. For example, if your website is in Swahili, you will likely add previews of Wikipedia articles in Swahili. However, you may find a word or phrase that does not have a Wikipedia article in Swahili, but perhaps has an English article instead. You can add the English preview in that case by using the Wikipedia Preview search bar. Note: Since Wikipedia is an ever-growing and expanding project, you may come back later and find that the missing article is now available in your preferred language.

Does the Wikipedia Preview plugin affect my website’s SEO?

No, the Wikipedia Preview plugin has zero impact on your website’s SEO. It operates on the client side, does not duplicate content, and is implemented with SEO best practices. Your search engine rankings remain unaffected.

Är tillägget kompatibelt med alla webbläsare?

Wikipedia förhandsgranskning är kompatibel med följande webbläsare: Chrome, Firefox, Opera, Edge (nuvarande och senaste version), Safari 5.1 eller senare, iOS 6.1 eller senare och Android 4.1 eller senare

Var kan jag berätta för er om min upplevelse av Wikipedia Preview?

Skriv gärna en recension på sidan för betygsättning av tillägget Wikipedia Preview

På vilka andra sätt kan jag samarbeta med Wikimedia Foundation?

Om du vill utforska möjligheterna till djupare samarbete, utöver Wikipedia Preview, ber vi dig kontakta partnerships@wikimedia.org

Recensioner

27 oktober 2023 1 svar
The Wikipedia preview plugin is invaluable for anyone wanting to add a genuine, independent extra source to their information posts. I look forward to future enhancements.
Läs alla 29 betyg

Bidragsgivare och utvecklare

”Wikipedia Preview” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Wikipedia Preview” har översatts till 18 språk. Tack till översättarna för deras bidrag.

Översätt ”Wikipedia Preview” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.