lhc/web/wiklou.git
10 years agoMake morenotlisted more grammar-friendly
Nemo bis [Sat, 27 Jul 2013 17:10:04 +0000 (19:10 +0200)]
Make morenotlisted more grammar-friendly

It's nice to be able to have different translations compared to
moredotdotdot, but normally "More not listed..." is not worth
the grammatical hassles and is not one-size-fits-all.
<https://translatewiki.net/wiki/Thread:Support/MediaWiki:Morenotlisted_too_general>

Change-Id: Ica649d7630106143204c3495c544025439bb1921

10 years agoUse login-throttled properly everywhere
Nemo bis [Mon, 19 Aug 2013 13:34:33 +0000 (15:34 +0200)]
Use login-throttled properly everywhere

Actually proper usage would probably be to split the messages.
Followup to Id385be840f340476fbe7a818ff1d05154fe86d68;
spotted by Shirayuki.
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Login-throttled/en

Change-Id: I565971a90fc383327a51d717a80013cb7a3e9c9b

10 years agoAdd missing bug number for I458fb688
Kevin Israel [Sat, 31 Aug 2013 20:30:03 +0000 (16:30 -0400)]
Add missing bug number for I458fb688

Bug: 14431
Change-Id: I193abd91ce89971d40297c22d386e0ac3c453b88

10 years agoMerge "No spaces within (casts)"
jenkins-bot [Sat, 31 Aug 2013 16:47:31 +0000 (16:47 +0000)]
Merge "No spaces within (casts)"

10 years agoNo spaces within (casts)
MatmaRex [Sat, 31 Aug 2013 16:17:28 +0000 (18:17 +0200)]
No spaces within (casts)

Per the code conventions ([[mw:CC/PHP]]).

This file appears to be the only outlier.

Change-Id: I634d9927174737ffc99976a97a41ce04c842fc32

10 years agoMerge "Delete docs/upload.txt"
jenkins-bot [Sat, 31 Aug 2013 13:05:41 +0000 (13:05 +0000)]
Merge "Delete docs/upload.txt"

10 years agoDelete docs/upload.txt
MatmaRex [Sat, 31 Aug 2013 12:31:05 +0000 (14:31 +0200)]
Delete docs/upload.txt

"This document describes how the current uploading system is build up and how
custom backends can be built. (At least someday it will)."

It says this since 2009 (r55604). I see no need to keep that red herring here.

Change-Id: I70d20bf21527bee26bf244381a9d75d96856dd52

10 years agodocs/scripts.txt: Remove docs about deleted files
MatmaRex [Sat, 31 Aug 2013 12:28:18 +0000 (14:28 +0200)]
docs/scripts.txt: Remove docs about deleted files

trackback.php has been removed in 1.18, redirect.php sometime sooner.

This highlights the state of disarray these docs are in…

Change-Id: I8115ca5649e82537a638b2cd3775717e43099124

10 years agoMerge "SpecialPrefixindex formatting methods are now protected"
jenkins-bot [Fri, 30 Aug 2013 19:41:21 +0000 (19:41 +0000)]
Merge "SpecialPrefixindex formatting methods are now protected"

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

Change-Id: Id582eb69175c2916c81c1819a00ece57a64645f9

10 years agoSupport search update for MySQL search engine
Chad Horohoe [Thu, 29 Aug 2013 21:05:53 +0000 (14:05 -0700)]
Support search update for MySQL search engine

Since change I2063fe0 SearchMySQL does not do a search update anymore.

Bug: 53408
Change-Id: I7ccd033c13f4dd622dde7ac97c56f68474780ef2

10 years agoMerge "Normalize IPv6 addresses in XFF chains"
jenkins-bot [Thu, 29 Aug 2013 21:00:44 +0000 (21:00 +0000)]
Merge "Normalize IPv6 addresses in XFF chains"

10 years agoMerge "Remove prefix from forceHTTPS cookie"
jenkins-bot [Thu, 29 Aug 2013 20:56:26 +0000 (20:56 +0000)]
Merge "Remove prefix from forceHTTPS cookie"

10 years agoNormalize IPv6 addresses in XFF chains
Max Semenik [Tue, 30 Jul 2013 22:45:48 +0000 (02:45 +0400)]
Normalize IPv6 addresses in XFF chains

Otherwise, we're at proxy's mercy for using the same form of IPs.

Change-Id: I090947958bf699ee6d8a9009c9e4a6d11da23f2c

