Commit Graph

38 Commits

Author SHA1 Message Date
Reedy 402c07aadd Re-add extension.json
This reverts commit 4699d68b37.

I64cb055 was merged a while ago.

Change-Id: I9017e93c9a59445e2c500fb7c01836f5675182d6
Bug: T126332
Bug: T87901
2016-08-06 23:52:07 +01:00
Bryan Davis ff7794bf26 Allow loading of ResourceLoader modules
Add a new 'RLModules' and 'RLStyleModules' configuration options that
allow a contact page to specify list of ResourceLoader modules and/or
CSS only modules to add to the output page that is used to display the
form.

Bug: T95789
Change-Id: Ic10c4b3c6a402c5cebc34f675672552b7d9ebb67
2015-04-30 14:27:02 -06:00
Bryan Davis c6913cee66 Allow selection of HTMLForm display format
Add a 'DisplayFormat' configuration value that tells HTMLForm which output
styling should be used. This can be used for example to change the form
to the 'vform' style which uses the Mediawiki.ui css styles.

Change-Id: I04d2959b80a44e31f1e04324b26e6dff5ea5b4a6
2015-04-30 09:18:16 -06:00
Kunal Mehta eb3a743cba Add extension.json
Bug: T87901
Change-Id: Iba8dccbf5ec5b303610c89bb82ff13d86dc5883a
2015-03-02 18:51:39 -08:00
Ricordisamoa 370626e0a8 Add 'license-name' matching SPDX conventions
References:
http://spdx.org/licenses/
https://www.mediawiki.org/wiki/Manual:$wgExtensionCredits#license-name

Change-Id: I47fbf6132cd8516f086c0e6f56d9a2aecad8f13c
2015-02-01 23:15:03 +01:00
Siebrand Mazeland 6c3667c43e Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I80e18777831bfe90c693e8ae614ccc61c3f73793
2014-03-26 12:56:54 +01:00
Reedy 96450dd8c3 Allow inclusion of additional fields
Change-Id: I10ac5a9b91ae35af5c8277d06823af869b3226fc
2014-03-20 14:03:29 +00:00
Reedy 3800e04285 Some cleanup post rewrite
Update README

Set version number to 2

Remove captcha messages

Change-Id: I20df267c1d2ce2569f0a52a2063584d55999ffb1
2014-02-27 20:53:43 +00:00
Reedy a92f78ebcd Rewrite ContactPage to use HTMLForm
Change-Id: I79eeb244a4db2c4ae0ed7c8332881c563575ac4b
2014-02-19 20:25:39 +00:00
Reedy a4063914db Handle $wgEnableEmail = false better
Change-Id: Ieedb2d6ccaf3d004d54262a8fd635bf32d55c862
2014-01-29 03:31:19 +00:00
Siebrand Mazeland 68d4a6ea78 (bug 45461) Use email instead of e-mail
Change-Id: Id7868cc91c0ca1929500b4c1cfeec62281ab2bb0
2013-02-27 13:25:23 +01:00
Aaron Schulz 90ccdabd3d Reverted r107413: not clear if this improved anything 2012-01-20 00:35:25 +00:00
Tim Weyer 52e7576bc2 r106556 reverts:
- renaming DisableAccount_body.php to SpecialDisableAccount.php
- renaming ContactPage_body.php to SpecialContact.php

