Commit graph

28 commits

Author SHA1 Message Date
Siebrand Mazeland 2bee90d311 Whitespace updates. 2012-04-25 08:53:49 +00:00
Platonides ec8665002a Purge the cached value from memcached.
This fixes issues such as the one reported in 
 http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/60769
That thread is about negative results (added in r98109),
but the memcached caching layer had been there since the 
conception of interwiki table in r1589 (3002e1d).
2012-04-15 20:00:42 +00:00
Robin Pepermans 914dca1d1c fix copy-paste error in r92529 (oops) 2011-12-10 12:54:44 +00:00
Robin Pepermans b81a0b4240 (bug 32075) Always add lowercase interwikis. Patch by Vitaliy Filippov. 2011-12-01 20:23:04 +00:00
Robin Pepermans 433ba2fe93 Use new logging system and kill all globals (except one config). This 1.19-only, but the trunk version of Interwiki was already compatible only with 1.19. 2011-09-26 16:40:05 +00:00
Robin Pepermans 678d5455f7 Change addModules() to addModuleStyles() as it only uses CSS 2011-08-28 17:37:56 +00:00
Robin Pepermans 89e34c26cf Pass default url as parameter for wgRequest->getVal( 'wpInterwikiURL' ) per ^demon on r92672. Also for wgRequest->getVal( 'prefix' ) alternative of wgRequest->getVal( 'wpInterwikiPrefix' ). 2011-07-23 23:42:14 +00:00
Niklas Laxström fbcf0edc78 getDescription must return a string, fu r92636 2011-07-21 05:43:08 +00:00
Robin Pepermans 7082b17b09 fixes for r92636 2011-07-20 19:58:55 +00:00
Robin Pepermans 21e6effb16 fix escaping of r92636. 2011-07-20 16:25:53 +00:00
Robin Pepermans 12bf7efc1b Use wfMessage() functions, and rewrite/clean-up showForm() using Html and Xml functions. 2011-07-20 15:29:34 +00:00
Robin Pepermans 93098b1aba * Use interwiki cache (per r92528)
* Use ResourceLoader for css
* Some code clean-up/improvements
This version is only compatible with 1.19 (r92528)
2011-07-19 12:45:38 +00:00
Robin Pepermans be4b52fed1 Follow-up 90518: also align URL input box as LTR 2011-06-21 10:49:52 +00:00
Robin Pepermans 4f12bf285c Interwiki extension:
* correct alignment for RTL languages in the explication table
* always align the URL as LTR
2011-06-21 10:23:55 +00:00
Robin Pepermans 9b299c1bcc Use $this->getTitle() per comment on r89898. 2011-06-12 11:45:15 +00:00
Robin Pepermans 4ee49c4043 Show an error when prefix or URL is empty, instead of adding it.
Various other small fixes, including:
* Show "return to Special:Interwiki" always when on the submit form
* Use nice url Special:Interwiki/add instead of ...&action=add
* Move inline css to css file
2011-06-11 22:14:03 +00:00
Sam Reed 21f4483775 Xml::hidden() --> Html::hidden()
Xml::hidden() killed
2011-05-06 23:13:09 +00:00
Robin Pepermans eefd40185d (bug 26158) Interwiki extension: deleting a prefix with invalid characters shows an error, so only check for invalid chars when adding a prefix 2011-04-22 19:35:00 +00:00
Jack Phoenix 4f4e436ee4 Interwiki: minor tweaks 2011-03-11 14:20:39 +00:00
Siebrand Mazeland dff61b7074 Follow-up r78122: Remove wfLoadExtensionMessages from selected extensions (those run on translatewiki.net).
* special handling for Maps and Validator: check MediaWiki version and if 1.15 of lower, call wfLoadExtensionMessages.
2010-12-09 11:57:55 +00:00
Sam Reed c812bd4082 Reverting r76192 due to 1.15 back compat... 2010-12-02 17:31:05 +00:00
Raimond Spekking b2391b577b Remove redundant style. The table has "wikitable" class already 2010-11-08 15:21:30 +00:00
Sam Reed d7094afcda Update all remaining Xml::hidden to Html::hidden in extensions 2010-11-06 15:11:26 +00:00
Aryeh Gregor 934d0743b0 Revert r76065 "Kill numerous wfLoadExtensionMessages calls more"
Pending wikitech-l discussion -- see revert of r76064.  Did not revert
MultiUpload due to conflicts that I couldn't trivially resolve.
2010-11-05 16:30:21 +00:00
Sam Reed c1648a6833 Kill numerous wfLoadExtensionMessages calls more
200 usages left...
2010-11-05 00:11:57 +00:00
Chad Horohoe b7f5d70ee3 Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh. 2010-05-27 15:56:53 +00:00
Chad Horohoe 8147f4eff2 Large commit. Removed 800+ references to no-op wfLoadExtensionMessages() 2010-05-26 22:25:32 +00:00
Siebrand Mazeland 3a46e6374e Rename to remove "Special" prefix from filenames. Update Configure and Translate accordingly. 2010-04-17 22:52:42 +00:00
Renamed from SpecialInterwiki_body.php (Browse further)