lhc/web/wiklou.git
20 years agoSplit off page history code to PageHistory.php out of Article.php and Skin.php.
Brion Vibber [Sun, 21 Dec 2003 12:01:29 +0000 (12:01 +0000)]
Split off page history code to PageHistory.php out of Article.php and Skin.php.
No substantive changes yet.

20 years agoAvoid saving to linkscc if the article doesn't exist; this leaves
Brion Vibber [Sun, 21 Dec 2003 06:33:57 +0000 (06:33 +0000)]
Avoid saving to linkscc if the article doesn't exist; this leaves
corrupt entries in the table. Also, include the column names in
the REPLACE statement to guard against potential ordering problems
in databases that are manually munged around.

20 years agoupdates from meta
Brion Vibber [Sat, 20 Dec 2003 01:23:29 +0000 (01:23 +0000)]
updates from meta

20 years agoAdded "help for edit, special characters" at the bottom of the edit page, like in...
Bogdan Stancescu [Thu, 18 Dec 2003 17:02:30 +0000 (17:02 +0000)]
Added "help for edit, special characters" at the bottom of the edit page, like in the Spanish locale

20 years agoVarious updates
Bogdan Stancescu [Thu, 18 Dec 2003 11:47:51 +0000 (11:47 +0000)]
Various updates

20 years agoHopefully slightly saner handling of character entities in links; now will
Brion Vibber [Thu, 18 Dec 2003 11:31:03 +0000 (11:31 +0000)]
Hopefully slightly saner handling of character entities in links; now will
use UTF-8 characters on a UTF-8 wiki for the Latin-1 named entities; this
prevents corrupt in-wiki links for cases such as [[Weiß kreuz]] or
[[Brûker:Foo]]. There is a small chance this will harm interwiki
links to latin-1 wikis that don't accept UTF-8 incoming URLs, but on
balance this is a lesser harm. Raw bytes in such links can still be used
(%XX) if need be.

This shouldn't change behavior on Latin-1 wikis.

20 years agoMinor rewording on the statistics page
Bogdan Stancescu [Thu, 18 Dec 2003 11:26:51 +0000 (11:26 +0000)]
Minor rewording on the statistics page

20 years agoEstonian translation from wiki
Brion Vibber [Thu, 18 Dec 2003 08:39:14 +0000 (08:39 +0000)]
Estonian translation from wiki

20 years agoPortuguese translation from meta
Brion Vibber [Thu, 18 Dec 2003 03:44:08 +0000 (03:44 +0000)]
Portuguese translation from meta

20 years agoStub Latin file: just imports the Interlingua translation, which is like Latin with...
Brion Vibber [Thu, 18 Dec 2003 02:41:39 +0000 (02:41 +0000)]
Stub Latin file: just imports the Interlingua translation, which is like Latin with bad grammar ;)

20 years agoDon't forget to record the current username...
Brion Vibber [Thu, 18 Dec 2003 02:23:23 +0000 (02:23 +0000)]
Don't forget to record the current username...

20 years agoMark interlingua as UTF-8
Brion Vibber [Thu, 18 Dec 2003 02:19:13 +0000 (02:19 +0000)]
Mark interlingua as UTF-8

20 years agoWe no longer check the content, so have to make an explicit exception for the main...
Brion Vibber [Wed, 17 Dec 2003 09:41:17 +0000 (09:41 +0000)]
We no longer check the content, so have to make an explicit exception for the main page for short cache expiry

20 years agoAdded <4.3.0 compatibility for wfAbruptExit()
Mr. E23 [Wed, 17 Dec 2003 08:30:11 +0000 (08:30 +0000)]
Added <4.3.0 compatibility for wfAbruptExit()

20 years agoAfrikaans translation from wiki
Brion Vibber [Wed, 17 Dec 2003 02:33:33 +0000 (02:33 +0000)]
Afrikaans translation from wiki

20 years agonotloggedin
Brion Vibber [Wed, 17 Dec 2003 01:59:31 +0000 (01:59 +0000)]
notloggedin