10 years agoMerge "Fill in defaults for omitted parameters to RecentChange::sendToUDP"
jenkins-bot [Thu, 29 Aug 2013 20:48:10 +0000 (20:48 +0000)]
Merge "Fill in defaults for omitted parameters to RecentChange::sendToUDP"

10 years agoRemove prefix from forceHTTPS cookie
csteipp [Thu, 29 Aug 2013 20:40:07 +0000 (13:40 -0700)]
Remove prefix from forceHTTPS cookie

Match CentralAuth, and set appropriate expiration too.

Bug: 53538
Change-Id: I3c16ff92781e1a72346058ae3838d8fc47019d55

10 years agoFill in defaults for omitted parameters to RecentChange::sendToUDP
Ori Livneh [Thu, 29 Aug 2013 20:24:35 +0000 (13:24 -0700)]
Fill in defaults for omitted parameters to RecentChange::sendToUDP

Not all callers of RecentChange::sendToUDP pass all the parameters -- which is
to be expected, since the sendToUDP's signature specifies the empty string as
default. It is not correct to leave the values empty, though, since they are
used to construct the logging URL. When the parameters are unset, the correct
behavior should be to fill in defaults from $wgRC2UDP*, as was the case prior
to I270bde418. This patch reverts to the old, correct behavior.

Change-Id: I4570473ae7382e602292e58a41e440325a65a275

10 years agoMerge "doc: Remove repetitive "Give grep a chance" phrase from comments"
jenkins-bot [Thu, 29 Aug 2013 20:32:38 +0000 (20:32 +0000)]
Merge "doc: Remove repetitive "Give grep a chance" phrase from comments"

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

Change-Id: I9a1d9d6c7444e0e746a3071520a124a9937633d3

10 years agodoc: Remove repetitive "Give grep a chance" phrase from comments
Timo Tijhof [Wed, 28 Aug 2013 00:38:27 +0000 (17:38 -0700)]
doc: Remove repetitive "Give grep a chance" phrase from comments

* Follows-up b2e2b2e016.
* Minor clean up of surrounding documentation comments.
* Fixed missing keys for messages in WebInstallerPage

Change-Id: Iaa692064262f3c0e10cfa5e4b1ec8c86e5d02362

10 years agoMerge "Make FakeConverter more realistic"
jenkins-bot [Thu, 29 Aug 2013 15:11:22 +0000 (15:11 +0000)]
Merge "Make FakeConverter more realistic"

10 years agoSpecialPrefixindex formatting methods are now protected
Antoine Musso [Wed, 24 Jul 2013 10:08:52 +0000 (12:08 +0200)]
SpecialPrefixindex formatting methods are now protected

namespacePrefixForm() and showPrefixChunk() accepted additional
arguments to slightly alter the form such as hiding redirects.  The
argument has been removed in favor of class property just like
stripprefix introduced earlier and the method have been made protected
since there is no point in calling them out of the special page scope.

Change-Id: I55728fd2634f8a935a033052dcce3c7247cb1aa3

10 years agoMerge "Efficiently reset null user tokens"
jenkins-bot [Thu, 29 Aug 2013 00:20:52 +0000 (00:20 +0000)]
Merge "Efficiently reset null user tokens"

10 years agoMerge "Add Special:[All]MyFiles as alias for Special:[All]MyUploads"
jenkins-bot [Wed, 28 Aug 2013 23:52:28 +0000 (23:52 +0000)]
Merge "Add Special:[All]MyFiles as alias for Special:[All]MyUploads"

10 years agoMerge "Added a getLazyConnectionRef() function to load balancer"
jenkins-bot [Wed, 28 Aug 2013 22:56:23 +0000 (22:56 +0000)]
Merge "Added a getLazyConnectionRef() function to load balancer"

10 years agoEfficiently reset null user tokens
csteipp [Thu, 25 Jul 2013 21:25:00 +0000 (14:25 -0700)]
Efficiently reset null user tokens

Allow resetting null tokens (users affected by bug 41586), and improve
the overall performance of the script for large wikis.

Adds "nulls" flag to indicate that only users with bad tokens get reset.

Bug: 41586
Change-Id: I524607d3e54aa1c3703019cca46b69558847182e

10 years ago[new gallery]. Centre really skinny images above their caption.
Brian Wolff [Wed, 28 Aug 2013 20:48:30 +0000 (14:48 -0600)]
[new gallery]. Centre really skinny images above their caption.

