Extension talk:WikiSEO

Jump to navigation Jump to search

About this board

Typo on translatewiki.net

3
Summary by Octfx

Fixed

Sabelöga (talkcontribs)
Kghbln (talkcontribs)

Good catch and great effort. This translation source must indeed be changed in the code repository of this extension to prevent this typo from propagating.

Octfx (talkcontribs)

Thanks for the report! The URL is fixed in the latest commit.

Evolution and evolvability (talkcontribs)

Hello all,

I'm looking to apply metadata tags to WikiJournal articles in order to be compatibel with indexing and tracking services (e.g. AltMetric). Currently I'm using the code:

<div style="display:none"><meta name='citation_doi' value='{{{doi}}}'></div>

Where {{{doi}}} is the article's full doi number. For example in this article, it is included as:

<div style="display:none">&lt;meta name='citation_doi' value='10.15347/wjm/2017.005'&gt;</div>

However, the < and > characters get transcluded as &lt; and &gt; which (I think) prevents it from working properly.

Is Extension:WikiSEO compatible with the requirements of help.altmetric.com/...what-metadata-is-required-to-track-our-content?

(Also posted at Topic:U51g8egyx5j0xixz)

Octfx (talkcontribs)
Evolution and evolvability (talkcontribs)

@Octfx Aha! Exactly what I was thinking of - definitely useful info. Do you know if it's permitted on WMF wikis?

Octfx (talkcontribs)

That I don't know :/

The code is maintained in WMF Source Control, but to my knowledge noone asked to have it enabled

Evolution and evolvability (talkcontribs)

thanks. I'll look into it a bit further.

Reply to "Metadata and SEO tags"
Summary by Octfx

Help section added

Арскригициониец (talkcontribs)

What does exactly mean title append and title prepend? I think there should be an example of this in the article.

Octfx (talkcontribs)
Арскригициониец (talkcontribs)

Thanks, it's exactly that I needed to understand

Twitter tags not being generated

2
Summary by Octfx

Closed due to inactivity

69.168.166.80 (talkcontribs)

I have installed the plugin and everything seems to work, however certain twitter tags are not being generator., like the twitter:card, image or the twitter:image:source tags. twitter:description is however showing up.

Octfx (talkcontribs)

Can you share a link to the page in question? Twitter images will only be generated if the parser function contains something like image = Local_file_to_use.png

MarioSuperstar77 (talkcontribs)

I wanted to have meta tags on all pages, so my wiki could get discovered in search engines, but I have to embed WikiSEO code on all articles which would be time consuming.


WikiSEO works wonders when I use it on an individual article, but meta tags should be active on all articles to get anywhere.


Instead, I had the idea to use a sitenotice since it was global (Meaning it appears on all pages of the website, unless it is dismissed), but in actuality it does not work at all.


Is there an easy way to embed WikiSEO meta tags on all current and future articles? Thank you in advance for the help.

Sokote zaman (talkcontribs)

I also have the question Thank

Octfx (talkcontribs)

Hi there, WikiSEO currently does not support setting meta tags globally, as the seo data is build using per page properties. Adding a default description / keywords tag to all pages could be added relatively easy but I don't think that that would suffice.

I've added this request to the todo list: https://github.com/octfx/wiki-seo/issues/8

Sen-Sai (talkcontribs)

You could make a a template that adds the default things to the SEO plugin. We have a template for articles, projects, blogs etc.. that will simply feed all the necessary information to the WikiSEO plugin automatically. That would only work if pages are made from templates.

Also, doesn't WikiSEO already automatically fill in the most important SEO information ?

119.236.27.137 (talkcontribs)

I want it too.

Sen-Sai (talkcontribs)

You will always want to have a per page settings. Setting things globally for all pages will only backfire SEO wise.

MarioSuperstar77 (talkcontribs)

Not if the wiki is centered on one subject. Let's say you have a wiki about food, every tag should contain the word "food", then yeah you could add additional tags per article to define it much better. Furthermore, I only installed wikiseo after I used the wiki a lot, so a lot of pages are missing SEO tags outright. The feature I proposed could help cope with this issue.

Reply to "WikiSEO globally"
Summary by Octfx

HTML tags can be used as meta tag content

Sokote zaman (talkcontribs)

Hi

Is there any problem with using html tags to combine and spill wiki SEO?

For example:

{{#seo:|description={{{description| <h1>}}}}}

Thanks

Octfx (talkcontribs)

Hi, yes, the extension strips any html entities in the input text, as they are generally not usefull for seo purposes. Are there cases in which you need html in the meta tags?

Sokote zaman (talkcontribs)

Thank you for your reply

I have a site that teaches programming

For example, in the SEO description section, I have to name the <a> tag

Or, for example, name <html>, </html >

Doesn't this, for example, cause problems or damage to the layout of wiki pages?

Octfx (talkcontribs)

Using the parser function like so: {{#seo:description=Page about the <h1></h1> html-tag}} will output just fine.

Last version to support PHP 7.0 is 2.1.0

2
Summary by Octfx

Last version supporting PHP 7.0 is v2.5.0: https://github.com/octfx/wiki-seo/releases/tag/v2.5.0-php7.0

Kghbln (talkcontribs)

Since there are no release notes and the documentation updating mixed versions for both I figure it may save other some time to know this.

And yes, I know that I should update PHP sooner than later.

Octfx (talkcontribs)

Automatic Twitter description

5
Summary by Octfx

Fixed in v2.5.0

Unifyingtheory (talkcontribs)

Is there a way to generate the twitter description automatically?

Octfx (talkcontribs)

WikiSEO itself won't autogenerate description tags. But if something like Extension:Description2 is installed WikiSEO will use the provided description in theory (I haven't tested it).

Unifyingtheory (talkcontribs)

I tested it. WikiSEO does not autogenerate a description tag even with Description2 installed.

Octfx (talkcontribs)
Octfx (talkcontribs)

Descriptions provided by Description2 are now used by WikiSEO. The tag 2.5.0 will incorporate this change.

Summary by Octfx

Tag created

Planetenxin (talkcontribs)

extension.json states it's v2.4.1 but this tag is missing (on Github)

Octfx (talkcontribs)
Sokote zaman (talkcontribs)

Please explain the code that is included

Does it refer to the contents of the confirmation file on the host or is it something else?

Thanks

Octfx (talkcontribs)

$wgGoogleSiteVerificationKey expects the key used by googles html-tag validation.

In your google search console should be an option to validate a domain using the html-tag method. This has the form of: <meta name="google-site-verification" content="SITE_VERIFICATION_KEY" />.

$wgGoogleSiteVerificationKey is then used as: $wgGoogleSiteVerificationKey = 'SITE_VERIFICATION_KEY'; in your LocalSettings.php.

Hope that clears things up!