Commit graph

17 commits

Author SHA1 Message Date
Kunal Mehta 431f955a81 Move classes to includes/
Change-Id: Ia65adfc9d9d6a117d8d4fc711e97414328b42440
2018-02-24 13:57:32 -08:00
Roan Kattouw 64364df445 Follow-up dd0a0035e: make useve work together with prefix
If you set useve=true, the prefix was ignored. This was because
the prefixing code only looked for action=edit, not for veaction=edit.

Bug: T185367
Change-Id: I7b14f76571aab302cf76a3383066f030881c1454
2018-01-19 17:47:46 -08:00
Umherirrender 0c4a639a54 Improve some parameter docs
Change-Id: Ie97498a57ea7fbc4d6f23043a35c1a78316e8d4e
2017-10-14 15:45:46 +02:00
Kunal Mehta 3501819bea build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: I063d035702bf538bcf1b05730c295a09210eb2d1
2017-06-20 00:09:00 -07:00
harej 9767ef7f08 Allow appending searchfilters to terms
For search-style inputboxes, if you have `searchfilter=foo` as a
parameter, it will append `foo` after the search term. This is
useful for leveraging search filters in custom search boxes without
exposing it to the user.

Bug: T147951
Change-Id: Ie23ce220ff9657c38fe5b41195e297ca7cebf7f1
2017-06-06 11:47:20 -07:00
Umherirrender 67e27d00b7 Add phpcs and make pass
Change-Id: I80f669257f2daa12d7b0a9de88b146e5027a2343
2017-05-18 20:14:36 +02:00
Derk-Jan Hartman a1a1e64e46 Inputbox: Some code conventions cleanup
Change-Id: I16fcd16d81a7eecc845b5d36fd8af8e14792eea1
2014-05-18 23:19:20 +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 4b7fdd00cc Maintenance for InputBox extension.
* Replace deprecated methods.
* Remove superfluous newlines.
* Fix docs for a few methods.
* Add some type hints.

Change-Id: I09671b5e70d33ffa9746e95c965bd1bc2bbd4a3f
2012-08-30 18:20:32 +02:00
Alexandre Emsenhuber 17351d8c40 Per ^demon, follow-up r78260: introduced MediaWiki::getAction() to get the action that will be executed 2010-12-16 20:11:53 +00:00
Alexandre Emsenhuber f2ff839c91 Use the "normal" way to get settings and request parameters instead of the horrible system in the MediaWiki class 2010-12-12 17:33:19 +00:00
Happy-melon a6f122b28b Followup to r63922, per CR comments 2010-03-18 20:04:20 +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
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
Brion Vibber fd3a453b65 * bug 16242 -- PHP back-compat issue with hook function setup 2008-11-14 21:56:40 +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
Trevor Parscal c3c2456b06 2008-10-27 20:33:18 +00:00