Follow-up r106511:
- changing class from SpecialBatchUserRights to BatchUserRights
2011-12-27 20:25:18 +00:00
Tim Weyer b7bf1de0f1 Replacing by in a few of most used extensions and renaming Special....php to ..._body.php 2011-12-18 10:27:44 +00:00
Brion Vibber f5aadf358c Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Roan Kattouw e7758709c1 ContactPage: Add checkbox for IP address sending, checked by default for anons and unchecked by default for logged-in users. $wgContactIncludeIP = false; (default) still completely disables this feature, hiding the checkbox. 2010-03-28 13:23:42 +00:00
Roan Kattouw cd28e014a2 ContactPage: Followup to r63310: make the IP-in-the-subject line feature optional 2010-03-10 17:01:38 +00:00
Siebrand Mazeland 2bad8c5a0c * Remove $wgExtensionCredits['description'] where $wgExtensionCredits['descriptionmsg'] present. This feature was introduced in MediaWiki 1.12, and 'description' is not used if 'descriptionmsg' is present.
* Random indentation updates and trailing whitespace removed
2010-02-22 23:41:51 +00:00
Jack Phoenix 5236a0ef42 ContactPage:
*add some comments to ContactPage.php
*added ContactFormBeforeMessage hook to SpecialContact.php so that extensions can add new fields to Special:Contact
*else if -> elseif
*more braces
*NULL -> null
*spacing tweaks
*double quotes -> single quotes where appropriate
2010-01-05 00:43:27 +00:00
Shinjiman 3bb90d4968 Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 03:15:19 +00:00
Chad Horohoe f0a7c6ba28 Big commit. Removing svn-version and svn-date from extensions. Per the list, these versions do not give valuable information and are often wildly inaccurate. 2009-03-26 17:39:49 +00:00
Jack Phoenix 246bd92718 ContactPage:
*$fname => __METHOD__
*change some double quotes to single quotes
*mark visibility of some functions
*addWikiText(wfMsg()) => addWikiMsg() whenever possible
*doxygen doc tweaks
*tweak Finnish special page alias name
2009-01-11 12:16:13 +00:00
Jon Harald Søby 717a1b493b * Adding special page alias in AdvancedRandom, CheckUser, ConfirmAccount, ContactPage and DeleteBatch
* Adding alias files for AdvancedRandom, CheckUser, ConfirmAccount, ContactPage and DeleteBatch to aliases.txt in Translate
2008-07-09 17:40:14 +00:00
Daniel Kinzler d625771810 added option that forces visitors to enter name and email address 2008-07-05 21:20:32 +00:00
Daniel Kinzler 8bcb9d4df1 Support $wgUserEmailUseReplyTo, use From or Reply-To accordingly 2008-07-05 21:06:49 +00:00
Tim Starling 8bfa3b1b21 Don't call preg_replace ~80 times per request. Leave the heavy lifting to Special:Version, using the new svn-revision member of $wgExtensionCredits. 2008-05-06 11:59:58 +00:00
Siebrand Mazeland eb958adf93 * add svn:keywords 'LastChangedDate'
* replace text 'version' in ExtensionCredits with version based on 'LastChangedDate' for automatic version updating
2008-02-27 14:13:10 +00:00
Siebrand Mazeland 97dc8a8837 * ContactPage uses wfLoadExtensionMessages now
* add descriptionmsg, and version in extension credits
* remove trailing whitespace
* update Translate
2008-02-03 14:37:27 +00:00
Siebrand Mazeland dc2103b300 revert r28340, r28343 to r28349, r28351, r28364 2007-12-16 18:38:50 +00:00
Siebrand Mazeland 5ff9e2927f * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 10:01:15 +00:00
Daniel Kinzler 49c9c7a035 ContactPage now supports LoadAllMessages hook 2007-10-13 11:38:52 +00:00
Daniel Kinzler 56f9acce6e revert of 26693, going to re-commit as two separate change sets 2007-10-13 11:38:09 +00:00
Daniel Kinzler 97956cb56a ContactPage now supports LoadAllMessages hook 2007-10-13 11:27:07 +00:00
Aryeh Gregor ac76ae2e84 Extensions too! 2007-06-29 01:36:09 +00:00
Daniel Kinzler 0e3b4931be updated readme & documentation links 2007-02-15 15:35:27 +00:00
Daniel Kinzler 69ec9fb089 using standard wfMsg() function; plus a compatibility hack for 1.9 vs. 1.10 2007-02-14 23:45:20 +00:00
Daniel Kinzler f52054896c resolved some import path issues 2007-02-13 22:33:42 +00:00
Daniel Kinzler 62dd705a35 mail contact page for anon visitors 2007-02-12 21:50:29 +00:00