20 years agoCheck for bad title on redirect (ot: why can't diff understand indentation changes...
Brion Vibber [Wed, 17 Dec 2003 00:18:27 +0000 (00:18 +0000)]
Check for bad title on redirect (ot: why can't diff understand indentation changes? is it so hard?)

20 years agoTweaks and updates
Brion Vibber [Mon, 15 Dec 2003 06:51:31 +0000 (06:51 +0000)]
Tweaks and updates

20 years agoCatalan translation from meta
Brion Vibber [Mon, 15 Dec 2003 06:44:32 +0000 (06:44 +0000)]
Catalan translation from meta

20 years agoUpdates from meta
Brion Vibber [Mon, 15 Dec 2003 00:47:41 +0000 (00:47 +0000)]
Updates from meta

20 years agoMediaWiki namespace handling, mostly consolidated from GlobalFunctions.php and Articl...
Tim Starling [Sun, 14 Dec 2003 14:32:19 +0000 (14:32 +0000)]
MediaWiki namespace handling, mostly consolidated from GlobalFunctions.php and Article.php, with some enhancements

20 years agoImprovements in MediaWiki namespace handling, enhanced rollback
Tim Starling [Sun, 14 Dec 2003 14:29:35 +0000 (14:29 +0000)]
Improvements in MediaWiki namespace handling, enhanced rollback

20 years agorollback enhancement
Tim Starling [Sun, 14 Dec 2003 14:28:08 +0000 (14:28 +0000)]
rollback enhancement

20 years agoComments
Tim Starling [Sun, 14 Dec 2003 14:25:44 +0000 (14:25 +0000)]
Comments

20 years agoxml export missing
Brion Vibber [Sun, 14 Dec 2003 09:39:58 +0000 (09:39 +0000)]
xml export missing

20 years agoMediaWiki namespace
Brion Vibber [Sun, 14 Dec 2003 08:50:54 +0000 (08:50 +0000)]
MediaWiki namespace

20 years agoBulgarian translation from meta.wikipedia.org
Brion Vibber [Sun, 14 Dec 2003 08:30:04 +0000 (08:30 +0000)]
Bulgarian translation from meta.wikipedia.org

20 years agoFix for bug #859195: the string '0' evaluates to false in PHP, even when using the...
Brion Vibber [Sun, 14 Dec 2003 05:14:04 +0000 (05:14 +0000)]
Fix for bug #859195: the string '0' evaluates to false in PHP, even when using the empty() function, which can break links in the form [[foo|0]] such that the pipe text is ignored and the link title shows as the text

20 years agoRemoved use of PHP persistent connections. Se URL below for details.
Mr. E23 [Sat, 13 Dec 2003 22:38:26 +0000 (22:38 +0000)]
Removed use of PHP persistent connections. Se URL below for details.

http://meta.wikipedia.org/wiki/Why_persistent_connections_are_bad

20 years agoArticle.php:
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

20 years agoRemoved unused function wfUnbufferedQuery().
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.

20 years agoAdded default text for when uploading is disabled. Since this is the
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.

20 years agoIP substitution in blockedtext
Tim Starling [Fri, 12 Dec 2003 00:25:29 +0000 (00:25 +0000)]
IP substitution in blockedtext

20 years agobug fix in range block code, spelling error
Tim Starling [Fri, 12 Dec 2003 00:14:53 +0000 (00:14 +0000)]
bug fix in range block code, spelling error

20 years agoremoved tracing printout
Mr. E23 [Thu, 11 Dec 2003 22:14:03 +0000 (22:14 +0000)]
removed tracing printout

20 years agoThe purpose of this modification is to ensure that every normal request
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.

20 years agoPut the illegal char check down below again, to fix breakage to # links
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

20 years agoFix for #837969. Strict rejection of invalid characters in titles is good practice...
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

20 years agoFix options
Brion Vibber [Thu, 11 Dec 2003 09:50:25 +0000 (09:50 +0000)]
Fix options

20 years agoFix namespaces
Brion Vibber [Thu, 11 Dec 2003 08:48:33 +0000 (08:48 +0000)]
Fix namespaces

20 years agoUTF-8
Brion Vibber [Thu, 11 Dec 2003 08:03:54 +0000 (08:03 +0000)]
UTF-8

20 years ago(fix regression) Don't select the edit box on preview; this interferes with seeing...
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.

20 years agoReplaced calls to exit() with wfAbruptExit().
Mr. E23 [Wed, 10 Dec 2003 15:05:08 +0000 (15:05 +0000)]
Replaced calls to exit() with wfAbruptExit().

20 years agoAdded wfAbruptExit() function, to replace exit() calls with.
Mr. E23 [Wed, 10 Dec 2003 14:58:17 +0000 (14:58 +0000)]
Added wfAbruptExit() function, to replace exit() calls with.

20 years agoAdjust whitespace
Brion Vibber [Wed, 10 Dec 2003 11:39:33 +0000 (11:39 +0000)]
Adjust whitespace

20 years agoOnly emit the javascript to set editbox focus when we're really editing
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

20 years agoFix parsing of multi-word expressions; by default behave more like google, with requi...
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

20 years agoMade two new global variables for checking file extensions. The list of
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.

20 years agoQuote search text for regexp to avoid some errors with +foo etc
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

20 years agoproper CSS class for sitesupport link
Erik Moeller [Mon, 8 Dec 2003 10:35:10 +0000 (10:35 +0000)]
proper CSS class for sitesupport link

20 years agoRemove mention of obsolete test suite 1.1.0
Brion Vibber [Mon, 8 Dec 2003 09:25:13 +0000 (09:25 +0000)]
Remove mention of obsolete test suite

20 years agoblah blah
Brion Vibber [Mon, 8 Dec 2003 09:24:04 +0000 (09:24 +0000)]
blah blah

20 years agoRemove old mozilla hack
Brion Vibber [Mon, 8 Dec 2003 09:22:54 +0000 (09:22 +0000)]
Remove old mozilla hack

20 years agoDon't complain about empty log file... I thought this had already been fixed
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

20 years agoDon'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

20 years agoGrab MediaWiki logo from stable
Brion Vibber [Mon, 8 Dec 2003 09:13:24 +0000 (09:13 +0000)]
Grab MediaWiki logo from stable

20 years agomore 1.1.0
Brion Vibber [Mon, 8 Dec 2003 08:57:50 +0000 (08:57 +0000)]
more 1.1.0

20 years agoUpdate for 1.1.0
Brion Vibber [Mon, 8 Dec 2003 08:40:48 +0000 (08:40 +0000)]
Update for 1.1.0

20 years agoImport release notes from stable
Brion Vibber [Mon, 8 Dec 2003 07:10:21 +0000 (07:10 +0000)]
Import release notes from stable

20 years ago#855829; El's patch to reduce breakage of <nowiki>,<math>,<pre> tags where the placeh...
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

20 years agoFix namespace bug resulting in serious data corruption; dump an obsolete global,...
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

20 years agocase insensitive MSG, MSGNW and SUBST
Tim Starling [Sat, 6 Dec 2003 05:50:24 +0000 (05:50 +0000)]
case insensitive MSG, MSGNW and SUBST

20 years agoComplain if use asks for page that's not archived
Brion Vibber [Sat, 6 Dec 2003 04:27:16 +0000 (04:27 +0000)]
Complain if use asks for page that's not archived

20 years agoAdd missing getMagicWords()
Brion Vibber [Sat, 6 Dec 2003 02:53:12 +0000 (02:53 +0000)]
Add missing getMagicWords()

20 years agoMediaWiki: namespace memcached synchronisation
Tim Starling [Sat, 6 Dec 2003 02:09:48 +0000 (02:09 +0000)]
MediaWiki: namespace memcached synchronisation

20 years agoDuh! wgMagicWordsEn => wgMagicWordsRo, as it should have been (I guess?)
Bogdan Stancescu [Sat, 6 Dec 2003 01:41:48 +0000 (01:41 +0000)]
Duh! wgMagicWordsEn => wgMagicWordsRo, as it should have been (I guess?)

20 years agoFix old minor edits typo
Brion Vibber [Fri, 5 Dec 2003 22:04:27 +0000 (22:04 +0000)]
Fix old minor edits typo

20 years agoDisallow rollback during read-only mode
Brion Vibber [Fri, 5 Dec 2003 10:55:50 +0000 (10:55 +0000)]
Disallow rollback during read-only mode

20 years agoremoved test
Tim Starling [Fri, 5 Dec 2003 06:09:30 +0000 (06:09 +0000)]
removed test

20 years agoScript to rebuild the article count
Brion Vibber [Fri, 5 Dec 2003 05:07:40 +0000 (05:07 +0000)]
Script to rebuild the article count

20 years ago3-day default cutoff for shortlisters. FIXME: make this configurable?
Brion Vibber [Fri, 5 Dec 2003 04:46:43 +0000 (04:46 +0000)]
3-day default cutoff for shortlisters. FIXME: make this configurable?

20 years agoUpdate timestamp of redirect when renaming over a redirect; add some comments
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

20 years agoCompleted norwegian translation
Christian List [Fri, 5 Dec 2003 03:45:34 +0000 (03:45 +0000)]
Completed norwegian translation

20 years agoUser contributions and email this user links now enabled on talk page
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).

20 years agoBug fixes
Tim Starling [Thu, 4 Dec 2003 10:56:20 +0000 (10:56 +0000)]
Bug fixes

20 years agoForgotten fix: don't allow special read/write access for 'developer'
Brion Vibber [Wed, 3 Dec 2003 23:08:44 +0000 (23:08 +0000)]
Forgotten fix: don't allow special read/write access for 'developer'

20 years agoRaise watchlist cutoff to 12 hours for 1000+ items
Brion Vibber [Wed, 3 Dec 2003 15:18:38 +0000 (15:18 +0000)]
Raise watchlist cutoff to 12 hours for 1000+ items

20 years agoMemcached client bug fix (submitted to memcached mailing list)
Tim Starling [Wed, 3 Dec 2003 13:08:11 +0000 (13:08 +0000)]
Memcached client bug fix (submitted to memcached mailing list)

20 years agoActually send the delete query
Brion Vibber [Wed, 3 Dec 2003 12:47:00 +0000 (12:47 +0000)]
Actually send the delete query

20 years agoQuick hack to clear out brokenlinks to existing pages (doesn't yet add them to links)
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)

20 years agonamespace 8 bug fix
Tim Starling [Wed, 3 Dec 2003 09:43:24 +0000 (09:43 +0000)]
namespace 8 bug fix

20 years agoArmor against bad titles
Brion Vibber [Wed, 3 Dec 2003 00:42:31 +0000 (00:42 +0000)]
Armor against bad titles

20 years agoFix regression: view source when editing protected page thta can't edit
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

20 years agoRemove spurious space from usr ns
Brion Vibber [Tue, 2 Dec 2003 14:23:45 +0000 (14:23 +0000)]
Remove spurious space from usr ns

20 years agoRemove spurious space from usr ns
Brion Vibber [Tue, 2 Dec 2003 14:21:17 +0000 (14:21 +0000)]
Remove spurious space from usr ns

20 years agoMinor tweak for UI's sake
Bogdan Stancescu [Tue, 2 Dec 2003 12:00:26 +0000 (12:00 +0000)]
Minor tweak for UI's sake

20 years agoFix subpage backlinks; add more debug statements in make*Link()
Brion Vibber [Mon, 1 Dec 2003 23:51:41 +0000 (23:51 +0000)]
Fix subpage backlinks; add more debug statements in make*Link()

20 years agoAdd xml header (redundant but nice) and correct xml:lang tag
Brion Vibber [Mon, 1 Dec 2003 21:29:59 +0000 (21:29 +0000)]
Add xml header (redundant but nice) and correct xml:lang tag

20 years agoI was adding a special page (dead-end pages), and I realized that almost all
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.

20 years agoAdded a "Dead-end pages" query page, per RFE#577764.
Evan Prodromou [Mon, 1 Dec 2003 02:24:26 +0000 (02:24 +0000)]
Added a "Dead-end pages" query page, per RFE#577764.

20 years agoWorkaround to avoid regexp segfault in wfGeneralizeSQL()
Mr. E23 [Mon, 1 Dec 2003 00:28:25 +0000 (00:28 +0000)]
Workaround to avoid regexp segfault in wfGeneralizeSQL()

20 years agoAdded missing global for $wgProfileToDatabase.
Mr. E23 [Mon, 1 Dec 2003 00:09:05 +0000 (00:09 +0000)]
Added missing global for $wgProfileToDatabase.

20 years agoSort "what links here" results alphabetically (RFE#612675).
Evan Prodromou [Sun, 30 Nov 2003 23:16:21 +0000 (23:16 +0000)]
Sort "what links here" results alphabetically (RFE#612675).

20 years agomore booksources
Luc Van Oostenryck [Sun, 30 Nov 2003 22:54:36 +0000 (22:54 +0000)]
more booksources

20 years agoRemoved unused "areyounew" language prompt from all languages and from
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.

20 years agoRemoved the "alternate" stylesheets. I don't think they're useful as
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.

20 years agoVarious enhancements
Tim Starling [Sun, 30 Nov 2003 08:21:40 +0000 (08:21 +0000)]
Various enhancements

20 years agoMediaWiki: namespace update bug fix
Tim Starling [Sun, 30 Nov 2003 07:45:34 +0000 (07:45 +0000)]
MediaWiki: namespace update bug fix

20 years agoFix log names
Brion Vibber [Sun, 30 Nov 2003 05:45:30 +0000 (05:45 +0000)]
Fix log names

20 years agoRe-import from stable, plus new additions from wiki: tamil translation
Brion Vibber [Sun, 30 Nov 2003 04:47:58 +0000 (04:47 +0000)]
Re-import from stable, plus new additions from wiki: tamil translation