lhc/web/wiklou.git
10 years agoMerge "Make it slightly easier for extensions to hook into page protection."
Tychay [Mon, 26 Aug 2013 22:03:18 +0000 (22:03 +0000)]
Merge "Make it slightly easier for extensions to hook into page protection."

10 years agoMerge "Make last row of new gallery not be huge."
jenkins-bot [Mon, 26 Aug 2013 21:14:55 +0000 (21:14 +0000)]
Merge "Make last row of new gallery not be huge."

10 years agoMake it slightly easier for extensions to hook into page protection.
Matthias Mullie [Mon, 20 May 2013 19:18:21 +0000 (21:18 +0200)]
Make it slightly easier for extensions to hook into page protection.

Split parts of doUpdateRestrictions() into several more concise functions.
The biggest drawback is increasing $dbw->encodeExpiry() calls times 3. This is
not much of a problem given that's a very inexpensive function and it is only
called very few times ($limit holds 2 values in current codebase)

Added $reason to the ProtectionForm::save hook, so that other code hooking into
and adding their own settings into page protection form can also process the
reason for the protection change.

Change-Id: I879290ed83e4e47e9561d4c352fbd50c07d7e18a

10 years agoMerge "For new gallery, make nolines mode have caption centered."
jenkins-bot [Mon, 26 Aug 2013 20:46:39 +0000 (20:46 +0000)]
Merge "For new gallery, make nolines mode have caption centered."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 26 Aug 2013 19:50:22 +0000 (19:50 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ia1c22e488c88b2b614563af0afb704c01fc077eb

10 years agoFixup coding style of a18d9856f7
Timo Tijhof [Mon, 26 Aug 2013 18:30:50 +0000 (11:30 -0700)]
Fixup coding style of a18d9856f7

Change-Id: Ie2e85af64aee164d6ddb8f6a10ead983ffc02ac5

10 years agoMerge "[New gallery] ignore perrow option in this mode, as doesn't make sense."
jenkins-bot [Mon, 26 Aug 2013 18:28:20 +0000 (18:28 +0000)]
Merge "[New gallery] ignore perrow option in this mode, as doesn't make sense."

10 years agoMerge "Clean up parser test's InterwikiLoadPrefix hook"
jenkins-bot [Mon, 26 Aug 2013 16:10:50 +0000 (16:10 +0000)]
Merge "Clean up parser test's InterwikiLoadPrefix hook"

10 years agoEnhanced RC: Add a "view changes since my last visit" link
MatmaRex [Wed, 24 Jul 2013 11:45:17 +0000 (13:45 +0200)]
Enhanced RC: Add a "view changes since my last visit" link

It's only shown if there are any unviewed changes and if as least one
of previous versions was viewed already.

* Added new message 'enhancedrc-since-last-visit' for link text
* Added 'enhancedrc-history' to replace 'hist' in enhanced RC context

Bug: 51901
Change-Id: Id74fe88bb2a1879651935ac56e9cdcb2e54b331f

10 years agoMerge "wpUndidRevision should be passed along during 'preview' and 'diff'"
jenkins-bot [Mon, 26 Aug 2013 15:32:43 +0000 (15:32 +0000)]
Merge "wpUndidRevision should be passed along during 'preview' and 'diff'"

10 years agoProvide a JSON recent changes feed.
Victor Vasiliev [Mon, 4 Mar 2013 19:43:22 +0000 (14:43 -0500)]
Provide a JSON recent changes feed.

This introduces a new configuration variable, $wgRCFeeds, which allows the user
to configure multiple destinations for RC notifications. It also allows the
notification format to be customized. Two formats are included by default: the
older IRC format and a new JSON format.

Change-Id: I270bde418a82985c94372ac4579100435b6ee026

10 years agoMerge "Profiler: remove unnecessary checks Should slightly reduce overhead."
jenkins-bot [Sun, 25 Aug 2013 22:51:29 +0000 (22:51 +0000)]
Merge "Profiler: remove unnecessary checks Should slightly reduce overhead."

10 years agoProfiler: remove unnecessary checks
Kevin Israel [Fri, 23 Aug 2013 07:11:14 +0000 (03:11 -0400)]
Profiler: remove unnecessary checks
Should slightly reduce overhead.

Change-Id: Iff71041f1cbc12b0d28f24752a01c63456cb9eaf

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 25 Aug 2013 19:46:47 +0000 (19:46 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ic3e9d17ea84b50105d59c80ab6805d78fda22b73

10 years agoMerge "mediawiki.action.edit.preview: Assorted fixes"
TheDJ [Sun, 25 Aug 2013 18:35:08 +0000 (18:35 +0000)]
Merge "mediawiki.action.edit.preview: Assorted fixes"

10 years agoMerge "Special:PagesWithProp: Use Language#formatSize"
jenkins-bot [Sun, 25 Aug 2013 18:06:27 +0000 (18:06 +0000)]
Merge "Special:PagesWithProp: Use Language#formatSize"

10 years agoMerge "Add class around diff-empty and add it as notice"
jenkins-bot [Sun, 25 Aug 2013 17:10:17 +0000 (17:10 +0000)]
Merge "Add class around diff-empty and add it as notice"

10 years agoAdd class around diff-empty and add it as notice
umherirrender [Sun, 25 Aug 2013 15:06:49 +0000 (17:06 +0200)]
Add class around diff-empty and add it as notice

Add the moment the message is added within a class=diff-multi,
which is not true.

Bug: 53168
Follow-Up: I458fb688b0001fb674ece65b3fdabf56fc658a29
Change-Id: Ic3040ceca4ff1459181c84f041490e9e72b12802

10 years agoMerge "jquery.suggestions: Use document width instead of <body> width for position...
TheDJ [Sun, 25 Aug 2013 13:43:56 +0000 (13:43 +0000)]
Merge "jquery.suggestions: Use document width instead of <body> width for position calculation"

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sun, 25 Aug 2013 13:34:27 +0000 (13:34 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoMerge "Enhanced RC: Optimization of the initial collapsing"
TheDJ [Sun, 25 Aug 2013 13:03:14 +0000 (13:03 +0000)]
Merge "Enhanced RC: Optimization of the initial collapsing"

10 years agoMerge "Provide month names via mediawiki.language.months RL module"
TheDJ [Sun, 25 Aug 2013 12:12:34 +0000 (12:12 +0000)]
Merge "Provide month names via mediawiki.language.months RL module"

10 years agoRemove duplicate runChild() call
Reedy [Mon, 29 Jul 2013 21:56:53 +0000 (22:56 +0100)]
Remove duplicate runChild() call

Change-Id: Ie8479dbb05bed5ec2e99b3ee1292a15f05c53259

10 years agoChangeTags: Mark public functions (all of them) as public
MatmaRex [Sat, 24 Aug 2013 22:01:21 +0000 (00:01 +0200)]
ChangeTags: Mark public functions (all of them) as public

Change-Id: Ide005e15c827f1a7759c9d405da800cb670a8d39

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 24 Aug 2013 18:43:05 +0000 (18:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ice45df2199ec51dc4ba51848d3ba58ec93cebf48

10 years agoSetup cookies security based on user preference
csteipp [Thu, 22 Aug 2013 03:42:32 +0000 (20:42 -0700)]
Setup cookies security based on user preference

Use the user pref instead of the login form checkbox for setting up
cookie security on login.

The preferences menu is still broken (always shows checked, even if
preference has been turned off), but this will log the user in (over
https), and then redirect them back to http if they have selected to
not use https. Likewise, if they have the default preference to use
https, they get the forceHTTPS cookie and other cookies secure.

Change-Id: I08f67b35f355ef193ae86cb9cca3799e247ead4e

10 years agoMerge "Add data-sort-value for better sorting on Special:Tags"
jenkins-bot [Sat, 24 Aug 2013 16:57:11 +0000 (16:57 +0000)]
Merge "Add data-sort-value for better sorting on Special:Tags"

10 years agoAdd data-sort-value for better sorting on Special:Tags
umherirrender [Wed, 21 Aug 2013 15:40:06 +0000 (17:40 +0200)]
Add data-sort-value for better sorting on Special:Tags

Due to the word "change" within the cell of the hitcounters, the
tablesorter does not detect a number type. Adding the raw hitcounter as
sort-value lets the tablesorter choose the number sorting.

Bug: 51742
Change-Id: I6704e73fdd1f5c2744e18251d8b9ef0f68938841

10 years agoMerge "Fix form submission on Special:RandomInCategory"
jenkins-bot [Sat, 24 Aug 2013 16:49:08 +0000 (16:49 +0000)]
Merge "Fix form submission on Special:RandomInCategory"

10 years agoMerge "Make RandomInCat work for cats starting with namespace"
jenkins-bot [Sat, 24 Aug 2013 16:41:33 +0000 (16:41 +0000)]
Merge "Make RandomInCat work for cats starting with namespace"

10 years agoFix form submission on Special:RandomInCategory
MatmaRex [Sat, 24 Aug 2013 16:30:29 +0000 (18:30 +0200)]
Fix form submission on Special:RandomInCategory

You can't have parameters in the action for GET forms, browsers are
going to trim them off.

This is the way passing title in handled on other special pages,
e.g. Special:Contributions.

Change-Id: I00728a085641b8a6cda50a55ad1e9b1de68b97bc

10 years agoMerge "Fix spacing and break some lines"
jenkins-bot [Sat, 24 Aug 2013 15:28:54 +0000 (15:28 +0000)]
Merge "Fix spacing and break some lines"

10 years agoFix spacing and break some lines
umherirrender [Sat, 24 Aug 2013 15:06:25 +0000 (17:06 +0200)]
Fix spacing and break some lines

Change-Id: Ia57685d8858e02e399ad5c75ce64d12609d340ac

10 years agoUse ->parse() for messages on Special:ResetTokens
Kunal Mehta [Sat, 24 Aug 2013 10:08:08 +0000 (03:08 -0700)]
Use ->parse() for messages on Special:ResetTokens

Follow up to ee7bea8634b, which added a [[wikilink]] in a message.

Change-Id: Id677884993585185f45ad570279f780a09b59c99

10 years agoMerge "Expand the info in 'resettokens-watchlist-token'"
Yuvipanda [Fri, 23 Aug 2013 23:29:27 +0000 (23:29 +0000)]
Merge "Expand the info in 'resettokens-watchlist-token'"

10 years ago[New gallery] ignore perrow option in this mode, as doesn't make sense.
Brian Wolff [Fri, 23 Aug 2013 23:22:06 +0000 (16:22 -0700)]
[New gallery] ignore perrow option in this mode, as doesn't make sense.

gallery in packed resizes images to have same height. Since the images
have dynamic height, its impossible to implement the perrow option
using a width: css rule.

Also fixes the option for the nolines mode, where it calculated
the row length wrong.

Change-Id: I99018e258d3eea93c8203cb0b6bb63bfed1c00b7

10 years agoMerge "Do not show "Mark this page as patrolled" in print"
jenkins-bot [Fri, 23 Aug 2013 23:20:36 +0000 (23:20 +0000)]
Merge "Do not show "Mark this page as patrolled" in print"

10 years agoDo not show "Mark this page as patrolled" in print
MatmaRex [Fri, 23 Aug 2013 23:14:20 +0000 (01:14 +0200)]
Do not show "Mark this page as patrolled" in print

Bug: 53178
Change-Id: I2bf315604eb0702be4105d3c96c45361e9e77878

10 years agoMerge "Avoid profiler spam for numeric IN() clauses for each possible number of items"
jenkins-bot [Fri, 23 Aug 2013 23:09:47 +0000 (23:09 +0000)]
Merge "Avoid profiler spam for numeric IN() clauses for each possible number of items"

10 years agowpUndidRevision should be passed along during 'preview' and 'diff'
bsitu [Fri, 23 Aug 2013 22:57:52 +0000 (15:57 -0700)]
wpUndidRevision should be passed along during 'preview' and 'diff'

bug: 53176
Change-Id: Ie0b71b0cd8a3e94d92f9b275cdc623cfde154de2

10 years agoFor new gallery, make nolines mode have caption centered.
Brian Wolff [Fri, 23 Aug 2013 21:43:36 +0000 (14:43 -0700)]
For new gallery, make nolines mode have caption centered.

Based on feedback from qgil.

Change-Id: I3d04de7df89a81a3b4aca4d1d800b16c214f65bf

10 years agoAdd flac to mime.types and mime.info
Brian Wolff [Mon, 19 Aug 2013 23:04:11 +0000 (16:04 -0700)]
Add flac to mime.types and mime.info

Any format we allow uploading should be in these files.

We detect flac as audio/x-flac, but adding audio/flac
too, to be safe.

Change-Id: I564ff895cd0a6d4c6cd25bb565329b17a6771852

10 years agoMerge "Add audio/wav to mime.types"
jenkins-bot [Fri, 23 Aug 2013 20:42:47 +0000 (20:42 +0000)]
Merge "Add audio/wav to mime.types"

10 years agoMerge "Add MP4 to mime.types"
jenkins-bot [Fri, 23 Aug 2013 20:40:36 +0000 (20:40 +0000)]
Merge "Add MP4 to mime.types"

10 years agoMerge changes I7493a329,Iaa9dd210
jenkins-bot [Fri, 23 Aug 2013 20:29:38 +0000 (20:29 +0000)]
Merge changes I7493a329,Iaa9dd210

* changes:
  Only show prefershttps if IP can use HTTPS
  Core support for disabling HTTPS based on GeoIP

10 years agoMake RandomInCat work for cats starting with namespace
Brian Wolff [Fri, 23 Aug 2013 20:02:49 +0000 (13:02 -0700)]
Make RandomInCat work for cats starting with namespace

So if someone has Category:User:Foo, they can go to
both Special:RandomInCategory/Category:User:Foo, or
just Special:RandomInCategory/User:Foo.

Bug: 53239
Change-Id: I2e67f0463b725ce297eeb5a5de73ccbad826907a

10 years agoAdd audio/wav to mime.types
Brian Wolff [Fri, 23 Aug 2013 19:43:02 +0000 (12:43 -0700)]
Add audio/wav to mime.types

Previously only audio/x-wav was in mime.types. But we detected the
file without the x, and this prevented file moves.

Bug: 53279
Change-Id: I9e8679734d4904846a02d0d845a61549408eeac4

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 23 Aug 2013 19:36:01 +0000 (19:36 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iddc8d5315ab504f7e9bfee16611fa3b90e95410a

10 years agoOnly show prefershttps if IP can use HTTPS
Chad Horohoe [Fri, 23 Aug 2013 19:34:06 +0000 (12:34 -0700)]
Only show prefershttps if IP can use HTTPS

Change-Id: I7493a329d35fad3f17aac2df935f4f9306828884

10 years agoMerge "Fatal error: Call to a member function formatDuration() on a non-object in...
jenkins-bot [Fri, 23 Aug 2013 18:46:17 +0000 (18:46 +0000)]
Merge "Fatal error: Call to a member function formatDuration() on a non-object in SpecialUserlogin.php on line 818"

10 years agoMerge "Remove extra comma to avoid fatal in IE7"
jenkins-bot [Fri, 23 Aug 2013 18:34:08 +0000 (18:34 +0000)]
Merge "Remove extra comma to avoid fatal in IE7"

10 years agoMerge "Further fix to profiling order for DBPerformance log"
jenkins-bot [Fri, 23 Aug 2013 18:09:58 +0000 (18:09 +0000)]
Merge "Further fix to profiling order for DBPerformance log"

10 years agoMerge "Simplified some tedious profiling code"
jenkins-bot [Fri, 23 Aug 2013 18:08:19 +0000 (18:08 +0000)]
Merge "Simplified some tedious profiling code"

10 years agoMerge "Move slow deletion purges out of complex DB transactions"
jenkins-bot [Fri, 23 Aug 2013 18:06:47 +0000 (18:06 +0000)]
Merge "Move slow deletion purges out of complex DB transactions"

10 years agoRemove extra comma to avoid fatal in IE7
umherirrender [Fri, 23 Aug 2013 18:01:57 +0000 (20:01 +0200)]
Remove extra comma to avoid fatal in IE7

Change-Id: I2e875f55445dd94c660ad7ddc2aeec937ff30fa6

10 years agoMerge "htmlform multiselect chosen: Replace lists"
jenkins-bot [Fri, 23 Aug 2013 06:08:45 +0000 (06:08 +0000)]
Merge "htmlform multiselect chosen: Replace lists"

10 years agoFatal error: Call to a member function formatDuration() on a
Reedy [Thu, 22 Aug 2013 23:49:01 +0000 (00:49 +0100)]
Fatal error: Call to a member function formatDuration() on a
non-object in SpecialUserlogin.php on line 818

Bug: 53246
Change-Id: Ie2b23cefe569b31c2da67e16077d4557c6247bc9

10 years agojquery.chosen: set default text width to auto
Ryan Lane [Thu, 22 Aug 2013 23:38:34 +0000 (16:38 -0700)]
jquery.chosen: set default text width to auto

Rather than hardcoding the default text width to 25px, set the
default to auto, so that when using width: auto for the chosen
container an empty input won't be 25px.

Change-Id: I694daa263f921c9e5a0490519af352d173fb4c9d

10 years agoFurther fix to profiling order for DBPerformance log
Aaron Schulz [Thu, 22 Aug 2013 21:44:30 +0000 (14:44 -0700)]
Further fix to profiling order for DBPerformance log

* Make sure transactionWritingIn() gets called before the profileIn()
  so the first write query shows up

Change-Id: Ife504651f6fe33f1360e817bcb05afc02f4075a5

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 22 Aug 2013 19:46:27 +0000 (19:46 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I28a9c6aa85e73c4ff4a409768c85117c25a55314

10 years agoAvoid profiler spam for numeric IN() clauses for each possible number of items
Aaron Schulz [Thu, 22 Aug 2013 18:42:05 +0000 (11:42 -0700)]
Avoid profiler spam for numeric IN() clauses for each possible number of items

* This currently can be seen in several category queries with IN() clauses on graphite

Change-Id: I04e7745c7d4f11f5f2905c7f86f1558a9fdb0b5c

10 years agoClean up parser test's InterwikiLoadPrefix hook
Brad Jorsch [Thu, 22 Aug 2013 18:38:50 +0000 (14:38 -0400)]
Clean up parser test's InterwikiLoadPrefix hook

Change I36865e38 adjusted the parser test class to hook
InterwikiLoadPrefix, and prevent any other uses of that hook. Which is
ok, except it doesn't clean up after itself so it winds up breaking any
other parser tests that use the same hook.

Change-Id: I351a56ac39a44721d427e9c980eaf5fff246fb57

10 years agoSimplified some tedious profiling code
Aaron Schulz [Thu, 22 Aug 2013 18:15:34 +0000 (11:15 -0700)]
Simplified some tedious profiling code

Change-Id: Ia5d56b3a38feb1b151f6821d76abbdd6b2dd9f46

10 years agoMerge "Default is not necessary for toggle fields"
jenkins-bot [Thu, 22 Aug 2013 18:07:49 +0000 (18:07 +0000)]
Merge "Default is not necessary for toggle fields"

10 years agoRemove comment saying code should add RL dependencies directly
Matthew Flaschen [Thu, 22 Aug 2013 17:31:09 +0000 (13:31 -0400)]
Remove comment saying code should add RL dependencies directly

This does not reflect actual ResourceLoader best practices.

Bug: 51853
Change-Id: I62e875c472ecc54b310ce5ed14fdcabda02e19e5

10 years agohtmlform multiselect chosen: Replace lists
Ryan Lane [Thu, 8 Aug 2013 08:22:42 +0000 (16:22 +0800)]
htmlform multiselect chosen: Replace lists

Rather than appending a new checkbox list and removing the old one,
replace the old list with the new one, to preserve ordering.

Change-Id: Idd77455bdbaf423e7a51cf3789460d1980f78922

10 years agoMerge "htmlform muliselect chosen: convert each list"
jenkins-bot [Thu, 22 Aug 2013 17:42:19 +0000 (17:42 +0000)]
Merge "htmlform muliselect chosen: convert each list"

10 years agoDefault is not necessary for toggle fields
Chad Horohoe [Thu, 22 Aug 2013 17:05:14 +0000 (10:05 -0700)]
Default is not necessary for toggle fields

Change-Id: Ia11290431bc19905f744b65b001adc53c023e2ca

10 years agohtmlform muliselect chosen: convert each list
Ryan Lane [Thu, 8 Aug 2013 08:11:46 +0000 (16:11 +0800)]
htmlform muliselect chosen: convert each list

This change converts each checkbox list input separately, rather
than converting all together into a single select input.

Change-Id: Iec6687f7105cdb38fb92785aaa4357babaef1b4f

10 years agoIf --only and we've had a hit, no need to continue iteration over $wgQueryPages
Reedy [Thu, 15 Aug 2013 22:19:02 +0000 (23:19 +0100)]
If --only and we've had a hit, no need to continue iteration over $wgQueryPages

--only only accepts one "page"

Change-Id: I561a099cd6ec8a19e8931f6aa5304fc38a474e58

10 years agoDon't do special page cache updates if --list or --only parameters passed
Reedy [Thu, 15 Aug 2013 22:02:21 +0000 (23:02 +0100)]
Don't do special page cache updates if --list or --only parameters passed

Change-Id: I06522ea888d2d7f5cbfd22dd70e58011d65fd2c1

10 years agoMake last row of new gallery not be huge.
Brian Wolff [Wed, 21 Aug 2013 17:00:47 +0000 (10:00 -0700)]
Make last row of new gallery not be huge.

If we cannot make the last row fit the page width,
make the image zoom factor be the average zoom
factor (sans any shrinking) so that the last
row doesn't have images that are super huge.

Change-Id: I0caf8d1800808f14c9f53073f3b901eedec32bb7

10 years agoMerge "Tweaked location of profiling in query() to split out the implicit BEGIN"
jenkins-bot [Wed, 21 Aug 2013 23:18:17 +0000 (23:18 +0000)]
Merge "Tweaked location of profiling in query() to split out the implicit BEGIN"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 21 Aug 2013 21:03:36 +0000 (21:03 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9f9977954324f08a5d2720a758e73d585c4862c3

10 years agoMove slow deletion purges out of complex DB transactions
Aaron Schulz [Wed, 21 Aug 2013 20:20:40 +0000 (13:20 -0700)]
Move slow deletion purges out of complex DB transactions

* This should help reduce deletion related deadlock errors

Change-Id: Ie7cafbf87ab0c71cc6c4c4fe1e53af364974a745

10 years agoMerge "The "masterPos" field in refreshLinks can be false so check for that"
jenkins-bot [Wed, 21 Aug 2013 18:24:18 +0000 (18:24 +0000)]
Merge "The "masterPos" field in refreshLinks can be false so check for that"

10 years agoMerge "Be stricter for file types where we don't know canonical extension"
jenkins-bot [Wed, 21 Aug 2013 18:17:44 +0000 (18:17 +0000)]
Merge "Be stricter for file types where we don't know canonical extension"

10 years agoBe stricter for file types where we don't know canonical extension
Brian Wolff [Mon, 19 Aug 2013 23:41:28 +0000 (16:41 -0700)]
Be stricter for file types where we don't know canonical extension

Previously if a file had a format, where we didn't have an
extension associated with it in mime.types, people could upload
it with any extension that is in $wgFileExtensions. This meant
people could upload a non-allowed file type if it had an allowed
extension, and the non-allowed file type didn't have a canonical
extension in mime.types

Bug: 39012
Change-Id: Ib373fafdfceceed65fbd23cf468f3c19196545c9

10 years agoMerge "Add tests for API action=edit&section=new"
jenkins-bot [Wed, 21 Aug 2013 17:30:29 +0000 (17:30 +0000)]
Merge "Add tests for API action=edit&section=new"

10 years agoForce a space between password label and reset link.
Platonides [Wed, 21 Aug 2013 12:34:47 +0000 (14:34 +0200)]
Force a space between password label and reset link.

userlogin-yourpassword and userlogin-resetpassword-link
appeared concatenated if the css wasn't available:
"PasswordReset your password"

Change-Id: I59049a3f1f912c45da89b1441661c3b725e1459b

10 years agoTry to improve the wording of gender option
Amir E. Aharoni [Tue, 30 Oct 2012 05:53:44 +0000 (07:53 +0200)]
Try to improve the wording of gender option

* Move the gender option to the internationalisation section,
  because it's mostly used for that.
* Change the displayed values: rather then gender identifiers,
  it demonstrates the usage of the option.
* Update documentation accordingly.

Change-Id: I81f02f03f5992ad5f0501e0a7552bdee9f2c1d5e
Bug: 31816

10 years agoCore support for disabling HTTPS based on GeoIP
Tim Starling [Wed, 21 Aug 2013 01:39:45 +0000 (11:39 +1000)]
Core support for disabling HTTPS based on GeoIP

* Introduce a hook allowing automatic redirects to HTTPS to be
  disabled on the basis of client IP address.
* Make User::requiresHTTPS() return false if the client IP is
  blacklisted as such.
* On login, make the "stick HTTPS" option default to false if the
  client IP address is blacklisted as such.
* Do not redirect anonymous requests to HTTPS.
* If $wgSecureLogin is enabled, link to the HTTPS login page *via*
  the HTTP redirect, so that there is no need to vary the cache of
  anonymous page view HTML on client IP address.

Change-Id: Iaa9dd2108431b8c35e05db4bfe78a629018a003c

10 years agoMerge "Clean up Parser::doQuotes()."
jenkins-bot [Tue, 20 Aug 2013 23:01:20 +0000 (23:01 +0000)]
Merge "Clean up Parser::doQuotes()."

10 years agoMerge "Fatal error: Using $this when not in object context in SpecialUpload.php on...
jenkins-bot [Tue, 20 Aug 2013 20:47:02 +0000 (20:47 +0000)]
Merge "Fatal error: Using $this when not in object context in SpecialUpload.php on line 686"

10 years agoPost-edit confirmation: ensure consistent font-size across skins
Ori Livneh [Tue, 20 Aug 2013 10:12:04 +0000 (03:12 -0700)]
Post-edit confirmation: ensure consistent font-size across skins

The post-edit confirmation display looks awful in MonoBook, because it
specifies an x-small font-size for the entire <body>. This patch ensures
a legible font size of 13px across skins.

Bug: 41404
Change-Id: I772840748adb90dca0b849f1e679d290cbd84413

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 20 Aug 2013 19:39:41 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I332982e76aa7f846c42e81fbd30141d85326f8b8

10 years agoAdd new HTMLForm::addHiddenFields() methods
Alexandre Emsenhuber [Sun, 18 Aug 2013 10:25:36 +0000 (12:25 +0200)]
Add new HTMLForm::addHiddenFields() methods

Allows to set various hidden fields from a single method call;
can be used with:
$form->addHiddenFields( $context->getRequest()->getValues( /* field list */ ) );

Change-Id: I864584e5889297bb680808163f48795bab8f7afb

10 years agoThe "masterPos" field in refreshLinks can be false so check for that
Aaron Schulz [Tue, 20 Aug 2013 17:44:37 +0000 (10:44 -0700)]
The "masterPos" field in refreshLinks can be false so check for that

Change-Id: I445e10da122e5f24e589f1eb078a31605b9f2e13

10 years agoTweaked location of profiling in query() to split out the implicit BEGIN
Aaron Schulz [Tue, 20 Aug 2013 16:49:47 +0000 (09:49 -0700)]
Tweaked location of profiling in query() to split out the implicit BEGIN

* This also should make the DBPerformance log look clearer.

Change-Id: I98764647bbb19a5f130bd3d87488f32cb2825ea8

10 years agoFollow-up db51c53b8f. Fix already used variable name.
Brian Wolff [Tue, 20 Aug 2013 16:36:18 +0000 (09:36 -0700)]
Follow-up db51c53b8f. Fix already used variable name.

This caused the upload warnings to output undefined on
Special:Upload.

Bug: 40785
Change-Id: I733a5092eac21bfbfa100e0bd9aaed583ab044ab

10 years agoMerge "New hook, UserRequiresHTTPS"
jenkins-bot [Tue, 20 Aug 2013 16:25:04 +0000 (16:25 +0000)]
Merge "New hook, UserRequiresHTTPS"

10 years agoNew hook, UserRequiresHTTPS
Max Semenik [Tue, 20 Aug 2013 15:58:12 +0000 (19:58 +0400)]
New hook, UserRequiresHTTPS

Intended for situations where current user can't technically access the
site over a secure connection, e.g. due to a terribly obsolete browser or
WP Zero carrier that provides only insecure free access to the site.

Change-Id: I343985092c49a21fa347ca4dc0e5ec27774ad11d

10 years agoMerge "Update Chechen language namespace names from translatewiki"
jenkins-bot [Tue, 20 Aug 2013 09:54:22 +0000 (09:54 +0000)]
Merge "Update Chechen language namespace names from translatewiki"

10 years agoMerge "$wgHooks: add closure docs & admonition to register handlers early"
jenkins-bot [Tue, 20 Aug 2013 09:51:32 +0000 (09:51 +0000)]
Merge "$wgHooks: add closure docs & admonition to register handlers early"

10 years ago$wgHooks: add closure docs & admonition to register handlers early
Ori Livneh [Sun, 28 Jul 2013 08:22:51 +0000 (01:22 -0700)]
$wgHooks: add closure docs & admonition to register handlers early

This patch takes Tim's advice to amend the doc block for $wgHooks with an
admonition to register hook handlers early. (This was after it was determined
that late registration of a CanonicalNamespace handler was responsible for bug
45031). Since I was already here, I also documented the use of closures with
$wgHooks, fulfilling a @TODO.

Change-Id: Id16148dbfbcc89e0365860e078e089ae541ba08f

10 years agoUpdate Chechen language namespace names from translatewiki
This, that and the other [Tue, 20 Aug 2013 09:40:07 +0000 (19:40 +1000)]
Update Chechen language namespace names from translatewiki

Also adding old name back in as an alias.

Bug: 51783
Change-Id: I88790d1e6ccc63bbcd2aff9c26403a710b7e6ff8

10 years agoMerge "Eliminate confusing redundancy in accmailtext"
jenkins-bot [Tue, 20 Aug 2013 09:09:16 +0000 (09:09 +0000)]
Merge "Eliminate confusing redundancy in accmailtext"

10 years agoAdd diff-multi to classes with explicit direction
Amir E. Aharoni [Fri, 16 Aug 2013 11:10:57 +0000 (14:10 +0300)]
Add diff-multi to classes with explicit direction

This ensures that the direction of the notice about the intermediate
versions is in the user language's direction.

Bug: 52321
Change-Id: I1ef8b85dc7a2f6e4a7e6be055ed0f962d5532c7f

10 years agoFix super long line
Chad Horohoe [Tue, 20 Aug 2013 01:16:10 +0000 (18:16 -0700)]
Fix super long line

Change-Id: Ib76a2b6209137bcf18db9b756fa7406547611129

10 years agoAdd some logging for weird redirected POSTs
Chad Horohoe [Tue, 20 Aug 2013 00:29:43 +0000 (17:29 -0700)]
Add some logging for weird redirected POSTs

Change-Id: Ib19ebc2306e85fdb8c29b5850f2306bec7907938