Commit graph

14 commits

Author SHA1 Message Date
Reedy 673d3f5b07 Convert to manifest_version 2
Bug: T252470
Change-Id: I14efe6da7ead65d1fafda88ee1679ecbad0ac076
2020-05-12 01:53:21 +01:00
Jack Phoenix 4f51be9781 Global interlanguage links feature
To use, set the new global $wgInterwikiCentralInterlanguageDB to the
name of a MediaWiki DB from which to fetch global interlanguage links.
For example, on Uncyclomedia projects this could be 'uncm_meta' for
most of the Uncyclopedias to fetch their interlanguage links from the
meta-wiki, but perhaps 'illg_en' for the Illogicopedias to fetch their
interlanguage links from the English Illogicopedia's DB (instead of
the meta Uncyclomedia wiki's DB).

Disables local interlanguage links for as long as it is enabled, and
as such likewise prevents their editing, but does not change anything
currently in the local table.

Also bumped the version number and got rid of the silly, outdated
datestamp in it.

Bug: T220247
Change-Id: I6b691ef8e37367fe0e0fcb8b3778f4470d0c5200
2019-07-15 19:05:43 +00: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
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
Kunal Mehta ac1e61b87f Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I11279b46cfcd6c1a4a6bdc4ac0434677b2dce5e4
2018-01-31 23:12:42 -08:00
Fomafix b4d359d250 Load 'ext.interwiki.specialpage' as style module
This avoids a FOUC on loading.

For overwriting the wikitable styles a higher specificity is needed to
not depend on the order of loading.

The dependency to module 'jquery.makeCollapsible' is not necessary
because this module is loaded automatically.

Change-Id: Icc1ec927a89df5cf8c847ab5cb77d81f2651be49
2018-01-20 12:05:02 +00:00
Umherirrender 2d6236edfc Move InterwikiLogFormatter to own file
Makes MediaWiki.Files.OneClassPerFile.MultipleFound pass

Change-Id: I463de4435b1f1ef82b9e87b35ebc3ad16e181898
2017-12-16 14:14:00 +01:00
Siebrand Mazeland 8a62e6dfbd Replace deprecated method
Change-Id: Ief734bf89aea0c26a7121c687d930e91e3ac5611
2016-03-18 14:46:12 -07:00
Kunal Mehta cc3e30cfed Add MediaWiki version requirement to extension.json
Change-Id: Ibd804ef941e5188dfeb0374124c7e417bbc0de5d
2015-09-23 08:48:24 -07:00
Kunal Mehta 4554c359d0 Set license-name
Change-Id: Id7539a08e4e95479b185a874fa924ad12bc7f6a6
2015-07-22 21:51:08 -07:00
Kunal Mehta fc53141d31 Set manifest_version in extension.json
Bug: T100745
Change-Id: I20cfa3e12c9e9d6664810e72000dfa8bb2c35403
2015-05-28 20:44:53 -07:00
umherirrender 53cd67a722 Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead

Change-Id: I512120e9cf7245dbe2225c6bc5cc20549745ef04
2015-05-15 22:21:23 +02:00
Kunal Mehta 2b4421deef Add extension.json, empty PHP entry point
Bug: T88052
Change-Id: Ic1ca5abe416cb6228ef9033a394b8eec4fa1d97b
2015-05-02 19:29:17 -07:00