Page MenuHomePhabricator

[SPIKE] Understand how the "Article not found" text is controlled
Closed, ResolvedPublic

Description

As part of the search improvements project, we are considering making visual and copy changes to the "article not found" text. The goal: A reader does not get an impression of a failed flow.

This ticket is to understand which parts of the "article not found" text is controlled by the community and which is controlled by shared code across wikis, so that we understand which parts we can change on our end and which we need to work with the communities about.

Acceptance Criteria:

  • determine which parts of the “article not found/create new article” text is controlled by the community and which we can change and document it in this ticket
    • placement on the page
    • styling (color, italics, etc)
    • other

These are the messages for that CTA:
https://en.wikipedia.org/wiki/MediaWiki:Searchmenu-new-nocreate
https://en.wikipedia.org/wiki/MediaWiki:Searchmenu-new
https://en.wikipedia.org/wiki/MediaWiki:Searchmenu-exists
They even contain some logic (see ?action=edit) to show variable content.
Also check talk pages for context.

Event Timeline

AUgolnikova-WMF renamed this task from Understand how the "did you mean" text is controlled to Understand how the "Article not found" text is controlled.Apr 21 2022, 4:59 PM

Review the result in the search weekly meeting
Check with Olga/Peter
It might be targeting the editors but have a negative impact on readers

--Work in progress--

https://gerrit.wikimedia.org/g/mediawiki/core/+/1078ddc5d97504122fcb53b1119f808e1d375f22/includes/specials/SpecialSearch.php#574

Assumptions

Some key assumptions to start with:

  • Not every user can create articles
  • Not every wiki has an article creation process
  • Wiki communities can and have adjusted the interface messages used.
  • We can adjust position and some general styling.
Messages

We currently define the default values for:

  • Searchmenu-exists
  • Searchmenu-new

but right now Searchmenu-new-nocreate is wholly left to the communities to define since not all wiki's have an article creation process.

However!!!

Searchmenu-new has been modified by many wiki's with bespoke messages. Compare for example: enwiki, frwiki, dewiki, arwiki

Messages

The logic of which message is displayed is roughly based on the follow checks:

  • if the article exists
  • whether or not the content model of the page supports editing
  • whether the user has the ability to edit said page.

Many unregistered editors can edit a particular page and not all registered users can edit a particular page. The wording will also be affected as search is used for pages outside of the "main" article space.=

One possible path - lowest common denominator

How communities adapt the interface messaging is essentially outside of our control and as noted above there are aspects that simply do not translate equally across all wiki's. The best we can probably do is work with established minimums in terms of messaging.

  1. Version to show to all logged out users with no ability to edit whether the page exists or not.
    • If the topic is not covered, create an account and learn how to edit. - here I was thinking linking to growth tools?
  2. Version to show to reader's with ability to edit whether the page exists or not
    • If the topic is not covered, consider <a>creating a new article</a>.
  3. Version to show to loggedin with ability to edit when the article does not exist
    • A page with that title does not exist. Consider <a>creating the page</a>.
  4. Version to show to loggedin without ability to edit
    • A page with that title does not exist.

These could then be built upon by communities as they so desire.

Seddon renamed this task from Understand how the "Article not found" text is controlled to [SPIKE] Understand how the "Article not found" text is controlled.Apr 27 2022, 10:02 PM
CBogen claimed this task.