Last modified: 2006-11-03 16:32:29 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 T9775, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7775 - 'Randompage' in robots.txt should be 'Random'?
'Randompage' in robots.txt should be 'Random'?
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/robots.txt
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-31 21:02 UTC by Freddy Vulto
Modified: 2006-11-03 16:32 UTC (History)
0 users

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


Attachments

Description Freddy Vulto 2006-10-31 21:02:46 UTC
The file robots.txt on wikipedia.org contains:

   Disallow: /wiki/Special:Randompage
   Disallow: /wiki/Special%3ARandompage

but the actual link is Special:Random - not Special:Randompage, so
shouldn't robots.txt contain:

   Disallow: /wiki/Special:Random
   Disallow: /wiki/Special%3ARandom

The current setting lets Google index random pages.  Now when you select
a search result, Google will serve you another (random) page - NOT the
page as suggested in the search results.  For example, search Google for:

   allinanchor:"Special:Random" site:wikipedia.org

and click on link '../wiki/Special:Random'.

Freddy Vulto
http://www.fvue.nl/wiki/Google_indexes_MediaWiki_page_with_url_of_Random_page
Comment 1 Brion Vibber 2006-11-03 16:32:29 UTC
Some time ago Special:Randompage was moved to Special:Random; the old name remains as an alias.
Conveniently the new name is a prefix of the old one, so we only need one entry. ;)

Set. Note that due to caching you may see old items for a while.

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


Navigation
Links