Last modified: 2013-08-22 14:33:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41734, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39734 - Enable item creation from failed search
Enable item creation from failed search
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-28 14:51 UTC by Silke Meyer (WMDE)
Modified: 2013-08-22 14:33 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot of confusing workflow/page creation offer (36.86 KB, image/jpeg)
2012-08-28 14:51 UTC, Silke Meyer (WMDE)
Details

Description Silke Meyer (WMDE) 2012-08-28 14:51:35 UTC
Created attachment 11019 [details]
Screenshot of confusing workflow/page creation offer

This is confusing:
I search for an item in the repo, it exists, it's displayed in the list of search results.
Or the item doesn't exist. Then MediaWiki offers me to create "the page", I don't pay attention, click yes please, then wonder why I can't enter language links, but just wikitext.

There should be a clear workflow for the repo/item creation that is not disturbed by other sorts of pages, e.g. you are directly offered to create the item and nothing else.
Comment 1 jeblad 2012-08-28 15:00:49 UTC
The message shown is "searchmenu-new", which can be modded o add a create item link.
Comment 2 Daniel Kinzler 2012-08-28 19:24:20 UTC
@jeblad: yea, it can be changed, but that would suck if someone searched in a different namespace, right?

I think a better approach would be to trigger a redirect to Special:CreateItem if someone hits action=edit in the data namespace. Would be easy to do, we are already handling the edit action to implement undo.
Comment 3 denny vrandecic 2012-09-06 09:32:54 UTC
This can be solved by:
* moving the items to the main namespaces and
* redirecting redlink=1 to Special:CreateItem
This should result in a slightly better action flow than the current setup.
Comment 4 Daniel Kinzler 2012-09-10 08:55:11 UTC
See Id8662270 for an implementation of redlink=1 redirecting to Special:CreateItem

However, I have given my own patch a -1 because while it's fine for the intended use case, it has some nasty side effects for other situations where redlinks may appear, especially in wikitext on talk pages:

An admin may want to follow the red link in order to restore the item. This would now be quite tricky to do, because we lose the information what the original item ID was, and Special:CreateItem does not have a "show deleted revisions" or "browse related logs" feature.

First of all, we should show these things on pages of deleted items ("search logs" for everyone, "deleted revisions" to groups that can undelete).

We should also show this on Special:CreateItem, if an "original Item ID" is passed as a URL parameter. Or, alternatively, don't redirect to Special:CreateItem, but instead embed Special:CreateItem on the "item doesn't exist" page.

I'm not sure which option I like better, it seems this needs more though/discussion.
Comment 5 Addshore 2013-08-09 10:02:06 UTC
As far as I can see this is resolved..

Searching for an entity that does not exist now displays the message:

"You may create a new item, but consider checking the search results below to see whether the topic is already covered. You may also search Wikidata items by title and language code."

Which links to http://www.wikidata.org/wiki/Special:NewItem

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links