Last modified: 2006-11-03 16:32:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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