Siebrand [Sat, 6 Oct 2012 19:52:22 +0000 (19:52 +0000)]
Merge "Fix behaviour of namespaceSelector to match the documentation"
Siebrand [Sat, 6 Oct 2012 19:44:21 +0000 (19:44 +0000)]
Merge "(bug 38559) Add hook to info action to allow extensions to add extra information to a pages info"
Catrope [Tue, 2 Oct 2012 03:21:31 +0000 (20:21 -0700)]
(bug 40660) Don't mangle in on-wiki JS.
Fixed by no longer using MessageCache::get() in
ResourceLoaderWikiModule. The only reason I see for using it is to make
default values for .js pages in the MediaWiki: namespace work (by
specifying them in an .i18n.php file), but that's evil and no one was
doing that other than putting in descriptive comments like
/* Site scripts go here */. That, and the previous implementation of
MediaWiki namespace JS that RL replaced did it, so I kept it at the
time, assuming it must have been needed for some reason.
Change-Id: Ica7f35fefcc200f0b3daf1d06d98a0b8ea878f3a
umherirrender [Sat, 6 Oct 2012 08:21:24 +0000 (10:21 +0200)]
Remove autoloader for deprecated Database class
Follow up: I8e7549e6
Change-Id: Id71be89434d77558b48456d111c4a03faefc5e74
Catrope [Fri, 5 Oct 2012 22:45:54 +0000 (22:45 +0000)]
Merge "[FileBackend] Tweaked FileBackendMultiWrite behavior to fix test leakage."
Reedy [Fri, 5 Oct 2012 22:23:05 +0000 (22:23 +0000)]
Merge "Remove deprecated 1.7 SpecialPage::addPage"
Reedy [Fri, 5 Oct 2012 22:22:42 +0000 (22:22 +0000)]
Merge "Remove deprecated 1.16 Legacy support: Database == DatabaseMysql"
Aaron Schulz [Fri, 5 Oct 2012 22:07:23 +0000 (15:07 -0700)]
[FileBackend] Tweaked FileBackendMultiWrite behavior to fix test leakage.
Change-Id: I0a967780b64d1883cfeb1a7a183bbb82dc1ae432
umherirrender [Fri, 5 Oct 2012 20:45:41 +0000 (22:45 +0200)]
Remove deprecated 1.7 SpecialPage::addPage
Change-Id: I6e68f02d1abac935bb6e1baed2d83d2f0ca76d36
umherirrender [Fri, 5 Oct 2012 20:41:22 +0000 (22:41 +0200)]
Remove deprecated 1.16 wfLoadExtensionMessages
Change-Id: I9b9ecc9818d17c98748f39177c28554f8c485de5
umherirrender [Fri, 5 Oct 2012 20:39:31 +0000 (22:39 +0200)]
Remove deprecated 1.16 Legacy support: Database == DatabaseMysql
Change-Id: I8e7549e67aac072139923b7c4ea607563facf2e9
Reedy [Fri, 5 Oct 2012 20:18:24 +0000 (20:18 +0000)]
Merge "Added missing entries in AutoLoader."
Alexandre Emsenhuber [Fri, 5 Oct 2012 20:12:03 +0000 (22:12 +0200)]
Added missing entries in AutoLoader.
Change-Id: Iaed7664e155f3a0afd87398d85a66eda081dd5e4
MaxSem [Fri, 5 Oct 2012 19:15:44 +0000 (19:15 +0000)]
Merge "Don't display multiple language links to the same language"
Reedy [Fri, 5 Oct 2012 19:14:54 +0000 (19:14 +0000)]
Merge "Remove deprecated $wgAllowRealName"
Tim Starling [Wed, 26 Sep 2012 07:42:17 +0000 (17:42 +1000)]
Don't display multiple language links to the same language
(bug 24502) Resolve the various issues with this accidental feature
by removing it. I think it could be done properly, along the lines of
my comment #5, but I don't think just changing the DB schema to make
langlinks non-unique is a good direction to take. A comment on
I4e1e08a3 from Daniel Kinzler indicates that duplicate language links
won't be possible with Wikidata anyway, so there's not much value in
I4e1e08a3 for WMF wikis.
Change-Id: Iba5f3f29e20f5119d4414b1e87ce5eee674701a8
Catrope [Fri, 5 Oct 2012 18:58:54 +0000 (18:58 +0000)]
Merge "Bug 40756 - API: Call to a member function isGood() on a non-object in ApiDelete.php"
umherirrender [Fri, 5 Oct 2012 18:53:22 +0000 (20:53 +0200)]
Remove deprecated $wgAllowRealName
Deprecated since 1.16, which is out of lifecycle since August 2011
Change-Id: Ie48a4116eab9d07bc435ea9ce784762313b757cb
IAlex [Fri, 5 Oct 2012 18:34:47 +0000 (18:34 +0000)]
Merge "Add @since tags too Hooks"
Reedy [Fri, 5 Oct 2012 18:29:26 +0000 (19:29 +0100)]
Add @since tags too Hooks
Update some method documentation
Change-Id: If4913aab7d0f8c14d49ca8320e31b1b354145c83
umherirrender [Fri, 5 Oct 2012 18:26:00 +0000 (20:26 +0200)]
Add missing version number to wfDeprecated calls
Change-Id: I8b9efaf5eafc6cfecb34d401574ce978899d3990
Brion VIBBER [Fri, 5 Oct 2012 17:39:26 +0000 (17:39 +0000)]
Merge "CologneBlue rewrite: rework otherLanguages(), CSS: serif font"
Brion VIBBER [Fri, 5 Oct 2012 17:37:02 +0000 (17:37 +0000)]
Merge "SkinTemplate: extract formatLanguageName() from outputPage()"
Marius Hoch [Fri, 5 Oct 2012 16:52:57 +0000 (18:52 +0200)]
Clear the cached edit count within User::clearInstanceCache
(After a question in r26457): Let User::clearInstanceCache
clear out the cached edit count as well, as a user session
can be open for a long time.
Change-Id: I4444f352e3b5df7b24f37668a5f1fbf9d64d6978
MatmaRex [Tue, 2 Oct 2012 19:47:07 +0000 (21:47 +0200)]
CologneBlue rewrite: rework otherLanguages(), CSS: serif font
We have to override SkinTemplate->formatLanguageName() in SkinCologneBlue
not to capitalize the language names, as they are not actually used in the
sidebar and look better this way.
This change revealed that CologneBlue does not set the base font for the
page, causing text marked as being in a different language (e.g., language
links) to be displayed in a different fond in some browsers. Adding
"font-family: serif" to body fixed the issue.
Change-Id: I8b56ccb6f9a2ba47613f135754b5a133a6870412
MatmaRex [Fri, 5 Oct 2012 16:00:49 +0000 (18:00 +0200)]
SkinTemplate: extract formatLanguageName() from outputPage()
This is to allow skins to override it; for example, CologneBlue needs the
names *not* to be uppercased, as they're not actually displayed in the
sidebar.
Change-Id: I91d505159c9e9e468182ebbff6002e5238e34f90
IAlex [Fri, 5 Oct 2012 15:38:54 +0000 (15:38 +0000)]
Merge "Replace remaining Array occurences with array"
IAlex [Fri, 5 Oct 2012 15:36:35 +0000 (15:36 +0000)]
Merge "Pass user object to some Revision::getText/Title::userCan calls"
madman [Fri, 5 Oct 2012 03:45:45 +0000 (03:45 +0000)]
(bug 38559) Add hook to info action to allow extensions to add extra
information to a pages info
* Added new function, pageInfo, to return page information in easily
manipulated format.
* Added call to wfRunHooks.
* Moved credits to follow the footer (this is a change for my
aesthetics that may be reverted, but it also allows admins to more
easily add a horizontal break or some such in pageinfo-footer).
* All messages are escaped.
Have tested extensively, all information is rendered exactly as it
was before as far as I can see.
Change-Id: I702f2f13d3b7af26d89c4fd9002d3161dc7905d2
umherirrender [Fri, 5 Oct 2012 14:25:01 +0000 (16:25 +0200)]
Pass user object to some Revision::getText/Title::userCan calls
Also passed some $wgUser direct (when already there), so it is seen by
someone, that the user should be passed to that method.
Change-Id: Id4d5504a05ea34d80d59262ad3aef28f09c807a6
jeroendedauw [Fri, 5 Oct 2012 13:54:58 +0000 (15:54 +0200)]
Fix behaviour of namespaceSelector to match the documentation
Change-Id: I3d1bb232905095ae2d5177adc225025178d5f5a3
jeroendedauw [Fri, 5 Oct 2012 14:11:18 +0000 (16:11 +0200)]
Replace remaining Array occurences with array
Change-Id: Id7c2fdd6814a8239acbe050d857b56350e691a49
jeroendedauw [Fri, 5 Oct 2012 13:55:52 +0000 (15:55 +0200)]
Change Array to array
Change-Id: I22fd8b2aad037a12546d7c5f5167add1eec96c30
Niklas Laxström [Fri, 5 Oct 2012 07:30:34 +0000 (07:30 +0000)]
Shutup some trx warnings
It's been two weeks and there hasn't been enough
effort in fixing the reported issues to justify
the flooding of logs in twn.
Change-Id: I3eacc5a9220b451bb94c4aa5ae35de4095528542
Niklas Laxström [Fri, 5 Oct 2012 07:29:36 +0000 (07:29 +0000)]
else { if } makes no sense
I complained about this in gerrit but looks like my
comment was not saved
Change-Id: Ie570bdaf89e93628de730102587064ee0495fb1b
Subramanya Sastry [Fri, 5 Oct 2012 00:01:45 +0000 (19:01 -0500)]
Added tests for well-nested <noinclude> uses in html attr context.
Change-Id: Ic1230371582cfab7bfdc367f1cfce1c6c192caac
Reedy [Thu, 4 Oct 2012 21:27:13 +0000 (21:27 +0000)]
Merge "Added "posdump" option to syncFileBackend to dump the current position."
MatmaRex [Sat, 29 Sep 2012 19:18:56 +0000 (21:18 +0200)]
CologneBlue rewrite: fix variantLinks()
They used to use some weird ifs to determine whether to display this list,
and broken implementation caused an additional separator to appear at the
beginning.
Change-Id: I71eb97e09af9ac1bcf88da2aaeba97322e8be252
MatmaRex [Thu, 27 Sep 2012 17:01:49 +0000 (19:01 +0200)]
CologneBlue rewrite: #toplinks fixes
* use getPersonalTools()
* loop over stuff
* CSS cleanup
Change-Id: Ibb68cde6e837eec0fcaeea8a11088749ce2df1c2
MatmaRex [Fri, 28 Sep 2012 20:08:26 +0000 (22:08 +0200)]
CologneBlue rewrite: kill the evil globals
This is just some search&replace.
Change-Id: I0241942f56556754c6142e932c72af04bad37a75
MatmaRex [Fri, 28 Sep 2012 19:47:58 +0000 (21:47 +0200)]
CologneBlue rewrite: fixup for unclickable site title
Change-Id: I322c79dfb8ddf87e380d711430138abf5696ca4f
MatmaRex [Thu, 27 Sep 2012 17:38:33 +0000 (19:38 +0200)]
CologneBlue rewrite: fix beforeContent() and afterContent()
No functional changes here. The generated HTML is almost the same, changes
involve mostly whitespace.
Change-Id: I1455a49f0583440498bae7d328b8d182e92e7c8d
MatmaRex [Thu, 27 Sep 2012 17:27:45 +0000 (19:27 +0200)]
CologneBlue rewrite: fix sysLinks()
* remove link to special pages, what was it even doing there
* kill extensionTabLinks(): SkinTemplateTabs hook, which it calls, has been
(per [[mw:Manual:Hooks/SkinTemplateTabs]]) removed in 1.18
* split variantLinks()
Also assorted CSS.
Change-Id: I67fdbf80baf52721d0be6bb7c0597225c5010940
MatmaRex [Thu, 27 Sep 2012 17:01:49 +0000 (19:01 +0200)]
CologneBlue rewrite: don't display login/out links in sidebar
They do not belong to "My pages".
Instead, display them properly in syslinks, respecting
$wgUseCombinedLoginLink and creating them via usual means.
Change-Id: I8e2cc25e41e46a471b98e0d18336c753b8645d0e
MatmaRex [Wed, 26 Sep 2012 19:53:58 +0000 (21:53 +0200)]
CologneBlue rewrite: kill pageTitle(), pageSubtitle(), printableLink()
Change-Id: I8280e882f312854cc8a8ee86106bbbd31cb897d3
MatmaRex [Wed, 26 Sep 2012 19:19:16 +0000 (21:19 +0200)]
CologneBlue rewrite: kill pageStats() and rewrite pageTitleLinks()
Use getFooterLinks instead. This removes "Printable version" from the
header links and add a "About" link instead.
Change-Id: I69ee93a9ce900651711274972f4dd79b766df78c
Brion VIBBER [Thu, 4 Oct 2012 19:26:42 +0000 (19:26 +0000)]
Merge "CologneBlue rewrite: remove stuff from pageTitleLinks() that doesn't belong in there"
Brion VIBBER [Thu, 4 Oct 2012 19:25:59 +0000 (19:25 +0000)]
Merge "CologneBlue rewrite: get rid of some extra ugly HTML"
Brion VIBBER [Thu, 4 Oct 2012 19:24:52 +0000 (19:24 +0000)]
Merge "CologneBlue rewrite: kill mWatchLinkNum, watchThisPage() is only called once now"
Brion VIBBER [Thu, 4 Oct 2012 19:23:20 +0000 (19:23 +0000)]
Merge "CologneBlue rewrite: finally a proper sidebar using standard functions"
Brion VIBBER [Thu, 4 Oct 2012 19:21:25 +0000 (19:21 +0000)]
Merge "CologneBlue rewrite: adjust the quickbar contents to 2012"
Brion VIBBER [Thu, 4 Oct 2012 19:19:18 +0000 (19:19 +0000)]
Merge "CologneBlue rewrite: start cleaning up the quickbar code"
Brion VIBBER [Thu, 4 Oct 2012 19:17:12 +0000 (19:17 +0000)]
Merge "CologneBlue rewrite: fix search form(s) generation"
IAlex [Thu, 4 Oct 2012 19:16:43 +0000 (19:16 +0000)]
Merge "Added @since tag to IDBAccessObject."
Brion VIBBER [Thu, 4 Oct 2012 19:15:54 +0000 (19:15 +0000)]
Merge "CologneBlue rewrite: remove hard dependency on SkinLegacy, kill Quickbar nonsense"
Aaron Schulz [Thu, 4 Oct 2012 19:10:41 +0000 (12:10 -0700)]
Added @since tag to IDBAccessObject.
Change-Id: I83d47534e76eba41099da645e5f971d351f0260c
Aaron Schulz [Thu, 4 Oct 2012 18:43:59 +0000 (11:43 -0700)]
Added "posdump" option to syncFileBackend to dump the current position.
Change-Id: Iabb027788796e98e06e3c6e97d14f74819cc6c95
Alex Monk [Tue, 4 Sep 2012 13:02:32 +0000 (14:02 +0100)]
A few action=info bugfixes and enhancements.
(bug 39533) Merge action=credits into action=info.
(bug 39951) Remove redundant 'Page protection' text.
(bug 39953) Don't show irrelevant protection statuses.
(bug 39954) Use proper section headers.
(bug 39955) Link page creator and latest editor values.
Change-Id: I68308aac96b89c2aec296e2a4fa385fd1d42ab5a
Reedy [Thu, 4 Oct 2012 15:11:25 +0000 (15:11 +0000)]
Merge "Show HTTP error (if any) when scary transclusion fails"
Reedy [Thu, 4 Oct 2012 15:10:03 +0000 (15:10 +0000)]
Merge "(bug 16362) Add action=info link to toolbox."
Reedy [Thu, 4 Oct 2012 13:52:03 +0000 (14:52 +0100)]
Bug 40756 - API: Call to a member function isGood() on a non-object in ApiDelete.php
Change-Id: I88eefe177f1f6d77bed035ebe4967a8c714615f4
Siebrand [Thu, 4 Oct 2012 07:04:23 +0000 (07:04 +0000)]
Merge "Support explicit 0 and 1 forms for plural in PHP"
IAlex [Thu, 4 Oct 2012 04:41:46 +0000 (04:41 +0000)]
Merge "Minor parameter documentation improvements on External Store classes"
umherirrender [Wed, 8 Aug 2012 14:25:40 +0000 (16:25 +0200)]
Show a "(blocked)" hint on Special:ListUsers/ActiveUsers
In ActiveUsers many of the code was there, but there was a mistake in
the query.
Allowing now also listing hidden active users for users with the
'hideuser' right.
Change-Id: I2a4db8433cb5a2dec497c0fa662459cb56df3c3c
umherirrender [Fri, 7 Sep 2012 18:29:22 +0000 (20:29 +0200)]
Add 'expandurl' to prop=extlinks/list=exturlusage
Allow prop=extlinks and list=exturlusage to expand protocol-relative
urls
See also bug 40052
Change-Id: I3fd661b51c44020dad9e95ac2fe6994c6e22aabb
Reedy [Thu, 4 Oct 2012 00:08:10 +0000 (01:08 +0100)]
Minor parameter documentation improvements on External Store classes
Changed the comment about returning ExternalStore subclasses, as neither ExternalStoreDB or ExternalStoreHttp subclass ExternalStore
Remove trailing whitespace
Change-Id: I90b61f93a99d5088edfadf83c846ec5fa7e40c2e
umherirrender [Sat, 29 Sep 2012 10:36:33 +0000 (12:36 +0200)]
(bug 32951) Do not register absolute internal externals
Setting $wgRegisterInternalExternals = false for proto server should not
store the http/https links in externallinks table
Also fix detection of own links for links with query or anchor or
nothing
new also detected:
//localhost
//localhost?query
//localhost#anchor
already detected:
//localhost/path
Change-Id: Idd03d309cc3b71728a8cbea460efa12b10348d64
Brion VIBBER [Wed, 3 Oct 2012 21:14:39 +0000 (21:14 +0000)]
Merge "[FileBackend] Suppress less warnings in doGetFileContentsMulti()."
GWicke [Wed, 3 Oct 2012 21:05:00 +0000 (21:05 +0000)]
Merge "Parsoid-centric tests to RT-test comments-ws-pre interactions."
Subramanya Sastry [Wed, 3 Oct 2012 20:53:04 +0000 (15:53 -0500)]
Parsoid-centric tests to RT-test comments-ws-pre interactions.
Change-Id: I2974d1451acbaeae4bce1aa890f0becea2dca32a
Aaron Schulz [Wed, 3 Oct 2012 20:34:30 +0000 (13:34 -0700)]
[FileBackend] Suppress less warnings in doGetFileContentsMulti().
Change-Id: I7c03b4204bc2173c73e11ca9091907f17e93d586
Aaron Schulz [Wed, 3 Oct 2012 20:32:16 +0000 (13:32 -0700)]
Fixed documentation typo.
Change-Id: I31c7959d6feb2241984883e4a02882903a8475d4
Brion VIBBER [Wed, 3 Oct 2012 20:03:35 +0000 (20:03 +0000)]
Merge "[FileBackend] Optimized concatenate() to use getLocalReferenceMulti()."
Brion VIBBER [Wed, 3 Oct 2012 20:01:46 +0000 (20:01 +0000)]
Merge "[FileBackend] Added getFileContentsMulti() and improved it for Swift."
Brion VIBBER [Wed, 3 Oct 2012 19:54:34 +0000 (19:54 +0000)]
Merge "[FileBackend] Added getLocalCopyMulti() and getLocalReferenceMulti()."
IAlex [Wed, 3 Oct 2012 19:49:57 +0000 (19:49 +0000)]
Merge "Improved documentation"
Demon [Wed, 3 Oct 2012 19:45:23 +0000 (19:45 +0000)]
Merge "Reorder keys for fileStoragePathsForOps() function since its a list."
Siebrand [Wed, 3 Oct 2012 19:40:50 +0000 (19:40 +0000)]
Merge "Localisation updates from translatewiki.net."
jeroendedauw [Wed, 3 Oct 2012 16:56:31 +0000 (18:56 +0200)]
Improved documentation
Change-Id: If17de8dadefeb6a2fdfe7073ba84553c07cec229
Translation updater bot [Wed, 3 Oct 2012 19:34:49 +0000 (19:34 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I766bdb2f0fd630144b1bd56f0fa5135af8fbdf5d
Brion VIBBER [Wed, 3 Oct 2012 18:25:50 +0000 (18:25 +0000)]
Merge "Changed notifyOnPageChange() to use onTransactionIdle()."
Brion VIBBER [Wed, 3 Oct 2012 18:18:36 +0000 (18:18 +0000)]
Merge "Removed useless begin()/commit() calls as DBO_TRX is not on in cli mode."
Subramanya Sastry [Wed, 3 Oct 2012 15:55:16 +0000 (10:55 -0500)]
Updated comment and pre-interaction tests with more cases.
Change-Id: Icb631dd8692e4d169c2599598add30a495ea02d7
Siebrand [Wed, 3 Oct 2012 15:05:04 +0000 (15:05 +0000)]
Merge "Convert valign HTML attribute into inline CSS"
Siebrand [Wed, 3 Oct 2012 15:04:36 +0000 (15:04 +0000)]
Merge "Fix documentation of $wgProxyList"
Siebrand [Wed, 3 Oct 2012 15:04:10 +0000 (15:04 +0000)]
Merge "Improve documentation of maintenance scripts and test suite."
Siebrand [Wed, 3 Oct 2012 15:00:33 +0000 (15:00 +0000)]
Merge "Rebuild MessagesEn.php"
Siebrand [Wed, 3 Oct 2012 14:49:22 +0000 (14:49 +0000)]
Merge "Stylize"
Alexandre Emsenhuber [Wed, 3 Oct 2012 09:03:51 +0000 (11:03 +0200)]
Rebuild MessagesEn.php
Change-Id: I09969e009076f3298dde8a0773771d057e404989
IAlex [Wed, 3 Oct 2012 04:51:48 +0000 (04:51 +0000)]
Merge "Defer the watchlist update query in EditPage."
Timo Tijhof [Wed, 3 Oct 2012 00:16:46 +0000 (02:16 +0200)]
Update messages.inc for Icd721011b4
Change-Id: I5b2fd3b3f913ee57cf26e2c079b2b3bece8df358
Krinkle [Wed, 3 Oct 2012 01:42:32 +0000 (01:42 +0000)]
Merge "Removed user-agent string from mw.feedback posts"
Trevor Parscal [Tue, 2 Oct 2012 23:23:10 +0000 (16:23 -0700)]
Removed user-agent string from mw.feedback posts
Legal found this to be unacceptable
Change-Id: Ib8746ece3a34b5e577dc08596b0ff7b1b96b5d73
umherirrender [Wed, 26 Sep 2012 08:30:53 +0000 (10:30 +0200)]
Add warning for unused params inside api
Now MediaWiki knows all used params, it can be helpful to get a list of
unused params. This can be spelling issues or the missing 'g' for
generator modules. When the client knows about this, he can correct
them.
Change-Id: I221b7cd02bed4a38aba161dc3f85eb8fd2aad52c
Aaron Schulz [Tue, 2 Oct 2012 23:54:16 +0000 (23:54 +0000)]
Merge "Truncate SHA-1 indexes"
umherirrender [Tue, 2 Oct 2012 20:18:04 +0000 (22:18 +0200)]
Use User::getGroupsWithPermission
Change-Id: Iba44440600484b9f2525805a1c80df50d5335c1a
Aaron Schulz [Tue, 2 Oct 2012 22:29:05 +0000 (15:29 -0700)]
Defer the watchlist update query in EditPage.
Change-Id: I9441a2778065b03593a0e42154bb0a6e44f0a196
Timo Tijhof [Wed, 25 Jul 2012 21:20:21 +0000 (14:20 -0700)]
ResourceLoader: Refactor style loading
Fixes:
* bug 31676: Work around IE stylesheet limit.
* bug 35562: @import styles broken in modules that combine
multiple stylesheets.
* bug 40498: Don't output empty "@media print { }" blocks.
* bug 40500: Don't ignore media-type for urls in debug mode.
Approach:
* Re-use the same <style> tag so that we stay under the 31
stylesheet limit in IE. Unless the to-be-added css text from
the being-loaded module contains @import, in which case we do
create a new <style> tag and then re-use that one from that
point on (bug 31676).
* Return stylesheets as arrays, instead of a concatenated string.
This fixes bug 35562, because @import only works when at the
top of a stylesheet. By not unconditionally concatenating files
within a module on the server side already, @import will work
in e.g. module 'site' that contains 2 wiki pages.
This is normalized in ResourceLoader::makeCombinedStyles(),
so far only ResourceLoaderWikiModule makes use of this.
Misc. clean up and bug fixes:
* Reducing usage of jQuery() and mw.html.element() where
native DOM would be very simple and faster. Aside from
simplicity and speed, this is also working towards a more
stand-alone ResourceLoader.
* Trim server output a little bit more
- Redundant new line after minify-css (it is now an array, so
no need to keep space afterwards)
- Redundant semi-colon after minify-js if it ends in a colon
* Allow space in styleTest.css.php
* Clean up and extend unit tests to cover for these features
and bug fixes.
* Don't set styleEl.rel = 'stylesheet'; that has no business
on a <style> tag.
* Fix bug in mw.loader's addStyleTag(). It turns out IE6
has an odd security measure that does not allow manipulation
of elements (at least style tags) that are created by a
different script (even if that script was served from the same
domain/origin etc.). We didn't ran into this before because
we only created new style tags, never appended to them. Now
that we do, this came up. Took a while to figure out because
it was created by mediawiki.js but it calls jQuery which did
the actual dom insertion. Odd thing is, we load jquery.js and
mediawiki.js in the same request even...
Without this all css-url related mw.loader tests would fail
in IE6.
* mediawiki.js and mediawiki.test.js now pass jshint again.
Tested (and passing qunit/?module=mediawiki; 123 of 123):
* Chrome 14, 21
* Firefox 3.0, 3.6, 4, 7, 14, 15, 16beta
* IE 6, 7, 8, 9
* Safari 4.0, 5.0, 5.1
* Opera 10.0, 11.1, 11.5, 11.6, 12.0, 12.5beta
* iPhone 3GS / iOS 3.0 / Mobile Safari 4.0
iPhone 4 / iOS 4.0.1 / Mobile Safari 4.0.5
iPhone 4S / iOS 6.0 Beta / Mobile Safari 6.0
Change-Id: I3e8227ddb87fd9441071ca935439fc6467751dab
Subramanya Sastry [Tue, 2 Oct 2012 21:43:33 +0000 (16:43 -0500)]
Additional template and pre-wrapping interaction tests.
Change-Id: I84f5b223d2f7abba3668be6f13784664380cf82f
Translation updater bot [Tue, 2 Oct 2012 20:33:24 +0000 (20:33 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I0b758741deecd9ab4836085ca9728b7dc274bd71