Tim Starling [Fri, 23 Jul 2010 05:00:58 +0000 (05:00 +0000)]
Send XVO headers only if $wgUseXVO is true.
Mark A. Hershberger [Fri, 23 Jul 2010 00:07:35 +0000 (00:07 +0000)]
re r64403 - remove never-actually-used $flag parameter from verifyUpload()
Sam Reed [Thu, 22 Jul 2010 22:13:21 +0000 (22:13 +0000)]
Big blitz on unused variables (a lot of $db = $this->getDb() )
Sam Reed [Thu, 22 Jul 2010 22:00:27 +0000 (22:00 +0000)]
Remove some unused globals
Sam Reed [Thu, 22 Jul 2010 21:55:40 +0000 (21:55 +0000)]
Remove various unused parameters
Only comment them out in ApiFormatYaml_spyc.php
Sam Reed [Thu, 22 Jul 2010 21:54:19 +0000 (21:54 +0000)]
Fix fail from r69755, press save, actually do "LIMIT_SML2, LIMIT_BIG2 are in ApiBase, not ApiMain"
Sam Reed [Thu, 22 Jul 2010 21:52:06 +0000 (21:52 +0000)]
LIMIT_SML2, LIMIT_BIG2 are in ApiBase, not ApiMain
Sam Reed [Thu, 22 Jul 2010 21:44:07 +0000 (21:44 +0000)]
$this isn't valid in a static function. Fix for r46507
Return error wrapped in array as per rest of code
Sam Reed [Thu, 22 Jul 2010 21:03:36 +0000 (21:03 +0000)]
* (bug 24485) Make iwbacklinks a generator, display iwprefix and iwtitle optional
Second part, make ApiQueryIWBacklinks a Generator
Sam Reed [Thu, 22 Jul 2010 20:56:04 +0000 (20:56 +0000)]
Remove unused $categories = array();
Sam Reed [Thu, 22 Jul 2010 20:21:17 +0000 (20:21 +0000)]
Part of bug 24485 - Make iwbacklinks a generator, display iwprefix and iwtitle optionally
Added iwblprop to display iwprefix/iwtitle optionally
Comment out wrong example (generator, till rest of bug is implemented)
Raimond Spekking [Thu, 22 Jul 2010 19:08:25 +0000 (19:08 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-22 18:58:00 UTC)
Jeroen De Dauw [Thu, 22 Jul 2010 17:58:26 +0000 (17:58 +0000)]
Split Installer into Installer and CoreInstaller + made misc style and doc improvements
Platonides [Thu, 22 Jul 2010 16:04:58 +0000 (16:04 +0000)]
Follow up r63214, and its revert r69201. The rules were more complex than a
simple "escape all carets", see 63214 CR.
Should help Bug 13518 - <math> does not work (wrong shell escaping under Windows)
Chad Horohoe [Thu, 22 Jul 2010 13:04:37 +0000 (13:04 +0000)]
Fix r69229. This should not be abstract, return dummy in parent
Sam Reed [Thu, 22 Jul 2010 10:18:41 +0000 (10:18 +0000)]
Fixup r69719 per comments
Sam Reed [Thu, 22 Jul 2010 09:47:46 +0000 (09:47 +0000)]
Followup r69719 r66716, add variable definition to false
Per -rakkaus/#mediawiki-i18n- [22-Jul-2010 09:44:40] PHP Notice: Undefined property: ApiQueryInfo::$fld_displaytitle in /www/w/includes/api/ApiQueryInfo.php on line 266
Roan Kattouw [Thu, 22 Jul 2010 08:52:58 +0000 (08:52 +0000)]
Rename the iwl_prefix_from_title index (again) to iwl_prefix_title_from and change the field order accordingly. Fixed r66892 which inserted iwl_from into the index (which was a good thing) but put it in the wrong place. I went out of my way to make sure the index isn't dropped and recreated needlessly, but since I don't know how to do the drop-index-if-exists thing in the Postgres updater, I left that out. The Postgres updater will now create the new index without dropping any old incarnations if present. I did create the patch files with the DROP INDEX statements to make it easier to add this behavior. Also tweak ApiQueryIWBacklinks to use this index properly.
Sam Reed [Thu, 22 Jul 2010 08:48:34 +0000 (08:48 +0000)]
(bug 23936) - Add "displaytitle" to query/info API
Complete usage of accidental code from r69716
Move a $db = $this->getDB to after check in getTSIDs
Roan Kattouw [Thu, 22 Jul 2010 08:08:37 +0000 (08:08 +0000)]
json_encode() -> FormatJson::encode()
Sam Reed [Thu, 22 Jul 2010 07:00:38 +0000 (07:00 +0000)]
Fix bug from r61759
Assign $text = null; before using it in a hook call
Sam Reed [Thu, 22 Jul 2010 06:44:23 +0000 (06:44 +0000)]
Add braces
Tim Starling [Thu, 22 Jul 2010 04:00:39 +0000 (04:00 +0000)]
Use $wgContLang not $wgLang for checkTitleEncoding() and getSpecialPageAliases(), it doesn't make sense to use the user language, WebRequest and SpecialPage certainly don't. The DatabaseOracle use of checkTitleEncoding() is weird and probably broken, but at least it uses the right object now.
Platonides [Wed, 21 Jul 2010 21:54:46 +0000 (21:54 +0000)]
Follow up r69516. Hardcode $wgVectorExtraStyles to the vector folder.
Raimond Spekking [Wed, 21 Jul 2010 19:05:38 +0000 (19:05 +0000)]
Add quotation marks for consistency with other log entries
Per suggestion of The Evil IP address at twn
Raimond Spekking [Wed, 21 Jul 2010 19:02:25 +0000 (19:02 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-21 18:37:00 UTC)
Jeroen De Dauw [Wed, 21 Jul 2010 17:31:00 +0000 (17:31 +0000)]
Style and doc improvements
Jeroen De Dauw [Wed, 21 Jul 2010 17:24:39 +0000 (17:24 +0000)]
@ -> wfSuppressWarnings and wfRestoreWarnings
Jeroen De Dauw [Wed, 21 Jul 2010 17:20:50 +0000 (17:20 +0000)]
Style and doc improvements
Bryan Tong Minh [Wed, 21 Jul 2010 16:57:43 +0000 (16:57 +0000)]
stylize.php on SearchEngine.php
Raimond Spekking [Wed, 21 Jul 2010 16:01:10 +0000 (16:01 +0000)]
Show the copyright message in user preference language for Wikimedia wikis, important especially for multi language projects like Commons.
Stick to content language for standard MediaWiki installations for the case that [[MediaWiki:Copyright]] is customized.
It is very unlikely that a third party installation translate its customization in 204 languages like we have done it at Translatewiki for WikimediaMessages
Bryan Tong Minh [Wed, 21 Jul 2010 14:40:24 +0000 (14:40 +0000)]
Follow-up r69233: Add existence check for NS_MEDIA titles
Bryan Tong Minh [Wed, 21 Jul 2010 14:31:24 +0000 (14:31 +0000)]
Follow-up r69203: remove str_replace( '_', ' ', $query ); was only needed for Special:Search/$par case, not applicable to API
Jeroen De Dauw [Wed, 21 Jul 2010 10:56:35 +0000 (10:56 +0000)]
Style and doc improvements
Roan Kattouw [Wed, 21 Jul 2010 10:30:02 +0000 (10:30 +0000)]
Coding style: camelCase, not CamelCase
Jeroen De Dauw [Wed, 21 Jul 2010 09:42:07 +0000 (09:42 +0000)]
Clarified field and method visibility and doc improvements
Jeroen De Dauw [Wed, 21 Jul 2010 09:34:16 +0000 (09:34 +0000)]
Doc and style improvements
Trevor Parscal [Tue, 20 Jul 2010 23:47:54 +0000 (23:47 +0000)]
This improves on the CSS hack used in r69317 - which worked fine but in some crazy extreme hypothetical case could end up showing the text.
Chad Horohoe [Tue, 20 Jul 2010 22:28:50 +0000 (22:28 +0000)]
* Split Mysql/Sqlite updates into their own files
* Rename Update -> DatabaseUpdaters to be more consistent with DatabaseInstaller
* Made DatabaseUpdaters abstract and merged the Updaters interface in, had Mysql/Oracle/Sqlite subclass it. Entry point is now factory DatabaseUpdaters::newForDB()
Mark A. Hershberger [Tue, 20 Jul 2010 21:24:07 +0000 (21:24 +0000)]
Added an explanation for the way the code is set up.
Mark A. Hershberger [Tue, 20 Jul 2010 21:17:22 +0000 (21:17 +0000)]
Slightly different, but similar to brion's tests. I wrote this before I discovered brion's tests. Maybe they'll be useful to someone some day.
Raimond Spekking [Tue, 20 Jul 2010 18:54:08 +0000 (18:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-20 18:47:00 UTC)
Platonides [Tue, 20 Jul 2010 17:35:55 +0000 (17:35 +0000)]
Follow up r69444. Address CR comment by Simetrical.
Mark A. Hershberger [Tue, 20 Jul 2010 16:14:09 +0000 (16:14 +0000)]
fixes r69333 — remove dependency on iconv, use icu or native only
Mark A. Hershberger [Tue, 20 Jul 2010 15:50:25 +0000 (15:50 +0000)]
trailing ws cleanup
Mark A. Hershberger [Tue, 20 Jul 2010 15:47:01 +0000 (15:47 +0000)]
admin parameter is required now since we no longer default to WikiSysop
Mark A. Hershberger [Tue, 20 Jul 2010 15:41:24 +0000 (15:41 +0000)]
Prefer the intl PECL extension for ICU Unicode
Mark A. Hershberger [Tue, 20 Jul 2010 15:12:29 +0000 (15:12 +0000)]
revert r69620
Mark A. Hershberger [Tue, 20 Jul 2010 15:05:34 +0000 (15:05 +0000)]
Admin is required now.
Roan Kattouw [Tue, 20 Jul 2010 14:06:35 +0000 (14:06 +0000)]
Fix typo
Jeroen De Dauw [Tue, 20 Jul 2010 13:53:03 +0000 (13:53 +0000)]
Doc and style improvements
Roan Kattouw [Tue, 20 Jul 2010 13:11:53 +0000 (13:11 +0000)]
Followup to r69553: double-escape arguments because we're feeding them to a shell twice
Jeroen De Dauw [Tue, 20 Jul 2010 11:35:38 +0000 (11:35 +0000)]
Doc and style improvements
Jeroen De Dauw [Tue, 20 Jul 2010 11:27:52 +0000 (11:27 +0000)]
Clarified field and method visibility and added TODOs
Jeroen De Dauw [Tue, 20 Jul 2010 11:25:36 +0000 (11:25 +0000)]
Clarified field and method visibility
Jeroen De Dauw [Tue, 20 Jul 2010 11:17:36 +0000 (11:17 +0000)]
Doc and style improvements
Jeroen De Dauw [Tue, 20 Jul 2010 11:08:30 +0000 (11:08 +0000)]
Clarified field and method visibility
Jeroen De Dauw [Tue, 20 Jul 2010 11:00:51 +0000 (11:00 +0000)]
Re-did r69590
Tim Starling [Tue, 20 Jul 2010 10:28:00 +0000 (10:28 +0000)]
* Fixed "link" parameter in image links with "thumb" parameter, previously the link parameter was just ignored. The fix required the relevant code to be factored out so both makeImageLink2() and makeThumbLink2() could use it.
* Fixed the coding style and escaping of some nearby code. The lack of escaping on $url would have caused invalid HTML (bare ampersand) if ugly URLs were combined with page parameters.
Tim Starling [Tue, 20 Jul 2010 10:10:24 +0000 (10:10 +0000)]
Uncommented the DROP TABLE queries for parsertest_*, accidentally commented out in r40020.
Tim Starling [Tue, 20 Jul 2010 10:06:41 +0000 (10:06 +0000)]
Applying the text changes to the file as in r69589, to complete the rename from InstallerDBType to DatabaseInstaller.
Tim Starling [Tue, 20 Jul 2010 10:03:27 +0000 (10:03 +0000)]
Continued cleanup of r69589: adding DatabaseInstaller.php, copied from InstallerDBType.php@69588.
Tim Starling [Tue, 20 Jul 2010 10:01:34 +0000 (10:01 +0000)]
Cleanup for r69589 etc., deleting the file so I can copy it again.
Jeroen De Dauw [Tue, 20 Jul 2010 09:49:41 +0000 (09:49 +0000)]
Follow up to r69589
Jeroen De Dauw [Tue, 20 Jul 2010 09:49:07 +0000 (09:49 +0000)]
Follow up to r69589
Jeroen De Dauw [Tue, 20 Jul 2010 09:41:52 +0000 (09:41 +0000)]
Clarified field and method visibility
Jeroen De Dauw [Tue, 20 Jul 2010 09:30:33 +0000 (09:30 +0000)]
Renamed InstallerDBType to DatabaseInstaller
Roan Kattouw [Tue, 20 Jul 2010 09:26:56 +0000 (09:26 +0000)]
Followup to r69587: forgot to hit Save *facepalm*
Roan Kattouw [Tue, 20 Jul 2010 09:24:26 +0000 (09:24 +0000)]
Followup to r69237: clarify documentation to avoid confusion with title normalization, minor style tweak
Roan Kattouw [Tue, 20 Jul 2010 09:23:37 +0000 (09:23 +0000)]
Kill two functions in Parser that have been ununused forever, add a clarifying comment elsewhere.
Peter Potrowl [Tue, 20 Jul 2010 08:47:06 +0000 (08:47 +0000)]
Solving an issue in r69542
Raimond Spekking [Tue, 20 Jul 2010 07:34:39 +0000 (07:34 +0000)]
Remove useless <hr />. If someone wants to highlight this warning it can be better done with CSS.
OverlordQ [Tue, 20 Jul 2010 06:02:09 +0000 (06:02 +0000)]
Followup to r69580, did I mention MySQL sucks?
OverlordQ [Tue, 20 Jul 2010 05:59:51 +0000 (05:59 +0000)]
Followup to r69542, since the new installer doesn't support PG, this is going into updaters.inc
Tim Starling [Tue, 20 Jul 2010 02:17:18 +0000 (02:17 +0000)]
Fix URL for $GLOBALS overwrite vulnerability.
Platonides [Mon, 19 Jul 2010 23:08:52 +0000 (23:08 +0000)]
Update the old magic with new one.
Not only should this have used setContainsOldMagic() instead of manually modifying the member,
the outdated magic reduced the caching time to one hour even if you just used something like
{{currentmonth}}, which is hinted to one day.
This is the only usage of old magic, we could remove it but perhaps it is used by some extension?
Roan Kattouw [Mon, 19 Jul 2010 20:46:29 +0000 (20:46 +0000)]
Fix r69539: use $this->skin->stylename instead of $this->stylename, fix the path and access globals the right way
Raimond Spekking [Mon, 19 Jul 2010 19:23:15 +0000 (19:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-19 19:11:00 UTC)
Ariel Glenn [Mon, 19 Jul 2010 18:36:52 +0000 (18:36 +0000)]
clean up space/tab stuff
Roan Kattouw [Mon, 19 Jul 2010 15:15:41 +0000 (15:15 +0000)]
Fix typo
Roan Kattouw [Mon, 19 Jul 2010 15:13:41 +0000 (15:13 +0000)]
Followup to r69546: defer sending of notification by 15 minutes
Daniel Kinzler [Mon, 19 Jul 2010 14:35:20 +0000 (14:35 +0000)]
make image page respect different sizes of individual frames, as suggested by Markus Glaser.
Chad Horohoe [Mon, 19 Jul 2010 14:05:57 +0000 (14:05 +0000)]
Remove 1.6 compat thingies
Roan Kattouw [Mon, 19 Jul 2010 14:00:51 +0000 (14:00 +0000)]
(bug 24398) Make addwiki.php send a notification e-mail to newprojects@lists.wikimedia.org . Needs addition of fourth parameter for domain name, will document at wikitechwiki
Danny B [Mon, 19 Jul 2010 13:15:45 +0000 (13:15 +0000)]
* #siteSub (tagline) isn't headline -> replaced by div (partial fix to bug 457)
Danny B [Mon, 19 Jul 2010 12:31:35 +0000 (12:31 +0000)]
* 2009 -> 2010
Roan Kattouw [Mon, 19 Jul 2010 11:55:30 +0000 (11:55 +0000)]
Add iw_api and iw_wikiid fields to the interwiki table, plus rudimentary support in Interwiki.php and Title.php . Code written by peter17 in the iwtransclusion branch. This revision is a partial merge of r68170, r68448, r69480, r69540 and r69541
Danny B [Mon, 19 Jul 2010 10:58:12 +0000 (10:58 +0000)]
Follow up to r69538: Use $stylename member instead of hardcoding vector.
Danny B [Mon, 19 Jul 2010 10:52:01 +0000 (10:52 +0000)]
* (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is disabled
Roan Kattouw [Mon, 19 Jul 2010 08:19:54 +0000 (08:19 +0000)]
Reverse-merge r69521 from 1.16wmf4: fix OpenSearch caching
Brian Wolff [Mon, 19 Jul 2010 05:57:23 +0000 (05:57 +0000)]
Fix fatal error from undefined $wgParser.
Jeroen De Dauw [Mon, 19 Jul 2010 04:23:39 +0000 (04:23 +0000)]
Removed redundant array_reverse I found 3 months back
Jeroen De Dauw [Mon, 19 Jul 2010 04:18:51 +0000 (04:18 +0000)]
Follow up to r69528 (forgot to commit this file)
Jeroen De Dauw [Mon, 19 Jul 2010 04:15:38 +0000 (04:15 +0000)]
Clarified field and method visibility
Jeroen De Dauw [Mon, 19 Jul 2010 04:05:44 +0000 (04:05 +0000)]
Split WebInstallerPage and deriving classes from WebInstaller.php to WebInstallerPage.php
Jeroen De Dauw [Mon, 19 Jul 2010 03:16:54 +0000 (03:16 +0000)]
Clarified field and method visibility
Jeroen De Dauw [Mon, 19 Jul 2010 02:41:54 +0000 (02:41 +0000)]
Clarified field and method visibility
Platonides [Sun, 18 Jul 2010 21:40:49 +0000 (21:40 +0000)]
Follow up r69508. Mention both functions.
Platonides [Sun, 18 Jul 2010 21:31:52 +0000 (21:31 +0000)]
(Bug 24436) Move cssjanus to maintenance folder
Raimond Spekking [Sun, 18 Jul 2010 19:37:51 +0000 (19:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-18 19:30:00 UTC)