lhc/web/wiklou.git
11 years agoMerge "[FileBackend] Allow enforcing POSIX file owner names."
Tim Starling [Wed, 22 Aug 2012 07:34:59 +0000 (07:34 +0000)]
Merge "[FileBackend] Allow enforcing POSIX file owner names."

11 years ago(bug 24491) Don't show reupload link if the user can't upload because of protection
Alex Monk [Mon, 13 Aug 2012 20:15:53 +0000 (21:15 +0100)]
(bug 24491) Don't show reupload link if the user can't upload because of protection

Instead, show some text explaining that they cannot upload here.

Also remove a linebreak which someone complained about recently.

Change-Id: I92ab8ad5eebcdd38c0d5d9f7bab7d11e5c844586

11 years agoMerge "prop=duplicatefiles does not show duplicates under same name"
Catrope [Wed, 22 Aug 2012 01:46:36 +0000 (01:46 +0000)]
Merge "prop=duplicatefiles does not show duplicates under same name"

11 years agoMerge "Clean up applyPatch() usage in the installer."
Catrope [Wed, 22 Aug 2012 01:45:42 +0000 (01:45 +0000)]
Merge "Clean up applyPatch() usage in the installer."

11 years agoMerge "* (bug 39376) jquery.form upgraded to 3.14"
Catrope [Wed, 22 Aug 2012 01:41:07 +0000 (01:41 +0000)]
Merge "* (bug 39376) jquery.form upgraded to 3.14"

11 years agoMerge "(bug 38249) No PCRE unicode causes installer to spew giberish"
Catrope [Wed, 22 Aug 2012 01:37:47 +0000 (01:37 +0000)]
Merge "(bug 38249) No PCRE unicode causes installer to spew giberish"

11 years agoMerge "Added --quick option to file test script to use doQuickOperations."
Catrope [Wed, 22 Aug 2012 01:37:33 +0000 (01:37 +0000)]
Merge "Added --quick option to file test script to use doQuickOperations."

11 years ago* (bug 39376) jquery.form upgraded to 3.14
Reedy [Wed, 15 Aug 2012 16:46:19 +0000 (17:46 +0100)]
* (bug 39376) jquery.form upgraded to 3.14

Change-Id: I1d30a5def4ba09054604e5af5666c31c631bc395

11 years ago(bug 38249) No PCRE unicode causes installer to spew giberish
Brian Wolff [Sun, 19 Aug 2012 17:44:00 +0000 (14:44 -0300)]
(bug 38249) No PCRE unicode causes installer to spew giberish

If PHP's PCRE is not compiled with unicode property support, this causes
the regexes used by the parser to not compile, causing the parser to
output giberish. Its been reported that the default PHP package for
cent os has PCRE in such a config.

As a result the installer will output total giberish. The user has
no idea what went wrong because there is no meaningful output.

To counter that, cause Parser to throw an exception in that case.
It seemed easier than figuring out how to convince the installer
not to parse the environment check. For completeness sake though
I fixed the PCRE environment check to adequetely check for PCRE
not having unicode support.

This should be backported to 1.19 since there are quite a few
complaints about the issue on project:Support_desk. /me has
no idea what the procedure for that is in our new git world

Change-Id: Idb1658be4ee6203a55740450e335f570a616671c

11 years ago(bug 39297) Show a warning if thumbnails won't be animated
Brian Wolff [Sun, 19 Aug 2012 01:19:53 +0000 (22:19 -0300)]
(bug 39297) Show a warning if thumbnails won't be animated

This shows a warning on the image description page if the image
is animated, but thumbnails won't be. This includes
gif images that are too big, but also svg images that are animated,
and APNG files.

The message used is file-no-thumb-animation, but will also
check for file-no-thumb-animation-<image extension> so that
admins can do per image type explanations. Gif files have a built-in
explanation that is slightly different (Since its do to resolution).
Ideally one would pass the resolution limit to the gif message,
but I couldn't think of a clean way of doing that. (Also might be
complex to explain to user. They aren't used to resolution as a single
number but as a width x height type thing).

Moves isAnimatedImage from ImageHandler to MediaHandler, so I could
safely use it from any handler class.

Change-Id: I42ee11d889e0c41de53d0951f55a4338ca55311d

