Page MenuHomePhabricator

cologneblue skin is not easily configurable
Closed, ResolvedPublic

Description

Author: brianna.laugher

Description:
The CologneBlue skin makes too many assumptions about what pages exist in the wiki, and there is no good way to remove those links like MediaWiki:Sidebar.

The top set of links "Main Page | About | Help | FAQ | Special pages | Log out" should be converted to something like MediaWiki:CologneBlueTopbar similar to MediaWiki:Sidebar. (And actually as default I would shrink it to "About | Log out").

The "Printable version | Disclaimers | Privacy policy" at the top could be removed. Printable version is already linked in the left menu (or maybe that one should be removed), and Disclaimers & Privacy policy could be removed to the footer. (And the footer should be editable too. This goes for all skins!)

The "Special pages" section in the left menu of Cologne Blue has a very bizarre link "Bug reports" that goes to Project:Bug_reports. How do you actually set that? mediawiki.org doesn't have any info about a configuration option like $wgBugReportsLink. This set of special pages is also a random set different to other skins. As with the other areas on the page, it would be nice to be able to edit which pages go here.


Version: unspecified
Severity: enhancement

Details

Reference
bz16259

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:23 PM
bzimport added a project: CologneBlue.
bzimport set Reference to bz16259.
bzimport added a subscriber: Unknown Object (MLST).

Still valid, but I made some improvements in the meantime.

The contents of the top set of links are still not configurable; you can, however, modify links' texts and their targets using the about/aboutpage, help/helppage and faq/faqpage messages; link to special pages list has been removed. Main page and login/logout links are immovable right now.

The second set of links now contains "Privacy policy | About | Disclaimers", which are standard contents for it (except that most skins place these in the footer). They are probably configurable using some interface messages.

The entire sidebar has been revamped; it now contains a standard toolbox and a more standard set of links.

Jdlrobson closed this task as Resolved.EditedJan 21 2021, 6:48 PM
Jdlrobson claimed this task.
Jdlrobson subscribed.

The top set of links "Main Page | About | Help | FAQ | Special pages | Log out" should be converted to something like MediaWiki:CologneBlueTopbar similar to MediaWiki:Sidebar. (And actually as default I would shrink it to "About | Log out").

We shouldn't introduce new pages for menus. If this is needed, a generic mechanism should be added. ( T272624)

The "Printable version | Disclaimers | Privacy policy" at the top could be removed. Printable version is already linked in the left menu (or maybe that one should be removed), and Disclaimers & Privacy policy could be removed to the footer. (And the footer should be editable too. This goes for all skins!)

This is the footer. CologneBlue renders the footer at the top of the page.
The footer can be customized in https://www.mediawiki.org/wiki/Manual:Footer#Customizing_the_built-in_items

Allowing modification of the footer is interest

The "Special pages" section in the left menu of Cologne Blue has a very bizarre link "Bug reports" that goes to Project:Bug_reports. How do you actually set that? mediawiki.org doesn't have any info about a configuration option like $wgBugReportsLink. This set of special pages is also a random set different to other skins. As with the other areas on the page, it would be nice to be able to edit which pages go here.

Cannot reproduce.

The contents of the top set of links are still not configurable; you can, however, modify links' texts and their targets using the about/aboutpage, help/helppage and faq/faqpage messages; link to special pages list has been removed. Main page and login/logout links are immovable right now.

This menu is now configurable via hooks

Example removing menu:

// Use setup after cache hook to register hook after skin hooks have been installed
$wgHooks['SetupAfterCache'][] = function () {
	global $wgHooks;
	$wgHooks['SkinTemplateNavigation::Universal'][] = function ($skin, &$menu) {
		if($skin->getSkinName() === 'cologneblue'  ){
			$menu['cb-syslinks'] = [];
		}
	};
};