Skip to content

Commit

Permalink
DOCS-217 make all wiki links dochub links
Browse files Browse the repository at this point in the history
  • Loading branch information
dannenberg authored and RedBeard0531 committed Jun 29, 2012
1 parent 36c7817 commit d22f901
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion distsrc/README
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/building.debian.etch.ec2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
scons all
4 changes: 2 additions & 2 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/client/dbclientinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/client/examples/whereExample.cpp
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/client/gridfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/mongo/db/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/commands/fsync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/commands/group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/commands/mr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
6 changes: 3 additions & 3 deletions src/mongo/db/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
}
Expand Down Expand Up @@ -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 );
}
}
Expand Down Expand Up @@ -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 );
}
Expand Down
4 changes: 2 additions & 2 deletions src/mongo/db/dbcommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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") {}
Expand Down Expand Up @@ -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() );
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/dbeval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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") { }
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/dbmessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/mongo/db/dbwebserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/geo/2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/jsobj.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/matcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions src/mongo/db/repl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/repl/health.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down
14 changes: 7 additions & 7 deletions src/mongo/db/repl/replset_commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down Expand Up @@ -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") { }
Expand All @@ -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") { }
Expand Down Expand Up @@ -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());
}
}
Expand All @@ -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());
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/repl/rs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/repl/rs_initiate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/db/stats/snapshots.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/s/commands_admin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/s/commands_public.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions src/mongo/shell/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
Expand Down Expand Up @@ -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,
Expand Down
Loading

0 comments on commit d22f901

Please sign in to comment.