Last modified: 2014-02-12 21:38:39 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 T58572, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56572 - Make oojs and oojs-ui libraries available in MediaWiki core
Make oojs and oojs-ui libraries available in MediaWiki core
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: High enhancement (vote)
: 1.23.0 release
Assigned To: Trevor Parscal
:
Depends on: 56571
Blocks: 57943 56573
  Show dependency treegraph
 
Reported: 2013-11-04 17:48 UTC by James Forrester
Modified: 2014-02-12 21:38 UTC (History)
9 users (show)

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


Attachments

Description James Forrester 2013-11-04 17:48:26 UTC
OOjs and OOjs-UI should be made available as a library in core, much like jQuery.
Comment 1 Gerrit Notification Bot 2013-12-03 20:00:13 UTC
Change 98887 had a related patch set uploaded by Catrope:
Add oojs and oojs-ui to core

https://gerrit.wikimedia.org/r/98887
Comment 2 Gerrit Notification Bot 2013-12-04 03:20:23 UTC
Change 98887 had a related patch set uploaded by Jforrester:
Add oojs and oojs-ui to core

https://gerrit.wikimedia.org/r/98887
Comment 3 Matthew Flaschen 2013-12-05 03:26:13 UTC
OOJS (not included the UI part) was added in https://gerrit.wikimedia.org/r/#/c/99305/ (which is merged).
Comment 4 Gerrit Notification Bot 2013-12-05 03:28:53 UTC
Change 98887 had a related patch set uploaded by Jforrester:
Add OOJS UI v0.1.0-pre (f90c7bcce6) to core

https://gerrit.wikimedia.org/r/98887
Comment 5 Gerrit Notification Bot 2014-01-24 00:12:11 UTC
Change 98887 had a related patch set uploaded by Siebrand:
Add OOJS UI v0.1.0-pre (da9ec955a8) to core

https://gerrit.wikimedia.org/r/98887
Comment 6 Antoine "hashar" Musso (WMF) 2014-01-24 00:20:04 UTC
Can we please use submodules in mediawiki/core.git that would point to OOUI / OOJS tags. I really hate the proposal of copy/pasting code there.

If we want to ship them on Wikimedia cluster, we can still use submodules like we are doing in wmf branches with extensions.

To ship OOUI / OOJS with MediaWiki tarball, the make-release script we are using can be made to proceed submodules and thus include the content in the .tar.gz.
Comment 7 James Forrester 2014-01-24 00:23:40 UTC
(In reply to comment #6)
> Can we please use submodules in mediawiki/core.git that would point to OOUI /
> OOJS tags. I really hate the proposal of copy/pasting code there.
> 
> If we want to ship them on Wikimedia cluster, we can still use submodules
> like we are doing in wmf branches with extensions.
> 
> To ship OOUI / OOJS with MediaWiki tarball, the make-release script we are
> using can be made to proceed submodules and thus include the content in the
> .tar.gz.

We've historically avoided submodules in MW core because they add complications for down-stream users of git.

Also, note in this case that these aren't just "copy-and-pasted" OOjs / OOjs-UI trees, but are built, bundled libraries via a grunt process.
Comment 8 Antoine "hashar" Musso (WMF) 2014-02-07 13:25:25 UTC
> We've historically avoided submodules in MW core because they add
> complications
> for down-stream users of git.
> 
> Also, note in this case that these aren't just "copy-and-pasted" OOjs /
> OOjs-UI
> trees, but are built, bundled libraries via a grunt process.

Fair enough. I have removed my -2 from the Gerrit change :-]
Comment 9 Gerrit Notification Bot 2014-02-12 20:55:46 UTC
Change 98887 merged by jenkins-bot:
Add OOjs UI v0.1.0-pre (3b61a8d77c) to MW core

https://gerrit.wikimedia.org/r/98887

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


Navigation
Links