lhc/web/wiklou.git
18 years ago* using htmlspecialchars() for safe XHTML output
Ævar Arnfjörð Bjarmason [Tue, 13 Sep 2005 17:02:43 +0000 (17:02 +0000)]
* using htmlspecialchars() for safe XHTML output

18 years ago* Formatting
Ævar Arnfjörð Bjarmason [Tue, 13 Sep 2005 17:01:22 +0000 (17:01 +0000)]
* Formatting

18 years ago* Using wfDebugLog() to log to our own log (exif)
Ævar Arnfjörð Bjarmason [Tue, 13 Sep 2005 17:00:55 +0000 (17:00 +0000)]
* Using wfDebugLog() to log to our own log (exif)

18 years ago* Two new functions:
Ævar Arnfjörð Bjarmason [Tue, 13 Sep 2005 16:50:57 +0000 (16:50 +0000)]
* Two new functions:
    function wfOpenElement( $element ) { return "<$element>"; }
    function wfCloseElement( $element ) { return "</$element>"; }

18 years ago* Adding a nes specialpage - mimesearch
Ævar Arnfjörð Bjarmason [Tue, 13 Sep 2005 16:36:09 +0000 (16:36 +0000)]
* Adding a nes specialpage - mimesearch

18 years ago* Adding a new specialpage - mimesearch
Ævar Arnfjörð Bjarmason [Tue, 13 Sep 2005 16:35:35 +0000 (16:35 +0000)]
* Adding a new specialpage - mimesearch
* Making Special:Search a listed specialpage

18 years ago* Changed the schema, put an index on img_major_mime and img_minor_mime
Ævar Arnfjörð Bjarmason [Tue, 13 Sep 2005 16:33:50 +0000 (16:33 +0000)]
* Changed the schema, put an index on img_major_mime and img_minor_mime

18 years agoBe cool, use new defines
Niklas Laxström [Tue, 13 Sep 2005 07:51:11 +0000 (07:51 +0000)]
Be cool, use new defines

18 years ago* (bug 3412) Clean up date format handling so ~~~~-sigs work with default
Brion Vibber [Tue, 13 Sep 2005 06:55:43 +0000 (06:55 +0000)]
* (bug 3412) Clean up date format handling so ~~~~-sigs work with default
  format as designed. Documentation comments updated.

