lhc/web/wiklou.git
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 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 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 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 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 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

11 years agoAdding more file profiling.
Aaron [Fri, 17 Aug 2012 01:05:01 +0000 (18:05 -0700)]
Adding more file profiling.

Change-Id: Id45e082966f1ed6105918c0732b450faf039cd96

11 years agoMerge "[FileBackend] Refactored Swift backend to use ProcessCacheLRU."
Catrope [Fri, 17 Aug 2012 00:12:33 +0000 (00:12 +0000)]
Merge "[FileBackend] Refactored Swift backend to use ProcessCacheLRU."

11 years agoDisplay a return to Special:Watchlist instead of main page in Special:EditWatchlist.
Alexandre Emsenhuber [Thu, 16 Aug 2012 21:36:52 +0000 (23:36 +0200)]
Display a return to Special:Watchlist instead of main page in Special:EditWatchlist.

Having a return to link to the main page when changing watchlist
elements in Special:EditWatchlist seems confusing to me, having
one to Special:Watchlist is much more consistent.

Change-Id: Ibd1ba66f97a5a1dc03427a81edc6f10d74226cc1

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 16 Aug 2012 20:38:01 +0000 (20:38 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Catch exceptions in SqlBagOStuff and cache connection failures."
Catrope [Thu, 16 Aug 2012 20:33:03 +0000 (20:33 +0000)]
Merge "Catch exceptions in SqlBagOStuff and cache connection failures."

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

Change-Id: I2b1c983a018ec97872ed2e75bb81c7d0f434a39f

11 years agoCatch exceptions in SqlBagOStuff and cache connection failures.
Aaron [Wed, 15 Aug 2012 23:24:08 +0000 (16:24 -0700)]
Catch exceptions in SqlBagOStuff and cache connection failures.

Change-Id: I443f1bed3f9ccb40c444dd01ec446b677caf9d03

11 years ago(bug 39429) Fix wrong counting on query pages [regression]
umherirrender [Thu, 16 Aug 2012 15:40:28 +0000 (17:40 +0200)]
(bug 39429) Fix wrong counting on query pages [regression]

Change-Id: I1c5be7cd6b3dd0990dba8f30f9d859aa841a1f55

11 years agoadd missing message keys to messages.inc
umherirrender [Thu, 16 Aug 2012 15:11:31 +0000 (17:11 +0200)]
add missing message keys to messages.inc

Follow up Id5dbf742

Change-Id: If87ec6140d2e5954d1d15392e253b52665e3bf7f

11 years ago(bug 32774) Added config options and flags for SSL and compression in DB.
Tyler Anthony Romeo [Wed, 15 Aug 2012 20:44:41 +0000 (16:44 -0400)]
(bug 32774) Added config options and flags for SSL and compression in DB.

Added configuration options ($wgDBssl, $wgDBcompress) and related
connection flags (DBO_SSL, DBO_COMPRESS) to allow SSL/TLS and
compression on database connections. The flags are only observed if
the functionality is supported for that type of database (e.g.,
SQLite will ignore both flags as neither are supported).

Currently, only MySQL and PgSQL have support for at least one of
these flags in their PHP extensions. MySQL supports both flags and
PgSQL supports the SSL flag only.

Change-Id: I7b4d3ba82ccab0eed4a19e3b4e7bc0b4eb881262
Signed-off-by: Tyler Anthony Romeo <tylerromeo@gmail.com>
11 years agoAdd missing unit of measure in inline CSS.
Siebrand Mazeland [Thu, 16 Aug 2012 09:07:34 +0000 (11:07 +0200)]
Add missing unit of measure in inline CSS.

Change-Id: I0baceb98302d1af58270d13713b4366eda7c6dc3

11 years agoRemove equal duplicate array key and add FIXME for another one.
Siebrand Mazeland [Thu, 16 Aug 2012 08:57:01 +0000 (10:57 +0200)]
Remove equal duplicate array key and add FIXME for another one.

Change-Id: Icc773e7918af08fc38411334188ab35e3ff219a1

11 years agoReplace deprecated <tt> with <code>.
Siebrand Mazeland [Thu, 16 Aug 2012 08:30:43 +0000 (10:30 +0200)]
Replace deprecated <tt> with <code>.

Change-Id: I5e15628e34dd0473d2f6ce17509ed17e94257dfa

11 years agoRemove presentational HTML tags in favour of <code>, <samp> and <strong>.
Siebrand Mazeland [Thu, 16 Aug 2012 08:12:39 +0000 (10:12 +0200)]
Remove presentational HTML tags in favour of <code>, <samp> and <strong>.

Change-Id: I48cce8c4fcab3270ec5bea51b7236f2b4e478136

11 years agoMessageCache::destroyInstance() is static.
Alexandre Emsenhuber [Thu, 16 Aug 2012 08:00:45 +0000 (10:00 +0200)]
MessageCache::destroyInstance() is static.

So there is no point calling it using
MessageCache::singleton()->destroyInstance()

Change-Id: Ie4e10284b4b911fff018c52a2a680452601f8288

11 years agoMerge "Add UserTest::testAllRightsWithMessage"
Demon [Thu, 16 Aug 2012 01:54:18 +0000 (01:54 +0000)]
Merge "Add UserTest::testAllRightsWithMessage"

11 years ago[FileBackend] Actually respend the "syncChecks" config option
Aaron [Thu, 16 Aug 2012 00:43:36 +0000 (17:43 -0700)]
[FileBackend] Actually respend the "syncChecks" config option

Change-Id: Ibb6a243b49970da7c22ff14231b04cb0ac5c64e7

11 years ago[FileBackend] Added resyncFiles() function to multiwrite backend.
Aaron [Thu, 16 Aug 2012 00:24:20 +0000 (17:24 -0700)]
[FileBackend] Added resyncFiles() function to multiwrite backend.

* Also fixed the the SHA1 function calls in consistencyCheck().

Change-Id: I29758ff79102929aa0ffb756526d7918bf74ca39

11 years agoAdd in a comment about some funky behavior
Mark Holmquist [Wed, 15 Aug 2012 22:44:35 +0000 (15:44 -0700)]
Add in a comment about some funky behavior

At Gabriel's behest, I've added some information about a test that
is inconsistent with the actual behavior of the parser. Please
consider fixing this if you have the time, else, the parser will
get fixed sometime in the future by someone on the parsoid team.

Change-Id: I2c5db4d9eab6f5f9e84aa354a22eeb2b5124bb0a

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

Change-Id: Ieeb8ea6edf05429cd6bbae96bf15c149df863fbe

11 years agoMerge "allow localization of elements via data-msg-text and data-msg-html"
Catrope [Wed, 15 Aug 2012 18:42:40 +0000 (18:42 +0000)]
Merge "allow localization of elements via data-msg-text and data-msg-html"

11 years agoallow localization of elements via data-msg-text and data-msg-html
jrobson [Tue, 14 Aug 2012 00:15:24 +0000 (17:15 -0700)]
allow localization of elements via data-msg-text and data-msg-html

to distinguish from attributes i've reversed the order e.g. instead of
html-msg i've used msg-html

i've added the data prefix to allow for html validation.

this is important as an OPTION tag cannot have any children so currently
there is no way to localize it. This provides a route.

Documentation needed.

Change-Id: Iefdbbf0e55ab3c6c6a9564b568980a7319bc4453