lhc/web/wiklou.git
10 years agoMerge "Adding python 3 support for the Makefile.py file for the zhtable"
jenkins-bot [Fri, 31 Jan 2014 18:46:43 +0000 (18:46 +0000)]
Merge "Adding python 3 support for the Makefile.py file for the zhtable"

10 years agoMerge "Remove unused acceptListRedirects()"
jenkins-bot [Fri, 31 Jan 2014 18:41:13 +0000 (18:41 +0000)]
Merge "Remove unused acceptListRedirects()"

10 years agoMerge "Improve clarity of diff-multi message"
jenkins-bot [Fri, 31 Jan 2014 17:24:00 +0000 (17:24 +0000)]
Merge "Improve clarity of diff-multi message"

10 years agoSpecial:Contributions: add all params to feed URL
mrbluesky [Sat, 18 Jan 2014 21:46:59 +0000 (22:46 +0100)]
Special:Contributions: add all params to feed URL

On Special:Contributions, the parameters namespace, year, month,
tagfilter, deletedonly, toponly are not applied to the feed link in
the toolbox
(action=feedcontributions).

Bug: 54093
Change-Id: Ib070b53786360d1c4911e0e4b50e61140466526c

10 years agoMerge "Revert "User::saveOptions() optimization""
jenkins-bot [Fri, 31 Jan 2014 00:41:55 +0000 (00:41 +0000)]
Merge "Revert "User::saveOptions() optimization""

10 years agoRevert "User::saveOptions() optimization"
Mattflaschen [Thu, 30 Jan 2014 23:38:59 +0000 (23:38 +0000)]
Revert "User::saveOptions() optimization"

The hooks are not actually being called multiple times,
since getDefaultOptions caches its return value
(except while unit testing).

However, this change caused a regression due to different
handling of saved values (e.g. false no longer saves
when the default is true).

This reverts commit ff355e87e2f7a41a87c37f43232a44113cb033e0.

Bug: 60653
Change-Id: Ibbd34dde5ec5fafbdf6097337cc0fa94614f0b85

10 years agoMerge "Fixed stream wrapper in PhpHttpRequest"
jenkins-bot [Thu, 30 Jan 2014 23:12:44 +0000 (23:12 +0000)]
Merge "Fixed stream wrapper in PhpHttpRequest"

10 years agoMerge "Made LinksUpdate::updateLinksTimestamp() use a more correct timestamp"
jenkins-bot [Thu, 30 Jan 2014 22:59:14 +0000 (22:59 +0000)]
Merge "Made LinksUpdate::updateLinksTimestamp() use a more correct timestamp"

10 years agoFixed getReaderIndex() handling of $group
Aaron Schulz [Wed, 15 Jan 2014 18:20:52 +0000 (10:20 -0800)]
Fixed getReaderIndex() handling of $group

* Connections for a group should not override the generic connection handle.
  That can cause special DBs to be reused for general queries more so than
  optimal.
* Also made the code use ProfileSection to clean it up a bit.

Change-Id: Ia8973133a93410bd906d8ad52a711a7d810df2f6

10 years agoMade LinksUpdate::updateLinksTimestamp() use a more correct timestamp
Aaron Schulz [Thu, 30 Jan 2014 22:13:08 +0000 (14:13 -0800)]
Made LinksUpdate::updateLinksTimestamp() use a more correct timestamp

* This can matter if page Y uses templates A and B, someone edits A,
  someone edits Y, someone edits B, an A-refreshLinks job on Y runs
  (using cache), then a B-refreshLinks job runs on Y. Previously,
  the later job could incorrectly no-op itself due to the high
  page_links_updated value on Y.

Change-Id: I984d2d1fc5aa075f3e3ead4921deaffbdc20e963

10 years agoMerge "Propagate the favicon information to getInfo()"
jenkins-bot [Thu, 30 Jan 2014 20:44:49 +0000 (20:44 +0000)]
Merge "Propagate the favicon information to getInfo()"

10 years agoMerge "Document OutputPage->mDoNothing"
jenkins-bot [Thu, 30 Jan 2014 20:17:22 +0000 (20:17 +0000)]
Merge "Document OutputPage->mDoNothing"

10 years agoDocument OutputPage->mDoNothing
Matthew Flaschen [Thu, 30 Jan 2014 20:11:33 +0000 (12:11 -0800)]
Document OutputPage->mDoNothing

Change-Id: Id1d30ec29fb219a95532432cd8fc76209f3baa8f

