Commit graph

21 commits

Author SHA1 Message Date
DannyS712 e2e6384923 PHP coding conventions: reorder doxygen tags
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Doxygen_tags

Change-Id: If657d46d89ef54d6fe93db7049f5e74c97985d36
2020-03-26 15:52:22 +00:00
DannyS712 7f18ab9d04 Pass a user to LogPage::addEntry
Bug: T243652
Change-Id: I2fba3b5c3749a1e99a072de698325a1ebba262b2
2020-01-25 02:30:24 +00:00
libraryupgrader a687ec46e0 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ic8740b08acfe205cbdebfc9fdb733989c5ca72db
2019-12-30 16:52:54 +00:00
Umherirrender beae7d6b19 Do not use false for condition on IDatabase::selectField
It results in a log entry in Database::selectSQLText

Change-Id: I95313cb375851d53353e9629c43f730d1c96c85f
2019-12-09 19:49:51 +01:00
Umherirrender b784e7d527 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Remove array check, because the variable always array at this location

Bug: T235049
Change-Id: Ieb1287c1b02715dd69aa83e4485fe090883023ed
2019-11-03 19:20:27 +01:00
Derick Alangi 3989bee54a Avoid usage of deprecated $wgContLang global (dep in 1.32)
Change-Id: I55bfd9d30dc135f8886a2532f53299e9d65ddac9
2019-09-02 09:52:38 +01:00
Reedy b7449481be Remove no-op if ( $action === 'delete' ) { } block
Change-Id: I65b63af4706e58c271281edfca377fb1a489ef6d
2019-07-26 12:42:25 +00:00
Reedy 16c67999b4 Remove duplicate code line
Change-Id: I59b803e6f7381a683e61dbe3af00aa55f5f46efc
2019-07-26 12:11:21 +01:00
jenkins-bot 729d7c6d21 Merge "Global interlanguage links feature" 2019-07-18 08:32:11 +00: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
jenkins-bot eaaac4df89 Merge "Preload tablesorter styles by module 'jquery.tablesorter.styles'" 2019-06-11 20:20:09 +00:00
Fomafix 9c2e708ded Use explicit escaped() instead of implicit __toString()
For the message 'comma-separator' a wikitext parsing is not necessary.

Change-Id: I5816a39c0526b153f881f8ba5f744493e6f54034
2019-05-23 14:47:27 +02:00
Kunal Mehta 0f74b73974 Upgrade to newer phan
Bug: T216923
Change-Id: I4b1363d58bb1e1ed4393bfe917f524091495057b
2019-03-17 16:32:13 -07:00
Kunal Mehta e7dafee4af Avoid use of func_get_args()
Change-Id: I74de3e0fb27b87a4b7f1e56cdb4e4233aa7804f2
2019-03-08 13:04:53 -08:00
Sethakill 125f850279 Convert Special:Interwiki to use OOUI
Bug: T135332
Change-Id: I5842c4a8bae2de1cf65e74de6d2fdfe1dad3f47e
2019-02-15 16:44:49 +01:00
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
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
Renamed from Interwiki_body.php (Browse further)