Tim Starling [Mon, 23 Aug 2010 02:31:13 +0000 (02:31 +0000)]
Fix complete breakage of new installer due to multiple ob_flush() calls with gzip handler enabled.
Philip Tzou [Mon, 23 Aug 2010 02:07:31 +0000 (02:07 +0000)]
follow up r69134. Change all of convertLinkToAllVariants()'s callers to call autoConvertToAllVariants().
Chad Horohoe [Mon, 23 Aug 2010 01:55:16 +0000 (01:55 +0000)]
Comment adjustment
Chad Horohoe [Mon, 23 Aug 2010 01:53:31 +0000 (01:53 +0000)]
(bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also make wfTempDir() return a sane value for Windows on worst-case
Siebrand Mazeland [Sun, 22 Aug 2010 23:04:33 +0000 (23:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-22 22:34 UTC)
Chad Horohoe [Sun, 22 Aug 2010 21:52:39 +0000 (21:52 +0000)]
Followup r71441, break up messages by type, iterate over known types. Expand on info in box
Jack Phoenix [Sun, 22 Aug 2010 21:34:44 +0000 (21:34 +0000)]
coding style tweaks
Chad Horohoe [Sun, 22 Aug 2010 21:22:04 +0000 (21:22 +0000)]
Mock object needs to be static too
Jack Phoenix [Sun, 22 Aug 2010 21:14:36 +0000 (21:14 +0000)]
coding style tweaks for ajax.js
Jack Phoenix [Sun, 22 Aug 2010 21:07:43 +0000 (21:07 +0000)]
properly capitalize the word "MediaWiki"
Chad Horohoe [Sun, 22 Aug 2010 20:57:53 +0000 (20:57 +0000)]
Be consistent with all the child classes
Chad Horohoe [Sun, 22 Aug 2010 20:55:07 +0000 (20:55 +0000)]
Make getSoftwareLink() static so I can use it without instantiating (and opening) a bunch of databases I probably can't support. Can't have an abstract parent now, so throw an exception for anyone who writes a child class without bothering to implement it. All of this to add some helpful text links in an infobox in the installer :)
Chad Horohoe [Sun, 22 Aug 2010 20:06:08 +0000 (20:06 +0000)]
Kill oracle installer support until its more complete
Chad Horohoe [Sun, 22 Aug 2010 19:36:22 +0000 (19:36 +0000)]
Followup r71367, reusing messages is bad
Chad Horohoe [Sun, 22 Aug 2010 16:10:58 +0000 (16:10 +0000)]
(bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as a repository due to missing 'name' attribute from the API list=allimages
Alexandre Emsenhuber [Sun, 22 Aug 2010 15:58:59 +0000 (15:58 +0000)]
Fixed some doxygen warnings
Alexandre Emsenhuber [Sun, 22 Aug 2010 14:31:05 +0000 (14:31 +0000)]
* Added file description headers
* Added @file where needed
Alexandre Emsenhuber [Sun, 22 Aug 2010 12:02:36 +0000 (12:02 +0000)]
Some extensions like to pass an array for the callback, and method_exists() doesn't like that
Alexandre Emsenhuber [Sun, 22 Aug 2010 11:59:32 +0000 (11:59 +0000)]
Forgot to indent this correctly...
Alexandre Emsenhuber [Sun, 22 Aug 2010 11:57:31 +0000 (11:57 +0000)]
Removed some specific methods from updaters.inc that can use generic ones
Alexandre Emsenhuber [Sun, 22 Aug 2010 10:37:27 +0000 (10:37 +0000)]
* Make the MySQL updater work in the new installer
* DatabaseInstaller::doUpgrade() is now abstract
TODO: MysqlUpdater::doUpgrade() is horrible, please someone fix it once it could be
Max Semenik [Sun, 22 Aug 2010 10:07:14 +0000 (10:07 +0000)]
Release notes for r71428
Max Semenik [Sun, 22 Aug 2010 10:06:06 +0000 (10:06 +0000)]
"Difference between pages" is now displayed instead of "Difference between revisions" on diffs when appropriate. This is even more important now that we have Special:ComparePages
Alexandre Emsenhuber [Sun, 22 Aug 2010 08:32:29 +0000 (08:32 +0000)]
Oops, forgot to change this in r71426
Alexandre Emsenhuber [Sun, 22 Aug 2010 08:07:26 +0000 (08:07 +0000)]
Moved PostgreSQL schema update to PostgresUpdater:
* Still not doing sequential updates, but now this should be easier to correct
* Corrected addition of page_restrictions.pr_id field to use the correct sequence name
* Had to change DatabaseUpdater::getOldGlobalUpdates() from private to protected, since PostgreSQL has its own globals for extensions
* Moved do_all_updates() and archive() to the top of updaters.inc so that they are easier to find
Siebrand Mazeland [Sat, 21 Aug 2010 23:20:48 +0000 (23:20 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-21 22:44 UTC)
Platonides [Sat, 21 Aug 2010 22:34:12 +0000 (22:34 +0000)]
Remove globals, expose options in maintenance style, use the ContentLanguage for the titles.
Platonides [Sat, 21 Aug 2010 22:11:19 +0000 (22:11 +0000)]
Follow up r71359. $wgDBtype uneeded now.
Platonides [Sat, 21 Aug 2010 21:52:47 +0000 (21:52 +0000)]
Replace usage of deprecated Parser::tidy()
Platonides [Sat, 21 Aug 2010 20:47:15 +0000 (20:47 +0000)]
Follow up r71412. $wgContLang is not used.
Alexandre Emsenhuber [Sat, 21 Aug 2010 20:23:42 +0000 (20:23 +0000)]
Fix for r71140: PostgresUpdater should extend DatabaseUpdater, not Updater
Platonides [Sat, 21 Aug 2010 19:54:25 +0000 (19:54 +0000)]
Use canonical class name.
Alexandre Emsenhuber [Sat, 21 Aug 2010 18:20:09 +0000 (18:20 +0000)]
* Added file description headers
* Added @file where needed
Robin Pepermans [Sat, 21 Aug 2010 18:08:59 +0000 (18:08 +0000)]
Change language name of North Frisian (frr) from "Frasch" to "Nordfriisk", per frr.wikipedia.org/wiki/Wikipedia:Diskusjoon#Nordfriisk
Niklas Laxström [Sat, 21 Aug 2010 16:41:53 +0000 (16:41 +0000)]
Added $wgAdaptiveMessageCache to avoid caching huge pile of never used messages at twn.
Alexandre Emsenhuber [Sat, 21 Aug 2010 16:10:56 +0000 (16:10 +0000)]
Added file description headers
Niklas Laxström [Sat, 21 Aug 2010 16:04:06 +0000 (16:04 +0000)]
Revert part of r71391 that was not supposed to go yet.
Alexandre Emsenhuber [Sat, 21 Aug 2010 15:53:46 +0000 (15:53 +0000)]
@TODO @FIXME -> @todo so that doxygen recognise it correctly
Alexandre Emsenhuber [Sat, 21 Aug 2010 15:39:07 +0000 (15:39 +0000)]
Modified Special:Categories to subclass SpecialPage
Alexandre Emsenhuber [Sat, 21 Aug 2010 15:20:23 +0000 (15:20 +0000)]
Fixed some doxygen warnings
Alexandre Emsenhuber [Sat, 21 Aug 2010 14:57:08 +0000 (14:57 +0000)]
* (bug 24804) Corrected commafying in Polish and Ukrainian
Alexandre Emsenhuber [Sat, 21 Aug 2010 14:54:24 +0000 (14:54 +0000)]
break lines a 80 chars
Platonides [Sat, 21 Aug 2010 14:53:39 +0000 (14:53 +0000)]
Follow up r71289. getServerVersion() call was needed to initialise numeric_version.
In fact, we can use getServerVersion() here.
Platonides [Sat, 21 Aug 2010 14:44:25 +0000 (14:44 +0000)]
Follow up r71289. $wgContLang is now unused.
Platonides [Sat, 21 Aug 2010 14:34:16 +0000 (14:34 +0000)]
Commit local change about not using $ourdb as global.
Platonides [Sat, 21 Aug 2010 14:33:32 +0000 (14:33 +0000)]
Try to address some of the issues of r70608.
@yaauie: Set the error_level in your php.ini, do not use calls to error_reporting() for that.
Platonides [Sat, 21 Aug 2010 13:58:54 +0000 (13:58 +0000)]
wfSpecialProtectedtitles() is no longer used. Follow up r71130.
Jack Phoenix [Sat, 21 Aug 2010 12:00:28 +0000 (12:00 +0000)]
coding style tweaks
Niklas Laxström [Sat, 21 Aug 2010 08:20:21 +0000 (08:20 +0000)]
One more fix to namespace stuff. Follow-up r71342.
I don't see no reason to not to default to array() instead of null.
Niklas Laxström [Sat, 21 Aug 2010 08:17:01 +0000 (08:17 +0000)]
Too much indirection in aliases doesn't seem to work with my version of Doxygen
Niklas Laxström [Sat, 21 Aug 2010 08:15:22 +0000 (08:15 +0000)]
Mostly indentation fixes
Niklas Laxström [Sat, 21 Aug 2010 08:05:16 +0000 (08:05 +0000)]
Fix translated core namespaces broken in r71342.
The parser tests don't fail anymore (after I was able to run them in the first place)
Niklas Laxström [Sat, 21 Aug 2010 08:01:33 +0000 (08:01 +0000)]
Fix indentation
Max Semenik [Sat, 21 Aug 2010 06:36:40 +0000 (06:36 +0000)]
Fixed yet another breakage introduced by r70608: bug 24764 - broken old installer form. Next time please use a HTML validator every time you change HTML output.
Platonides [Fri, 20 Aug 2010 22:43:41 +0000 (22:43 +0000)]
Move [[MediaWiki:bad image list]] to the beginning.
This should fix the random failing bad image tests (since r70917?)
mentioned in [[Special:Code/MediaWiki/70938#c8458]].
They seem to be a mixture of conflict of messagecache and the internal
wfIsBadImage() cache. By always having the message in NS_MEDIAWIKI by
the time it is extracted, there shouldn't be more problems.
Alexandre Emsenhuber [Fri, 20 Aug 2010 21:20:18 +0000 (21:20 +0000)]
Document functions
Alexandre Emsenhuber [Fri, 20 Aug 2010 20:39:04 +0000 (20:39 +0000)]
* Standardised file description headers
* Added some descriptions
* Added @file where needed
Platonides [Fri, 20 Aug 2010 18:03:45 +0000 (18:03 +0000)]
Revert the change to Preprocessor_DOM.php of r71286.
The parsertest "Link with 3 brackets" passes again.
Chad Horohoe [Fri, 20 Aug 2010 16:49:17 +0000 (16:49 +0000)]
Make fixLinksFromArticle public and static
Chad Horohoe [Fri, 20 Aug 2010 16:35:00 +0000 (16:35 +0000)]
Like the installer, make Special:Version header localizable. Want to reduce some duplication here
Niklas Laxström [Fri, 20 Aug 2010 16:28:02 +0000 (16:28 +0000)]
Missing else condition was breaking namespaces for everyone else but me. Followup r71342
Chad Horohoe [Fri, 20 Aug 2010 15:25:41 +0000 (15:25 +0000)]
Partial r71363 revert, unrelated changes
Chad Horohoe [Fri, 20 Aug 2010 15:21:24 +0000 (15:21 +0000)]
Fixup help output. Remove a few documented but unused options
Chad Horohoe [Fri, 20 Aug 2010 14:48:31 +0000 (14:48 +0000)]
Missed the svn del
Chad Horohoe [Fri, 20 Aug 2010 14:47:57 +0000 (14:47 +0000)]
Refactor convertLinks to not use DB::newFromParams() crap, make updaters use the maintenance script to reduce duplication, other minor fixes
Derk-Jan Hartman [Fri, 20 Aug 2010 13:37:20 +0000 (13:37 +0000)]
Optimize a produced animated GIF with OptimizeTransparency, better would be to use optimize, but it breaks transparent GIFs. Fixes Bug 11822.
Only add animated gif options for animated gifs.
Derk-Jan Hartman [Fri, 20 Aug 2010 13:22:02 +0000 (13:22 +0000)]
Add getMagickVersion(). Will use this to provide optimization of animated gifs.
Niklas Laxström [Fri, 20 Aug 2010 10:30:24 +0000 (10:30 +0000)]
Of course didn't mean to commit var_dump
Niklas Laxström [Fri, 20 Aug 2010 10:25:10 +0000 (10:25 +0000)]
Trying to clean up the mess with $wgCanonicalNamespaceNames and $wgExtraNamespaces.
Now those two together define the set of namespaces used in the wiki.
$wgExtraNamespaces is for user configuration and overrides, while
$wgCanonicalNamespaceNames is for extension adding their own namespaces.
No code should access those two directly for reading. Instead they should use
MWNamespace::getCanonicalNamespaces.
Also fixed indentation with spaces to tabs in Language.php
Siebrand Mazeland [Fri, 20 Aug 2010 09:38:10 +0000 (09:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-20 09:25 UTC)
Andrew Garrett [Fri, 20 Aug 2010 06:19:37 +0000 (06:19 +0000)]
Apply hack from 1.16wmf4 in r71329 to trunk (follow-up to r71327). The version in r71327 breaks special pages.
Andrew Garrett [Fri, 20 Aug 2010 05:32:24 +0000 (05:32 +0000)]
(bug 24837) Fix issue where namespaces which were localised but not defined were returned by Language::getNamespaces()
Ryan Kaldari [Fri, 20 Aug 2010 01:47:52 +0000 (01:47 +0000)]
Adding helpful comment :)
Max Semenik [Thu, 19 Aug 2010 20:06:54 +0000 (20:06 +0000)]
Bug 24832: fatal in Special:ComparePages. I've just removed the diffonly URL parameter, because: (1) you can't intuitively expect which page should be rendered below a diff of two different pages; (2) diffonly was never available as a UI option, just a hacky GET parameter; (3) it didn't work anyway. This commit reverts most of r68885.
Ryan Kaldari [Thu, 19 Aug 2010 18:40:47 +0000 (18:40 +0000)]
reverting self (r71304)
Ryan Kaldari [Thu, 19 Aug 2010 18:21:06 +0000 (18:21 +0000)]
changing -sharpen to -unsharp due to new ImageMagick syntax, bug 24857
Sam Reed [Thu, 19 Aug 2010 14:54:09 +0000 (14:54 +0000)]
Minor followup to r70480
Only throw missingparam for string === '' when it is required
RELEASE-NOTES for breaking change
Sam Reed [Thu, 19 Aug 2010 11:42:06 +0000 (11:42 +0000)]
More unused....
Sam Reed [Thu, 19 Aug 2010 11:32:01 +0000 (11:32 +0000)]
Followup r54225
Adding $u->doUpdate(); after $u = new SearchUpdate( $row->rc_cur_id, $title, false );
Seems to make sense, otherwise the function doesn't seem to do a great deal!
Sam Reed [Thu, 19 Aug 2010 11:21:14 +0000 (11:21 +0000)]
Remove some more unused variables
Remove srvus() from Parser, unused, and calling testSrvus wrongly
Aryeh Gregor [Wed, 18 Aug 2010 23:20:56 +0000 (23:20 +0000)]
Run ulimit4.sh using /bin/bash to avoid noexec
Panora200 on IRC reported the error "/bin/bash: bad interpreter:
Permission denied", which we tracked down to the fact that /var/www (or
whatever) was mounted noexec. Prepending '/bin/bash ' to the command
line should fix it. Not heavily tested -- I only checked that
wfShellExec() seemed to work from eval.php for trivial uses.
Siebrand Mazeland [Wed, 18 Aug 2010 22:11:00 +0000 (22:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-18 21:52 UTC)
Sam Reed [Wed, 18 Aug 2010 20:34:42 +0000 (20:34 +0000)]
Followup to r68338, remove useless code (row is overwritten by loop)
Max Semenik [Wed, 18 Aug 2010 19:28:41 +0000 (19:28 +0000)]
Installer: use human-friendly list of databases, pass count of drivers for {{PLURAL}}
Sam Reed [Wed, 18 Aug 2010 14:15:32 +0000 (14:15 +0000)]
Revert r71250 r71251 r71252 r71253
Know what the problem is, roughly, can't fix atm, so not leaving phase3 broken
Sam Reed [Wed, 18 Aug 2010 13:55:36 +0000 (13:55 +0000)]
Remove some more parameters post r71250
Sam Reed [Wed, 18 Aug 2010 13:50:07 +0000 (13:50 +0000)]
Fix wrong removal in r71250
Sam Reed [Wed, 18 Aug 2010 13:40:59 +0000 (13:40 +0000)]
Minor followup to r71250
Remove accidentally committed patch
Sam Reed [Wed, 18 Aug 2010 13:38:42 +0000 (13:38 +0000)]
Kill some crappy "failFunction" stuff, marked as old in r14625
Chad Horohoe [Wed, 18 Aug 2010 13:11:43 +0000 (13:11 +0000)]
Use absolute path to i18n file, relative path is likely to break
Sam Reed [Wed, 18 Aug 2010 10:09:03 +0000 (10:09 +0000)]
Followup r71241
Another $bitField to $field
Sam Reed [Wed, 18 Aug 2010 10:02:39 +0000 (10:02 +0000)]
$bitField to $field
Sam Reed [Wed, 18 Aug 2010 10:00:42 +0000 (10:00 +0000)]
$parseroptions to $options
Aryeh Gregor [Tue, 17 Aug 2010 21:55:21 +0000 (21:55 +0000)]
Avoid spurious paragraph with new heading id's
Bug 24835. The use of <a> made the parser put <p> around the tag, so
use <div> instead. (Something was also adding a name="" attribute, but
I'm not sure what. That should be killed.)
Max Semenik [Tue, 17 Aug 2010 17:48:22 +0000 (17:48 +0000)]
Converted two more updater functions to OOP: add_field() and add_index()
Max Semenik [Tue, 17 Aug 2010 14:17:13 +0000 (14:17 +0000)]
Use the same connection for updates everywhere. Hopefully, this ugly code will not survive for long anyway
Chad Horohoe [Tue, 17 Aug 2010 13:36:59 +0000 (13:36 +0000)]
Moved first of the updaters functions to the appropriate classes (addTable is shared, doNamespaceSize was mySQL-only) to give an idea of what the grand scheme is. Still using nasty wfOut()s, need to use Status objects or *something* else here other than just throwing up output
Mark A. Hershberger [Tue, 17 Aug 2010 03:08:12 +0000 (03:08 +0000)]
remove superfluous return
Mark A. Hershberger [Tue, 17 Aug 2010 03:07:27 +0000 (03:07 +0000)]
OverloardQ or other PG person, please review
These patches were necessary to get new-installer working on PG for me. I'm not sure about the ‘create lang' bits — they should maybe be in another step?
Siebrand Mazeland [Mon, 16 Aug 2010 22:43:58 +0000 (22:43 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-16 22:21 UTC)