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

11 years agoMerge "output errors as debug info in api, when display_errors is on"
Catrope [Wed, 15 Aug 2012 00:13:44 +0000 (00:13 +0000)]
Merge "output errors as debug info in api, when display_errors is on"

11 years agoMerge "(bug 31040) Fixed $wgSecureLogin effect on returnto."
Catrope [Wed, 15 Aug 2012 00:12:47 +0000 (00:12 +0000)]
Merge "(bug 31040) Fixed $wgSecureLogin effect on returnto."

11 years agoMerge "Follow-up I47412b67: pass an array of query parameters to Linker::link()"
Aaron Schulz [Tue, 14 Aug 2012 23:17:59 +0000 (23:17 +0000)]
Merge "Follow-up I47412b67: pass an array of query parameters to Linker::link()"

11 years agoMerge "(bug 33471) Changed detection of secure cookies."
Demon [Tue, 14 Aug 2012 23:14:40 +0000 (23:14 +0000)]
Merge "(bug 33471) Changed detection of secure cookies."

11 years agoMerge "(bug 36776) Changing User::getNewtalk to use $wgDisableAnonTalk."
Demon [Tue, 14 Aug 2012 23:14:20 +0000 (23:14 +0000)]
Merge "(bug 36776) Changing User::getNewtalk to use $wgDisableAnonTalk."

11 years agoAdded UserCache class for doing name/title batch lookups.
Aaron Schulz [Sat, 19 May 2012 20:41:41 +0000 (13:41 -0700)]
Added UserCache class for doing name/title batch lookups.

* Made Special:ListFiles be the first user of this class.

Change-Id: I2ea068d4765fe6ae12445786c38217119e79f823

11 years agooutput errors as debug info in api, when display_errors is on
umherirrender [Tue, 14 Aug 2012 20:00:04 +0000 (22:00 +0200)]
output errors as debug info in api, when display_errors is on

With format=xml errors never outputted, only in the html version

Change-Id: I4364cee041ea42ed3a4ab43ac77a1ba3cc2cb886

11 years agoNotice: Undefined property: stdClass::$hitcount in list=tags
umherirrender [Tue, 14 Aug 2012 19:34:09 +0000 (21:34 +0200)]
Notice: Undefined property: stdClass::$hitcount in list=tags

Full message:
Notice: Undefined property: stdClass::$hitcount in
..\includes\api\ApiQueryTags.php on line 76

Change-Id: I773e0a5f70ee025033899d6950336dff0829e09b

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

Change-Id: Id509f00680d69ec2a5de30fd5762e0bf50476e76

11 years agoMerge "New hook 'ParserTestGlobals'"
Demon [Tue, 14 Aug 2012 17:53:58 +0000 (17:53 +0000)]
Merge "New hook 'ParserTestGlobals'"

11 years agoMerge "(bug 38406) Properly quote table names in DatabaseBase::tableName()"
Demon [Tue, 14 Aug 2012 17:42:20 +0000 (17:42 +0000)]
Merge "(bug 38406) Properly quote table names in DatabaseBase::tableName()"

11 years agoPHP 5.4 has JSON_PRETTY_PRINT
Reedy [Sun, 12 Aug 2012 19:31:01 +0000 (20:31 +0100)]
PHP 5.4 has JSON_PRETTY_PRINT

Use this conditionally when $isHtml is true, and is
also running on PHP > = 5.4. Else return default 0

Change-Id: Ief775720a99d1a305c3f9f4ba7cc04eb96817fb3

11 years agoFollow-up I47412b67: pass an array of query parameters to Linker::link()
Alexandre Emsenhuber [Tue, 14 Aug 2012 11:27:54 +0000 (13:27 +0200)]
Follow-up I47412b67: pass an array of query parameters to Linker::link()

Change-Id: I3cdc0a57a9cda740c482addd2c9c833a70897381

11 years ago(bug 36524) "Show" options are now remembered between successive clicks.
Alexandre Emsenhuber [Mon, 16 Jul 2012 08:45:27 +0000 (10:45 +0200)]
(bug 36524) "Show" options are now remembered between successive clicks.

The problem is that $options in SpecialRecentChanges::makeOptionsLink()
can that values set to false and wfArrayToCgi() omits such items;
instead they have to be explicitely converted to "0" to not be omitted.

