lhc/web/wiklou.git
12 years agoMerge "Very basic parser test for language function"
Aaron Schulz [Thu, 3 May 2012 21:47:51 +0000 (21:47 +0000)]
Merge "Very basic parser test for language function"

12 years agoVery basic parser test for language function
robin [Wed, 2 May 2012 21:44:11 +0000 (23:44 +0200)]
Very basic parser test for language function

Change-Id: I7fad6caa460a4f62881c33ae9f7bd30e6a5942d1

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Thu, 3 May 2012 20:13:10 +0000 (22:13 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I26a320bcddd4122ce423f536609d5794446d743e

12 years agoMerge "ImagePage refactoring"
Aaron Schulz [Thu, 3 May 2012 19:13:53 +0000 (19:13 +0000)]
Merge "ImagePage refactoring"

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 3 May 2012 18:57:42 +0000 (18:57 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ieb95d149c7675a98f02de6501ba50c370daa04be

12 years agoMerge "Noticed while looking at $wgShowUpdatedMarker related database queries, querie...
Aaron Schulz [Thu, 3 May 2012 18:25:18 +0000 (18:25 +0000)]
Merge "Noticed while looking at $wgShowUpdatedMarker related database queries, queries not using index order at all. Fixed up"

12 years agoMerge "Done a bit of deglobalisation."
Aaron Schulz [Thu, 3 May 2012 17:43:47 +0000 (17:43 +0000)]
Merge "Done a bit of deglobalisation."

12 years agoMerge "Adding more tests for Title."
Hashar [Thu, 3 May 2012 11:40:49 +0000 (11:40 +0000)]
Merge "Adding more tests for Title."

12 years agoMerge "Bumping minimum supported version of PHPUnit to 3.6.7"
Hashar [Wed, 2 May 2012 20:13:40 +0000 (20:13 +0000)]
Merge "Bumping minimum supported version of PHPUnit to 3.6.7"

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 2 May 2012 19:44:33 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I429a787a0e4b0589a407fe650ef005147ac10fc8

12 years agoAdding more tests for Title.
daniel [Wed, 2 May 2012 17:30:09 +0000 (19:30 +0200)]
Adding more tests for Title.

This introduces tests for isCssJsSubpage, isCssOrJsPage, and isWikitextPage.

New tests are added to avoid regressions when the ContentHandler facility is introduced.

Change-Id: I68987490b01242cc0bcdc0d9dfaa99f1227f71a0

12 years agoMerge "Ported r112366 from 1.19wmf branch indefinitely."
Reedy [Wed, 2 May 2012 17:12:02 +0000 (17:12 +0000)]
Merge "Ported r112366 from 1.19wmf branch indefinitely."

12 years agoMerge "Removing unnecessary space from the end of the page heading."
Reedy [Wed, 2 May 2012 15:12:16 +0000 (15:12 +0000)]
Merge "Removing unnecessary space from the end of the page heading."

12 years agoFixed whitespace in API classes
Petr Onderka [Wed, 2 May 2012 13:48:02 +0000 (15:48 +0200)]
Fixed whitespace in API classes

Change-Id: Ia06de4822e32612c4f668e14643236322837a3e1

12 years agoRemoving unnecessary space from the end of the page heading.
Amir E. Aharoni [Wed, 2 May 2012 12:34:27 +0000 (15:34 +0300)]
Removing unnecessary space from the end of the page heading.

Addresses a comment Fomafix made at
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/105870#c32772

Change-Id: Ic9887a079734b28155f46ffaeedec02ff8ad81ca

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Wed, 2 May 2012 08:51:15 +0000 (10:51 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ib21f42166ae0841e04c8af4fdcf59c0fa06f1738

12 years ago(bug 36361) Fix git links in Special:Version - removing extra space
RobLa [Wed, 2 May 2012 04:48:50 +0000 (21:48 -0700)]
(bug 36361) Fix git links in Special:Version - removing extra space

Change-Id: I731e163e5f329b78402ed3c6307547c847264587

12 years agoPorted r112366 from 1.19wmf branch indefinitely.
Aaron Schulz [Wed, 2 May 2012 02:49:46 +0000 (19:49 -0700)]
Ported r112366 from 1.19wmf branch indefinitely.

Change-Id: I6e326d7729b26bdc7a02f19a475d2e6033ffbfc3

12 years agoMerge "Prevents sidebar links from jumping on page load"
Kaldari [Wed, 2 May 2012 01:24:30 +0000 (01:24 +0000)]
Merge "Prevents sidebar links from jumping on page load"

12 years ago(bug 30488) API now allows listing of backlinks/embeddedin/imageusage
umherirrender [Sun, 29 Apr 2012 20:10:11 +0000 (22:10 +0200)]
(bug 30488) API now allows listing of backlinks/embeddedin/imageusage
per pageid

Move the possibles errors set by ApiBase::getTitleOrPageId to
ApiBase::getTitleOrPageIdErrorMessages and remove it from used modules

Change-Id: If037e04665d2524c1f2476bc7996d9573753a4b8

12 years agoMerge "enable email for PreferencesTest.php"
Aaron Schulz [Tue, 1 May 2012 23:04:52 +0000 (23:04 +0000)]
Merge "enable email for PreferencesTest.php"

12 years agoMerge "(bug 30975) API import of pages with invalid characters in this wiki leads...
Aaron Schulz [Tue, 1 May 2012 22:24:41 +0000 (22:24 +0000)]
Merge "(bug 30975) API import of pages with invalid characters in this wiki leads to Fatal Error"

12 years agoMerge "Few documentation/type hint updates"
Aaron Schulz [Tue, 1 May 2012 22:23:14 +0000 (22:23 +0000)]
Merge "Few documentation/type hint updates"

12 years agoMerge "(bug 31704) Allow selection of associated namespace on the watchlist"
Aaron Schulz [Tue, 1 May 2012 22:22:09 +0000 (22:22 +0000)]
Merge "(bug 31704) Allow selection of associated namespace on the watchlist"

12 years agoRemoved intval for undelete reason in API
Petr Onderka [Tue, 1 May 2012 22:04:11 +0000 (00:04 +0200)]
Removed intval for undelete reason in API

Undelete reason is a string, it doesn't make sense to use
intval() to change it into an integer.

Change-Id: I76553d6a22305dca8cdc5d676ad60a9b146a0212

12 years agoFew documentation/type hint updates
Reedy [Tue, 1 May 2012 21:03:50 +0000 (22:03 +0100)]
Few documentation/type hint updates

Change-Id: Ib2882cc03540403f74f68854fa76df375c1bb25a

12 years agoPrevents sidebar links from jumping on page load
Trevor Parscal [Tue, 1 May 2012 18:45:54 +0000 (11:45 -0700)]
Prevents sidebar links from jumping on page load

When I added an HD style sheet to the Vector skin, I styled the side
bar h5 and .body elements directly to increase padding on the left.
These properties were also set to transition over 250ms. When the
Vector extension modified those same properties with it's own
stylesheet which loads a little later than the Vector skin stylesheet,
the difference was especially visible because of the transitions. This
patch prevents this by adding transitioned padding to #mw-panel
instead, which is not modified by the Vector extension.

Change-Id: I9dfdd791bdcbb38806276852e17348e710f39f86

12 years agoMerge "Explicitly specify that filename in filerevert is without namespace"
Reedy [Tue, 1 May 2012 19:23:56 +0000 (19:23 +0000)]
Merge "Explicitly specify that filename in filerevert is without namespace"

12 years agoMerge "Changed the format to lowercase in help message"
Reedy [Tue, 1 May 2012 18:21:41 +0000 (18:21 +0000)]
Merge "Changed the format to lowercase in help message"

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 1 May 2012 18:19:11 +0000 (18:19 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 1 May 2012 18:17:54 +0000 (18:17 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I64892e17f7533aaa3afb5d77aec1ded951283cfe

12 years agoExplicitly specify that filename in filerevert is without namespace
Petr Onderka [Tue, 1 May 2012 16:54:14 +0000 (18:54 +0200)]
Explicitly specify that filename in filerevert is without namespace

Change-Id: I9551b69cda6d9dce20a443a2a4b871afb7394593

12 years agoMerge "Added missing GPLv2 headers in some places."
Reedy [Tue, 1 May 2012 09:25:18 +0000 (09:25 +0000)]
Merge "Added missing GPLv2 headers in some places."

12 years agoUse local context to get messages
Alexandre Emsenhuber [Tue, 1 May 2012 07:57:04 +0000 (09:57 +0200)]
Use local context to get messages

Change-Id: I3e1ded54b6effdc6aa37010952829c28581af7f3

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Mon, 30 Apr 2012 09:22:16 +0000 (11:22 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I10c077f27a2077a266a64048fa137f7b1f8e226c

12 years agoMerge "Set CdbTest to skipped instead of incomplete"
Nikerabbit [Tue, 1 May 2012 06:32:55 +0000 (06:32 +0000)]
Merge "Set CdbTest to skipped instead of incomplete"

12 years agoMerge "Use local context to get messages and time formatting methods of Language...
Aaron Schulz [Tue, 1 May 2012 04:56:00 +0000 (04:56 +0000)]
Merge "Use local context to get messages and time formatting methods of Language class"

12 years agoMerge "fix two generator examples"
Reedy [Mon, 30 Apr 2012 21:49:20 +0000 (21:49 +0000)]
Merge "fix two generator examples"

12 years agoRevert "Creating new WMF 1.20wmf2 branch"
Catrope [Mon, 30 Apr 2012 21:01:41 +0000 (14:01 -0700)]
Revert "Creating new WMF 1.20wmf2 branch"

This reverts commit 5bc567031c235d9cdbff711b7360e4adb1a722b5.

Change-Id: I28424a7ac2c24c65f643d9316e836d94e4b87109

12 years agoRevert "Applied patches to new WMF 1.20wmf2 branch"
Catrope [Mon, 30 Apr 2012 21:01:29 +0000 (14:01 -0700)]
Revert "Applied patches to new WMF 1.20wmf2 branch"

This reverts commit 3c039d0aada049122d9635dccf738464de00dc48.

Change-Id: Ia231f5da44a2bdeb2d51c4b97177fa279336a168

12 years agoMerge "Revert "Commit of various live hacks""
Catrope [Mon, 30 Apr 2012 20:58:11 +0000 (20:58 +0000)]
Merge "Revert "Commit of various live hacks""

12 years agoRevert "Commit of various live hacks"
Catrope [Mon, 30 Apr 2012 20:57:56 +0000 (20:57 +0000)]
Revert "Commit of various live hacks"

Was meant for 1.20wmf2

This reverts commit 062773733d6c97a5b05098712ffc64fc7fc491f7

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 30 Apr 2012 19:55:49 +0000 (19:55 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id7966570cd0551f1e18470be4e1a674b16ec99b5

12 years agoMerge "Revert "Forward port of https://www.mediawiki.org/wiki/Special:Code/MediaWiki...
Catrope [Mon, 30 Apr 2012 19:26:54 +0000 (19:26 +0000)]
Merge "Revert "Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964""

12 years agoRevert "Forward port of https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105964"
Catrope [Mon, 30 Apr 2012 19:20:23 +0000 (19:20 +0000)]
Revert "Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964"

Oops, this should have gone into 1.20wmf2 instead.

This reverts commit 2531715b9d07021b9b1040f4bc9bb277c2d8ff19

12 years agoMerge "Commit of various live hacks"
Catrope [Mon, 30 Apr 2012 19:20:11 +0000 (19:20 +0000)]
Merge "Commit of various live hacks"

12 years agoMerge "Forward port of https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105964"
Catrope [Mon, 30 Apr 2012 19:18:10 +0000 (19:18 +0000)]
Merge "Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964"

12 years agoForward port of https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105964
Reedy [Mon, 30 Apr 2012 17:55:38 +0000 (18:55 +0100)]
Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964

"Temporary workaround for bug 31576. The logs show that once every hour or so, a job runner somewhere in the cluster somehow loses all its magic words and starts hitting this case. Throwing an exception should kill the job runner before it does too much damage."

Change-Id: I229e87a5bd323dbc97b85ae470474cc97243c7af

12 years agoCommit of various live hacks
Reedy [Tue, 10 Apr 2012 18:27:59 +0000 (18:27 +0000)]
Commit of various live hacks

Disable of MessageBlobStore clear

Reset $wgAutopromote (should be moved to a config change!!)

Disable setting of wgStyleSheetPath

Disable squid updates in HTMLCacaheUpdate invalidateTitles

Throttle page_touched

Add apc htcp packet numbers to SquidUpdate

Disable set names binary/utf8

Commment out searchindex table indexes

Was c532e81d583d3d0439fe76eea4d105d675461b56

Change-Id: I42c4f859e55eb198f6c6841e582b3552aad7b31f

12 years agoApplied patches to new WMF 1.20wmf2 branch
Reedy [Mon, 30 Apr 2012 18:34:29 +0000 (18:34 +0000)]
Applied patches to new WMF 1.20wmf2 branch

12 years agoCreating new WMF 1.20wmf2 branch
Reedy [Mon, 30 Apr 2012 18:34:28 +0000 (18:34 +0000)]
Creating new WMF 1.20wmf2 branch

12 years agoChanged the format to lowercase in help message
Petr Onderka [Mon, 30 Apr 2012 15:52:27 +0000 (17:52 +0200)]
Changed the format to lowercase in help message

The help message that appears at the top of pretty-printed
API results suggested to use format in uppercase (e.g. format=XML).
That wouldn't work, because format names are lowercase.

This change corrects the help message so that it correctly uses
lowercase (e.g. format=xml).

Change-Id: I94275879b60c42bde607eb896aa79433dfabb34c

12 years agoImagePage refactoring
Max Semenik [Mon, 30 Apr 2012 14:43:03 +0000 (18:43 +0400)]
ImagePage refactoring

* Use context everywhere
* Fix comments, including two functions from other files it references
* Remove pointless function return value

Change-Id: I29a0a2a54432c8ef7185a210c7f2f73c64bfb71c

12 years agofix two generator examples
umherirrender [Mon, 30 Apr 2012 11:50:33 +0000 (13:50 +0200)]
fix two generator examples

Change-Id: I5f4348f4f75be9e1c25e08d7f91959d708046f29

12 years agoSet CdbTest to skipped instead of incomplete
umherirrender [Mon, 30 Apr 2012 07:49:31 +0000 (09:49 +0200)]
Set CdbTest to skipped instead of incomplete

When the native support is not available, the test is not incomplete.
See also the DiffBlob test and xdiff.

Change-Id: I16c14efc3f24e4171a699390d99ca6509d6a28c8

12 years agoenable email for PreferencesTest.php
umherirrender [Mon, 30 Apr 2012 07:29:45 +0000 (09:29 +0200)]
enable email for PreferencesTest.php

The tests in PreferencesTest.php checking email things,
enable email to let the test run complete and not depend on the wiki
setting.

Change-Id: I21b34b31c52a10e0f4f6b918ee25d98a97ea5981

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Mon, 30 Apr 2012 07:16:10 +0000 (09:16 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I1815587ab2eeb24623ce4bf1c695088bd3f1c2ea

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Sun, 29 Apr 2012 23:07:23 +0000 (23:07 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Fixup some raw sqls!"
Aaron Schulz [Sun, 29 Apr 2012 20:17:46 +0000 (20:17 +0000)]
Merge "Fixup some raw sqls!"

12 years ago(bug 30975) API import of pages with invalid characters in this wiki
umherirrender [Sun, 29 Apr 2012 18:14:40 +0000 (20:14 +0200)]
(bug 30975) API import of pages with invalid characters in this wiki
leads to Fatal Error

Change-Id: Ifc3ba51efe19bded51460749a1cb980a9c5244c7

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 29 Apr 2012 17:56:56 +0000 (17:56 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I8092931196538b77f3078a924940991dcb12a1c4

12 years agoBumping minimum supported version of PHPUnit to 3.6.7
Christian Aistleitner [Sat, 28 Apr 2012 21:50:54 +0000 (23:50 +0200)]
Bumping minimum supported version of PHPUnit to 3.6.7

With PHPUnit 3.6.7, we can finally check the output of tests.

Change-Id: Ib0f1afe5fd9ab9784ba7f78b2921cf047ccc83f3

12 years agoParam documentation
Reedy [Sat, 28 Apr 2012 22:47:23 +0000 (23:47 +0100)]
Param documentation

Explicitly define member variables

Change-Id: I028bcfd40cf7a402b040694ad7dacaab8da45e45

12 years agoMerge "Fatal error: Call to a member function getId() on a non-object in /usr/local...
Aaron Schulz [Sat, 28 Apr 2012 22:22:12 +0000 (22:22 +0000)]
Merge "Fatal error:  Call to a member function getId() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/EditPage.php on line 822"

12 years agoFatal error: Call to a member function getId() on a non-object in /usr/local/apache...
Reedy [Sat, 28 Apr 2012 21:39:00 +0000 (22:39 +0100)]
Fatal error:  Call to a member function getId() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/EditPage.php on line 822

getNext() can return null!

Change-Id: I76a8e50076165d89c90796c6e925913c64722a3a

12 years agoMerge "add hints to description of action=edit"
Reedy [Sat, 28 Apr 2012 20:34:40 +0000 (20:34 +0000)]
Merge "add hints to description of action=edit"

12 years agoadd hints to description of action=edit
umherirrender [Sat, 28 Apr 2012 18:59:01 +0000 (20:59 +0200)]
add hints to description of action=edit

add a hint to appendtext about section=new. I have seen, that people
build up the new header by itself and concat that with the section text.
It is easy to use section=new.

Feel free to change my english, if you think, that is not good worded.

Change-Id: I0642d496441c8fd375e8cb5dc383124b9ac25235

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Sat, 28 Apr 2012 18:41:55 +0000 (20:41 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: If65d7313e1e05163ce6cc46d17daa310cb41888c

12 years agoUse local context to get messages and time formatting methods of Language class
Alexandre Emsenhuber [Sat, 28 Apr 2012 18:20:11 +0000 (20:20 +0200)]
Use local context to get messages and time formatting methods of Language class

Also factorised calls to $this->getUser() and $this->getLanguage() in SpecialRecentChanges::optionsPanel().

Change-Id: I7fa666947cdce400e0fba3c8d6921376c66cbdb9

12 years agoChange CRLF line ending in GenderCacheTest.php
Platonides [Sat, 28 Apr 2012 15:18:22 +0000 (17:18 +0200)]
Change CRLF line ending in GenderCacheTest.php

Edited in windows with no autocrlf set?

Change-Id: I955f0ed1fad9c4e5c143324b163a4b3c81a3f733

12 years agoReally use the global variable. Fixes bug in c4507 (4989dd)
Platonides [Sat, 28 Apr 2012 15:11:41 +0000 (17:11 +0200)]
Really use the global variable. Fixes bug in c4507 (4989dd)

Change-Id: I4733a3d8949d76044ba90e672395299f6623cecf

12 years ago(bug 31704) Allow selection of associated namespace on the watchlist
umherirrender [Sat, 28 Apr 2012 09:06:08 +0000 (11:06 +0200)]
(bug 31704) Allow selection of associated namespace on the watchlist

This patch does not contain javascript part for the checkboxes,
see bug 36317

Change-Id: If012d70b57a925d86d56503735a3bed9ef32dd3f

12 years agoMerge "Fatal error: Call to a member function getExtension() on a non-object in...
Aaron Schulz [Sat, 28 Apr 2012 06:17:19 +0000 (06:17 +0000)]
Merge "Fatal error:  Call to a member function getExtension() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/ExternalEdit.php on line 84"

12 years agoMerge "Attempt at fixing "Fatal error: Call to a member function getText() on a...
Aaron Schulz [Sat, 28 Apr 2012 06:15:56 +0000 (06:15 +0000)]
Merge "Attempt at fixing "Fatal error:  Call to a member function getText() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/api/ApiParse.php on line 209""

12 years agoMerge "__clone() is a public method, shouldn't be made protected"
Aaron Schulz [Sat, 28 Apr 2012 06:12:50 +0000 (06:12 +0000)]
Merge "__clone() is a public method, shouldn't be made protected"

12 years ago__clone() is a public method, shouldn't be made protected
Reedy [Sat, 28 Apr 2012 01:30:53 +0000 (02:30 +0100)]
__clone() is a public method, shouldn't be made protected

Change-Id: Ib4a716867b12be2cef90f87bc77c22ea2d890261

12 years agoAttempt at fixing "Fatal error: Call to a member function getText() on a non-object...
Reedy [Sat, 28 Apr 2012 00:33:24 +0000 (01:33 +0100)]
Attempt at fixing "Fatal error:  Call to a member function getText() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/api/ApiParse.php on line 209"

$page->getParserOutput() can apparently return false, so seems a reasonable starting point

Change-Id: I5ee1996f19405d4c854900376a3588fb1b7bbb66

12 years agoFatal error: Call to a member function getExtension() on a non-object in /usr/local...
Reedy [Sat, 28 Apr 2012 00:21:42 +0000 (01:21 +0100)]
Fatal error:  Call to a member function getExtension() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/ExternalEdit.php on line 84

Change-Id: I9e54204ebac69dc0e8682b502cee8ec43ff2d9a4

12 years agoFixup some raw sqls!
Reedy [Sat, 28 Apr 2012 00:07:43 +0000 (01:07 +0100)]
Fixup some raw sqls!

Change-Id: I06dc7a76cbfeb684cb056fb4f71dd1012d953069

12 years agoNoticed while looking at $wgShowUpdatedMarker related database queries, queries not...
Reedy [Fri, 27 Apr 2012 23:59:59 +0000 (00:59 +0100)]
Noticed while looking at $wgShowUpdatedMarker related database queries, queries not using index order at all. Fixed up

Title.php at line 4313:
array( 'wl_namespace' => $this->getNamespace(),
'wl_title' => $this->getDBkey(),
'wl_user' => $user->getId()
),

In UserMailer.php at line 438:

array(
'wl_title' => $title->getDBkey(),
'wl_namespace' => $title->getNamespace(),
'wl_user != ' . intval( $editor->getID() ),
'wl_notificationtimestamp IS NULL',
)

And line 455:

array( /* WHERE */
'wl_title' => $title->getDBkey(),
'wl_namespace' => $title->getNamespace(),
'wl_user' => $watchers
)

CREATE TABLE /*_*/watchlist (
  -- Key to user.user_id
  wl_user int unsigned NOT NULL,

  -- Key to page_namespace/page_title
  -- Note that users may watch pages which do not exist yet,
  -- or existed in the past but have been deleted.
  wl_namespace int NOT NULL default 0,
  wl_title varchar(255) binary NOT NULL default '',

  -- Timestamp when user was last sent a notification e-mail;
  -- cleared when the user visits the page.
  wl_notificationtimestamp varbinary(14)

) /*$wgDBTableOptions*/;

CREATE UNIQUE INDEX /*i*/wl_user ON /*_*/watchlist (wl_user, wl_namespace, wl_title);
CREATE INDEX /*i*/namespace_title ON /*_*/watchlist (wl_namespace, wl_title);

Change-Id: I633c009b4a1c614b966c69f042f94c2056e03784

12 years agoMade delete() return True for NOT_FOUND memcached responses.
Aaron [Fri, 27 Apr 2012 23:41:20 +0000 (16:41 -0700)]
Made delete() return True for NOT_FOUND memcached responses.

Change-Id: Ia1ec62721a3e42dd7a5bd21974e922d500d3f501

12 years agoMerge "Update jQuery UI to 1.8.19"
Brion VIBBER [Fri, 27 Apr 2012 21:23:33 +0000 (21:23 +0000)]
Merge "Update jQuery UI to 1.8.19"

12 years agoMerge "Simplify and refactor out api code for getting title or page id"
Brion VIBBER [Fri, 27 Apr 2012 21:21:18 +0000 (21:21 +0000)]
Merge "Simplify and refactor out  api code for getting title or page id"

12 years agoMerge "Normalising return statements"
Brion VIBBER [Fri, 27 Apr 2012 21:20:48 +0000 (21:20 +0000)]
Merge "Normalising return statements"

12 years agoMerge "Improved BagOStuff documentation and made some return value tweaks."
Demon [Fri, 27 Apr 2012 19:08:04 +0000 (19:08 +0000)]
Merge "Improved BagOStuff documentation and made some return value tweaks."

12 years agoMerge "Adding file stat caching to avoid RTTs to high latency backends."
Brion VIBBER [Fri, 27 Apr 2012 18:48:57 +0000 (18:48 +0000)]
Merge "Adding file stat caching to avoid RTTs to high latency backends."

12 years agoMerge changes Ib2cb36cd,I50dec908
Demon [Fri, 27 Apr 2012 18:36:05 +0000 (18:36 +0000)]
Merge changes Ib2cb36cd,I50dec908

* changes:
  Adding Maintenance output tests
  fwriting to STDOUT -> print in Maintenance

12 years agoAdding file stat caching to avoid RTTs to high latency backends.
Aaron [Fri, 27 Apr 2012 00:46:28 +0000 (17:46 -0700)]
Adding file stat caching to avoid RTTs to high latency backends.

Also tweaked a few of the container cache functions a bit.

Change-Id: Ic91b8e04aa509410578b3a4dc232871c0c5561d0

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 27 Apr 2012 17:48:20 +0000 (17:48 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1a4e24d32a01cf11eb77fe56832c38534445695a

12 years agoNormalising return statements
Reedy [Fri, 27 Apr 2012 15:40:14 +0000 (16:40 +0100)]
Normalising return statements

Add/improve parameter documentation

Change-Id: I4c7fa319be60a47b7fcd81131458577bccb009fb

12 years ago(bug 22887) Add warning and tracking category for preprocessor errors
umherirrender [Sat, 21 Apr 2012 11:09:03 +0000 (13:09 +0200)]
(bug 22887) Add warning and tracking category for preprocessor errors

I have only add things and not change the current error strings to
messages, because bug 21521 is WONTFIX

Change of Preprocessor_HipHop.php is not tested

Change-Id: I7a7243b8ba010dbb395bdbbb3e00e3217088038e

12 years agoSimplify and refactor out api code for getting title or page id
Reedy [Sat, 7 Apr 2012 21:47:06 +0000 (22:47 +0100)]
Simplify and refactor out  api code for getting title or page id

Change-Id: I098dd36619fff3610be6894037220d3472b809d5

12 years agoIn mctest.php, use the configured timeout instead of the default
Tim Starling [Fri, 27 Apr 2012 04:51:52 +0000 (14:51 +1000)]
In mctest.php, use the configured timeout instead of the default

Change-Id: Ia003c7f96cd0de91db57ec83036493e4bb995ee7

12 years agoMerge "Whitespace and typo fix"
Catrope [Fri, 27 Apr 2012 02:04:57 +0000 (02:04 +0000)]
Merge "Whitespace and typo fix"

12 years agoImproved BagOStuff documentation and made some return value tweaks.
Aaron [Fri, 27 Apr 2012 01:33:42 +0000 (18:33 -0700)]
Improved BagOStuff documentation and made some return value tweaks.

Change-Id: I9d8f09c10ccc5e710bd8cae05b8f3da3c2d02056

12 years agoUpdate jQuery UI to 1.8.19
Reedy [Fri, 27 Apr 2012 00:07:56 +0000 (01:07 +0100)]
Update jQuery UI to 1.8.19

http://blog.jqueryui.com/2012/04/jquery-ui-1-8-19/

Change-Id: Ib79baabc57c67c8bf96fc6d4f9304af39224fdc9

12 years agoMerge "[FileBackend] Some documentation and minor cleanups."
Brion VIBBER [Thu, 26 Apr 2012 23:40:12 +0000 (23:40 +0000)]
Merge "[FileBackend] Some documentation and minor cleanups."

12 years agoMerge "The script can be re-run (in some cases at least!) to fix up incomplete migrat...
Brion VIBBER [Thu, 26 Apr 2012 23:38:15 +0000 (23:38 +0000)]
Merge "The script can be re-run (in some cases at least!) to fix up incomplete migrations (see bug 34981 for enwiki)"

12 years agoMerge "[FileBackend] Added a script to copy files from one backend to another. Useful...
Brion VIBBER [Thu, 26 Apr 2012 23:34:21 +0000 (23:34 +0000)]
Merge "[FileBackend] Added a script to copy files from one backend to another. Useful for re-sharding."

12 years agoMerge "[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth...
Brion VIBBER [Thu, 26 Apr 2012 23:32:32 +0000 (23:32 +0000)]
Merge "[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth TTL a bit."