Kunal Mehta [Wed, 30 Dec 2015 01:52:11 +0000 (17:52 -0800)]
registration: Prevent loading the same thing twice
Normally the registry load queue should filter out duplicates, but if
people do weird things with symlinks, throw a useful error message if
the double-loading makes it all the way to the processor.
Bug: T121493
Change-Id: I47f5cd754e5f3c91e6b83a6d0ab542404347a421
Arlo Breault [Wed, 30 Dec 2015 00:30:43 +0000 (16:30 -0800)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
cc0dfb3271495d764e471d18927b0b3ee8ce1cdb
Change-Id: I3fd6f8cc31a5536471a04d2f6a52de92893f9911
jenkins-bot [Wed, 30 Dec 2015 00:16:48 +0000 (00:16 +0000)]
Merge "Revert "Sync up with Parsoid parserTests.""
jenkins-bot [Wed, 30 Dec 2015 00:16:43 +0000 (00:16 +0000)]
Merge "registration: Allow loading composer's autoloader if it exists"
jenkins-bot [Wed, 30 Dec 2015 00:16:39 +0000 (00:16 +0000)]
Merge "Split classes in Import.php into separate files"
jenkins-bot [Wed, 30 Dec 2015 00:16:20 +0000 (00:16 +0000)]
Merge "Show user names as subpages of special pages in autocomplete search"
Subramanya Sastry [Tue, 29 Dec 2015 23:33:19 +0000 (23:33 +0000)]
Revert "Sync up with Parsoid parserTests."
Something is broken in the syncing worfklow. I deleted a
test that cscott added in
1888bf560.
Reverting this sync so we can figure out what is broken.
This reverts commit
b55a729f74a9af552c1c57586e89e9c6e53b55e4.
Change-Id: Idd32daa95bb44fd073262a1c37ded236bf724e5d
victorbarbu [Sun, 27 Dec 2015 09:03:41 +0000 (11:03 +0200)]
registration: Allow loading composer's autoloader if it exists
Extensions that have composer dependencies can set
"load_composer_autoloader": true
to load "$dir/vendor/autoload.php" if it exists.
While it is recommended to use composer-merge-plugin to manage
composer dependencies for extensions, using a local autoloader
can be easier for development and is used by ExtensionDistributor.
Bug: T119766
Change-Id: Ib031bef17c8a7d708a5c7878e74967d19217bbc8
Subramanya Sastry [Tue, 29 Dec 2015 21:43:31 +0000 (15:43 -0600)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
cc0dfb3271495d764e471d18927b0b3ee8ce1cdb
Change-Id: Iea3694b397c4e4b8ae87b1e61418767e2109f61e
umherirrender [Thu, 3 Dec 2015 20:08:31 +0000 (21:08 +0100)]
Show user names as subpages of special pages in autocomplete search
The autocomplete search allows special pages to define the list of
subpages to be excepted. Use user names on the following special pages,
because these special pages can be called with a user name as subpage.
Special:Block
Special:Contributions
Special:DeletedContributions
Special:Emailuser
Special:Listfiles
Special:Unblock
Special:Userrights
This makes it easier to navigate to this special pages with a prefilled
user name field.
Hidden user names are always not shown, because the suggestion is cached
between priviliged user and non-priviliged user.
Change-Id: I7db575bf66caaa5136489ed99f1655673b55adaf
jenkins-bot [Tue, 29 Dec 2015 00:33:35 +0000 (00:33 +0000)]
Merge "Align mediawiki.ui vars with CSS color guidelines"
jenkins-bot [Mon, 28 Dec 2015 23:44:43 +0000 (23:44 +0000)]
Merge "Fix SpecialFileDuplicateSearch::prefixSearchSubpages"
jenkins-bot [Mon, 28 Dec 2015 23:44:39 +0000 (23:44 +0000)]
Merge "Set TransactionProfiler expectations in the API"
Krzysztof Zbudniewek [Mon, 28 Dec 2015 22:27:48 +0000 (23:27 +0100)]
Split classes in Import.php into separate files
Bug: T122532
Change-Id: Ic4463ab8d3a7b2779f43efb92cb790dbc1d88064
jenkins-bot [Mon, 28 Dec 2015 23:38:36 +0000 (23:38 +0000)]
Merge "Avoid CAS update errors on password reset"
Aaron Schulz [Wed, 16 Dec 2015 23:46:43 +0000 (15:46 -0800)]
Set TransactionProfiler expectations in the API
This is similar to the main() method for index.php but also
makes use of write mode checks to more granular.
Change-Id: I40fbaef0f5eaefaf2c6d0937d49016a17da532da
jenkins-bot [Mon, 28 Dec 2015 23:27:16 +0000 (23:27 +0000)]
Merge "Add PLURAL support and "human readable" sizes for mediastatistics messages"
Aaron Schulz [Wed, 23 Dec 2015 02:18:59 +0000 (18:18 -0800)]
Added IDatabase::doAtomicSection() convenience method
This can replace startAtomic/endAtomic pairs.
Bug: T122115
Change-Id: I01c8e4773ec2b42dbe87a5508a10b997be103c11
mhutti1 [Mon, 28 Dec 2015 22:23:22 +0000 (23:23 +0100)]
Split Export.php classes into seperate files
Moved classes in Export.php to seperate files in the new directory
includes/export/ and updated autoload.php to these new locations.
Bug: T122531
Change-Id: Idd3bba5a85d65c952f2ff503bea2ca76624c9b7f
jenkins-bot [Mon, 28 Dec 2015 22:23:39 +0000 (22:23 +0000)]
Merge "Added PHP/OS info to benchmark output"
nicoco007 [Mon, 28 Dec 2015 18:42:15 +0000 (13:42 -0500)]
Added PHP/OS info to benchmark output
Added PHP version and architecture and OS version to benchmark output.
Change-Id: I018e6bf8bb60f594ac512ef2113e404dd304786a
umherirrender [Mon, 28 Dec 2015 22:10:12 +0000 (23:10 +0100)]
Fix SpecialFileDuplicateSearch::prefixSearchSubpages
search suggestion without namespaces was not showing any list
Follows I71f77c3001a12d75b901807c20115cead9c64e93
Change-Id: Ib361e3de0cfd595e9f8949b9225ed37c29b8a3ef
Adam Roses Wight [Mon, 19 Oct 2015 08:33:54 +0000 (01:33 -0700)]
Use template to render EnhancedChangesList groups
Rewrite a chunky HTML string concatenation party as Mustache template
rendering. This decouples the view from the controller.
Bug: T120921
Change-Id: I3217b80168f89e7b91dbc33a7053865ad3408615
jenkins-bot [Mon, 28 Dec 2015 19:39:37 +0000 (19:39 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date"
Translation updater bot [Mon, 28 Dec 2015 19:35:57 +0000 (20:35 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie3874e36c1a377fad23bb7156fff1d1f5086bf9c
Prateek Saxena [Tue, 20 Oct 2015 04:57:25 +0000 (10:27 +0530)]
mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date
Use the file's lastModified date, or EXIF DateTimeOriginal (where
available) as the default value of the DateInputWidget instead of
leaving it blank.
A lot of the code here is from mw.UploadWizardUpload.prototype.checkFile.
Bug: T115863
Change-Id: I75adec9718d89a7177050e8b848478d1b0069dd0
jenkins-bot [Mon, 28 Dec 2015 19:00:45 +0000 (19:00 +0000)]
Merge "Namespace translations for Gilaki (glk)"
jenkins-bot [Mon, 28 Dec 2015 18:07:10 +0000 (18:07 +0000)]
Merge "Support fragments in getUrl() of mw.Title"
jenkins-bot [Mon, 28 Dec 2015 11:12:50 +0000 (11:12 +0000)]
Merge "Replace \r\n with \n in resources\src\mediawiki\bookletlayout\*.svg"
This, that and the other [Mon, 28 Dec 2015 08:51:28 +0000 (19:51 +1100)]
Namespace translations for Gilaki (glk)
Bug: T122127
Change-Id: I8cf45d9ecdece90a0ae6d70f2436699fc14cff20
jenkins-bot [Mon, 28 Dec 2015 08:22:05 +0000 (08:22 +0000)]
Merge "Namespace translations for Lojban (jbo)"
Andrew H [Sun, 27 Dec 2015 04:04:40 +0000 (04:04 +0000)]
Support fragments in getUrl() of mw.Title
Now that mw.util.getUrl() supports fragments, pass it the title
including fragments.
Bug: T103715
Change-Id: I0e3665e74fd4208a7ab0a9b361803aa37f22d61b
mhutti1 [Fri, 25 Dec 2015 20:14:02 +0000 (21:14 +0100)]
Added a simple smoke test for export
Added ExportTest.php to check that exported xml is valid.
Bug: T116883
Change-Id: I76151a6ab4f88ab1904627ad1d00ed487d0ab606
umherirrender [Sun, 27 Dec 2015 20:56:54 +0000 (21:56 +0100)]
Replace \r\n with \n in resources\src\mediawiki\bookletlayout\*.svg
Unix newline style is used in mediawiki/core, not windows newline style
Follows Ic14da2c6408ab15416dab1ebd1397507d0950b33
Follows I8d8fbf8e58b4ef5d9956731c8b85d5db07b3f5ed
Follows I06c207aa89b85cfa5994fa9be8fa6bc623d739d7
Change-Id: Icb6a3c583072fa4a010d73024ffa0994be30c35c
jenkins-bot [Sun, 27 Dec 2015 21:00:26 +0000 (21:00 +0000)]
Merge "Use wikimedia/at-ease insteaad of @"
Florian [Sun, 27 Dec 2015 20:36:18 +0000 (21:36 +0100)]
Use wikimedia/at-ease insteaad of @
Change-Id: Icba412dd5db11b596ad1cf740b8408823297bc86
umherirrender [Sun, 27 Dec 2015 20:43:13 +0000 (21:43 +0100)]
Copy in release notes for last maintenance releases into HISTORY
Copy in release notes for last releases:
1.26.2: Iae3ab6fe60b348abf6f2723b2601bd64fb3261ba
1.25.5: I995da41b703eab7b6435ab6745d8513b53c533f5
1.24.6: I05d2c3e6ed8527ba1933558f9636a3beb2d6bd80
1.23.13: I5080cf9fa699c59ee5d2bb2ae9bbbb09fa262e41
Remove Compatibility and Upgrading section from 1.25, previous releases
does not include this section, too.
Update header structure:
- Added missing header
- Increase h2 to h3 when needed
- Decrease h2 to h1 when needed
Change-Id: I37a1134c539bdcb728816fe9825c56de18878d03
Reedy [Sun, 27 Dec 2015 20:21:51 +0000 (20:21 +0000)]
Support phpunit-old.phar
Bug: T122485
Change-Id: Ic21c6c1ca5afaac0e298cf0259f5dc273dfec128
Jeff Janes [Thu, 17 Dec 2015 05:30:46 +0000 (21:30 -0800)]
PostgreSQL: Add quotes to timestamp
The fix for bug T114806 doesn't quote timestamps it sends
directly to the database (i.e. not in bind variables). Timestamps
in PostgreSQL require quotes. Add addQuotes call.
Bug: T121743
Change-Id: If8da1a0171f55d59c63f5501c854aa8fa48d5992
Translation updater bot [Sun, 27 Dec 2015 19:08:37 +0000 (20:08 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic75e75797c5f1fab074043a1eb7daa74d7d0241b
umherirrender [Sun, 27 Dec 2015 17:48:47 +0000 (18:48 +0100)]
Remove various double empty newlines
The double empty newline is not needed between functions, variable or at
end of file
Change-Id: Ib866a95084c4601ac150a2b402cfa184ebc18afa
jenkins-bot [Sun, 27 Dec 2015 06:51:32 +0000 (06:51 +0000)]
Merge "Tweak wording for 'passwordreset-emailsentemail', 'passwordreset-emailsentusername'"
jenkins-bot [Sun, 27 Dec 2015 05:56:54 +0000 (05:56 +0000)]
Merge "Change multiple documentations in DairkiDiff"
jenkins-bot [Sun, 27 Dec 2015 05:52:24 +0000 (05:52 +0000)]
Merge "Make sure docs encourage __METHOD__ use for begin/commit"
Florian [Tue, 22 Dec 2015 19:17:12 +0000 (20:17 +0100)]
Add PLURAL support and "human readable" sizes for mediastatistics messages
Follow up: I4216566df4dd24
Change-Id: I2793d60c1d6ef74d32a10bb55c31a2f750f6f44b
jenkins-bot [Sun, 27 Dec 2015 03:18:57 +0000 (03:18 +0000)]
Merge "Add --rootpage parameter to importDump.php"
Andrew H [Sat, 26 Dec 2015 03:49:48 +0000 (03:49 +0000)]
Add --rootpage parameter to importDump.php
The --rootpage parameter will import pages as subpages
of a specified page.
Bug: T72272
Change-Id: Ie026b091275668765ea06e947d45bed64354f2cb
Volker E [Sat, 26 Dec 2015 04:03:01 +0000 (20:03 -0800)]
Align mediawiki.ui vars with CSS color guidelines
Harmonizing Less variables values to all lowercase and shorthand
notation throughout file
Change-Id: Ib43a9a31eff4e0f2028aa099c5e49912f49ed388
jenkins-bot [Sat, 26 Dec 2015 21:12:30 +0000 (21:12 +0000)]
Merge "Enable mediawiki.action.view.redirect on mobile"
jenkins-bot [Sat, 26 Dec 2015 20:53:55 +0000 (20:53 +0000)]
Merge "LivePreview: Update page status indicators"
Translation updater bot [Sat, 26 Dec 2015 19:36:41 +0000 (20:36 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I41e3ba49bbb7242b61ea6e75420f802f3dbdec6e
Michael Holloway [Sat, 26 Dec 2015 02:40:48 +0000 (21:40 -0500)]
Enable mediawiki.action.view.redirect on mobile
Added mobile target to its entry in Resources.php. Tested in
Chromium dev tools with various emulated mobile devices and it Just
Works.
Bug: T93262
Change-Id: Idb416b0877ea5a3764936389dfe59d4653ad96d0
Geoffrey Mon [Fri, 27 Nov 2015 16:53:39 +0000 (11:53 -0500)]
Disable Preferences save button if settings have not changed
Disable the Special:Preferences 'Save' button if no
settings have been changed. This prevents unnecessary saving when
you can't remember if you saved the settings or not.
Uses new check for preference change to prevent disabling the button
if the user makes preferences changes before JS is done loading.
Bug: T89457
Change-Id: I1064c5e76a3c1f856b9b9288baaf39cc102edf8a
jenkins-bot [Fri, 25 Dec 2015 23:46:55 +0000 (23:46 +0000)]
Merge "Check each Special:Preferences input for changes"
Fomafix [Tue, 27 Jan 2015 19:26:28 +0000 (19:26 +0000)]
LivePreview: Update page status indicators
Bug: T87557
Change-Id: I0caa7f3d9498943b3b1bc9054e63092042dd9405
Geoffrey Mon [Thu, 26 Nov 2015 21:41:41 +0000 (16:41 -0500)]
Check each Special:Preferences input for changes
When checking for changes in the Special:Preferences form, instead of serializing
original form data (which fails with asynchronous loading of JS, if the user changes
something before JS is done loading), compare the value of each input to the default
value.
Bug: T119732
Change-Id: Ib48a9b334f639e417a0642c6c090ba18afc477ce
Translation updater bot [Fri, 25 Dec 2015 20:39:00 +0000 (21:39 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I8a62187f564e3364733b7d182bd92b393e1e1599
Paladox [Thu, 24 Dec 2015 14:12:42 +0000 (14:12 +0000)]
Update grunt-jsonlint to 1.0.7
This update now tells you on which line in which file the error happends.
Changelog is
1.0.7 Include file name and JSON source line number in error messages
1.0.6 CJSON support thanks to @fredghosn, unit tests
Change-Id: I38dc4a51416cfde0bb0434921d15f1c119abc01b
This, that and the other [Thu, 24 Dec 2015 06:00:57 +0000 (17:00 +1100)]
Namespace translations for Lojban (jbo)
Bug: T117841
Change-Id: If7ed783f86cf35a562d7d6630217915f57796a8d
jenkins-bot [Thu, 24 Dec 2015 04:27:09 +0000 (04:27 +0000)]
Merge "SpecialContributions: Simplify check for 'Special:Contributions/newbies'"
Aaron Schulz [Thu, 24 Dec 2015 01:23:15 +0000 (17:23 -0800)]
Make sure docs encourage __METHOD__ use for begin/commit
Change-Id: Id9c2d1b30f9dd758b418894b5751556daff20f0e
jenkins-bot [Wed, 23 Dec 2015 23:27:30 +0000 (23:27 +0000)]
Merge "Make getLagFromPtHeartbeat() always use the LB cluster master entry"
jenkins-bot [Wed, 23 Dec 2015 22:40:39 +0000 (22:40 +0000)]
Merge "Allow $wgInterwikiCache to be an associative array"
Ori Livneh [Sun, 1 Nov 2015 06:04:18 +0000 (23:04 -0700)]
Allow $wgInterwikiCache to be an associative array
For the same reasons wikiversions.cdb was converted to a PHP file -- viz., that
static arrays in PHP files get cached in HHVM's bytecode cache and are
therefore faster to use with HHVM than CDB files.
Bug: T122362
Change-Id: I5a979f047031ef211622f399df9b3b388797f53a
jenkins-bot [Wed, 23 Dec 2015 22:09:21 +0000 (22:09 +0000)]
Merge "SpecialMediaSattistics: Add header for "Total file size""
Bartosz Dziewoński [Wed, 23 Dec 2015 21:17:06 +0000 (22:17 +0100)]
SpecialContributions: Simplify check for 'Special:Contributions/newbies'
Added in
54615b5ea1a05caf40461b46193b4779e912f528 (per T36659)
as a possibly temporary workaround, it has stuck around for six
release versions now. It's not going to suddenly disappear
and we shouldn't optimize this code for ease of removal :)
Bug: T36659
Change-Id: I946ae7cf164f5c71b2ea4023161df7452bd1745a
jenkins-bot [Wed, 23 Dec 2015 20:57:29 +0000 (20:57 +0000)]
Merge "Remove arbitrary newSequentialPerNodeIDs() $count limit"
Translation updater bot [Wed, 23 Dec 2015 20:49:01 +0000 (21:49 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Idfa0fd6e8908367a74f73118ac1d430196fd839b
Florian [Wed, 23 Dec 2015 20:23:58 +0000 (21:23 +0100)]
SpecialMediaSattistics: Add header for "Total file size"
Bug: T122208
Change-Id: I1fb9f3c80e2def9623ce8b5d4e3765fe9cbafa25
jenkins-bot [Wed, 23 Dec 2015 20:06:42 +0000 (20:06 +0000)]
Merge "Remove mediawiki.special.javaScriptTest module"
Timo Tijhof [Fri, 18 Dec 2015 22:03:53 +0000 (14:03 -0800)]
Remove mediawiki.special.javaScriptTest module
We're almost ready to drop the non-plain mode of Special:JavaScriptTest
in favour of Special:JavaScript/qunit/plain. There's a few mobile-related
extensions still using the non-karma mode for qunit testing.
However, none of them make use of the Skin selector, which was mainly a debug
thing I added in the initial version. It no longer makes sense since our tests
now enforce an anti-dependency on skin html and other context. Encouraging
testing in multiple skins in the old UI therefore no longer makes sense.
This also fixes one of the most frequent errors in resourceloader logs and gets
rid of an ugly hack in Resources.php that causes a small amount of overhead
in ResourceLoader::__construct().
> MessageBlobStore failed to find skinname-fallback
> MessageBlobStore failed to find skinname-apioutput
Change-Id: Idaacf718703883c6a7e83a17ccd3f41ebdca53d1
jenkins-bot [Wed, 23 Dec 2015 19:09:13 +0000 (19:09 +0000)]
Merge "mediawiki.util: Remove outdated comment from unit test"
jenkins-bot [Wed, 23 Dec 2015 18:48:39 +0000 (18:48 +0000)]
Merge "Pass __METHOD__ to load balancer commit/rollback methods"
jenkins-bot [Wed, 23 Dec 2015 18:43:00 +0000 (18:43 +0000)]
Merge "Add submit message for Special:PageLanguage"
victorbarbu [Wed, 23 Dec 2015 11:16:35 +0000 (13:16 +0200)]
Add submit message for Special:PageLanguage
Added a submit message for Special:PageLanguage to fix the misleading
behavior in other languages than English.
Bug: T120578
Change-Id: I725ef06ec7cfb0fe6d002c54113411e81b033ae4
jenkins-bot [Wed, 23 Dec 2015 13:12:52 +0000 (13:12 +0000)]
Merge "mw.widgets.CategorySelector: Prevent duplicates"
jenkins-bot [Wed, 23 Dec 2015 10:17:41 +0000 (10:17 +0000)]
Merge changes I69557b09,I9bd0b280
* changes:
Prevent blocked users from changing user rights through the API
Add dieBlocked to APIBase and make use of it
jenkins-bot [Wed, 23 Dec 2015 09:40:13 +0000 (09:40 +0000)]
Merge "Import: Importing no longer accepts too big revisions"
This, that and the other [Wed, 23 Dec 2015 09:31:37 +0000 (20:31 +1100)]
Import: Importing no longer accepts too big revisions
Make sure the size of imported revisions does not exceed $wgMaxArticleSize.
Bug: T73230
Change-Id: I6addace7d0eae565196bba564fbd1e329b681064
jenkins-bot [Wed, 23 Dec 2015 09:28:40 +0000 (09:28 +0000)]
Merge "UserCSSPrefsModule: Remove redundant inline text-decoration:none css rules"
Aaron Schulz [Wed, 23 Dec 2015 03:06:00 +0000 (19:06 -0800)]
Add more $wgCdnReboundPurgeDelay comments
Change-Id: I038efb5981bbdbb5aa51c1f55b9a13e7cc70da2b
Aaron Schulz [Wed, 23 Dec 2015 02:30:20 +0000 (18:30 -0800)]
Pass __METHOD__ to load balancer commit/rollback methods
Change-Id: I3fd87908c2a493fae49de6a29efe79f8d433c112
jenkins-bot [Wed, 23 Dec 2015 01:38:52 +0000 (01:38 +0000)]
Merge "Don't allow atttributes whose namespace starts with `data-`."
jenkins-bot [Wed, 23 Dec 2015 01:21:10 +0000 (01:21 +0000)]
Merge "Avoid "Unable to set value to APCBagOStuff" exceptions"
jenkins-bot [Wed, 23 Dec 2015 00:30:30 +0000 (00:30 +0000)]
Merge "diff: Make DifferenceEngine patrol link creation more flexible"
jenkins-bot [Wed, 23 Dec 2015 00:22:37 +0000 (00:22 +0000)]
Merge "Change talkpagelinktext to lowercase"
Florian [Fri, 4 Dec 2015 17:34:49 +0000 (18:34 +0100)]
diff: Make DifferenceEngine patrol link creation more flexible
* Move the main logic from DifferenceEngine::markPatrolledLink() to
DifferenceEngine::getMarkPatrolledLinkInfo(). Returning an array of
information instead of a complete HTML string.
Bug: T101491
Change-Id: Id09ccf60aec9b693d7df648a6dfcde629545f620
jenkins-bot [Tue, 22 Dec 2015 23:38:39 +0000 (23:38 +0000)]
Merge "Remove IE 6&7 CSS hacks"
C. Scott Ananian [Tue, 22 Dec 2015 23:24:33 +0000 (18:24 -0500)]
Don't allow atttributes whose namespace starts with `data-`.
Change-Id: Ia76c74941b09e3ad131fe2fee31ffec3e540170b
Timo Tijhof [Wed, 8 Jul 2015 18:56:31 +0000 (19:56 +0100)]
UserCSSPrefsModule: Remove redundant inline text-decoration:none css rules
By default user option 'underline' is '2' which means no skin override.
Once a upon a time, none of the popular MediaWiki skins specified whether links should have
underlines, and most browsers default to having an underline on links (when not hovering).
As such, there was an exception added for languages where underlines cause text to be unreadable.
Nowadays however all modern skins explicitly specify the intended design for links.
Neither the default skin (Vector) nor other popular skins I checked have underlines by default.
As such, this rule is redundant.
If a skin comes along that does specify underlines by default, then these rules should be placed
in that skins' stylesheet. Not in the HTML of all pages.
Incidentally, this was the last code branch in ResourceLoaderUserCSSPrefsModule that is true by
default. Which means from now on this <style> tag is automatically omitted from the HTML for
logged-out users and users that haven't changed the 'underline' or 'editfont' preference.
Implement the missing isKnownEmpty() method so that OutputPage does the automatic omission.
To test the new text-decoration rule in mediawiki.skinning:
* Change user preference language to "ar" and observe anchor links in the interface
not having underlines on-hover.
* Change $wgLanguageCode to "ar" and observe anchor links in the content not having
underlines on-hover.
History:
* 2011 (
043f98a3; r101445) Move overrides from shared.css to ResourceLoaderUserOptionsModule
Also remove "!important" from underline css
* 2011 (
33293c9b; r96261) Apply "!important" to underline user option css
* 2011 (
81446abc; r91432; T31712) Move overrides from MessageXX.php to skins/common/shared.css
* 2006 (
43b2fb56; r15823) Move overrides from LanguageXX.php to MessageX.php
* 2004 (
f9f3e915) Add override to LanguageAr.php
Bug: T105313
Change-Id: I94dda30fb80b30e9c12a74a8b09065da55681929
Timo Tijhof [Tue, 22 Dec 2015 22:30:23 +0000 (14:30 -0800)]
mediawiki.util: Remove outdated comment from unit test
'wgArticlePath' is actually in the startup module, but that is irrelevant
since tests should (and do) mock these configs regardless of whether they
have defaults so that they work regardless of the wiki configuration.
Change-Id: I8b9321ed9f578b614f5d89fe8ab0ab6ad9f508f2
Derk-Jan Hartman [Mon, 21 Dec 2015 13:28:05 +0000 (14:28 +0100)]
Change talkpagelinktext to lowercase
The message is used during the string "Some user (Talk | contribs |
block)". There, it's used as a general noun, which shouldn't be
capitalized.
This message has been not capitalized on en.wp since 2009
Bug: T99225
Change-Id: I0c18ada9a6a0224f76e14e52f6da1cbfa81e68dd
jenkins-bot [Tue, 22 Dec 2015 21:29:26 +0000 (21:29 +0000)]
Merge "Let LBFactory/LoadBalancer transaction methods take __METHOD__"
jenkins-bot [Tue, 22 Dec 2015 21:29:11 +0000 (21:29 +0000)]
Merge "mw.widgets.CategorySelector: Don't use 'new' with $.Deferred"
Translation updater bot [Tue, 22 Dec 2015 20:52:24 +0000 (21:52 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I48331e4966e62de65fc08a755a0f98b5ca630093
Aaron Schulz [Tue, 22 Dec 2015 11:05:45 +0000 (03:05 -0800)]
Let LBFactory/LoadBalancer transaction methods take __METHOD__
Also send commitAll() times to statsd like commitMasterChanges().
Change-Id: I261ca89f00e40b35f2ddeef6845b111720e7e43c
Bartosz Dziewoński [Tue, 22 Dec 2015 19:50:41 +0000 (20:50 +0100)]
mw.widgets.CategorySelector: Don't use 'new' with $.Deferred
Both ways work, but this seems to be the standard one.
Change-Id: Id1cf918781672a4b6f4b8c80b5d0c9f2d179a403
Bartosz Dziewoński [Tue, 22 Dec 2015 17:06:36 +0000 (18:06 +0100)]
Title: Fix typo in variable name
Change-Id: I8da1c995f2da2e7a43c70aeadd28b93e5f3e511f
jenkins-bot [Tue, 22 Dec 2015 19:36:27 +0000 (19:36 +0000)]
Merge "Support Mustache partials in Mustache template module"
Andrew H [Mon, 21 Dec 2015 20:17:40 +0000 (20:17 +0000)]
Prevent blocked users from changing user rights through the API
Prevent blocked users only if they do not have full userrights privleges,
which is the same behavior as implemented in Special:UserRights.
Change-Id: I69557b0951c8fb8b4e7d3ba571b0e5d30782ab4c