Chad Horohoe [Tue, 19 May 2009 16:34:49 +0000 (16:34 +0000)]
Cleanup to r50310 & 50313: Don't use @ on chmod() and dl(), use wfSuppressWarnings()/wfRestoreWarnings()
Chad Horohoe [Tue, 19 May 2009 16:23:58 +0000 (16:23 +0000)]
Per code review: Redo these allowBlah() functions (except allowPasswordChange) into a general allowPropChange(), update Preferences to use this. Checked extensions in SVN using AuthPlugin and none have implemented any of the allow*() functions, so nothing should break.
Chad Horohoe [Tue, 19 May 2009 16:10:36 +0000 (16:10 +0000)]
Remove the globals.
Chad Horohoe [Tue, 19 May 2009 16:08:53 +0000 (16:08 +0000)]
Followup to 50635: Consolidate all of these hacky global checks into a clean method. Also move a global and document it.
Arash Boostani [Tue, 19 May 2009 15:12:05 +0000 (15:12 +0000)]
Reverting the code that encloses article sections in their own div for the time being, because there are certain scenarios that break the document structure.
Shinjiman [Tue, 19 May 2009 14:54:49 +0000 (14:54 +0000)]
changing the Unihan.zip source from ftp to http in order to getting more stable download.
Chad Horohoe [Tue, 19 May 2009 14:54:20 +0000 (14:54 +0000)]
Code style tweak, use strval() to make this all much shorter.
Chad Horohoe [Tue, 19 May 2009 14:51:42 +0000 (14:51 +0000)]
Partial revert of r49700: per Tim, this should probably stay, since it is likely to still work in a PHP4 environment.
Tim Starling [Tue, 19 May 2009 08:01:36 +0000 (08:01 +0000)]
Reverted r46706, misses essential updates, the feature can easily be implemented another way (see CodeReview). For 1.15.
Aaron Schulz [Mon, 18 May 2009 22:15:12 +0000 (22:15 +0000)]
Fixed bug in r49227; use raw function now
Aaron Schulz [Mon, 18 May 2009 20:21:12 +0000 (20:21 +0000)]
Removed unused broken line
Brion Vibber [Mon, 18 May 2009 20:20:58 +0000 (20:20 +0000)]
Follow-up to r50689 "* (bug 18389) Localise numbers in EXIF data (patch by Marcus Buck and Ahmad Sherif). Possible FIXME: Is said not to work for "Exif version" and fraction in "Exposure time""
Fixes the fraction formatting for the exposure time. Haven't actually seen anything with exif version?
Brion Vibber [Mon, 18 May 2009 19:08:53 +0000 (19:08 +0000)]
Move wfDebug() call about use of PHP mail() function to _before_ we mess around with warning/error reporting.
Previously, a failure to open the debug log file for writing would end up getting reported as a failure of mail delivery, even though we were successful.
It'll now fail silently (as it should) and won't interfere with the actual mail() call's error reporting.
Brion Vibber [Mon, 18 May 2009 18:52:53 +0000 (18:52 +0000)]
Revert r50721 "(bug 18834) Commit Patch from User Joshua C. Lerner <jlerner@gmail.com> for include/Linker.php"
* Fails to explain purpose of patch
* use of SQL variable interpolation without using standard encoded variable naming convention; looks unsafe and makes review harder
* Code has issues already noted; follow-up code was also reverted.
Code needs a little more cooking I think. :)
Brion Vibber [Mon, 18 May 2009 18:48:36 +0000 (18:48 +0000)]
Revert r50727 "* (bug 18834) Show how many edits will rollback if $wgShowRollbackEditCount is set true in LocalSettings.php, bugfixes for r50721"
* Seems to combine unrelated changes, which complicates code review and management
* Patch is incomplete, missing default settings etc.
Robin Pepermans [Mon, 18 May 2009 18:45:09 +0000 (18:45 +0000)]
remove "+"
Robin Pepermans [Mon, 18 May 2009 18:40:18 +0000 (18:40 +0000)]
(bug 17399) CSS class for "(top)" on Special:Contributions. Patch by Umherirrender.
Jan Luca Naumann [Mon, 18 May 2009 18:25:06 +0000 (18:25 +0000)]
* (bug 18834) Show how many edits will rollback if $wgShowRollbackEditCount is set true in LocalSettings.php, bugfixes for r50721
Rotem Liss [Mon, 18 May 2009 16:26:39 +0000 (16:26 +0000)]
Localization update for he, and rebuilding en.
Jan Luca Naumann [Mon, 18 May 2009 14:20:46 +0000 (14:20 +0000)]
(bug 18834) Commit Patch from User Joshua C. Lerner <jlerner@gmail.com> for include/Linker.php
Siebrand Mazeland [Mon, 18 May 2009 11:51:51 +0000 (11:51 +0000)]
* mark up "Warning:" the same way in all Messages
* remove some ALLCAPS usage.
Shinjiman [Mon, 18 May 2009 10:45:01 +0000 (10:45 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
X! [Mon, 18 May 2009 01:12:52 +0000 (01:12 +0000)]
Watchlist now has a specialized <div> tag that contains a unique class for each page
Siebrand Mazeland [Sun, 17 May 2009 20:39:11 +0000 (20:39 +0000)]
* replace hard coded namespace numbers by the php define
* remove leading spaces, and replace leading space blocks by tabs
Inspired by a patch by jidanni in bug 18273.
Siebrand Mazeland [Sun, 17 May 2009 19:28:02 +0000 (19:28 +0000)]
(bug 18432) Updated documentation for dumpBackup.php (patch contributed by Jidanni)
Siebrand Mazeland [Sun, 17 May 2009 19:23:12 +0000 (19:23 +0000)]
(bug 18411) The upload form now also checks post_max_size (patch contributed by Enukarmers, updated by Stefano Codari)
Siebrand Mazeland [Sun, 17 May 2009 19:04:05 +0000 (19:04 +0000)]
(bug 18342) insertTags works in edit summary box now (patch contributed by Ahmad Sherif)
Rotem Liss [Sun, 17 May 2009 18:42:22 +0000 (18:42 +0000)]
Localization update for he.
Siebrand Mazeland [Sun, 17 May 2009 18:12:13 +0000 (18:12 +0000)]
Follow-up on r50701. Close bold on WARNING.
Siebrand Mazeland [Sun, 17 May 2009 17:55:15 +0000 (17:55 +0000)]
(bug 18438) Tweak HTML for preview bar for consistency and accessibility (patch contributed by Happy-melon with tweaks by siebrand)
Siebrand Mazeland [Sun, 17 May 2009 17:32:25 +0000 (17:32 +0000)]
(bug 18466) Add note or warning when overruling a move (semi-)protection (patch by Nakon with tweaks by Siebrand)
Niklas Laxström [Sun, 17 May 2009 15:44:51 +0000 (15:44 +0000)]
* Follow-up for r50691, add \n to be safe in case there is line-start sensitive markup
Siebrand Mazeland [Sun, 17 May 2009 14:57:30 +0000 (14:57 +0000)]
(bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification (patch by Happy-melon)
Siebrand Mazeland [Sun, 17 May 2009 14:34:28 +0000 (14:34 +0000)]
* (bug 18389) Localise numbers in EXIF data (patch by Marcus Buck and Ahmad Sherif). Possible FIXME: Is said not to work for "Exif version" and fraction in "Exposure time"
* limit lines in RELEASE-NOTES to 80 characters and remove trailing whitespace
Siebrand Mazeland [Sun, 17 May 2009 14:17:55 +0000 (14:17 +0000)]
(bug 18806) Use correct unicode characters in spelling of native Chuvash
Alexandre Emsenhuber [Sun, 17 May 2009 13:54:58 +0000 (13:54 +0000)]
replace ereg(i) by preg_match since the former is deprecated since PHP 5.3
Siebrand Mazeland [Sun, 17 May 2009 10:33:28 +0000 (10:33 +0000)]
Localisation updates from translatewiki.net
* new localisation Lower Silesian (Schläsch) (sli)
* new localisation Uyghur (Arabic script) (ug-arab)
Siebrand Mazeland [Sun, 17 May 2009 10:23:04 +0000 (10:23 +0000)]
Localisation updates from translatewiki.net
* special pages aliases, magic words, namespace names and namespace aliases
Siebrand Mazeland [Sun, 17 May 2009 09:16:22 +0000 (09:16 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-17 09:04 UTC)
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.