Ensure that array indices exist before access to avoid PHP interpreter
undefined index warnings.
Patch also includes trivial whitespace fixes to correct codesniff failures.
Change-Id: I87021a358a85eb3adf7a222fbaee70623dfd8770
* 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
The table this was intended to close is constructed by Html::rawElement
with a content parameter, which automatically closes the tag.
Change-Id: Ib87311c7143e0ad86fdd43a936b8231d5a42cf52
Also changed the URL for the edit submit button, because it would
show an empty prefix in the error message.
Change-Id: Id18401447c08e9ea763ac08d75d6a8d0319dae31
* Make addInfoRow private and non-static, so local context can be used for messaging.
* Change <i> to <em>.
* Add .idea to .gitignore.
Change-Id: Icc2eb5bb9d5925683b94bdfc5b06306fb009caf4
Let showForm() add the form to the output instead of execute(), because showForm() is also called in doSubmit() when there is an error, in which case it didn't actually show the form, so now it does. This was in fact a regression of r92636.
Change-Id: Ib6f0df50ce8e0c45e32817c70e4e1bc649cdf177
This commit includes simple minor cleanups for Bug 36900 and a few
other issues that I found.
A fix for the message escaping will be committed separately.
* Little punctuation cleanup in English messages.
* Minor CSS cleanup for RTL.
* Changed == to ===.
* Adding .gitignore.
Change-Id: I9d1be93b10173caa54ae56fb1b0733533a3687e2
Add htmlspecialchars escaping to the Interwiki url when displaying in the
logs. Fixes a potential xss.
Change-Id: I3cdf8a4f6c1b1f66a4229c8d9d00c1fc12506dd6