matej_suchanek added projects: Wikimedia-Site-requests, Community-consensus-needed.
matej_suchanek added a comment.

When consensus is acquired, the procedure is: in Wikibase.php update:

$wgWBClientSettings['excludeNamespaces'] = function () {
	global $wgDBname;

	// @fixme 102 is LiquidThread comments on wikinews and elsewhere?
	// but is the Extension: namespace on mediawiki.org, so we need
	// to allow wiki-specific settings here.
	$excludeNamespaces = array_merge(
		MWNamespace::getTalkNamespaces(),
		// 90 => LiquidThread threads
		// 92 => LiquidThread summary
		// 1198 => NS_TRANSLATE
		// 2600 => Flow topic
		[ NS_USER, NS_FILE, NS_MEDIAWIKI, 90, 92, 1198, 2600 ]
	);

	if ( !in_array( $wgDBname, MWWikiversions::readDbListFile( 'wikiversity' ) ) ) {
		$excludeNamespaces[] = 118; // Draft
	}

	if ( in_array( $wgDBname, MWWikiversions::readDbListFile( 'wiktionary' ) ) ) {
		$excludeNamespaces[] = NS_MAIN;
		$excludeNamespaces[] = 114; // citations ns
	}

	return $excludeNamespaces;
};

TASK DETAIL
https://phabricator.wikimedia.org/T201774

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: matej_suchanek
Cc: matej_suchanek, YMS, Ymblanter, GerardM, AmaryllisGardener, Mushroom, Sannita, Jura1, jayvdb, Liuxinyu970226, Aklapper, Marshallsumter, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, Zoranzoki21, LawExplorer, DatGuy, Devwaker, Niklitov, Urbanecm, JEumerus, Tulsi_Bhagat, Wong128hk, Luke081515, SimmeD, Wikidata-bugs, Snowolf, aude, Dcljr, Shizhao, Jdforrester-WMF, Matanya, Mbch331, Rxy, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to