Last modified: 2014-08-25 12:06:43 UTC
The old docs reported what version of trunk they were based on (r1234). We need to figure out how to get the git sha1 (shorthand) there as well.
Fixing product/component. This needs fixing in the doxygen generator thingie in maintenance.
The version has been hardcoded to 'master' with https://gerrit.wikimedia.org/r/#/c/25449/
Do we really still need $this->addOption( 'version', 'Pass a MediaWiki version', false, true ); in mwdocgen.php? Should that be replaced with SpecialVersion::getVersion()?
(In reply to TeleComNasSprVen from comment #3) > Do we really still need > > $this->addOption( 'version', 'Pass a MediaWiki version', false, true ); > > in mwdocgen.php? Should that be replaced with SpecialVersion::getVersion()? Continuous integration needs it to pass a custom version.
(In reply to Antoine "hashar" Musso from comment #4) > (In reply to TeleComNasSprVen from comment #3) > > Do we really still need > > > > $this->addOption( 'version', 'Pass a MediaWiki version', false, true ); > > > > in mwdocgen.php? Should that be replaced with SpecialVersion::getVersion()? > > Continuous integration needs it to pass a custom version. Why? Doesn't wgVersion reflect the correct version number (REL_*) / alpha cycle (master) already? SpecialVersion even supports getting the git branch in case we'd do something crazy, like, buildings docs for wmf branches.