Commit graph

7 commits

Author SHA1 Message Date
Fomafix d259ebcb45 Preload tablesorter styles by module 'jquery.tablesorter.styles'
This change avoids the flash of missing sorting buttons while loading,
but only with I0b446d18f47428d8c0c4aed78b75de16fe106218 in MediaWiki
core included in MediaWiki 1.33 or higher.

Depends-On: I0b446d18f47428d8c0c4aed78b75de16fe106218
Change-Id: I12c90bc3cc2dc2b58f0ffa0fab55af3a67cb226b
2019-02-02 17:15:20 +01:00
Fomafix 884c3fbbfa SpecialInterwiki: Add <thead> and <tbody> in the sortable table
This avoids that module 'jquery.tablesorter' has to add the elements.

With change I0b446d18f47428d8c0c4aed78b75de16fe106218 in core this also
avoids a flash of missing sorting buttons while loading.

Change-Id: I66afdd78a524b53d130e2fa0ec5b8b4693928f45
2019-01-07 00:04:41 +01:00
Umherirrender 15ec47c8aa Add method scope visibility
Change-Id: I782dc75cc50ded5f00763ca600092885491064b0
2018-10-31 23:38:46 +01:00
Kunal Mehta bb1c7bf309 Get rid of most of the need for an extension function
* Conditionally register the userright with UserGetAllRights hook.
* Always register the LogActionsHandlers, it'll be a noop if not
  enabled.
* The $wgLogTypes modification is left alone for now, it can be moved
  to a hook once T200385 is implemented.

Bug: T180192
Change-Id: Ic5392fe93b6271d31ef1e6d589415ec77c0b14eb
2018-07-26 08:24:52 -07:00
Matěj Suchánek 9a794ffc44 Replace Linker::link() with LinkRenderer
This raises MediaWiki version requirement to 1.28.0.

Bug: T149346
Change-Id: Id677c70474dfb724ab93f1ee983038544923211b
2018-06-10 08:02:11 +00:00
Kunal Mehta 3b76bd8116 Don't use deprecated Interwiki static methods
Change-Id: I02466e26f9e1723dd64c052240d04bf1aae7452b
2018-06-07 11:39:17 -07:00
Kunal Mehta 65ed486c48 Move classes into includes/
Change-Id: I19aa6cfe5ba23076167c0cb026c55342737b4be2
2018-02-24 13:41:07 -08:00