lhc/web/wiklou.git
20 years agoAccent aliases for namespaces 2,3
Brion Vibber [Fri, 2 Jan 2004 07:51:28 +0000 (07:51 +0000)]
Accent aliases for namespaces 2,3

20 years agoSpeed improvement; patch by El. Text from sourceforge:
Brion Vibber [Thu, 1 Jan 2004 11:06:33 +0000 (11:06 +0000)]
Speed improvement; patch by El. Text from sourceforge:

"rebuildrecentchanges" can be accelerated considerably.
I've tested the new version with the German database.
It yields exactly the same result as the old version
and is about 5 times faster.

(I know this improvement will be obsolete once the
table structure is changed so that the revisions table
contains the id of the previous revision. But who knows
when that'll happen. ;-)

de:Benutzer:El

20 years agoMark undeleted redirect pages as redirects (bug #855372), and update the
Brion Vibber [Fri, 26 Dec 2003 10:21:17 +0000 (10:21 +0000)]
Mark undeleted redirect pages as redirects (bug #855372), and update the
touched time on cur when restoring old entries to fix cache.

20 years agoFallback to google search box when database is offline
Tim Starling [Fri, 26 Dec 2003 01:16:15 +0000 (01:16 +0000)]
Fallback to google search box when database is offline

20 years agoInstall LanguageUtf8.php by default
Evan Prodromou [Thu, 25 Dec 2003 22:51:04 +0000 (22:51 +0000)]
Install LanguageUtf8.php by default

20 years agoInitial Thai translation file from meta.
Brion Vibber [Thu, 25 Dec 2003 08:50:48 +0000 (08:50 +0000)]
Initial Thai translation file from meta.
Translated from English by Varakorn Ungvichian

20 years agoAdjust how getMonthNameGen() works so it doesn't have to be overridden
Brion Vibber [Thu, 25 Dec 2003 08:49:36 +0000 (08:49 +0000)]
Adjust how getMonthNameGen() works so it doesn't have to be overridden
all the time.

20 years ago'View source' link instead of 'protected page'
Brion Vibber [Thu, 25 Dec 2003 03:25:17 +0000 (03:25 +0000)]
'View source' link instead of 'protected page'

20 years agoAdd missing Media
Brion Vibber [Thu, 25 Dec 2003 00:02:32 +0000 (00:02 +0000)]
Add missing Media

20 years agoAdd missing MediaWiki
Brion Vibber [Thu, 25 Dec 2003 00:02:14 +0000 (00:02 +0000)]
Add missing MediaWiki

20 years agoMalay language file: This localisation is based on a file kindly donated by the folks...
Brion Vibber [Wed, 24 Dec 2003 13:06:49 +0000 (13:06 +0000)]
Malay language file: This localisation is based on a file kindly donated by the folks at MIMOS

20 years agowgSiteNotice for system messages
Brion Vibber [Mon, 22 Dec 2003 11:10:35 +0000 (11:10 +0000)]
wgSiteNotice for system messages

20 years agoForce redirect headers to use absolute URLs as per spec (though
Brion Vibber [Mon, 22 Dec 2003 10:21:18 +0000 (10:21 +0000)]
Force redirect headers to use absolute URLs as per spec (though
browsers seem to accept relative ones); escape the page name
on the login cookie check.

20 years agoTrim whitespace on TOC links
Brion Vibber [Mon, 22 Dec 2003 08:03:21 +0000 (08:03 +0000)]
Trim whitespace on TOC links

20 years agoFix double-help message in search results; also some minor style cleanup
Brion Vibber [Mon, 22 Dec 2003 07:54:30 +0000 (07:54 +0000)]
Fix double-help message in search results; also some minor style cleanup

20 years agochange wfEscapeWikiText() to escape the pipe | character. This was breaking
Brion Vibber [Mon, 22 Dec 2003 04:14:33 +0000 (04:14 +0000)]
change wfEscapeWikiText() to escape the pipe | character. This was breaking
{{MSGNW:foo}} inside a wiki-syntax table.

20 years agoMiscellaneous scripts
Tim Starling [Mon, 22 Dec 2003 03:51:30 +0000 (03:51 +0000)]
Miscellaneous scripts

20 years agoTweak offset/limit parameters for correctness. Enable 'last' diff link on
Brion Vibber [Sun, 21 Dec 2003 12:33:34 +0000 (12:33 +0000)]
Tweak offset/limit parameters for correctness. Enable 'last' diff link on
the last shown entry if there are further available entries, so it doesn't
look like the history ends there.

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