11 years agoMerge "[FileRepo] Improved support for private wiki repos."
Catrope [Wed, 22 Aug 2012 01:12:44 +0000 (01:12 +0000)]
Merge "[FileRepo] Improved support for private wiki repos."

11 years agoMerge "(bug 39431) Fix how SVG metadata is displayed (esp. animated status)"
Catrope [Wed, 22 Aug 2012 00:49:24 +0000 (00:49 +0000)]
Merge "(bug 39431) Fix how SVG metadata is displayed (esp. animated status)"

11 years agoMerge "Hide deprecated warning for Revision::revText()."
Catrope [Wed, 22 Aug 2012 00:47:48 +0000 (00:47 +0000)]
Merge "Hide deprecated warning for Revision::revText()."

11 years agoMerge "use dir=auto for pt-userpage"
Catrope [Wed, 22 Aug 2012 00:47:09 +0000 (00:47 +0000)]
Merge "use dir=auto for pt-userpage"

11 years ago(bug 39431) Fix how SVG metadata is displayed (esp. animated status)
Brian Wolff [Fri, 17 Aug 2012 02:18:39 +0000 (23:18 -0300)]
(bug 39431) Fix how SVG metadata is displayed (esp. animated status)

(Quite a few of these issues are my fault from 65c27ddeb19757cb8a)
*All fields were starting as collapsed, which was not the intent of the code
*Animated field used non-existent messages, and displayed a value of "1" instead
   of something meaningful to the user. Both (A)PNG and GIF handlers put
   the animated status in the long description which feels more natural to me
   so move the animated status to the long desc (long desc = subtitle under
   the image on the description page).
*Use human readable file sizes in the long description instead of
   total number of bytes. This bring it in line with the implementation
   in the parent class.
*Correctly mark scripted SVG's as animated. Mostly a moot point
   since we do not allow animated svgs past the upload checks
   but for completeness and for people who totally
   disable all upload verification.
   (Note: This would miss event attributes (onclick, etc)
   I didn't see much point in adding that since almost
   always there will be a script tag)

