Page MenuHomePhabricator

Adding WikiData item number to resource in en.wikiversity
Closed, ResolvedPublic

Description

The Draft: namespace on en.wikiversity does not display the wikidata item number. Per this discussion on wikidata at https://www.wikidata.org/wiki/Wikidata:Administrators%27_noticeboard#Changes_to_Wikidata_items Wikiversity resources on wikidata can and do have wikidata item identifiers like Draft:Craters by radiation item (Q30299893), but the Page information on Wikiversity does not display this item identifier. Can you modify the Page information to display the wikidata item for any resource in wikiversity Draft: namespace that has one?

Event Timeline

@Marshallsumter: Do you plan tow fix this yourself, as you set yourself as assignee? If not, please provide example links and follow https://mediawiki.org/wiki/How_to_report_a_bug . You can edit the task description by clicking Edit Task.

@Aklapper: Assignee? Oops! No! Although I would like to learn how! Here's an example link: WikiData mineral (Q7946) for en:Wikiversity [[v:Draft:Minerals]] or https://en.wikiversity.org/wiki/Draft:Minerals, where Page information or https://en.wikiversity.org/w/index.php?title=Draft:Minerals&action=info does not show WikiData item. Here's another though different WikiData Ammonoidea (Q228002) or https://www.wikidata.org/wiki/Q228002 for en:Wikiversity [[v:Ammonoids]] or https://en.wikiversity.org/wiki/Ammonoids, but [[v:Ammonoids]] moved to [[v:Draft:Ammonoids]], where Page information or https://en.wikiversity.org/w/index.php?title=Draft:Ammonoids&action=info does not show Wikidata item. If you need more of either, let me know. I'll put a list together.

Where to see "the wikidata item number" when not in the Draft space? An example of expected behavior would be welcome.

Here's an example [[v:Agronomy]] or https://en.wikiversity.org/wiki/Agronomy under Page information or https://en.wikiversity.org/w/index.php?title=Agronomy&action=info. It occurs just below "Number of subpages of this page" in the table.

The WD:N mentioned that

To be valid, a link must not be a talk page, MediaWiki page, special page, file, translations page, pages in User or Draft namespace, pages used by LiquidThreads (i.e. pages in Thread and Summary namespace), pages used by Structured Discussions (i.e. pages in Topic namespace) or portal subpage.[1][2][3][4] Note that a single Wikimedia page cannot have more than one sitelink in Wikidata and that a sitelink cannot point to a redirect.[5]

Is this task means that you think that this restriction should be cancelled?

"Is this task means that you think that this restriction should be cancelled?" No! The links referred to are links in Wikiversity to resource pages, for example, 96 % of conscripted Draft: ns items contain valid links! And meet criterion 1: "It contains at least one valid sitelink to a page on Wikipedia, Wikivoyage, Wikisource, Wikiquote, Wikinews, Wikibooks, Wikidata, Wikispecies, Wikiversity, or Wikimedia Commons." source WD:N.

@Marshallsumter So you mean that we should alter that rule to e.g.

...pages in User or (with the exception of Wikiversity) Draft namespace...

(another way)

On Wikiversity, pages in Draft namespace are however allowed.

Or you want to add such exception in WD:N/IC that per 2nd way?

In either ways, this is clearly a policy changing request, and you should ask at project chat to get consensus for that.

pinging users who were against linking Draft: pages in WD items, should we setup such exception in policy per request?

No! I'm not asking for a rule alteration! As it is literally written, the rule is fine.

matej_suchanek subscribed.