Change-Id: I20af27fc4e012fec36d48b9120ec49a39f5cbb1f

11 years agoMerge "Fix permissions check to show "hide" buttons."
Siebrand [Tue, 14 Aug 2012 10:28:32 +0000 (10:28 +0000)]
Merge "Fix permissions check to show "hide" buttons."

11 years agoFollow-up I47412b67 (dde8471): convert string query to array
Alexandre Emsenhuber [Tue, 14 Aug 2012 09:51:26 +0000 (11:51 +0200)]
Follow-up I47412b67 (dde8471): convert string query to array

If we detect and warn that the $query parameter is in an incorrect
format, we may as well convert it to the correct one.

Change-Id: Ief137ab758c65ec562c2a523f76b1a4f8c2617b5

11 years agoMerge "Added utility method taking an array of elements and wrapping each element...
Aaron Schulz [Tue, 14 Aug 2012 03:25:13 +0000 (03:25 +0000)]
Merge "Added utility method taking an array of elements and wrapping each element in it's own array."

11 years agoMerge "Added GenericArrayObject class and associated test base"
Aaron Schulz [Tue, 14 Aug 2012 03:22:01 +0000 (03:22 +0000)]
Merge "Added GenericArrayObject class and associated test base"

11 years agoAdded GenericArrayObject class and associated test base
jeroendedauw [Fri, 27 Jul 2012 18:31:23 +0000 (20:31 +0200)]
Added GenericArrayObject class and associated test base

Change-Id: Id7e9b59c7ed4a9338744db58935307ecb4bc441f

11 years agoNew hook 'ParserTestGlobals'
Daniel Werner [Mon, 13 Aug 2012 22:18:50 +0000 (00:18 +0200)]
New hook 'ParserTestGlobals'

Allows to set globals before running parser tests.

Change-Id: Iea057b992b260611bca7f3adade2c8214b0dcea2

11 years agoAdd UserTest::testAllRightsWithMessage
umherirrender [Mon, 13 Aug 2012 08:18:18 +0000 (10:18 +0200)]
Add UserTest::testAllRightsWithMessage

New test case, which checked, if for all available rights a right-
message exist (Core and Extensions)

Some missing rights added with extra patch sets (need merge/rebasing
before merge of this)

Change-Id: I28957835fb77a01a799439ad7b3d22b96db07204

11 years agoMerge "add 'editprotected' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:52:11 +0000 (20:52 +0000)]
Merge "add 'editprotected' right to list of available rights"

11 years agoMerge "Move method to its using test class rather then having a public static thing...
Aaron Schulz [Mon, 13 Aug 2012 20:14:19 +0000 (20:14 +0000)]
Merge "Move method to its using test class rather then having a public static thing in the base test class"

11 years agoMerge "Fix for assertArrayEquals. Was throwing fatal for object elements"
Aaron Schulz [Mon, 13 Aug 2012 20:09:10 +0000 (20:09 +0000)]
Merge "Fix for assertArrayEquals. Was throwing fatal for object elements"

11 years agoMerge "Improve documentation of maintenance scripts."
Aaron Schulz [Mon, 13 Aug 2012 20:05:19 +0000 (20:05 +0000)]
Merge "Improve documentation of maintenance scripts."

11 years agoMerge "add 'reupload-own' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:39 +0000 (20:04 +0000)]
Merge "add 'reupload-own' right to list of available rights"

11 years agoMerge "add 'passwortreset' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:30 +0000 (20:04 +0000)]
Merge "add 'passwortreset' right to list of available rights"

11 years agoMerge "add 'patrolmarks' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:18 +0000 (20:04 +0000)]
Merge "add 'patrolmarks' right to list of available rights"

11 years agoMerge "Fix documentation of WikiPage::doDeleteArticle(Real)?()"
Aaron Schulz [Mon, 13 Aug 2012 20:03:35 +0000 (20:03 +0000)]
Merge "Fix documentation of WikiPage::doDeleteArticle(Real)?()"

11 years agoMerge "(bug 39296) Fix broken table sorting"
Catrope [Mon, 13 Aug 2012 20:01:40 +0000 (20:01 +0000)]
Merge "(bug 39296) Fix broken table sorting"

