Aryeh Gregor [Tue, 8 Dec 2009 19:32:17 +0000 (19:32 +0000)]
Rename some extauth functions and fields
Per Code Review at
<http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53497#c4633>. One
of the changes was a database field, and updaters might have to be
written for pgsql and DB2.
Alexandre Emsenhuber [Tue, 8 Dec 2009 19:19:24 +0000 (19:19 +0000)]
More doxygen fixes:
* added rebuildInterwiki.inc to Wikimedia group
* added "@file" to addwiki.php and renamewiki.php so that they really belong to the Wikimedia group
Daniel Friesen [Tue, 8 Dec 2009 17:17:24 +0000 (17:17 +0000)]
Fixes for comments on r59655
- Look for any textbox since just creating one doesn't work
- editFormHeadInit -> showHeader
- code style
- moved checkbox initialization into relevant locations
- dropped hardcoded use of currentFocused in favor of catching event delegated focus events within the edit form
Also:
- Removed more direct uses of $wgRequest in favor of properties
- add $wgPreviewOnOpenNamespaces for extensions like SMW that have category like namespaces.
Jure Kajzer [Tue, 8 Dec 2009 10:24:23 +0000 (10:24 +0000)]
Fixed coding convention issue
Niklas Laxström [Tue, 8 Dec 2009 10:04:48 +0000 (10:04 +0000)]
Fix mk plural as requested, CLDR seems to be wrong in this case
OverlordQ [Tue, 8 Dec 2009 02:01:26 +0000 (02:01 +0000)]
Fix Parser transcache to correctly format timestamps
Tim Starling [Tue, 8 Dec 2009 00:07:37 +0000 (00:07 +0000)]
Clarified documentation of File::isMultipage() to avoid further mistakes like bug 21523.
Trevor Parscal [Mon, 7 Dec 2009 23:03:24 +0000 (23:03 +0000)]
Used more @noflip rules to make some of the margins a bit less confusing.
Tim Starling [Mon, 7 Dec 2009 21:45:21 +0000 (21:45 +0000)]
Revert debugging code accidentally left in from r59780
Roan Kattouw [Mon, 7 Dec 2009 21:28:52 +0000 (21:28 +0000)]
Yet more fixes for r59799: fix typo, JS error in js2stopgap, reminify.
Raimond Spekking [Mon, 7 Dec 2009 19:59:37 +0000 (19:59 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-07 16:30 UTC)
Michael Dale [Mon, 7 Dec 2009 19:56:42 +0000 (19:56 +0000)]
* updated js2 stopgap stubs to reflect new function name
js2AddonLoadHook -> mw.addonLoadHook
loadGM -> mw.addMessege
mvJsLoader->doLoad() -> mw.load()
mvJsLoader->doDepsMode() -> mw.load()
loadExternalScript() -> mw.load()
Alexandre Emsenhuber [Mon, 7 Dec 2009 19:42:12 +0000 (19:42 +0000)]
Per Nikerabbit, follow-up to r59761: just check for "instanceof User"
Alexandre Emsenhuber [Mon, 7 Dec 2009 19:16:17 +0000 (19:16 +0000)]
Cosmetic fixes:
* indention for lines not starting with "* "
* break lines at 80 chars
Rotem Liss [Mon, 7 Dec 2009 19:06:33 +0000 (19:06 +0000)]
Localization update.
Danny B [Mon, 7 Dec 2009 18:28:25 +0000 (18:28 +0000)]
* (bug 21776) Empty project + language interwikis do not work anymore [patch by Platonides]
Aaron Schulz [Mon, 7 Dec 2009 16:50:36 +0000 (16:50 +0000)]
stop undefined variable notices
Tim Starling [Mon, 7 Dec 2009 08:51:52 +0000 (08:51 +0000)]
Replaced all instances of <<<END (which breaks vim syntax highlighting), with a type-specific end token. For HTML and SQL, this causes vim to highlight the embedded text with the HTML or SQL file type plugins respectively, which is very neat.
Purodha B Blissenbach [Mon, 7 Dec 2009 01:30:56 +0000 (01:30 +0000)]
Message cosmetic MediaWiki:sectioneditnotsupported-text
Siebrand Mazeland [Sun, 6 Dec 2009 15:05:33 +0000 (15:05 +0000)]
Localisation updates from translatewiki.net
* update magic words translations
Siebrand Mazeland [Sun, 6 Dec 2009 14:59:27 +0000 (14:59 +0000)]
Localisation updates from translatewiki.net
* update special page aliases
Max Semenik [Sun, 6 Dec 2009 11:09:39 +0000 (11:09 +0000)]
Fixed duplicateTableStructure() for SQLite, it previously didn't copy row properties such as autoincrement. Resolves bug 20549 - parser tests now work with SQLite.
OverlordQ [Sun, 6 Dec 2009 00:15:05 +0000 (00:15 +0000)]
Followup to 59748, add comment describing option
Alexandre Emsenhuber [Sat, 5 Dec 2009 21:26:42 +0000 (21:26 +0000)]
User::newFromName() can return false on invalid user name, and thus was throwing "PHP Fatal error: Call to a member function idForName() on a non-object in includes/specials/SpecialUserlogin.php on line 280"
Alexandre Emsenhuber [Sat, 5 Dec 2009 17:07:40 +0000 (17:07 +0000)]
Doxygen fixes:
* remove duplicated definition of "Wikimedia" group in cleanupTable.inc
* define "HTTP" and "Wikimedia" groups in a separate comment so that doxygen doesn't throw "Cannot assign group to itself"
Max Semenik [Sat, 5 Dec 2009 15:03:20 +0000 (15:03 +0000)]
Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha)
Max Semenik [Sat, 5 Dec 2009 10:33:09 +0000 (10:33 +0000)]
Eliminated deadlock during parser tests on SQLite
Philip Tzou [Sat, 5 Dec 2009 05:39:21 +0000 (05:39 +0000)]
follow-up r59522 and r59735. only redirect to a variant URL when logged out.
OverlordQ [Fri, 4 Dec 2009 23:11:28 +0000 (23:11 +0000)]
Making the DBA handler configurable when using CACHE_DBA, still defaults to db3.
Changed the constructor to only take one optional dir param, the only place it gets called is ObjectCache with no parameters.
Aryeh Gregor [Fri, 4 Dec 2009 19:39:15 +0000 (19:39 +0000)]
Add DTD to fix well-formedness errors in HTML5
Now actually tested, using Python's SAX module. You can verify that a
page is well-formed XML (or at least won't break in pywikipediabot) with
a program like this:
import xml.sax
class Myhandler(xml.sax.ContentHandler):
pass
h = Myhandler()
xml.sax.parse("http://localhost/git-trunk/phase3/index.php?title=Special:UserLogin",
h)
If the page is not well-formed, this will throw an exception. It did
with the old doctype, but no longer does if $wgWellFormedXml == true.
Alexandre Emsenhuber [Fri, 4 Dec 2009 18:37:54 +0000 (18:37 +0000)]
* (bug 21559) "logempty" message is now wrapped in a div with class "mw-warning-logempty" when used in log extract
Raimond Spekking [Fri, 4 Dec 2009 16:46:03 +0000 (16:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-04 16:30 UTC)
Chad Horohoe [Fri, 4 Dec 2009 16:04:01 +0000 (16:04 +0000)]
Revert r59730 for now. Has some warnings and might be causing a weird regression I cant track down
Chad Horohoe [Fri, 4 Dec 2009 15:49:06 +0000 (15:49 +0000)]
Followup r59731: Make it opt-out instead of opt-in
Philip Tzou [Fri, 4 Dec 2009 15:47:25 +0000 (15:47 +0000)]
follow-up r59522 and r59541. To make the condition when we'll use Accept-Language in Vary and XVO more clear.
Chad Horohoe [Fri, 4 Dec 2009 15:45:02 +0000 (15:45 +0000)]
Use spaces so these line up nicely for everybody
Chad Horohoe [Fri, 4 Dec 2009 14:57:21 +0000 (14:57 +0000)]
Change deleteSelfExternals to use Maintenance.php
Chad Horohoe [Fri, 4 Dec 2009 14:38:43 +0000 (14:38 +0000)]
Put an option on checking for non-syntax errors
Chad Horohoe [Fri, 4 Dec 2009 13:15:11 +0000 (13:15 +0000)]
(bug 15853) Feeds for non-existing pages returned a feed of all pages where rev_page = 0. In theory of course this should never happen, but it does. Conveniently this started returning a nice "page does not exist" error in the feed. Patch by Mormegil.
Alexandre Emsenhuber [Fri, 4 Dec 2009 11:48:49 +0000 (11:48 +0000)]
Fix Special:ProtectedPages' canonical name (Protectedpages) to avoid notice when $wgDevelopmentWarnings is enabled
Alexandre Emsenhuber [Fri, 4 Dec 2009 11:33:50 +0000 (11:33 +0000)]
* (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have the page selector when they have only one page
Siebrand Mazeland [Fri, 4 Dec 2009 09:34:30 +0000 (09:34 +0000)]
Add separate message for special page title, as 'blockip' is also used in the tools portlet on user pages.
Tim Starling [Fri, 4 Dec 2009 03:01:42 +0000 (03:01 +0000)]
Update patch-job.sql for r57610 and documentation updates.
Tim Starling [Fri, 4 Dec 2009 01:55:05 +0000 (01:55 +0000)]
Fix bug in BacklinkCache: the lack of an ORDER BY clause in getLinks(), combined with the lack of sensible indexes on the categorylinks table, was causing partition() to return starts and ends scaterred randomly across the result set. For large jobs, many partitions end up being large, causing HTMLCacheUpdate::doPartialUpdate() to repartition, thus requeueing jobs in an infinite recursive loop.
The BacklinkCache bug was there since r47317, but was relatively harmless until r54841 introduced the infinite loop issue.
Trevor Parscal [Thu, 3 Dec 2009 22:51:42 +0000 (22:51 +0000)]
Fixes issue that was caused by tweaks in r59224 and r59254 which made the actions drop down become 1px wider on mouseover.
Alexandre Emsenhuber [Thu, 3 Dec 2009 21:47:52 +0000 (21:47 +0000)]
Don't exit with status 0 after an exception, for the benefit of other scripts depending on it
Max Semenik [Thu, 3 Dec 2009 20:18:28 +0000 (20:18 +0000)]
Fixed warning introduced in r59702
Raimond Spekking [Thu, 3 Dec 2009 19:39:42 +0000 (19:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-03 19:00 UTC)
Jure Kajzer [Thu, 3 Dec 2009 16:09:22 +0000 (16:09 +0000)]
(bug 20159) thumbs rerendring if older that
Daniel Friesen [Thu, 3 Dec 2009 10:29:34 +0000 (10:29 +0000)]
Expand a few comments. One as per Nikerabbit's comment on r59695.
Roan Kattouw [Thu, 3 Dec 2009 10:22:15 +0000 (10:22 +0000)]
Revert js2stopgap to its good state before r58959 tried to prettify it and r58997, r59666 and r59671 fixed the resulting breakage.
Daniel Friesen [Thu, 3 Dec 2009 08:22:56 +0000 (08:22 +0000)]
Missing $wgRequest in showSummaryInput
Daniel Friesen [Thu, 3 Dec 2009 08:15:55 +0000 (08:15 +0000)]
Fix notices
Tim Starling [Thu, 3 Dec 2009 05:38:32 +0000 (05:38 +0000)]
Merged r56967 from wmf-deployment: for performance, don't consider pages with very few links for Special:Mostlinked.
Implemented a page count threshold as Domas suggested in his commit message. A fractional power seems to make sense for scaling from page count to links-per-page, since it has the right kind of limits, so I used a square root bounded between 1 and 100.
OverlordQ [Thu, 3 Dec 2009 02:37:49 +0000 (02:37 +0000)]
(bug 20150): Change query to explicity select distinct rows instead of doing it using a group by, RevDelete works on PG now
Adam Miller [Wed, 2 Dec 2009 21:43:52 +0000 (21:43 +0000)]
Follow change to r59680. Adding a better regex
Adam Miller [Wed, 2 Dec 2009 21:22:03 +0000 (21:22 +0000)]
Adding some code to the ajax watch/unwatch to alter tooltips on ajax update. Bug #21538
Rotem Liss [Wed, 2 Dec 2009 20:49:52 +0000 (20:49 +0000)]
Localization update.
Raimond Spekking [Wed, 2 Dec 2009 20:39:49 +0000 (20:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-02 20:00 UTC)
Daniel Friesen [Wed, 2 Dec 2009 18:51:19 +0000 (18:51 +0000)]
Fixes for fixme comments on my r59655
Roan Kattouw [Wed, 2 Dec 2009 18:44:03 +0000 (18:44 +0000)]
Fix more abuses of spacing in regexes in jQuery
Alexandre Emsenhuber [Wed, 2 Dec 2009 16:37:38 +0000 (16:37 +0000)]
Fix E_STRICT: UploadFromUrl::initialize() should have the same signature as UploadBase::initialize()
Roan Kattouw [Wed, 2 Dec 2009 16:29:40 +0000 (16:29 +0000)]
Revert unintended change in r59666
Roan Kattouw [Wed, 2 Dec 2009 16:28:29 +0000 (16:28 +0000)]
Fix jQuery bug filed upstream as dev.jquery.com/ticket/5583 . Also fixes bug 21709 (dialogs freeze in raw/combined mode but not in minified mode). The fact that this worked in minified mode is due to a bug in JSmin, contacted the author about that.
Jure Kajzer [Wed, 2 Dec 2009 13:37:24 +0000 (13:37 +0000)]
(bug 18762) both redirects and links fixed if redirects-only switch not present
Roan Kattouw [Wed, 2 Dec 2009 12:28:27 +0000 (12:28 +0000)]
API: Minor cleanup for r59258, general whitespace cleanup
Roan Kattouw [Wed, 2 Dec 2009 12:17:27 +0000 (12:17 +0000)]
API: Fix for r58551: WDDX formatter barfs on null
Daniel Friesen [Wed, 2 Dec 2009 07:22:29 +0000 (07:22 +0000)]
EditPage refactor and improvements.
- EditPage::showEditForm broken up into task specific methods
- Subclasses can indicate they can't support section mode
- Standard inputs should all be now in methods they can be grabbed from by subclasses that want to re-arange things
- Many more places to override and hook into to change behavior
- showTextbox1 parameters changed from $classes to $customAttribs and $textoverride
- showContentForm and importContentFormData added; New workflow to override the wpTextbox1 behavior to use an alternate edit form ui or handle wpTextbox1 content in an alternate way.
- getActionURL added for EditPage subclasses used in places where $this->action isn't enough (ie: EditPage on special pages)
Html::textarea added
Sam Reed [Wed, 2 Dec 2009 00:25:23 +0000 (00:25 +0000)]
RELEASE-NOTES for r59647
Sam Reed [Wed, 2 Dec 2009 00:23:05 +0000 (00:23 +0000)]
bug 21740 Attempting to protect a page that doesn't exist (salting) returns "unknown error"
Message usage was plural, definition was singular
Alexandre Emsenhuber [Tue, 1 Dec 2009 21:01:58 +0000 (21:01 +0000)]
Follow-up r59638: add patch contributor to CREDITS file
Alexandre Emsenhuber [Tue, 1 Dec 2009 20:56:43 +0000 (20:56 +0000)]
* (bug 21574) Redirects can now have "303 See Other" HTTP status
Based on a patch by denny vrandecic - http://bug-attachment.wikimedia.org/attachment.cgi?id=6805
Raimond Spekking [Tue, 1 Dec 2009 20:46:26 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-01 20:00 UTC)
Tim Starling [Tue, 1 Dec 2009 01:55:04 +0000 (01:55 +0000)]
Reverted r58646 as per my comments on bug 20554.
Nimish Gautam [Mon, 30 Nov 2009 21:01:24 +0000 (21:01 +0000)]
updated style version as per r59604
Nimish Gautam [Mon, 30 Nov 2009 20:43:23 +0000 (20:43 +0000)]
click tracking for old toolbar
Raimond Spekking [Mon, 30 Nov 2009 20:32:43 +0000 (20:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-30 20:00 UTC)
Jure Kajzer [Mon, 30 Nov 2009 18:42:16 +0000 (18:42 +0000)]
* Added 5th parameter to texvc call (can be null and defaults to rgb '1.0 1.0 1.0').
This parameter controls texvc background color. Can be set to output transparent background
* Added $wgTexvcBackgroundColor parameter to DefaultSettings with value 'rgb 1.0 1.0 1.0'
* Changed Math.php to call texvc with new parameter
Raimond Spekking [Sun, 29 Nov 2009 22:53:53 +0000 (22:53 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-29 22:30 UTC)
Philip Tzou [Sun, 29 Nov 2009 18:38:57 +0000 (18:38 +0000)]
follow-up r59544. more comments added.
Aryeh Gregor [Sun, 29 Nov 2009 16:45:17 +0000 (16:45 +0000)]
Allow \pagecolor and \definecolor in texvc
\color was already allowed. This permits a partial (although ugly)
workaround for bug 8 if anyone thinks it's actually worth it. If not,
though, no harm done.
Aaron Schulz [Sun, 29 Nov 2009 16:39:47 +0000 (16:39 +0000)]
Restored r59537 - fixed silly typo
Chad Horohoe [Sun, 29 Nov 2009 16:13:40 +0000 (16:13 +0000)]
Add $wgWikiId to override default wfWikiId() output. Solves bug 21086 (security issue: generateSitemap.php does use wfWikiID in sitemap filenames)
Siebrand Mazeland [Sun, 29 Nov 2009 16:07:00 +0000 (16:07 +0000)]
Use FULLPAGENAMEE instead of {{urlencode:{{FULLPAGENAME}}}} in 'noarticletext' and 'noarticletext-nopermission'
Alexandre Emsenhuber [Sun, 29 Nov 2009 15:10:45 +0000 (15:10 +0000)]
* (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now only displayed to the users that have "editinterface" right
Philip Tzou [Sun, 29 Nov 2009 10:53:08 +0000 (10:53 +0000)]
follow-up r59541. Fix the problem reported on [[Special:Code/MediaWiki/59541#c4540]]. Partly patched by Liangent.
Siebrand Mazeland [Sun, 29 Nov 2009 10:49:47 +0000 (10:49 +0000)]
Revert r59537. Breaks page deletion with "PHP Notice: Array to string conversion in /var/www/w/includes/db/Database.php on line 1433" and ""IndexPager::reallyDoQuery (LogPager)". Database returned error "1176: Key 'Array' doesn't exist in table 'logging' (localhost)"."
Philip Tzou [Sun, 29 Nov 2009 06:47:51 +0000 (06:47 +0000)]
follow-up r59522, r59523, r59527, r59529, r59530.
1. Only use Accept-Language when 301 redirection happens. It won't call the parser, but it is the most case we need to ensure it uncacheable.
2. Merge addXVOHeader with addVaryHeader.
Aaron Schulz [Sun, 29 Nov 2009 00:01:21 +0000 (00:01 +0000)]
* Made log_user_type_time index available when needed
* Don't allow type,time index when 2+ types are given
* Make sure $this->types becomes an array in limitType() ('' -> array() case was left out)
* A few code style tweaks
Philip Tzou [Sat, 28 Nov 2009 20:20:38 +0000 (20:20 +0000)]
follow-up r59522, r59529. Just include the current variant.
Philip Tzou [Sat, 28 Nov 2009 20:13:46 +0000 (20:13 +0000)]
follow-up r59522. "string-contains" added.
Philip Tzou [Sat, 28 Nov 2009 20:00:00 +0000 (20:00 +0000)]
follow-up r59522. ONLY add Accept-Language when a valid variant has been found out.
Raimond Spekking [Sat, 28 Nov 2009 19:49:45 +0000 (19:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-28 19:00 UTC)
Philip Tzou [Sat, 28 Nov 2009 19:15:55 +0000 (19:15 +0000)]
follow-up r59522, add missing credit.
Philip Tzou [Sat, 28 Nov 2009 19:13:23 +0000 (19:13 +0000)]
bug 21672: Add Accept-Language to Vary and XVO headers to help Squid to determine user's perferred local language which has been eagerly wanted in Chinese Wikipedia.
Shinjiman [Sat, 28 Nov 2009 10:04:08 +0000 (10:04 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Chad Horohoe [Sat, 28 Nov 2009 06:26:39 +0000 (06:26 +0000)]
Rm another file from js2 de-merge
Chad Horohoe [Sat, 28 Nov 2009 03:49:29 +0000 (03:49 +0000)]
Fix header
Raimond Spekking [Fri, 27 Nov 2009 21:53:34 +0000 (21:53 +0000)]
Fix PHP Strict Standards: Declaration of UploadFromUrl::initialize() should be compatible with that of UploadBase::initialize() in /var/www/w/includes/upload/UploadFromUrl.php on line 137
Raimond Spekking [Fri, 27 Nov 2009 19:55:26 +0000 (19:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-27 19:00 UTC)