lhc/web/wiklou.git
10 years agoMerge "(bug 56184) Allow 3-way merge from arbitrary revisions"
jenkins-bot [Wed, 29 Jan 2014 23:56:04 +0000 (23:56 +0000)]
Merge "(bug 56184) Allow 3-way merge from arbitrary revisions"

10 years agoMerge "Remove commented defines"
jenkins-bot [Wed, 29 Jan 2014 23:41:14 +0000 (23:41 +0000)]
Merge "Remove commented defines"

10 years agoMerge "Make it a bit safer to paste input to eval.php"
jenkins-bot [Wed, 29 Jan 2014 23:35:49 +0000 (23:35 +0000)]
Merge "Make it a bit safer to paste input to eval.php"

10 years agoVarious fixes to job running code in Wiki.php
Aaron Schulz [Tue, 21 Jan 2014 19:32:18 +0000 (11:32 -0800)]
Various fixes to job running code in Wiki.php

* Make it async on Windows
* Fixed possible "invalid filename" errors on Windows
* Redirect output to dev/null to avoid hanging PHP

bug: 60231
bug: 58719
Change-Id: If4e52b86fb3a1bff283dfba3dfac213367f47543

10 years agoMerge "Renamed "removeDuplicates" field to be slightly clearer"
jenkins-bot [Wed, 29 Jan 2014 22:56:26 +0000 (22:56 +0000)]
Merge "Renamed "removeDuplicates" field to be slightly clearer"

10 years agoMerge "Special:PrefixIndex omits stripprefix=1 for "Next page" link"
jenkins-bot [Wed, 29 Jan 2014 21:26:40 +0000 (21:26 +0000)]
Merge "Special:PrefixIndex omits stripprefix=1 for "Next page" link"

10 years agoSpecial:PrefixIndex omits stripprefix=1 for "Next page" link
se4598 [Wed, 29 Jan 2014 12:21:45 +0000 (13:21 +0100)]
Special:PrefixIndex omits stripprefix=1 for "Next page" link

Bug: 60543
Change-Id: I05c26db132d0f7edadb82a798fdba37277a3eddb

10 years agoMerge "Add an SVG version of watch icon"
jenkins-bot [Wed, 29 Jan 2014 20:46:00 +0000 (20:46 +0000)]
Merge "Add an SVG version of watch icon"

10 years agoDocumentation: Tweak documentation of MediaWiki UI buttons
jrobson [Wed, 29 Jan 2014 20:25:32 +0000 (12:25 -0800)]
Documentation: Tweak documentation of MediaWiki UI buttons

Document big and block

Change-Id: Idebda1bca28f93d077ba77cbcbd1b1aee9e5f2ef

10 years agoMerge "Update mediawiki.ui button styles"
jenkins-bot [Wed, 29 Jan 2014 19:29:20 +0000 (19:29 +0000)]
Merge "Update mediawiki.ui button styles"

10 years agoMerge "SECURITY: Sanitize shell command args"
jenkins-bot [Wed, 29 Jan 2014 18:31:37 +0000 (18:31 +0000)]
Merge "SECURITY: Sanitize shell command args"

10 years agoSECURITY: Sanitize shell command args
Tim Starling [Mon, 27 Jan 2014 21:49:30 +0000 (13:49 -0800)]
SECURITY: Sanitize shell command args

Add validation and sanitization to several code paths.

Bug: 60339
Change-Id: Id124281d21ec730a2e0bbace843dd97194a712b4

10 years agoMerge "Add missing uploadstash.us_props for PostgreSQL"
jenkins-bot [Wed, 29 Jan 2014 18:19:48 +0000 (18:19 +0000)]
Merge "Add missing uploadstash.us_props for PostgreSQL"

10 years agoUse master db for showing log extract on RevDel success page
Brian Wolff [Sat, 16 Nov 2013 22:57:33 +0000 (18:57 -0400)]
Use master db for showing log extract on RevDel success page

On revision delete success, we show an excerpt from the log,
it is very confusing when that excerpt doesn't include the
action that you just did.

Bug: 57033
Change-Id: Ica79bf76243f7ab7a2a0fb40689c34bd2ffc0297

