Page MenuHomePhabricator

ProofreadPage source tab not shown in the Minerva skin
Open, Needs TriagePublic

Description

The "Source" tab isn't shown in the Minerva skin at WIkisource for a page using the <pages/> tag.

There is a proofread status progress bar, but no link.

This means mobile users have no way to access the index page.

Event Timeline

Jdlrobson added a subscriber: Jdlrobson.

ProofReadPageExtension should be able to do this by adding to the namespaces key like so:

$wgHooks['SkinTemplateNavigation::Universal'] = function ( SkinTemplate $sktemplate, array &$links ) {
	if ($sktemplate->getSkin()->getSkinName() === 'minerva' ) {

		$links['namespaces']['link'] = [
			'href' => '$',
			'text' => 'yo'
		];
	}
};

Let me know if you need any help.