When consensus is acquired, the procedure is: in [[ https://noc.wikimedia.org/conf/highlight.php?file=Wikibase.php | 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;
};

Regarding Wikipedia use "Draft ns is excluded since 2015 after the discussion at Wikidata:Project_chat/Archive/2014/05#What_do_do_with_Wikipedia:Draft_articles" on https://www.wikidata.org/wiki/Wikidata:Administrators%27_noticeboard#Changes_to_Wikidata_items [[d:Wikidata:Administrators' noticeboard#Changes to Wikidata items]].

Please keep in mind all I'm asking is for those WikiData items that exist to display that WikiData item number in Wikiversity. For example, [[v:Draft:Abstract concept generator]] has WikiData item number Q50011734. Here's the opinions from https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2014/05#What_do_do_with_Wikipedia:Draft_articles:

  1. neutral - "I'm not sure either way.What do you think?" Filceolaire (talk) 05:42, 23 May 2014 (UTC)
  2. support - "Is there a way we could have Draft items on wikidata - say regular Qitems with 'Draft:' at the start of their names in every language?" Filceolaire (talk) 05:42, 23 May 2014 (UTC)
  3. oppose -"IMO drafts and articles less than 2 weeks only shouldnt be included in Wikidata, let alone imported into Wikidata." John Vandenberg (talk) 05:53, 23 May 2014 (UTC)
  4. oppose - "+1 to wait before creating the item."--Micru (talk) 07:35, 23 May 2014 (UTC)
  5. support - "We could say that draft articles are allowed to be connected to items here, but that a link to only a draft article is not enough to be notable. This way draft articles can use the data on Wikidata and we don't end up with dozens of empty items." Multichill (talk) 16:50, 23 May 2014 (UTC)
  6. support - "Draft articles may be connected to an item which already has sitelinks to another language of the same project family." John Vandenberg (talk) 00:00, 24 May 2014 (UTC), see 1. oppose above.
  7. support -"+1 to Multichill." --Ricordisamoa 23:51, 23 May 2014 (UTC)
  8. support - "To make a good draft, they might need information from Wikidata available. In that case, shouldn't they create an item as soon as possible add add information here?" --- Jura 04:28, 24 May 2014 (UTC)
  9. support - "The presence of one Wikidata item is sufficient to create an item, but an item does not need a Wikipedia article." TomT0m (talk) 09:50, 24 May 2014 (UTC)
  10. Oppose - "Draft articles are excluded from search engines for good reason. Consider wikidata as a search engine as well, and you will bring up additional unwanted links to all search engines that use wikidata as a source. It is early enough to link it to wikidata as soon as it is in main namespace, you also don´t need to monitor if an article has moved to a different namespace."--Giftzwerg 88 (talk) 16:40, 24 May 2014 (UTC)
  11. Oppose - "As a schematic batch of information we already have Wikidata itself. We don't need linking proto-articles. I don't see the need for hurrying, if the draft doesn't go wrong it'll be linked to Wikidata once it's finished." Totemkin (talk) 17:38, 25 May 2014 (UTC)
  12. support - "I see no problem having a Q item here, while the article is being developed in en.wikipedia or whatsoever, but clearly (to me, at least) it's not neccesary having them related." Totemkin (talk) 17:38, 25 May 2014 (UTC)
  13. Oppose - "Draft namespace has been created for articles who may or may not adhere to notabilty rules on en.wiki - which are IMHO already far too permissive, considering the it.wp (or de.wp) ones. I don't think we need that." --Sannita - not just another it.wiki sysop 10:03, 26 May 2014 (UTC)
  14. Oppose - "per above. Unfinished articles have no place here." Mushroom (talk) 11:00, 26 May 2014 (UTC)
  15. Oppose - "draft articles are not part of the encyclopedia (yet)" --CutOffTies (talk) 12:10, 26 May 2014 (UTC)
  16. Oppose - "per above." --AmaryllisGardener talk 12:24, 26 May 2014 (UTC)
  17. Oppose - "Drafts are articles in development and are little different to user subpages. Once they are mainspace articles they can be added." Green Giant (talk) 12:53, 27 May 2014 (UTC)

subtracting oppose directed to Wikipedia only or mixed answer (1,4,5,7)

Comment on (3): Google full-web search for "Draft:Minerals" produces "Draft:Minerals - Wikiversity
https://en.wikiversity.org/wiki/Draft:Minerals
Jul 8, 2018 - Draft:Minerals. This image shows several amphibole crystals in a glass bowl. Credit: Karelj. Minerals are usually solid, inorganic substances of natural occurrence."

Remaining support (1,2,3,4,5,6,7), remaining oppose (2,6,8,9). Support - Me (0), matej_suchanek corrected the filter (8). Total support for other draft ns = 9

Oppose - "Please restore the filter that prevents Wikidata links to v:Draft: namespace and delete any existing v:Draft: links. Thank you." -- Dave Braunschweig (talk) 20:41, 14 August 2018 (UTC) (10).
Oppose - "Undid Matěj's filter change; perhaps you can undo any edits that were allowed as a result, professor." Mahir256 (talk) 21:16, 14 August 2018 (UTC) (11)

Oppose? - "At this point I don't see any good reason to change Wikidata rules to accommodate this Wikiversity issue, it needs to be resolved there." ArthurPSmith (talk) 17:29, 16 August 2018 (UTC) (11)

Total oppose without changing WikiData rules (2,6,8,9,10,11) = 6. 9/15 = 0.6 not a consensus of support for WikiData Draft: ns items per filter now.

But what about those already there before filter created? support (1,2,3,4,5,6,7,0) = 8, oppose (2,6,8,9). 8/12 = 0.67 , plus matej_suchanek corrected the filter (8). Total support for other draft ns = 9, 9/13 = 0.69. Is that high enough to let the WikiData number be present for those Wikiversity Drafts who have one?

Add opinion of IP 61.170.244.181 on 23:26, 22 August 2018 (UTC) on [[d:Wikidata talk:Notability#Google search comparisons]] or https://www.wikidata.org/wiki/Wikidata_talk:Notability#Google_search_comparisons for 10/14 = 0.71. So please enact matej_suchanek change!

Aklapper changed the task status from Open to Stalled.Aug 29 2018, 11:28 AM

Setting task status to stalled due to missing community consensus.
See https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes

I can imagine that pasting statements allegedly made by other community members without any reference/proof where these statements were actually made could be problematic.

In either ways, this is clearly a policy changing request, and you should ask at project chat to get consensus for that.

It looks like this request has been ignored so far.

Thanks for reminding me about the sources. The first 17 are from [[d:Wikidata:Project_chat/Archive/2014/05#What_do_do_with_Wikipedia:Draft_articles]], https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2014/05#What_do_do_with_Wikipedia:Draft_articles. I have added each source after the next eight. Now all exact sources are available in the section https://www.wikidata.org/wiki/Wikidata:Administrators%27_noticeboard#Opinions_and_an_apparent_consensus, [[d:Wikidata:Administrators'_noticeboard#Opinions_and_an_apparent_consensus]]. It's only been posted for about two days.

Well, it's been 8-9 days and consensus is still at 84 %. Can you implement the change per user:matej_suchanek?

Thanks for reminding me about the sources. The first 17 are from [[d:Wikidata:Project_chat/Archive/2014/05#What_do_do_with_Wikipedia:Draft_articles]],

It looks like you only copied some text from https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2014/05#What_do_do_with_Wikipedia:Draft_articles and as if you added # Support yourself in https://www.wikidata.org/w/index.php?title=Wikidata%3AAdministrators%27_noticeboard&type=revision&diff=735341312&oldid=735270242 .

To me that looks like a gross misinterpretation.

The email I received also went to all or nearly all of those on the lists that I used to arrive at an apparent consensus. I'm happy to wait for them to clarify!

Just to be clear, the statements I quoted contain the exact literal meaning as written by each user and nothing presented "looks like [or is] a gross misinterpretation". By USA convention, anyone who disagrees with their own exact literal meaning as I've stated it must in turn state so. Those who agree need do nothing. This is not about "looks like" nor "interpretation", but is about exact literal meaning.

Thanks! That does work to put the WikiData qid number on the page. It would be great to have it under Page information per user:matej_suchanek's code listed above on Aug 14 2018, 2:26 AM. Consensus is not required.

Mu301 claimed this task.
Mu301 subscribed.

Cross-linking has been discussed on en-wv and is now closed, please see https://en.wikiversity.org/w/index.php?title=Wikiversity_talk:Drafts&diff=1995793&oldid=1995791

Our community is coordinating with Wikidata at https://www.wikidata.org/w/index.php?title=Wikidata:Administrators%27_noticeboard&oldid=907225910#links_to_en-wv_draft:_namespace

@Marshallsumter - please do not open frivolous tasks here that circumvent local consensus.