Andrew Garrett [Wed, 28 Jan 2009 23:37:42 +0000 (23:37 +0000)]
Fix patrolling checks, which are using the expensive version of userCan, and therefore causing queries to be made cross-cluster on every single pageview.
Brion Vibber [Wed, 28 Jan 2009 21:32:19 +0000 (21:32 +0000)]
* (bug 17207) Fix regression breaking category page display on PHP 5.1
r46020 added a call to $wgContLang->convert() for category article listings, but mistakenly passed the title *object* instead of the text.
In PHP 5.2, this was silently converted to a string, but in older versions this would interpolate as something useless like "Object id #110".
Danny B [Wed, 28 Jan 2009 21:06:16 +0000 (21:06 +0000)]
* tweak and fix r46474
Aaron Schulz [Wed, 28 Jan 2009 20:54:29 +0000 (20:54 +0000)]
Add an ID to wpForReUpload
Siebrand Mazeland [Wed, 28 Jan 2009 20:51:24 +0000 (20:51 +0000)]
Localisation updates for core messages from Betawiki (2009-01-28 20:32 UTC)
Aaron Schulz [Wed, 28 Jan 2009 20:17:11 +0000 (20:17 +0000)]
Split off 'wpReUpload' into the old check 'wpReUpload' and the bool 'wpForReUpload' to avoid breakage.
Andrew Garrett [Wed, 28 Jan 2009 20:10:29 +0000 (20:10 +0000)]
PLURAL for tags-hitcount
Andrew Garrett [Wed, 28 Jan 2009 20:08:46 +0000 (20:08 +0000)]
Allow individual TablePager rows to be styled with the internal method getRowClass, called in formatRow.
Aaron Schulz [Wed, 28 Jan 2009 20:03:15 +0000 (20:03 +0000)]
(bug 17193) Carry $this->mReUpload over with hidden field for better consistency after upload errors
Niklas Laxström [Wed, 28 Jan 2009 19:58:41 +0000 (19:58 +0000)]
* Fix visible regression and let the plural finally work properly
* Reported by saper at mediawiki-i18n
Brion Vibber [Wed, 28 Jan 2009 19:58:08 +0000 (19:58 +0000)]
bump style version for r46474
Aaron Schulz [Wed, 28 Jan 2009 19:58:04 +0000 (19:58 +0000)]
(bug 17200) "Reuploading a file saves to source file name (regression)" - Use 'readonly' instead of 'disabled'
Brion Vibber [Wed, 28 Jan 2009 19:57:20 +0000 (19:57 +0000)]
Tweak for bug 3043 -- disable feed link icons in RTL since they display incorrectly in IE and some other browsers (same as external link icons).
I thought this had been done previously, since they didn't show up when I did a quick test in RTL, but I guess I was wrong. :P
Andrew Garrett [Wed, 28 Jan 2009 19:44:58 +0000 (19:44 +0000)]
Move misplaced updates. I'd just put them at the bottom without paying attention to the fact that it was actually in the sqlite section :)
Alexandre Emsenhuber [Wed, 28 Jan 2009 19:36:20 +0000 (19:36 +0000)]
Fix syntax error :)
Aaron Schulz [Wed, 28 Jan 2009 19:29:04 +0000 (19:29 +0000)]
(bug 15811) Also remove license template cruft on re-upload
Alexandre Emsenhuber [Wed, 28 Jan 2009 19:24:39 +0000 (19:24 +0000)]
E_STRICT
Andrew Garrett [Wed, 28 Jan 2009 19:24:18 +0000 (19:24 +0000)]
Update RELEASE-NOTES for change tagging functionality.
Raimond Spekking [Wed, 28 Jan 2009 19:19:05 +0000 (19:19 +0000)]
Follow up r46460: Add new messages to messages.inc
Add new special page to MessagesEn.php
Andrew Garrett [Wed, 28 Jan 2009 19:08:18 +0000 (19:08 +0000)]
Branch merge of change-tagging branch with trunk
-- Introduce tagging of individual changes (revisions, logs, and on recentchanges). The tags are customisable, and currently settable by the Abuse Filter and by the TorBlock extension. The tags can be styled on the various pages on which they appear.
-- Introduces a schema change, three new tables (valid_tag, change_tag, and tag_summary).
Rotem Liss [Wed, 28 Jan 2009 18:21:27 +0000 (18:21 +0000)]
Localization update for he.
Aaron Schulz [Wed, 28 Jan 2009 17:45:51 +0000 (17:45 +0000)]
'known' still needed for title attrib
Aaron Schulz [Wed, 28 Jan 2009 17:34:44 +0000 (17:34 +0000)]
(bug 17198) Remove css from next/prev, 20/50/100 links and such
Aryeh Gregor [Wed, 28 Jan 2009 16:46:26 +0000 (16:46 +0000)]
Don't query unneeded rows on watchlist
This probably doesn't need to use a LinkBatch at all -- it could just
retrieve some extra info in the watchlist query. But we need a
LinkBatch anyway for the user pages, so why not.
By request of Domas.
Aryeh Gregor [Wed, 28 Jan 2009 16:46:13 +0000 (16:46 +0000)]
Remove unused variables
This code seriously needs cleaning up.
Shinjiman [Wed, 28 Jan 2009 16:09:30 +0000 (16:09 +0000)]
Localisation updates Chinese
Cleanup: removing obsolete/outdated messages for zh-tw which are same as zh-hant
Aryeh Gregor [Wed, 28 Jan 2009 15:14:38 +0000 (15:14 +0000)]
Remove useless left join in watchlist
By request of Domas. Extensions that were relying on the left join to
page being present must add it if it's not; LQT was the only one I found
in trunk, and I updated it so it should still work.
Shinjiman [Wed, 28 Jan 2009 14:32:24 +0000 (14:32 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Chad Horohoe [Wed, 28 Jan 2009 13:47:21 +0000 (13:47 +0000)]
Re-commit r46417 (Skip dupe warnings when it's a titles are the same and it's a reupload), this time without an E_NOTICE.
Alexandre Emsenhuber [Wed, 28 Jan 2009 10:48:13 +0000 (10:48 +0000)]
Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
Philip Tzou [Wed, 28 Jan 2009 07:02:42 +0000 (07:02 +0000)]
Enable language conversion in "alt" and "title" attributes with preg_replace_callback. (fixed: rev 46068)
Aaron Schulz [Wed, 28 Jan 2009 06:20:07 +0000 (06:20 +0000)]
(bug 17186) Fixed incorrect stub link classing at user contribs
Aaron Schulz [Wed, 28 Jan 2009 06:08:00 +0000 (06:08 +0000)]
Fix group by for date sorting
Aaron Schulz [Wed, 28 Jan 2009 05:09:39 +0000 (05:09 +0000)]
Kill filesort
Brion Vibber [Wed, 28 Jan 2009 04:28:18 +0000 (04:28 +0000)]
Revert r46417 "Skip dupe warnings when it's a titles are the same and it's a reupload."
Notice: Undefined property: UploadForm::$mIsReUpload in /Library/WebServer/Documents/trunk/includes/specials/SpecialUpload.php on line 771
Brion Vibber [Wed, 28 Jan 2009 04:16:51 +0000 (04:16 +0000)]
Fix regression from r45502 -- extra "search" got displayed on old search UI due to extra old parameter getting passed through to what's now a parameter for extra HTML header info.
Brion Vibber [Wed, 28 Jan 2009 04:12:30 +0000 (04:12 +0000)]
Revert r45651 "Wrap 'searchresulttext' into a div with class"
This causes breakage when the message text starts with line-start-markup such as a table or list.
Chad Horohoe [Wed, 28 Jan 2009 02:40:14 +0000 (02:40 +0000)]
Skip dupe warnings when it's a titles are the same and it's a reupload.
Brion Vibber [Wed, 28 Jan 2009 01:29:25 +0000 (01:29 +0000)]
Release notes lines for:
r46134 - (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses. Building query properly now using makeList()
r46170 - (bug 17151) Add magic word alias for #redirect for Vietnamese
Alex Z [Tue, 27 Jan 2009 23:15:16 +0000 (23:15 +0000)]
RELEASE-NOTES for r46270.
Brion Vibber [Tue, 27 Jan 2009 23:12:42 +0000 (23:12 +0000)]
Revert r46068 " Enable language conversion in "alt" and "title" attributes."
Use of eval is strongly discouraged, on penalty of death. :) Needs to be redone using preg_replace_callback
Brion Vibber [Tue, 27 Jan 2009 23:10:28 +0000 (23:10 +0000)]
revert r46067 also "* Follow up r46059: Add new message"
Aryeh Gregor [Tue, 27 Jan 2009 23:09:07 +0000 (23:09 +0000)]
(bug 17184) Duplicate "z" accesskey in MonoBook
Also (necessarily) changed accesskey-p-logo and tooltip-p-logo so that
they actually work -- previously they were just silently ignored in
favor of duplicating {accesskey,tooltip}-n-mainpage.
Brion Vibber [Tue, 27 Jan 2009 23:08:02 +0000 (23:08 +0000)]
Roll back r46059, r46062 "(bug 1433) Add meta-information to pages with language links." for now.
Localization issues with the description text should be ironed out first... also test use of rel="alternate" on the main links if that works, could save the extra metadata.
Brion Vibber [Tue, 27 Jan 2009 22:54:01 +0000 (22:54 +0000)]
Roll back r46196, 46202 for now "__IGNOREUNUSED__ excludes cats from UnusedCategories (bug 17145)"
The name is very unclear; would prefer to nail that down before rolling it out.
Brion Vibber [Tue, 27 Jan 2009 22:41:08 +0000 (22:41 +0000)]
Revert r45498 "Special:Upload can now have a custom upload message instead of uploadtext by passing "uploadmsg" parameter in the url. ... This should fix the Commons "uselang" hack on for Special:Upload."
As noted on bug, this is insufficient to cover the requirements.
Aaron Schulz [Tue, 27 Jan 2009 21:59:23 +0000 (21:59 +0000)]
* (bug 16604) Show title/rev in IRC for patrol log
Aaron Schulz [Tue, 27 Jan 2009 21:41:42 +0000 (21:41 +0000)]
* (bug 15391) catch DBQueryErrors on external storage insertion. This avoids error
messages on save were the edit in fact is saved.
Aaron Schulz [Tue, 27 Jan 2009 21:19:20 +0000 (21:19 +0000)]
* (bug 16604) Mark non-patrolled edits in feeds with "!"
Raimond Spekking [Tue, 27 Jan 2009 20:53:14 +0000 (20:53 +0000)]
Add Austrian German (de-at) and Swiss Standard German (de-ch) with fallback to 'de'
Brion Vibber [Tue, 27 Jan 2009 20:39:24 +0000 (20:39 +0000)]
Pulling back r46341 and r46342 for now "API: (bug 17142) Add redirects parameter to action=opensearch to control redirect resolution. Changes to OpenSearchXML extension in next commit"
Mysteriously there's no way to get a boolean parameter to default to true, which leads to an incompatibility in the sensible behavior of the more detailed responses in the XML output -- eg you get a whole buttload of "#REDIRECT Blabla" in your results, which is absolutely hideous. This is very much not desireable. :)
If we could change the default, and allow it to be set on or off for specific requests if some person for some reason is doing highly customized suggestion searches and wants it configured differently (no idea why), that might be doable. But as written this doesn't make any sense.
Chad Horohoe [Tue, 27 Jan 2009 20:35:44 +0000 (20:35 +0000)]
$wgLang -> $wgContLang. Thanks siebrand.
Alexandre Emsenhuber [Tue, 27 Jan 2009 20:29:20 +0000 (20:29 +0000)]
Don't use AutoLoader in class_exists() and interface_exists() in AutoLoader::loadAllExtensions() since we'll require() it if it doesn't exist
Aaron Schulz [Tue, 27 Jan 2009 19:58:26 +0000 (19:58 +0000)]
(bug 17180) Disable $wgShowIPinHeader if static caching is enabled
Chad Horohoe [Tue, 27 Jan 2009 19:53:20 +0000 (19:53 +0000)]
(bug 17180) Go ahead and disable $wgShowIPinHeader if we're using $wgUseFileCache.
Siebrand Mazeland [Tue, 27 Jan 2009 19:50:56 +0000 (19:50 +0000)]
Localisation updates for core messages from Betawiki (2009-01-27 19:46 UTC)
Chad Horohoe [Tue, 27 Jan 2009 19:34:21 +0000 (19:34 +0000)]
Remote file descriptions are now fetched using the uselang= parameter with $wgContLang.
Brion Vibber [Tue, 27 Jan 2009 18:33:17 +0000 (18:33 +0000)]
* Parser tests no longer fail when $wgExternalLinkTarget is set in LocalSettings
Siebrand Mazeland [Tue, 27 Jan 2009 15:20:31 +0000 (15:20 +0000)]
Re-revert r46344 because of crossing commits (r46346)
Siebrand Mazeland [Tue, 27 Jan 2009 15:17:45 +0000 (15:17 +0000)]
Revert r46344. PHP Fatal error: Class 'MWTidy' not found in /var/www/w/includes/parser/Parser.php on line 378
Alexandre Emsenhuber [Tue, 27 Jan 2009 15:16:43 +0000 (15:16 +0000)]
STAB STAB STAB
forgot to commit this file
Alexandre Emsenhuber [Tue, 27 Jan 2009 15:09:19 +0000 (15:09 +0000)]
Per Brion's comment on mediawiki.org/wiki/Special:Code/MediaWiki/46145#c1445 :
* Refactored Tidy function in a new class, MWTidy
* Only added Parser::tidy() for b/c, Parser::internalTidy() and Parser::externalTidy() were marked as private and are unused in core and extensions
* Added RELEASE-NOTES entry
Roan Kattouw [Tue, 27 Jan 2009 14:43:06 +0000 (14:43 +0000)]
API: (bug 17142) Add redirects parameter to action=opensearch to control redirect resolution. Changes to OpenSearchXML extension in next commit
Roan Kattouw [Tue, 27 Jan 2009 13:10:16 +0000 (13:10 +0000)]
Revert r46138 (Get $wgLegalTitleChars through API) per comments on CodeReview and Bugzilla (bug 17024)
Tim Starling [Tue, 27 Jan 2009 07:24:46 +0000 (07:24 +0000)]
Fixed a bug where the last batch of orphans would be skipped.
Aaron Schulz [Tue, 27 Jan 2009 03:32:22 +0000 (03:32 +0000)]
More updates
Aaron Schulz [Tue, 27 Jan 2009 03:28:37 +0000 (03:28 +0000)]
Added r46171, r46175
Aaron Schulz [Tue, 27 Jan 2009 03:25:05 +0000 (03:25 +0000)]
* Moved block log item under "fixes"
* Added r46158
Aaron Schulz [Tue, 27 Jan 2009 03:21:26 +0000 (03:21 +0000)]
Add r46119
Aaron Schulz [Tue, 27 Jan 2009 03:13:57 +0000 (03:13 +0000)]
Tweak r46117 to check $wgAllowUserCss, $wgAllowUserJs
Ryan Schmidt [Tue, 27 Jan 2009 01:51:13 +0000 (01:51 +0000)]
* fix method call
Siebrand Mazeland [Mon, 26 Jan 2009 23:32:52 +0000 (23:32 +0000)]
Localisation updates for core messages from Betawiki (2009-01-26 23:29 UTC)
Siebrand Mazeland [Mon, 26 Jan 2009 23:23:47 +0000 (23:23 +0000)]
Follow up to r46153 per mediawiki.org/wiki/Special:Code/MediaWiki/46153#code-comments: Note change in RELEASE-NOTES.
Brion Vibber [Mon, 26 Jan 2009 21:53:19 +0000 (21:53 +0000)]
Revert r45343 "(bug 16659) Prettify permalinks. Just use ?oldid=x" for now.
This hasn't been very popular so far; pulling it back pending further discussion (as on bug)
Niklas Laxström [Mon, 26 Jan 2009 21:00:21 +0000 (21:00 +0000)]
* Escape backslashes before normal escaping, to not counteract the effect
Aaron Schulz [Mon, 26 Jan 2009 19:11:34 +0000 (19:11 +0000)]
Break line
Alex Z [Mon, 26 Jan 2009 18:02:13 +0000 (18:02 +0000)]
add mIsPreview and mIsSectionPreview to parserOptions, set in EditPage. patch by Brad Jorsch on bug 16854 (changes to Cite in next commit)
Siebrand Mazeland [Mon, 26 Jan 2009 16:28:15 +0000 (16:28 +0000)]
Localisation updates for core messages from Betawiki (2009-01-26 16:18 UTC)
Shinjiman [Mon, 26 Jan 2009 14:43:23 +0000 (14:43 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Roan Kattouw [Mon, 26 Jan 2009 13:51:03 +0000 (13:51 +0000)]
* API: (bug 15949) Add undo functionality to action=edit
* Move undo text generation from EditPage::getContent() to Article::getUndoText()
* Add some more examples for action=edit
* ApiEditPage.php: don't mix !is_null() and isset(), be consistent
Siebrand Mazeland [Mon, 26 Jan 2009 13:19:55 +0000 (13:19 +0000)]
Introduce 'deletedcontributions-title' as page title for Special:DeletedContributions to avoid having to share the message with that used on Special:SpecialPages. Copy contents from 'deletedcontributions' where available. At request of Fryed-peach.
Rotem Liss [Mon, 26 Jan 2009 13:15:15 +0000 (13:15 +0000)]
Localization update for he.
Niklas Laxström [Mon, 26 Jan 2009 10:48:41 +0000 (10:48 +0000)]
* Shortcut return if no params given to avoid notices
Siebrand Mazeland [Mon, 26 Jan 2009 09:52:06 +0000 (09:52 +0000)]
Follow up on r46246: register message keys
Niklas Laxström [Mon, 26 Jan 2009 09:48:17 +0000 (09:48 +0000)]
* (bug 13040) {{GENDER:}} magic word for interface messages
Niklas Laxström [Mon, 26 Jan 2009 09:41:52 +0000 (09:41 +0000)]
* (bug 13040) Gender switch in user preferences
Danny B [Sun, 25 Jan 2009 23:41:30 +0000 (23:41 +0000)]
* improvement of r46173 via Aaron Shulz's idea
Siebrand Mazeland [Sun, 25 Jan 2009 23:07:02 +0000 (23:07 +0000)]
Localisation updates for core messages from Betawiki (2009-01-25 23:00 UTC)
Siebrand Mazeland [Sun, 25 Jan 2009 21:02:11 +0000 (21:02 +0000)]
Fix syntax errors
Siebrand Mazeland [Sun, 25 Jan 2009 21:01:12 +0000 (21:01 +0000)]
Fix syntax error
Siebrand Mazeland [Sun, 25 Jan 2009 21:00:35 +0000 (21:00 +0000)]
Fix syntax error
Shinjiman [Sun, 25 Jan 2009 20:44:39 +0000 (20:44 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Aaron Schulz [Sun, 25 Jan 2009 20:30:34 +0000 (20:30 +0000)]
Don't show extra copyright data on re-upload
Alexandre Emsenhuber [Sun, 25 Jan 2009 19:00:11 +0000 (19:00 +0000)]
Make RecentChange::cleanupForIRC() also call Sanitizer::decodeCharReferences() to remove HTML entities left by some messages (such as colon-separator, etc.)
Alexandre Emsenhuber [Sun, 25 Jan 2009 18:45:42 +0000 (18:45 +0000)]
Use wfMsgForContent() when needed so that IRC notifications are always in content language and not user language
Alexandre Emsenhuber [Sun, 25 Jan 2009 16:34:21 +0000 (16:34 +0000)]
* fix usage of 'number_of_watching_users_RCview' message to correspond with the other one in the same file
* use $this->message['hist'] rather than wfMsg( 'hist' )
* Whitespaces tweaks
Purodha B Blissenbach [Sun, 25 Jan 2009 15:42:46 +0000 (15:42 +0000)]
message attribute changed, *CSS* may be intranslateable, thus needing a lang= attribute.
Aryeh Gregor [Sun, 25 Jan 2009 15:23:56 +0000 (15:23 +0000)]
Fix last commit, was broken
Per code review by P. Copp:
<http://www.mediawiki.org/wiki/Special:Code/MediaWiki/46196/reply/1407#c1407>
The conditions on the join would only work if the category had no other
page_props. Otherwise it would return incorrect results.
Rotem Liss [Sun, 25 Jan 2009 14:46:09 +0000 (14:46 +0000)]
Localization update.
Purodha B Blissenbach [Sun, 25 Jan 2009 12:56:10 +0000 (12:56 +0000)]
Message text ambiguity removed (hopefully)