Commit graph

15 commits

Author SHA1 Message Date
Yuki Shira 21a5dc3c1c Add Special:MyLanguage for better user experience
Change-Id: I72a2747858668adbd486852472093eb17176220a
2020-04-14 19:33:02 +09:00
Reedy b7449481be Remove no-op if ( $action === 'delete' ) { } block
Change-Id: I65b63af4706e58c271281edfca377fb1a489ef6d
2019-07-26 12:42:25 +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
Sethakill 125f850279 Convert Special:Interwiki to use OOUI
Bug: T135332
Change-Id: I5842c4a8bae2de1cf65e74de6d2fdfe1dad3f47e
2019-02-15 16:44:49 +01:00
Siebrand Mazeland a370ada9b4 Remove use of "successful" in strings
Change-Id: I0a6cd9c7839339ab5d03bd9020bd2550a4e22d05
2016-03-07 12:42:52 +01:00
Siebrand Mazeland c5f2ef3f2c Update indentation to use tabs
Change-Id: I7cd42f90d8f7f768f24bf15805291d42216f4f8e
2015-10-12 10:18:02 +02:00
Yuki Shira f0d573cb3f i18n: consistency tweaks
- Use "otherlanguages" message

Change-Id: Ifce536d1015b71856213823b9ab6472fd27a8c99
2014-10-20 21:51:25 +00:00
Reedy 22497b4aeb Fix file permissions
Bug: 71937
Change-Id: I9fb7e981daad73a29928e9d939abe881fe0e7e39
2014-10-14 18:13:20 +01:00
isarra 5812a662c2 Cleanup special:interwiki intro
* Move all the legend container stuff into the system message and added a
  header to the table.
* Merge interwiki_intro and interwiki_intro_footer into a single message,
  rewrite the content to be more useful, and also show it all to
  non-privileged users.
* Move the log link into its own message.
* Move the add new link above the legend as well, directly underneath the log
  link.

Change-Id: I184182d3171f362f2e8470008f4ea7cda6629f80
2014-09-15 17:42:13 +00:00
Yuki Shira c6f84eee7a i18n: fix typo
- interwiki-local-description

Spotted by Guycn2
https://translatewiki.net/wiki/Thread:Support/MediaWiki:Interwiki-local-description/en

Change-Id: Iee362d609fb374ff3d6241146cada21194e34bad
2014-09-13 19:40:03 +09:00
isarra ca46fc0350 Add support for enabling and displaying global interwikis
This effectively merges Extension:ShoutWikiInterwikiMagic into Interwiki
to add support for global interwikis, allowing sysadmins to set
$wgInterwikiCentralDB to a central wiki database from which to pull global
interwikis, which will be used alongside any locally-defined prefixes.

It also separates out the display of global, local, and language
interwikis into their own sections, improving the display even for
local-only projects.

Bug: 68241
Change-Id: I54c072c65f10dd0ad5f815c2649e7ce9ed1e7b58
2014-09-12 21:10:27 +00:00
Amir E. Aharoni e3f57617e0 Remove unneeded space from a message
Change-Id: I0a26ed35cea96e1f5faa9b7efedd5875f90e29c5
2014-09-03 10:52:56 +03:00
Mormegil 36ffa365ba Add missing i18n for a word in the legend
The "Transclude" word in the Special:Interwiki legend was
passed verbatim, i.e. not translated. Fixed by wrapping in
{{int:}} just like the rest.

Change-Id: Iaf55857530d4200eb2e179ce9a15121a1d371c90
2014-09-02 15:38:04 +02:00
isarra a8778ec2eb Make legend easier to read
Moves the legend table into a system message for easier editing, and reformats
the overall layout as well as changing some of the individual explanations.

Change-Id: I744dce4bbfb9d8623fc4df83def3860626482330
2014-08-23 22:10:42 +00:00
Siebrand Mazeland 380f9ba26f Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I5a2a9556e5b35000b2be0338f9f0e883eb2a56cb
2014-03-27 11:54:53 +01:00