Commit graph

27 commits

Author SHA1 Message Date
Florian d5dbe717b6 Convert InputBox.php to extension.json for extension registration
Bug: T87931
Change-Id: Ib3cd4714c842ebf17da5b1f0932fd886dbc65c66
2015-05-04 13:25:16 -07:00
jenkins-bot 7d55e876d4 Merge "Add mobile target for inputbox styles" 2015-04-30 17:27:18 +00:00
Gilles Dubuc a6a7dc02e5 Explicitly define module position
Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: I0b3065293b873a21b6408943a0a9c88caa2f3a93
2015-04-28 16:00:49 +02:00
Florian b3d3ec16cf Add mobile target for inputbox styles
It's small and useful (centered inputboxes should be centered in mobile, too).

Change-Id: I614fa4bfa8b0136beafe0ed15cba9931859526b5
2015-04-27 22:49:00 +02:00
jenkins-bot 474dd170d2 Merge "Add support for preloadparams[]" 2014-11-13 01:47:33 +00:00
Jackmcbarn 2b9fbd23d6 Add support for preloadparams[]
Bug: 70493
Change-Id: Ice61fd0581b3ef8220b6a603b52463c973fb770b
2014-11-12 17:46:29 -08:00
Marius Hoch dd0146dd2e Improve extension entry point
Simplify the ResourceLoader module definitions and
avoid leaking variables into global scope.

Change-Id: I19334e84c4cd065324f45005a61c525271a9a769
2014-10-13 00:01:08 +02:00
tonythomas01 7096213874 Adding a JS Class to inputBox to grey out Submit button.
If the user does not enter a title in the <inputbox> for type=create
and hits the submit button, it opens the Main page for editing (or
view-source) due to empty title= param in URL. Greying out the submit
button until user enters the title solves the issue.

Bug: 61606
Bug: 62975
Change-Id: I5c6c34b90c6c499ef7cb96ad8d47fdbbcbbcd8a8
2014-10-04 13:35:42 +00:00
jenkins-bot d9dc4ca640 Merge "Inputbox: Some code conventions cleanup" 2014-05-19 16:56:55 +00:00
Derk-Jan Hartman a1a1e64e46 Inputbox: Some code conventions cleanup
Change-Id: I16fcd16d81a7eecc845b5d36fd8af8e14792eea1
2014-05-18 23:19:20 +02:00
Derk-Jan Hartman d05173bdd2 InputBox: Cleanup usage of inline styles
Change-Id: I2e1384e1f46e8592ecba7bbfea81884804f0128a
2014-05-18 11:51:07 +02:00
Jackmcbarn c3fd290fff Allow InputBoxes to be used to move pages
Add an option to InputBoxes to allow them to prefill Special:MovePage with
prefixes and other similar options to pages being created

Change-Id: I1740497030b5e9872162a1a261ac38791bb1373a
2014-04-05 22:16:16 -04:00
Siebrand Mazeland 2ed67f2c7d Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Ia8b8777e8aac533bb5a87398b8fd06a2687248ec
2014-03-28 08:24:47 +01:00
Brion Vibber bec229277f Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Robin Pepermans d1f2f0edbc r92138: bump version (and update @version) 2011-07-14 03:59:55 +00:00
Mark A. Hershberger f2a1bb33fc Bug 17504 - Inputbox extension should have single namespace search option
Apply patch from DaSch
2011-07-04 17:01:45 +00:00
Happy-melon c30239bf87 (bug 6640) add a prefix= parameter to creation inputboxes; using a intercept/munge/redirect method stolen from Wikia. 2010-03-18 19:11:12 +00:00
Siebrand Mazeland 0003f0e6d9 * 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
Chad Horohoe f1611c78bf Nuking fallback code for MW < 1.12 in most extensions (there's like 5 or 6 left I haven't done). Couple of points:
* 1.11 and below aren't supported anymore, so we don't need to be maintaining back-compat code for it anymore. This is why we branch extensions
* The vast majority of these were using $wgParser. This defeats the purpose of ParserFirstCallInit...allowing you to use parsers other than $wgParser. All these extensions now work in any instance of the Parser, not just $wgParser
2009-09-04 22:22:12 +00:00
Shinjiman 890e5711e5 Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 03:53:32 +00:00
Chad Horohoe e9ade21aaa 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
Chad Horohoe bdaca54ce1 Cleanup slightly odd syntax. Back to how it originally was. 2008-10-29 23:59:03 +00:00
Siebrand Mazeland ad5afe34a7 Maintenance updates:
* remove trailing whitespace
* update indentation
* stylize.php
* eol-style:native svn props
2008-10-27 20:56:23 +00:00
Alexandre Emsenhuber daa934db04 Cleanup for r42681: Not for $wgHooks, because then it calls the "InputBoxHooks" function with "register" as additional parameter 2008-10-27 20:51:09 +00:00
Chad Horohoe 4436efd069 Use array() for the setup functions so it works on PHP < 5.2.3 2008-10-27 20:41:35 +00:00
Trevor Parscal 05e7df43bd Updated the naming in the credits. 2008-10-27 20:38:10 +00:00
Trevor Parscal 97bd4977f1 2008-10-27 20:33:53 +00:00
Renamed from inputbox.php (Browse further)