Mr. E23 [Sat, 13 Dec 2003 21:32:32 +0000 (21:32 +0000)]
Article.php:
* Made updating of page view stats faster my buffering them in a
HEAP table until many pages can be updated at once.
tables.sql:
* hitcounter table
patch-hitcounter.sql:
* hitcounter table
update.php:
* Creating hitcounter table when necessary
Mr. E23 [Sat, 13 Dec 2003 20:26:47 +0000 (20:26 +0000)]
Removed unused function wfUnbufferedQuery().
Added wfBufferSQLResults() to turn buffering on and off.
Added wfIgnoreSQLErrors() to turn automatic error page generation on and off.
Evan Prodromou [Fri, 12 Dec 2003 22:05:50 +0000 (22:05 +0000)]
Added default text for when uploading is disabled. Since this is the
default for new installations, it's important to have this text handy.
In addition, hid the "Upload file" link if uploads are disabled.
Tim Starling [Fri, 12 Dec 2003 00:25:29 +0000 (00:25 +0000)]
IP substitution in blockedtext
Tim Starling [Fri, 12 Dec 2003 00:14:53 +0000 (00:14 +0000)]
bug fix in range block code, spelling error
Mr. E23 [Thu, 11 Dec 2003 22:14:03 +0000 (22:14 +0000)]
removed tracing printout
Mr. E23 [Thu, 11 Dec 2003 20:16:34 +0000 (20:16 +0000)]
The purpose of this modification is to ensure that every normal request
execution starts and ends in wiki.phtml, giving the code a somewhat
more predictable flow.
OutputPage.php:
* Added disable() method to Output class.
* Replaced exit() call in checkLastModified() with "return true" (thereby
altering its contract quite severly).
* reportTime() now only returns elapsed time, code with side effects
moved to logProfilingData() in GlobalFunctions.php.
GlobalFunctions.php:
* Added function logProfilingData() which does most of what
OutputPage->reportTime() used to do.
Article.php:
* Replaced exit() in checkLastModified() with "return true" (thereby altering
its contract quite severly).
* replaced implicit exit in calls to checkLastModified() and tryFileCache()
with returns.
LogPage.php:
* replaced implicit exit() with return in call to checkLastModified()
SpecialRecentchanges.php:
* replaced implicit exit() with return in call to checkLastModified()
wiki.phtml:
* Single call to logProfilingData() at the end of the request.
Brion Vibber [Thu, 11 Dec 2003 18:39:03 +0000 (18:39 +0000)]
Put the illegal char check down below again, to fix breakage to # links
Brion Vibber [Thu, 11 Dec 2003 12:43:13 +0000 (12:43 +0000)]
Fix for #837969. Strict rejection of invalid characters in titles is good practice, and should keep away these problems with broken inaccessible pages created by page moves
Brion Vibber [Thu, 11 Dec 2003 09:50:25 +0000 (09:50 +0000)]
Fix options
Brion Vibber [Thu, 11 Dec 2003 08:48:33 +0000 (08:48 +0000)]
Fix namespaces
Brion Vibber [Thu, 11 Dec 2003 08:03:54 +0000 (08:03 +0000)]
UTF-8
Brion Vibber [Thu, 11 Dec 2003 05:52:15 +0000 (05:52 +0000)]
(fix regression) Don't select the edit box on preview; this interferes with seeing what's going on.
Mr. E23 [Wed, 10 Dec 2003 15:05:08 +0000 (15:05 +0000)]
Replaced calls to exit() with wfAbruptExit().
Mr. E23 [Wed, 10 Dec 2003 14:58:17 +0000 (14:58 +0000)]
Added wfAbruptExit() function, to replace exit() calls with.
Brion Vibber [Wed, 10 Dec 2003 11:39:33 +0000 (11:39 +0000)]
Adjust whitespace
Brion Vibber [Wed, 10 Dec 2003 10:30:14 +0000 (10:30 +0000)]
Only emit the javascript to set editbox focus when we're really editing
Brion Vibber [Wed, 10 Dec 2003 01:16:43 +0000 (01:16 +0000)]
Fix parsing of multi-word expressions; by default behave more like google, with required match on all terms
Evan Prodromou [Tue, 9 Dec 2003 18:20:32 +0000 (18:20 +0000)]
Made two new global variables for checking file extensions. The list of
extensions is now configurable, and you can turn on and off file extension
checking. There isn't yet a "hard" check, though.
Brion Vibber [Tue, 9 Dec 2003 11:39:55 +0000 (11:39 +0000)]
Quote search text for regexp to avoid some errors with +foo etc
Erik Moeller [Mon, 8 Dec 2003 10:35:10 +0000 (10:35 +0000)]
proper CSS class for sitesupport link
Brion Vibber [Mon, 8 Dec 2003 09:25:13 +0000 (09:25 +0000)]
Remove mention of obsolete test suite
Brion Vibber [Mon, 8 Dec 2003 09:24:04 +0000 (09:24 +0000)]
blah blah
Brion Vibber [Mon, 8 Dec 2003 09:22:54 +0000 (09:22 +0000)]
Remove old mozilla hack
Brion Vibber [Mon, 8 Dec 2003 09:19:53 +0000 (09:19 +0000)]
Don't complain about empty log file... I thought this had already been fixed
Brion Vibber [Mon, 8 Dec 2003 09:19:11 +0000 (09:19 +0000)]
Don't complain about empty log file... I thought this had already been fixed
Brion Vibber [Mon, 8 Dec 2003 09:13:24 +0000 (09:13 +0000)]
Grab MediaWiki logo from stable
Brion Vibber [Mon, 8 Dec 2003 08:57:50 +0000 (08:57 +0000)]
more 1.1.0
Brion Vibber [Mon, 8 Dec 2003 08:40:48 +0000 (08:40 +0000)]
Update for 1.1.0
Brion Vibber [Mon, 8 Dec 2003 07:10:21 +0000 (07:10 +0000)]
Import release notes from stable
Brion Vibber [Mon, 8 Dec 2003 04:28:10 +0000 (04:28 +0000)]
#855829; El's patch to reduce breakage of <nowiki>,<math>,<pre> tags where the placeholders are duplicated in other parsing steps
Brion Vibber [Sun, 7 Dec 2003 01:59:32 +0000 (01:59 +0000)]
Fix namespace bug resulting in serious data corruption; dump an obsolete global, fix display of complaint message
Tim Starling [Sat, 6 Dec 2003 05:50:24 +0000 (05:50 +0000)]
case insensitive MSG, MSGNW and SUBST
Brion Vibber [Sat, 6 Dec 2003 04:27:16 +0000 (04:27 +0000)]
Complain if use asks for page that's not archived
Brion Vibber [Sat, 6 Dec 2003 02:53:12 +0000 (02:53 +0000)]
Add missing getMagicWords()
Tim Starling [Sat, 6 Dec 2003 02:09:48 +0000 (02:09 +0000)]
MediaWiki: namespace memcached synchronisation
Bogdan Stancescu [Sat, 6 Dec 2003 01:41:48 +0000 (01:41 +0000)]
Duh! wgMagicWordsEn => wgMagicWordsRo, as it should have been (I guess?)
Brion Vibber [Fri, 5 Dec 2003 22:04:27 +0000 (22:04 +0000)]
Fix old minor edits typo
Brion Vibber [Fri, 5 Dec 2003 10:55:50 +0000 (10:55 +0000)]
Disallow rollback during read-only mode
Tim Starling [Fri, 5 Dec 2003 06:09:30 +0000 (06:09 +0000)]
removed test
Brion Vibber [Fri, 5 Dec 2003 05:07:40 +0000 (05:07 +0000)]
Script to rebuild the article count
Brion Vibber [Fri, 5 Dec 2003 04:46:43 +0000 (04:46 +0000)]
3-day default cutoff for shortlisters. FIXME: make this configurable?
Brion Vibber [Fri, 5 Dec 2003 04:35:23 +0000 (04:35 +0000)]
Update timestamp of redirect when renaming over a redirect; add some comments
Christian List [Fri, 5 Dec 2003 03:45:34 +0000 (03:45 +0000)]
Completed norwegian translation
Evan Prodromou [Thu, 4 Dec 2003 17:23:26 +0000 (17:23 +0000)]
User contributions and email this user links now enabled on talk page
in Cologne Blue skin (RFE#608796).
Tim Starling [Thu, 4 Dec 2003 10:56:20 +0000 (10:56 +0000)]
Bug fixes
Brion Vibber [Wed, 3 Dec 2003 23:08:44 +0000 (23:08 +0000)]
Forgotten fix: don't allow special read/write access for 'developer'
Brion Vibber [Wed, 3 Dec 2003 15:18:38 +0000 (15:18 +0000)]
Raise watchlist cutoff to 12 hours for 1000+ items
Tim Starling [Wed, 3 Dec 2003 13:08:11 +0000 (13:08 +0000)]
Memcached client bug fix (submitted to memcached mailing list)
Brion Vibber [Wed, 3 Dec 2003 12:47:00 +0000 (12:47 +0000)]
Actually send the delete query
Brion Vibber [Wed, 3 Dec 2003 12:02:53 +0000 (12:02 +0000)]
Quick hack to clear out brokenlinks to existing pages (doesn't yet add them to links)
Tim Starling [Wed, 3 Dec 2003 09:43:24 +0000 (09:43 +0000)]
namespace 8 bug fix
Brion Vibber [Wed, 3 Dec 2003 00:42:31 +0000 (00:42 +0000)]
Armor against bad titles
Brion Vibber [Tue, 2 Dec 2003 22:38:16 +0000 (22:38 +0000)]
Fix regression: view source when editing protected page thta can't edit
Brion Vibber [Tue, 2 Dec 2003 14:23:45 +0000 (14:23 +0000)]
Remove spurious space from usr ns
Brion Vibber [Tue, 2 Dec 2003 14:21:17 +0000 (14:21 +0000)]
Remove spurious space from usr ns
Bogdan Stancescu [Tue, 2 Dec 2003 12:00:26 +0000 (12:00 +0000)]
Minor tweak for UI's sake
Brion Vibber [Mon, 1 Dec 2003 23:51:41 +0000 (23:51 +0000)]
Fix subpage backlinks; add more debug statements in make*Link()
Brion Vibber [Mon, 1 Dec 2003 21:29:59 +0000 (21:29 +0000)]
Add xml header (redundant but nice) and correct xml:lang tag
Evan Prodromou [Mon, 1 Dec 2003 16:04:35 +0000 (16:04 +0000)]
I was adding a special page (dead-end pages), and I realized that almost all
the special query pages were pretty much identical. I copy-and-pasted one to
make the one I was working on, and I realized that that was Wrong.
So, I took the common elements and made them into a class, QueryPage.php.
Then, I derived each of the existing special pages from QueryPage, and
overrode places where they differed. This is a Recipe pattern, btw, for
those of you following along at home.
Anyways, the upshot is that the query pages are a lot shorter, with just the
essentials that make them different from other query pages, and there's one
place to make big UI changes for all queries.
Evan Prodromou [Mon, 1 Dec 2003 02:24:26 +0000 (02:24 +0000)]
Added a "Dead-end pages" query page, per RFE#577764.
Mr. E23 [Mon, 1 Dec 2003 00:28:25 +0000 (00:28 +0000)]
Workaround to avoid regexp segfault in wfGeneralizeSQL()
Mr. E23 [Mon, 1 Dec 2003 00:09:05 +0000 (00:09 +0000)]
Added missing global for $wgProfileToDatabase.
Evan Prodromou [Sun, 30 Nov 2003 23:16:21 +0000 (23:16 +0000)]
Sort "what links here" results alphabetically (RFE#612675).
Luc Van Oostenryck [Sun, 30 Nov 2003 22:54:36 +0000 (22:54 +0000)]
more booksources
Evan Prodromou [Sun, 30 Nov 2003 21:27:05 +0000 (21:27 +0000)]
Removed unused "areyounew" language prompt from all languages and from
the login page (it was fetched but never used).
This fixes Bug#800712.
Evan Prodromou [Sun, 30 Nov 2003 21:05:25 +0000 (21:05 +0000)]
Removed the "alternate" stylesheets. I don't think they're useful as
part of the whole MediaWiki package, and to be honest I don't really
like having my name attached to them.
Tim Starling [Sun, 30 Nov 2003 08:21:40 +0000 (08:21 +0000)]
Various enhancements
Tim Starling [Sun, 30 Nov 2003 07:45:34 +0000 (07:45 +0000)]
MediaWiki: namespace update bug fix
Brion Vibber [Sun, 30 Nov 2003 05:45:30 +0000 (05:45 +0000)]
Fix log names
Brion Vibber [Sun, 30 Nov 2003 04:47:58 +0000 (04:47 +0000)]
Re-import from stable, plus new additions from wiki: tamil translation
Brion Vibber [Sun, 30 Nov 2003 01:49:04 +0000 (01:49 +0000)]
Whitespace; special case to avoid automatically returning to the logout page
Brion Vibber [Sun, 30 Nov 2003 01:33:58 +0000 (01:33 +0000)]
Whitespace and paranoia
Brion Vibber [Sun, 30 Nov 2003 01:23:44 +0000 (01:23 +0000)]
Sanity check hideminor param; fix the hide link in rc
Mr. E23 [Sat, 29 Nov 2003 22:41:26 +0000 (22:41 +0000)]
Fix for bug 850489, call on non-object when searching for '_'
Evan Prodromou [Sat, 29 Nov 2003 19:01:21 +0000 (19:01 +0000)]
Changed the remember password box location (RFE# 832812). It's now right
next to the password input box. Had to move the login button up one table
cell to fit it in, though.
Evan Prodromou [Sat, 29 Nov 2003 18:54:10 +0000 (18:54 +0000)]
Reformatted cookie check functions.
Evan Prodromou [Sat, 29 Nov 2003 18:39:04 +0000 (18:39 +0000)]
Reduced the scope of the hideminor user preference to just recent
changes (bug #845036). User contributions and related changes now
ignore this preference.
Also, fixed a problem where the show/hide minor edits link wasn't
appearing on recent changes and related changes. Made sure that the
param gets passed through with all the links.
Made sure that user contributions also had a show/hide minor edits
thing, and that minor edits are flagged with the M (or whatever) in
user contributions.
Evan Prodromou [Sat, 29 Nov 2003 18:34:08 +0000 (18:34 +0000)]
Instead of just giving an error message on login if a session cookie
is not detected, we now do a redirect. Some scripts and other tools go
straight to the login page, so they wouldn't have a cookie. If the
redirect cookie check fails, returns an appropriate message for new
accounts or for login.
Also, added two new messages to the language file, for cookie-check errors.
Bogdan Stancescu [Sat, 29 Nov 2003 11:42:28 +0000 (11:42 +0000)]
Various additions; one minor correction; small case month names
Brion Vibber [Fri, 28 Nov 2003 23:52:21 +0000 (23:52 +0000)]
Some bug fixes, munge more charset stuff
Mr. E23 [Fri, 28 Nov 2003 10:43:03 +0000 (10:43 +0000)]
Changed function call to use new function rebuildLinkTables(), replacing the old rebuildLinkTablesPass1() and rebuildLinkTablesPass2()
Mr. E23 [Fri, 28 Nov 2003 10:12:27 +0000 (10:12 +0000)]
Fixed so that move to a new page causes linkscc to clear cache for pages that link to the new page, making sure repaired broken links are shown correctly.
Brion Vibber [Fri, 28 Nov 2003 10:00:23 +0000 (10:00 +0000)]
Finnish translation from the wiki
Mr. E23 [Fri, 28 Nov 2003 09:42:13 +0000 (09:42 +0000)]
Removed a bit too much. Must clear linkscc for the article itself on edit.
Mr. E23 [Fri, 28 Nov 2003 08:31:26 +0000 (08:31 +0000)]
Added missing global for $wgLinkCacheMemcached
Mr. E23 [Fri, 28 Nov 2003 08:28:08 +0000 (08:28 +0000)]
Clearing linkscc for article on rollback
Mr. E23 [Fri, 28 Nov 2003 08:13:52 +0000 (08:13 +0000)]
Removed unnecessary clearing of linkscc
Mr. E23 [Fri, 28 Nov 2003 08:03:49 +0000 (08:03 +0000)]
Purging relevant linkscc entries on page undelete.
Brion Vibber [Fri, 28 Nov 2003 07:44:49 +0000 (07:44 +0000)]
Evan's patch for bug 827757: Wikitext not escaped in log entry descriptions
Mr. E23 [Fri, 28 Nov 2003 03:21:55 +0000 (03:21 +0000)]
Fixed bug (missing global) for linkscc that caused links to deleted pages to remain blue.
Mr. E23 [Thu, 27 Nov 2003 20:17:32 +0000 (20:17 +0000)]
Reverting to previous version (solved serialization problem in a better way)
Mr. E23 [Thu, 27 Nov 2003 19:53:59 +0000 (19:53 +0000)]
Added pref.
Mr. E23 [Thu, 27 Nov 2003 19:53:40 +0000 (19:53 +0000)]
Added versioning to serialized LinkCache objects. Added pref.
Brion Vibber [Thu, 27 Nov 2003 19:38:40 +0000 (19:38 +0000)]
Evan's patch for #850404 -- don't fail on blank debug log
Mr. E23 [Thu, 27 Nov 2003 16:31:29 +0000 (16:31 +0000)]
Fixed bug causing 'what links here' on image pages to break. Fixed bug causing problems on pages with same links with different capitalization.
Brion Vibber [Thu, 27 Nov 2003 02:04:02 +0000 (02:04 +0000)]
Fix article count update on page creation
Mr. E23 [Thu, 27 Nov 2003 01:10:43 +0000 (01:10 +0000)]
Speed improvements
Brion Vibber [Thu, 27 Nov 2003 01:09:35 +0000 (01:09 +0000)]
Fix block log entry
Brion Vibber [Wed, 26 Nov 2003 08:28:27 +0000 (08:28 +0000)]
Escape removal of brokenlinks