10 years agoMerge "ChangesListSpecialPage: Stop mutating $opts in buildMainQueryConds()"
jenkins-bot [Thu, 30 Jan 2014 20:00:59 +0000 (20:00 +0000)]
Merge "ChangesListSpecialPage: Stop mutating $opts in buildMainQueryConds()"

10 years agoMerge "ChangesListSpecialPage: Implement webOutput()"
jenkins-bot [Thu, 30 Jan 2014 20:00:10 +0000 (20:00 +0000)]
Merge "ChangesListSpecialPage: Implement webOutput()"

10 years agoMerge "ChangesListSpecialPage: Implement doMainQuery()"
jenkins-bot [Thu, 30 Jan 2014 19:55:49 +0000 (19:55 +0000)]
Merge "ChangesListSpecialPage: Implement doMainQuery()"

10 years agoFix typo in ApiQueryRevisions
Kunal Mehta [Thu, 30 Jan 2014 19:36:53 +0000 (11:36 -0800)]
Fix typo in ApiQueryRevisions

Bug: 60635
Change-Id: Icd04ad8e5faaa4cb49a84e2002c953ef9f436cc7

10 years agoMerge "Check for CoreParserFunction::urlFunction from array to boolean and return...
jenkins-bot [Thu, 30 Jan 2014 19:31:31 +0000 (19:31 +0000)]
Merge "Check for CoreParserFunction::urlFunction from array to boolean and return values accordingly to htmlspecialchars()"

10 years agoRemove unused acceptListRedirects()
Chad Horohoe [Thu, 30 Jan 2014 19:08:01 +0000 (11:08 -0800)]
Remove unused acceptListRedirects()

Change-Id: I411f6f9934917b424591287f5bebbb8183952f32

10 years agoMerge "Remove vestiges of AdminSettings.php"
jenkins-bot [Thu, 30 Jan 2014 19:05:39 +0000 (19:05 +0000)]
Merge "Remove vestiges of AdminSettings.php"

10 years agoMerge "Use regular slaves for user contribs parent revision queries"
jenkins-bot [Thu, 30 Jan 2014 19:02:27 +0000 (19:02 +0000)]
Merge "Use regular slaves for user contribs parent revision queries"

10 years agoMerge "adding se4598 to CREDITS"
jenkins-bot [Thu, 30 Jan 2014 18:37:53 +0000 (18:37 +0000)]
Merge "adding se4598 to CREDITS"

10 years agoMerge "Space out search results just ever so slightly"
jenkins-bot [Thu, 30 Jan 2014 18:35:47 +0000 (18:35 +0000)]
Merge "Space out search results just ever so slightly"

10 years agoMerge "treat true as empty string, skip false in xml format"
jenkins-bot [Thu, 30 Jan 2014 18:34:33 +0000 (18:34 +0000)]
Merge "treat true as empty string, skip false in xml format"

10 years agoadding se4598 to CREDITS
se4598 [Thu, 30 Jan 2014 18:24:46 +0000 (19:24 +0100)]
adding se4598 to CREDITS

for patch I05c26db132d0f7edadb82a798fdba37277a3eddb

Change-Id: I8bc2e3c198bcac08bb0c002671fc6649c81969cd

10 years agoCheck for CoreParserFunction::urlFunction from array to boolean
tonythomas01 [Sun, 12 Jan 2014 07:10:23 +0000 (12:40 +0530)]
Check for CoreParserFunction::urlFunction from array to boolean
and return values accordingly to htmlspecialchars()

PHP Warning: htmlspecialchars() expects parameter 1 to be string,
array given in CoreParserFunctions.php on line 212
Checked for the return value of urlFunction in localurle() and fullurle()
function

Bug: 59881
Change-Id: I7ae092f89b9cfbbe91d1883c2182ca5907825ba4

10 years agoSpace out search results just ever so slightly
Chad Horohoe [Thu, 30 Jan 2014 16:52:35 +0000 (08:52 -0800)]
Space out search results just ever so slightly

1em feels too cluttered. 1.2 gives it just enough extra
space to be noticeable without putting them too far apart.

Before and after picture: https://www.mediawiki.org/wiki/File:New_search_spacing.png

Change-Id: I18d94078174e856095bf9f5687dacbba19b9f418

10 years agoMerge "Revert "Remove styles for #mw-createaccount-join""
jenkins-bot [Thu, 30 Jan 2014 12:08:34 +0000 (12:08 +0000)]
Merge "Revert "Remove styles for #mw-createaccount-join""

10 years agoRevert "Remove styles for #mw-createaccount-join"
Spage [Thu, 30 Jan 2014 06:25:02 +0000 (06:25 +0000)]
Revert "Remove styles for #mw-createaccount-join"

