lhc/web/wiklou.git
10 years agoMaintenance script for benchmarking parse operations
Tim Starling [Wed, 18 Dec 2013 23:44:54 +0000 (10:44 +1100)]
Maintenance script for benchmarking parse operations

Including a feature allowing templates from some other time to be used,
which allows comparative benchmarking before and after the migration of
a template to Lua.

Change-Id: I3bf3366a5ff589421f6c52e9186e0cea05e6cff3

10 years agoFixed use of qcc_value by Special:ActiveUsers
Aaron Schulz [Tue, 4 Feb 2014 21:50:51 +0000 (13:50 -0800)]
Fixed use of qcc_value by Special:ActiveUsers

* This should just be a UNIX timestamp.

Change-Id: I5197986a448dba957358a4575273794b8ac6361d

10 years agoRemove trailing line breaks from wfDebugLog() messages
Alexandre Emsenhuber [Tue, 4 Feb 2014 21:16:13 +0000 (22:16 +0100)]
Remove trailing line breaks from wfDebugLog() messages

This is useless since the message is passed through trim() and a
line break is added afterwards.

Change-Id: I1a26b30a07f7c9c749fce5bb6b2b4b3d79901b7c

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 4 Feb 2014 21:12:54 +0000 (21:12 +0000)]
Merge "Localisation updates from https://translatewiki.net."

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

Change-Id: I7495920a69bfa9f42b9021543ba7d98a03dd5911

10 years agoMerge "mediawiki.ui: Remove white-space: nowrap; for buttons"
jenkins-bot [Tue, 4 Feb 2014 21:01:16 +0000 (21:01 +0000)]
Merge "mediawiki.ui: Remove white-space: nowrap; for buttons"

10 years agoMade ActiveUsers use querycache and do staggered updates on view
Aaron Schulz [Thu, 30 Jan 2014 01:50:08 +0000 (17:50 -0800)]
Made ActiveUsers use querycache and do staggered updates on view

Bug: 41078
Change-Id: Id9c2377e0d2636fa9aaed01839678e2b8abe824e

10 years agoAdd API action=revisiondelete
Brad Jorsch [Wed, 26 Jun 2013 20:59:40 +0000 (16:59 -0400)]
Add API action=revisiondelete

Add action=revisiondelete to the API, and some functions to the
revisiondelete backend to support this.

Bug: 23005
Change-Id: Iee146fed648603b86a35927518f850771fc69bd2

10 years agoEnhance the destination control parameter of wfDebug() and wfDebugLog()
Alexandre Emsenhuber [Thu, 14 Nov 2013 11:17:25 +0000 (12:17 +0100)]
Enhance the destination control parameter of wfDebug() and wfDebugLog()

- The parameter is now a string, making is more understandable than
  boolean values
- It takes the same values in both wfDebug() and wfDebugLog() (except
  for 'private' which is only used in the latter)
- This adds a new possibility to wfDebugLog() to log the message either
  on the specific log or the general one, but not to the debug toolbar
- Old boolean values are still recognised for backward compatibility
- Also send the messages passed to wfDebugLog() to the debug toolbar
  when they are written to a specific log and not restricted to logs
- Updated the calls of and wfDebug() and wfDebugLog() with the last
  parameter to change it into a string
- Renamed MWDebug::sendWarning() to MWDebug::sendMessage() and added
  $group parameter to it; will not break anything since that method
  is marked as private
- Changed the call to wfDebug() from MWDebug::sendMessage() to use
  wfDebugLog() with 'log' as thrid parameter, so that those messages
  can be logged separately from the main log and they don't show up
  a second time on the "debug log" tab of the debug toolbar

Change-Id: I1be09d4c1d3408ed5b26a5db02691c17c0ec0926

10 years agoMerge "Detect already-undone edits for undo"
jenkins-bot [Tue, 4 Feb 2014 19:55:55 +0000 (19:55 +0000)]
Merge "Detect already-undone edits for undo"

10 years agoMerge "Support ApiPageSet in ApiWatch"
jenkins-bot [Tue, 4 Feb 2014 19:52:05 +0000 (19:52 +0000)]
Merge "Support ApiPageSet in ApiWatch"

