Kunal Mehta
3bfec2ffa9
Replace usage of SpecialPage::getTitle with getPageTitle
...
Was deprecated in 1.23, see Icdcf5d5295ef5e7f08b1d403e0c123f78738fd40
Change-Id: I1afffae3c772af6e2d7f8a285e7cf7265f568dd9
2013-12-30 12:26:07 +00:00
Siebrand Mazeland
bcf15ec04c
Fix CodeSniffer errors and warnings
...
Change-Id: I442b4e55521089ab64b049c8087985af202515dd
2013-08-02 16:33:29 +02:00
Ryan Finnie
22f2ee1ad5
Remove extraneous table close tag
...
The table this was intended to close is constructed by Html::rawElement
with a content parameter, which automatically closes the tag.
Change-Id: Ib87311c7143e0ad86fdd43a936b8231d5a42cf52
2013-01-21 12:20:32 -08:00
amire80
dc302f109f
(bug 30600) Fix regression - show prefix on edit page
...
Patch by drzraf.
Change-Id: I868521faca8d0700014bd96836bb1cdeedb385b0
2012-09-14 06:04:21 -07:00
Amir E. Aharoni
a94f2148d4
(bug 30600) Simple URL validation
...
Also changed the URL for the edit submit button, because it would
show an empty prefix in the error message.
Change-Id: Id18401447c08e9ea763ac08d75d6a8d0319dae31
2012-09-05 20:38:11 +03:00
Siebrand Mazeland
f32b40b2b8
Replace deprecated User::editToken with User::getEditToken
...
Change-Id: I3382a27ee788eb5dc6b7b033987326ce1ab1dc91
2012-08-30 14:57:43 +02:00
Siebrand Mazeland
8931c47baf
Interwiki maintenance.
...
* 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
2012-08-16 00:52:05 +02:00
Amir E. Aharoni
bbc4c629b2
(Bug 30599) Filter problematic prefix characters
...
Change-Id: Icf0058407c51a314583907a54257cb10fa4826e5
2012-08-01 21:47:16 +03:00
robin
2b7e4575f7
Fix output of form
...
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
2012-05-26 01:56:05 +02:00
Reedy
1935444338
Add/update parameter docs
...
Remove unused array key
Return a string instead of ''
Change-Id: I17776667240b3a2f1a2dd2defb56ad24ec88f49c
2012-05-22 18:59:27 +01:00
Siebrand Mazeland
c67fe8aff9
Make legend table collapsed.
...
Change-Id: Ic545b20a51e2a039225e99ea178c099ab2db012b
2012-05-21 17:54:26 +02:00
Siebrand Mazeland
fb086e7c22
Fix bug in I688a51b3.
...
Change-Id: Id2a55721594d8de5045dd224837fdf9cafa1fdbf
2012-05-21 13:24:59 +02:00
Siebrand Mazeland
a633ab1122
Green background for cells with "yes".
...
Comments added and updated.
Change-Id: I688a51b3b4a242d767a3ac8f81a6d3dddf0eaf49
2012-05-21 13:19:59 +02:00
Amir E. Aharoni
5f632390a8
(bug 36900) Message functions fixing
...
* Improving comments.
* Improving message escaping.
Change-Id: Iacda23bb46569022f317474e7fa8cfddd8d2da8c
2012-05-21 00:44:27 +03:00
Amir E. Aharoni
e7a62478da
(bug 36900) Partial cleanup
...
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
2012-05-18 13:10:05 +03:00
Niklas Laxström
1789144003
Whitespace fix
...
Change-Id: Ic76a6afa50720485f4229581a98a536ed313ba14
2012-05-16 09:43:25 +00:00
csteipp
377a2ba09c
(bug 30598) Escape html when displaying url in Log
...
Add htmlspecialchars escaping to the Interwiki url when displaying in the
logs. Fixes a potential xss.
Change-Id: I3cdf8a4f6c1b1f66a4229c8d9d00c1fc12506dd6
2012-05-02 09:42:37 -07:00
Siebrand Mazeland
0f2b905f6f
Move 'interwiki_intro_footer' into "canModify" condition reducing information volume.
2012-04-25 10:31:31 +00:00
Siebrand Mazeland
d3d033a361
Use local context to get messages.
2012-04-25 10:08:42 +00:00
Siebrand Mazeland
40a15e578c
Coding style and whitespace updates.
2012-04-25 10:02:50 +00:00
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