Ori Livneh [Fri, 23 Nov 2012 21:51:15 +0000 (13:51 -0800)]
Fix misleading param name in FormatJson::encode signature
As the FIXME notes, $isHtml has nothing to do with HTML; it simply controls
whether the resultant JSON should be formatted for readability by inserting
whitespace as appropriate.
Change-Id: I90d46d6624d683f18a39c98500bd71bbd0ca3800
Nikerabbit [Fri, 23 Nov 2012 13:01:08 +0000 (13:01 +0000)]
Merge "Clean up Language::markNoConversion()."
Hashar [Fri, 23 Nov 2012 10:27:47 +0000 (10:27 +0000)]
Merge "Add MediaWikiTestCase::checkHasDiff3 and use it"
Nikerabbit [Fri, 23 Nov 2012 10:26:26 +0000 (10:26 +0000)]
Merge "(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode"
Hashar [Fri, 23 Nov 2012 10:26:18 +0000 (10:26 +0000)]
Merge "Added profiling to test runner."
Nikerabbit [Fri, 23 Nov 2012 10:22:09 +0000 (10:22 +0000)]
Merge "Fix exception when searching for stuff beginning with "Media:""
ASchulz [Thu, 22 Nov 2012 22:09:26 +0000 (22:09 +0000)]
Merge "[FileBackend] Improved getFileProps() docs a bit."
Translation updater bot [Thu, 22 Nov 2012 20:27:19 +0000 (20:27 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I934fc8141bcd2d6f7683f55862286f0d9341c69a
daniel [Thu, 22 Nov 2012 18:34:32 +0000 (19:34 +0100)]
Added profiling to test runner.
MediaWikiTestCase now calls wfProfileIn/wfProfileOut for each call
to a test function. This makes it easy to track down slow tests.
Change-Id: I5ff2fea957c082f41da37936fe44948ad006f573
umherirrender [Thu, 22 Nov 2012 16:45:50 +0000 (17:45 +0100)]
Add MediaWikiTestCase::checkHasDiff3 and use it
Some tests can only passed, when diff3 is enabled on the wiki, when not
the tests should marked as skipped. To avoid code duplicates inside
the test folder for the check, if diff3 is enabled, the new function
MediaWikiTestCase::checkHasDiff3 can be used.
Change-Id: Ie765da49a4a1358da78a3506e38772d61bcd010c
IAlex [Thu, 22 Nov 2012 11:56:45 +0000 (11:56 +0000)]
Merge "Allow all rc options in feeds"
Niklas Laxström [Thu, 22 Nov 2012 10:56:16 +0000 (10:56 +0000)]
Allow all rc options in feeds
The comment seems outdated given the following code in ChangesFeed:
$optionsHash = md5( serialize( $opts->getAllValues() ) ) . $wgRenderHashAppend;
Change-Id: I6f7ac3badf14eef8d193053c4788d7d7f5eb03f3
Brad Jorsch [Sat, 10 Nov 2012 00:54:57 +0000 (16:54 -0800)]
Add EditPage hooks AlternateEditPreview, EditPage::showStandardInputs:options
Adds two new hooks:
* AlternateEditPreview allows an extension to override the standard
page preview display.
* EditPage::showStandardInputs:options allows an extension to add
additional HTML to the end of the editOptions area of the edit form.
Change-Id: Ic5d35c8e9ff71282b5ebccc87c64894a385e5836
Max Semenik [Thu, 22 Nov 2012 00:29:49 +0000 (04:29 +0400)]
Fix exception when searching for stuff beginning with "Media:"
Change-Id: I8b5a419fa369ad91034c3769a4b228290b878e1b
Siebrand [Thu, 22 Nov 2012 00:14:36 +0000 (00:14 +0000)]
Merge "(bug 457) use semantic headings for the navigation menu"
Anomie [Wed, 21 Nov 2012 23:59:41 +0000 (23:59 +0000)]
Merge "Fix uselang parameter in ApiWatch"
Marius Hoch [Wed, 21 Nov 2012 21:17:29 +0000 (22:17 +0100)]
Fix uselang parameter in ApiWatch
It's now possible to use uselang with the watch API without
it throwing a warning (cause the parameter wasn't defined).
Idea and some code taken from ApiParse.
Change-Id: I74b7c4286c0c2f44fabc337d5fb744560f71cf71
Federico Leva [Tue, 20 Nov 2012 21:48:17 +0000 (22:48 +0100)]
(bug 35031) Change decimal separators for numbers in Kurdish
Change-Id: I464eb3b3ae5f6b0b8e49a353070db10ad2eea5b1
ASchulz [Wed, 21 Nov 2012 23:30:54 +0000 (15:30 -0800)]
[FileBackend] Improved getFileProps() docs a bit.
Change-Id: I37dfc6c90829aa63511570c4576666e41764b6df
Federico Leva [Tue, 20 Nov 2012 21:56:56 +0000 (22:56 +0100)]
(bug 34977) Change Spanish formatnum behavior
Use non-breaking spaces as thousands separator.
Used the same $separatorTransformTable as in fr, it etc.
The format is the correct one according to official
standards and it's also currently in use "in the wild",
e.g. on Spanish Wikipedia, according to guidelines.
Change-Id: I1c9dfe1f02d907183fb671b7382f2eb706e57bab
Translation updater bot [Wed, 21 Nov 2012 22:16:38 +0000 (22:16 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I5aa36c8f947fb85f43afd288efb63f51cdc35659
Subramanya Sastry [Wed, 21 Nov 2012 21:33:17 +0000 (15:33 -0600)]
Additional tests to keep Parsoid in line (regressions + accuracy)
* Added a td-cell wikitext syntax variant to spec PHP parser
behavior.
* Added an image parsing test to prevent rt regressions.
Change-Id: I414d0f7368f520df4e02f310d6c82037d3c96d45
Subramanya Sastry [Wed, 21 Nov 2012 21:17:54 +0000 (21:17 +0000)]
Merge "Test handling HTML tag like structures"
Gabriel Wicke [Wed, 21 Nov 2012 21:06:52 +0000 (13:06 -0800)]
Test handling HTML tag like structures
* Add a (disabled for the PHP parser) test for bug 40670. Passing in Parsoid.
* Add another test for html-like text.
Change-Id: I2026fb09a5e32062cec0b7f0d45dc6643d4885a9
IAlex [Wed, 21 Nov 2012 19:44:49 +0000 (19:44 +0000)]
Merge "Release notes: Full stops and grammar."
Aaron Schulz [Fri, 16 Nov 2012 23:25:50 +0000 (15:25 -0800)]
[FileBackend] More stat caching improvements.
* Extended negative caching to handle the "latest" parameter.
* Added a new "dstExists" parameter to some write functions to avoid
salting the cache when a file is created at an unused path. The ability
to do this was already mentioned in the setFileCache() doc comments.
Change-Id: Ib64e4c128e16f4d284033fff70b88686fa0593ab
Demon [Wed, 21 Nov 2012 18:34:11 +0000 (18:34 +0000)]
Merge "Add $wgAuth->updateExternalDB calls back into core"
Timo Tijhof [Wed, 21 Nov 2012 18:30:52 +0000 (19:30 +0100)]
Release notes: Full stops and grammar.
* Follows-up I2496415f.
Change-Id: I0a9d1f3383f1d4e7b8101673edef1e26835dd21a
SPQRobin [Wed, 21 Nov 2012 16:11:56 +0000 (16:11 +0000)]
Merge "(bug 30040) Update autonym for nds-nl"
Nikerabbit [Wed, 21 Nov 2012 15:04:13 +0000 (15:04 +0000)]
Merge "Follow-up I087c2729 (
750936f): factorise common code"
IAlex [Wed, 21 Nov 2012 14:33:21 +0000 (14:33 +0000)]
Merge "Correct documentation for "maxlag" API parameter"
Federico Leva [Wed, 21 Nov 2012 14:27:48 +0000 (15:27 +0100)]
(bug 30040) Update autonym for nds-nl
Release note for I8b7f70856ab0c12026503a0b416836e3a4025799
Change-Id: I2496415f9a2f993fde634d71fa66f3d74d7bbbcf
Alexandre Emsenhuber [Wed, 21 Nov 2012 14:26:15 +0000 (15:26 +0100)]
Follow-up I087c2729 (
750936f): factorise common code
Change-Id: I6d06ee4df857a90517bf0d4b3a40cd7ba9842968
Demon [Wed, 21 Nov 2012 13:01:49 +0000 (13:01 +0000)]
Merge "[FileBackend] Added optional callback parameter to concatenate()."
SPQRobin [Wed, 21 Nov 2012 12:50:09 +0000 (12:50 +0000)]
Merge "(bug 30040) Update autonym for nds-nl"
Federico Leva [Wed, 21 Nov 2012 12:38:41 +0000 (13:38 +0100)]
(bug 30040) Update autonym for nds-nl
That's what ndl-nl.wikipedia uses now, for sure.
Change-Id: I8b7f70856ab0c12026503a0b416836e3a4025799
Aaron Schulz [Wed, 21 Nov 2012 04:58:47 +0000 (20:58 -0800)]
[FileBackend] Added back ability to delete file HTTP headers.
* This partially reverts
b80bd6159bdf946c1d4fa1e143fea221937d848a.
* Clarified 'headers' parameter documentation a bit.
* Added the "describe" function wrappers that the other ops have.
Change-Id: I7142fd4d973f5f3407d244a4cae793934083bc26
Ori.livneh [Wed, 21 Nov 2012 04:15:32 +0000 (04:15 +0000)]
Merge "(bug 42215) "Welcome, X" as account creation title"
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
Ryan Lane [Wed, 21 Nov 2012 01:39:19 +0000 (17:39 -0800)]
Add $wgAuth->updateExternalDB calls back into core
Some time, long, long ago, in a MediaWiki much, much saner
the preferences form told wgAuth to update the external database.
That code disappeared at some point. This commit adds it back.
Change-Id: I91df44c8a8b38119c33d4a69b8c7e3c180e5c773
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
Brad Jorsch [Tue, 20 Nov 2012 16:47:04 +0000 (11:47 -0500)]
(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode
It seems that IE8 lies about supporting "onhashchange" with the standard
feature test when in compatibility mode. So, sadly, we must add in an
explicit browser check if we want this to work.
Change-Id: Ib2c1b150acd0a0b5b16604e8623d6aa78017a9a0
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
Kevin Israel [Mon, 19 Nov 2012 22:46:13 +0000 (17:46 -0500)]
Correct documentation for "maxlag" API parameter
Replication lag above the number of seconds specified in the "maxlag"
parameter causes index.php to send HTTP status code 503, yet that is
not the case for the API. See bug 31156.
Change-Id: I3847629d3a34633d8e319a055a1e3252bd4ec638
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
S Page [Mon, 19 Nov 2012 10:37:50 +0000 (02:37 -0800)]
(bug 42215) "Welcome, X" as account creation title
Use "Welcome, <user>" as title on successful account creation.
Create separate displaySuccessfulAccountCreation() function that
uses new welcomeuser and welcomecreation-agora messages split from
existing welcomecreation message.
Change-Id: I087c272952e5b2a271411764d368f723719cd0e3
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
Aaron Schulz [Sun, 18 Nov 2012 22:02:45 +0000 (14:02 -0800)]
[FileBackend] Added optional callback parameter to concatenate().
* This lets callers update the cache/db with the operation progress so that
APIs can be made to use this and expose this information to client polling.
Change-Id: I9a86c1c5ffccf029be5a150e5998c3ce4740ec62
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