Siebrand Mazeland [Thu, 8 May 2008 21:37:11 +0000 (21:37 +0000)]
Localisation updates for core messages from Betawiki (2008-05-08 23:22 CEST)
Bryan Tong Minh [Thu, 8 May 2008 21:25:12 +0000 (21:25 +0000)]
So actually Article::followRedirect is used instead of Article::getRedirectTarget. Override this in ImagePage to make foreign image redirects work on image pages.
River Tarnell [Thu, 8 May 2008 21:13:14 +0000 (21:13 +0000)]
support imgserv for SVG rasterising
Bryan Tong Minh [Thu, 8 May 2008 20:55:13 +0000 (20:55 +0000)]
* Move image page redirect checking to ImagePage. Should now also work on foreign repos.
* Changed File::getRedirected to return a DBkey instead of a formatted text
Raimond Spekking [Thu, 8 May 2008 20:41:20 +0000 (20:41 +0000)]
Move heading to a more appropriate place, improves navigation for screenreader too.
Aaron Schulz [Thu, 8 May 2008 20:40:03 +0000 (20:40 +0000)]
Revert r34444, breaks submissions
Bryan Tong Minh [Thu, 8 May 2008 20:22:21 +0000 (20:22 +0000)]
Apparently r34458 was reported as bug 13546. Adding to release notes.
Bryan Tong Minh [Thu, 8 May 2008 20:15:09 +0000 (20:15 +0000)]
* Add new flag FIND_IGNORE_REDIRECT to wfFindFile and functions it depends on
* Follow redirects on image pages if the redirect is actually an image redirect
* Add comments to the check for redirect code in MediaWiki::initializeArticle so that I actually understand what it does
Brion Vibber [Thu, 8 May 2008 20:04:45 +0000 (20:04 +0000)]
* (bug 14047) Fix regression in installer which hid DB-specific options.
Also makes SQLite path configurable in the installer.
$wgSQLiteDataDir wasn't being initialized in DefaultSettings.php, potentially open to register_globals attacks. Now initialized to '', which gets interpreted as default.
Now adding only the options for the relevant DB to the generated LocalSettings.php
Brion Vibber [Thu, 8 May 2008 19:26:41 +0000 (19:26 +0000)]
Partial correctness fix; use lazy-loading $this->getTitle() instead of $this->mTitle in Revision::getPrevious() and Revision::getNext().
This will ensure they work even if the objects were fetched in a way that didn't initialize $this->mTitle... unless they aren't fully saved in the DB, in which case they'll still fail with a fatal error.
Shinjiman [Thu, 8 May 2008 17:20:45 +0000 (17:20 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Raimond Spekking [Thu, 8 May 2008 16:39:13 +0000 (16:39 +0000)]
Localisation updates German - oops. Thanks to Siebrand :)
Raimond Spekking [Thu, 8 May 2008 16:36:06 +0000 (16:36 +0000)]
Localisation updates German
Aryeh Gregor [Thu, 8 May 2008 16:19:01 +0000 (16:19 +0000)]
As Brion pointed out, this param is a boolean, and the existing code only works kind of by chance.
River Tarnell [Thu, 8 May 2008 16:06:21 +0000 (16:06 +0000)]
on SJS Web Server with action paths, 'action' is always set. this caused WatchlistEditor::getMode() to ignore $par when deciding if the user is editing the watchlist, so it would always consider the action to be view. fix by giving precedence to $par over action.
Rotem Liss [Thu, 8 May 2008 15:54:01 +0000 (15:54 +0000)]
Update.
Roan Kattouw [Thu, 8 May 2008 15:50:53 +0000 (15:50 +0000)]
(bug 14042) Calling Database::limitResult() misplaced the comment in the log file
Roan Kattouw [Thu, 8 May 2008 15:46:06 +0000 (15:46 +0000)]
Documenting some API stuff
Leon Weber [Thu, 8 May 2008 15:34:48 +0000 (15:34 +0000)]
Forgot the second comma...
Leon Weber [Thu, 8 May 2008 15:32:54 +0000 (15:32 +0000)]
German localisation fix: This is a relative clause which needs to be seperated from the main clause by a comma.
Robert Stojnić [Thu, 8 May 2008 15:16:48 +0000 (15:16 +0000)]
Delete mysqlism from message (as people complain on IRC that it doesn't apply
to wikimedia sites). Instead advertise functionality that applies to all
search backends. It might also be nice if we made this message backend
dependent.
Leon Weber [Thu, 8 May 2008 15:01:40 +0000 (15:01 +0000)]
(bug 14044) Don't increment page view counters on views from bot users
Alexandre Emsenhuber [Thu, 8 May 2008 14:14:28 +0000 (14:14 +0000)]
Fix XHTML error from r34401.
Roan Kattouw [Thu, 8 May 2008 12:33:20 +0000 (12:33 +0000)]
API:
* Added ApiQueryBase::addJoin() which provides a cleaner interface to construct JOIN queries. Behind the scenes this still uses the old, ugly way, but it'll be easy to rewrite when/if the Database class gets its own function for JOINs
* Used addJoin() in query modules where necessary
* Removed FORCE INDEX (rc_timestamp) from ApiQueryRecentchanges: it's nigh impossible to integrate with addJoin() and it doesn't seem to be necessary anyway (my MySQL instance automatically chooses rc_timestamp)
Daniel Friesen [Thu, 8 May 2008 11:03:03 +0000 (11:03 +0000)]
SMW also sends horrid statements containing DISTINCT and AS which suffer the same issue as the ugly API queries. Guess we have to secure against this use to.
Roan Kattouw [Thu, 8 May 2008 10:05:32 +0000 (10:05 +0000)]
Reverting r34388, DanTMan fixed Database::select() in r34442.
Daniel Friesen [Thu, 8 May 2008 09:29:48 +0000 (09:29 +0000)]
Ahh great. I mixed up my definition of preg_match's output and thought it was the one to return an offset, and false on failure.
Daniel Friesen [Thu, 8 May 2008 09:24:24 +0000 (09:24 +0000)]
Make tableName test for words like JOIN or ON which signal that we are actually looking at a SQL query thrown into the tableName because someone used the simple handlers in ways they really should not be.
Rotem Liss [Thu, 8 May 2008 06:31:15 +0000 (06:31 +0000)]
Update.
Brion Vibber [Thu, 8 May 2008 06:28:50 +0000 (06:28 +0000)]
* (bug 13615) Update case mappings and normalization to Unicode 5.1.0
Note that case mappings will only be used if mbstring extension is not present.
Normalization data files updated to Unicode 5.1.0; passes the automated tests.
Seem to have long since lost the script I originally used to generate the Utf8Case.php mapping file, which appears not to have been updated since 2002 or so. :)
Made a new one and moved it into the UtfNormal sub-library.
Note a couple limitations:
* Case mapping (still) uses only the 1:1 simple mappings. Any full or locale-specific mappings are ignored.
* These case mappings are not used anyway when the PHP mbstring extension is available; mbstring's case conversion functions are used instead, with whatever version of Unicode support and whatever complex mapping support they may or may not have.
* The generated Utf8Case.php file is not used directly -- you must also regenerate the serialized version in the 'serialized' directory after updating it to a new Unicode version.
Brion Vibber [Thu, 8 May 2008 05:34:48 +0000 (05:34 +0000)]
A bunch of Unicode constants got moved at some point out of the Unicode normalization library into core Defines.php, breaking the data file generation & testing.
Moved them out to a separate file in the library which can be cleanly included from both places for transparent happiness.
A fresh rebuild & test of UtfNormal data via 'make test' now works fine.
Aran Dunkley [Thu, 8 May 2008 00:24:20 +0000 (00:24 +0000)]
Remove backticks from table or db.table
Aryeh Gregor [Thu, 8 May 2008 00:11:43 +0000 (00:11 +0000)]
Update RELEASE-NOTES.
Aran Dunkley [Wed, 7 May 2008 23:43:17 +0000 (23:43 +0000)]
Add SQLite database class to autoloader
Aran Dunkley [Wed, 7 May 2008 23:40:14 +0000 (23:40 +0000)]
Add SQLite database class
Aran Dunkley [Wed, 7 May 2008 23:38:37 +0000 (23:38 +0000)]
Add SQLite database class
Raimond Spekking [Wed, 7 May 2008 21:16:06 +0000 (21:16 +0000)]
Tweak the explanation a bit
Rotem Liss [Wed, 7 May 2008 19:34:08 +0000 (19:34 +0000)]
Format the group rights list as a list.
Roan Kattouw [Wed, 7 May 2008 19:30:59 +0000 (19:30 +0000)]
(bug 14013) Added rcshow=patrolled to list=recentchanges
Rotem Liss [Wed, 7 May 2008 19:17:19 +0000 (19:17 +0000)]
This should probably be restricted to users with the 'hiderevision' right, as the 'suppress' right is only about viewing the suppression log and hidden users.
Roan Kattouw [Wed, 7 May 2008 19:15:06 +0000 (19:15 +0000)]
(bug 14018) Added alcontinue parameter to list=alllinks to improve paging; used to cause an infinite loop when a lot of links to the same title (e.g. [[Wiki]] on enwiki, more than 500 links) were listed. This basically adds the page ID to the continue value, making it unique. Also killed another useless ORDER BY pl_namespace
Shinjiman [Wed, 7 May 2008 19:09:36 +0000 (19:09 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Niklas Laxström [Wed, 7 May 2008 18:57:16 +0000 (18:57 +0000)]
* Don't pass the title object itself to Xml::hidden
Roan Kattouw [Wed, 7 May 2008 18:57:06 +0000 (18:57 +0000)]
Fixing regression from r34353: using Database::select() for a join messes up in certain cases (puts `s where they don't belong, breaking SQL), but not for all joins. Seems to be related to table aliases, not sure though.
Brion Vibber [Wed, 7 May 2008 17:16:16 +0000 (17:16 +0000)]
Revert r34370 -- don't rev up the wiki parser for *every single page view ever* please!
Huji [Wed, 7 May 2008 16:49:37 +0000 (16:49 +0000)]
* Adding/updating Persian translations
Bryan Tong Minh [Wed, 7 May 2008 15:09:25 +0000 (15:09 +0000)]
Also move the old files to the new hash path.
Bryan Tong Minh [Wed, 7 May 2008 15:03:18 +0000 (15:03 +0000)]
* Don't move thumbnails as they are purged anyway
* Force regeneration of the hash path
* Only switch titles if the move actually succeeded
Leon Weber [Wed, 7 May 2008 14:58:15 +0000 (14:58 +0000)]
(bug 3208) Allow wikisyntax for the tag line content
Siebrand Mazeland [Wed, 7 May 2008 12:15:20 +0000 (12:15 +0000)]
Localisation updates for core messages from Betawiki (2008-05-07 13:56 CEST)
Roan Kattouw [Wed, 7 May 2008 10:06:06 +0000 (10:06 +0000)]
API:
* (bug 13993) apfrom doesn't work for apdir=descending
* Also removed unnecessary ORDER BY page_namespace which caused a filesort for some crazy reason (no noticeable performance impact though)
Tim Starling [Wed, 7 May 2008 06:42:16 +0000 (06:42 +0000)]
* Rename wfGetAvailableRights() to User::getAllRights()
* Reintroduce $wgAvailableRights so that the above function is not so terribly slow and broken
Daniel Friesen [Wed, 7 May 2008 06:05:26 +0000 (06:05 +0000)]
Now that I think about it, we're going to have to set $wgSharedPrefix inside of Setup.php so that it can inherit from a $wgDBprefix inside of LocalSettings.php.
Daniel Friesen [Wed, 7 May 2008 04:44:04 +0000 (04:44 +0000)]
New config variables. $wgSharedPrefix and $wgSharedTables.
This is a complete rewrite of Database::tableName.
The new tableName also has no PHP errors, and outputs a cleanly quoted table name 100% of the time.
This should solve bug 2396
Tim Starling [Wed, 7 May 2008 04:22:40 +0000 (04:22 +0000)]
Shorter debug output
Tim Starling [Wed, 7 May 2008 03:39:35 +0000 (03:39 +0000)]
Don't check for existence twice for non-existent files when no time is specified.
Brion Vibber [Wed, 7 May 2008 03:30:22 +0000 (03:30 +0000)]
* (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
Aryeh Gregor [Wed, 7 May 2008 01:47:05 +0000 (01:47 +0000)]
Use rel="start", "prev", "next" appropriately on Pager-based pages (just adding them to the <a> tags, not adding <link> at the moment). I don't think any client uses these right now, but then, of course they won't if no web apps use them, will they?
Raimond Spekking [Tue, 6 May 2008 20:29:38 +0000 (20:29 +0000)]
Localisation updates German
Alexandre Emsenhuber [Tue, 6 May 2008 17:18:02 +0000 (17:18 +0000)]
*stab* some tweaks for my last commit
Rotem Liss [Tue, 6 May 2008 16:16:00 +0000 (16:16 +0000)]
Update.
Alexandre Emsenhuber [Tue, 6 May 2008 16:03:03 +0000 (16:03 +0000)]
* Update some documentation
* Moved ProfilerSimple::debug() to Profiler class so that it can also be used there
Victor Vasiliev [Tue, 6 May 2008 15:25:16 +0000 (15:25 +0000)]
Then let's keep it on image page and add it to Special:Whatlinkshere
Aryeh Gregor [Tue, 6 May 2008 14:57:14 +0000 (14:57 +0000)]
Uh, I checked in the wrong changed line. :D Correction for last commit: "This needs to be protected, actually, so that inheritance works properly."
Aaron Schulz [Tue, 6 May 2008 14:54:17 +0000 (14:54 +0000)]
Add $flags, document
Aryeh Gregor [Tue, 6 May 2008 14:52:30 +0000 (14:52 +0000)]
This needs to be protected, actually, so that inheritance works properly.
Rotem Liss [Tue, 6 May 2008 14:51:18 +0000 (14:51 +0000)]
Update.
Aryeh Gregor [Tue, 6 May 2008 14:14:37 +0000 (14:14 +0000)]
sed -i '/.*\$fname =.*/d;s/( \$fname )/( __METHOD__ )/' includes/SkinTemplate.php && manually_fix_remaining_uses && php -l includes/SkinTemplate.php
Shinjiman [Tue, 6 May 2008 14:07:28 +0000 (14:07 +0000)]
set the fallback language for zh-classical and gan into zh-hant, this would be useful for the extension messages.
Aryeh Gregor [Tue, 6 May 2008 14:06:16 +0000 (14:06 +0000)]
This was meant to be private.
Aryeh Gregor [Tue, 6 May 2008 13:58:32 +0000 (13:58 +0000)]
(bug 13970) Allow MonoBook-based skins to specify their own print stylesheet. Patch by Gernot Hillier, with modifications.
Shinjiman [Tue, 6 May 2008 13:57:02 +0000 (13:57 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Andrew Garrett [Tue, 6 May 2008 12:51:45 +0000 (12:51 +0000)]
* (bug 13950) Allow users to watch the user/user talk pages of users they block
Tim Starling [Tue, 6 May 2008 11:54:20 +0000 (11:54 +0000)]
Introduce svn-revision in $wgExtensionCredits for fast extension version specification.
Victor Vasiliev [Tue, 6 May 2008 05:18:47 +0000 (05:18 +0000)]
+ RELEASE-NOTES
Victor Vasiliev [Tue, 6 May 2008 05:12:47 +0000 (05:12 +0000)]
* (bug 13965) Hardcoded 51 limit on titles is too limiting
Tim Starling [Tue, 6 May 2008 02:50:07 +0000 (02:50 +0000)]
Maybe you missed the difference between getHTML and getText... One returns HTML, and one returns text.
Tim Starling [Tue, 6 May 2008 02:01:24 +0000 (02:01 +0000)]
Downgrading this error because it happens sometimes due to user input
Aaron Schulz [Tue, 6 May 2008 01:08:45 +0000 (01:08 +0000)]
E_STRICT
Tim Starling [Tue, 6 May 2008 00:59:16 +0000 (00:59 +0000)]
Send wfDeprecated notices to the debug log only. We don't actually want to fix all of these occurrences.
Brion Vibber [Tue, 6 May 2008 00:01:12 +0000 (00:01 +0000)]
* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors
Siebrand Mazeland [Mon, 5 May 2008 22:28:27 +0000 (22:28 +0000)]
Localisation updates. Rebuilt all language files.
Raimond Spekking [Mon, 5 May 2008 22:25:38 +0000 (22:25 +0000)]
Localisation updates German
Partly revert of r34273
Brion Vibber [Mon, 5 May 2008 22:23:50 +0000 (22:23 +0000)]
missed a release note in revert
Brion Vibber [Mon, 5 May 2008 22:21:01 +0000 (22:21 +0000)]
Revert r34199, r34205 for now.
I don't really like the var name $wgSharedDBtables (inconsistent caps).
Compare with Gregory's patch on bug 2396:
https://bugzilla.wikimedia.org/show_bug.cgi?id=2396
https://bugzilla.wikimedia.org/attachment.cgi?id=3610
That uses a var named $wgSharedTables, but makes it more flexible (allowing arbitrary DB and prefix per table), which may or may not be a super idea.
Brion Vibber [Mon, 5 May 2008 22:14:55 +0000 (22:14 +0000)]
Revert r34267, r34268, r34269, r34270 for now.
I don't like the UI chhanges here; the file usage links simply disappear from their current location with no warning or explanation, while the in-page TOC at the top suddenly starts linking to a different page, totally unexpectedly.
Siebrand Mazeland [Mon, 5 May 2008 22:01:12 +0000 (22:01 +0000)]
Localisation updates. Fixes on previous commit.
Siebrand Mazeland [Mon, 5 May 2008 21:50:29 +0000 (21:50 +0000)]
Localisation updates for core messages from Betawiki (2008-05-05 23:21 CEST)
Siebrand Mazeland [Mon, 5 May 2008 21:26:26 +0000 (21:26 +0000)]
image -> file...
Brion Vibber [Mon, 5 May 2008 20:50:40 +0000 (20:50 +0000)]
Revert r34260, r34261. Comments add flavor to the source code!
Remember that expletives aren't used just for fun; they indicate the severity of the problem that had to be worked around.
Alexandre Emsenhuber [Mon, 5 May 2008 20:05:01 +0000 (20:05 +0000)]
And messages.inc ? ;)
Victor Vasiliev [Mon, 5 May 2008 20:01:46 +0000 (20:01 +0000)]
Maybe it's better not to commit new features at 23:00?
Victor Vasiliev [Mon, 5 May 2008 19:56:34 +0000 (19:56 +0000)]
Fix XHTML per ialex
Victor Vasiliev [Mon, 5 May 2008 19:47:43 +0000 (19:47 +0000)]
Show image links on Special:WhatLinksHere:
* It has paging
* It handles redirects
Alexandre Emsenhuber [Mon, 5 May 2008 19:39:30 +0000 (19:39 +0000)]
Stop profiling before ending the function
Rotem Liss [Mon, 5 May 2008 18:04:48 +0000 (18:04 +0000)]
Remove emailconfirmed group from comment.
Rotem Liss [Mon, 5 May 2008 18:02:09 +0000 (18:02 +0000)]
Update.
Siebrand Mazeland [Mon, 5 May 2008 18:00:45 +0000 (18:00 +0000)]
Remove some emotional outbursts
Aaron Schulz [Mon, 5 May 2008 17:14:14 +0000 (17:14 +0000)]
Remove 'permission' header
Shinjiman [Mon, 5 May 2008 16:58:32 +0000 (16:58 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese