Last modified: 2013-08-22 14:33:49 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.
The message shown is "searchmenu-new", which can be modded o add a create item link.
@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.
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.
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.
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