lhc/web/wiklou.git
13 years agofollow-up to r66892: fix update SQL on on SQLite
Max Semenik [Wed, 26 May 2010 14:29:53 +0000 (14:29 +0000)]
follow-up to r66892: fix update SQL on on SQLite

13 years ago(bug 22967) Use javascript to make the maxlength of the edit summary field work prope...
Brian Wolff [Wed, 26 May 2010 09:10:56 +0000 (09:10 +0000)]
(bug 22967) Use javascript to make the maxlength of the edit summary field work properly for multibyte characters.

Previously the edit summary was set to 200 characters, however with multibyte characters, you could end up with more than 255 bytes which
is the db field limit. This adds javascript to enforce the limit more reliably.

13 years agoUpdate fallback for Uighur from ug-latn to ug-arab.
Siebrand Mazeland [Wed, 26 May 2010 08:30:00 +0000 (08:30 +0000)]
Update fallback for Uighur from ug-latn to ug-arab.

13 years agoFix r66858 -- reassign classes in the AutoLoader
Andrew Garrett [Wed, 26 May 2010 06:22:36 +0000 (06:22 +0000)]
Fix r66858 -- reassign classes in the AutoLoader

13 years agoFix conflict in r66907 (follow-up r66793) accidentally partially reverting r66858
Andrew Garrett [Wed, 26 May 2010 05:52:43 +0000 (05:52 +0000)]
Fix conflict in r66907 (follow-up r66793) accidentally partially reverting r66858

13 years agoFix bug in r66793
Andrew Garrett [Wed, 26 May 2010 05:50:20 +0000 (05:50 +0000)]
Fix bug in r66793

13 years agoMake tests more portable. Prepping for initial CI use.
Mark A. Hershberger [Wed, 26 May 2010 04:32:17 +0000 (04:32 +0000)]
Make tests more portable.  Prepping for initial CI use.

* Use wfTempDir for writing files to avoid permission errors
* Skip search engine tests on non-mysql DBs.
* Make title tests more portable

13 years agoAdd getCookie(). Stuff should use this now instead of accessing $_COOKIE directly
Chad Horohoe [Wed, 26 May 2010 00:50:46 +0000 (00:50 +0000)]
Add getCookie(). Stuff should use this now instead of accessing $_COOKIE directly

13 years agoUpdate description of ApiQueryIWBacklinks as per IRC with Roan
Sam Reed [Tue, 25 May 2010 21:48:09 +0000 (21:48 +0000)]
Update description of ApiQueryIWBacklinks as per IRC with Roan

Follow up r66891

13 years agoAttempt at changing postgres as per r66892
Sam Reed [Tue, 25 May 2010 21:36:56 +0000 (21:36 +0000)]
Attempt at changing postgres as per r66892

OverlordQ or someone, can you review please?

13 years agoFixup fail from r66892 - Had added it to the sqlite section
Sam Reed [Tue, 25 May 2010 21:17:08 +0000 (21:17 +0000)]
Fixup fail from r66892 - Had added it to the sqlite section

/me facepalm

13 years agoLocalization update for he.
Rotem Liss [Tue, 25 May 2010 21:11:56 +0000 (21:11 +0000)]
Localization update for he.

13 years agoFixup index to add from r66892
Sam Reed [Tue, 25 May 2010 21:07:13 +0000 (21:07 +0000)]
Fixup index to add from r66892

13 years agoRemove arrays from getDescription where we are only using 1 line
Sam Reed [Tue, 25 May 2010 20:46:09 +0000 (20:46 +0000)]
Remove arrays from getDescription where we are only using 1 line

13 years agoFollowup to r65105 after discussion with Roan
Sam Reed [Tue, 25 May 2010 20:37:20 +0000 (20:37 +0000)]
Followup to r65105 after discussion with Roan

Make the non-unique index index all fields

Patches updated, patch created to update index. Table.sql also updated