10 years agoRenamed "removeDuplicates" field to be slightly clearer
Aaron Schulz [Wed, 29 Jan 2014 17:51:17 +0000 (09:51 -0800)]
Renamed "removeDuplicates" field to be slightly clearer

Change-Id: I1dfeca54b928f20f4ea28724095d7dc6b907acf1

10 years agoMerge "Save generated parser output to cache in RefreshLinks"
jenkins-bot [Wed, 29 Jan 2014 17:34:57 +0000 (17:34 +0000)]
Merge "Save generated parser output to cache in RefreshLinks"

10 years agoMerge "Remove $wgUseTeX for checking if editing tools should be shown"
jenkins-bot [Wed, 29 Jan 2014 17:15:56 +0000 (17:15 +0000)]
Merge "Remove $wgUseTeX for checking if editing tools should be shown"

10 years agoMerge "Added a simple JobSpecification class for pushing jobs"
jenkins-bot [Wed, 29 Jan 2014 16:58:18 +0000 (16:58 +0000)]
Merge "Added a simple JobSpecification class for pushing jobs"

10 years agoMerge "OutputPage::showErrorPage raises a notice if arguments are incoherent"
jenkins-bot [Wed, 29 Jan 2014 16:10:21 +0000 (16:10 +0000)]
Merge "OutputPage::showErrorPage raises a notice if arguments are incoherent"

10 years agoOutputPage::showErrorPage raises a notice if arguments are incoherent
Dereckson [Wed, 29 Jan 2014 15:31:03 +0000 (16:31 +0100)]
OutputPage::showErrorPage raises a notice if arguments are incoherent

The method has the following signature:
OutputPage::showErrorPage( $title, $msg, $params = array() )

$msg can be a string or a Message object.

If it's a string, a Message object is built, with $params as parameters.
If it's a Message object, $params is ignored.

The core now triggers a notice in the case a call is made with $msg an instance
of Message object, and a (non-empty array) $params argument is given.

Change-Id: I227a416f088fc1acd6a04345ed0e24d06f967ecc

10 years agoMerge "Improve OutputPage::showErrorPage method documentation"
jenkins-bot [Wed, 29 Jan 2014 16:00:44 +0000 (16:00 +0000)]
Merge "Improve OutputPage::showErrorPage method documentation"

10 years agoImprove OutputPage::showErrorPage method documentation
Dereckson [Wed, 29 Jan 2014 15:30:40 +0000 (16:30 +0100)]
Improve OutputPage::showErrorPage method documentation

- Added the most usual case of call
- Fixed the incoherence between -Object and -Obj

Change-Id: I81207f4ef46a43529974e3ada194f2948a1e9017

10 years agoMerge "ChangesListSpecialPage: Implement buildMainQueryConds()"
jenkins-bot [Wed, 29 Jan 2014 15:34:18 +0000 (15:34 +0000)]
Merge "ChangesListSpecialPage: Implement buildMainQueryConds()"

10 years agoMerge "Removed "Justify paragraphs" from MW user Preference."
jenkins-bot [Wed, 29 Jan 2014 05:13:27 +0000 (05:13 +0000)]
Merge "Removed "Justify paragraphs" from MW user Preference."

10 years agoMerge "Made Special:Contributions includable"
jenkins-bot [Wed, 29 Jan 2014 02:51:22 +0000 (02:51 +0000)]
Merge "Made Special:Contributions includable"

10 years agoMade Special:Contributions includable
aalekhN [Wed, 8 Jan 2014 20:05:00 +0000 (01:35 +0530)]
Made Special:Contributions includable

This commit make Special:Contributions transcludable by changing
extended class SpecialPage to IncludableSpecialPage also it adds if
condition in execute function to avoid the inclusion of form when
Special:Contributions is transcluded into other appropriate MediaWiki pages.

Bug: 4365
Change-Id: I25c5cc3775b91fdc17c1209953d425c640e5bc77

10 years agoMerge "Add oldRev parameter to DiffRevisionTools hook"
jenkins-bot [Wed, 29 Jan 2014 01:44:01 +0000 (01:44 +0000)]
Merge "Add oldRev parameter to DiffRevisionTools hook"

10 years agoAdd oldRev parameter to DiffRevisionTools hook
Jackmcbarn [Fri, 3 Jan 2014 21:11:48 +0000 (16:11 -0500)]
Add oldRev parameter to DiffRevisionTools hook

