Siebrand Mazeland [Tue, 23 Dec 2008 22:12:25 +0000 (22:12 +0000)]
Localisation updates for extension messages from Betawiki (2008-12-23 23:09 CET)
Brion Vibber [Tue, 23 Dec 2008 22:04:25 +0000 (22:04 +0000)]
Revert r44978 -- breaks back-compat
Brion Vibber [Tue, 23 Dec 2008 21:57:31 +0000 (21:57 +0000)]
Pull back r44972 for now "(Bug 16677) Media: view URLs should HTTP-redirect to canonical File: namespace"
r44972 isn't quite behaving transparently; non-view URLs are also being redirected to the raw view page, so for instance an ?action=edit or diff or whatever gets lost.
See for example:
http://en.wikipedia.org/wiki/Image:Wiki.png?action=edit
http://en.wikipedia.org/wiki/Media:Wiki.png?action=edit
these both currently behave just like:
http://en.wikipedia.org/wiki/File:Wiki.png?action=edit
while with this patch the Media: one would unexpectedly redirect to the view URL.
The redirection should probably just be done where other existing normalization is... perhaps all that's actually needed is just to replace a Media: Title with the equivalent File: one when initializing the title in the first place, and the existing normalization-redirection will take care of it.
Brion Vibber [Tue, 23 Dec 2008 21:50:42 +0000 (21:50 +0000)]
Revert r44970 "Add FileCache exit back from r44801"
Forcing an exit from the middle of an initialization function seems like pretty poor practice.
Aaron Schulz [Tue, 23 Dec 2008 21:42:42 +0000 (21:42 +0000)]
At least disable old xml function loading per r44839. An easy ~9-10ms.
Aaron Schulz [Tue, 23 Dec 2008 21:30:40 +0000 (21:30 +0000)]
(bug 16707) Add "rel='next'" link to login page to return to last page
Brion Vibber [Tue, 23 Dec 2008 21:30:19 +0000 (21:30 +0000)]
Revert r44918 "Remove unused functions"
We keep these things for backwards compatibility, as they may be in use by extensions even if not in core code.
Brion Vibber [Tue, 23 Dec 2008 21:19:31 +0000 (21:19 +0000)]
Revert r44893 "Tweaks from profiling"
It's unclear what, if anything, has any serious performance effect here.
Seems to be trivial code formatting changes, some of which are nice (breaking long lines), others which aren't (creating long lines from nicely broken ones).
Aaron Schulz [Tue, 23 Dec 2008 21:12:43 +0000 (21:12 +0000)]
(Bug 16678) localurl/fullurl for Media: titles should return the File: title's path
Brion Vibber [Tue, 23 Dec 2008 21:10:42 +0000 (21:10 +0000)]
Follow-up to r44881 -- add note to RELEASE-NOTES about removed/replaced hook
Aaron Schulz [Tue, 23 Dec 2008 21:05:33 +0000 (21:05 +0000)]
(Bug 16677) Media: view URLs should HTTP-redirect to canonical File: namespace
Aaron Schulz [Tue, 23 Dec 2008 20:56:20 +0000 (20:56 +0000)]
Add FileCache exit back from r44801
Brion Vibber [Tue, 23 Dec 2008 20:56:19 +0000 (20:56 +0000)]
Revert r44867 "Improve markpatrolled hook"
Incompatible change to existing hook (changing types of parameters passed)
Brion Vibber [Tue, 23 Dec 2008 19:56:44 +0000 (19:56 +0000)]
Revert r44817 "Delay $wgContLang unstubbing"
Maintainability alert -- creates duplicate code which could become out of sync!
Brion Vibber [Tue, 23 Dec 2008 19:45:57 +0000 (19:45 +0000)]
Revert r44804 "Store negative [interwiki] results in cache"
Caching negative results for a long period would be extremely annoying when adding a new prefix and discovering it doesn't work. Negative cache needs to either be much, much shorter or have a clear easy way to purge it.
Brion Vibber [Tue, 23 Dec 2008 19:39:00 +0000 (19:39 +0000)]
Revert r44801 "Tweaks from profiling"
Mostly seems to be formatting tweaks, loss of useful debug log output, and mysterious unexplained changes.
If some of these tweaks actually are based on profiling data, please provide details, such as "rearranging this call reduces service time from 80ms to 50ms for client cache hits on my machine" or whatever.
Rotem Liss [Tue, 23 Dec 2008 19:38:26 +0000 (19:38 +0000)]
Localization update.
Brion Vibber [Tue, 23 Dec 2008 19:31:08 +0000 (19:31 +0000)]
Revert r44798 "short-circuit update call"
Article::viewUpdates() may do things other than update counters (for instance, it updates the user-talk and watchlist for last-viewed status, and might do other things in the future). Let it centralize its own checks for what things are enabled. Since you won't necessarily know them all over in Wiki.png, they may get out of sync and lead to bugs if you try to replicate the check.
Brion Vibber [Tue, 23 Dec 2008 18:08:43 +0000 (18:08 +0000)]
Revert r44702, r44703, r44704 (wfInvoke and UserMailer refactor based on it) and r44715, r44721 (cleanup thereof)
As Tim notes, the weird callback setup in $wgHooks isn't really something we want to replicate or ever rely on ever again, as PHP's native callback syntax already handles things fine and is more consistent (and used extensively in the rest of MediaWiki).
May be other remaining issues with the refactor on top of bugs already discovered, but if it's going to be refactored to use callbacks it should be done using regular callbacks.
Brion Vibber [Tue, 23 Dec 2008 17:58:22 +0000 (17:58 +0000)]
Cleanup for r44700 -- work on a clone of $wgTitle instead of modifying the fragment on the global object, which interferes with some other generated links outside the pager.
Brion Vibber [Tue, 23 Dec 2008 17:35:05 +0000 (17:35 +0000)]
Show icon instead of exploding for a remote API file we don't have a local handler class for...
Alexandre Emsenhuber [Tue, 23 Dec 2008 17:14:33 +0000 (17:14 +0000)]
* Like r44911 but for MediaWiki:Difference message: switching from raw HTML to wiki text
* Whitespaces tweaks
Siebrand Mazeland [Tue, 23 Dec 2008 15:56:24 +0000 (15:56 +0000)]
Localisation updates for core messages from Betawiki (2008-12-23 16:47 CET)
Ilmari Karonen [Tue, 23 Dec 2008 14:24:38 +0000 (14:24 +0000)]
(bug 16769) reset $wgNamespaceProtection to default value before running parser tests
Siebrand Mazeland [Tue, 23 Dec 2008 12:49:05 +0000 (12:49 +0000)]
(bug 16469) Override Eastern Arabic numberals, use Western Arabic numerals
Raimond Spekking [Tue, 23 Dec 2008 11:59:37 +0000 (11:59 +0000)]
* (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
Patch by Olaf Lenz
Ilmari Karonen [Tue, 23 Dec 2008 11:26:43 +0000 (11:26 +0000)]
Fix tests after r44896: s/<a name="([^"]+)"><\/a>/<a name="$1" id="$1"><\/a>/g
Rotem Liss [Tue, 23 Dec 2008 08:39:54 +0000 (08:39 +0000)]
Localization update.
Alex Z [Tue, 23 Dec 2008 04:25:31 +0000 (04:25 +0000)]
(bug 16738) Rename IPBlockList to BlockList
Brion Vibber [Mon, 22 Dec 2008 23:38:58 +0000 (23:38 +0000)]
* (bug 2585) HTTP 404 return code is now given for a page view if the page
does not exist, allowing spiders and link checkers to detect broken links.
This is less expansive than the old 2005 implementation (r11307), hitting
only page views (won't affect action=edit) and doesn't attempt to cover
error conditions either (many of which should probably return a different code).
Pages which exist in the DB or return true for Title::isAlwaysKnown() such
as file pages for existing files, as well as category pages that exist, are
treated as existing by returning true for Article::hasViewableContent().
Aaron Schulz [Mon, 22 Dec 2008 22:56:46 +0000 (22:56 +0000)]
Remove unused functions
Raimond Spekking [Mon, 22 Dec 2008 22:25:51 +0000 (22:25 +0000)]
Colons added to time zone messages for consistency
Raimond Spekking [Mon, 22 Dec 2008 22:10:42 +0000 (22:10 +0000)]
Follow up r44915: Add new messages to messages.inc
Brion Vibber [Mon, 22 Dec 2008 21:55:09 +0000 (21:55 +0000)]
* (bug 505) Time zones can now be specified by location in user preferences,
avoiding the need to manually update for DST. Patch by Brad Jorsch.
Raimond Spekking [Mon, 22 Dec 2008 19:58:35 +0000 (19:58 +0000)]
Add lines accidently removed with r44912 :/
Raimond Spekking [Mon, 22 Dec 2008 19:52:49 +0000 (19:52 +0000)]
* (bug 16760) Add CSS-class to action links of Special:Log
Alexandre Emsenhuber [Mon, 22 Dec 2008 18:30:13 +0000 (18:30 +0000)]
Switching some message from raw HTML to wiki (part of this commit fixes bug 16026).
Messages changed:
* MediaWiki:Revision-info
* MediaWiki:Revision-info-current
* MediaWiki:Cannotdelete
* MediaWiki:Redirectedfrom
* MediaWiki:Historywarning
Also escaped other messages that weren't escaped.
This can be a breaking change for some sites (such as English Wikipedia) that use HTML syntax to make links
Anders Wegge Jakobsen [Mon, 22 Dec 2008 12:51:09 +0000 (12:51 +0000)]
Fixing some typos
Tim Starling [Mon, 22 Dec 2008 12:31:15 +0000 (12:31 +0000)]
Make the SQL search subclasses less nerve-wracking to read, by using makeList() instead of implode(), addQuotes() instead of strencode(), and by documenting the fact that parseQuery() is intentionally returning an SQL fragment to be included into a query without further escaping. No actual vulnerabilities fixed, due to effective UI-side validation, so this is just to minimise reviewer anxiety.
Raimond Spekking [Mon, 22 Dec 2008 12:07:12 +0000 (12:07 +0000)]
Fix PHP Notice: Undefined variable: toolLinks in /var/www/w/includes/specials/SpecialIpblocklist.php on line 451
Thanks to Siebrand
Ilmari Karonen [Mon, 22 Dec 2008 11:45:54 +0000 (11:45 +0000)]
Add "id" attribute to section anchors, per discussion on wikitech-l.
Siebrand Mazeland [Mon, 22 Dec 2008 10:29:53 +0000 (10:29 +0000)]
Localisation updates from Betawiki
Aaron Schulz [Mon, 22 Dec 2008 09:07:53 +0000 (09:07 +0000)]
Tweaks from profiling
Aaron Schulz [Mon, 22 Dec 2008 07:35:56 +0000 (07:35 +0000)]
Avoid extra page_touched query
Roan Kattouw [Sun, 21 Dec 2008 22:35:52 +0000 (22:35 +0000)]
(bug 16748) Null revisions are stored in the DB with rev_len=NULL. Patch by Paul Copperman
Aaron Schulz [Sun, 21 Dec 2008 21:31:06 +0000 (21:31 +0000)]
*Replace crappy BeforeWatchlist hook
*Updated LQT accordingly
*Will add flaggedrevs function to this shortly
Aryeh Gregor [Sun, 21 Dec 2008 20:22:50 +0000 (20:22 +0000)]
Break long line for diff comprehensibility
Should cause no functional change.
Alexandre Emsenhuber [Sun, 21 Dec 2008 18:35:27 +0000 (18:35 +0000)]
html -> wikitext in table headers
Siebrand Mazeland [Sun, 21 Dec 2008 13:23:29 +0000 (13:23 +0000)]
Localisation updates for core messages from Betawiki (2008-12-21 14:18 CET)
Aaron Schulz [Sun, 21 Dec 2008 09:33:04 +0000 (09:33 +0000)]
Add isNewPage() method
Aaron Schulz [Sun, 21 Dec 2008 08:49:45 +0000 (08:49 +0000)]
Improve markpatrolled hook
Roan Kattouw [Sun, 21 Dec 2008 00:21:01 +0000 (00:21 +0000)]
API: Fix weird ==/=== bug in API help: a possible value of zero is interpreted as "can be empty".
Roan Kattouw [Sat, 20 Dec 2008 23:54:04 +0000 (23:54 +0000)]
API: (bug 16730) Added apprfiltercascade parameter to list=allpages to filter cascade-protected pages
Roan Kattouw [Sat, 20 Dec 2008 23:49:16 +0000 (23:49 +0000)]
Fix up r44860, use $wgContLang instead.
Roan Kattouw [Sat, 20 Dec 2008 23:20:15 +0000 (23:20 +0000)]
API: (bug 16726) siprop=namespacealiases should also list localized aliases
Alexandre Emsenhuber [Sat, 20 Dec 2008 20:59:06 +0000 (20:59 +0000)]
Use $wgInterwikiExpiry to set the expiry time of interwiki cache
Roan Kattouw [Sat, 20 Dec 2008 20:00:07 +0000 (20:00 +0000)]
API: Fixing issue mentioned on bug 16129 comment #3: for certain inputs, action=parse dies with an internal error whining about $wgTitle not being set in OutputPage::parse(). This commit works around this by setting $wgTitle, but the parser and its friends should really leave $wgTitle alone, because people might want to parse non-$wgTitle titles, which the Parser::parse() docs suggest is possible (and it should be), but apparently isn't.
Siebrand Mazeland [Sat, 20 Dec 2008 18:56:43 +0000 (18:56 +0000)]
Localisation updates for core messages from Betawiki
Aaron Schulz [Sat, 20 Dec 2008 18:40:52 +0000 (18:40 +0000)]
Typo
Siebrand Mazeland [Sat, 20 Dec 2008 18:24:14 +0000 (18:24 +0000)]
Localisation updates. Import from tl.wikipedia.org.
Aaron Schulz [Sat, 20 Dec 2008 08:36:14 +0000 (08:36 +0000)]
Minor code cleanup
Aaron Schulz [Sat, 20 Dec 2008 08:25:39 +0000 (08:25 +0000)]
* Tweaks from profiling
* Remove extract() call
* Break some lines
Tim Starling [Sat, 20 Dec 2008 08:13:21 +0000 (08:13 +0000)]
Fixes as per bug 15895 comment 7.
Aaron Schulz [Sat, 20 Dec 2008 07:46:45 +0000 (07:46 +0000)]
Removed redundant mExtra init
Aaron Schulz [Sat, 20 Dec 2008 02:19:33 +0000 (02:19 +0000)]
(bug 16689) wfDebugLog writes an error in Apache error.log
Brion Vibber [Sat, 20 Dec 2008 02:16:39 +0000 (02:16 +0000)]
* (bug 16612) Fixed "noprint" class for Modern skin print style
Jack Phoenix [Sat, 20 Dec 2008 02:02:55 +0000 (02:02 +0000)]
adding Nathaniel Herman into CREDITS (r44084, r44213)
Aaron Schulz [Sat, 20 Dec 2008 01:19:54 +0000 (01:19 +0000)]
Don't call getCheckboxes() statically anymore
Aaron Schulz [Sat, 20 Dec 2008 01:15:40 +0000 (01:15 +0000)]
Add EditPageBeforeEditChecks hook for bug 16713
Brion Vibber [Sat, 20 Dec 2008 00:28:34 +0000 (00:28 +0000)]
* (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages for clarity over "previous/next"
Aaron Schulz [Sat, 20 Dec 2008 00:01:34 +0000 (00:01 +0000)]
Delay $wgContLang unstubbing
Ryan Schmidt [Fri, 19 Dec 2008 23:18:44 +0000 (23:18 +0000)]
* adding two hooks UserCryptPassword and UserComparePasswords to allow extensions to change how passwords are hashed in the database
Aaron Schulz [Fri, 19 Dec 2008 22:32:36 +0000 (22:32 +0000)]
Code style tweaks
Ryan Schmidt [Fri, 19 Dec 2008 22:29:13 +0000 (22:29 +0000)]
* Fix fatal error due to missing method when User::isValidPassword returns false
Siebrand Mazeland [Fri, 19 Dec 2008 21:50:52 +0000 (21:50 +0000)]
Localisation updates for core messages from Betawiki (2008-12-19 22:45 CET)
Rotem Liss [Fri, 19 Dec 2008 18:34:04 +0000 (18:34 +0000)]
Localization update for he, and fixes for links in en.
Rotem Liss [Fri, 19 Dec 2008 16:38:04 +0000 (16:38 +0000)]
Localization update for he.
Aaron Schulz [Fri, 19 Dec 2008 14:51:42 +0000 (14:51 +0000)]
Store negative results in cache
Aaron Schulz [Fri, 19 Dec 2008 09:21:20 +0000 (09:21 +0000)]
Tweaks from profiling
Niklas Laxström [Fri, 19 Dec 2008 08:54:51 +0000 (08:54 +0000)]
* Springle some parsemag to the sidebar and tagline per bug 16669
Tim Starling [Fri, 19 Dec 2008 08:43:26 +0000 (08:43 +0000)]
Stats on the blob_orphans table, to make sure we're not losing anything by dropping the tracked orphans.
Aaron Schulz [Fri, 19 Dec 2008 08:16:05 +0000 (08:16 +0000)]
short-circuit update call
Aaron Schulz [Fri, 19 Dec 2008 07:37:07 +0000 (07:37 +0000)]
Remove LogPage require
Brion Vibber [Fri, 19 Dec 2008 02:03:36 +0000 (02:03 +0000)]
* (bug 11733) Fixed parameter validation in importTextFile.php
Brion Vibber [Fri, 19 Dec 2008 01:50:07 +0000 (01:50 +0000)]
* (bug 15027) Internet domain names and IP addresses can now be indexed and searched sensibly with the default MySQL search backend.
Previously things like "192.168.1.1" couldn't be searched very cleanly in the MySQL backend for two reasons:
* First, the periods were stripped out. This resulted in it being broken into multiple short words: "192 168 1 1", leading at best to false positives and general weirdness.
* Second, for IP addresses these were shorter than the default minimum word length of 4 and thus didn't even get indexed!
The addition of padding for short words let them at least get indexed, but they still didn't turn up cleanly due to the word split. Now allowing periods through to the indexed text, and encoding periods that appear within a compound word so they get caught more cleanly.
Also made a tweak so highlighting works a bit better on word boundaries -- eg "192.168.1.1" no longer hits a highlight match for "192.168.1.100". However it's still not 100% handling some cases with the periods. Sigh.
Aryeh Gregor [Thu, 18 Dec 2008 23:24:00 +0000 (23:24 +0000)]
Enable \cancel and \cancelto in texvc
This works on Hardy, but may break all math support in the event that
some platform doesn't have support for \cancel. I don't know much
OCaml or LaTeX, so I'm not sure how to make it import the package only
if it exists or something similarly useful.
If this gets reverted, though, at least I'll have committed it and
won't have to keep the diff in git stash forever. :)
Clearly this requires a texvc recompile in any event.
Aaron Schulz [Thu, 18 Dec 2008 23:09:49 +0000 (23:09 +0000)]
Streamline links a bit
Raimond Spekking [Thu, 18 Dec 2008 21:48:06 +0000 (21:48 +0000)]
Bump $wgStyleVersion per r44774/r44782
Aaron Schulz [Thu, 18 Dec 2008 21:30:40 +0000 (21:30 +0000)]
Fix for r44775: remove debug line
Roan Kattouw [Thu, 18 Dec 2008 21:23:02 +0000 (21:23 +0000)]
Break long line in RELEASE-NOTES
Aaron Schulz [Thu, 18 Dec 2008 21:15:20 +0000 (21:15 +0000)]
Make quickbar fill in extra bottom bit
Aaron Schulz [Thu, 18 Dec 2008 20:50:28 +0000 (20:50 +0000)]
Remove some less-useful redundant links from sidebar
Siebrand Mazeland [Thu, 18 Dec 2008 20:38:33 +0000 (20:38 +0000)]
Localisation updates for core messages from Betawiki (2008-12-18 21:28 CET)
Aaron Schulz [Thu, 18 Dec 2008 20:36:02 +0000 (20:36 +0000)]
Fix odd syntax that made XHTML error
Alexandre Emsenhuber [Thu, 18 Dec 2008 19:45:58 +0000 (19:45 +0000)]
Moving check for "$rc_type == RC_LOG" before check for special pages since log entries can now have a tagert in NS_SPECIAL, this happens for log item deletion (rev_deleted stuff) and thus breaking recent changes display, (see the current version of test.wikipedia.org/wiki/Special:RecentChanges, where the deletion log appears as "block log" since the last entry is hiding an item from the block log)
Aryeh Gregor [Thu, 18 Dec 2008 18:16:09 +0000 (18:16 +0000)]
(bug 16459) Use native getElementsByClassName
Patch by Derk-Jan Hartman. Seems not to break table sorting in Firefox
3, and he's tested it in other browsers, including IE6. (Of course it
falls back to ordinary JS if the native version is unavailable.)
Robert Stojnić [Thu, 18 Dec 2008 18:01:06 +0000 (18:01 +0000)]
New search UI tweaks:
* Show namespace checkboxes only for advanced search. Showing these for "Project Pages" searches
does provide information for advanced users, but clutters UI for everyone else. User should be able to
refer to help pages to find out which namespace are in "Project Pages" and these are also in tooltip
* put "did you mean.." inside the fieldset for increased visibility
* missing 'advanced' req param was making advanced form behave strangely, fixed
* remove "browse pages with this prefix", clutters, sometimes shows up, sometimes not. User cannot tell why
if not familiar with namespaces and logic behind the it (e.g. it shows only when one namespace is selected)
* correct placement of external search box when search is disabled
* make search messages consistent for new and existing pages
Roan Kattouw [Thu, 18 Dec 2008 15:00:07 +0000 (15:00 +0000)]
API: Fix up r44676: convert underscores to spaces in canonical names.
Siebrand Mazeland [Thu, 18 Dec 2008 12:27:39 +0000 (12:27 +0000)]
(bug 16698) Fixed typo in NS_FILE_TALK
Siebrand Mazeland [Thu, 18 Dec 2008 11:59:48 +0000 (11:59 +0000)]
(bug 15670)-ish: Update fallback from Hindi to Bengali. Assamese and Bengali share the same script, and the languages are spoken in the same region, albeit mainly in different countries (India and Bangladesh respectively).