Aaron Schulz [Thu, 11 Mar 2010 05:32:04 +0000 (05:32 +0000)]
Made resetArticleID() reset redirect/length/latest ID fields
Mark A. Hershberger [Wed, 10 Mar 2010 21:54:23 +0000 (21:54 +0000)]
Follow-up r61856
* Rename wordSegmentation() to segmentByWord().
* Consolidate search index locking and iteration to Maintenance.php
* Add maintenance/updateDoubleWidthSearch.php to take care of new
format for normalized double-width roman characters.
* Add error checking to updateSearchIndex.php for creating $posFile.
* Add note to UPGRADE about running updateDoubleWidthSearch.php.
Alexandre Emsenhuber [Wed, 10 Mar 2010 21:17:58 +0000 (21:17 +0000)]
Fixed some doxygen warnings
Aaron Schulz [Wed, 10 Mar 2010 20:01:49 +0000 (20:01 +0000)]
Made getLatestRevID() return an integer
Raimond Spekking [Wed, 10 Mar 2010 19:52:52 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-10 19:30:00 UTC)
Chad Horohoe [Wed, 10 Mar 2010 12:59:44 +0000 (12:59 +0000)]
Fix child class visibility
Chad Horohoe [Wed, 10 Mar 2010 12:45:38 +0000 (12:45 +0000)]
Followup r63545: Whoops make that public
Chad Horohoe [Wed, 10 Mar 2010 12:44:57 +0000 (12:44 +0000)]
Fix regression from r51677, still need to load AdminSettings if it exists for back-compat. Needs backporting to REL1_16.
Alexandre Emsenhuber [Tue, 9 Mar 2010 21:51:05 +0000 (21:51 +0000)]
* Fixed some doxygen warnings
* Removed some useless spaces in the begining of lines
Alexandre Emsenhuber [Tue, 9 Mar 2010 20:40:00 +0000 (20:40 +0000)]
fix typo
Aryeh Gregor [Tue, 9 Mar 2010 19:48:31 +0000 (19:48 +0000)]
Style fixes
Aryeh Gregor [Tue, 9 Mar 2010 19:47:05 +0000 (19:47 +0000)]
Fix validity and correctness of r63342
The name attribute may only be used on <a> if an id attribute with
identical value is given on the same element. I moved the id to the tr
so it leaves a bit of space at the top, rather than using a name
attribute at all. Also, we need to call Sanitizer::escapeId() on the
group key, lest people use spaces or something in the group key (not
advisable, but possible).
Aryeh Gregor [Tue, 9 Mar 2010 19:27:36 +0000 (19:27 +0000)]
Avoid fatal on login if username is invalid title
Steps to reproduce: Try logging in with a 256-character username.
Expected result: Friendly error message saying the name is invalid.
Actual result: Fatal error: Call to a member function getName() on a
non-object in /var/www/git-trunk/phase3/includes/specials/SpecialUserlogin.php
on line 433
Fix: If you want to check whether something is a User object, check
whether it's a User object. There are things other than null that don't
behave like User objects.
Raimond Spekking [Tue, 9 Mar 2010 18:55:22 +0000 (18:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-09 19:45:00 UTC)
Raimond Spekking [Tue, 9 Mar 2010 17:19:34 +0000 (17:19 +0000)]
Add a clear:both to the filehistory headline to avoid funny floats if the file description contains something like [[File:Foo.jpg|thumb|bar]]
Backport to 1.16 follows.
Sam Reed [Tue, 9 Mar 2010 11:52:43 +0000 (11:52 +0000)]
Minor followup to r63425 and r63428
Set $oldLang to null, and only reset if !is_null( $oldLang )
Also, only change language on ApiQueryAllmessages if wanted language != current language
Mark A. Hershberger [Tue, 9 Mar 2010 04:19:55 +0000 (04:19 +0000)]
follow-up r61856 — wordsegmentation should be done for all search engines, not just mysql
Chad Horohoe [Mon, 8 Mar 2010 22:52:23 +0000 (22:52 +0000)]
Merge r63436 RELEASE-NOTES to trunk HISTORY
Chad Horohoe [Mon, 8 Mar 2010 22:40:55 +0000 (22:40 +0000)]
Merge r63429 RELEASE-NOTES to trunk HISTORY
Tim Starling [Mon, 8 Mar 2010 22:39:14 +0000 (22:39 +0000)]
Fix data leakage from thumb.php for wikis where access to images is restricted (e.g. using img_auth.php). For backport to 1.15.
Sam Reed [Mon, 8 Mar 2010 22:36:52 +0000 (22:36 +0000)]
Minor comment for r63428
Sam Reed [Mon, 8 Mar 2010 22:32:17 +0000 (22:32 +0000)]
* (bug 22764) uselang parameter for action=parse
Also add a few full stops to normalise format of Params
Sam Reed [Mon, 8 Mar 2010 22:26:59 +0000 (22:26 +0000)]
Restore $wgLang in ApiQueryAllmessages if changed during execution
Tim Starling [Mon, 8 Mar 2010 22:22:01 +0000 (22:22 +0000)]
Fixed CSS validation issue (no handling for line continuation). Reported by Suffusion of Yellow. Release notes will go in other branches.
Alexandre Emsenhuber [Mon, 8 Mar 2010 21:11:32 +0000 (21:11 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Mon, 8 Mar 2010 20:41:40 +0000 (20:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-08 20:00 UTC)
Alexandre Emsenhuber [Mon, 8 Mar 2010 20:39:47 +0000 (20:39 +0000)]
There's also File_Ogg in MetavidWiki extension ;)
Max Semenik [Mon, 8 Mar 2010 17:09:55 +0000 (17:09 +0000)]
Fixed error output in moveBatch.php
Roan Kattouw [Mon, 8 Mar 2010 14:43:02 +0000 (14:43 +0000)]
Build preload l10ncache after running hooks, not before, so extension changes (by e.g. LocalisationUpdate) to preloaded messages get picked up.
Aaron Schulz [Sun, 7 Mar 2010 23:47:00 +0000 (23:47 +0000)]
Doc typo
Raimond Spekking [Sun, 7 Mar 2010 22:09:30 +0000 (22:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-07 21:55 UTC)
Tobias [Sun, 7 Mar 2010 18:29:22 +0000 (18:29 +0000)]
reverting myself (r63361) due to comment #2 in bug 22756. Feature not needed
Alexandre Emsenhuber [Sun, 7 Mar 2010 17:26:23 +0000 (17:26 +0000)]
Fixed some doxygen warnings
Siebrand Mazeland [Sun, 7 Mar 2010 17:08:59 +0000 (17:08 +0000)]
Refine documentation added in r63361
Tobias [Sun, 7 Mar 2010 16:26:42 +0000 (16:26 +0000)]
bug 22756: Add parameter to noarticletext/newarticletext indicating if it's the current user's user (talk) page
Rotem Liss [Sun, 7 Mar 2010 15:15:39 +0000 (15:15 +0000)]
Localization update for he, and whitespace fix in en.
Jack Phoenix [Sun, 7 Mar 2010 14:07:14 +0000 (14:07 +0000)]
cleanup to SpecialUpload.php:
*trimmed trailing spaces
*more braces
*indentation tweaks
*removed unused globals
*removed unused $sk variable from showUploadWarning()
*changed double quotes to single where appropriate
Aaron Schulz [Sun, 7 Mar 2010 12:32:21 +0000 (12:32 +0000)]
* truncate() comment fix
* truncateHtml() tweaks:
** Fixed miscount of remaining length wrt. entities
** Improved performance of "ellipsis makes string longer" check
Mark A. Hershberger [Sun, 7 Mar 2010 04:26:23 +0000 (04:26 +0000)]
* Fix a global problem.
* Stop serialisation of PDO objects for sqlite
* temporarily order tests so they work (shouldn't be necessary in the
long run)
Chad Horohoe [Sun, 7 Mar 2010 01:51:15 +0000 (01:51 +0000)]
Test case for wfLocalFile() returning valid objects when a file does not exist
Mark A. Hershberger [Sun, 7 Mar 2010 00:30:02 +0000 (00:30 +0000)]
* Fix search-replace problems in MediaWiki_Setup.php
* Use the proper Search* class depending on database setup.
* Rename SearchMySQLTest to SearchDbTest since it isn't
mysql-specific.
* Clean up code in SearchEngineTest.php to make it easier to add
searchable pages.
Chad Horohoe [Sat, 6 Mar 2010 22:42:20 +0000 (22:42 +0000)]
Remove wfGetHTTP(), has been deprecated for ages and has no callers. Also stop loading XmlFunctions by default.
Niklas Laxström [Sat, 6 Mar 2010 21:18:10 +0000 (21:18 +0000)]
* (bug 22748) Add anchors on Special:ListGroupRights
Alexandre Emsenhuber [Sat, 6 Mar 2010 20:49:19 +0000 (20:49 +0000)]
* (bug 22747) "Reveal my e-mail address in notification e-mails" preference is now only displayed when relevant
Raimond Spekking [Sat, 6 Mar 2010 20:48:53 +0000 (20:48 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-06 20:30 UTC)
Ilmari Karonen [Sat, 6 Mar 2010 20:42:35 +0000 (20:42 +0000)]
followup to r63300: add links to /common.css & /common.js to preferences
Alexandre Emsenhuber [Sat, 6 Mar 2010 20:34:10 +0000 (20:34 +0000)]
Fixed some doxygen warnings
Mark A. Hershberger [Sat, 6 Mar 2010 18:14:11 +0000 (18:14 +0000)]
whitespace.
Sam Reed [Sat, 6 Mar 2010 18:03:05 +0000 (18:03 +0000)]
Fixup r63301 as per Roan comment
Still not using an index...
Max Semenik [Sat, 6 Mar 2010 16:45:48 +0000 (16:45 +0000)]
Fix r63320
Max Semenik [Sat, 6 Mar 2010 16:39:31 +0000 (16:39 +0000)]
Fixed a couple of E_DEPRECATED in DatabaseMssql
Raimond Spekking [Sat, 6 Mar 2010 16:06:43 +0000 (16:06 +0000)]
Follow-up r58652: Add 'shared-repo-name-wikimediacommons' message which is used as $1 for 'sharedupload-desc-there' and friends when $wgUseInstantCommons is set to true.
Translations copied from 'shared-repo-name-shared' (extension WikimediaMessages)
This duplication can be deleted when $wgForeignFileRepos['name'] is changed to 'wikimediacommons' in CommonSettings.php. But to be fair I do not know if this would have any sideeffects.
Tim Starling [Fri, 5 Mar 2010 23:59:42 +0000 (23:59 +0000)]
Don't allow trackBlobs.php to continue if there is a potential for corruption as in bug 20757 or bug 22624.
Sam Reed [Fri, 5 Mar 2010 23:41:33 +0000 (23:41 +0000)]
Add patrol/patrol to $wgLogActions
Found missing doing bug 22738 / r63301
Sam Reed [Fri, 5 Mar 2010 23:21:38 +0000 (23:21 +0000)]
* (bug 22738) Allow filtering by action type on query=logevent
Needs patrol fixing (but not an api problem)
Ilmari Karonen [Fri, 5 Mar 2010 22:42:53 +0000 (22:42 +0000)]
(bug 10183) allow users to add custom css/js for all skins via /common.css & /common.js user subpages
Raimond Spekking [Fri, 5 Mar 2010 22:35:36 +0000 (22:35 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-05 22:00 UTC)
Alexandre Emsenhuber [Fri, 5 Mar 2010 21:39:21 +0000 (21:39 +0000)]
Fixed some doxygen warnings
Alexandre Emsenhuber [Fri, 5 Mar 2010 21:31:35 +0000 (21:31 +0000)]
Follow-up r63292: this one is no longer needed
Mark A. Hershberger [Fri, 5 Mar 2010 20:40:43 +0000 (20:40 +0000)]
tests are showing mResultSet is sometimes false when it free() is run, so adding defensive ifs
Mark A. Hershberger [Fri, 5 Mar 2010 20:39:00 +0000 (20:39 +0000)]
random annoying whitespace changes before functional changes
Chad Horohoe [Fri, 5 Mar 2010 00:27:20 +0000 (00:27 +0000)]
Revert r63197 '(bug 12797) Allow adjusting of default gallery display options' Breaks gallery parser test, also I don't really like introducing 5 new globals for this...maybe 1 array with keys?
Alexandre Emsenhuber [Thu, 4 Mar 2010 22:23:21 +0000 (22:23 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Thu, 4 Mar 2010 19:50:03 +0000 (19:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-04 19:30 UTC)
Alexandre Emsenhuber [Thu, 4 Mar 2010 15:42:17 +0000 (15:42 +0000)]
* (bug 22353) Categorised recent changes now works again
Alexandre Emsenhuber [Thu, 4 Mar 2010 13:19:06 +0000 (13:19 +0000)]
Also "consume" categories and categories_any parameters so that it works correctly with $wgAllowCategorizedRecentChanges enabled
Max Semenik [Thu, 4 Mar 2010 08:01:46 +0000 (08:01 +0000)]
Ditched DatabaseFunctions.php. All extensions using it are old and incompatible with current MediaWiki anyway.
Ilmari Karonen [Thu, 4 Mar 2010 00:27:44 +0000 (00:27 +0000)]
followup to r63221: skip update and emit warning if revision text cannot be found
Platonides [Wed, 3 Mar 2010 22:15:40 +0000 (22:15 +0000)]
Remove unused VectorTemplateToolboxEnd hook.
Per-skin hooks are evil. Extensions should use SkinTemplateToolboxEnd.
Platonides [Wed, 3 Mar 2010 22:01:09 +0000 (22:01 +0000)]
(Bug 22709) IIS 7 mishandles redirects generated by OutputPage::output() when
the URL contains a colon.
Avoid tinifying colons for IIS 7.
It's a pity how it pollutes a clean function like wfUrlencode.
Alexandre Emsenhuber [Wed, 3 Mar 2010 21:28:03 +0000 (21:28 +0000)]
Fixed some doxygen warnings
Ilmari Karonen [Wed, 3 Mar 2010 21:15:05 +0000 (21:15 +0000)]
call populateRevisionLength.php from updaters.inc; make updaters.inc use populate*.php instead of the old populate*.inc scripts for other population tasks; remove the now obsolete populate*.inc files; misc. fixes
Raimond Spekking [Wed, 3 Mar 2010 20:41:47 +0000 (20:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-03 20:00 UTC)
Ilmari Karonen [Wed, 3 Mar 2010 20:23:42 +0000 (20:23 +0000)]
(bug 18881) add maintenance script to populate rev_len field for old revisions
Adam Miller [Wed, 3 Mar 2010 19:27:40 +0000 (19:27 +0000)]
Color scheme change
Platonides [Wed, 3 Mar 2010 18:22:26 +0000 (18:22 +0000)]
Follow-up r63213. Move it to wfEscapeShellArg, which is the proper place.
Platonides [Wed, 3 Mar 2010 18:18:15 +0000 (18:18 +0000)]
Escape the caret under Windows, since that's a special character for cmd shell.
Bug 13518 - <math> does not work (wrong shell escaping under Windows)
Raimond Spekking [Wed, 3 Mar 2010 13:07:23 +0000 (13:07 +0000)]
(bug 12797) Allow adjusting of default gallery display options
Conrad Irwin [Wed, 3 Mar 2010 02:41:14 +0000 (02:41 +0000)]
Merge fixes to ?preload= from /branches/conrad/ (cf. bug 5210, r62864, r62035)
Raimond Spekking [Tue, 2 Mar 2010 20:16:33 +0000 (20:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-02 20:00 UTC)
Jure Kajzer [Tue, 2 Mar 2010 16:58:21 +0000 (16:58 +0000)]
oracle: missing table prefix
Jure Kajzer [Tue, 2 Mar 2010 16:26:38 +0000 (16:26 +0000)]
tables.sql for oracle missing prefix
Raimond Spekking [Tue, 2 Mar 2010 14:11:59 +0000 (14:11 +0000)]
Add 'vector' as new skin example, remove the ancient skins as example
Backport to 1.16 follows
Aaron Schulz [Mon, 1 Mar 2010 22:47:12 +0000 (22:47 +0000)]
* Split up logLine() with helper functions
* Added NO_EXTRA_USER_LINKS param to hide talk|contribs links
* Fixed bizarre $time comparison (compared display time and a UNIX const time)
* Added 'flags' param to showLogExtract() params
Alexandre Emsenhuber [Mon, 1 Mar 2010 21:36:57 +0000 (21:36 +0000)]
Fixed some doxygen warnings
Alexandre Emsenhuber [Mon, 1 Mar 2010 21:07:04 +0000 (21:07 +0000)]
Per Simetrical's comment on r63048: use "$user instanceof User" so that it won't break whatever User::newFromName() returns on failure
Alexandre Emsenhuber [Mon, 1 Mar 2010 21:01:26 +0000 (21:01 +0000)]
* (bug 22664) Special:Userrights now accepts '0' as a valid user name
Raimond Spekking [Mon, 1 Mar 2010 19:42:34 +0000 (19:42 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-01 19:00 UTC)
Rotem Liss [Mon, 1 Mar 2010 18:39:09 +0000 (18:39 +0000)]
Localization update for he.
Shinjiman [Mon, 1 Mar 2010 02:17:30 +0000 (02:17 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Raimond Spekking [Sun, 28 Feb 2010 19:45:50 +0000 (19:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-28 19:00 UTC)
Aryeh Gregor [Sun, 28 Feb 2010 19:34:23 +0000 (19:34 +0000)]
Spell variables correctly
Domas Mituzas [Sun, 28 Feb 2010 17:38:26 +0000 (17:38 +0000)]
per lt.php.net/ArrayAccess, offsetSet and offsetUnset ar both void and shouldn't be returning data
Siebrand Mazeland [Sun, 28 Feb 2010 16:56:36 +0000 (16:56 +0000)]
Update magic words from translatewiki.net
Alexandre Emsenhuber [Sun, 28 Feb 2010 15:43:51 +0000 (15:43 +0000)]
* Fixed some doxygen warnings
* Documented a bit
Chad Horohoe [Sun, 28 Feb 2010 12:32:33 +0000 (12:32 +0000)]
Remove $wgVariant from HISTORY, Tim removed it in r55746. Will backport to 1.16 RELEASE-NOTES
Aaron Schulz [Sat, 27 Feb 2010 22:56:48 +0000 (22:56 +0000)]
Deprecate revText(), redundant
Alexandre Emsenhuber [Sat, 27 Feb 2010 21:09:15 +0000 (21:09 +0000)]
* Fixed some doxygen warnings
* Documented a bit
Alexandre Emsenhuber [Sat, 27 Feb 2010 20:22:56 +0000 (20:22 +0000)]
* (bug 22606) The body of e-mail address confirmation message is now different when the address changed
Raimond Spekking [Sat, 27 Feb 2010 19:16:22 +0000 (19:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-27 19:00 UTC)