Topic on Extension talk:WikiSEO

author does not appear on information page

3
Tlgonline (talkcontribs)

I operate a public information website using MediaWiki 1.39.3. I recently installed the latest version of this extension. I placed wfLoadExtension('WikiSEO'); in my Local Settings file. I did not configure any of the variables in use by this extension.

Everything works great except that "author" does not appear in the "SEO properties box" contained on the information page. All the other parameters that I set appear as they should.

The relevant part of the "view page source" reads (emphasis added):

<h2 id="mw-pageinfo-header-seo"><span class="mw-headline" id="SEO_properties">SEO properties</span></h2>

<table class="wikitable mw-page-info">

<tr><td style="vertical-align: top;"><h3>Description</h3></td><td><h3>Content</h3></td></tr>

<tr><td style="vertical-align: top;"><b>Page title:</b> (<code>title</code>)<br>This attribute controls the content of the <code>&lt;title&gt;</code> element.</td><td>Texas Legal Guide</td></tr>

<tr><td style="vertical-align: top;"><b>Article author:</b> (<code>author</code>)</td><td><a href="https://texaslegalguide.com/User:Admin"></a></td></tr>

<tr><td style="vertical-align: top;"><b>Article description:</b> (<code>description</code>)<br>This attribute controls the content of the <code>description</code> and <code>og:description</code> elements.</td><td>All TLG legal content is written and/or edited by licensed Texas attorneys. Unless otherwise noted, it is available under the CC BY-NC-ND 4.0 license.</td></tr>

<tr><td style="vertical-align: top;"><b>Keywords:</b> (<code>keywords</code>)<br>This attribute controls the content of the <code>keywords</code> and <code>article:tag</code> elements.</td><td><ul><li>legal information</li><li>questions answers</li><li>attorney directory</li></ul></td></tr>

<tr><td style="vertical-align: top;"><b>Article published date:</b> (<code>published_time</code>)</td><td>02-01-2015</td></tr>

<tr><td style="vertical-align: top;"><b>Article section:</b> (<code>section</code>)</td><td>Law</td></tr>

</table>

Information from <a target="_blank" rel="noreferrer noopener" class="external text" href="https://www.mediawiki.org/wiki/Extension:WikiSEO">Extension:WikiSEO</a>

Tlgonline (talkcontribs)

Without success, I tried to review the extension code and "fix" my problem.

The problem is simply that the output<a href="https://texaslegalguide.com/User:Admin"></a> lacks any link text and therefore does not appear in the browser.

Octfx (talkcontribs)

Sorry, did not get a notification for this. Fixed in master branch!