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

Sam Reed (reedy) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Low

--- Comment #1 from Sam Reed (reedy) <[email protected]> ---
        // Allow a hook to add/remove items.
        wfRunHooks( 'SoftwareInfo', array( &$software ) );


    function getCreditsForExtension( array $extension ) {
        $name = isset( $extension['name'] ) ? $extension['name'] : '[no name]';

        $vcsText = false;

        if ( isset( $extension['path'] ) ) {
            $gitInfo = new GitInfo( dirname( $extension['path'] ) );
            $gitHeadSHA1 = $gitInfo->getHeadSHA1();



Should probably just add a hook in there somewhere. Maybe. Or a 'gitpath'
property or something:

'gitpath' => dirname( __DIR__ ),

And then check both (with gitpath having priority over path) for which to use

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

Reply via email to