I don't know if I should report this here or somewhere else, but anyway there is a typo on https://translatewiki.net/wiki/MediaWiki:Wiki-seo-pageinfo-below/en which points to https://'mediaiwki.org/wiki/Extension:WikiSEO instead of https://'mediawiki.org/wiki/Extension:WikiSEO . Now, I've changed all the links on the relatively few translations that were at the time of writing and the message documentation but more could crop up with the same error.
Extension talk:WikiSEO
Jump to navigation
Jump to search
Reply to "Metadata and SEO tags"
Reply to "WikiSEO globally"
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.
Thanks for the report! The URL is fixed in the latest commit.
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"><meta name='citation_doi' value='10.15347/wjm/2017.005'></div>
However, the < and > characters get transcluded as < and > 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)
Hey, this might come pretty late, but the current WikiSEO build supports the following citation_*
tags!
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikiSEO/+/refs/heads/master/includes/Generator/Plugins/Citation.php#34
Example:
{{#seo: |citation_doi=10.15347/wjm/2017.005 }}
Which would add a <meta name='citation_doi' value='10.15347/wjm/2017.005' />
tag to the page
@Octfx Aha! Exactly what I was thinking of - definitely useful info. Do you know if it's permitted on WMF wikis?
That I don't know :/
The code is maintained in WMF Source Control, but to my knowledge noone asked to have it enabled
thanks. I'll look into it a bit further.
What does exactly mean title append and title prepend? I think there should be an example of this in the article.
I've just added a section about the title modes https://www.mediawiki.org/wiki/Extension:WikiSEO#Title_Modes does this help?
Thanks, it's exactly that I needed to understand
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.
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
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.
I also have the question Thank
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
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 ?
I want it too.
You will always want to have a per page settings. Setting things globally for all pages will only backfire SEO wise.
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.
Hi
Is there any problem with using html tags to combine and spill wiki SEO?
For example:
{{#seo:|description={{{description| <h1>}}}}}
Thanks
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?
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?
Using the parser function like so:
{{#seo:description=Page about the <h1></h1> html-tag}}
will output just fine.
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.
I've just backported the current code to support PHP 7.0. https://github.com/octfx/wiki-seo/releases/tag/v2.5.0-php7.0 This will be the last Version to support PHP 7.0 though!
Is there a way to generate the twitter description automatically?
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).
I tested it. WikiSEO does not autogenerate a description tag even with Description2 installed.
Thanks for getting back, I've created an issue relating the problem https://github.com/octfx/wiki-seo/issues/11 I will hopefully get to all accumulated issues by the end of this month.
Descriptions provided by Description2 are now used by WikiSEO. The tag 2.5.0 will incorporate this change.
extension.json states it's v2.4.1 but this tag is missing (on Github)
Thanks for reporting, I've just tagged v2.4.1 -> https://github.com/octfx/wiki-seo/releases/tag/v2.4.1
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
$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!