The CSS makes the button not full-width and gives it a white border to
stand out from the image behind.  These will be unnecessary when we
right-align Agora buttons and drop the background image, but not yet.

This reverts commit c6218b8f008403c519d797140b76ae4f215347e3.

Change-Id: I39776b554909978094bfaa031b3ece6066f998ca

10 years agoRemove unreachable statement
Reedy [Thu, 30 Jan 2014 04:04:47 +0000 (04:04 +0000)]
Remove unreachable statement

Change-Id: I79175695698a6ef393eff841580263c867719e25

10 years agoMerge "Fix various docs and version numbers from 84a2f570"
jenkins-bot [Thu, 30 Jan 2014 03:09:35 +0000 (03:09 +0000)]
Merge "Fix various docs and version numbers from 84a2f570"

10 years agoMerge "ErrorPageError and subclasses use array() instead of null per their docs"
jenkins-bot [Thu, 30 Jan 2014 01:47:26 +0000 (01:47 +0000)]
Merge "ErrorPageError and subclasses use array() instead of null per their docs"

10 years agoClean up whitespace in various javascript files
Fomafix [Wed, 22 Jan 2014 13:52:25 +0000 (13:52 +0000)]
Clean up whitespace in various javascript files

Change-Id: I8d144bac9745a458ed6bd4f275cbcea412fc6f5c

10 years agoMerge "Use new mw-ui-constructive Agora styles"
jenkins-bot [Thu, 30 Jan 2014 01:21:20 +0000 (01:21 +0000)]
Merge "Use new mw-ui-constructive Agora styles"

10 years agoUse new mw-ui-constructive Agora styles
S Page [Wed, 29 Jan 2014 22:44:42 +0000 (14:44 -0800)]
Use new mw-ui-constructive Agora styles

The new Agora ("beveled bottom") version deprecates mw-ui-primary.
* Use mw-ui-constructive (green) for Login, Create account, and Reset
password.
* Use mw-ui-progressive (blue) for Join <wiki> and Search.

A separate change I90954ea will implement right-aligned and quieter button layout.

Bug: 60596
Change-Id: Ia1fe557e7ebeac011c5da7297e848c1bfee7910f

10 years agoRemove styles for #mw-createaccount-join
Juliusz Gonera [Tue, 7 Jan 2014 19:11:15 +0000 (20:11 +0100)]
Remove styles for #mw-createaccount-join

Not needed with updated mediawiki.ui button styles.

Change-Id: I47578dd340b6c0d244e7696936a7bfa52c36f204

10 years agoErrorPageError and subclasses use array() instead of null per their docs
Bartosz Dziewoński [Thu, 30 Jan 2014 00:25:30 +0000 (01:25 +0100)]
ErrorPageError and subclasses use array() instead of null per their docs

Follow-up to I227a416f. I think I've gotten them all.

Change-Id: I521ad886a804718f8a3871491a1ca910e532bfb0

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 agoRemove vestiges of AdminSettings.php
Chad Horohoe [Wed, 29 Jan 2014 23:08:19 +0000 (15:08 -0800)]
Remove vestiges of AdminSettings.php

This has been deprecated and mostly unused for quite some time.
Remove the few remaining uses that exist.

Change-Id: I522ef138d291cf7567250fef1de34bb41673bc6c

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 agoChangesListSpecialPage: Stop mutating $opts in buildMainQueryConds()
Bartosz Dziewoński [Fri, 3 Jan 2014 15:48:06 +0000 (16:48 +0100)]
ChangesListSpecialPage: Stop mutating $opts in buildMainQueryConds()

Change-Id: I25bd15c3018e56ede05a529e38e577d6744c103e

10 years agoChangesListSpecialPage: Implement webOutput()
Bartosz Dziewoński [Fri, 3 Jan 2014 15:23:45 +0000 (16:23 +0100)]
ChangesListSpecialPage: Implement webOutput()

Split in two more functions: outputFeedLinks() and outputChangesList().

Change-Id: I62c6eab1c25c5ff3a71150205416e8f57764f6bc

10 years agoChangesListSpecialPage: Implement doMainQuery()
Bartosz Dziewoński [Fri, 3 Jan 2014 14:31:16 +0000 (15:31 +0100)]
ChangesListSpecialPage: Implement doMainQuery()

Here SpecialWatchlist and SpecialRecentChanges are different enough
that I think it's clearer not to make them call parent; I just cleaned
them up a little and extracted the common parts to
ChangesListSpecialPage.

Change-Id: I3b90e9a0d5017f61f5c50c6c6b35b2876c9644ee

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