Wikilog titles and links

⇠ Back to Blog:Hacks

The Mediawiki Wikilog extension needs a hack to display title properly on our site.

We add on line 128 of Wikilog.i18n.php

	'wikilog-just-the-title' => '$1', # $1 = article title

We add on line 121 of WikilogItemPage.php

	$mytitle = wfMsg( 'wikilog-just-the-title',
				  $this->mItem->mName
				  );
	$myblogtitle = wfMsg( 'wikilog-just-the-title',
				  $this->mItem->mParentTitle
				  );

	$wgOut->addWikiText("= $mytitle =");
	$wgOut->addWikiText("<small><div style=\"position:relative;top:-10px;\">[[$myblogtitle|⇠ Back to $myblogtitle]]</div></small>");