Commit graph

53496 commits

Author SHA1 Message Date
jenkins-bot
f726bbf6e7 Merge "Add oldRev parameter to DiffRevisionTools hook" 2014-01-29 01:44:01 +00:00
Jackmcbarn
25b83169c8 Add oldRev parameter to DiffRevisionTools hook
Add a third parameter to the DiffRevisionTools hook, containing the old
revision.

Bug: 57721
Change-Id: I6ee956c5b9901033f618d7e4d09f8f416f3d72cb
2014-01-28 20:43:55 -05:00
jenkins-bot
609fe35a3a Merge "Propagate the favicon information to getInfo() for local repos" 2014-01-29 00:19:27 +00:00
jenkins-bot
1d551bdf7b Merge "Split Title and User ArrayFromResult classes to own files" 2014-01-28 23:50:33 +00:00
Translation updater bot
7b1abca5c0 Localisation updates from https://translatewiki.net.
Change-Id: Icb726976f02aaed49f1b1e83a429c6a05c8ae103
2014-01-28 21:09:31 +00:00
Jan Zerebecki
ee753ba4e8 Use PHPUnit filter/whitelist to select the files that need testing.
This has the effect of excluding the tests themselves from the code coverage
and including files that no test loads.

Change-Id: I65674ca3569d1ae6484b6769366213d71c0bdbc4
2014-01-28 20:56:31 +00:00
jenkins-bot
70ae276db1 Merge "(bug 47070) check content model namespace on import." 2014-01-28 20:56:02 +00:00
jenkins-bot
e58ebbe87d Merge "Remove math specific code from ParserOptions" 2014-01-28 20:46:59 +00:00
jenkins-bot
bffc9ea60d Merge "Removed version check for mysql 4.1.0 from SqlBahOStuff::createTables" 2014-01-28 19:17:59 +00:00
jenkins-bot
2b332fd950 Merge "Removed unused postConnectionBackoff() from LoadMonitor" 2014-01-28 19:15:13 +00:00
Aaron Schulz
b3c9653090 Removed unused postConnectionBackoff() from LoadMonitor
* This setting proved to be not terrible useful

Change-Id: I58b18947ff0edb8937229d0f130d7d10e846125e
2014-01-28 11:00:55 -08:00
jenkins-bot
69397626e7 Merge "Remove setting referrer from HttpFunctions" 2014-01-28 18:52:05 +00:00
jenkins-bot
717f428d64 Merge "Avoid variable naming conflicts in DatabasePostgres::selectSQLText" 2014-01-28 17:45:19 +00:00
jenkins-bot
d9d09124ef Merge "Correct sequence name for fresh Postgres installation" 2014-01-28 17:00:38 +00:00
umherirrender
8f8540a6d9 Avoid variable naming conflicts in DatabasePostgres::selectSQLText
Spotted by gebhkla on bug 60531

Bug: 60531
Change-Id: Iaf100ea0db05b142549bd98da108e48eae8b9101
2014-01-28 17:52:57 +01:00
Marius Hoch
5785c77a00 Ignore certain tidy warnings in assertValidHtmlDocument
Those aren't really useful, especially as tidy often
cries about parameters missing which have been
deprecated since HTML 4, so that these warnings have
no value for us.

Change-Id: Ic27c597aa988079ed08e152861bf1dee9581b829
2014-01-28 10:46:45 +00:00
tonythomas01
225f1b724c Removed version check for mysql 4.1.0 from SqlBahOStuff::createTables
Presently mysql v5.0.2 or later is supported.

Bug: 59125
Change-Id: I9043a6f792c6479a85411addbe9fd448ed5e02a6
2014-01-28 15:43:32 +05:30
jenkins-bot
d715ec14eb Merge "skin: Remove the id "anonlogin" and merge pt-anonlogin with pt-login" 2014-01-28 06:32:23 +00:00
jenkins-bot
529c02dc47 Merge "Config: Add Config and GlobalConfig classes" 2014-01-28 05:15:26 +00:00
Kunal Mehta
fbfe789b98 Config: Add Config and GlobalConfig classes
Allows configuration options to be fetched from context.

