summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Dannenberg <dannenberg.matt@gmail.com>2012-06-20 15:42:31 -0400
committerMathias Stearn <mathias@10gen.com>2012-06-29 13:41:29 -0400
commitd22f901e93e50557f25bfd0d507dfc727396a418 (patch)
tree365465023400635d54a5cd48311ba277a0eb568f
parent36c78176a97e52874850d38d08ac5f8019055325 (diff)
downloadmongo-d22f901e93e50557f25bfd0d507dfc727396a418.tar.gz
DOCS-217 make all wiki links dochub links
-rwxr-xr-xREADME2
-rw-r--r--distsrc/README2
-rw-r--r--docs/building.debian.etch.ec2.md4
-rw-r--r--docs/building.md4
-rw-r--r--src/mongo/client/dbclientinterface.h2
-rw-r--r--src/mongo/client/examples/whereExample.cpp2
-rw-r--r--src/mongo/client/gridfs.h2
-rw-r--r--src/mongo/db/client.cpp4
-rw-r--r--src/mongo/db/commands/fsync.cpp2
-rw-r--r--src/mongo/db/commands/group.cpp2
-rw-r--r--src/mongo/db/commands/mr.cpp2
-rw-r--r--src/mongo/db/db.cpp6
-rw-r--r--src/mongo/db/dbcommands.cpp4
-rw-r--r--src/mongo/db/dbeval.cpp2
-rw-r--r--src/mongo/db/dbmessage.h2
-rw-r--r--src/mongo/db/dbwebserver.cpp4
-rw-r--r--src/mongo/db/geo/2d.cpp2
-rw-r--r--src/mongo/db/jsobj.cpp2
-rw-r--r--src/mongo/db/matcher.h2
-rw-r--r--src/mongo/db/repl.cpp4
-rw-r--r--src/mongo/db/repl/health.h2
-rw-r--r--src/mongo/db/repl/replset_commands.cpp14
-rw-r--r--src/mongo/db/repl/rs.cpp2
-rw-r--r--src/mongo/db/repl/rs_initiate.cpp2
-rw-r--r--src/mongo/db/stats/snapshots.cpp2
-rw-r--r--src/mongo/s/commands_admin.cpp2
-rw-r--r--src/mongo/s/commands_public.cpp2
-rw-r--r--src/mongo/shell/query.js4
-rw-r--r--src/mongo/shell/utils.js2
-rw-r--r--src/mongo/util/net/message.h2
30 files changed, 45 insertions, 45 deletions
diff --git a/README b/README
index ed84a68925e..1d059c6dfab 100755
--- a/README
+++ b/README
@@ -47,7 +47,7 @@ DOCUMENTATION
MAIL LISTS AND IRC
- http://www.mongodb.org/display/DOCS/Community
+ http://dochub.mongodb.org/core/community
32 BIT BUILD NOTES
diff --git a/distsrc/README b/distsrc/README
index 9b092a33449..8cc83742981 100644
--- a/distsrc/README
+++ b/distsrc/README
@@ -43,7 +43,7 @@ DOCUMENTATION
MAIL LISTS AND IRC
- http://www.mongodb.org/display/DOCS/Community
+ http://dochub.mongodb.org/core/community
32 BIT BUILD NOTES
diff --git a/docs/building.debian.etch.ec2.md b/docs/building.debian.etch.ec2.md
index 1ac50c3b4e0..d01c4e76c54 100644
--- a/docs/building.debian.etch.ec2.md
+++ b/docs/building.debian.etch.ec2.md
@@ -7,7 +7,7 @@ ami-f2f6159b
apt-get install python-setuptools libpcre3-dev
apt-get install libboost-filesystem-dev libboost-dev libboost-thread-dev libboost-program-options-dev libboost-date-time-dev
-See: http://www.mongodb.org/display/DOCS/Building+Spider+Monkey
+See: http://dochub.mongodb.org/core/buildingspidermonkey
ln -s /usr/bin/g++-4.1 /usr/bin/g++
ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
@@ -16,4 +16,4 @@ See: http://www.mongodb.org/display/DOCS/Building+Spider+Monkey
git clone git://github.com/mongodb/mongo.git
cd mongo
- scons all \ No newline at end of file
+ scons all
diff --git a/docs/building.md b/docs/building.md
index 8bf62e8bba5..7b4fc2e7657 100644
--- a/docs/building.md
+++ b/docs/building.md
@@ -5,7 +5,7 @@ Building MongoDB
SCONS
---------------
-For detail information about building, please see [the wiki](http://www.mongodb.org/display/DOCS/Building).
+For detail information about building, please see [the wiki](http://dochub.mongodb.org/core/building).
If you want to build everything (mongod, mongo, tools, etc):
@@ -39,7 +39,7 @@ of GCC may not be happy.
WINDOWS
--------------
-See http://www.mongodb.org/display/DOCS/Building+for+Windows
+See http://dochub.mongodb.org/core/buildingforwindows
Build requirements:
* vc++ express or visual studio
diff --git a/src/mongo/client/dbclientinterface.h b/src/mongo/client/dbclientinterface.h
index 336033299f0..6e7c9690776 100644
--- a/src/mongo/client/dbclientinterface.h
+++ b/src/mongo/client/dbclientinterface.h
@@ -728,7 +728,7 @@ namespace mongo {
/** Run a map/reduce job on the server.
- See http://www.mongodb.org/display/DOCS/MapReduce
+ See http://dochub.mongodb.org/core/mapreduce
ns namespace (db+collection name) of input data
jsmapf javascript map function code
diff --git a/src/mongo/client/examples/whereExample.cpp b/src/mongo/client/examples/whereExample.cpp
index 00b114cf5d3..a2f98d7f71d 100644
--- a/src/mongo/client/examples/whereExample.cpp
+++ b/src/mongo/client/examples/whereExample.cpp
@@ -1,5 +1,5 @@
// @file whereExample.cpp
-// @see http://www.mongodb.org/display/DOCS/Server-side+Code+Execution
+// @see http://dochub.mongodb.org/core/serversidecodeexecution
/* Copyright 2009 10gen Inc.
*
diff --git a/src/mongo/client/gridfs.h b/src/mongo/client/gridfs.h
index 2406b4bef85..d6a4d418c3d 100644
--- a/src/mongo/client/gridfs.h
+++ b/src/mongo/client/gridfs.h
@@ -51,7 +51,7 @@ namespace mongo {
/**
GridFS is for storing large file-style objects in MongoDB.
- @see http://www.mongodb.org/display/DOCS/GridFS+Specification
+ @see http://dochub.mongodb.org/core/gridfsspec
*/
class GridFS {
public:
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index a33198a5cf8..6cec95cf2ed 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -475,12 +475,12 @@ namespace mongo {
ss << "\n<table border=1 cellpadding=2 cellspacing=0>";
ss << "<tr align='left'>"
<< th( a("", "Connections to the database, both internal and external.", "Client") )
- << th( a("http://www.mongodb.org/display/DOCS/Viewing+and+Terminating+Current+Operation", "", "OpId") )
+ << th( a("http://dochub.mongodb.org/core/viewingandterminatingcurrentoperation", "", "OpId") )
<< "<th>Locking</th>"
<< "<th>Waiting</th>"
<< "<th>SecsRunning</th>"
<< "<th>Op</th>"
- << th( a("http://www.mongodb.org/display/DOCS/Developer+FAQ#DeveloperFAQ-What%27sa%22namespace%22%3F", "", "Namespace") )
+ << th( a("http://dochub.mongodb.org/core/whatisanamespace", "", "Namespace") )
<< "<th>Query</th>"
<< "<th>client</th>"
<< "<th>msg</th>"
diff --git a/src/mongo/db/commands/fsync.cpp b/src/mongo/db/commands/fsync.cpp
index d3debc7565c..03e64c20e23 100644
--- a/src/mongo/db/commands/fsync.cpp
+++ b/src/mongo/db/commands/fsync.cpp
@@ -35,7 +35,7 @@ namespace mongo {
*/
class FSyncCommand : public Command {
public:
- static const char* url() { return "http://www.mongodb.org/display/DOCS/fsync+Command"; }
+ static const char* url() { return "http://dochub.mongodb.org/core/fsynccommand"; }
bool locked;
bool pendingUnlock;
SimpleMutex m; // protects locked var above
diff --git a/src/mongo/db/commands/group.cpp b/src/mongo/db/commands/group.cpp
index 3cb6167d99c..9fbd56d8a4b 100644
--- a/src/mongo/db/commands/group.cpp
+++ b/src/mongo/db/commands/group.cpp
@@ -30,7 +30,7 @@ namespace mongo {
virtual bool slaveOk() const { return false; }
virtual bool slaveOverrideOk() const { return true; }
virtual void help( stringstream &help ) const {
- help << "http://www.mongodb.org/display/DOCS/Aggregation";
+ help << "http://dochub.mongodb.org/core/aggregation";
}
BSONObj getKey( const BSONObj& obj , const BSONObj& keyPattern , ScriptingFunction func , double avgSize , Scope * s ) {
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp
index 6a353c2a414..e40e1357cb9 100644
--- a/src/mongo/db/commands/mr.cpp
+++ b/src/mongo/db/commands/mr.cpp
@@ -1008,7 +1008,7 @@ namespace mongo {
virtual void help( stringstream &help ) const {
help << "Run a map/reduce operation on the server.\n";
help << "Note this is used for aggregation, not querying, in MongoDB.\n";
- help << "http://www.mongodb.org/display/DOCS/MapReduce";
+ help << "http://dochub.mongodb.org/core/mapreduce";
}
virtual LockType locktype() const { return NONE; }
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 55d673fffa3..51e1626a1c0 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -481,7 +481,7 @@ namespace mongo {
ss << "*********************************************************************" << endl;
ss << " ERROR: dbpath (" << dbpath << ") does not exist." << endl;
ss << " Create this directory or give existing directory in --dbpath." << endl;
- ss << " See http://www.mongodb.org/display/DOCS/Starting+and+Stopping+Mongo" << endl;
+ ss << " See http://dochub.mongodb.org/core/startingandstoppingmongo" << endl;
ss << "*********************************************************************" << endl;
uassert( 10296 , ss.str().c_str(), boost::filesystem::exists( dbpath ) );
}
@@ -914,7 +914,7 @@ static int mongoDbMain(int argc, char* argv[]) {
replSettings.autoresync = true;
if( params.count("replSet") ) {
out() << "--autoresync is not used with --replSet" << endl;
- out() << "see http://www.mongodb.org/display/DOCS/Resyncing+a+Very+Stale+Replica+Set+Member" << endl;
+ out() << "see http://dochub.mongodb.org/core/resyncingaverystalereplicasetmember" << endl;
dbexit( EXIT_BADOPTIONS );
}
}
@@ -1014,7 +1014,7 @@ static int mongoDbMain(int argc, char* argv[]) {
if (params.count("pairwith") || params.count("arbiter") || params.count("opIdMem")) {
out() << "****" << endl;
out() << "Replica Pairs have been deprecated. Invalid options: --pairwith, --arbiter, and/or --opIdMem" << endl;
- out() << "<http://www.mongodb.org/display/DOCS/Replica+Pairs>" << endl;
+ out() << "<http://dochub.mongodb.org/core/replicapairs>" << endl;
out() << "****" << endl;
dbexit( EXIT_BADOPTIONS );
}
diff --git a/src/mongo/db/dbcommands.cpp b/src/mongo/db/dbcommands.cpp
index 6b4b2c08c3d..ad9f32e3055 100644
--- a/src/mongo/db/dbcommands.cpp
+++ b/src/mongo/db/dbcommands.cpp
@@ -403,7 +403,7 @@ namespace mongo {
help << "{ profile : <n> }\n";
help << "0=off 1=log slow ops 2=log all\n";
help << "-1 to get current values\n";
- help << "http://www.mongodb.org/display/DOCS/Database+Profiler";
+ help << "http://dochub.mongodb.org/core/databaseprofiler";
}
virtual LockType locktype() const { return WRITE; }
CmdProfile() : Command("profile") {}
@@ -698,7 +698,7 @@ namespace mongo {
bool adminOnly() const {
return true;
}
- void help(stringstream& h) const { h << "http://www.mongodb.org/display/DOCS/Monitoring+and+Diagnostics#MonitoringandDiagnostics-DatabaseRecord%2FReplay"; }
+ void help(stringstream& h) const { h << "http://dochub.mongodb.org/core/monitoring#MonitoringandDiagnostics-DatabaseRecord%2FReplay%28diagLoggingcommand%29"; }
virtual LockType locktype() const { return WRITE; }
bool run(const string& dbname , BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool) {
int was = _diaglog.setLevel( cmdObj.firstElement().numberInt() );
diff --git a/src/mongo/db/dbeval.cpp b/src/mongo/db/dbeval.cpp
index fd9392c2b6e..bc3a8881fb0 100644
--- a/src/mongo/db/dbeval.cpp
+++ b/src/mongo/db/dbeval.cpp
@@ -112,7 +112,7 @@ namespace mongo {
return false;
}
virtual void help( stringstream &help ) const {
- help << "Evaluate javascript at the server.\n" "http://www.mongodb.org/display/DOCS/Server-side+Code+Execution";
+ help << "Evaluate javascript at the server.\n" "http://dochub.mongodb.org/core/serversidecodeexecution";
}
virtual LockType locktype() const { return NONE; }
CmdEval() : Command("eval", false, "$eval") { }
diff --git a/src/mongo/db/dbmessage.h b/src/mongo/db/dbmessage.h
index dd90b20defc..882f91316af 100644
--- a/src/mongo/db/dbmessage.h
+++ b/src/mongo/db/dbmessage.h
@@ -106,7 +106,7 @@ namespace mongo {
/* For the database/server protocol, these objects and functions encapsulate
the various messages transmitted over the connection.
- See http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol
+ See http://dochub.mongodb.org/core/mongowireprotocol
*/
class DbMessage {
public:
diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp
index a9818dc29fb..dac1927f111 100644
--- a/src/mongo/db/dbwebserver.cpp
+++ b/src/mongo/db/dbwebserver.cpp
@@ -239,7 +239,7 @@ namespace mongo {
/*
ss << "HTTP <a "
"title=\"click for documentation on this http interface\""
- "href=\"http://www.mongodb.org/display/DOCS/Http+Interface\">admin port</a>:" << _port << "<p>\n";
+ "href=\"http://dochub.mongodb.org/core/httpinterface\">admin port</a>:" << _port << "<p>\n";
*/
doUnlockedStuff(ss);
@@ -448,7 +448,7 @@ namespace mongo {
stringstream ss;
ss << start("Commands List");
ss << p( a("/", "back", "Home") );
- ss << p( "<b>MongoDB List of <a href=\"http://www.mongodb.org/display/DOCS/Commands\">Commands</a></b>\n" );
+ ss << p( "<b>MongoDB List of <a href=\"http://dochub.mongodb.org/core/commands\">Commands</a></b>\n" );
const map<string, Command*> *m = Command::commandsByBestName();
ss << "S:slave-ok R:read-lock W:write-lock A:admin-only<br>\n";
ss << table();
diff --git a/src/mongo/db/geo/2d.cpp b/src/mongo/db/geo/2d.cpp
index 768e3a6b323..af208e80217 100644
--- a/src/mongo/db/geo/2d.cpp
+++ b/src/mongo/db/geo/2d.cpp
@@ -2875,7 +2875,7 @@ namespace mongo {
Geo2dFindNearCmd() : Command( "geoNear" ) {}
virtual LockType locktype() const { return READ; }
bool slaveOk() const { return true; }
- void help(stringstream& h) const { h << "http://www.mongodb.org/display/DOCS/Geospatial+Indexing#GeospatialIndexing-geoNearCommand"; }
+ void help(stringstream& h) const { h << "http://dochub.mongodb.org/core/geo#GeospatialIndexing-geoNearCommand"; }
bool slaveOverrideOk() const { return true; }
bool run(const string& dbname, BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
string ns = dbname + "." + cmdObj.firstElement().valuestr();
diff --git a/src/mongo/db/jsobj.cpp b/src/mongo/db/jsobj.cpp
index b7b47c6bba7..366d3dad151 100644
--- a/src/mongo/db/jsobj.cpp
+++ b/src/mongo/db/jsobj.cpp
@@ -1,5 +1,5 @@
/** @file jsobj.cpp - BSON implementation
- http://www.mongodb.org/display/DOCS/BSON
+ http://dochub.mongodb.org/core/bson
*/
/* Copyright 2009 10gen Inc.
diff --git a/src/mongo/db/matcher.h b/src/mongo/db/matcher.h
index fe2833a203f..1fd9a4475b1 100644
--- a/src/mongo/db/matcher.h
+++ b/src/mongo/db/matcher.h
@@ -261,7 +261,7 @@ namespace mongo {
/* $atomic - if true, a multi document operation (some removes, updates)
should be done atomically. in that case, we do not yield -
i.e. we stay locked the whole time.
- http://www.mongodb.org/display/DOCS/Removing[
+ http://dochub.mongodb.org/core/remove
*/
bool _atomic;
diff --git a/src/mongo/db/repl.cpp b/src/mongo/db/repl.cpp
index 188380a57f9..23e9300dcba 100644
--- a/src/mongo/db/repl.cpp
+++ b/src/mongo/db/repl.cpp
@@ -93,12 +93,12 @@ namespace mongo {
virtual bool logTheOp() { return false; }
virtual bool lockGlobally() const { return true; }
virtual LockType locktype() const { return WRITE; }
- void help(stringstream&h) const { h << "resync (from scratch) an out of date replica slave.\nhttp://www.mongodb.org/display/DOCS/Master+Slave"; }
+ void help(stringstream&h) const { h << "resync (from scratch) an out of date replica slave.\nhttp://dochub.mongodb.org/core/masterslave"; }
CmdResync() : Command("resync") { }
virtual bool run(const string& , BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
if( cmdLine.usingReplSets() ) {
errmsg = "resync command not currently supported with replica sets. See RS102 info in the mongodb documentations";
- result.append("info", "http://www.mongodb.org/display/DOCS/Resyncing+a+Very+Stale+Replica+Set+Member");
+ result.append("info", "http://dochub.mongodb.org/core/resyncingaverystalereplicasetmember");
return false;
}
diff --git a/src/mongo/db/repl/health.h b/src/mongo/db/repl/health.h
index 55cca93a27e..0cb2f220d6f 100644
--- a/src/mongo/db/repl/health.h
+++ b/src/mongo/db/repl/health.h
@@ -32,7 +32,7 @@ namespace mongo {
bool isDefault() const { return *this == HealthOptions(); }
- // see http://www.mongodb.org/display/DOCS/Replica+Set+Internals
+ // see http://dochub.mongodb.org/core/replicasetinternals
unsigned heartbeatSleepMillis;
unsigned heartbeatTimeoutMillis;
unsigned heartbeatConnRetries ;
diff --git a/src/mongo/db/repl/replset_commands.cpp b/src/mongo/db/repl/replset_commands.cpp
index d2aa8228468..208601d59fd 100644
--- a/src/mongo/db/repl/replset_commands.cpp
+++ b/src/mongo/db/repl/replset_commands.cpp
@@ -115,7 +115,7 @@ namespace mongo {
virtual void help( stringstream &help ) const {
help << "Report status of a replica set from the POV of this server\n";
help << "{ replSetGetStatus : 1 }";
- help << "\nhttp://www.mongodb.org/display/DOCS/Replica+Set+Commands";
+ help << "\nhttp://dochub.mongodb.org/core/replicasetcommands";
}
CmdReplSetGetStatus() : ReplSetCommand("replSetGetStatus", true) { }
virtual bool run(const string& , BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
@@ -135,7 +135,7 @@ namespace mongo {
virtual void help( stringstream &help ) const {
help << "Adjust configuration of a replica set\n";
help << "{ replSetReconfig : config_object }";
- help << "\nhttp://www.mongodb.org/display/DOCS/Replica+Set+Commands";
+ help << "\nhttp://dochub.mongodb.org/core/replicasetcommands";
}
CmdReplSetReconfig() : ReplSetCommand("replSetReconfig"), mutex("rsreconfig") { }
virtual bool run(const string& a, BSONObj& b, int e, string& errmsg, BSONObjBuilder& c, bool d) {
@@ -225,7 +225,7 @@ namespace mongo {
help << "this node will not attempt to become primary until the time period specified expires.\n";
help << "You can call again with {replSetFreeze:0} to unfreeze sooner.\n";
help << "A process restart unfreezes the member also.\n";
- help << "\nhttp://www.mongodb.org/display/DOCS/Replica+Set+Commands";
+ help << "\nhttp://dochub.mongodb.org/core/replicasetcommands";
}
CmdReplSetFreeze() : ReplSetCommand("replSetFreeze") { }
@@ -249,7 +249,7 @@ namespace mongo {
help << "{ replSetStepDown : <seconds> }\n";
help << "Step down as primary. Will not try to reelect self for the specified time period (1 minute if no numeric secs value specified).\n";
help << "(If another member with same priority takes over in the meantime, it will stay primary.)\n";
- help << "http://www.mongodb.org/display/DOCS/Replica+Set+Commands";
+ help << "http://dochub.mongodb.org/core/replicasetcommands";
}
CmdReplSetStepDown() : ReplSetCommand("replSetStepDown") { }
@@ -368,7 +368,7 @@ namespace mongo {
if( cmdLine._replSet.empty() )
s << p("Not using --replSet");
else {
- s << p("Still starting up, or else set is not yet " + a("http://www.mongodb.org/display/DOCS/Replica+Set+Configuration#InitialSetup", "", "initiated")
+ s << p("Still starting up, or else set is not yet " + a("http://dochub.mongodb.org/core/replicasetconfiguration#ReplicaSetConfiguration-InitialSetup", "", "initiated")
+ ".<br>" + ReplSet::startupStatusMsg.get());
}
}
@@ -392,14 +392,14 @@ namespace mongo {
s << p( a("/", "back", "Home") + " | " +
a("/local/system.replset/?html=1", "", "View Replset Config") + " | " +
a("/replSetGetStatus?text=1", "", "replSetGetStatus") + " | " +
- a("http://www.mongodb.org/display/DOCS/Replica+Sets", "", "Docs")
+ a("http://dochub.mongodb.org/core/replicasets", "", "Docs")
);
if( theReplSet == 0 ) {
if( cmdLine._replSet.empty() )
s << p("Not using --replSet");
else {
- s << p("Still starting up, or else set is not yet " + a("http://www.mongodb.org/display/DOCS/Replica+Set+Configuration#InitialSetup", "", "initiated")
+ s << p("Still starting up, or else set is not yet " + a("http://dochub.mongodb.org/core/replicasetconfiguration#ReplicaSetConfiguration-InitialSetup", "", "initiated")
+ ".<br>" + ReplSet::startupStatusMsg.get());
}
}
diff --git a/src/mongo/db/repl/rs.cpp b/src/mongo/db/repl/rs.cpp
index edba9a7cbf3..33e3115be42 100644
--- a/src/mongo/db/repl/rs.cpp
+++ b/src/mongo/db/repl/rs.cpp
@@ -81,7 +81,7 @@ namespace mongo {
log() << "replSet error RS102 too stale to catch up, at least from " << stale->fullName() << rsLog;
log() << "replSet our last optime : " << lastOpTimeWritten.toStringLong() << rsLog;
log() << "replSet oldest at " << stale->fullName() << " : " << oldest["ts"]._opTime().toStringLong() << rsLog;
- log() << "replSet See http://www.mongodb.org/display/DOCS/Resyncing+a+Very+Stale+Replica+Set+Member" << rsLog;
+ log() << "replSet See http://dochub.mongodb.org/core/resyncingaverystalereplicasetmember" << rsLog;
// reset minvalid so that we can't become primary prematurely
{
diff --git a/src/mongo/db/repl/rs_initiate.cpp b/src/mongo/db/repl/rs_initiate.cpp
index 8b8ac26087d..cb4d684c317 100644
--- a/src/mongo/db/repl/rs_initiate.cpp
+++ b/src/mongo/db/repl/rs_initiate.cpp
@@ -148,7 +148,7 @@ namespace mongo {
CmdReplSetInitiate() : ReplSetCommand("replSetInitiate") { }
virtual void help(stringstream& h) const {
h << "Initiate/christen a replica set.";
- h << "\nhttp://www.mongodb.org/display/DOCS/Replica+Set+Commands";
+ h << "\nhttp://dochub.mongodb.org/core/replicasetcommands";
}
virtual bool run(const string& , BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
log() << "replSet replSetInitiate admin command received from client" << rsLog;
diff --git a/src/mongo/db/stats/snapshots.cpp b/src/mongo/db/stats/snapshots.cpp
index b193177d576..badf525c4df 100644
--- a/src/mongo/db/stats/snapshots.cpp
+++ b/src/mongo/db/stats/snapshots.cpp
@@ -195,7 +195,7 @@ namespace mongo {
ss << "<table border=1 cellpadding=2 cellspacing=0>";
ss << "<tr align='left'><th>";
- ss << a("http://www.mongodb.org/display/DOCS/Developer+FAQ#DeveloperFAQ-What%27sa%22namespace%22%3F", "namespace") <<
+ ss << a("http://dochub.mongodb.org/core/whatisanamespace", "namespace") <<
"NS</a></th>"
"<th colspan=2>total</th>"
"<th colspan=2>Reads</th>"
diff --git a/src/mongo/s/commands_admin.cpp b/src/mongo/s/commands_admin.cpp
index 19c672855c7..cfd629a5fd8 100644
--- a/src/mongo/s/commands_admin.cpp
+++ b/src/mongo/s/commands_admin.cpp
@@ -951,7 +951,7 @@ namespace mongo {
} addServer;
/* See usage docs at:
- * http://www.mongodb.org/display/DOCS/Configuring+Sharding#ConfiguringSharding-Removingashard
+ * http://dochub.mongodb.org/core/configuringsharding#ConfiguringSharding-Removingashard
*/
class RemoveShardCmd : public GridAdminCmd {
public:
diff --git a/src/mongo/s/commands_public.cpp b/src/mongo/s/commands_public.cpp
index 54b03ffd0e5..42101af216b 100644
--- a/src/mongo/s/commands_public.cpp
+++ b/src/mongo/s/commands_public.cpp
@@ -978,7 +978,7 @@ namespace mongo {
class Geo2dFindNearCmd : public PublicGridCommand {
public:
Geo2dFindNearCmd() : PublicGridCommand( "geoNear" ) {}
- void help(stringstream& h) const { h << "http://www.mongodb.org/display/DOCS/Geospatial+Indexing#GeospatialIndexing-geoNearCommand"; }
+ void help(stringstream& h) const { h << "http://dochub.mongodb.org/core/geo#GeospatialIndexing-geoNearCommand"; }
virtual bool passOptions() const { return true; }
bool run(const string& dbName , BSONObj& cmdObj, int options, string& errmsg, BSONObjBuilder& result, bool) {
string collection = cmdObj.firstElement().valuestrsafe();
diff --git a/src/mongo/shell/query.js b/src/mongo/shell/query.js
index 0354066a825..a93a40cdeb1 100644
--- a/src/mongo/shell/query.js
+++ b/src/mongo/shell/query.js
@@ -33,7 +33,7 @@ DBQuery.prototype.help = function () {
print("\t.explain([verbose])")
print("\t.hint(...)")
print("\t.addOption(n) - adds op_query options -- see wire protocol")
- print("\t._addSpecial(name, value) - http://www.mongodb.org/display/DOCS/Advanced%20Queries#AdvancedQueries-Metaqueryoperators")
+ print("\t._addSpecial(name, value) - http://dochub.mongodb.org/core/advancedqueries#AdvancedQueries-Metaqueryoperators")
print("\t.batchSize(n) - sets the number of docs to return per getMore")
print("\t.showDiskLoc() - adds a $diskLoc field to each returned object")
print("\t.min(idxDoc)")
@@ -345,7 +345,7 @@ DBQuery.shellBatchSize = 20;
/**
* Query option flag bit constants.
- * @see http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol#MongoWireProtocol-OPQUERY
+ * @see http://dochub.mongodb.org/core/mongowireprotocol#MongoWireProtocol-OPQUERY
*/
DBQuery.Option = {
tailable: 0x2,
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js
index a5d496e4dd1..7b34e3c83d6 100644
--- a/src/mongo/shell/utils.js
+++ b/src/mongo/shell/utils.js
@@ -1816,7 +1816,7 @@ rs.debug.getLastOpWritten = function(server) {
help = shellHelper.help = function (x) {
if (x == "mr") {
- print("\nSee also http://www.mongodb.org/display/DOCS/MapReduce");
+ print("\nSee also http://dochub.mongodb.org/core/mapreduce");
print("\nfunction mapf() {");
print(" // 'this' holds current document to inspect");
print(" emit(key, value);");
diff --git a/src/mongo/util/net/message.h b/src/mongo/util/net/message.h
index 17b685f14bc..e78ff388753 100644
--- a/src/mongo/util/net/message.h
+++ b/src/mongo/util/net/message.h
@@ -85,7 +85,7 @@ namespace mongo {
}
#pragma pack(1)
- /* see http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol
+ /* see http://dochub.mongodb.org/core/mongowireprotocol
*/
struct MSGHEADER {
int messageLength; // total message size, including this