Commit graph

4 commits

Author SHA1 Message Date
daniel
bd5c3d06a2 Annotate newable classes
This annotates classes that can safely be instantiated by
extensions, per the Stable Interface Policy.

Bug: T247862
Change-Id: Ia280f559874fc0750265ddeb7f831e65fd7d7d6a
2020-07-07 15:38:57 +02:00
Timo Tijhof
267b895f57 StaticArrayWriter: Add a public static write() method
This is a simple utility. I would be worried if this nears
the kind of complexity that warrants constructor parameters
and state.

Allow it to be used without instantiation for simpler use.

Follows-up I022c074e8a708fb (3b1e8a5cef).

Change-Id: I044f423c5219d72bc76bb35ecbba906df0305e49
2020-06-16 02:14:01 +00:00
Kunal Mehta
8a3bdfc633 Support nested arrays in StaticArrayWriter
This is needed by LCStoreStaticArray.

Bug: T200626
Change-Id: I76abd3849381b3b98e350a4627f3515eeb00fa2d
2018-08-27 22:23:02 +00:00
Kunal Mehta
3b1e8a5cef Move wfMakeStaticArrayFile() into a class
And include tests :)

This code is independent of MediaWiki, but not really large enough to be
worth librarizing right now.

Bug: T200626
Change-Id: I022c074e8a708fb5219bc4ff4b53e7e31f60dc4b
2018-08-17 22:48:19 -07:00