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.
Aryeh Gregor [Fri, 5 Jun 2009 15:49:51 +0000 (15:49 +0000)]
Don't use wfDeprecated for still-used methods
If the method is really deprecated, then get rid of all in-tree callers
before you start spamming everyone with notices.
Alexandre Emsenhuber [Fri, 5 Jun 2009 13:12:15 +0000 (13:12 +0000)]
Fix for r51493, r51084 and realted: use Title::makeTitle() rather than Title::newFromText()
Jure Kajzer [Fri, 5 Jun 2009 11:45:32 +0000 (11:45 +0000)]
Oracle database abstraction updated.
Rewriten tables.sql, added user.sql (creating db user with privileges)
Fixed epoch in Special Ancientpages and Unusedimages
Timestamp default format altered in db abstraction and changed wfTimestamp function
SearchOracle changed to return empty resultset on empty term search (query error in oracle)
TODO: Maintenance scripts update
Siebrand Mazeland [Fri, 5 Jun 2009 07:33:57 +0000 (07:33 +0000)]
Follow-up to r51084:
* address case sensitivity issue raised by Splarka on CR
* also change to edit link on Special:Block
Niklas Laxström [Fri, 5 Jun 2009 06:36:31 +0000 (06:36 +0000)]
* (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
Niklas Laxström [Fri, 5 Jun 2009 06:30:10 +0000 (06:30 +0000)]
Escaping and formatNum
Alexandre Emsenhuber [Thu, 4 Jun 2009 19:23:13 +0000 (19:23 +0000)]
Fix case for "Recentchanges" (and not "RecentChanges") so that SpecialPage::getLocalNameFor() doesn't emit an error
Aaron Schulz [Thu, 4 Jun 2009 13:14:19 +0000 (13:14 +0000)]
Added patrolmarks blurb
Aaron Schulz [Thu, 4 Jun 2009 12:57:22 +0000 (12:57 +0000)]
Tweaked r49468 - sqllite fix
Rotem Liss [Thu, 4 Jun 2009 10:01:51 +0000 (10:01 +0000)]
essage=Localization upate.
Rotem Liss [Thu, 4 Jun 2009 09:57:51 +0000 (09:57 +0000)]
Ensure that the power search form does not overlap the interwiki search box.
Andrew Garrett [Thu, 4 Jun 2009 09:48:11 +0000 (09:48 +0000)]
Revert r51128, and its follow-up revisions r51129, r51130, r51390.
Commit message was: "* (bug 18958) Added ability to disable entire variant conversion engine per user preferences (languages with language converter class only)"
Reverted because of multiple issues on CodeReview, notably:
* Unexplained rename of a configuration variable, with no backwards-compatibility code.
* Suspected parser cache pollution.
* Variant tabs flip-flop with parser cache misses and hits.
* Hacky implementation: changing configuration variables on the fly is almost always a bad idea, unless you are writing a configuration extension.
* Implementation of default is done as a special case in code accessing the preference, rather than by adding an entry to $wgDefaultUserOptions.
Rotem Liss [Thu, 4 Jun 2009 09:22:26 +0000 (09:22 +0000)]
Localization update for he, and fixing comments in en.
ThomasV [Thu, 4 Jun 2009 09:16:25 +0000 (09:16 +0000)]
store djvu text layer in img_metadata. fetch it in proofreadpage
Tim Starling [Thu, 4 Jun 2009 08:50:04 +0000 (08:50 +0000)]
(bug 18207) Instead of styling all links with icons and padding and then attempting to override it for interwiki links via carefully chosen specificity, style only external links in the first place and leave interwiki links alone. Tested in FF 3, IE 6, IE 8, Opera 9.5 and Epiphany. Non-functional in IE 6 but degrades nicely, same as before. No $wgStyleVersion update needed.
Niklas Laxström [Thu, 4 Jun 2009 07:38:00 +0000 (07:38 +0000)]
Revert part of r50883, superseded by Tim's r51453
Shinjiman [Thu, 4 Jun 2009 07:30:17 +0000 (07:30 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Tim Starling [Thu, 4 Jun 2009 07:26:46 +0000 (07:26 +0000)]
General fix for trailing whitespace in messages, so that we don't have to put bugfix hacks at hundreds of places in the code to preserve HTML entities in messages that are formally plain text. Based on discussion with Nikerabbit.
Siebrand Mazeland [Thu, 4 Jun 2009 07:04:15 +0000 (07:04 +0000)]
Follow-up to r51086/r51094 (adding of Vector skin): add skin related messages for JS/CSS/skin name
Tim Starling [Thu, 4 Jun 2009 06:17:03 +0000 (06:17 +0000)]
Revert r49941 and r50013: hackish attempted use of mIsFirst before initialisation.
Tim Starling [Thu, 4 Jun 2009 06:02:00 +0000 (06:02 +0000)]
Revert r49935 (decode character entities in namespace names) due to lack of justification on CodeReview and bug report.
Remember the dot [Thu, 4 Jun 2009 03:14:27 +0000 (03:14 +0000)]
Moved language attribute generation to SkinTemplate.php as requested by Tim Starling, see r49350
Chad Horohoe [Thu, 4 Jun 2009 01:10:06 +0000 (01:10 +0000)]
(bug 11654) updateSearchIndex.php now uses a wiki-specific position file.
Siebrand Mazeland [Wed, 3 Jun 2009 23:56:42 +0000 (23:56 +0000)]
(bug 14866) 'recentchangeslinked' should be split into individual messages
* Copy 'recentchangeslinked' to 'recentchangeslinked-feed' and 'recentchangeslinked-toolbox' to allow more fine grained customisation of the UI.
Siebrand Mazeland [Wed, 3 Jun 2009 22:17:14 +0000 (22:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-03 22:11 UTC)
Siebrand Mazeland [Wed, 3 Jun 2009 22:10:44 +0000 (22:10 +0000)]
Actually process plural for 'tags-hitcount'
Tim Starling [Wed, 3 Jun 2009 17:09:50 +0000 (17:09 +0000)]
Reverted r49575, {{revisionid:...}} due to unresolved CR comments and the general cache-breaking insanity of the concept.
Andrew Garrett [Wed, 3 Jun 2009 16:53:23 +0000 (16:53 +0000)]
Fix preferences reset, was missing a saveSettings()
Andrew Garrett [Wed, 3 Jun 2009 16:45:03 +0000 (16:45 +0000)]
Add extra toggles from $wgContLang->getExtraUserToggles() to preferences, under i18n
Tim Starling [Wed, 3 Jun 2009 16:33:08 +0000 (16:33 +0000)]
Fix for r49412, possible fatal errors.
Tim Starling [Wed, 3 Jun 2009 15:36:44 +0000 (15:36 +0000)]
Followup to r49056: gender property gives "unknown" when gender option is null
Tim Starling [Wed, 3 Jun 2009 15:12:44 +0000 (15:12 +0000)]
Replaced remaining ellipsis characters as in previous commit.
Tim Starling [Wed, 3 Jun 2009 15:10:28 +0000 (15:10 +0000)]
Reverted r49019, unnecessary use of the ellipsis character, per CR
Siebrand Mazeland [Wed, 3 Jun 2009 15:02:39 +0000 (15:02 +0000)]
Follow-up to r51405 (Reverted r48984).
* remove 'groupconvert' magic from translations, too.
Tim Starling [Wed, 3 Jun 2009 14:51:08 +0000 (14:51 +0000)]
Reverted r48984. Fragile, doesn't work if memcached is enabled. See CodeReview.
ThomasV [Wed, 3 Jun 2009 13:07:13 +0000 (13:07 +0000)]
reverting r50050. djvu text should be stored in img_metadata (per Tim)
Andrew Garrett [Wed, 3 Jun 2009 09:38:36 +0000 (09:38 +0000)]
Fix logic error involving interpretation of result from validate() method, causing bug 18763 "Unable to save preferences after switching language" and possibly others.
Shinjiman [Wed, 3 Jun 2009 08:16:42 +0000 (08:16 +0000)]
follow up r51128, adding type check for $wgUser->getOption( 'variantconversion' ) whether it is 0 (disabled) or null (have not been set).
Tim Starling [Wed, 3 Jun 2009 06:28:19 +0000 (06:28 +0000)]
Profiling for CPF::gender()
Siebrand Mazeland [Tue, 2 Jun 2009 20:52:10 +0000 (20:52 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-02 20:45 UTC)