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

11 years agoMerge "Allow aliased field names with separated syntax"
Catrope [Wed, 15 Aug 2012 18:01:18 +0000 (18:01 +0000)]
Merge "Allow aliased field names with separated syntax"

11 years agoMerge "Allow importing pages as subpage"
Catrope [Wed, 15 Aug 2012 17:54:55 +0000 (17:54 +0000)]
Merge "Allow importing pages as subpage"

11 years agoDrop the user option 'nolangconversion'.
Liangent [Wed, 15 Aug 2012 16:33:05 +0000 (00:33 +0800)]
Drop the user option 'nolangconversion'.

Currently no core code is using it, searched
by grepping nolangconversion in core.

Change-Id: I92e8de7dc5100ef2fb346277966246339d3dcf79

11 years agoMerge "Follow-up I6b0c58fb (d50b416): add message to messages.inc"
Siebrand [Wed, 15 Aug 2012 13:28:36 +0000 (13:28 +0000)]
Merge "Follow-up I6b0c58fb (d50b416): add message to messages.inc"

11 years agoAllow aliased field names with separated syntax
umherirrender [Wed, 15 Aug 2012 13:16:09 +0000 (15:16 +0200)]
Allow aliased field names with separated syntax

This introduce the syntax from aliased table names for aliased field
names into the abstract database layer:

array( 'alias' => 'field' ) gives 'field AS alias'

This patch also includes changes to query pages, api and some more
places to show, how the new syntax looks in "production".

This allow us to remove the "AS" for Non-PostgreSQL databases, if we
want that.

Change-Id: I5f0de1c2f29092c173aec3de93ffdef436799e8d

11 years agoMerge "(bug 37638) Remove calls to deprecated LogPage::logName method."
IAlex [Wed, 15 Aug 2012 10:28:12 +0000 (10:28 +0000)]
Merge "(bug 37638) Remove calls to deprecated LogPage::logName method."

11 years agoFollow-up I6b0c58fb (d50b416): add message to messages.inc
Alexandre Emsenhuber [Wed, 15 Aug 2012 09:47:23 +0000 (11:47 +0200)]
Follow-up I6b0c58fb (d50b416): add message to messages.inc

Change-Id: I81cba3c97b124661aefacf3affce9ef86311ba31

11 years agoMoved "action links" from LogEventsList to LogFormatter.
Alexandre Emsenhuber [Sat, 30 Jun 2012 18:18:03 +0000 (20:18 +0200)]
Moved "action links" from LogEventsList to LogFormatter.

* This allow extensions to set both action text and links directly
  from a subclass LogFormatter instead of having to use the LogLine
  hooks for this purpose.
* Moved stuff for logs that already use a subclass of LogFormatter
  there and the remaining in LegacyLogFormatter. I had to an hack
  there so that the pass-by-ref of the comment parameter in the
  LogLine hook still works.
* Removed RevisionDeleter::getLogLinks(), included it directly in
  DeleteLogFormatter::getActionLinks(); it have a so ugly signature
  that is very hard to use it somewhere else (and maintain backward
  compatibility too).
* Removed the message caching system in LogEventsList since it's
  not used anymore.
* Some misc cleanup to LogEventsList::logLine()

Change-Id: I96d696eed2ae35f5f5640e422ceb0a5b0c33babf

11 years agoAllow importing pages as subpage
umherirrender [Wed, 15 Aug 2012 08:07:26 +0000 (10:07 +0200)]
Allow importing pages as subpage

Adding a "root page" input to Special:Import, which is used as prefix
before each imported page. With this option, it is possible to import
pages as subpage of a user or a project page.

On de.wp the import is often done into a low used namespace (100 or 101)
and than moved to the user space. Doing this in one step, makes things
easier.

Change-Id: Id5dbf742295a1bbddd8cb6eaa09fb28051f26613

11 years agoPass the 'returntoquery' parameter when clicking on a language selector link.
Alexandre Emsenhuber [Wed, 15 Aug 2012 08:03:51 +0000 (10:03 +0200)]
Pass the 'returntoquery' parameter when clicking on a language selector link.

Also updated the check to pass the 'returnto' parameter
to be consistent with I2714ba1c (56dbeaa).

Change-Id: I009089c9e943952287cc5515515f6a28ca194b16

11 years ago(bug 37638) Remove calls to deprecated LogPage::logName method.
Dereckson [Mon, 18 Jun 2012 22:56:55 +0000 (00:56 +0200)]
(bug 37638) Remove calls to deprecated LogPage::logName method.

The LogPage::logName method has been deprecated in 1.19,
warnings being planned in 1.21.

This change removes any call in the MediaWiki core to this
deprecated method.

Removing extra whitespaces/tabs in includes/ProtectionForm.php.

Change-Id: I1907f17341ecb6448967a5283e3c913778dcb1a9

11 years agoMerge "Fix checks to pass or display "return to" links in Special:UserLogin."
Catrope [Wed, 15 Aug 2012 01:38:00 +0000 (01:38 +0000)]
Merge "Fix checks to pass or display "return to" links in Special:UserLogin."

11 years agoMerge "(bug 24437) Add nofollow to image link"
Catrope [Wed, 15 Aug 2012 01:37:24 +0000 (01:37 +0000)]
Merge "(bug 24437) Add nofollow to image link"

11 years agoMerge "store text length in local var in Preprocess::processToObj/Xml"
Aaron Schulz [Wed, 15 Aug 2012 00:22:10 +0000 (00:22 +0000)]
Merge "store text length in local var in Preprocess::processToObj/Xml"

11 years agoMerge "Notice: Undefined property: stdClass::$hitcount in list=tags"
Catrope [Wed, 15 Aug 2012 00:17:03 +0000 (00:17 +0000)]
Merge "Notice: Undefined property: stdClass::$hitcount in list=tags"