Change-Id: I193ee3b984635e72352872e148c1ea7768d6cc5f

10 years agoAdd Special:[All]MyFiles as alias for Special:[All]MyUploads
Brian Wolff [Sat, 20 Apr 2013 00:41:26 +0000 (21:41 -0300)]
Add Special:[All]MyFiles as alias for Special:[All]MyUploads

I've been typing the wrong one all day. When I mentioned it on
irc, Odder seemed to think making an alias would be a good idea.

Change-Id: I4373caf65495b1bd773758d880b1f5c03cfbfe2a

10 years agoMerge "Add help message to prefershttps"
jenkins-bot [Wed, 28 Aug 2013 20:09:23 +0000 (20:09 +0000)]
Merge "Add help message to prefershttps"

10 years agoMerge "Allow listing old files in Special:ListFiles. Add Special:AllMyUploads"
TheDJ [Wed, 28 Aug 2013 19:48:23 +0000 (19:48 +0000)]
Merge "Allow listing old files in Special:ListFiles. Add Special:AllMyUploads"

10 years agoAllow listing old files in Special:ListFiles. Add Special:AllMyUploads
Brian Wolff [Fri, 19 Apr 2013 00:16:41 +0000 (21:16 -0300)]
Allow listing old files in Special:ListFiles. Add Special:AllMyUploads

This solves the problem of new users on commons wanting a list of
their files, but something like cropbot modifying it and taking
it off Special:MyUploads.

I'm worried this is a bit hacky to make TablePager work with
two queries. If anyone has any suggestions on how to do this
in a less hacky way, please say.

Some notes:
* This totally removes any revdeleted entries instead
  of dealing with them. Some future iteration can do selective
  deletion.
* Should maybe add links to old versions of files description
  page somewhere. Not sure where in ui that would fit (The date maybe)
  (by old file description page I mean something like flagged revs
  filetimestamp parameter)
* The latest version column should perhaps have "latest" and "old"
  instead of "yes" or "no"
* This is slightly different from the suggestion on the bug report
  as it shows all revisions (instead of say just first revisions).
  I think showing all revisions makes more sense for the "where
  are my uploads" use case. Second of all, the checkbox is not on
  by default.

Bug: 30607
Change-Id: I9e58db1f212e3bb361316c05ef32d4b9c31c6490

10 years agoMerge "Make variant selection menu toggleable by keyboard"
TheDJ [Wed, 28 Aug 2013 19:32:44 +0000 (19:32 +0000)]
Merge "Make variant selection menu toggleable by keyboard"

10 years agoAdd help message to prefershttps
Chad Horohoe [Wed, 28 Aug 2013 17:57:57 +0000 (10:57 -0700)]
Add help message to prefershttps

The preference requires logging back in again to set the new cookies.

Change-Id: I2602205eec752c927ac6df81545e69f5c9e70ee4

10 years agoMerge "Rephrase the installer's config-welcome message"
jenkins-bot [Wed, 28 Aug 2013 16:50:16 +0000 (16:50 +0000)]
Merge "Rephrase the installer's config-welcome message"

10 years agoMerge "Make restoreprefs crystal clear about the meaning of *all*"
jenkins-bot [Wed, 28 Aug 2013 16:48:36 +0000 (16:48 +0000)]
Merge "Make restoreprefs crystal clear about the meaning of *all*"

10 years agoSort namespace aliases by id in appendNamespaceAliases for pretty output
Erick Guan [Thu, 15 Aug 2013 03:06:09 +0000 (03:06 +0000)]
Sort namespace aliases by id in appendNamespaceAliases for pretty output

Bug: 45382
Change-Id: I8850eac676f219482d380a0c4a9cad1009285c68

10 years agoFix the message "seconds-ago"
shirayuki [Wed, 28 Aug 2013 09:53:24 +0000 (18:53 +0900)]
Fix the message "seconds-ago"

follow up to Ie667088010e24eb6cb569f9e8e8e2553005223eb

Change-Id: If3ddcb2c9d294c45673b905d70dc9ee9073f88dd

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

Change-Id: I6bd3ed5448364b1a8a0bb9f06f104289c81851ce

10 years agoMerge "Do not show empty metadata section on svgs"
jenkins-bot [Tue, 27 Aug 2013 17:38:03 +0000 (17:38 +0000)]
Merge "Do not show empty metadata section on svgs"

