Jure Kajzer [Sat, 13 Jun 2009 06:31:38 +0000 (06:31 +0000)]
Added bitwise operations to DatabaseBase and overloaded in DatabaseOracle.
Siebrand Mazeland [Sat, 13 Jun 2009 00:52:00 +0000 (00:52 +0000)]
Localisation updates for core messages from translatewiki.net
Siebrand Mazeland [Sat, 13 Jun 2009 00:02:31 +0000 (00:02 +0000)]
Update Special:BrokenRedirects:
* add a message 'parentheses' "($1)" so a parentheses enclosed list can be localised (hardcoded all over the place)
* put edit and delete link in parentheses together (changed messages 'brokenredirects-delete' and 'brokenredirects-edit')
* convert deprecated makeBrokenLinkObj() to link()
* update indendation
Robert Stojnić [Fri, 12 Jun 2009 23:35:35 +0000 (23:35 +0000)]
Another follow-up for r51807: add a missing </form> on pages without the advanced search
Siebrand Mazeland [Fri, 12 Jun 2009 23:34:02 +0000 (23:34 +0000)]
convert deprecated makeBrokenLinkObj() to link(). Changed behaviour of the link. It is no longer a broken link. Edit didn't work. Added that in the query parameters.
Robert Stojnić [Fri, 12 Jun 2009 23:21:55 +0000 (23:21 +0000)]
Fix warning in r51807, $out is first used here so need = instead of .=
Trevor Parscal [Fri, 12 Jun 2009 22:45:13 +0000 (22:45 +0000)]
Changed how the search UI is rendered.
Chad Horohoe [Fri, 12 Jun 2009 21:54:29 +0000 (21:54 +0000)]
Expect DatabaseBase, not Database.
Rotem Liss [Fri, 12 Jun 2009 20:38:32 +0000 (20:38 +0000)]
Localization update for he and fixing comment in en.
Siebrand Mazeland [Fri, 12 Jun 2009 20:10:19 +0000 (20:10 +0000)]
Update casing on Vector skin messages
Chad Horohoe [Fri, 12 Jun 2009 19:24:03 +0000 (19:24 +0000)]
Put actual location of these two classes.
Alexandre Emsenhuber [Fri, 12 Jun 2009 18:31:07 +0000 (18:31 +0000)]
Kill some E_NOTICE when protecting a non-existing page
Aryeh Gregor [Fri, 12 Jun 2009 17:59:04 +0000 (17:59 +0000)]
Make Database into abstract class DatabaseBase
All other databases were changed to extend DatabaseBase instead of
Database. Database was kept as an alias for DatabaseMysql for
compatibility. Existing explicit references to Database that I could
find were changed to DatabaseMysql for the sake of clarity.
Should cause no functional changes.
Trevor Parscal [Fri, 12 Jun 2009 17:55:48 +0000 (17:55 +0000)]
Switched language of tabs from generic and monobook specific stuff to vector specific messages where possible
Alexandre Emsenhuber [Fri, 12 Jun 2009 09:34:49 +0000 (09:34 +0000)]
Fix for r51774, r51784: set '127.0.0.1' as IP for CLI, but with explicit check for $wgCommandLineMode so that the exception "Unable to determine IP" is not thrown in this case.
Alexandre Emsenhuber [Fri, 12 Jun 2009 09:17:21 +0000 (09:17 +0000)]
Fixes for r51774:
* declare $ip and $ipchain so that it doesn't throw notices and warnings
* don't set $ip to false after getting it from $_SERVER['REMOTE_ADDR'], otherwise it won't work when there's no XFF header
* fix logic when throwing the exception: throw it when there's no IP
Shinjiman [Fri, 12 Jun 2009 06:47:25 +0000 (06:47 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Tim Starling [Fri, 12 Jun 2009 04:11:15 +0000 (04:11 +0000)]
Pass the SiteConfiguration object as a parameter to fullLoadCallback.
Chad Horohoe [Fri, 12 Jun 2009 01:38:19 +0000 (01:38 +0000)]
Tweak RELEASE-NOTES
Chad Horohoe [Fri, 12 Jun 2009 01:34:44 +0000 (01:34 +0000)]
Revert r51725 (fall back to 127.0.0.1 when IP cannot be determined). On further discussion, it's best if we don't make up a fake IP. Tweak the logic here a bit (per Tim) to let XFF attempt to determine the actual IP. Throw an exception if we can't.
Chad Horohoe [Thu, 11 Jun 2009 23:35:34 +0000 (23:35 +0000)]
Per code review: call allowPropChange() directly, and only reference the deprecated methods if they're available, this way if someone _has_ implemented these, they will still get their desired results. Removed them so A) We don't encourage people to use them, and B) We don't fool ourselves with is_callable()
Trevor Parscal [Thu, 11 Jun 2009 23:07:07 +0000 (23:07 +0000)]
Tweaked link colors to unify colors of content and navigation.
Siebrand Mazeland [Thu, 11 Jun 2009 20:57:08 +0000 (20:57 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-11 20:53 UTC)
Rotem Liss [Thu, 11 Jun 2009 20:53:14 +0000 (20:53 +0000)]
Localization update for he.
Siebrand Mazeland [Thu, 11 Jun 2009 20:40:32 +0000 (20:40 +0000)]
Consistency tweaks
Meno25 [Thu, 11 Jun 2009 14:41:52 +0000 (14:41 +0000)]
Use the new and more accurate classes for Arabic per
http://ar.wikipedia.org/w/index.php?oldid=
3406056
Huji [Thu, 11 Jun 2009 11:30:07 +0000 (11:30 +0000)]
Localisation updates: Updating magic words
Alexandre Emsenhuber [Thu, 11 Jun 2009 10:49:33 +0000 (10:49 +0000)]
Fix for r51667: external diff is also controlled by $wgUseExternalEditor (see includes/diff/DifferenceEngine.php line 107). $wgExternalDiffEngine is used to change the difference engine's backend (wikidiff, wikidiff2, ...) and not to allow users to have their own difference engine.
Roan Kattouw [Thu, 11 Jun 2009 09:05:47 +0000 (09:05 +0000)]
Remove unused global left in r51727
Chad Horohoe [Thu, 11 Jun 2009 04:49:10 +0000 (04:49 +0000)]
Per code review: Use Language::getLanguageNames() instead.
Chad Horohoe [Thu, 11 Jun 2009 03:24:16 +0000 (03:24 +0000)]
.1
Chad Horohoe [Thu, 11 Jun 2009 03:20:15 +0000 (03:20 +0000)]
(bug 18173) Login form exception on malformed REMOTE_ADDR, wfGetIP() now falls back to 127.0.01 if the IP cannot be determined, which is more sane than returning null.
Roan Kattouw [Wed, 10 Jun 2009 18:09:21 +0000 (18:09 +0000)]
Remove call to print_c() function which seems to have disappeared off the face of the earth
Roan Kattouw [Wed, 10 Jun 2009 18:05:21 +0000 (18:05 +0000)]
Fix for r51560: forgot to remove a require('counter.php')
Tim Starling [Wed, 10 Jun 2009 05:29:40 +0000 (05:29 +0000)]
Use require not include when sourcing commandLine.inc, to avoid possible web execution when the web server is configured strangely. Detected during automated security scanning. For backport to 1.15.
Chad Horohoe [Wed, 10 Jun 2009 01:47:58 +0000 (01:47 +0000)]
Followup to r51592:
* Implement fileExistsBatch() in the ForeignAPIRepo.
* Tweak fileExists() to return the boolean from the single file we checked, not the file we were given.
Chad Horohoe [Tue, 9 Jun 2009 23:59:42 +0000 (23:59 +0000)]
Oartial revert of r50809. Call the old method names for b/c.
Chad Horohoe [Tue, 9 Jun 2009 23:01:00 +0000 (23:01 +0000)]
(bug 19112) Preferences now respects $wgUseExternalEditor, $wgExternalDiffEngine. Patch by jidanni.
Philip Tzou [Tue, 9 Jun 2009 19:19:14 +0000 (19:19 +0000)]
[[Special:Search]] now could search terms in all variant-forms. ONLY apply on wikis with LanguageConverter.
Andrew Garrett [Tue, 9 Jun 2009 17:32:33 +0000 (17:32 +0000)]
Fix default check for preferences
Tim Starling [Tue, 9 Jun 2009 17:08:59 +0000 (17:08 +0000)]
Forward-ported r51646, AdminSettings.sample documentation note for PostgreSQL.
Tim Starling [Tue, 9 Jun 2009 17:04:16 +0000 (17:04 +0000)]
Changes related to update.php:
* Removed counter.php. Whoever heard of adding a file for a single line of code? Refactored the callers to GlobalFunctions.php wfCountDown().
* Removed the requirement for $wgDBadminuser to be set in update.php. There really is no security benefit, it's just there to annoy users and cause bugs like #19127. Just use $wgDBuser, commandLine.inc will automatically set it to $wgDBadminuser if it's available.
* Since we're using $wgDBuser now, we may as well just use wfGetDB(DB_MASTER) instead of the rubbish special-case code that was already there. There's no need for special-case error handling, there's already special-case code for command line connection errors, if you don't think that message is informative enough then you can change it there.
* Don't set $options before including commandLine.inc, it doesn't do anything.
* Use require not require_once
Roan Kattouw [Tue, 9 Jun 2009 14:20:17 +0000 (14:20 +0000)]
Vector skin: don't use short PHP tags (like <?= $varname ?>), breaks in certain environments
Alexandre Emsenhuber [Tue, 9 Jun 2009 12:34:09 +0000 (12:34 +0000)]
added tabs and new lines for better source readability
Shinjiman [Tue, 9 Jun 2009 03:55:27 +0000 (03:55 +0000)]
Cleanup: removing obsolete/outdated messages for zh-tw which are same as zh-hant.
Aaron Schulz [Tue, 9 Jun 2009 01:38:55 +0000 (01:38 +0000)]
Follow up to r51465, replaced old index name reference (gave errors)
Trevor Parscal [Mon, 8 Jun 2009 23:56:44 +0000 (23:56 +0000)]
Slighly modified the breaks in the sidebar
Trevor Parscal [Mon, 8 Jun 2009 23:20:23 +0000 (23:20 +0000)]
Tweaked the sidebar as per some design review reccomendations.
Siebrand Mazeland [Mon, 8 Jun 2009 22:33:37 +0000 (22:33 +0000)]
Move deprecated methods to the bottom of the class.
Siebrand Mazeland [Mon, 8 Jun 2009 22:11:42 +0000 (22:11 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-08 21:48 UTC)
Trevor Parscal [Mon, 8 Jun 2009 22:05:43 +0000 (22:05 +0000)]
Fixed bug in side bar menus where really long unbreakable character sequences were overlaying the page content
Jure Kajzer [Mon, 8 Jun 2009 18:30:27 +0000 (18:30 +0000)]
Web installation support for Oracle.
Ryan Schmidt [Mon, 8 Jun 2009 16:53:39 +0000 (16:53 +0000)]
* DISPLAYTITLE fixes:
** DISPLAYTITLE now parses the single-quote items of wiki markup (bold and italic).
** Remove UNIQ markers from the output due to people putting tags in there (nowiki, ref, etc.).
** Forbid hr and br elements from being in DISPLAYTITLE as well.
Victor Vasiliev [Mon, 8 Jun 2009 15:10:08 +0000 (15:10 +0000)]
Add fileExistsBatch method to FileRepo and derived classes (per comments on r49001)
Siebrand Mazeland [Mon, 8 Jun 2009 12:46:03 +0000 (12:46 +0000)]
(bug 19126) Follow-up to r51559: replace a period with a comma to get expected results.
Tim Starling [Mon, 8 Jun 2009 10:26:11 +0000 (10:26 +0000)]
(bug 18846) Remove update_password_format(), unnecessary, destroys all passwords if a wiki with $wgPasswordSalt=false is upgraded with the web installer.
Siebrand Mazeland [Mon, 8 Jun 2009 10:07:33 +0000 (10:07 +0000)]
Replace a few remaining uses of deprecated makeKnownLinkObj() by link[Known]() in core. Only uses in core remaining are in includes/Linker.php (all related to deprecated methods) and includes/parser/Parser.php.
Linking this to r51559 for CodeReview as there is some discussion there, and these changes are very similar.
Siebrand Mazeland [Mon, 8 Jun 2009 09:21:30 +0000 (09:21 +0000)]
Follow-up to r49492: Add forgotten $this->setHeaders(); in execute().
Roan Kattouw [Mon, 8 Jun 2009 07:11:30 +0000 (07:11 +0000)]
SCHEMA CHANGE: adding rd_interwiki patch from bug 14418. Actual use of this schema change will follow later
Tim Starling [Mon, 8 Jun 2009 06:15:53 +0000 (06:15 +0000)]
Fixed SQL error, inconsistency in field names between ALTER TABLE and CREATE INDEX. I'll go for log_page rather than log_page_id because it fits in better with similar existing field names.
Tim Starling [Mon, 8 Jun 2009 06:11:29 +0000 (06:11 +0000)]
Renamed indexes, new indexes must be prefixed to avoid conflicts in SQLite's global index namespace. These indexes are not in tables.sql or any USE INDEX yet.
Tim Starling [Mon, 8 Jun 2009 04:39:27 +0000 (04:39 +0000)]
Fix typo in filename
Siebrand Mazeland [Sun, 7 Jun 2009 23:51:19 +0000 (23:51 +0000)]
Allow splitting time and date with $4 and $5 for 'revision-info-current' and 'revision-info'
Siebrand Mazeland [Sun, 7 Jun 2009 23:33:32 +0000 (23:33 +0000)]
Localisation updates for core special page aliases from translatewiki.net
Siebrand Mazeland [Sun, 7 Jun 2009 23:27:41 +0000 (23:27 +0000)]
Localisation updates for core magic from translatewiki.net
Siebrand Mazeland [Sun, 7 Jun 2009 19:49:56 +0000 (19:49 +0000)]
Follow-up to r51572. SpecialSearch.php was a bit broken, because methods like getTitleSnippet() will return an empty string which is used as text in link() which fails, because link will only linkText( $title ) if text is null.
P.s. could we change line 217 in Linker.php to something like "if( is_null( $text ) || $text == '' ) {" to work around this?
Siebrand Mazeland [Sun, 7 Jun 2009 19:08:06 +0000 (19:08 +0000)]
Follow-up to r51572: fix parse error
Siebrand Mazeland [Sun, 7 Jun 2009 18:45:52 +0000 (18:45 +0000)]
* replace use of deprecated makeKnownLinkObj() by linkKnown() in core special pages
* use array type parameter instead of string to escapeLocalUrl(), getFullURL() and getFullUrl() for readability
* some code readability and indentation improvements
Linking this to r51559 for CodeReview as there is some discussion there, and these changes are very similar.
Roan Kattouw [Sun, 7 Jun 2009 18:20:01 +0000 (18:20 +0000)]
API: (bug 18785) Add siprop=languages to meta=siteinfo
Roan Kattouw [Sun, 7 Jun 2009 18:09:57 +0000 (18:09 +0000)]
API: (bug 18773) Add content flag to siprop=namespaces output
Siebrand Mazeland [Sun, 7 Jun 2009 15:02:12 +0000 (15:02 +0000)]
* replace some use of deprecated makeKnownLinkObj() by link() in core
* use array type parameter instead of string to escapeLocalUrl(), getFullURL() and getFullUrl() for readability
* add FIXME in Parser.php and LogEventsList.php where I didn't know how to replace makeKnownLinkObj by link()
* return type for private method Skin::editUrlOptions() changed from string to array
* some code readability improvements
Linking this to r51559 for CodeReview as there is some discussion there, and these changes are very similar.
Todo: core special pages
Siebrand Mazeland [Sun, 7 Jun 2009 10:53:26 +0000 (10:53 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-07 10:37 UTC)
Siebrand Mazeland [Sun, 7 Jun 2009 10:46:53 +0000 (10:46 +0000)]
Follow-up to r51540 (revert r49677, r50459): also revert changes to messages.inc
Siebrand Mazeland [Sun, 7 Jun 2009 10:34:02 +0000 (10:34 +0000)]
Follow-up to r51559 per CR: initialise $q to prevent PHP notice.
Roan Kattouw [Sat, 6 Jun 2009 23:01:08 +0000 (23:01 +0000)]
Fix syntax error reported by Jidanni
Siebrand Mazeland [Sat, 6 Jun 2009 22:42:48 +0000 (22:42 +0000)]
* replace some use of deprecated makeKnownLinkObj() by link() in core
* use array type parameter instead of string to escapeLocalUrl(), getFullURL() and getFullUrl() for readability
Siebrand Mazeland [Sat, 6 Jun 2009 22:04:17 +0000 (22:04 +0000)]
Follow up to r51540 (revert r49677, r50459): global $wgLang was missing causing fatal error.
Siebrand Mazeland [Sat, 6 Jun 2009 21:58:27 +0000 (21:58 +0000)]
Follow-up to r51539: fix syntax error
Siebrand Mazeland [Sat, 6 Jun 2009 17:07:17 +0000 (17:07 +0000)]
Follow-up to r51543: Fix another syntax error in ImageGallery.php. Sorry.
Siebrand Mazeland [Sat, 6 Jun 2009 17:05:48 +0000 (17:05 +0000)]
Follow-up to r51543: Fix syntax error in ImageGallery.php
Siebrand Mazeland [Sat, 6 Jun 2009 17:04:07 +0000 (17:04 +0000)]
Follow-up to r51543: fix syntax error in Linker.php
Robin Pepermans [Sat, 6 Jun 2009 17:01:24 +0000 (17:01 +0000)]
fix r51541
Siebrand Mazeland [Sat, 6 Jun 2009 17:00:20 +0000 (17:00 +0000)]
* replace use of deprecated makeLink() by link() in core
* replace other deprecated Linker::*link*() methods in special pages
Robin Pepermans [Sat, 6 Jun 2009 16:43:08 +0000 (16:43 +0000)]
Add function addExtraSQL() to RandomPage as an alternative to $wgExtraRandompageSQL for extensions
Tim Starling [Sat, 6 Jun 2009 15:48:06 +0000 (15:48 +0000)]
Revert r49677, r50459, Brent G's patch for fixing GPS coordinates in EXIF. As I noted on CodeReview, there's a possibility it could crash the site on deployment. As much as it looks useful, I don't fancy spending part of my weekend rewriting it to preserve backwards compatibility, and the committer hasn't responded to the last couple of CR comments.
Siebrand Mazeland [Sat, 6 Jun 2009 15:45:43 +0000 (15:45 +0000)]
* replace use of deprecated makeLinkObj() by link() in core
* add FIXME where makeLinkObj was used in documentation
Daniel Kinzler [Sat, 6 Jun 2009 15:39:42 +0000 (15:39 +0000)]
fixed missing } (thanks HardDisk)
Siebrand Mazeland [Sat, 6 Jun 2009 15:38:18 +0000 (15:38 +0000)]
Follow-up to r49973 (Revert r49880, r49883, r49885 - add uniwiki/CreatePage extension to core)
* Special page addition was not reverted.
Siebrand Mazeland [Sat, 6 Jun 2009 15:09:19 +0000 (15:09 +0000)]
* follow-up to r51301: also add separated date and time as parameters for 'currentrev-asof' for consistency
* replace use of deprecated makeKnownLinkObj() by link()
* use array type parameter instead of string to escapeLocalUrl(), getFullURL() and getFullUrl() for readability
* change return type of htmlDiffArgument(). CHECKME: Should this method be private? (not used anywhere in SVN at the moment)
* break a few long lines with parameters
Rotem Liss [Sat, 6 Jun 2009 14:45:14 +0000 (14:45 +0000)]
Localization update.
Alexandre Emsenhuber [Sat, 6 Jun 2009 10:55:04 +0000 (10:55 +0000)]
changed wfMsgExt()'s warnings to use the new wfWarn() so that the caller function is also displayed
Tim Starling [Sat, 6 Jun 2009 03:32:20 +0000 (03:32 +0000)]
Fix for CR r51279: reload data from master post-submit so that the list is shown with the new data. The newBits way of doing it was looking fragile.
Tim Starling [Sat, 6 Jun 2009 02:49:32 +0000 (02:49 +0000)]
Revert r51200, r51253, r51254, addition of {{NUMBEROFCONTRIBS:...}} parser function. See CodeReview r51200. Not very well implemented and probably a bad idea anyway.
Aaron Schulz [Sat, 6 Jun 2009 00:39:31 +0000 (00:39 +0000)]
Don't kill whole update process if no log rows to update (fixes r50609)
Siebrand Mazeland [Fri, 5 Jun 2009 22:43:51 +0000 (22:43 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-05 22:22 UTC)
Trevor Parscal [Fri, 5 Jun 2009 22:28:28 +0000 (22:28 +0000)]
Fixed bug with namespace tabs in IE not floating properly, however, there may be a better way to get the elements in the head to float better.
Roan Kattouw [Fri, 5 Jun 2009 19:18:56 +0000 (19:18 +0000)]
RELEASE-NOTES for r51514
Roan Kattouw [Fri, 5 Jun 2009 19:17:45 +0000 (19:17 +0000)]
API: Fix bug where deleting a file description page without an associated file resulted in "Unknown error: ``nofile''"
Niklas Laxström [Fri, 5 Jun 2009 17:09:59 +0000 (17:09 +0000)]
This function is NOT deprecated, per Simetrical
Aryeh Gregor [Fri, 5 Jun 2009 16:11:15 +0000 (16:11 +0000)]
Remove $wgSectionContainers from parser tests
The functionality was removed in r50769, so parser tests no longer need
to bother setting it to false.