10 years agoDetect already-undone edits for undo
Brad Jorsch [Sun, 8 Dec 2013 15:14:20 +0000 (10:14 -0500)]
Detect already-undone edits for undo

When an edit has already been undone by a later edit, the current
behavior of displaying undo-success with an empty diff tends to confuse
users. It seems it would be better to detect this situation and display
a message along the lines of "This edit has already been undone".

Bug: 29762
Change-Id: Ia40a06046a72b0de52a2b75165ca105bbf4e2e6a

10 years agoSupport ApiPageSet in ApiWatch
eranroz [Wed, 29 Jan 2014 18:10:36 +0000 (20:10 +0200)]
Support ApiPageSet in ApiWatch

Add support for ApiPageSet capabilities in ApiWatch to support batch
operation on titles, pageids etc. The old 'title' parameter (for a
single page) is still supported to keep backwards compatibility.

Moved a function from ApiPurge to ApiPageSet: getInvalidTitlesAndRevisions() gathers
warnings about invalid/missing titles/ids in the requested page set.

Split from If993f6e8.

Change-Id: I820dcb64d469616b10741df013911197cc5bde29

10 years agoVector: Add missing rule in HTML compatibility styles
Bartosz Dziewoński [Tue, 4 Feb 2014 19:24:48 +0000 (20:24 +0100)]
Vector: Add missing rule in HTML compatibility styles

Follow-up to I5fe0543e.

Change-Id: Ia1a7022c916d12e443e373dc6abf80137e01c155

10 years agoDon't override the 'limit' parameter when building feed query
Bartosz Dziewoński [Tue, 4 Feb 2014 15:37:33 +0000 (16:37 +0100)]
Don't override the 'limit' parameter when building feed query

Calling mutating functions is not cool here.

Bug: 60795
Change-Id: I7dff8a9c6f97cbeddd42603982ce923aa4388bc8

10 years agoMerge "Add title tests about interwiki prefix"
jenkins-bot [Tue, 4 Feb 2014 18:50:42 +0000 (18:50 +0000)]
Merge "Add title tests about interwiki prefix"

10 years agoMerge "API: Handle "special" options in action=options"
jenkins-bot [Tue, 4 Feb 2014 18:43:40 +0000 (18:43 +0000)]
Merge "API: Handle "special" options in action=options"

10 years agoMerge "Don't escape the mail's subject in Special:PasswordReset"
jenkins-bot [Tue, 4 Feb 2014 18:35:48 +0000 (18:35 +0000)]
Merge "Don't escape the mail's subject in Special:PasswordReset"

10 years agoHandle space in namespace prefixed searches
Nik Everett [Tue, 4 Feb 2014 15:54:51 +0000 (10:54 -0500)]
Handle space in namespace prefixed searches

MWSearch handles namespace prefixed searches containing spaces so core
should as well.

Bug: 60489
Change-Id: I7e602d005a8b2786942b76b7185882e5107942c4

10 years agoAdd title tests about interwiki prefix
umherirrender [Fri, 10 Jan 2014 20:40:25 +0000 (21:40 +0100)]
Add title tests about interwiki prefix

Also test $wgLocalInterwiki.
The js part does not respect interwikis,
so there is no need to add tests for that.

Change-Id: I407355295b65bc67eb171da435c1505797569d3e

10 years agoMerge "Now cache has cleared remove superfluous modules"
jenkins-bot [Tue, 4 Feb 2014 13:17:42 +0000 (13:17 +0000)]
Merge "Now cache has cleared remove superfluous modules"

10 years agoUse nesting in search.less again
Kevin Israel [Mon, 3 Feb 2014 20:06:15 +0000 (15:06 -0500)]
Use nesting in search.less again

Follows-up 27068d52076c.

I diffed the generated CSS, finding it functionally identical, and the
old and new source files, finding the diff much more readable.

Change-Id: I249be21d4c18f60a34d4dc6f1d7340f3a7061f00

