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)
Aryeh Gregor [Sun, 25 Jan 2009 12:43:55 +0000 (12:43 +0000)]
__IGNOREUNUSED__ excludes cats from UnusedCategories
An extra left join and filter condition added to the query. Should
cause no significant performance issues. Patch by Ahmad Sherif (bug
17145).
Siebrand Mazeland [Sun, 25 Jan 2009 11:29:26 +0000 (11:29 +0000)]
Split date and time in 'usercreated'
Rotem Liss [Sun, 25 Jan 2009 09:31:14 +0000 (09:31 +0000)]
Localization update for he + fix message order.
Niklas Laxström [Sun, 25 Jan 2009 09:12:41 +0000 (09:12 +0000)]
* (bug 17150) escapeLike now escapes literal \ properly
Aaron Schulz [Sun, 25 Jan 2009 02:02:21 +0000 (02:02 +0000)]
Revert r46180 and use newFromRow to get page_is_redirect loaded correctly
Aaron Schulz [Sun, 25 Jan 2009 01:43:13 +0000 (01:43 +0000)]
Check $row->page_is_redirect directly
Aaron Schulz [Sun, 25 Jan 2009 01:37:06 +0000 (01:37 +0000)]
Improve article ID process cache hit rate
Aryeh Gregor [Sun, 25 Jan 2009 01:31:48 +0000 (01:31 +0000)]
More helpful error message if PHP_SELF isn't set
Raw page access was failing in some server configurations with CGI (or
in my case, FastCGI). This gives a nicer and more correct error
message. Possibly better solutions:
1) Figure out how to do this without PHP_SELF.
2) Give a warning or error on installation, or even on every page view,
since this will break all raw page viewing.
I ran into this when doing a file copy of my wiki install to another
site, FWIW. Even with the new error message, I'd have had to look at
the CSS files to figure out what the problem was (the user-visible
symptom was that custom styles didn't work).
Aaron Schulz [Sun, 25 Jan 2009 01:22:58 +0000 (01:22 +0000)]
(bug 3301) Optionally sort user list according to account creation time
Aaron Schulz [Sun, 25 Jan 2009 00:33:25 +0000 (00:33 +0000)]
* redirect=no and mw-redirect classes to redirect pages (bug 17106)
* Don't show rollback links on new pages
Danny B [Sun, 25 Jan 2009 00:19:01 +0000 (00:19 +0000)]
* fixing regression from r42769 (component ordering & empty line)
Aaron Schulz [Sat, 24 Jan 2009 22:50:28 +0000 (22:50 +0000)]
(bug 17104) Remove [Mark as patrolled] link for already patrolled revisions
Siebrand Mazeland [Sat, 24 Jan 2009 21:51:19 +0000 (21:51 +0000)]
(bug 17151) Add magic word alias for #redirect
Siebrand Mazeland [Sat, 24 Jan 2009 21:02:14 +0000 (21:02 +0000)]
Localisation updates for core messages from Betawiki (2009-01-24 20:48 UTC)
Aaron Schulz [Sat, 24 Jan 2009 18:37:52 +0000 (18:37 +0000)]
Avoid slave lag on $title->getLatestRevID()
Aaron Schulz [Sat, 24 Jan 2009 18:35:13 +0000 (18:35 +0000)]
Hurry up and commit db op before doing mailing op to the users to notify
Siebrand Mazeland [Sat, 24 Jan 2009 17:57:28 +0000 (17:57 +0000)]
Fix typo in 'restriction-level-sysop'
Siebrand Mazeland [Sat, 24 Jan 2009 17:56:34 +0000 (17:56 +0000)]
Recommit r45154 after revert in r45249 and discussion lists.wikimedia.org/pipermail/wikitech-l/2008-December/thread.html#40797
* sysop/admin -> administrator for consistency
Aaron Schulz [Sat, 24 Jan 2009 17:49:29 +0000 (17:49 +0000)]
Only show css/js links for selected skin
Alexandre Emsenhuber [Sat, 24 Jan 2009 17:42:12 +0000 (17:42 +0000)]
* Removed false comment, we are in a Category page, not an Image page
* Use wfMsgExt( 'msg', array( 'escape' ), ... ) rather than htmlspecialchars( wfMsg( ... ) )
* Whitespaces tweaks
Shinjiman [Sat, 24 Jan 2009 16:26:38 +0000 (16:26 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Niklas Laxström [Sat, 24 Jan 2009 16:26:11 +0000 (16:26 +0000)]
* Encoding
Alexandre Emsenhuber [Sat, 24 Jan 2009 16:26:05 +0000 (16:26 +0000)]
Tweaks for the "Whole HTML Validation" feature:
* Allow to use external tidy
* Accept application/xhtml+xml mime type
* Fix XHTML errors on errors reports :)
Rotem Liss [Sat, 24 Jan 2009 15:16:14 +0000 (15:16 +0000)]
Localization update for he.
Roan Kattouw [Sat, 24 Jan 2009 13:16:24 +0000 (13:16 +0000)]
API: (bug 17024) Added legaltitlechars field to meta=siteinfo&siprop=general output, which contains the value of $wgLegalTitleChars
Roan Kattouw [Sat, 24 Jan 2009 13:10:30 +0000 (13:10 +0000)]
Explain why this code doesn't use LinkBatch.
Roan Kattouw [Sat, 24 Jan 2009 13:00:43 +0000 (13:00 +0000)]
API: (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses. Building query properly now using makeList()
Siebrand Mazeland [Sat, 24 Jan 2009 10:59:46 +0000 (10:59 +0000)]
Update RELEASE-NOTES for r46125