prefixes
Until now, the only way to add/edit the URL of the API of an interwiki
prefix was to edit the database directly.
The immediate motivation for this change is to make it easier to add new
wikis that can be used by Extension:InterwikiExtracts without requiring
the user to do manual changes to the database, see
https://www.mediawiki.org/wiki/Extension:InterwikiExtracts#New_interwikis
Bug: T244594
Change-Id: Ifd5809aa60eab622d0effc69a39d31cc32d38fef
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
* 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
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
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