10 years agomediawiki.searchSuggest: Only handle Vector's fulltext hack on Vector
Bartosz Dziewoński [Mon, 3 Feb 2014 16:49:44 +0000 (17:49 +0100)]
mediawiki.searchSuggest: Only handle Vector's fulltext hack on Vector

I'm not sure why I thought what I did would work, obviously
it won't. Let's just slap a class on the button.

Follow-up to I5fe0543e.

Change-Id: I1b3ff802ae0fc0fb9499a07068aefc2590ae3b66

10 years agoUse "rb" instead of "rb+" for Swift store operation handles
Aaron Schulz [Mon, 3 Feb 2014 20:31:07 +0000 (12:31 -0800)]
Use "rb" instead of "rb+" for Swift store operation handles

bug: 60318
Change-Id: I411b2505287d4e4addff3231f9374775353b347b

10 years agoFixes and cleanups to FileOpBatch
Aaron Schulz [Mon, 3 Feb 2014 23:06:41 +0000 (15:06 -0800)]
Fixes and cleanups to FileOpBatch

* Fixed bug where operations that failed after precheck() would
  not properly update the Status. This could cause failed ops to
  be treated as successful.
* Removed special casing for 1-sized batches, this was mostly
  for Swift and is irrelevant after it was rewritten.
* Removed unused return value and fixed the docs