10 years agoMerge "Make thumb.php give http redirects if given a file redirect"
jenkins-bot [Tue, 27 Aug 2013 17:14:34 +0000 (17:14 +0000)]
Merge "Make thumb.php give http redirects if given a file redirect"

10 years agoMake thumb.php give http redirects if given a file redirect
Brian Wolff [Tue, 20 Aug 2013 20:29:23 +0000 (13:29 -0700)]
Make thumb.php give http redirects if given a file redirect

See bug 22390 for some of the background. Basically there's two
reasons why we want this:
* Hotlinkers to commons. We don't want to break their links when
we move a file (Wikimedia blog is a prominent hotlinker)
* Cached entires. On wikis using commons files, a file move doesn't
trigger HTMLCacheUpdate jobs for the downstream wiki (it only
triggers it on commons). This means that these pages will still
use the old version of the html (with img tags that have the old
url) until the next edit or purge action. But these urls won't
work as soon as the file is moved.

I'm pretty confident that redirects will work at this point
in the thumb stack, as the redirects for long file names work
fine (provided no thumb exists in swift with the wrong name).

Change-Id: I40350121cf902f66fcbd3cf788335a988fa7ee33

10 years agoRebuild MessagesEn.php
Alexandre Emsenhuber [Thu, 22 Aug 2013 17:33:54 +0000 (19:33 +0200)]
Rebuild MessagesEn.php

Change-Id: Icf903bcf0027f08fcf06214a5fbfcc4fdfc5d0b6

10 years agoMerge "Remove inconsistent font-family declarations"
jenkins-bot [Tue, 27 Aug 2013 05:07:28 +0000 (05:07 +0000)]
Merge "Remove inconsistent font-family declarations"

10 years agoMerge "Change wording on message per feedback from translatewiki."
jenkins-bot [Mon, 26 Aug 2013 23:45:26 +0000 (23:45 +0000)]
Merge "Change wording on message per feedback from translatewiki."

10 years agoMerge "Add url parameter to trigger autogenerated gallery type."
jenkins-bot [Mon, 26 Aug 2013 23:42:19 +0000 (23:42 +0000)]
Merge "Add url parameter to trigger autogenerated gallery type."

10 years agoMerge "Rename '$wgStreamLoggers' => '$wgRCEngines'"
jenkins-bot [Mon, 26 Aug 2013 23:01:04 +0000 (23:01 +0000)]
Merge "Rename '$wgStreamLoggers' => '$wgRCEngines'"

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 agoRename '$wgStreamLoggers' => '$wgRCEngines'
Ori Livneh [Mon, 26 Aug 2013 20:58:29 +0000 (13:58 -0700)]
Rename '$wgStreamLoggers' => '$wgRCEngines'

The name '$wgStreamLoggers' captures the direction in which I'd like to see
this evolve, but for the time being it is a misnomer, giving the false
impression that it is more general than it in fact is. I did not bother
deprecating the old name since it was only merged to master yesterday.

Also renamed: RecentChange::getStreamEngine -> RecentChange::getEngine (for
consistency with the change to the config var name).

Change-Id: I0d7b08e591e897b24528ea0981a6fcb93cfe8831

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 agoMake variant selection menu toggleable by keyboard
Marius Hoch [Mon, 19 Aug 2013 19:09:08 +0000 (21:09 +0200)]
Make variant selection menu toggleable by keyboard

Altered the script as the variant selection menu
uses a slightly different dom structure than the
other menus.

Bug: 46486
Change-Id: I4fdfe1cf002e4f5370b7073b509e33828db7dcbf

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 agoDo not show empty metadata section on svgs
umherirrender [Sat, 24 Aug 2013 17:51:07 +0000 (19:51 +0200)]
Do not show empty metadata section on svgs

The SvgHandler does not output all metadata, that means the returned
array can be empty. In this case return false to indicate that the
metadata section should not be added on the image description page.

Change-Id: I989154dbaaaafb2e924838c990e30a9ffe6842a9

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 agoAdd url parameter to trigger autogenerated gallery type.
Brian Wolff [Fri, 23 Aug 2013 22:13:40 +0000 (15:13 -0700)]
Add url parameter to trigger autogenerated gallery type.

This was requested at commons as a temporary measure to
evaluate the new gallery options.

Change-Id: Ib12ac8228c824533262e1896adf2618dd298f655

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"