11 years ago(bug 39296) Fix broken table sorting
Brad Jorsch [Mon, 13 Aug 2012 14:12:57 +0000 (10:12 -0400)]
(bug 39296) Fix broken table sorting

Javascript's Array.sort wants -1, 0, or 1. Not false, true, or 0.

Change-Id: I2cb73668793092b53be0c1c6f7ffc647a88bf30a

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

Change-Id: I655913611a5ec051ee4c01d3c2e20245e2f647c0

11 years agoMerge "Added a Redis client for object cache storage"
Aaron Schulz [Mon, 13 Aug 2012 18:05:29 +0000 (18:05 +0000)]
Merge "Added a Redis client for object cache storage"

11 years agoMerge "remove bizarre overflow:hidden from lists in sidebar on Vector"
Trevor Parscal [Mon, 13 Aug 2012 16:54:14 +0000 (16:54 +0000)]
Merge "remove bizarre overflow:hidden from lists in sidebar on Vector"

11 years agoFix documentation of WikiPage::doDeleteArticle(Real)?()
Alexandre Emsenhuber [Mon, 13 Aug 2012 14:09:25 +0000 (16:09 +0200)]
Fix documentation of WikiPage::doDeleteArticle(Real)?()

- The $suppress parameter is a boolean indicating whether
  revision will be suppressed
- Added @since to WikiPage::doDeleteArticleReal()

Change-Id: I3af14f8cc7bf771f4d07215ca1dba2d6b6f05553

11 years ago(bug 31040) Fixed $wgSecureLogin effect on returnto.
Tyler Romeo [Fri, 10 Aug 2012 18:59:08 +0000 (14:59 -0400)]
(bug 31040) Fixed $wgSecureLogin effect on returnto.

Added parameter to Title::getFullURL to allow specification
of a protocol rather than assuming PROTO_RELATIVE. Also
added an accompanying parameter to Skin::makeSpecialUrl
to make a link for a specific protocol.

Cleaned up the creation of personal URLs in SkinTemplate.php
so that when $wgSecureLogin is enabled, the returnto
query is not lost in the process.

Note: This will only work if $wgServer is set to a
protocol relative URL.

Change-Id: Iba48eb3620fb3a721220364185f7abfd902412d0
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
11 years agoadd 'patrolmarks' right to list of available rights
umherirrender [Mon, 13 Aug 2012 07:51:02 +0000 (09:51 +0200)]
add 'patrolmarks' right to list of available rights

now it is shown and selectable on api (list=allusers&aurights=) and
Special:GlobalGroupPermissions (from CentralAuth)

Change-Id: I9464109c2d1648e5668e545b9c7109ced656f4d7

11 years agoadd 'reupload-own' right to list of available rights
umherirrender [Mon, 13 Aug 2012 07:43:51 +0000 (09:43 +0200)]
add 'reupload-own' right to list of available rights

Follow up bug 5057, now it is shown and selectable on api
(list=allusers&aurights=) and Special:GlobalGroupPermissions
(from CentralAuth)

Change-Id: Ic7c57c8b29a385ad9c1ad8328ee08af758e3a4f7

11 years agoremove bizarre overflow:hidden from lists in sidebar on Vector
MatmaRex [Sat, 11 Aug 2012 23:34:25 +0000 (01:34 +0200)]
remove bizarre overflow:hidden from lists in sidebar on Vector

I have no idea what this rule was there for. It serves no purpose (the
bullets are already hidden by list-style-type:none several lines above
it), and it only makes it harder to add a bullet point there, e.g. to mark
featured/good articles in interwiki links. I spent 15 minutes figuring out
why the hell they are staying hidden after I set list-style-type to disc.

I believe that this one line was the sole cause of awful hacks used for
the purpose of marking FA/GA interwikis, such as the one on en.wiki[1]
or pl.wiki[2].

[1] https://en.wikipedia.org/wiki/MediaWiki:Vector.css - grep for
    {{tl|Link GA}}, {{tl|Link FA}}

[2] https://pl.wikipedia.org/wiki/MediaWiki:Gadget-featured-articles-links.css
    - grep for .skin-vector

Patchset 2: add word-wrap:break-word per Trevor's suggestion.

Change-Id: Ic993b0fbcc5e468effab3552b032ff4946c18b46