Aaron Schulz [Wed, 21 Nov 2012 02:16:15 +0000 (18:16 -0800)]
Fixed metadata-loss bug from
b80bd6159bdf946c1d4fa1e143fea221937d848a.
* Contrary to Swift docs, doing a POST seems to kill all the old metadata
headers. I noticed this in testing due to addMissingMetadata() notices.
Change-Id: I988d7a8d38569823c9d66605b02705ee15a8bbe7
Gabriel Wicke [Wed, 21 Nov 2012 01:36:33 +0000 (17:36 -0800)]
Test wiki link to title with question mark
Percent-encode the question mark so that it is not treated as a query string
separator.
Change-Id: I8b3402df96fb783954cf6d7cd0fdffcf104bbe99
Aaron Schulz [Wed, 21 Nov 2012 00:19:24 +0000 (00:19 +0000)]
Merge "Various simple optimizations for the chunked upload process."
Jan Gerber [Wed, 24 Oct 2012 08:18:29 +0000 (08:18 +0000)]
[FileBackend] Added support for changing headers on existing objects.
* Added a 'describe' file operation type to doOperations()/doQuickOperations().
This can be used by scripts to fill in headers like X-Content-Duration for
files that already exists.
* Removed wrong comments about removing headers (they don't get removed with null).
* Added some quick unit tests.
Change-Id: I43c5907b59421beaa9487eefac0cdbf8bc6c6d85
Tim Starling [Tue, 20 Nov 2012 22:49:16 +0000 (22:49 +0000)]
Merge "[FileBackend] Clear the stat cache in doQuickOperations() for sanity."
Aaron Schulz [Tue, 20 Nov 2012 22:42:46 +0000 (14:42 -0800)]
Fixed doc comment grammar.
Change-Id: I4477794fc382b3575cad5f344d909ec9ba1f0991
Aaron Schulz [Tue, 20 Nov 2012 22:37:58 +0000 (14:37 -0800)]
[FileRepo] Quashed melodious 4-tuples into silence.
Change-Id: I55c6ddd5d2e8999578ca45f523e99ab6cd4e9d52
Aaron Schulz [Tue, 20 Nov 2012 01:38:17 +0000 (17:38 -0800)]
[FileRepo] [FileBackend] Added support for custom file headers.
* For backends that support it, custom HTTP headers can be set on files.
* Added a getStreamHeaders() function to MediaHandler to let subclasses
recommend header name/value pairs to be used for responses to GET/HEAD
requests. For example, an OGG handler could set "X-Content-Duration".
* Made LocalFile use this function to set HTTP headers of new uploads.
Change-Id: I1b017e1342513f0097fe6d142aae18e819403293
Translation updater bot [Tue, 20 Nov 2012 20:44:49 +0000 (20:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Idf7d9fa911d3354237775c6a3536196152b3f6f0
Nikerabbit [Tue, 20 Nov 2012 17:22:23 +0000 (17:22 +0000)]
Merge "Always return something nice in Language::translateBlockExpiry()"
Gabriel Wicke [Tue, 20 Nov 2012 16:55:00 +0000 (08:55 -0800)]
Test un-closed noinclude, onlyinclude and includeonly tags
Change-Id: I328d1e2f5c1362caa0cb32efcd7b81dab7bab8c5
Liangent [Tue, 20 Nov 2012 12:13:37 +0000 (20:13 +0800)]
Always return something nice in Language::translateBlockExpiry()
Change-Id: I30a1950df5ae018cb9124392dc8d6e99ca3b98b8
Anomie [Tue, 20 Nov 2012 13:46:18 +0000 (13:46 +0000)]
Merge "(bug 36053) Login returnto doesn't work if title isn't in the URI"
Marius Hoch [Tue, 23 Oct 2012 23:18:08 +0000 (01:18 +0200)]
(bug 36053) Login returnto doesn't work if title isn't in the URI
Returnto after login didn't work if title wasn't given as URI
parameter. I'm using $this->getTitle() to find it out, in case
the user got read rights (per code comment above my change).
Change-Id: I14d92581ce790355404d3c184fa6542a24f7a130
Anomie [Tue, 20 Nov 2012 13:30:53 +0000 (13:30 +0000)]
Merge "(bug 40632) Remove CleanupPresentationalAttributes feature"
Gabriel Wicke [Tue, 20 Nov 2012 00:56:59 +0000 (16:56 -0800)]
Test non-ASCII / URL pseudo-tags
Make sure these are rendered and round-tripped properly.
* Tags with names outside [a-zA-Z][a-zA-Z0-9]* are rendered as plain text
* Angle brackets around URLs render as angle brackets around URL links
Change-Id: I7f0653cbbbb6ccb9a9aa0ecfa29a0c2e78091343
Ori Livneh [Mon, 19 Nov 2012 23:33:21 +0000 (15:33 -0800)]
JavaScriptContentHandler: Fix typo in comment block (actual: 'CSS'; intended: 'JS')
Change-Id: Iaef21f0c864222aee7c970012e8163741d6310ca
Timo Tijhof [Thu, 1 Nov 2012 18:08:54 +0000 (19:08 +0100)]
(bug 40632) Remove CleanupPresentationalAttributes feature
Removed $wgCleanupPresentationalAttributes, the associated
code it toggles and references to those in src and tests.
Also fixes bug 40329.
This was originally introduced in r94465 (released in REL1_19) but
disabled by default. Then enabled in r98053, after which several
bugs were filed and eventually the decision was made to remove
this feature.
Removed obsolete release-note entry, as this is to be backported
to REL1_20.
Change-Id: I4e86305520a3b22ef88381caab55d24abac932e3
Aaron Schulz [Mon, 19 Nov 2012 20:49:25 +0000 (20:49 +0000)]
Merge "Fix PHP notice in Category.php"
Hashar [Mon, 19 Nov 2012 20:46:22 +0000 (20:46 +0000)]
Merge "Follow-up I214a988e (
42a8daa): move documentation to the correct block"
Vitaliy Filippov [Mon, 19 Nov 2012 20:28:46 +0000 (00:28 +0400)]
Fix PHP notice in Category.php
Change-Id: I52838a1125298da330f60ef1e761130ff0e4faba
Alexandre Emsenhuber [Mon, 19 Nov 2012 20:26:53 +0000 (21:26 +0100)]
Follow-up I214a988e (
42a8daa): move documentation to the correct block
These lines belongs to the whole file, not only to that class.
Change-Id: Ib61eae1e8f7d50d29a929c6034ede08a851105c9
IAlex [Mon, 19 Nov 2012 20:24:34 +0000 (20:24 +0000)]
Merge "(bug 26280) all files should have GPL header"
IAlex [Mon, 19 Nov 2012 20:19:28 +0000 (20:19 +0000)]
Merge "profileinfo links now have anchors"
IAlex [Mon, 19 Nov 2012 20:16:54 +0000 (20:16 +0000)]
Merge "profileinfo now has lower lines heights"
IAlex [Mon, 19 Nov 2012 20:11:57 +0000 (20:11 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Mon, 19 Nov 2012 20:00:27 +0000 (20:00 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I9083fea439c7bf545a7d2971d204513fab51c04c
Hashar [Mon, 19 Nov 2012 19:56:36 +0000 (19:56 +0000)]
Merge "Lint: Pass jquery.tablesorter."
Timo Tijhof [Mon, 19 Nov 2012 18:50:15 +0000 (19:50 +0100)]
Lint: Pass jquery.tablesorter.
Added tolerance for "onevar" (hard to dissect, many out-of-scope
usage, probably better to be done by someone who knows this code
better).
Errors:
* Strings must use singlequote
* '$cell' is defined but never used.
* 's' is defined but never used.
* Unnecessary semicolon.
* '$document' is defined but never used.
* 'sortOrder' is defined but never used.
* 'shiftDown' is defined but never used.
* 'table' is defined but never used.
* 'table' is defined but never used.
Change-Id: I2e0abc41a79922a1810519705237ae3bd60ed679
Timo Tijhof [Mon, 19 Nov 2012 18:33:31 +0000 (19:33 +0100)]
Lint: Pass mediawiki.language.
Maybe they'll get closures soon, but for now just fix the
warnings so we can get on with enforcing jshint from jenkins like
we do phplint/puppetlint.
Added tolerance for "onecase" and disabled "noempty" in a few
files. Keeps these files easier to update. Though they should be
restructured, I'm not going to do that now.
Change-Id: Ie3535f22fc88ea5272d7387cef870c8c042a9393
Reedy [Mon, 19 Nov 2012 18:10:52 +0000 (18:10 +0000)]
Merge "Add release note for Ieec65c90"
Brad Jorsch [Mon, 19 Nov 2012 18:06:54 +0000 (13:06 -0500)]
Add release note for Ieec65c90
Gerrit change Ieec65c90 did not update RELEASE-NOTES-1.21.
Change-Id: I4820060b8459682ed28c05c2b69a89321b01183e
Timo Tijhof [Mon, 19 Nov 2012 16:33:31 +0000 (17:33 +0100)]
Cleanup: Fix yoda and indentation in SpecialUserlogin.php
Change-Id: I0bde21a8da679350559779132dbd7b1ba85116d1
Antoine Musso [Mon, 19 Nov 2012 14:34:34 +0000 (15:34 +0100)]
profileinfo links now have anchors
Whenever expanding a section in profileinfo, the browser would sent us
to the top again which would force us to browse down to where we were.
Adding basic anchors send the user directly where he was browsing.
Note that HTML5 let you specify anything as an id as long as there is at
least one character.
Change-Id: I5b55297ce25d5c07b29610798fb39eae16d27f6a
Antoine Musso [Mon, 19 Nov 2012 14:31:15 +0000 (15:31 +0100)]
profileinfo now has lower lines heights
The 8px padding was a bit too tall, "reduced" that to 0.1em which is
good enough. I have also dropped the line-height which does not have any
purpose when you already apply a padding.
Change-Id: I271eb932e4c70f940ebe3da39731f09c998610bc
Daniel Kinzler [Mon, 19 Nov 2012 13:17:31 +0000 (13:17 +0000)]
Merge "add SpecialUndeleteLogEntry hook"
Hashar [Mon, 19 Nov 2012 13:12:16 +0000 (13:12 +0000)]
Merge "Log profiling data when tests have finished."
Hashar [Mon, 19 Nov 2012 13:04:40 +0000 (13:04 +0000)]
Merge "Clean up database cloning for tests."
aude [Sun, 7 Oct 2012 12:15:57 +0000 (12:15 +0000)]
update.php now create profiling table when needed
When enabling $wgProfileToDatabase, one would have to manually apply a
patch to the database that would add the `profiling` table. This patch
let update.php creates the table whenever $wgProfileToDatabase is true.
This also provide a SQL patch for SQLite backend and update
profileinfo.php to give some clue about enabling the global and running
update.php
Change-Id: If68a25f7ec2b0fbb61f82a318427abe58a89dae7
aude [Fri, 16 Nov 2012 17:10:53 +0000 (17:10 +0000)]
add SpecialUndeleteLogEntry hook
- allows extensions to perform some action at time that a undeletion log entry is performed,
or skip the insertion of a log entry.
Change-Id: I5b0caaddfe5d7262612a60946d9f5c4af2679141
Ori Livneh [Mon, 19 Nov 2012 10:18:13 +0000 (02:18 -0800)]
Fix typo (manuall -> manually)
Change-Id: Ia6101ea84faf9a4420afe9568b5e3904fffa61b1
IAlex [Mon, 19 Nov 2012 08:51:02 +0000 (08:51 +0000)]
Merge "Use wfBCP47() to format language code for IE in Accept-Language."
Daniel Friesen [Mon, 6 Aug 2012 10:02:49 +0000 (03:02 -0700)]
(bug 39067) Add support for HTML5 <mark> element.
* whitelist <mark> in tidy and sanitizer
* provides a default styling for mark elements
Change-Id: I23fc2fc558ff0590be04771ef1e75fcfdf240aac
Daniel Friesen [Wed, 4 Apr 2012 06:54:39 +0000 (23:54 -0700)]
support for HTML5/Microdata elements
Patch let us handle the <data>, <time>, <meta>, and <link> elements.
* handles one part of bug 32545 requesting us to support the <time>
element in WikiText.
* Partially fix bug 28776 about whitelisting global HTML5 semantic
attributes and inline meta element.
* <meta> and <link> are only permitted when Microdata is enabled using
* the global $wgAllowMicrodataAttributes. For for security reason, the
links are only allowed to be actual elements when they have a
strict set of attributes set.
Change-Id: Ica11be186bd62eb154e1ebc400acb515c10fb65f
Gabriel Wicke [Mon, 19 Nov 2012 00:56:27 +0000 (16:56 -0800)]
Test horizontal rulers followed by content on same line
Change-Id: I165975fe5faf0205f8f94ab9f55f083b7d48dcaa
Ori.livneh [Sun, 18 Nov 2012 21:50:42 +0000 (21:50 +0000)]
Merge "(bug 26617) clean up usages of list-style in Vector&Monobook CSS"
MatmaRex [Sat, 17 Nov 2012 17:54:51 +0000 (18:54 +0100)]
(bug 26617) clean up usages of list-style in Vector&Monobook CSS
* remove list-style-*: none from non-list elements
* remove duplicate declarations
* always use list-style-type:none; list-style-image:none; instead of
list-style:none to work around an IE bug
* set list-style-type to square for Monobook and to disc for Vector
to resemble the icons used
Change-Id: I0d10acc9f07f1bf4239c70b476baea9a0ae40391
Aaron Schulz [Sun, 18 Nov 2012 10:32:50 +0000 (02:32 -0800)]
Various simple optimizations for the chunked upload process.
* This adds an UnregisteredLocalFile::setLocalReference()
function, which is used to avoid an extra GET request.
* This removes the useless rename() in stashFile(). We just
need to make sure the stashed file has the right extension.
Getting rid of the rename makes setLocalReference() usable.
* Also adds some debug logging with ellapsed time.
Change-Id: I087701ad0c27a4eba74591e6b49f5667b011424c
Translation updater bot [Sun, 18 Nov 2012 20:22:25 +0000 (20:22 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Idddaf093a4bc45e3cb634176f83a40ae1f047a4e
Antoine Musso [Sun, 18 Nov 2012 14:34:00 +0000 (15:34 +0100)]
(bug 26280) all files should have GPL header
MediaWiki is licensed under GPL so we should really add the header to
our PHP code unless reusing code licensed differently.
Tested using:
ack-grep --php -L 'This program is free software' \
includes/ maintenance/ mw-config/ resources/ skins/
Output the following files:
includes/ExternalEdit.php (public domain)
Various other licenses:
includes/json/Services_JSON.php
includes/libs/CSSMin.php
includes/libs/IEContentAnalyzer.php
includes/libs/JavaScriptMinifier.php
includes/libs/jsminplus.php
includes/normal/Utf8Case.php
includes/objectcache/MemcachedClient.php
File autogenerated from a GPL file and Unicode data:
includes/ZhConversion.php
A few lines coming from stack overflow:
maintenance/mwdoc-filter.php
Message files do not have any license :-/
Change-Id: I214a988edfa9e2dfcc762612a0f7d47eee8bcb74
MaxSem [Sun, 18 Nov 2012 13:02:09 +0000 (13:02 +0000)]
Merge "updater now shows the SQLite file being used"
IAlex [Sun, 18 Nov 2012 07:04:14 +0000 (07:04 +0000)]
Merge "Replace deprecated HTML attributes"
IAlex [Sun, 18 Nov 2012 06:54:53 +0000 (06:54 +0000)]
Merge "Undefined offset in ApiQueryLogEvents"
robin [Sun, 18 Nov 2012 02:52:39 +0000 (03:52 +0100)]
Replace deprecated HTML attributes
Replace deprecated bgcolor="" with style="background-color:;", and remove deprecated cellpadding and cellspacing (which is not needed since the wikitable class is used).
Change-Id: I0f332fb520ea88e3d3f1abce3c423f95a5c224c8
SPQRobin [Sat, 17 Nov 2012 22:26:17 +0000 (22:26 +0000)]
Merge "Set correct language for page content in action=historysubmit&revisiondelete=1"
Liangent [Sat, 17 Nov 2012 18:32:57 +0000 (02:32 +0800)]
Set correct language for page content in action=historysubmit&revisiondelete=1
Change-Id: Iabfb9a58e023b56556100b340f8ebdb0bdc51d8f
umherirrender [Sat, 17 Nov 2012 21:02:07 +0000 (22:02 +0100)]
Undefined offset in ApiQueryLogEvents
Follow up Ie188bc6f: Necessary changes to api for rights log changes
Getting for new style logs:
Notice: Undefined offset: 1 in \includes\api\ApiQueryLogEvents.php on
line 245
Notice: Undefined offset: 0 in \includes\api\ApiQueryLogEvents.php on
line 245
Added a legacy part as seen by patrol and move for the rights log action
Change-Id: I1d0bdfb483dba30572e8dcf8faac331a77eb04c6
Translation updater bot [Sat, 17 Nov 2012 20:30:29 +0000 (20:30 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ifa31cb11727543cf607fc06aea877dd4d11bc346
Liangent [Sat, 17 Nov 2012 20:00:12 +0000 (04:00 +0800)]
Use wfBCP47() to format language code for IE in Accept-Language.
It's reported that IE is actually sending language code in BCP 47
format (like zh-Hans), instead of uppercasing the whole 2nd part.
Change-Id: I6761191f299373d9267660a7eb14dc0b34cd5a38
Aaron Schulz [Sat, 17 Nov 2012 18:47:49 +0000 (10:47 -0800)]
[FileBackend] Clear the stat cache in doQuickOperations() for sanity.
Change-Id: Id3fcc9b0bbb881947734edaa6799d71d9adb9881
Alexandre Emsenhuber [Tue, 6 Nov 2012 11:11:24 +0000 (12:11 +0100)]
RecentChangeTest now uses 'colon-separator' msg
LogFormatter uses "colon-separator" message instead of an hardcoded
string. Since the RecentChangeTest use hardcoded colon, tests would
break whenever the message in the site language is not exactly the same
as the english version.
Change-Id: I6360584caff53fda0b2688964ae614bc9fdcc97e
Alexandre Emsenhuber [Mon, 5 Nov 2012 10:10:42 +0000 (11:10 +0100)]
(bug 35204) set wgLanguageCode in unit tests
Setting $wgContLang without changing $wgLanguageCode accordingly is a
very bad idea.
This caused about 20 exceptions when using LanguageCode set to 'fr'
on my installation:
"MWException: Error in MediaWikiLangTestCase::setUp(): $wgLanguageCode
('fr') is different from $wgContLang->getCode() (en)"
Follow-up of I2987db68 (
2b0edc8).
Change-Id: I56d3f1bfc78d6a2e40460533524e82f360490206
IAlex [Sat, 17 Nov 2012 07:18:17 +0000 (07:18 +0000)]
Merge "Delete more thumbnails after (new) parser tests."
IAlex [Sat, 17 Nov 2012 07:09:20 +0000 (07:09 +0000)]
Merge "Output special page name before attempting to run function"
Ori Livneh [Sat, 17 Nov 2012 05:19:48 +0000 (21:19 -0800)]
Fix typo (cointent => content)
Change-Id: I4d6702d0b2a6c4fe224a8c59808a579b6c6916a0
Krinkle [Sat, 17 Nov 2012 04:30:46 +0000 (04:30 +0000)]
Merge "Update jQuery to 1.8.3"
Reedy [Sat, 17 Nov 2012 00:50:03 +0000 (00:50 +0000)]
Update jQuery to 1.8.3
http://blog.jquery.com/2012/11/13/jquery-1-8-3-released/
Change-Id: I0bda71044ff6ea41e946d34e48fa279101f4bf90
Subramanya Sastry [Sat, 17 Nov 2012 00:57:31 +0000 (18:57 -0600)]
Additional tests to spec behavior of wikitext in extlink-brackets.
* Mostly to keep Parsoid in line.
Change-Id: I1629b156f66cb3f1b511fbe26feb1bee1e1e0e59
Reedy [Fri, 16 Nov 2012 23:20:58 +0000 (23:20 +0000)]
Output special page name before attempting to run function
Related to bug 42210, we don't have a blank line, not knowing what it's actually running
QueryPage updates do this already!
Change-Id: I18eb0fb4c316744d92a81f5e64e201508b27eb27
umherirrender [Fri, 16 Nov 2012 22:28:39 +0000 (23:28 +0100)]
Delete more thumbnails after (new) parser tests.
Same as I0a0e757a only for the new parser tests (under phpunit)
Change-Id: If2198676da7e8a621d02227b42da0713f67a1de0
MarkTraceur [Fri, 16 Nov 2012 21:54:25 +0000 (21:54 +0000)]
Merge "(bug 37158) display personal menu on top of page tabs on Vector"
umherirrender [Fri, 16 Nov 2012 20:47:01 +0000 (21:47 +0100)]
Unset DirectoryIterator in the FileBackend
This is necessory to close all handlers on the directory and than it is
possible to rmdir the directory without a 'permission denied' on a
windows machine.
Corresponding unit test failure:
1) FileBackendTest::testRecursiveClean
Dir mwstore://localtesting/unittest-cont1/e/a no longer exists
(FSFileBackend).
Failed asserting that true matches expected false.
Change-Id: Ide58c6d0ec101bf0ddcd6b7414c51075fc28825b
Translation updater bot [Fri, 16 Nov 2012 20:43:16 +0000 (20:43 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Fri, 16 Nov 2012 20:20:48 +0000 (20:20 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Iaa7b07c4e450b6d6ddbc53b9c095c8f16409f59c
Aaron Schulz [Fri, 16 Nov 2012 20:20:28 +0000 (20:20 +0000)]
Merge "[FileBackend] Stat caching improvements."
Daniel Kinzler [Fri, 16 Nov 2012 20:17:42 +0000 (20:17 +0000)]
Merge "(bug 32368) Add ParserCloned hook"
Aaron Schulz [Fri, 16 Nov 2012 20:02:42 +0000 (12:02 -0800)]
[FileBackend] Stat caching improvements.
Callers often tend to end up calling getFileStat(), at least indirectly,
or in various successive function on the same path. This created RTTs
when the file didn't exist since negatives were not cached. This change
does the following:
* Cache definitive negatives (404s) in the process cache.
Nothing is cached on failure (like network problems).
* Ignore process cache entries after a brief time period
so long running scripts do not have overly stale entries.
Change-Id: I356bd9f48281e3c7e7a273778b2aca59c521a0c7
IAlex [Fri, 16 Nov 2012 19:39:07 +0000 (19:39 +0000)]
Merge "(bug 42173) Standardize categories special pages output"
IAlex [Fri, 16 Nov 2012 19:34:21 +0000 (19:34 +0000)]
Merge "Parser parse requires title, make a caller require valid title too"
daniel [Tue, 13 Nov 2012 16:51:32 +0000 (17:51 +0100)]
Log profiling data when tests have finished.
Previously, no profiling data was recorded from unit test runs.
That made it impossible to a) use unit tests for selective profiling
of individual functions, and b) made it impossibel to profile
the tests themselves.
This change fixes this problem by calling wfLogProfilingData()
after the test runner has finished.
Thaks to Hashar for some ideas, especially the fix in GlobalFunctions.
Change-Id: Iaa295115f3c4eb3b529388dcd953fe8932448b3e
Niklas Laxström [Thu, 15 Nov 2012 15:25:09 +0000 (15:25 +0000)]
Parser parse requires title, make a caller require valid title too
Change-Id: I8a9cd18c5aa27493a0945765f80136cd0cc4f218
daniel [Tue, 13 Nov 2012 16:48:15 +0000 (17:48 +0100)]
Clean up database cloning for tests.
This change makes the operation for overlaying the wiki database
with a structurally equivalent test database statically accessible,
and adds a function to revert that operation.
This is a precondition to logging profiling info to the database
after the test run has finished.
Change-Id: I2e8335d50eefcc7a97c1cd122b509f0939eacc92
Krinkle [Fri, 16 Nov 2012 17:31:01 +0000 (17:31 +0000)]
Merge "(bug 40850) jquery.byteLimit: Always update prevSafeVal."
MatmaRex [Thu, 15 Nov 2012 12:23:44 +0000 (13:23 +0100)]
(bug 40850) jquery.byteLimit: Always update prevSafeVal.
Not doing this sometimes caused trimValForByteLength to compare
the new value to an empty string instead of the old value,
resulting in trimming always at the end instead of at the position
of insertion.
Change-Id: I2e46961efa4f82732d577f7e5f98fc80719c88bb
Subramanya Sastry [Fri, 16 Nov 2012 17:09:20 +0000 (17:09 +0000)]
Merge "Add tests for empty attribute values in tags and table syntax"
Gabriel Wicke [Fri, 16 Nov 2012 01:12:05 +0000 (17:12 -0800)]
Add tests for empty attribute values in tags and table syntax
The PHP parser implements this very inconsistently and not in line with the
HTML5 spec. We follow the HTML5 spec in Parsoid, so mark these tests as
disabled for the PHP parser and add FIXMEs.
Change-Id: Iee5d95f3ee5fcb596282097c52f729d33ccb1474
Anomie [Fri, 16 Nov 2012 16:56:34 +0000 (16:56 +0000)]
Merge "Regression test for detecting edit conflicts."
Brad Jorsch [Thu, 15 Nov 2012 00:05:24 +0000 (16:05 -0800)]
(bug 32368) Add ParserCloned hook
We store various bits of data as "expando" properties on the Parser
object, to pass information from one stage of the parser to another. If
the parser is cloned, however, we can run into trouble because two
different Parser objects are now manipulating the same extension data
structure; this often shows up when ParserClearState is called on one
clone and clears the state of the other as well.
Since a deep clone might be too expensive and still might be wrong in
some cases, it seems most useful to simply provide a ParserCloned hook
so extensions can just do The Right Thing.
Change-Id: Ieec65c908d71e89b9a66f83b9a626f842aadacbb
Hashar [Fri, 16 Nov 2012 15:07:25 +0000 (15:07 +0000)]
Merge "Let TextContentTest extends MediaWikiLangTestCase"
Hashar [Fri, 16 Nov 2012 13:23:03 +0000 (13:23 +0000)]
Merge "SearchEngineTest.php must extends MediaWikiLangTestCase"
Dereckson [Fri, 16 Nov 2012 01:01:36 +0000 (02:01 +0100)]
(bug 42173) Standardize categories special pages output
This change removes namespace prefix from [[Special:UncategorizedCategories]],
so the output is consistent with the other categories pages.
Change-Id: I033e570754ca81be900a1f5482b8429583ab9172
Siebrand [Fri, 16 Nov 2012 10:27:57 +0000 (10:27 +0000)]
Merge "Fix typo (seams => seems)"
Ori Livneh [Fri, 16 Nov 2012 10:21:55 +0000 (02:21 -0800)]
Fix typo (seams => seems)
Change-Id: Ied64fa71b9da9762ee6bad7a4bae5a7082258f05
IAlex [Fri, 16 Nov 2012 08:57:14 +0000 (08:57 +0000)]
Merge "Fix prop=userid in list=protectedtitles"
Demon [Fri, 16 Nov 2012 05:21:15 +0000 (05:21 +0000)]
Merge "drop orm_test table on teardown"
Aaron Schulz [Wed, 14 Nov 2012 19:40:36 +0000 (11:40 -0800)]
[Database] Fixed case where trx idle callbacks might be lost.
* (bug 41656) LoadBalancer always commits if there are callbacks pending.
This works by checking a new DatabaseBase::writesOrCallbacksPending() function.
* Made transaction idle callbacks run in autocommit mode. Generally callers already
want autocommit mode or do quick begin()/commit() calls anyway. The docs already
make stat that callbacks should close any connections they start, but this makes
it harder for people to forget about implicit transactions. Since the callbacks
often may happen in commitMasterChanges(), if transactions are left open, they
might not get committed by anything afterwards.
* Added sanity exceptions and warnings if callbacks get lost for some reason.
* Renamed trxIdleCallbacks -> mTrxIdleCallbacks for consistency.
Change-Id: I00e1e0fcdd7deeee1fbac6d0f295160479cb8962
Aaron Schulz [Fri, 16 Nov 2012 01:05:26 +0000 (17:05 -0800)]
Fixed uncaught thumbName() exceptions and use $_GET.
* Using $_REQUEST is bad since cookie data is also in there.
* Also made a few tiny code cleanups.
Change-Id: Ib7064b95a2788484d05cf457034fe1d5be298bc4
Gabriel Wicke [Fri, 16 Nov 2012 00:02:15 +0000 (16:02 -0800)]
Add test for table row followed by newlines and table heading
Change-Id: I208f5464523ef3e76cd9ddc5c1198aa231bca9b8
Translation updater bot [Thu, 15 Nov 2012 20:32:17 +0000 (20:32 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I620f7ee98965b8d07caeeaf19d7db40efcfc7975
daniel [Mon, 12 Nov 2012 15:39:29 +0000 (16:39 +0100)]
Regression test for detecting edit conflicts.
Change-Id: I9f8f3850ff0d6d51f173f5be73ffcb3b64886235