Commit graph

3 commits

Author SHA1 Message Date
Brad Jorsch 0532c2257a Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
Timo Tijhof d80a768c97 ApiFancyCaptchaReload: Replace use of PHP shorttag
Some servers (mine apparently) disable short_open_tag which
causes this to break and output the PHP file as plain text.

Scanned repo for other uses, this is the last one.

Change-Id: Ic86ae887098fc92bad8128e7ef4f0f4b782d7a1c
2013-06-28 16:18:10 -07:00
lalei 12361c5f31 Add a button to request a new fancy captcha
This adds HTML, CSS, and JS to FancyCaptcha output to refresh the image,
which requests it via a new fancycaptchareload API.
It also cleans up the Asirra class a little.

Bug: 14230
Change-Id: I4e476f32de199534c9798fc78e8490b3ef91dd45
2013-04-17 20:10:33 -04:00