Commit graph

18 commits

Author SHA1 Message Date
Umherirrender c6ebd4f89d Replace deprecated HTMLForm::setIntro
Bug: T325474
Change-Id: I93b3354ef94ea0430d4f5cff172cc81cd5495360
2022-12-27 18:17:01 +01:00
Reedy 7bb8875696 Namespace extension
Change-Id: Ia510f65e739d21bcfd6072c82859109d05cf5dd1
2021-03-14 05:40:38 +00:00
Umherirrender 40410e38dc Move css into own modules folder
There is no need to have it in the root folder

Change-Id: I656985dc019854299c70948547288b27de5951ca
2021-03-12 23:33:24 +01:00
C. Scott Ananian b21bafe385 Don't register InterwikiLoadPrefix hook unless it is needed
The InterwikiLoadPrefix hook has been deprecated, as it doesn't
support some functions needed in a round-trip wikitext parser
(T270444).  This extension doesn't require the hook in the way that it
is used in WMF production (with a static interwiki cache), so don't
register the hook in this configuration to avoid triggering the
deprecation warning.

Bug: T270444
Depends-On: If2507017c99c4ee42c104a0890bc45a84d7239d5
Change-Id: Id5c02a824c6d6a97200074430aa7d5c1db804396
2020-12-22 20:43:12 +00:00
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