https://bugzilla.wikimedia.org/show_bug.cgi?id=49392

       Web browser: ---
            Bug ID: 49392
           Summary: Make make-wmf-branch able to branch extensions with
                    replaced substring of the version of mediawiki being
                    branched
           Product: Tools
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: [Other]
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to