Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DOCS-217 make all wiki links dochub links

  • Loading branch information...
commit d22f901e93e50557f25bfd0d507dfc727396a418 1 parent 36c7817
@dannenberg dannenberg authored RedBeard0531 committed
Showing with 45 additions and 45 deletions.
  1. +1 −1  README
  2. +1 −1  distsrc/README
  3. +2 −2 docs/building.debian.etch.ec2.md
  4. +2 −2 docs/building.md
  5. +1 −1  src/mongo/client/dbclientinterface.h
  6. +1 −1  src/mongo/client/examples/whereExample.cpp
  7. +1 −1  src/mongo/client/gridfs.h
  8. +2 −2 src/mongo/db/client.cpp
  9. +1 −1  src/mongo/db/commands/fsync.cpp
  10. +1 −1  src/mongo/db/commands/group.cpp
  11. +1 −1  src/mongo/db/commands/mr.cpp
  12. +3 −3 src/mongo/db/db.cpp
  13. +2 −2 src/mongo/db/dbcommands.cpp
  14. +1 −1  src/mongo/db/dbeval.cpp
  15. +1 −1  src/mongo/db/dbmessage.h
  16. +2 −2 src/mongo/db/dbwebserver.cpp
  17. +1 −1  src/mongo/db/geo/2d.cpp
  18. +1 −1  src/mongo/db/jsobj.cpp
  19. +1 −1  src/mongo/db/matcher.h
  20. +2 −2 src/mongo/db/repl.cpp
  21. +1 −1  src/mongo/db/repl/health.h
  22. +7 −7 src/mongo/db/repl/replset_commands.cpp
  23. +1 −1  src/mongo/db/repl/rs.cpp
  24. +1 −1  src/mongo/db/repl/rs_initiate.cpp
  25. +1 −1  src/mongo/db/stats/snapshots.cpp
  26. +1 −1  src/mongo/s/commands_admin.cpp
  27. +1 −1  src/mongo/s/commands_public.cpp
  28. +2 −2 src/mongo/shell/query.js
  29. +1 −1  src/mongo/shell/utils.js
  30. +1 −1  src/mongo/util/net/message.h
View
2  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
View
2  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
View
4 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
+ scons all
View
4 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
View
2  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
View
2  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.
*
View
2  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:
View
4 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>"
View
2  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
View
2  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 ) {
View
2  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; }
View
6 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 );
}
View
4 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() );
View
2  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") { }
View
2  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:
View
4 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();
View
2  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();
View
2  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.
View
2  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;
View
4 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;
}
View
2  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 ;
View
14 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());
}
}
View
2  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
{
View
2  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;
View
2  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>"
View
2  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:
View
2  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();
View
4 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,
View
2  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);");
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.