Last modified: 2014-08-25 12:06:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37665, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35665 - mwdocgen.php: does not include mw version
mwdocgen.php: does not include mw version
Status: NEW
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-03 13:42 UTC by Chad H.
Modified: 2014-08-25 12:06 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chad H. 2012-04-03 13:42:51 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.
Comment 1 Chad H. 2012-04-03 13:43:45 UTC
Fixing product/component. This needs fixing in the doxygen generator thingie in maintenance.
Comment 2 Antoine "hashar" Musso (WMF) 2012-12-09 22:50:53 UTC
The version has been hardcoded to 'master' with https://gerrit.wikimedia.org/r/#/c/25449/
Comment 3 TeleComNasSprVen 2014-05-07 10:08:40 UTC
Do we really still need

$this->addOption( 'version', 'Pass a MediaWiki version', false, true );

in mwdocgen.php? Should that be replaced with SpecialVersion::getVersion()?
Comment 4 Antoine "hashar" Musso (WMF) 2014-08-25 12:04:33 UTC
(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.
Comment 5 Krinkle 2014-08-25 12:06:43 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links