bug: 60318
Change-Id: I7f12ebf711bc196313745f943070f8bdb6335964

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 3 Feb 2014 21:32:21 +0000 (21:32 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 3 Feb 2014 21:17:34 +0000 (21:17 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: If319ada434046084f15742666d6b01504d028faa

10 years agoMerge "Use ProfileSection in FileOpBatch"
jenkins-bot [Mon, 3 Feb 2014 21:11:49 +0000 (21:11 +0000)]
Merge "Use ProfileSection in FileOpBatch"

10 years agoUse ProfileSection in FileOpBatch
Aaron Schulz [Mon, 3 Feb 2014 20:11:59 +0000 (12:11 -0800)]
Use ProfileSection in FileOpBatch

Change-Id: I5453130f89a2b46a18dc6ecfb23b2f75c6c2f16f

10 years agoStandardize is_array check in Database::upsert
umherirrender [Mon, 3 Feb 2014 20:42:04 +0000 (21:42 +0100)]
Standardize is_array check in Database::upsert

Change-Id: I81c7ff2cf6a1f5fe0a2a6cdad1dd26d746e17c10

10 years agoMerge "Improved HTMLCacheUpdate/RefreshLinks cache use synergy"
jenkins-bot [Mon, 3 Feb 2014 18:58:10 +0000 (18:58 +0000)]
Merge "Improved HTMLCacheUpdate/RefreshLinks cache use synergy"

10 years agoNow cache has cleared remove superfluous modules
jrobson [Wed, 18 Dec 2013 19:52:29 +0000 (11:52 -0800)]
Now cache has cleared remove superfluous modules

Change-Id: I9fd40bcb3002d3bb06ec39669bbc3bc989b95bdf

10 years agoAdd SVG version of search button icon
m4tx [Sat, 23 Nov 2013 17:27:41 +0000 (18:27 +0100)]
Add SVG version of search button icon

Bug: 35336
Change-Id: I471edc6c3e4667fa6572bf33e24c64496c1b7005

10 years agoMerge "Add PreferencesFormPreSave hook"
jenkins-bot [Mon, 3 Feb 2014 03:00:44 +0000 (03:00 +0000)]
Merge "Add PreferencesFormPreSave hook"

10 years agoRewrite rendering of Vector simple search
Bartosz Dziewoński [Sat, 1 Feb 2014 17:06:48 +0000 (18:06 +0100)]
Rewrite rendering of Vector simple search

* Do not emit different HTML for LTR and RTL (partially fixes
  bug 46947).
* Do not use <button> element to avoid IE6 and Firefox troubles
  (fixes bug 50660). Only one little one-line hack is necessary now.
* Implement simple search formatting client-side (site/user options
  only control adding id=simpleSearch on the search container, CSS
  does the rest).
* Make the search use the 'fulltext' mode by default (to make full
  functionality accessible; fixes bug 25127) and 'go' when search
  suggestions are enabled and working (JavaScript enabled and browser
  support okay), as the module handles fulltext search itself.
* Use appropriate tooltips on the buttons (fixes bug 24248).
* General CSS and HTML cleanup in related areas.
* Keep the old styles necessary for backwards-compatibility with
  cached HTML. Removing them in subsequent commit Ib9f59b6d.

Co-Authored-By: Bartosz Dziewoński <matma.rex@gmail.com>
Co-Authored-By: Derk-Jan Hartman <hartman.wiki@gmail.com>
Bug: 24248
Bug: 25127
Bug: 46947
Bug: 50660
Change-Id: I5fe0543e273aab4fbfb88f8ce933bc49872d4793

10 years agoMerge "Fix PHP Fatal error: Call to undefined method Title::getPrefixedTitle()."
jenkins-bot [Sun, 2 Feb 2014 19:36:47 +0000 (19:36 +0000)]
Merge "Fix PHP Fatal error: Call to undefined method Title::getPrefixedTitle()."

10 years agoMerge "Added wfSuppressWarnings and wfRestoreWarnings"
jenkins-bot [Sun, 2 Feb 2014 19:31:32 +0000 (19:31 +0000)]
Merge "Added wfSuppressWarnings and wfRestoreWarnings"

10 years agoFix PHP Fatal error: Call to undefined method Title::getPrefixedTitle().
Jack Phoenix [Sun, 2 Feb 2014 19:28:30 +0000 (21:28 +0200)]
Fix PHP Fatal error: Call to undefined method Title::getPrefixedTitle().

Apparently certain API action=move requests made it here to trigger the
fatal.

Follow-up to r47039.

Change-Id: I5807ad6278b760d08f84e2fe171c7b0aad80d2f7

10 years agoAdded wfSuppressWarnings and wfRestoreWarnings
Jacob Clark [Sat, 1 Feb 2014 15:25:29 +0000 (15:25 +0000)]
Added wfSuppressWarnings and wfRestoreWarnings

Added wfSuppressWarnings and wfRestoreWarnings before and after the
ini_set call to apc cache by default to suppress errors if ini_set is
disabled.

Change-Id: If91e99c30fce3af14e69acd35112af188e62b6ac

10 years agoClear user cache before checking userrights conflict
Alex Monk [Sun, 2 Feb 2014 18:07:43 +0000 (18:07 +0000)]
Clear user cache before checking userrights conflict

Note: I can't reproduce the issue or verify this patch.

Bug: 38989
Change-Id: I314cf2328d6f9481a4f2cf12e6ea78f5aeef38ec

10 years agoMerge "Transclude translation for preference edit section to ensure consistency of...
jenkins-bot [Sun, 2 Feb 2014 09:49:22 +0000 (09:49 +0000)]
Merge "Transclude translation for preference edit section to ensure consistency of translation"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 1 Feb 2014 19:37:45 +0000 (19:37 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980

10 years agoMerge "vector: Split placeholder rules in search.less (again)"
jenkins-bot [Sat, 1 Feb 2014 18:50:34 +0000 (18:50 +0000)]
Merge "vector: Split placeholder rules in search.less (again)"

10 years agoMerge "Minor documentation fix for ContentHandler::makeParserOptions"
jenkins-bot [Sat, 1 Feb 2014 16:24:14 +0000 (16:24 +0000)]
Merge "Minor documentation fix for ContentHandler::makeParserOptions"

10 years agoMinor documentation fix for ContentHandler::makeParserOptions
Marius Hoch [Sat, 1 Feb 2014 16:13:15 +0000 (17:13 +0100)]
Minor documentation fix for ContentHandler::makeParserOptions

Change-Id: I752edbf2f68d4f11bb24ccbce40f0618b4ac5e48

10 years agomediawiki.ui: Remove white-space: nowrap; for buttons
Bartosz Dziewoński [Sat, 1 Feb 2014 15:50:28 +0000 (16:50 +0100)]
mediawiki.ui: Remove white-space: nowrap; for buttons

They are already display: inline-block; to prevent standard text-like
line-breaking; however, buttons with very long text might need
internal line-breaks to display nicely.

Bug: 60660
Change-Id: I095e375c498cd0f92615ec8f42e9ce5257f0213b

10 years agovector: Split placeholder rules in search.less (again)
Bartosz Dziewoński [Sat, 1 Feb 2014 12:20:00 +0000 (13:20 +0100)]
vector: Split placeholder rules in search.less (again)

These rules may not be merged because of how CSS requires browsers to
parse unrecognized selectors – if any part of the selector is unknown,
the entire rule will be dropped.

Bug: 60716
Change-Id: Ief9a5a178058eb01ab032cfae8639b0fc52c47a4

10 years agoRemove outdated todo from RecentChange.php
umherirrender [Sat, 1 Feb 2014 10:44:37 +0000 (11:44 +0100)]
Remove outdated todo from RecentChange.php

Documentation was added with r85781

Change-Id: I769e2a340dee3e41a0b7b05fe856f54bd55a32e6

10 years agoMerge "Move toctoggle from mediawiki.util.js to separate file mediawiki.toc.js"
jenkins-bot [Sat, 1 Feb 2014 02:20:14 +0000 (02:20 +0000)]
Merge "Move toctoggle from mediawiki.util.js to separate file mediawiki.toc.js"

10 years agoMerge "Fixed getDBname() for DatabaseSQLite"
jenkins-bot [Fri, 31 Jan 2014 23:47:16 +0000 (23:47 +0000)]
Merge "Fixed getDBname() for DatabaseSQLite"

10 years agoMerge "Fix double parsing of the 'description' key in Special:Version."
jenkins-bot [Fri, 31 Jan 2014 23:06:10 +0000 (23:06 +0000)]
Merge "Fix double parsing of the 'description' key in Special:Version."

10 years agoFixed getDBname() for DatabaseSQLite
Aaron Schulz [Fri, 31 Jan 2014 23:03:34 +0000 (15:03 -0800)]
Fixed getDBname() for DatabaseSQLite

Change-Id: Ie1a575bb96141b59880358d066e710b2f868f880

10 years agoFix double parsing of the 'description' key in Special:Version.
Jack Phoenix [Fri, 31 Jan 2014 22:48:16 +0000 (00:48 +0200)]
Fix double parsing of the 'description' key in Special:Version.

$description is parseInline()'d right after the if-else loop, on line 682.

Follow-up to 357eb3d488b9d8caf575bc6990d9906ecc256554.

Change-Id: I9ad4f5cedc590e5abef269363998457d828fd574

10 years agoMerge "Code style fixes to ApiBase::requireAtLeastOneParameter"
jenkins-bot [Fri, 31 Jan 2014 21:34:14 +0000 (21:34 +0000)]
Merge "Code style fixes to ApiBase::requireAtLeastOneParameter"

10 years agoRemove unneeded h3s around Create Account links
kaldari [Thu, 30 Jan 2014 01:36:41 +0000 (17:36 -0800)]
Remove unneeded h3s around Create Account links

Also adjust related CSS styles

Bug: 60605
Change-Id: I87a16a8ee6d4968a0e2110c1ecdf0be9c99d8128

10 years agoMerge "Rollback: Make update of recentchanges table later"
jenkins-bot [Fri, 31 Jan 2014 19:03:47 +0000 (19:03 +0000)]
Merge "Rollback: Make update of recentchanges table later"

10 years agoMerge "Make autoblocks update with the parent block"
jenkins-bot [Fri, 31 Jan 2014 18:59:09 +0000 (18:59 +0000)]
Merge "Make autoblocks update with the parent block"

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 agoImproved HTMLCacheUpdate/RefreshLinks cache use synergy
Aaron Schulz [Thu, 30 Jan 2014 21:58:13 +0000 (13:58 -0800)]
Improved HTMLCacheUpdate/RefreshLinks cache use synergy

* Also added missing $dbw->timestamp() calls

Change-Id: Ic82b6981bef9691c559a4076cbd551d8797ead33

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