Only one implementation, GlobalConfig, is provided, which
simply returns $GLOBALS[$name]. There can be more classes
in the future, possibly a database-based one. For convinience
the "wg" prefix is automatically added.

Ironically, this adds the $wgConfigClass global variable
which is used to determine which implementation of Config
to use by default.

The ContextSource getConfig and setConfig methods were introduced
in I23194d1ba (1.23), but have no uses in Gerrit, so they can safely
be re-purposed.

Change-Id: I13baec0b6d4ea7badf20b9c5f9b40846348838e4
2014-01-27 21:10:30 -08:00
Brian Wolff
a42c28d871 Don't include empty categories in Special:Mostlinkedcategories
We never delete things from the category table, so there are
entries in it with 0 members, which really shouldn't show up
on the special page.

Bug: 58967
Change-Id: I6bdf5a5196724f7970fb79497ef912cf8268ec3e
2014-01-28 02:25:15 +00:00
Waldir Pimenta
1078e93358 skin: Remove the id "anonlogin" and merge pt-anonlogin with pt-login
This was used as an alternative id for the login link in the
personal tools at the top right for ShowIPinHeader context.

This seems to have been inherited since the days of the
PHPTal-based skins (at least git-blame shows their presence back
in Brion's rewrite of the skin in november 2004).

I've asked several maintainers about this and nobody could figure
out why it would need a different id. After all, whenever the
user sees the login link it means they are using the wiki as an
anonymous user.

My best guess is that this was meant to allow the ability to
style the login differently when the (anonymous) user has
already made an edit (or if we init a session for other reasons).

This is also what toggles the anon userlinks are shown (i.e. the
links to the IP userpage and talkpage), but I see no evidence of
this, and in any case it would be better to change the class of
the whole personal tools div instead of changing the IDs.

Change-Id: Ib3445934853db5361c3c6fecfe75623b0b921400
2014-01-27 18:04:22 -08:00
jenkins-bot
08f6860810 Merge "Release notes for I9359682c" 2014-01-28 01:32:02 +00:00
jenkins-bot
868d19da53 Merge "Make preference "Email me when a page or file on my watchlist is changed" true by default" 2014-01-28 01:31:19 +00:00
Bartosz Dziewoński
2a67aad6c5 Release notes for I9359682c
Forgotten earlier.

Change-Id: I8e2cad1bfb5f98916baaba104e3a34c8abd51dad
2014-01-28 01:20:57 +00:00
Chad Horohoe
609a76b147 Remove setting referrer from HttpFunctions
It was introduced in 5d210b50 but no callers have ever been updated
so this always falls back on $wgTitle (which is usually wrong). It
only works on cURL, and is marginally useful at best.

Change-Id: Ic498108af9f466cefbd0072f94f0efa4055cd169
2014-01-27 16:39:20 -08:00
umherirrender
bda7e863ef Ignore 'unknown' in XFF
Can come from Squid
http://www.squid-cache.org/Doc/config/forwarded_for/

Bug: 57467
Change-Id: I3fd3170d31a1aff2e748302c30dd6e364ed3bdcd
2014-01-28 00:39:20 +00:00
Federico Leva
5954fc5b16 Make preference "Email me when a page or file on my watchlist is changed" true by default
Consistent with the recent work in making vanilla MediaWiki closer to what a standard site
would do, with more obvious defaults, and bug 45020.

WMF can sort out its special problems separately and is not affected by this, see Iad6d13509.

Bug: 45022
Change-Id: I9757cff9728f377363c540b1ab809679a1bfa01d
2014-01-28 00:34:13 +00:00
Fomafix
5c018a186b Remove IE80Fixes.css
Reverts e30edaf0 (r62191).

Bug: 60237
Change-Id: Iba648a8bd6e917cec2e9906a6e412aa4d538cb60
2014-01-27 20:09:12 +00:00
jenkins-bot
d5e4bea76b Merge "Use box-sizing:border-box for textarea" 2014-01-27 20:07:24 +00:00
umherirrender
305622fbc9 Correct sequence name for fresh Postgres installation
Spotted by gebhkla on bug 60083

Bug: 60083
Change-Id: I34283c2539f4ce9d1b85756b3e1c16d255000ed5
2014-01-27 20:38:59 +01:00
Aaron Schulz
34a9db1d67 Put expensive info action count behind $wgMiserMode
Change-Id: Ie0507b9ed62556f8caaaaf9499a4a40b3342b5af
2014-01-27 11:38:21 -08:00
jenkins-bot
0db4c8d514 Merge "Always return an array from SwiftFileBackend::addMissingMetadata" 2014-01-27 17:59:48 +00:00
Bryan Davis
03efc39055 Always return an array from SwiftFileBackend::addMissingMetadata
Correct the behavior of SwiftFileBackend::addMissingMetadata to match
the documentation and calling code expectations by always returning an
array.

Bug: 60477
Change-Id: I8d12888a6ebfa23502f8cf3a28866dcb00a18ec8
2014-01-27 09:54:25 -08:00
Chad Horohoe
791a384979 Don't override limits and offsets in SearchEngine::create()
The class default is 10/0, it doesn't make sense to set that
as 0/0 here. Nor does it make sense to really override it
here at all, as class defaults should take precedent unless
explicitly overriden by callers.

Bug: 60475
Change-Id: I4a48fd3c55908b52c8b0ab081d856874d16b876e
2014-01-27 08:55:40 -08:00
jenkins-bot
7937829b9b Merge "Fix phpdoc in SwiftFileBackend" 2014-01-27 16:12:01 +00:00
addshore
6e57736499 Fix phpdoc in SwiftFileBackend
Docs for $status and $code were swapped.

Change-Id: I88bd81b671f0e9a4176483fb744e45f2477672b5
2014-01-27 16:07:55 +00:00
theopolisme
37835854c7 Create jquery.fullscreen
New plugin for making elements go fullscreen.
Incorporates some code from MultimediaViewer.

Bug: 56477
Change-Id: I58138afa05c43f5a24e74fa3a30a658428c39ce0
2014-01-27 14:15:19 +01:00
Raimond Spekking
b59acb6d48 Merge "Localisation updates from https://translatewiki.net." 2014-01-27 00:41:40 +00:00
jenkins-bot
9202d52e6c Merge "Initial Tests for TitleArrayFromResult" 2014-01-26 20:57:53 +00:00
jenkins-bot
d500ce8f0d Merge "Fix rebuildall.php fatal error with PostgreSQL" 2014-01-26 20:55:46 +00:00
jenkins-bot
146a3645ad Merge "Remove unused globals" 2014-01-26 20:04:34 +00:00
jenkins-bot
1ef5a2918e Merge "ChangesListSpecialPage: Implement execute()" 2014-01-26 20:03:47 +00:00
jenkins-bot
6029cd9c29 Merge "No longer display the number of rows shown on Special:Watchlist" 2014-01-26 20:03:00 +00:00
addshore
97925bfa4d Remove unused globals
Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f
2014-01-26 20:51:45 +01:00
Bartosz Dziewoński
e61ff86ab1 ChangesListSpecialPage: Implement execute()
Merging common content from SpecialRecentChanges and SpecialWatchlist
plus some cleanup.

Change-Id: Ic4bbedf2015a9f20a6e63ec53a72df91f1e3a2fe
2014-01-26 20:51:44 +01:00
Bartosz Dziewoński
31f32f990e No longer display the number of rows shown on Special:Watchlist
My rationale for doing this is that passing this several functions
down is awkward and arguably bad design.

It's still a better rationale than the one used to add this in 2004,
which was replacing another value to fix HTML injection bug (r4728).

Change-Id: Iada3a93762dd25fdaf35fb707304abc40bd4a5b1
2014-01-26 20:51:38 +01:00
Kunal Mehta
3cf85fbb67 Fix typo: "oaram" --> "param"
Change-Id: Iff06f32c05cc83657770857b48d6201d1285eb07
2014-01-26 11:49:25 -08:00
jenkins-bot
9c78809a16 Merge "Add initial tests for UserArrayFromResult" 2014-01-26 18:41:49 +00:00
addshore
e3c0ab20bf Split Title and User ArrayFromResult classes to own files
Change-Id: I8744627330eb9c8f183a8d418d6eb168e6c5407b
2014-01-26 18:32:43 +00:00