18 years ago* (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more
Brion Vibber [Tue, 13 Sep 2005 01:57:28 +0000 (01:57 +0000)]
* (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more
  harm than good under current system by breaking incoming URLs with "ux".
  (Editing is not affected, just URLs.)

18 years ago* Use the real file link instead of the default-size rasterized version for
Brion Vibber [Tue, 13 Sep 2005 01:27:21 +0000 (01:27 +0000)]
* Use the real file link instead of the default-size rasterized version for
  large SVG images on image description page
* Include the file name/type/size line for non-resized images

18 years ago* (bug 2800) Don't scale up small images on |thumb| without explicit size
Brion Vibber [Mon, 12 Sep 2005 22:46:13 +0000 (22:46 +0000)]
* (bug 2800) Don't scale up small images on |thumb| without explicit size

18 years ago* (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
Brion Vibber [Mon, 12 Sep 2005 22:32:49 +0000 (22:32 +0000)]
* (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:

18 years ago* (bug 3448) Set page_len on undelete
Brion Vibber [Mon, 12 Sep 2005 21:51:17 +0000 (21:51 +0000)]
* (bug 3448) Set page_len on undelete

18 years agobug 3408, fix formatNum()
Niklas Laxström [Mon, 12 Sep 2005 20:37:45 +0000 (20:37 +0000)]
bug 3408, fix formatNum()

18 years agoAllow wikitext again
Niklas Laxström [Mon, 12 Sep 2005 20:28:24 +0000 (20:28 +0000)]
Allow wikitext again

18 years agoTypo
Niklas Laxström [Mon, 12 Sep 2005 19:46:49 +0000 (19:46 +0000)]
Typo

18 years ago* Fix scaling of non-integer SVG unit sizes
Brion Vibber [Mon, 12 Sep 2005 19:38:09 +0000 (19:38 +0000)]
* Fix scaling of non-integer SVG unit sizes

18 years agoFixed link trail: that really is a regex metacharacter, and it doesn't need to be...
Tim Starling [Mon, 12 Sep 2005 17:33:53 +0000 (17:33 +0000)]
Fixed link trail: that really is a regex metacharacter, and it doesn't need to be escaped when in single quotes

18 years agoForgot to add the default value
Niklas Laxström [Mon, 12 Sep 2005 11:34:47 +0000 (11:34 +0000)]
Forgot to add the default value

18 years agoWorkaround for memcachedism
Tim Starling [Sun, 11 Sep 2005 17:33:25 +0000 (17:33 +0000)]
Workaround for memcachedism

18 years ago* Negative caching for the MediaWiki namespace. This is especially important when...
Tim Starling [Sun, 11 Sep 2005 14:50:47 +0000 (14:50 +0000)]
* Negative caching for the MediaWiki namespace. This is especially important when the user language is different to the content language.
* Allow messages to be blank, without them being considered missing

18 years agofaster expiry check in enumBlocks
Tim Starling [Sun, 11 Sep 2005 13:43:49 +0000 (13:43 +0000)]
faster expiry check in enumBlocks

18 years agoFaster Special:Listusers, should be up to 10x faster for long lists
Tim Starling [Sun, 11 Sep 2005 12:33:59 +0000 (12:33 +0000)]
Faster Special:Listusers, should be up to 10x faster for long lists

18 years agosanity check
Tim Starling [Sun, 11 Sep 2005 12:31:59 +0000 (12:31 +0000)]
sanity check

18 years agoprofiling fix
Tim Starling [Sun, 11 Sep 2005 11:25:55 +0000 (11:25 +0000)]
profiling fix

18 years agoprofiling fix
Tim Starling [Sun, 11 Sep 2005 11:20:29 +0000 (11:20 +0000)]
profiling fix

18 years agoBug 2143: Update Vietnamese interface
Niklas Laxström [Sun, 11 Sep 2005 07:58:47 +0000 (07:58 +0000)]
Bug 2143: Update Vietnamese interface

18 years ago* Fix edit on double-click for move-protected pages in Classic skin
Brion Vibber [Sun, 11 Sep 2005 05:00:25 +0000 (05:00 +0000)]
* Fix edit on double-click for move-protected pages in Classic skin

18 years ago* Fix regressions in ChangesList traditional layout
Brion Vibber [Sun, 11 Sep 2005 01:55:16 +0000 (01:55 +0000)]
* Fix regressions in ChangesList traditional layout

18 years ago* (bug 3127) Render large SVGs at image page size correctly
Brion Vibber [Sat, 10 Sep 2005 23:01:27 +0000 (23:01 +0000)]
* (bug 3127) Render large SVGs at image page size correctly

18 years ago* (bug 3410) Fixing script to delete stale memcached entries
Ævar Arnfjörð Bjarmason [Sat, 10 Sep 2005 12:45:45 +0000 (12:45 +0000)]
* (bug 3410) Fixing script to delete stale memcached entries

18 years ago* Support SVG rendering with rsvg
Brion Vibber [Sat, 10 Sep 2005 01:02:41 +0000 (01:02 +0000)]
* Support SVG rendering with rsvg
* Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide

18 years agoMade legal title character list configurable
Tim Starling [Fri, 9 Sep 2005 22:48:25 +0000 (22:48 +0000)]
Made legal title character list configurable

18 years ago* Set the memcache expiry time to a week instead of infinite
Ævar Arnfjörð Bjarmason [Fri, 9 Sep 2005 21:11:46 +0000 (21:11 +0000)]
* Set the memcache expiry time to a week instead of infinite
* Run $this->purgeCache(); on action=purge

18 years agoBug 3063: Hebrew localization has hardcoded strings
Niklas Laxström [Fri, 9 Sep 2005 20:18:23 +0000 (20:18 +0000)]
Bug 3063: Hebrew localization has hardcoded strings

18 years ago* Documentation
Ævar Arnfjörð Bjarmason [Fri, 9 Sep 2005 19:26:56 +0000 (19:26 +0000)]
* Documentation
* Whitespace
* Added the setting of $updateRecentChanges to the constructor

18 years agoCommit the changes I promised to commit almost three weeks ago
Niklas Laxström [Fri, 9 Sep 2005 17:55:37 +0000 (17:55 +0000)]
Commit the changes I promised to commit almost three weeks ago
See Bug 3063

18 years agoSome tweaking
Niklas Laxström [Fri, 9 Sep 2005 17:46:21 +0000 (17:46 +0000)]
Some tweaking

18 years ago* (bug 3358) Allow inclusion of Special:Newimages as {{Special:Newimages[/int]}}
Ævar Arnfjörð Bjarmason [Thu, 8 Sep 2005 14:15:28 +0000 (14:15 +0000)]
* (bug 3358) Allow inclusion of Special:Newimages as {{Special:Newimages[/int]}}
  where int is the number of images to show

18 years ago* Minor code refactoring
Ævar Arnfjörð Bjarmason [Thu, 8 Sep 2005 13:17:55 +0000 (13:17 +0000)]
* Minor code refactoring

18 years agoAdded isatty() check to readconsole()
Tim Starling [Thu, 8 Sep 2005 08:49:04 +0000 (08:49 +0000)]
Added isatty() check to readconsole()

18 years ago* (bug 3386) Extra newline caused trouble with RSS/Atom feeds
Ævar Arnfjörð Bjarmason [Wed, 7 Sep 2005 19:12:14 +0000 (19:12 +0000)]
* (bug 3386) Extra newline caused trouble with RSS/Atom feeds

18 years agoPassed -size hint to convert, as recommended in the convert manpage. This gives a...
Tim Starling [Wed, 7 Sep 2005 16:01:42 +0000 (16:01 +0000)]
Passed -size hint to convert, as recommended in the convert manpage. This gives a huge saving in CPU and memory time for thumbnailing of large images.

18 years agoWorked around lack of timeouts in fwrite(), using non-blocking I/O. Also flush the...
Tim Starling [Wed, 7 Sep 2005 10:10:57 +0000 (10:10 +0000)]
Worked around lack of timeouts in fwrite(), using non-blocking I/O. Also flush the read buffer before every command

18 years ago#3337: patch by Borislav Manolov
Antoine Musso [Tue, 6 Sep 2005 23:26:11 +0000 (23:26 +0000)]
#3337: patch by Borislav Manolov

18 years ago#3354 : LanguagePt update by Get_it
Antoine Musso [Tue, 6 Sep 2005 23:21:49 +0000 (23:21 +0000)]
#3354 : LanguagePt update by Get_it

18 years agocosmetic
Antoine Musso [Tue, 6 Sep 2005 22:21:38 +0000 (22:21 +0000)]
cosmetic

18 years agoTurn stuff from OldChangesList into methods of its parent (ChangesList).
Antoine Musso [Tue, 6 Sep 2005 22:16:41 +0000 (22:16 +0000)]
Turn stuff from OldChangesList into methods of its parent (ChangesList).
TODO: make EnhancedChangesList class use its parent methods.

18 years ago"clody weather" -> "cloddy weather"
River Tarnell [Tue, 6 Sep 2005 21:54:38 +0000 (21:54 +0000)]
"clody weather" -> "cloddy weather"

18 years agoSmaller font size for feeds
Antoine Musso [Tue, 6 Sep 2005 20:45:15 +0000 (20:45 +0000)]
Smaller font size for feeds

18 years agocode formatting (for vim code folding)
Antoine Musso [Tue, 6 Sep 2005 20:04:38 +0000 (20:04 +0000)]
code formatting (for vim code folding)

18 years agoSplit enhanced and old changelist in two classes that inherit from the main
Antoine Musso [Tue, 6 Sep 2005 18:43:45 +0000 (18:43 +0000)]
Split enhanced and old changelist in two classes that inherit from the main
class. Need to setup more methods :)

18 years agoComments, code formatting.
Antoine Musso [Tue, 6 Sep 2005 18:14:24 +0000 (18:14 +0000)]
Comments, code formatting.

18 years agohtml output formatting
Antoine Musso [Tue, 6 Sep 2005 17:59:17 +0000 (17:59 +0000)]
html output formatting

18 years agofname typo
Antoine Musso [Tue, 6 Sep 2005 17:08:32 +0000 (17:08 +0000)]
fname typo

18 years ago* Pluralform => Plural
Ævar Arnfjörð Bjarmason [Tue, 6 Sep 2005 17:02:19 +0000 (17:02 +0000)]
* Pluralform => Plural

18 years ago* Improved trimStars()
Ævar Arnfjörð Bjarmason [Tue, 6 Sep 2005 16:53:58 +0000 (16:53 +0000)]
* Improved trimStars()
* Coding style
* Changed the name of the wfNoMsg() function to wfEmptyMsg()

18 years ago* Changed the name of the wfNoMsg() function to wfEmptyMsg()
Ævar Arnfjörð Bjarmason [Tue, 6 Sep 2005 16:52:11 +0000 (16:52 +0000)]
* Changed the name of the wfNoMsg() function to wfEmptyMsg()

18 years ago* Added a hook
Ævar Arnfjörð Bjarmason [Tue, 6 Sep 2005 16:48:55 +0000 (16:48 +0000)]
* Added a hook

18 years ago* Code and documentation cleanup, bugfix
Ævar Arnfjörð Bjarmason [Tue, 6 Sep 2005 16:46:37 +0000 (16:46 +0000)]
* Code and documentation cleanup, bugfix

18 years ago* Add UploadVerification hook for custom file upload validation/security checks
Brion Vibber [Tue, 6 Sep 2005 04:53:59 +0000 (04:53 +0000)]
* Add UploadVerification hook for custom file upload validation/security checks

18 years agorevert previous stuff. break things :)
Antoine Musso [Mon, 5 Sep 2005 20:03:19 +0000 (20:03 +0000)]
revert previous stuff. break things :)

18 years ago#3344: Redirected terms cannot be included in categories
Antoine Musso [Mon, 5 Sep 2005 19:43:01 +0000 (19:43 +0000)]
#3344: Redirected terms cannot be included in categories
No more strip the whole text when magicword #REDIRECT is found in a text.
Let you categorize redirects but might let some vandals use #REDIRECT in the
middle of a text.

18 years agoPLURALFORM fix
Alexander Sigachov [Mon, 5 Sep 2005 19:26:02 +0000 (19:26 +0000)]
PLURALFORM fix

18 years agoNew magic word: PLURALFORM (like GRAMMAR)
Alexander Sigachov [Mon, 5 Sep 2005 19:22:09 +0000 (19:22 +0000)]
New magic word: PLURALFORM (like GRAMMAR)

18 years ago#3364: pt_br name typo
Antoine Musso [Mon, 5 Sep 2005 15:12:43 +0000 (15:12 +0000)]
#3364: pt_br name typo

18 years agolangRu update to lang 1.672
Alexander Sigachov [Mon, 5 Sep 2005 12:28:43 +0000 (12:28 +0000)]
langRu update to lang 1.672

18 years agospelling
Brion Vibber [Mon, 5 Sep 2005 08:54:13 +0000 (08:54 +0000)]
spelling

18 years ago* Use strval() to make sure we don't accidentally get null on bad revision
Brion Vibber [Mon, 5 Sep 2005 07:35:29 +0000 (07:35 +0000)]
* Use strval() to make sure we don't accidentally get null on bad revision
  text loads or other fields mucking up XML export output

18 years agoLive hack: don't blow up on empty/broken timestamps. (It will however output wrong...
Brion Vibber [Mon, 5 Sep 2005 07:27:08 +0000 (07:27 +0000)]
Live hack: don't blow up on empty/broken timestamps. (It will however output wrong date.)

18 years ago* Add 'reupload' and 'reupload-shared' permission keys to restrict new
Brion Vibber [Mon, 5 Sep 2005 06:16:48 +0000 (06:16 +0000)]
* Add 'reupload' and 'reupload-shared' permission keys to restrict new
uploads overwriting existing files; default is the old behavior (allowed).

18 years agoDeferred initialisation of $wgIP, because it's potentially slow, especially if and...
Tim Starling [Mon, 5 Sep 2005 02:22:20 +0000 (02:22 +0000)]
Deferred initialisation of $wgIP, because it's potentially slow, especially if and when we add the 200 NTL proxies to the trusted XFF list. I was hoping to avoid initialisation altogether for anonymous page views, but that turns out to be difficult because of user_newtalk. It is, however, avoided for action=raw. Tested page view, newtalk, IP registration in history and recentchanges, IP block, autoblock and Special:Version.

Also moved the old proxy scan code from EditPage.php to a more appropriate location in ProxyTools.php.

18 years agoremove obsolete piece of code - newarticletext is never written into blank
Erik Moeller [Sun, 4 Sep 2005 17:41:44 +0000 (17:41 +0000)]
remove obsolete piece of code - newarticletext is never written into blank
pages

18 years ago* Avoid missing argument errors to recordUpload() on image reverts
Ævar Arnfjörð Bjarmason [Sun, 4 Sep 2005 15:51:29 +0000 (15:51 +0000)]
* Avoid missing argument errors to recordUpload() on image reverts

18 years agoQuick workaround for bug 3131 (don't fill destname from sourcename if we've been...
Rowan Collins [Sat, 3 Sep 2005 10:41:12 +0000 (10:41 +0000)]
Quick workaround for bug 3131 (don't fill destname from sourcename if we've been passed it as a URL param already).
Probably needs a more thorough redesign, but this'll do as a "hotfix".

18 years agofixed recent commit
Tim Starling [Sat, 3 Sep 2005 01:21:33 +0000 (01:21 +0000)]
fixed recent commit

18 years agoCache interwiki prefixes with a canonical case
Tim Starling [Sat, 3 Sep 2005 01:13:35 +0000 (01:13 +0000)]
Cache interwiki prefixes with a canonical case

18 years agoBug 2143: Update Vietnamese interface
Niklas Laxström [Fri, 2 Sep 2005 19:50:03 +0000 (19:50 +0000)]
Bug 2143: Update Vietnamese interface

18 years agoBug 3304: Language file for Croatian (LanguageHr.php)
Niklas Laxström [Fri, 2 Sep 2005 19:21:04 +0000 (19:21 +0000)]
Bug 3304: Language file for Croatian (LanguageHr.php)

18 years ago* Rv: Causing some kind of error, I'll change it back when I figure out what
Ævar Arnfjörð Bjarmason [Fri, 2 Sep 2005 19:11:33 +0000 (19:11 +0000)]
* Rv: Causing some kind of error, I'll change it back when I figure out what
  the problem is

18 years ago* (bug 3338) Improved msg:passwordremindertext
Ævar Arnfjörð Bjarmason [Fri, 2 Sep 2005 18:40:17 +0000 (18:40 +0000)]
* (bug 3338) Improved msg:passwordremindertext

18 years ago* Reverting back to 1.115, not inserting {{ and }} automatically means that the
Ævar Arnfjörð Bjarmason [Fri, 2 Sep 2005 18:33:58 +0000 (18:33 +0000)]
* Reverting back to 1.115, not inserting {{ and }} automatically means that the
  license selector can be used to insert arbitary text, not just templates,
  this doesn't break it either since you just have to change the entries in
  MediaWiki:Licenses from e.g:
    * GFDL|GNU Free Documentation License
  to:
    * {{GFDL}}|GNU Free Documentation License
  to get the same functionality as before

18 years agoRevert last change, which breaks the only usage of the upload license selector
Brion Vibber [Fri, 2 Sep 2005 11:58:17 +0000 (11:58 +0000)]
Revert last change, which breaks the only usage of the upload license selector
with no explanation.

18 years ago* (bug 3306) Document $wgLocalTZoffset
Brion Vibber [Fri, 2 Sep 2005 05:44:07 +0000 (05:44 +0000)]
* (bug 3306) Document $wgLocalTZoffset

18 years ago* (bug 2078) Don't hide watch tab on preview
Brion Vibber [Fri, 2 Sep 2005 05:18:02 +0000 (05:18 +0000)]
* (bug 2078) Don't hide watch tab on preview

18 years ago* (bug 2841) Consistency in $this->loggedin use
Brion Vibber [Fri, 2 Sep 2005 05:04:25 +0000 (05:04 +0000)]
* (bug 2841) Consistency in $this->loggedin use

18 years ago* (bug 3292) Fix move-over-redirect test when current entries are not plaintext
Brion Vibber [Fri, 2 Sep 2005 04:44:15 +0000 (04:44 +0000)]
* (bug 3292) Fix move-over-redirect test when current entries are not plaintext
Patch by Tietew: http://bugzilla.wikimedia.org/attachment.cgi?id=834&action=view

18 years ago* Don't override edit conflict suppression on section edits; section merging
Brion Vibber [Fri, 2 Sep 2005 01:17:00 +0000 (01:17 +0000)]
* Don't override edit conflict suppression on section edits; section merging
  should provide the expected transparency here and fits usage patterns better.

18 years agoInclude full name in broken/ rename of bad interwikis
Brion Vibber [Thu, 1 Sep 2005 06:51:40 +0000 (06:51 +0000)]
Include full name in broken/ rename of bad interwikis

18 years agoYet another cleanup script: go through looking for invalid titles, and move
Brion Vibber [Thu, 1 Sep 2005 06:42:20 +0000 (06:42 +0000)]
Yet another cleanup script: go through looking for invalid titles, and move
them to some more or less legal title with a 'Broken/' prefix, so they can
be manually reviewed or removed.

18 years ago*** empty log message ***
Antoine Musso [Wed, 31 Aug 2005 20:19:01 +0000 (20:19 +0000)]
*** empty log message ***

18 years ago* Not inserting {{ and }} automatically around the licensed text
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 15:57:04 +0000 (15:57 +0000)]
* Not inserting {{ and }} automatically around the licensed text

18 years agoMight or might not fix a php5 notice error (undefined variable)
Antoine Musso [Wed, 31 Aug 2005 14:58:36 +0000 (14:58 +0000)]
Might or might not fix a php5 notice error (undefined variable)

18 years ago* We no longer have the confirmation box, changed msg:uploadtext to reflect that
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:29:09 +0000 (14:29 +0000)]
* We no longer have the confirmation box, changed msg:uploadtext to reflect that

18 years ago* !empty( $par ) => $par != ''
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:22:23 +0000 (14:22 +0000)]
* !empty( $par ) => $par != ''
* Super optimizing

18 years ago* Fixed a bug, array_slice() called incorrectly
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:19:01 +0000 (14:19 +0000)]
* Fixed a bug, array_slice() called incorrectly

18 years ago* Code cleanup
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:11:32 +0000 (14:11 +0000)]
* Code cleanup

18 years agoFixed resource exhaustion problems due to long lines, e.g. http://en.wikipedia.org...
Tim Starling [Wed, 31 Aug 2005 02:22:05 +0000 (02:22 +0000)]
Fixed resource exhaustion problems due to long lines, e.g. en.wikipedia.org/w/index.php?title=New_Zealand&diff=prev&oldid=21847163

18 years agoeval() is evil! Improper escaping allowed, at a minimum, arbitrary global
Brion Vibber [Tue, 30 Aug 2005 23:06:40 +0000 (23:06 +0000)]
eval() is evil! Improper escaping allowed, at a minimum, arbitrary global
variable interpolations into Special:Upload output on malicious data
in MediaWiki:Licenses.