Patchset 3: trailing whitespace (d'oh)
patchset 4: rebasing so jenkins is happy

Change-Id: Ic58efbf2bf1e4b14e3129e5bce9ea920d9804111

11 years ago(bug 23226) Add |class= parameter to image links in order to add class(es) to HTML...
tpt [Mon, 20 Aug 2012 10:12:47 +0000 (12:12 +0200)]
(bug 23226) Add |class= parameter to image links in order to add class(es) to HTML img tag.

Change-Id: If58802ad2c513c1db7bc3488daf4e078b8694b02

11 years agoMerge "Use local context to get messages"
Siebrand [Tue, 21 Aug 2012 20:43:52 +0000 (20:43 +0000)]
Merge "Use local context to get messages"

11 years agoUse local context to get messages
Alexandre Emsenhuber [Tue, 21 Aug 2012 20:11:18 +0000 (22:11 +0200)]
Use local context to get messages

Change-Id: Ia615d3cf07bafd324b09bc6c8b0614fadbdc06d4

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 21 Aug 2012 19:59:49 +0000 (19:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I88441f68df745527a2eb3ce379eddaeb6b5ee151

11 years agoMerge "Update jQuery UI to 1.8.23"
Catrope [Tue, 21 Aug 2012 19:31:06 +0000 (19:31 +0000)]
Merge "Update jQuery UI to 1.8.23"

11 years agoUpdate jQuery UI to 1.8.23
Reedy [Tue, 21 Aug 2012 19:23:27 +0000 (20:23 +0100)]
Update jQuery UI to 1.8.23

Change-Id: If623cc6fc6d47c47ce679d145a2e70420e9010fa

11 years agoHide deprecated warning for Revision::revText().
Alexandre Emsenhuber [Tue, 21 Aug 2012 19:18:13 +0000 (21:18 +0200)]
Hide deprecated warning for Revision::revText().

Otherwise the test fails when $wgDevelopmentWarnings
is set to true because it emits a E_NOTICE.

Change-Id: I0c407f04cae4285cc61f73ec0ecb7b6ada8cbe0b

11 years agoMerge "Replace deprecated wfMsg* calls with Message class calls."
IAlex [Tue, 21 Aug 2012 17:05:42 +0000 (17:05 +0000)]
Merge "Replace deprecated wfMsg* calls with Message class calls."

11 years agoReplace deprecated wfMsg* calls with Message class calls.
Siebrand Mazeland [Sun, 19 Aug 2012 20:44:29 +0000 (22:44 +0200)]
Replace deprecated wfMsg* calls with Message class calls.

Doing this in steps of roughly 100 changes per commit, so that it remains reviewable.

Change-Id: Ib15e670badd3f6aecae8b60e2f9129a31341ce16

11 years agoMerge "Remove equal duplicate array key and add FIXME for another one."
IAlex [Tue, 21 Aug 2012 16:29:27 +0000 (16:29 +0000)]
Merge "Remove equal duplicate array key and add FIXME for another one."

11 years agoMerge "Replace deprecated wfMsg* calls with Message class calls."
IAlex [Tue, 21 Aug 2012 15:48:25 +0000 (15:48 +0000)]
Merge "Replace deprecated wfMsg* calls with Message class calls."

11 years agoShow tagfilter, when transclude RC special pages
umherirrender [Sat, 4 Aug 2012 20:20:00 +0000 (22:20 +0200)]
Show tagfilter, when transclude RC special pages

This reverts bug 23293, because with tagfilter, I see no UNIQ things.

By the way, the fix for bug 23293 was not the best, because it modify
for two pages the query and for the third only the display part.

This also realign the ChangeTags::modifyDisplayQuery calls and fix the
way, SpecialNewImages gets 'ts_tags' into the select

Change-Id: I09cfa5697561970399622920214a569e9a712080

11 years agouse dir=auto for pt-userpage
aude [Tue, 21 Aug 2012 13:55:49 +0000 (13:55 +0000)]
use dir=auto for pt-userpage

Change-Id: I24874a3cf7f9f9fe250dc1e5796cf780e436f66b

11 years ago[FileRepo] Improved support for private wiki repos.
Aaron [Mon, 20 Aug 2012 23:39:55 +0000 (16:39 -0700)]
[FileRepo] Improved support for private wiki repos.

Change-Id: I8beda76767c15bbf1f6dd5d23e6a5624db267404

11 years agoMerge "Bug 39516 - Call to a member function format() on a non-object"
Catrope [Mon, 20 Aug 2012 22:46:45 +0000 (22:46 +0000)]
Merge "Bug 39516 - Call to a member function format() on a non-object"

11 years agoBug 39516 - Call to a member function format() on a non-object
Reedy [Mon, 20 Aug 2012 22:41:18 +0000 (23:41 +0100)]
Bug 39516 - Call to a member function format() on a non-object

Workaround for php bug [1], reported in 5.3.2, fixed already

Workaround can be removed when our minimum PHP version is > 5.3.2

[1] https://bugs.php.net/bug.php?id=52063

Change-Id: Ia60e64300787d0b683829765e8eeac1535e9d0a4

11 years agoMerge "Partial revert of 2fabea7eea556aba6eda9b3385d9844123328482"
Reedy [Mon, 20 Aug 2012 22:08:45 +0000 (22:08 +0000)]
Merge "Partial revert of 2fabea7eea556aba6eda9b3385d9844123328482"

11 years agoPartial revert of 2fabea7eea556aba6eda9b3385d9844123328482
Reedy [Mon, 20 Aug 2012 22:08:03 +0000 (23:08 +0100)]
Partial revert of 2fabea7eea556aba6eda9b3385d9844123328482

Due to bug 39514

Change-Id: I1e3bc525d0a15bc3ae72db7ff1ce4132a87840db

11 years agoReplace deprecated wfMsg* calls with Message class calls.
Siebrand Mazeland [Sun, 19 Aug 2012 23:05:20 +0000 (01:05 +0200)]
Replace deprecated wfMsg* calls with Message class calls.

Doing this in steps of roughly 100 changes per commit, so that it remains reviewable.

Change-Id: I4950fdf8be669b52446290768ece0b8df8399d5d

11 years ago[FileBackend] Allow enforcing POSIX file owner names.
Aaron [Mon, 20 Aug 2012 20:03:50 +0000 (13:03 -0700)]
[FileBackend] Allow enforcing POSIX file owner names.

Change-Id: I9c703bc497f5d6983ef812d105357877c154e17b

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 20 Aug 2012 19:37:48 +0000 (19:37 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Added "autocollect" function to TempFSFile."
Catrope [Mon, 20 Aug 2012 19:21:31 +0000 (19:21 +0000)]
Merge "Added "autocollect" function to TempFSFile."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 20 Aug 2012 19:16:15 +0000 (19:16 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ia20d132ff4467b41c4d7788411ed2ae4dbc4d1c0

11 years agoAdded "autocollect" function to TempFSFile.
Aaron [Mon, 20 Aug 2012 19:15:42 +0000 (12:15 -0700)]
Added "autocollect" function to TempFSFile.

* This is useful for declaring a temp file not generated via factory() as a temp file.

Change-Id: Iaa24ce3c3b0d1f7b3f492377f5bae40a1dd8869a

11 years agoBug 39495 - action=info contains hard coded English text "Marked as
madman [Mon, 20 Aug 2012 17:47:35 +0000 (17:47 +0000)]
Bug 39495 - action=info contains hard coded English text "Marked as
'$1'"

* Added messages for two valid values of robot indexing policy

Change-Id: If1dc1de6b2607fcaf546ffce74e039e5f9d170fa

11 years agoMerge "Bug 39496: action=info show non-working magic words"
Siebrand [Mon, 20 Aug 2012 17:26:30 +0000 (17:26 +0000)]
Merge "Bug 39496: action=info show non-working magic words"

11 years agoMerge "Cleaned up FileJournal documentation."
Aaron Schulz [Mon, 20 Aug 2012 17:05:41 +0000 (17:05 +0000)]
Merge "Cleaned up FileJournal documentation."

11 years agoBug 39496: action=info show non-working magic words
madman [Mon, 20 Aug 2012 16:56:51 +0000 (16:56 +0000)]
Bug 39496: action=info show non-working magic words

Changed localization of magic words to use content language instead of
user's language.

Change-Id: I7cb114c4aa41af911f34ddc63b2cedbb02b015a6

11 years agoAddress escaping issue in I0eef0c5a. Use parse().
Siebrand Mazeland [Mon, 20 Aug 2012 16:41:58 +0000 (18:41 +0200)]
Address escaping issue in I0eef0c5a. Use parse().

Change-Id: I7a52d9b1a76c44ed901eb45369eaa4404b837655

11 years agoUse exceptions to report errors in Special:RevisionDelete.
Alexandre Emsenhuber [Mon, 20 Aug 2012 15:17:26 +0000 (17:17 +0200)]
Use exceptions to report errors in Special:RevisionDelete.

- Changed OutputPage::showErrorPage() to ErrorPageError exception
- Changed OutputPage::permissionRequired() to PermissionsError exception
  the former is deprecated in favour of the latter

Change-Id: I0a4d1e284e53b1114fe2f989e14a6493a9ec996e

11 years agoFix double escaping of fieldset's legend in HTMLForm.
Alexandre Emsenhuber [Mon, 20 Aug 2012 14:54:11 +0000 (16:54 +0200)]
Fix double escaping of fieldset's legend in HTMLForm.

The message is fetched using Message::escaped() but is
later passed to Xml::element() (from Xml::fieldset() call
HTMLForm::wrapForm()) which means it is double escaped.

Change-Id: I7154b3b26cc46759c184bdf9059d82470e2ab836

11 years agoBug 26069 <title> element is "Error" for all error pages
karun [Sat, 18 Aug 2012 23:17:57 +0000 (09:17 +1000)]
Bug 26069 <title> element is "Error" for all error pages
added more meaningful heading

Change-Id: If59e729df9aa9d559302d6ebe5d4ee11999808ea

11 years agoSome fixes for Ia1878588 (236307f)
Alexandre Emsenhuber [Sun, 19 Aug 2012 21:06:43 +0000 (23:06 +0200)]
Some fixes for Ia1878588 (236307f)

- Use $this->page instead of creating a new Article object
- Use Language::userTimeAndDate() to format a timestamp with
  user settings so that is uses the local context

Change-Id: Id8483ab08303012e4bf6e019f65cf021db37af16

11 years agoMerge "Numerous fixes for Ia1878588. Escaped output was most important."
IAlex [Mon, 20 Aug 2012 13:31:08 +0000 (13:31 +0000)]
Merge "Numerous fixes for Ia1878588. Escaped output was most important."

11 years agoNumerous fixes for Ia1878588. Escaped output was most important.
Siebrand Mazeland [Mon, 20 Aug 2012 08:25:40 +0000 (10:25 +0200)]
Numerous fixes for Ia1878588. Escaped output was most important.

* Output was not escaped.
* numParms() not used where possible.
* Hard coded text hadn't been replaced with message.
* Added two FIXMEs for hard coded text, and localised magic words where they shouldn't be.

Change-Id: I0eef0c5af10cff04bcfc86d37e696491c3727cab

11 years agoMessage fixes for Ia1878588.
Siebrand Mazeland [Mon, 20 Aug 2012 08:33:43 +0000 (10:33 +0200)]
Message fixes for Ia1878588.

Change-Id: Ied3e41d68a40e6464f49c80ab0886e7c22b20858

11 years agoFix PHP Notices.
Siebrand Mazeland [Mon, 20 Aug 2012 07:55:36 +0000 (09:55 +0200)]
Fix PHP Notices.

Found alias defined for Prefixindex when searching for special page aliases for PrefixIndex.

Change-Id: I01be2e0eaa0c2de47a1c4138ae42e311a70e7a62

11 years agoMark 'pageinfo-redirects-value' as optional.
Siebrand Mazeland [Mon, 20 Aug 2012 06:36:13 +0000 (08:36 +0200)]
Mark 'pageinfo-redirects-value' as optional.

Change-Id: Iefcdaf5c70164e606ee88324eab9ff95e9d211cc

11 years agoMerge "Replace deprecated wfMsg* calls with Message class calls."
IAlex [Sun, 19 Aug 2012 22:06:43 +0000 (22:06 +0000)]
Merge "Replace deprecated wfMsg* calls with Message class calls."

11 years agoReplace some deprecated method calls.
Siebrand Mazeland [Sat, 18 Aug 2012 14:51:00 +0000 (16:51 +0200)]
Replace some deprecated method calls.

Change-Id: Id4beca7b6821139fcc319c5694917e68668835ee

11 years agoMerge "Follow-up I774a89d6 (2fabea7): use $this->msg() in HistoryAction"
Siebrand [Sun, 19 Aug 2012 20:55:12 +0000 (20:55 +0000)]
Merge "Follow-up I774a89d6 (2fabea7): use $this->msg() in HistoryAction"

11 years agoMerge "Use ErrorPageError extension in Special:Preferences."
Siebrand [Sun, 19 Aug 2012 20:54:37 +0000 (20:54 +0000)]
Merge "Use ErrorPageError extension in Special:Preferences."

11 years agoMerge "Display a return to Special:Watchlist instead of main page in Special:EditWatc...
Siebrand [Sun, 19 Aug 2012 20:54:08 +0000 (20:54 +0000)]
Merge "Display a return to Special:Watchlist instead of main page in Special:EditWatchlist."

11 years agoMerge "Bug 38450 Reimplement MediaWiki's info action"
Reedy [Sun, 19 Aug 2012 20:33:00 +0000 (20:33 +0000)]
Merge "Bug 38450 Reimplement MediaWiki's info action"

11 years agoBug 38450 Reimplement MediaWiki's info action
madman [Fri, 3 Aug 2012 23:19:01 +0000 (23:19 +0000)]
Bug 38450 Reimplement MediaWiki's info action

Currently addresses: bug 38526, bug 38527, bug 38528, bug 38529, bug
38530, bug 38531, bug 38532, bug 38533, bug 38536, bug 38558, bug 38560,
bug 38561, bug 38562, bug 38563, bug 38564.

Change-Id: Ia1878588f718e99756caf23ae9c5a131eb70bf12

11 years agoReplace deprecated wfMsg* calls with Message class calls.
Siebrand Mazeland [Sun, 19 Aug 2012 18:48:38 +0000 (20:48 +0200)]
Replace deprecated wfMsg* calls with Message class calls.

Change-Id: Ifa80db1d81b9b9d1a5adfcac06a9ed14203c100e

11 years agoSolve some i18n issues in Special:EmailUser.
Siebrand Mazeland [Mon, 6 Aug 2012 01:36:01 +0000 (03:36 +0200)]
Solve some i18n issues in Special:EmailUser.

* Page title was also "E-mail this user" if no target was provided. Created
  'emailuser-title-notarget' for this.
* Created 'emailuser-title-target' with GENDER support to provide a genderised
  page title, reducing re-use with 'emailuser' that's also used in the sidebar.
* Update documentation for 'defemailsubject' to note that GENDER is supported.

Change-Id: Id39c537e3717e24c9834526898f5a95585080204

11 years agoCleaned up FileJournal documentation.
Aaron Schulz [Sun, 19 Aug 2012 19:46:14 +0000 (12:46 -0700)]
Cleaned up FileJournal documentation.

Change-Id: I411b1328d4a3fa04283292646a34926c0d485b22

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 19 Aug 2012 14:30:50 +0000 (14:30 +0000)]
Localisation updates from translatewiki.net.

Change-Id: If391a6e847a98f6e0a044c7480f3886cd99aa8c2

11 years ago(bug 22749) Create Special:MostInterwikis
umherirrender [Thu, 16 Aug 2012 16:49:22 +0000 (18:49 +0200)]
(bug 22749) Create Special:MostInterwikis

This special pages counts all langlinks and shows the pages with the
highest count.
Update rate on WMF is every 3 days, like all other Most* special pages.

Change-Id: Ia60aed7599e8b9d6dcbae2be9bc4f91f4f8d4e55

11 years agoRemove Konqueror from the clearyourcache message
Amir E. Aharoni [Sun, 19 Aug 2012 13:38:58 +0000 (16:38 +0300)]
Remove Konqueror from the clearyourcache message

The message clearyourcache includes instructions for the Konqueror browser.
1% is usually cited as the threshold for browser support in MediaWiki
and this browser is used by much less than 1% of Wikimedia projects' visitors.
With all due respect to Konqueror's role in the history of HTML rendering
engines, I am removing its line from the message to make it shorter.

Change-Id: I506260e864b093300f27dcd4a4b261d309e32382

11 years agoAdd lang and hreflang attributes to the language links of the login page.
Derk-Jan Hartman [Sun, 29 Jul 2012 14:06:37 +0000 (16:06 +0200)]
Add lang and hreflang attributes to the language links of the login page.

- Adding these attribues should make them easier to interpret for VoiceOver and other assitive technologies.
- This assumes that people will enter the name of the language in the target language to MediaWiki:loginlanguagelinks, which is a convention but not a requirement of course. However I think making the bet that people actually do that is safe enough.
- Switch the name of the old attr variable to query, which better reflects what it is supposed to be used for.

Change-Id: I0cdae9f1e539b9b9c2b99ea1db1ba62bbbb0bdc5

11 years agoMerge "Add 'list' to allowed input attributes in HTMLForm"
IAlex [Sun, 19 Aug 2012 09:38:25 +0000 (09:38 +0000)]
Merge "Add 'list' to allowed input attributes in HTMLForm"

11 years agoRemoving unused method Status::getXML.
Tyler Anthony Romeo [Wed, 15 Aug 2012 20:54:01 +0000 (16:54 -0400)]
Removing unused method Status::getXML.

Removed Status::getXML and its single usage in one of the
phpunit maintenance scripts. It is not used anywhere
in any known extension.

Change-Id: I676446647681059449c46c2ff109570a060e0e20
Signed-off-by: Tyler Anthony Romeo <tylerromeo@gmail.com>
11 years agoUse ErrorPageError extension in Special:Preferences.
Alexandre Emsenhuber [Sun, 19 Aug 2012 08:51:23 +0000 (10:51 +0200)]
Use ErrorPageError extension in Special:Preferences.

For consistency with other errors, use an exception
when the user is not logged in.

Change-Id: I1a9cc37b57281665a5081ad65bb1e34253c64224

11 years agoFollow-up I774a89d6 (2fabea7): use $this->msg() in HistoryAction
Alexandre Emsenhuber [Sun, 19 Aug 2012 06:58:23 +0000 (08:58 +0200)]
Follow-up I774a89d6 (2fabea7): use $this->msg() in HistoryAction

Change-Id: I308cc8b2e78eab1f2a14b5ade3867216ea3c2525

11 years agoMerge "(bug 32774) Added config options and flags for SSL and compression in DB."
Aaron Schulz [Sun, 19 Aug 2012 02:49:05 +0000 (02:49 +0000)]
Merge "(bug 32774) Added config options and flags for SSL and compression in DB."

11 years agoMerge "Make OrphanStats::getDB()'s signature compatible with parent."
Aaron Schulz [Sun, 19 Aug 2012 02:19:23 +0000 (02:19 +0000)]
Merge "Make OrphanStats::getDB()'s signature compatible with parent."

11 years agoCorrected the spelling of my family name
karun [Sat, 18 Aug 2012 23:22:49 +0000 (09:22 +1000)]
Corrected the spelling of my family name

Change-Id: I2c3f54f6adee5e56c20f60b69f606ec3bc2ae3ff

11 years agoAdded --quick option to file test script to use doQuickOperations.
Aaron Schulz [Sat, 18 Aug 2012 19:01:01 +0000 (12:01 -0700)]
Added --quick option to file test script to use doQuickOperations.

Change-Id: Iae754bac5190db8fe447663cb8cf0e3478511abf

11 years agoClean up applyPatch() usage in the installer.
Mark A. Hershberger [Sun, 8 Jul 2012 08:00:36 +0000 (04:00 -0400)]
Clean up applyPatch() usage in the installer.

Change-Id: I4b25c16a1cd3813fe216ea8bcf46cca2fc54d943

11 years agoFix syntax error.
Siebrand Mazeland [Sat, 18 Aug 2012 15:09:32 +0000 (17:09 +0200)]
Fix syntax error.

Change-Id: I76904b609dbc11d11d00bc375ae8587a4ef4848c

11 years agoMake OrphanStats::getDB()'s signature compatible with parent.
Alexandre Emsenhuber [Sat, 18 Aug 2012 14:00:13 +0000 (16:00 +0200)]
Make OrphanStats::getDB()'s signature compatible with parent.

Was throwing Strict Standards: Declaration of OrphanStats::getDB()
should be compatible with that of Maintenance::getDB()
in maintenance/storage/orphanStats.php on line 25

Change-Id: I7451ada12a8c45aa37883b4b3803fbf505eec15b

11 years agoprop=duplicatefiles does not show duplicates under same name
umherirrender [Sat, 18 Aug 2012 13:44:20 +0000 (15:44 +0200)]
prop=duplicatefiles does not show duplicates under same name

When under the same name on the repo a file exist, with the same hash,
prop=duplicatefiles does not list this file.
Checking also isLocal, when looking for the file itself helps.

Adding also a shared='' to indicate, that the duplicate with same name
is not the file itself.

Follow up I745cae7a

Change-Id: I4e613cb6d592521befe8bc876e251a89b3fa3047

11 years agoCannot make method visibility lower than super's.
Siebrand Mazeland [Sat, 18 Aug 2012 13:43:12 +0000 (15:43 +0200)]
Cannot make method visibility lower than super's.

Change-Id: I8ed3f3bad954dd03bd80d23954e31ee5429c04fe

11 years ago'''<strong>...</strong>''' doesn't make sense.
Siebrand Mazeland [Sat, 18 Aug 2012 13:22:43 +0000 (15:22 +0200)]
'''<strong>...</strong>''' doesn't make sense.

Removed the bold wiki text.

Change-Id: I9c22f9db011d5fa01596fc454b1a52b06d076be7

11 years agoUse wfMessage instead of deprecated wfMsg*
Alex Monk [Tue, 24 Jul 2012 01:04:15 +0000 (02:04 +0100)]
Use wfMessage instead of deprecated wfMsg*

Or $this->msg in special pages.

Change-Id: I774a89d646615053c8424050e42ad95601f92543

11 years agoAdd 'list' to allowed input attributes in HTMLForm
robin [Sat, 18 Aug 2012 01:32:51 +0000 (03:32 +0200)]
Add 'list' to allowed input attributes in HTMLForm

Add 'list' (new in HTML5 as part of datalist) to the allowed input attributes in HTMLForm.
Also move maxlength into the general foreach.

Change-Id: I2ba61b0cc1b9f8b3db6c419efb5cbadfde594699

11 years agoAdd version of deprecation for wfAppendQuery() and suggest alternative.
Siebrand Mazeland [Fri, 17 Aug 2012 22:00:06 +0000 (00:00 +0200)]
Add version of deprecation for wfAppendQuery() and suggest alternative.

Change-Id: I31f03aa38d029ca19d8e6655d05c4d201dccae47

11 years agoProfiling fix for LocalFile.
Aaron [Fri, 17 Aug 2012 20:44:54 +0000 (13:44 -0700)]
Profiling fix for LocalFile.

Change-Id: I02d770aee15e42b1046b06d405715cc046c9e7ca

11 years agoMerge "[FileBackend] Added profiling calls to addMissingMetadata()."
Catrope [Fri, 17 Aug 2012 20:09:55 +0000 (20:09 +0000)]
Merge "[FileBackend] Added profiling calls to addMissingMetadata()."

11 years agoMerge "[FileRepo] Use the backend sha1 function for getting sha1s."
Catrope [Fri, 17 Aug 2012 20:09:44 +0000 (20:09 +0000)]
Merge "[FileRepo] Use the backend sha1 function for getting sha1s."

11 years agoMerge "MessageCache::destroyInstance() is static."
Aaron Schulz [Fri, 17 Aug 2012 18:46:40 +0000 (18:46 +0000)]
Merge "MessageCache::destroyInstance() is static."

11 years agoMerge "[FileBackend] Added auth token/url cache to SwiftFileBackend."
Catrope [Fri, 17 Aug 2012 18:27:03 +0000 (18:27 +0000)]
Merge "[FileBackend] Added auth token/url cache to SwiftFileBackend."

11 years ago[FileBackend] Added auth token/url cache to SwiftFileBackend.
Aaron [Thu, 16 Aug 2012 22:46:19 +0000 (15:46 -0700)]
[FileBackend] Added auth token/url cache to SwiftFileBackend.

Change-Id: I5a053dec59730f642ac51817a1af57a1e257d3fe

11 years agoMerge "Add missing unit of measure in inline CSS."
IAlex [Fri, 17 Aug 2012 17:27:01 +0000 (17:27 +0000)]
Merge "Add missing unit of measure in inline CSS."

11 years agoMerge "Remove presentational HTML tags in favour of <code>, <samp> and <strong>."
IAlex [Fri, 17 Aug 2012 16:59:13 +0000 (16:59 +0000)]
Merge "Remove presentational HTML tags in favour of <code>, <samp> and <strong>."

11 years agoMerge "Replace deprecated <tt> with <code>."
IAlex [Fri, 17 Aug 2012 16:50:30 +0000 (16:50 +0000)]
Merge "Replace deprecated <tt> with <code>."

11 years agoMerge "Some API errors didn't include the prefix of the module in parameter related...
IAlex [Fri, 17 Aug 2012 16:46:37 +0000 (16:46 +0000)]
Merge "Some API errors didn't include the prefix of the module in parameter related error messages"

11 years agoBug 39455 - Deletion Korean Optional Messages
Reedy [Fri, 17 Aug 2012 13:59:40 +0000 (14:59 +0100)]
Bug 39455 - Deletion Korean Optional Messages

Change-Id: I10832cb43387c777bab880f9caf7eb2759d7ad30

11 years agoSome API errors didn't include the prefix of the module in parameter related error...
Reedy [Fri, 17 Aug 2012 13:52:15 +0000 (14:52 +0100)]
Some API errors didn't include the prefix of the module in parameter related error messages

This fixes up/normalises these usages (probably want refactoring out at a later date)

Change-Id: I5583d69d9e65a1ee09d31a37c88f369e7c0f7708

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 17 Aug 2012 12:54:57 +0000 (12:54 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I33160bbb6766157f2883a13d497c35327d4ca2f9

11 years agoDon't get local file copies for svg/djvu files unless needed.
Aaron Schulz [Fri, 17 Aug 2012 03:23:37 +0000 (20:23 -0700)]
Don't get local file copies for svg/djvu files unless needed.

Change-Id: I80e9cc98ba78effba120d84c5f2edca0b547b61a

11 years ago[FileRepo] Use the backend sha1 function for getting sha1s.
Aaron Schulz [Fri, 17 Aug 2012 03:00:24 +0000 (20:00 -0700)]
[FileRepo] Use the backend sha1 function for getting sha1s.

Change-Id: I1ad1e25c3c9edfe132416d66f37aa284a448c503

11 years ago[FileBackend] Added profiling calls to addMissingMetadata().
Aaron Schulz [Fri, 17 Aug 2012 02:46:43 +0000 (19:46 -0700)]
[FileBackend] Added profiling calls to addMissingMetadata().

Change-Id: I1bc624516542d07b2c4c428532d653e33d3c758a