Closed Bug 1047872 Opened 7 years ago Closed 7 years ago

Search engines should not index "action=edit" links

Categories

(Websites :: wiki.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2014-Q3

People

(Reporter: hwine, Unassigned)

References

Details

Google (and probably other) search engines appear to index and follow links in the "edit view" of our wiki pages. A quick look shows that we do not properly tell search engines to ignore that material when the edit request is not authenticated.

STR:

1. use google to search for: "site:wiki.mozilla.org fresh_bb_setup"

2. note that 4 matches are returned -- 2 to rendered pages, and 2 to the "edit" view of each of those pages.

3. in a browser already authenticated to edit wikimo, load one of the edit links:
  https://wiki.mozilla.org/index.php?title=ReleaseEngineering/How_To/Setup_Personal_Development_Master&action=edit

4. View the source html for that page, and note the presence of the header:
    <meta name="robots" content="noindex,nofollow" />
    
5. Load the same URL from #3 in a browser not authenticated

6. View the source html for that page. No robots instruction is present.

It would be nice to both save the server/bandwidth costs AND get rid of those duplicate search results.
I'm sure this will get fixed automatically once we upgrade to MediaWiki 1.23.
Depends on: 1032351
(In reply to Gordon P. Hemsley [:GPHemsley] from comment #1)
> I'm sure this will get fixed automatically once we upgrade to MediaWiki 1.23.

I appear to have been correct.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-Q3
You need to log in before you can comment on or make changes to this bug.