13 years ago* (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to track inline...
Sam Reed [Tue, 25 May 2010 19:50:20 +0000 (19:50 +0000)]
* (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to track inline interwiki link usage

Addition of IWBacklinks... That should be the bug done

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 25 May 2010 18:58:10 +0000 (18:58 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-25 18:30:00 UTC)

13 years agoFollowup to r66873
Sam Reed [Tue, 25 May 2010 18:37:55 +0000 (18:37 +0000)]
Followup to r66873

If title valid, append URL to parse output

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Tue, 25 May 2010 18:34:15 +0000 (18:34 +0000)]
Fixed some doxygen warnings

13 years agoFollowup r66872
Sam Reed [Tue, 25 May 2010 18:34:11 +0000 (18:34 +0000)]
Followup r66872

Use title to make interwiki

13 years agoNew test for SQLite that checks tables.sql conversion as a whole
Max Semenik [Tue, 25 May 2010 17:32:18 +0000 (17:32 +0000)]
New test for SQLite that checks tables.sql conversion as a whole

13 years agoFollow-up r66878 per CR.
Happy-melon [Tue, 25 May 2010 17:04:57 +0000 (17:04 +0000)]
Follow-up r66878 per CR.

13 years ago(bug 23641) refactor code around Article::doEdit(), and restored access to watch...
Happy-melon [Tue, 25 May 2010 16:40:02 +0000 (16:40 +0000)]
(bug 23641) refactor code around Article::doEdit(), and restored access to watch/unwatch settings to ArticleSaveComplete hook, removed in r14834 AFAICT.  Patch by Tisane.

13 years agoFix for r66548: Output page -> OutputPage
Alexandre Emsenhuber [Tue, 25 May 2010 15:39:22 +0000 (15:39 +0000)]
Fix for r66548: Output page -> OutputPage

13 years agoPart of bug 23254 - Add interwiki links to parse output
Sam Reed [Tue, 25 May 2010 13:47:22 +0000 (13:47 +0000)]
Part of bug 23254 - Add interwiki links to parse output

13 years agobug 23524 - &url for ApiQueryIWLinks to expand full URL
Sam Reed [Tue, 25 May 2010 13:33:24 +0000 (13:33 +0000)]
bug 23524 - &url for ApiQueryIWLinks to expand full URL

13 years ago(bug 23648) PHP yells about using objects in implode(). Would be nice if __toString...
Chad Horohoe [Tue, 25 May 2010 13:25:37 +0000 (13:25 +0000)]
(bug 23648) PHP yells about using objects in implode(). Would be nice if __toString() was called like it should. (Supposedly was fixed in PHP6, meh)

13 years agoRemove &redirects from example
Sam Reed [Tue, 25 May 2010 12:43:04 +0000 (12:43 +0000)]
Remove &redirects from example

14 years agoUsing "latest revision" instead of "current revision" (part of FlaggedRevs, see bug...
Rob Lanphier [Tue, 25 May 2010 00:39:23 +0000 (00:39 +0000)]
Using "latest revision" instead of "current revision" (part of FlaggedRevs, see bug 23623)

14 years agoTry r66856 again - Less fail this time
Sam Reed [Mon, 24 May 2010 23:32:05 +0000 (23:32 +0000)]
Try r66856 again - Less fail this time

Part of bug 23332

Move everything that isn't the SpecialRevisionDelete class out of specials/SpecialRevisiondelete.php into RevisionDelete.php

14 years agoRevert r66856, due to the complete rubbish commit summary (dupe of another revision)
Sam Reed [Mon, 24 May 2010 23:28:00 +0000 (23:28 +0000)]
Revert r66856, due to the complete rubbish commit summary (dupe of another revision)

14 years agobug 18608 done in a fashion much closer to how I should've done it originally.
Sam Reed [Mon, 24 May 2010 23:24:17 +0000 (23:24 +0000)]
bug 18608 done in a fashion much closer to how I should've  done it originally.

Latching onto bug 22061 output

Following up r62195 and r61125Part of bug 23332

Move everything that isn't the SpecialRevisionDelete class out of specials/SpecialRevisiondelete.php into RevisionDelete.php

14 years agoFollow up r66835. Some people use direct urls in MediaWiki:Sidebar instead of -url...
Platonides [Mon, 24 May 2010 20:01:40 +0000 (20:01 +0000)]
Follow up r66835. Some people use direct urls in MediaWiki:Sidebar instead of -url messages (eg. {{FULLURL:Special:RecentChanges|translations=only&trailer=/{{UILANGCODE}}}}).

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 24 May 2010 18:36:06 +0000 (18:36 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-24 18:20:00 UTC)

14 years ago* Removed leftover token check of unhide=1 that was removed elsewhere
Aaron Schulz [Mon, 24 May 2010 18:15:52 +0000 (18:15 +0000)]
* Removed leftover token check of unhide=1 that was removed elsewhere
* Diff doc tweak

14 years agoFollow up r62958. addToSidebar() was added in r59215, we still can redesign it and...
Platonides [Mon, 24 May 2010 16:38:08 +0000 (16:38 +0000)]
Follow up r62958. addToSidebar() was added in r59215, we still can redesign it and avoid legacy functions.

14 years agobug 18608 done in a fashion much closer to how I should've done it originally.
Sam Reed [Mon, 24 May 2010 16:35:23 +0000 (16:35 +0000)]
bug 18608 done in a fashion much closer to how I should've  done it originally.

Latching onto bug 22061 output

Following up r62195 and r61125

14 years agoFollow-up r66823: Add new message keys to maintenance script
Raimond Spekking [Mon, 24 May 2010 15:23:39 +0000 (15:23 +0000)]
Follow-up r66823: Add new message keys to maintenance script

14 years agoCosmetic in head scripts
Alexandre Emsenhuber [Mon, 24 May 2010 14:12:42 +0000 (14:12 +0000)]
Cosmetic in head scripts
* add a new line before including wikibits.js
* don't add a new line between getHeadScripts() and getHeadItems()

14 years ago(bug 23593) Made revision/date links enabled at history/contribs for deleted revs
Aaron Schulz [Mon, 24 May 2010 14:05:24 +0000 (14:05 +0000)]
(bug 23593) Made revision/date links enabled at history/contribs for deleted revs

14 years agorm fixme from r65104, everything works fine on SQLite
Max Semenik [Mon, 24 May 2010 13:35:16 +0000 (13:35 +0000)]
rm fixme from r65104, everything works fine on SQLite

14 years agoremoved unused variable
Alexandre Emsenhuber [Mon, 24 May 2010 12:52:26 +0000 (12:52 +0000)]
removed unused variable

14 years agoAdd messages for r66793
Andrew Garrett [Mon, 24 May 2010 12:47:30 +0000 (12:47 +0000)]
Add messages for r66793

14 years agoFix index creation
Andrew Garrett [Mon, 24 May 2010 12:31:30 +0000 (12:31 +0000)]
Fix index creation

14 years agoRemove wayward comma
Andrew Garrett [Mon, 24 May 2010 12:30:09 +0000 (12:30 +0000)]
Remove wayward comma

14 years agoMake getUserPermissionsErrors(Expensive) actually handle $result as documented
Niklas Laxström [Mon, 24 May 2010 09:55:46 +0000 (09:55 +0000)]
Make getUserPermissionsErrors(Expensive) actually handle $result as documented

Fatal errors was caused by nesting the results one level too deep

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 23 May 2010 21:12:35 +0000 (21:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-23 20:40:00 UTC)

14 years agoFixed some doxygen warnings and documented a bit
Alexandre Emsenhuber [Sun, 23 May 2010 19:25:07 +0000 (19:25 +0000)]
Fixed some doxygen warnings and documented a bit

14 years ago(bug 23616) Spaces in interwiki.sql entries break postgres, link doesn't get inserted
Chad Horohoe [Sun, 23 May 2010 15:14:13 +0000 (15:14 +0000)]
(bug 23616) Spaces in interwiki.sql entries break postgres, link doesn't get inserted

14 years agoUse new comment syntax here.
Chad Horohoe [Sun, 23 May 2010 15:12:07 +0000 (15:12 +0000)]
Use new comment syntax here.

14 years agoAdd bug # for r66793
Andrew Garrett [Sun, 23 May 2010 14:24:52 +0000 (14:24 +0000)]
Add bug # for r66793

14 years agoUgly temporary fix for bug 21279:
Andrew Garrett [Sun, 23 May 2010 14:19:20 +0000 (14:19 +0000)]
Ugly temporary fix for bug 21279:
* When a revision cannot be found in the revision table, look for it in the archive table.
* If both deleted and undeleted revisions are covered by the same log entry, show two links (see bug 23663)

14 years agoStylize maintenance folder..
Sam Reed [Sat, 22 May 2010 16:50:39 +0000 (16:50 +0000)]
Stylize maintenance folder..

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sat, 22 May 2010 16:14:28 +0000 (16:14 +0000)]
Fixed some doxygen warnings

14 years ago*coding style cleanup (added braces, spacing tweaks etc.)
Jack Phoenix [Sat, 22 May 2010 12:18:22 +0000 (12:18 +0000)]
*coding style cleanup (added braces, spacing tweaks etc.)
*removed some unused globals

14 years agotrim trailing spaces
Jack Phoenix [Sat, 22 May 2010 11:47:56 +0000 (11:47 +0000)]
trim trailing spaces

14 years agoLocalization fix for he.
Rotem Liss [Sat, 22 May 2010 08:53:38 +0000 (08:53 +0000)]
Localization fix for he.

14 years agoLocalization update for he.
Rotem Liss [Fri, 21 May 2010 21:10:42 +0000 (21:10 +0000)]
Localization update for he.

14 years agoTypo in comment
Chad Horohoe [Fri, 21 May 2010 21:08:05 +0000 (21:08 +0000)]
Typo in comment

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 21 May 2010 19:22:53 +0000 (19:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-21 18:35:00 UTC)

14 years agoChange text to Users for bug 23620
Sam Reed [Fri, 21 May 2010 19:18:04 +0000 (19:18 +0000)]
Change text to Users for bug 23620

14 years agoAdd missing {$p}
Sam Reed [Fri, 21 May 2010 19:15:35 +0000 (19:15 +0000)]
Add missing {$p}

14 years agoBug 22541. Support image redirects on Commons for ForeignAPIRepo
Derk-Jan Hartman [Fri, 21 May 2010 15:59:01 +0000 (15:59 +0000)]
Bug 22541. Support image redirects on Commons for ForeignAPIRepo

getImageInfo() now requires fetchImageQuery() results as input.

14 years agoBug 23580. Add two new jquery events, LivePreviewPrepare and LivePreviewDone.
Derk-Jan Hartman [Fri, 21 May 2010 14:02:15 +0000 (14:02 +0000)]
Bug 23580. Add two new jquery events, LivePreviewPrepare and LivePreviewDone.

Scripts like Navigation Popups can use this to bind to these events so they can
setup their code to work with the previews.

Patch by User:Amalthea

14 years agoUse __METHOD__ in a few places
Chad Horohoe [Fri, 21 May 2010 12:57:26 +0000 (12:57 +0000)]
Use __METHOD__ in a few places

14 years agoPivot the interpretation of expiry time at 10 years (1980) instead of 1 month.
Tim Starling [Fri, 21 May 2010 05:20:36 +0000 (05:20 +0000)]
Pivot the interpretation of expiry time at 10 years (1980) instead of 1 month.

14 years agore r66675 fix typo
Mark A. Hershberger [Fri, 21 May 2010 00:57:46 +0000 (00:57 +0000)]
re r66675 fix typo

14 years agore r66702 Use wfMsgForContent instead of wfMsg
Mark A. Hershberger [Fri, 21 May 2010 00:52:07 +0000 (00:52 +0000)]
re r66702 Use wfMsgForContent instead of wfMsg

14 years agoShow/hide memcached server field based on radio selection. Typical flaw of hiding...
Chad Horohoe [Thu, 20 May 2010 22:24:46 +0000 (22:24 +0000)]
Show/hide memcached server field based on radio selection. Typical flaw of hiding info in JS-disabled browsers, but somebody can fix that :)