Add a third parameter to the DiffRevisionTools hook, containing the old
revision.

Bug: 57721
Change-Id: I6ee956c5b9901033f618d7e4d09f8f416f3d72cb

10 years agoMerge "Propagate the favicon information to getInfo() for local repos"
jenkins-bot [Wed, 29 Jan 2014 00:19:27 +0000 (00:19 +0000)]
Merge "Propagate the favicon information to getInfo() for local repos"

10 years agoUpdate mediawiki.ui button styles
Juliusz Gonera [Mon, 23 Dec 2013 21:55:41 +0000 (22:55 +0100)]
Update mediawiki.ui button styles

Based on:
* https://www.mediawiki.org/wiki/File:Agora_specs_Buttons_annotated.png
* https://www.mediawiki.org/wiki/File:Guide_Color.png
* http://33cc77.com/wikipedia/ by Daniel Zarick

This has quiet buttons that all start gray, and only reveal
constructive/progressive/destructive color on hover and active.

Also:
* Update KSS docs to reflect disabled state.
* Remove unnecessary text-decoration: none rules (the one in
  a.mw-ui-button should be enough).

Bug: 58297
Bug: 54360
Change-Id: I1dd9bfac65092ad80bb8cd410031c22da0a18305

10 years agoMerge "Split Title and User ArrayFromResult classes to own files"
jenkins-bot [Tue, 28 Jan 2014 23:50:33 +0000 (23:50 +0000)]
Merge "Split Title and User ArrayFromResult classes to own files"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 28 Jan 2014 21:09:31 +0000 (21:09 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Icb726976f02aaed49f1b1e83a429c6a05c8ae103

10 years agoUse PHPUnit filter/whitelist to select the files that need testing.
Jan Zerebecki [Fri, 18 Oct 2013 19:03:12 +0000 (21:03 +0200)]
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

10 years agoMerge "(bug 47070) check content model namespace on import."
jenkins-bot [Tue, 28 Jan 2014 20:56:02 +0000 (20:56 +0000)]
Merge "(bug 47070) check content model namespace on import."

10 years agoMerge "Remove math specific code from ParserOptions"
jenkins-bot [Tue, 28 Jan 2014 20:46:59 +0000 (20:46 +0000)]
Merge "Remove math specific code from ParserOptions"

10 years agoMerge "Removed version check for mysql 4.1.0 from SqlBahOStuff::createTables"
jenkins-bot [Tue, 28 Jan 2014 19:17:59 +0000 (19:17 +0000)]
Merge "Removed version check for mysql 4.1.0 from SqlBahOStuff::createTables"

10 years agoMerge "Removed unused postConnectionBackoff() from LoadMonitor"
jenkins-bot [Tue, 28 Jan 2014 19:15:13 +0000 (19:15 +0000)]
Merge "Removed unused postConnectionBackoff() from LoadMonitor"

10 years agoRemoved unused postConnectionBackoff() from LoadMonitor
Aaron Schulz [Fri, 3 Jan 2014 04:43:29 +0000 (20:43 -0800)]
Removed unused postConnectionBackoff() from LoadMonitor

* This setting proved to be not terrible useful

Change-Id: I58b18947ff0edb8937229d0f130d7d10e846125e

10 years agoMerge "Remove setting referrer from HttpFunctions"
jenkins-bot [Tue, 28 Jan 2014 18:52:05 +0000 (18:52 +0000)]
Merge "Remove setting referrer from HttpFunctions"

10 years agoAdded a simple JobSpecification class for pushing jobs
Aaron Schulz [Mon, 27 Jan 2014 21:28:47 +0000 (13:28 -0800)]
Added a simple JobSpecification class for pushing jobs

* Both this and the full Job class can be used to push jobs

bug: 60403
Change-Id: I7e78321b5919e48fd8228580ddde7c90a6e4024e

10 years agoMerge "Avoid variable naming conflicts in DatabasePostgres::selectSQLText"
jenkins-bot [Tue, 28 Jan 2014 17:45:19 +0000 (17:45 +0000)]
Merge "Avoid variable naming conflicts in DatabasePostgres::selectSQLText"

10 years agoMerge "Correct sequence name for fresh Postgres installation"
jenkins-bot [Tue, 28 Jan 2014 17:00:38 +0000 (17:00 +0000)]
Merge "Correct sequence name for fresh Postgres installation"

10 years agoAvoid variable naming conflicts in DatabasePostgres::selectSQLText
umherirrender [Tue, 28 Jan 2014 16:52:57 +0000 (17:52 +0100)]
Avoid variable naming conflicts in DatabasePostgres::selectSQLText

Spotted by gebhkla on bug 60531

Bug: 60531
Change-Id: Iaf100ea0db05b142549bd98da108e48eae8b9101

10 years agoIgnore certain tidy warnings in assertValidHtmlDocument
Marius Hoch [Thu, 23 Jan 2014 20:02:34 +0000 (21:02 +0100)]
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

10 years agoRemoved version check for mysql 4.1.0 from SqlBahOStuff::createTables
tonythomas01 [Tue, 28 Jan 2014 09:56:11 +0000 (15:26 +0530)]
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

10 years agoMerge "skin: Remove the id "anonlogin" and merge pt-anonlogin with pt-login"
jenkins-bot [Tue, 28 Jan 2014 06:32:23 +0000 (06:32 +0000)]
Merge "skin: Remove the id "anonlogin" and merge pt-anonlogin with pt-login"

10 years agoMerge "Config: Add Config and GlobalConfig classes"
jenkins-bot [Tue, 28 Jan 2014 05:15:26 +0000 (05:15 +0000)]
Merge "Config: Add Config and GlobalConfig classes"

10 years agoConfig: Add Config and GlobalConfig classes
Kunal Mehta [Fri, 24 Jan 2014 01:45:11 +0000 (17:45 -0800)]
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

10 years agoDon't include empty categories in Special:Mostlinkedcategories
Brian Wolff [Thu, 26 Dec 2013 22:47:01 +0000 (15:47 -0700)]
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

10 years agoSave generated parser output to cache in RefreshLinks
Aaron Schulz [Mon, 27 Jan 2014 23:54:41 +0000 (15:54 -0800)]
Save generated parser output to cache in RefreshLinks

* This only applies to non-fast parses to avoid cache churn

Change-Id: If3763811a3aa6360799a10ff64a725f17d8cee6d

10 years agoskin: Remove the id "anonlogin" and merge pt-anonlogin with pt-login
Waldir Pimenta [Sat, 25 May 2013 12:25:31 +0000 (13:25 +0100)]
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

10 years agoMerge "Release notes for I9359682c"
jenkins-bot [Tue, 28 Jan 2014 01:32:02 +0000 (01:32 +0000)]
Merge "Release notes for I9359682c"

10 years agoMerge "Make preference "Email me when a page or file on my watchlist is changed"...
jenkins-bot [Tue, 28 Jan 2014 01:31:19 +0000 (01:31 +0000)]
Merge "Make preference "Email me when a page or file on my watchlist is changed" true by default"

10 years agoRelease notes for I9359682c
Bartosz Dziewoński [Mon, 27 Jan 2014 19:38:12 +0000 (20:38 +0100)]
Release notes for I9359682c

Forgotten earlier.

Change-Id: I8e2cad1bfb5f98916baaba104e3a34c8abd51dad

10 years agoRemove setting referrer from HttpFunctions
Chad Horohoe [Tue, 28 Jan 2014 00:39:20 +0000 (16:39 -0800)]
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

10 years agoIgnore 'unknown' in XFF
umherirrender [Mon, 27 Jan 2014 20:00:21 +0000 (21:00 +0100)]
Ignore 'unknown' in XFF

Can come from Squid
http://www.squid-cache.org/Doc/config/forwarded_for/

Bug: 57467
Change-Id: I3fd3170d31a1aff2e748302c30dd6e364ed3bdcd

10 years agoMake preference "Email me when a page or file on my watchlist is changed" true by...
Federico Leva [Thu, 12 Dec 2013 07:41:53 +0000 (08:41 +0100)]
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

10 years agoRemove commented defines
Chad Horohoe [Thu, 16 Jan 2014 20:43:42 +0000 (12:43 -0800)]
Remove commented defines

Change-Id: I0447646127e05d80c87db5b88942105d41d802bd

10 years agoRemove IE80Fixes.css
Fomafix [Mon, 27 Jan 2014 14:10:07 +0000 (14:10 +0000)]
Remove IE80Fixes.css

Reverts e30edaf0 (r62191).

Bug: 60237
Change-Id: Iba648a8bd6e917cec2e9906a6e412aa4d538cb60

10 years agoMerge "Use box-sizing:border-box for textarea"
jenkins-bot [Mon, 27 Jan 2014 20:07:24 +0000 (20:07 +0000)]
Merge "Use box-sizing:border-box for textarea"

10 years agoCorrect sequence name for fresh Postgres installation
umherirrender [Mon, 27 Jan 2014 19:38:59 +0000 (20:38 +0100)]
Correct sequence name for fresh Postgres installation

Spotted by gebhkla on bug 60083

Bug: 60083
Change-Id: I34283c2539f4ce9d1b85756b3e1c16d255000ed5

10 years agoPut expensive info action count behind $wgMiserMode
Aaron Schulz [Mon, 27 Jan 2014 19:38:21 +0000 (11:38 -0800)]
Put expensive info action count behind $wgMiserMode

Change-Id: Ie0507b9ed62556f8caaaaf9499a4a40b3342b5af

10 years agoMerge "Always return an array from SwiftFileBackend::addMissingMetadata"
jenkins-bot [Mon, 27 Jan 2014 17:59:48 +0000 (17:59 +0000)]
Merge "Always return an array from SwiftFileBackend::addMissingMetadata"

10 years agoAlways return an array from SwiftFileBackend::addMissingMetadata
Bryan Davis [Mon, 27 Jan 2014 17:25:29 +0000 (09:25 -0800)]
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

10 years agoChangesListSpecialPage: Implement buildMainQueryConds()
Bartosz Dziewoński [Tue, 24 Dec 2013 11:40:42 +0000 (12:40 +0100)]
ChangesListSpecialPage: Implement buildMainQueryConds()

This also involved adding some default options to getDefaultOptions()
and a new method getDB().

Change-Id: I7389a72bfcf176480bfc36f9d6efc467e1a5e76a

10 years agoDon't override limits and offsets in SearchEngine::create()
Chad Horohoe [Mon, 27 Jan 2014 16:52:47 +0000 (08:52 -0800)]
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

10 years agoMerge "Fix phpdoc in SwiftFileBackend"
jenkins-bot [Mon, 27 Jan 2014 16:12:01 +0000 (16:12 +0000)]
Merge "Fix phpdoc in SwiftFileBackend"

10 years agoFix phpdoc in SwiftFileBackend
addshore [Sun, 26 Jan 2014 18:47:42 +0000 (19:47 +0100)]
Fix phpdoc in SwiftFileBackend

Docs for $status and $code were swapped.

Change-Id: I88bd81b671f0e9a4176483fb744e45f2477672b5

10 years agoCreate jquery.fullscreen
theopolisme [Tue, 3 Dec 2013 03:52:43 +0000 (21:52 -0600)]
Create jquery.fullscreen

New plugin for making elements go fullscreen.
Incorporates some code from MultimediaViewer.

Bug: 56477
Change-Id: I58138afa05c43f5a24e74fa3a30a658428c39ce0

10 years agoMerge "Localisation updates from https://translatewiki.net."
Raimond Spekking [Mon, 27 Jan 2014 00:41:40 +0000 (00:41 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoMerge "Initial Tests for TitleArrayFromResult"
jenkins-bot [Sun, 26 Jan 2014 20:57:53 +0000 (20:57 +0000)]
Merge "Initial Tests for TitleArrayFromResult"

10 years agoMerge "Fix rebuildall.php fatal error with PostgreSQL"
jenkins-bot [Sun, 26 Jan 2014 20:55:46 +0000 (20:55 +0000)]
Merge "Fix rebuildall.php fatal error with PostgreSQL"

10 years agoMerge "Remove unused globals"
jenkins-bot [Sun, 26 Jan 2014 20:04:34 +0000 (20:04 +0000)]
Merge "Remove unused globals"

10 years agoMerge "ChangesListSpecialPage: Implement execute()"
jenkins-bot [Sun, 26 Jan 2014 20:03:47 +0000 (20:03 +0000)]
Merge "ChangesListSpecialPage: Implement execute()"

10 years agoMerge "No longer display the number of rows shown on Special:Watchlist"
jenkins-bot [Sun, 26 Jan 2014 20:03:00 +0000 (20:03 +0000)]
Merge "No longer display the number of rows shown on Special:Watchlist"

10 years agoRemove unused globals
addshore [Sun, 26 Jan 2014 18:59:23 +0000 (19:59 +0100)]
Remove unused globals

Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f

10 years agoChangesListSpecialPage: Implement execute()
Bartosz Dziewoński [Sun, 22 Dec 2013 13:47:36 +0000 (14:47 +0100)]
ChangesListSpecialPage: Implement execute()

Merging common content from SpecialRecentChanges and SpecialWatchlist
plus some cleanup.

Change-Id: Ic4bbedf2015a9f20a6e63ec53a72df91f1e3a2fe

10 years agoNo longer display the number of rows shown on Special:Watchlist
Bartosz Dziewoński [Sun, 22 Dec 2013 14:53:13 +0000 (15:53 +0100)]
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

10 years agoFix typo: "oaram" --> "param"
Kunal Mehta [Sun, 26 Jan 2014 19:49:25 +0000 (11:49 -0800)]
Fix typo: "oaram" --> "param"

Change-Id: Iff06f32c05cc83657770857b48d6201d1285eb07

10 years agoMerge "Add initial tests for UserArrayFromResult"
jenkins-bot [Sun, 26 Jan 2014 18:41:49 +0000 (18:41 +0000)]
Merge "Add initial tests for UserArrayFromResult"

10 years agoSplit Title and User ArrayFromResult classes to own files
addshore [Sun, 26 Jan 2014 17:49:18 +0000 (18:49 +0100)]
Split Title and User ArrayFromResult classes to own files

Change-Id: I8744627330eb9c8f183a8d418d6eb168e6c5407b

10 years agoInitial Tests for TitleArrayFromResult
addshore [Sun, 26 Jan 2014 17:46:20 +0000 (18:46 +0100)]
Initial Tests for TitleArrayFromResult

Change-Id: I18635ed25a09e4646f68db4678179d437a700659

10 years agoAdd initial tests for UserArrayFromResult
addshore [Sun, 26 Jan 2014 17:40:46 +0000 (18:40 +0100)]
Add initial tests for UserArrayFromResult

Change-Id: I92498011be44cd765cf336191810f47b61a0fd7e

10 years agoFix rebuildall.php fatal error with PostgreSQL
lethosor [Sun, 26 Jan 2014 16:49:16 +0000 (11:49 -0500)]
Fix rebuildall.php fatal error with PostgreSQL

The fix for 47055 introduced a fatal error when running rebuildall.php. This
is a workaround suggested by gebhkla on Bugzilla (idle for 10+ days). It just
checks to make sure $options is actually an array before calling array_search
on it.

Bug: 60094
Change-Id: Ib54420b5a749c60b82a4757a9f5fa511f48fdb72

10 years agoMerge "Expand MWTimestamp tests"
jenkins-bot [Sun, 26 Jan 2014 17:07:17 +0000 (17:07 +0000)]
Merge "Expand MWTimestamp tests"

10 years agoExpand MWTimestamp tests
addshore [Sat, 25 Jan 2014 15:48:54 +0000 (16:48 +0100)]
Expand MWTimestamp tests

Change-Id: I00215ecd85b7403a05a75d5eaccbbd2819343624

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 26 Jan 2014 15:54:15 +0000 (15:54 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I8187963fdb3b2cb88ee7afc1cc3b32cf8672e20b

10 years agoMerge "SpecialWantedcategories: Actually strike the category if it was emptied"
jenkins-bot [Sun, 26 Jan 2014 15:25:36 +0000 (15:25 +0000)]
Merge "SpecialWantedcategories: Actually strike the category if it was emptied"

10 years agoMerge "Add Special:Diff as an internally-linkable redirect to diff pages"
jenkins-bot [Sun, 26 Jan 2014 04:52:59 +0000 (04:52 +0000)]
Merge "Add Special:Diff as an internally-linkable redirect to diff pages"

10 years agoRemove $wgUseTeX for checking if editing tools should be shown
physikerwelt [Sun, 26 Jan 2014 00:24:59 +0000 (00:24 +0000)]
Remove $wgUseTeX for checking if editing tools should be shown

The EditPage toolbar used the global $wgUseTeX to determine, if
the icon for inserting math should be shown. Now we simply check
if the class MathRenderer exits.

Change-Id: I0a0203f2d8c295bfc56694eb08c9986420c086cf

10 years agoMerge "+Test for Status->CleanParams with a callback"
jenkins-bot [Sat, 25 Jan 2014 22:24:00 +0000 (22:24 +0000)]
Merge "+Test for Status->CleanParams with a callback"

10 years agoMerge "Add test that covers Status::fatal"
jenkins-bot [Sat, 25 Jan 2014 22:23:47 +0000 (22:23 +0000)]
Merge "Add test that covers Status::fatal"

10 years agoMerge "Add test for Status->merge with overrideValue true"
jenkins-bot [Sat, 25 Jan 2014 22:23:02 +0000 (22:23 +0000)]
Merge "Add test for Status->merge with overrideValue true"

10 years agoMerge "Cleanup RefreshLinksPartitionTest"
jenkins-bot [Sat, 25 Jan 2014 22:15:11 +0000 (22:15 +0000)]
Merge "Cleanup RefreshLinksPartitionTest"

10 years agoRemove math specific code from ParserOptions
physikerwelt [Mon, 20 Jan 2014 09:00:54 +0000 (09:00 +0000)]
Remove math specific code from ParserOptions

There is some math specific code in ParserOptions.
To allow extensions like math to change the cache key in a reasonable matter,
they need to get access to the information which options were used. Therefore,
optionUsed is public now and the additional argument $forOptions was added to
the PageRenderingHash hook.

Bug: 60234
Change-Id: Ieecb27216c39b7e6e354b4a1904fbff06506307d

10 years agoMerge "Add release notes for removed RdfMetaData class"
jenkins-bot [Sat, 25 Jan 2014 21:23:54 +0000 (21:23 +0000)]
Merge "Add release notes for removed RdfMetaData class"

10 years agoAdd Special:Diff as an internally-linkable redirect to diff pages
Jérémie Roquet [Sun, 12 May 2013 22:10:47 +0000 (00:10 +0200)]
Add Special:Diff as an internally-linkable redirect to diff pages

This is similar to Special:PermanentLink added in r79036 and has been
asked for several times in different places, including:
- on the English Wikipedia (oldid=539308532)
- on mediawiki.org (lqt_oldid=31691)
- on the French Wikipedia (oldid=93029892)
- on the English Wikipedia again (oldid=588408888)

A notable use-case is linking to diffs in the edit summaries, where
external links are not yet allowed (bug 14892).

All of the following are valid usages:
- [[Special:Diff/12345]] (diff of a revision with the previous one)
- [[Special:Diff/12345/prev]] (diff of a revision with the previous one as well)
- [[Special:Diff/12345/next]] (diff of a revision with the next one)
- [[Special:Diff/12345/cur]] (diff of a revision with the latest one of that page)
- [[Special:Diff/12345/98765]] (diff between arbitrary two revisions)

Co-authored-by: Jérémie Roquet <jroquet@arkanosis.net>
Co-authored-by: Bartosz Dziewoński <matma.rex@gmail.com>
Change-Id: I77fdaf8e04375caa1d67ca4a3ec3bd93920c3309

10 years agoAdd release notes for removed RdfMetaData class
umherirrender [Fri, 24 Jan 2014 16:23:41 +0000 (17:23 +0100)]
Add release notes for removed RdfMetaData class

Follow-Up: I3454d605a741bc97a51a1ad471a17eb3053d662f
Change-Id: Id1a04ea330da90ed84dae692bde7c64a5ac06cd5

10 years agoSplit Timestamp.php into class and exception files
addshore [Sat, 25 Jan 2014 15:21:09 +0000 (16:21 +0100)]
Split Timestamp.php into class and exception files

Change-Id: I438adfe5479a1017baee8f2b663f3fb2e49c685a

10 years ago+Test for Status->CleanParams with a callback
addshore [Sat, 25 Jan 2014 15:14:49 +0000 (16:14 +0100)]
+Test for Status->CleanParams with a callback

Change-Id: I4e7570ea041d28303388c630b3ca07225faf8551