Solved: Rename: Std_DependencyGraph to Std_ExportGraphviz

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Solved: Rename: Std_DependencyGraph to Std_ExportGraphviz

Post by vocx »

The Std_DependencyGraph should be moved to to Std_ExportGraphviz.

The source code uses the name "Std_ExportGraphviz". It has been like that for a long time, at least since 2012. The name of the page in the wiki must match the sWhatsThis value.

https://github.com/FreeCAD/FreeCAD/blob ... c.cpp#L372

Code: Select all

StdCmdExportGraphviz::StdCmdExportGraphviz()
  : Command("Std_ExportGraphviz")
{
    // setting the
    sGroup        = QT_TR_NOOP("Tools");
    sMenuText     = QT_TR_NOOP("Dependency graph...");
    sToolTipText  = QT_TR_NOOP("Show the dependency graph of the objects in the active document");
    sStatusTip    = QT_TR_NOOP("Show the dependency graph of the objects in the active document");
    sWhatsThis    = "Std_ExportGraphviz";
    eType         = 0;
}
Last edited by vocx on Fri Oct 04, 2019 6:39 pm, edited 1 time in total.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Rename: Std_DependencyGraph to Std_ExportGraphviz

Post by renatorivo »

Done, thanks
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Rename: Std_DependencyGraph to Std_ExportGraphviz

Post by vocx »

renatorivo wrote: Fri Oct 04, 2019 6:44 am Done, thanks
Great, thanks.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Solved: Rename: Std_DependencyGraph to Std_ExportGraphviz

Post by vocx »

Followup, the page must be renamed again.

Rename: Std_ExportGraphviz to Std_DependencyGraph
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Solved: Rename: Std_DependencyGraph to Std_ExportGraphviz

Post by renatorivo »

Occasionally this error appears to me. If it doesn't resolve, renaming the page is a risk.

Code: Select all

Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(Impossibile accedere al server del database)

Backtrace:

#0 /var/www/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(931): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#1 /var/www/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(898): Wikimedia\Rdbms\LoadBalancer->getServerConnection(0, 'freecadweb_db01...', 0)
#2 /var/www/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1043): Wikimedia\Rdbms\LoadBalancer->getConnection(-1, Array, 'freecadweb_db01...', 0)
#3 /var/www/wiki/includes/GlobalFunctions.php(2576): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(-1, Array, 'freecadweb_db01...')
#4 /var/www/wiki/includes/user/User.php(458): wfGetDB(-1)
#5 /var/www/wiki/includes/libs/objectcache/wancache/WANObjectCache.php(1424): User->{closure}(false, 3600, Array, NULL)
#6 /var/www/wiki/includes/libs/objectcache/wancache/WANObjectCache.php(1278): WANObjectCache->fetchOrRegenerate('global:user:id:...', 3600, Object(Closure), Array)
#7 /var/www/wiki/includes/user/User.php(485): WANObjectCache->getWithSetCallback('global:user:id:...', 3600, Object(Closure), Array)
#8 /var/www/wiki/includes/user/User.php(404): User->loadFromCache()
#9 /var/www/wiki/includes/user/User.php(340): User->loadFromId(0)
#10 /var/www/wiki/includes/session/UserInfo.php(89): User->load()
#11 /var/www/wiki/includes/session/CookieSessionProvider.php(122): MediaWiki\Session\UserInfo::newFromId('1744')
#12 /var/www/wiki/includes/session/SessionManager.php(466): MediaWiki\Session\CookieSessionProvider->provideSessionInfo(Object(WebRequest))
#13 /var/www/wiki/includes/session/SessionManager.php(191): MediaWiki\Session\SessionManager->getSessionInfoForRequest(Object(WebRequest))
#14 /var/www/wiki/includes/WebRequest.php(806): MediaWiki\Session\SessionManager->getSessionForRequest(Object(WebRequest))
#15 /var/www/wiki/includes/session/SessionManager.php(129): WebRequest->getSession()
#16 /var/www/wiki/includes/Setup.php(827): MediaWiki\Session\SessionManager::getGlobalSession()
#17 /var/www/wiki/includes/WebStart.php(81): require_once('/var/www/wiki/i...')
#18 /var/www/wiki/index.php(41): require('/var/www/wiki/i...')
#19 {main}
Post Reply