Last modified: 2014-02-26 11:21:31 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 T51392, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49392 - Make make-wmf-branch able to branch extensions with replaced substring of the version of mediawiki being branched
Make make-wmf-branch able to branch extensions with replaced substring of the...
Status: NEW
Product: Utilities
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Sam Reed (reedy)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 16:49 UTC by Sam Reed (reedy)
Modified: 2014-02-26 11:21 UTC (History)
3 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-06-10 16:49:13 UTC
Rather than having to manually update make-wmf-branch/default.conf (even more so now with the weekly branching and deployments), it'd be great if we could make the special extension versions a bit more dynamic if required.

Current:
$specialExtensions = array(
	'DataValues' => 'mw1.22-wmf5',
	'Diff' => 'mw1.22-wmf5',
	'Wikibase' => 'mw1.22-wmf5',
);

New?

$specialExtensions = array(
	'DataValues' => 'mw-$wgVersion',
	'Diff' => 'mw-$wgVersion',
	'Wikibase' => 'mw-$wgVersion',
);

$wgVersion can be replaced inline by the code.

I'm not sure of the best way to lay this out.. Wikidata have been using a hyphen in the middle, which doesn't work so well with how $wgVersion currently is. Could we swap to say mw-1.22wmf5 via mw-$wgVersion? Or should try and support the current? Maybe with a major and a minor (major being 1.22, minor being wmf5) etc
Comment 1 Sam Reed (reedy) 2013-09-05 00:36:31 UTC
And of course, the simplest replace won't actually work for this, with Wikidata not updating every week...

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


Navigation
Links