14 years agoMark 'usermessage-template' optional.
Siebrand Mazeland [Thu, 20 May 2010 21:56:48 +0000 (21:56 +0000)]
Mark 'usermessage-template' optional.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Thu, 20 May 2010 20:36:12 +0000 (20:36 +0000)]
Fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 20 May 2010 20:29:31 +0000 (20:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-20 19:30:00 UTC)

14 years agoFollow-up r66698: Fix syntax error (missing ;)
Raimond Spekking [Thu, 20 May 2010 19:02:45 +0000 (19:02 +0000)]
Follow-up r66698: Fix syntax error (missing ;)

14 years ago* Add formatting for user messages.
Mark A. Hershberger [Thu, 20 May 2010 18:47:13 +0000 (18:47 +0000)]
* Add formatting for user messages.
** First, try a hook for the user messages
** Next, check for a template
** Otherwise, do something sane.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 20 May 2010 18:24:53 +0000 (18:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-20 17:45:00 UTC)

14 years ago Bug 23608: "&nbsp" not followed by a semicolon in diffs
Raimond Spekking [Thu, 20 May 2010 13:38:41 +0000 (13:38 +0000)]
 Bug 23608: "&nbsp" not followed by a semicolon in diffs

14 years agoFix r66646: gotta be careful with search&replace
Roan Kattouw [Thu, 20 May 2010 07:09:07 +0000 (07:09 +0000)]
Fix r66646: gotta be careful with search&replace

