Chad Horohoe [Sun, 17 May 2009 00:09:30 +0000 (00:09 +0000)]
Rm unused $wgLang and some trailing whitespace.
Alexandre Emsenhuber [Sat, 16 May 2009 20:12:29 +0000 (20:12 +0000)]
* fix MessageCache::get()'s $isFullKey param: full key is "msg/lang" as in MediaWiki namespace, not "lang/msg"
* whitespaces tweaks
Alexandre Emsenhuber [Sat, 16 May 2009 19:35:03 +0000 (19:35 +0000)]
fix for r50667: consistency with other hooks: removed "* " before params
Alexandre Emsenhuber [Sat, 16 May 2009 19:32:12 +0000 (19:32 +0000)]
Document "MessageNotInMwNs" hook
Alexandre Emsenhuber [Fri, 15 May 2009 20:57:37 +0000 (20:57 +0000)]
Fix for r50642: forgot to rebuild "qqq"
Alexandre Emsenhuber [Fri, 15 May 2009 20:09:30 +0000 (20:09 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-15 20:05 UTC)
Aryeh Gregor [Fri, 15 May 2009 19:43:09 +0000 (19:43 +0000)]
(bug 16912) Tooltips on images with link= disappear
Patch based on one by Derk-Jan Hartman, which he wasn't able to commit
because he didn't have a MediaWiki installation to test on. One fix
made, and parser tests added.
Aryeh Gregor [Fri, 15 May 2009 19:23:00 +0000 (19:23 +0000)]
Add --setversion option to parserTests
This overrides the version string stored in the database with --record.
When using git-svn, you can do
php maintenance/parserTests.php --quick --quiet --record \
--setversion=`git rev-parse HEAD`
to have comprehensible version info stored for the purposes of later
bisection. Previously just "1.16alpha" would be stored, which is
useless for tracking down the old revision -- you'd have to try guessing
based on date.
It might be useful for SpecialVersion::getVersion() to support git-svn,
but that's a more complicated and intrusive change for an admittedly
small minority, so I avoided it for now.
Aryeh Gregor [Fri, 15 May 2009 19:01:06 +0000 (19:01 +0000)]
Fix parsertests with $wgSectionContainers=true
Chad Horohoe [Fri, 15 May 2009 17:21:31 +0000 (17:21 +0000)]
Use getTitle() instead of getTitleFor()
Chad Horohoe [Fri, 15 May 2009 17:08:38 +0000 (17:08 +0000)]
(bug 18549) Make Special:Blockip (and api action=block) respect $wgEnableUserEmail and $wgSysopEmailBans
Chad Horohoe [Fri, 15 May 2009 16:43:09 +0000 (16:43 +0000)]
Don't need to use $wgUser, isValidEmailAddr() is static.
Alexandre Emsenhuber [Fri, 15 May 2009 11:34:18 +0000 (11:34 +0000)]
Follow-up r50567: also update PostgreSQL and SQLite schema
Roan Kattouw [Fri, 15 May 2009 10:42:25 +0000 (10:42 +0000)]
Fix up r50600, which had no effect
Alexandre Emsenhuber [Fri, 15 May 2009 10:16:13 +0000 (10:16 +0000)]
* Fix comment
* Removed "- 1" when incrementing $blockStart and $blockEnd so that LOG_SEARCH_BATCH_SIZE is respected
Alexandre Emsenhuber [Fri, 15 May 2009 09:37:11 +0000 (09:37 +0000)]
Tweak for r50609: use $wgDatabase rather than wfGetDB( DB_MASTER )
Aaron Schulz [Fri, 15 May 2009 05:25:46 +0000 (05:25 +0000)]
Add newline to echo call
Tim Starling [Fri, 15 May 2009 02:49:06 +0000 (02:49 +0000)]
Fix breakage of SQLite ResultWrapper due to r45769. The "result" member in SQLite is actually an array and so passing by value to DatabaseSqlite::fetchObject() makes it fail to iterate. We can't really pass it by reference since that's an E_STRICT error due to a parameter type mismatch with Database. Pass the ResultWrapper instead.
This means that nothing at all should be passing bare result objects/arrays to Database*::fetchObject() anymore. The "instanceof ResultWrapper" logic can be removed in a subsequent commit. It can stay in this one for now for safer backport to 1.15.
Brion Vibber [Thu, 14 May 2009 23:06:53 +0000 (23:06 +0000)]
Populate log_search during update.php run and store an update status row when we're done.
Brion Vibber [Thu, 14 May 2009 22:43:57 +0000 (22:43 +0000)]
Cleanup for r50567:
* Include DB table options on log_search table creation
* Adjust tabs->spaces in table def... sounds silly, but the tabs sometimes confuse things when cut-and-pasting into mysql command line. :)
Chad Horohoe [Thu, 14 May 2009 21:45:22 +0000 (21:45 +0000)]
Wrap line.
Tom Maaswinkel [Thu, 14 May 2009 21:41:18 +0000 (21:41 +0000)]
Updated RELEASE-NOTES for the changes made in r50605
Tom Maaswinkel [Thu, 14 May 2009 21:38:45 +0000 (21:38 +0000)]
Added a new hook to handle messages that aren't found in the Mediawiki Namespace (before checking the message files)
Chad Horohoe [Thu, 14 May 2009 20:45:14 +0000 (20:45 +0000)]
(bug 18656) Use proper directory separators in wfMkdirParents(). Normalized all \ or / to DIRECTORY_SEPARATOR.
Chad Horohoe [Thu, 14 May 2009 20:29:54 +0000 (20:29 +0000)]
Followup to r50423: Check if the row is null, since older revs don't necessarily have rev_len populated.
Chad Horohoe [Thu, 14 May 2009 20:22:42 +0000 (20:22 +0000)]
(bug 18716) Removed redundant class in Modern skin CSS for category links and tweaked spacing. Patch by Derk-Jan Hartman
Aaron Schulz [Thu, 14 May 2009 19:49:33 +0000 (19:49 +0000)]
Tweaks to r50567:
* Improved exception handling
* Removed redundant ls_log_id cond
* Added log_type to getLogQueryCond()
* Don't show duplicate rows in log results
* populateLogSearch now handles an older log_param format
Philip Tzou [Thu, 14 May 2009 17:39:18 +0000 (17:39 +0000)]
Update the Chinese conversion tables.
Philip Tzou [Thu, 14 May 2009 16:59:42 +0000 (16:59 +0000)]
Update the Chinese conversion tables.
Tim Starling [Thu, 14 May 2009 13:49:17 +0000 (13:49 +0000)]
(bug 11451) Fix error in 1.2 -> 1.3 upgrade script, causing failure of upgrades from 1.2 or before. Rediscovered during automated testing. For backport to 1.15.
Aaron Schulz [Wed, 13 May 2009 22:22:09 +0000 (22:22 +0000)]
Give failure message rather than assuming field 0 for trying to set field 8 (just suppressing a rev but not hiding anything)
Aaron Schulz [Wed, 13 May 2009 22:03:32 +0000 (22:03 +0000)]
[schema change] Use new log_search table to replace ugly code from r48839. Maintenance script added to populate the table with revisiondelete log items.
Tim Starling [Wed, 13 May 2009 04:03:36 +0000 (04:03 +0000)]
Add AbuseFilter to the installer.
Ilmari Karonen [Tue, 12 May 2009 23:56:28 +0000 (23:56 +0000)]
unencode all slashes and colons in importScript(), not just the first one of each
Raimond Spekking [Tue, 12 May 2009 20:40:44 +0000 (20:40 +0000)]
* (bug 18776) Native name of Burmese language (my)
Philip Tzou [Tue, 12 May 2009 18:46:21 +0000 (18:46 +0000)]
Update the Chinese conversion tables.
Raimond Spekking [Tue, 12 May 2009 18:20:27 +0000 (18:20 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-12 18:10 UTC)
Roan Kattouw [Tue, 12 May 2009 14:15:08 +0000 (14:15 +0000)]
Fix E_STRICT reported on Translatewiki.net
Tim Starling [Tue, 12 May 2009 13:43:51 +0000 (13:43 +0000)]
Quick hack to allow creation of blobs tables with names other than "blobs"
Raimond Spekking [Tue, 12 May 2009 11:58:04 +0000 (11:58 +0000)]
* Add Estonian letters äöõšüž to linktrail (et)
Per discussion at http://de.wikipedia.org/w/index.php?title=Hilfe_Diskussion:Bugzilla&oldid=
59892716#Fehlerhafte_Hyperlinks
Alexandre Emsenhuber [Mon, 11 May 2009 15:32:51 +0000 (15:32 +0000)]
__FUNCTION__ -> __METHOD__ in SpecialRecentchanges::checkLastModified()
Aryeh Gregor [Mon, 11 May 2009 14:05:21 +0000 (14:05 +0000)]
Partial revert of r50478 "Preparations for Oracle database abstraction update."
Syntax error in RecentChangesLinked with MySQL 5.0: "1248: Every derived
table must have its own alias (localhost)". Also likely to fail in
MySQL 4.0 even with an alias added, since subqueries don't work.
Jure Kajzer [Mon, 11 May 2009 12:38:45 +0000 (12:38 +0000)]
Preparations for Oracle database abstraction update.
Replaced a few hardcoded LIMIT clauses with database function.
Wrapped UNION statement in SpecialRecentchangeslinked for Oracle compatibility.
Tim Starling [Mon, 11 May 2009 11:35:52 +0000 (11:35 +0000)]
Proposed fix for bug 16937: pg_version() missing server version due to PHP bug.
Tim Starling [Mon, 11 May 2009 06:38:16 +0000 (06:38 +0000)]
(bug 18726) Fixed double URL escaping in the links to Special:RevisionDelete in the file and page history lists on Special:Undelete.
Siebrand Mazeland [Sun, 10 May 2009 21:16:41 +0000 (21:16 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-10 21:07 UTC)
Ilmari Karonen [Sun, 10 May 2009 20:33:55 +0000 (20:33 +0000)]
fix regression from r49677 by refusing to format old-style metadata even if a foreign repo hands us some
Aaron Schulz [Sun, 10 May 2009 18:06:00 +0000 (18:06 +0000)]
Tweak comment
Alexandre Emsenhuber [Sun, 10 May 2009 16:17:23 +0000 (16:17 +0000)]
removed useless "$skin->link( $title );"
Roan Kattouw [Sun, 10 May 2009 09:52:31 +0000 (09:52 +0000)]
API: (bug 18749) Add generator flag to action=paraminfo output. Also fixes an internal error in r50367
Roan Kattouw [Sun, 10 May 2009 09:25:46 +0000 (09:25 +0000)]
API: (bug 18743) Add ucprop=size (enabled by default) to list=usercontribs. Also fix warning from r49732
Roan Kattouw [Sun, 10 May 2009 09:18:23 +0000 (09:18 +0000)]
Revert r50180 ("Proper error message on action=protect"): causes bug 18728 ("Non-admins can no longer see protection settings")
Meno25 [Sun, 10 May 2009 00:53:59 +0000 (00:53 +0000)]
Minor commit:
* Add the original authors of messagesar.php who are not registered on betawiki
* Remove non-native speakers
Siebrand Mazeland [Sat, 9 May 2009 23:45:33 +0000 (23:45 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-09 23:36 UTC)
Siebrand Mazeland [Sat, 9 May 2009 23:03:11 +0000 (23:03 +0000)]
Follow-up on r50351. Fix adding key/value pair.
Roan Kattouw [Sat, 9 May 2009 20:52:52 +0000 (20:52 +0000)]
Efficiency fix: don't call Title::isRedirect() on titles known not to exist; eliminates a lot of LinkCache::addLinkObj() queries for titles fed to Linker::makeBrokenLinkObj()
Alexandre Emsenhuber [Sat, 9 May 2009 14:19:58 +0000 (14:19 +0000)]
float -> double for the "Time (type)" test according to the PHP manual
Roan Kattouw [Sat, 9 May 2009 13:00:59 +0000 (13:00 +0000)]
API: (bug 18730) Add version information to action=paraminfo output
Roan Kattouw [Sat, 9 May 2009 12:52:38 +0000 (12:52 +0000)]
API: (bug 18731) Show correct SVN links for extension modules in api.php?version . Guesswork to get the path assumes extensions are in a directory called extensions/extensionname , which should be a valid assumption on sane installs.
Siebrand Mazeland [Fri, 8 May 2009 23:27:42 +0000 (23:27 +0000)]
Follow-up on r50351. Fix syntax errors in CategoryPage.php
Siebrand Mazeland [Fri, 8 May 2009 23:24:31 +0000 (23:24 +0000)]
Use link() instead of deprecated makeLinkObj() where possible.
Jan Luca Naumann [Fri, 8 May 2009 20:33:42 +0000 (20:33 +0000)]
Update RELEASE-NOTES for r50336
Roan Kattouw [Fri, 8 May 2009 17:24:49 +0000 (17:24 +0000)]
API: (bug 18709) Missing descriptions for some parameters in action=paraminfo output
Jan Luca Naumann [Fri, 8 May 2009 16:58:20 +0000 (16:58 +0000)]
(bug 18718) A comma was after a }, so that IE has problems
Alexandre Emsenhuber [Fri, 8 May 2009 09:03:55 +0000 (09:03 +0000)]
more fixes for r50316: changed StartProfiler.php to ProfilerStub.php so that it doesn't break when StartProfiler.php doesn't exist
Alexandre Emsenhuber [Fri, 8 May 2009 08:54:47 +0000 (08:54 +0000)]
* Fix for r50316 and r50324: require ProfilerStub.php if StartProfiler.php doesn't exist to aviod call to undefined function wfProfileIn()
* Removed already commented out "require_once( $IP.'/includes/ProfilerStub.php' );" now really obsolete
Tim Starling [Fri, 8 May 2009 05:43:37 +0000 (05:43 +0000)]
(bug 17611) Provide a sensible error message on install when the SQLite data directory is wrong. For backport to 1.15. Achieved by layering another collection of ugly hacks on top of config/index.php, in the hopes that the combined weight of hackishness might convince Brion to allow me to finish the new installer.
Chad Horohoe [Thu, 7 May 2009 20:30:55 +0000 (20:30 +0000)]
Followup to r50316: Fix inclusion of profiler in maintenance scripts.
Alexandre Emsenhuber [Thu, 7 May 2009 20:15:09 +0000 (20:15 +0000)]
Don't use $this in hook description since it's a reserved word
Chad Horohoe [Thu, 7 May 2009 20:09:45 +0000 (20:09 +0000)]
(bug 18710) Fixed internal error with empty parameter in ApiParamInfo
Chad Horohoe [Thu, 7 May 2009 20:02:20 +0000 (20:02 +0000)]
Don't explicitly check for false. Most modules without params return an empty array rather than false, in which case we still don't want to output this.
Chad Horohoe [Thu, 7 May 2009 18:49:57 +0000 (18:49 +0000)]
Add $this as a parameter to LoadAllMessages.
Aaron Schulz [Thu, 7 May 2009 18:30:26 +0000 (18:30 +0000)]
Removed StartProfiler.php from SVN control and added StartProfiler.sample file. The sample file can be moved to the former name to set profiling. MW will fall back to ProfilerStub.php as usual if there is no StartProfiler.php.
Alexandre Emsenhuber [Thu, 7 May 2009 16:51:45 +0000 (16:51 +0000)]
fix E_PARSE from r50310
Chad Horohoe [Thu, 7 May 2009 16:18:42 +0000 (16:18 +0000)]
Supress chmod() errors, they're annoying and very common. In all liklihood, the wiki can display the image with whatever permissions it was created to begin with. Also introduce the 'fileMode' parameter for $wgLocalFileRepo/$wgForeignFileRepos. Fixes bug 18326
Chad Horohoe [Thu, 7 May 2009 16:00:29 +0000 (16:00 +0000)]
(bug 16925) Diffs no longer silently fail when $wgExternalDiffEngine is set to 'wikidiff' or 'wikidiff2' but extension is not installed. Should now gracefully fall back to the PHP diff.
Alexandre Emsenhuber [Thu, 7 May 2009 09:30:36 +0000 (09:30 +0000)]
only 1010 tests, not 1120
Niklas Laxström [Thu, 7 May 2009 07:47:46 +0000 (07:47 +0000)]
* Same hack for transstat.php as in r50125
Andrew Garrett [Thu, 7 May 2009 07:27:01 +0000 (07:27 +0000)]
Remove StartProfiler.php, removed with no explanation in r50299, causing fatals on all installations.
Aaron Schulz [Thu, 7 May 2009 03:46:39 +0000 (03:46 +0000)]
ignore startprofiler.php
Brion Vibber [Wed, 6 May 2009 23:47:31 +0000 (23:47 +0000)]
Fix a silly bug that isn't the mystery dump bug we were looking for, but could result in infinite loop during text pass if it fails just at the right time.
Arash Boostani [Wed, 6 May 2009 23:21:55 +0000 (23:21 +0000)]
Fixed a minor problem with $wgSectionContainers that was causing some divs to not be closed properly
Robert Stojnić [Wed, 6 May 2009 21:05:52 +0000 (21:05 +0000)]
Follow-up for r50207: mysql won't estimate total number of hits, so don't show it - copied from SpecialSearchOld more or less.
Alexandre Emsenhuber [Wed, 6 May 2009 20:02:01 +0000 (20:02 +0000)]
If passing a callback in an array in $wgExtensionFunctions, fix the profile name to not have 'Setup.php-extensions-Array'
Raimond Spekking [Wed, 6 May 2009 19:27:12 +0000 (19:27 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-06 19:00 UTC)
Arash Boostani [Wed, 6 May 2009 15:13:12 +0000 (15:13 +0000)]
Set the default value for $wgSectionContainers and documented the functionality.
Rotem Liss [Wed, 6 May 2009 08:38:37 +0000 (08:38 +0000)]
Localization update.
Philip Tzou [Wed, 6 May 2009 05:44:55 +0000 (05:44 +0000)]
Update the Chinese conversion tables.
Arash Boostani [Wed, 6 May 2009 04:17:48 +0000 (04:17 +0000)]
Fixed problem with call to closeSectionContainers that contained references. Only the function definition needs to indicate that the input variable is a reference, not the function call.
Arash Boostani [Tue, 5 May 2009 23:16:58 +0000 (23:16 +0000)]
Inadvertently committed an extension to the extension directory, so I am now removing those files
Arash Boostani [Tue, 5 May 2009 22:49:45 +0000 (22:49 +0000)]
Added an extension, called EditSectionHiliteLink, that highlights the appropriate section when the user mouses over the section edit links. Also, modified the Parser to enclose each section in a div if $wgSectionContainers is set.
Roan Kattouw [Tue, 5 May 2009 14:30:13 +0000 (14:30 +0000)]
Fix up r50223: moving a wrongly-moved entry back from HISTORY to RELEASE-NOTES
Tim Starling [Tue, 5 May 2009 14:24:00 +0000 (14:24 +0000)]
Moved backported RELEASE-NOTES items to HISTORY.
Roan Kattouw [Tue, 5 May 2009 13:22:50 +0000 (13:22 +0000)]
Followup to r50132: rename API define constant to MW_API, per comment on CR
Alexandre Emsenhuber [Tue, 5 May 2009 11:09:21 +0000 (11:09 +0000)]
Per Simetrical's comment on r50192: update CREDITS file
Roan Kattouw [Tue, 5 May 2009 09:47:53 +0000 (09:47 +0000)]
Fix up r47473: descend into subarrays in ForeignAPIFile::getMetadata()
Shinjiman [Tue, 5 May 2009 03:11:34 +0000 (03:11 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Robert Stojnić [Mon, 4 May 2009 23:33:07 +0000 (23:33 +0000)]
Addendum for r50205, also explicitly cancel any pending fetches just to be sure.
Robert Stojnić [Mon, 4 May 2009 23:07:19 +0000 (23:07 +0000)]
Redesign of the "new search UI" per Trevor's design plans from usability wiki:
* simplify everything, move search box to top
* move header below it and make it google-style
* move styles from monobook into shared since people didn't really customize it
* remove some old unused stuff like default+project namespaces and such
Things to do still:
* smarter detection of prefix searches
* javascript to link to correct link when typing in a query, but clicking on one of the search headers
* prev/next still uses MW default navigation, should be replaced with tango icons?
* test a bit more with default search backend (i.e. mysql)
Robert Stojnić [Mon, 4 May 2009 21:07:18 +0000 (21:07 +0000)]
Fix annoying bug with mwsuggest that makes it shown suggestions after search box has lost focus (which it shouldn't).
Introduce additional attribute that tells the suggestion container that it should stay hidden.