14 years ago* Since it makes sense (to me :) to make the arguments for the two UserMessage hooks...
Mark A. Hershberger [Thu, 20 May 2010 02:12:04 +0000 (02:12 +0000)]
* Since it makes sense (to me :) to make the arguments for the two UserMessage hooks more uniform, do it.
* Document these hooks in doc/hooks.txt

14 years agoFollow up r66646 for monobook.
Platonides [Wed, 19 May 2010 23:59:05 +0000 (23:59 +0000)]
Follow up r66646 for monobook.

14 years agoFix r66646: #simpleSearch is a div, not an input, oops
Roan Kattouw [Wed, 19 May 2010 20:43:18 +0000 (20:43 +0000)]
Fix r66646: #simpleSearch is a div, not an input, oops

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 19 May 2010 19:25:55 +0000 (19:25 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-19 19:15:00 UTC)

14 years ago(bug 23597) Make a number of ID selectors more specific (basically #foo -> div#foo...
Roan Kattouw [Wed, 19 May 2010 19:01:19 +0000 (19:01 +0000)]
(bug 23597) Make a number of ID selectors more specific (basically #foo -> div#foo) so they don't accidentally affect headings inserted by users. Skipped IDs that look like they wouldn't be commonly used as headings or that I know exist in Monobook as well.

14 years agoTransclude message of the submit button per {{int:}} into the explaination message...
Raimond Spekking [Wed, 19 May 2010 08:48:44 +0000 (08:48 +0000)]
Transclude message of the submit button per {{int:}} into the explaination message to keep text in sync.
Per suggestion of "User:The Evil IP address" at translatewiki

14 years ago* remove function_exists calls for things that functions that always
Mark A. Hershberger [Wed, 19 May 2010 05:33:27 +0000 (05:33 +0000)]
* remove function_exists calls for things that functions that always
  exist under supported versions of PHP
** assert() is always defined for DifferenceEngine()
** mail() is always defined for UserMailer()
** is_executable() is defined for Windows from PHP 5.0.0 on

14 years ago* Remove compatibility code for pre-5.1 versions of PHP
Mark A. Hershberger [Wed, 19 May 2010 02:12:59 +0000 (02:12 +0000)]
* Remove compatibility code for pre-5.1 versions of PHP
* Re-connect to db after error in strencode()

14 years agoRepair makeThumbLink2() getUnscaledThumb() to pass along the handlerparams to transform()
Derk-Jan Hartman [Wed, 19 May 2010 00:40:48 +0000 (00:40 +0000)]
Repair makeThumbLink2() getUnscaledThumb() to pass along the handlerparams to transform()
Fixes bug 23577

14 years agobug 23588: properly colon-escape links used to replace transclusions if post-expand...
Ilmari Karonen [Wed, 19 May 2010 00:03:54 +0000 (00:03 +0000)]
bug 23588: properly colon-escape links used to replace transclusions if post-expand include size is too large

14 years agoRevert r64426: caused bug 23581 (CollapsibleTabs breakage) for reasons noted in CR...
Roan Kattouw [Tue, 18 May 2010 21:38:06 +0000 (21:38 +0000)]
Revert r64426: caused bug 23581 (CollapsibleTabs breakage) for reasons noted in CR comments

14 years agoFixed some doxygen warnings and documented a bit
Alexandre Emsenhuber [Tue, 18 May 2010 20:59:14 +0000 (20:59 +0000)]
Fixed some doxygen warnings and documented a bit

14 years agoUse ID instead of (namespace,title) for the update statement, fix reporting
Jens Frank [Tue, 18 May 2010 20:35:25 +0000 (20:35 +0000)]
Use ID instead of (namespace,title) for the update statement, fix reporting

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 18 May 2010 20:00:55 +0000 (20:00 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-18 19:45:00 UTC)

14 years agoMove talk pages, too, cf. bug #23409
Jens Frank [Tue, 18 May 2010 19:39:34 +0000 (19:39 +0000)]
Move talk pages, too, cf. bug #23409

14 years agoWiden SimpleSearch search box in Vector from 9em to 14em
Roan Kattouw [Tue, 18 May 2010 16:58:47 +0000 (16:58 +0000)]
Widen SimpleSearch search box in Vector from 9em to 14em

14 years agoFollow up r63707: update the default link colour in all skins to match what's actuall...
Happy-melon [Tue, 18 May 2010 13:01:24 +0000 (13:01 +0000)]
Follow up r63707: update the default link colour in all skins to match what's actually been displayed to everyone since forever.

14 years agoFollowup r66566. wgUploadNavigationUrl is an external link.
Derk-Jan Hartman [Tue, 18 May 2010 11:41:58 +0000 (11:41 +0000)]
Followup r66566. wgUploadNavigationUrl is an external link.

14 years agore: r66438 Fix doc string, add usermessage-editor to $wgReservedUsernames
Mark A. Hershberger [Tue, 18 May 2010 00:14:57 +0000 (00:14 +0000)]
re: r66438 Fix doc string, add usermessage-editor to $wgReservedUsernames

14 years agoLocalisation updates for core namespaces from translatewiki.net
Siebrand Mazeland [Mon, 17 May 2010 22:29:11 +0000 (22:29 +0000)]
Localisation updates for core namespaces from translatewiki.net

14 years agoFollow up r66566. Fixes uninited value check
Derk-Jan Hartman [Mon, 17 May 2010 21:45:46 +0000 (21:45 +0000)]
Follow up r66566. Fixes uninited value check

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Mon, 17 May 2010 20:07:50 +0000 (20:07 +0000)]
Fixed some doxygen warnings

14 years agoFix bug 16573. Force consistent rendering of \epsilon by always using serverside...
Derk-Jan Hartman [Mon, 17 May 2010 20:03:32 +0000 (20:03 +0000)]
Fix bug 16573. Force consistent rendering of \epsilon by always using serverside PNG rendering.