lhc/web/wiklou.git
18 years agoCollected updates:
Gabriel Wicke [Fri, 24 Mar 2006 17:10:43 +0000 (17:10 +0000)]
Collected updates:

* Always use example.com as domain in tests
* disabled invalid-char test, the invalid char seems to have gone missing
* Add test for External links: wiki links within external link (Bug 3695)
* extended test for Bug 2702: Mismatched <i>, <b> and <a> tags are invalid
* there should be no more empty <i> and <b> tags in the output
* Link to image page- image page normally doesn't exists, hence edit link
* update all section edit texts to use new link title format
* update fixed tests for invalid html in title/alt attributes (Bug 1887), add
  extra tests for this
* Fix typo in Cat link
* add test for fixed Bug 2095: link with pipe and three closing brackets
* update test for html id validation

18 years agoFix category test routine, unlink two more dirs
Gabriel Wicke [Fri, 24 Mar 2006 16:53:32 +0000 (16:53 +0000)]
Fix category test routine, unlink two more dirs

18 years agoValidate html ids properly, prefix if necessary
Gabriel Wicke [Fri, 24 Mar 2006 16:49:19 +0000 (16:49 +0000)]
Validate html ids properly, prefix if necessary

18 years agoDon't place html in alt/title attributes, especially with thumbnails
Gabriel Wicke [Fri, 24 Mar 2006 16:48:10 +0000 (16:48 +0000)]
Don't place html in alt/title attributes, especially with thumbnails

18 years agoHandle {{/subpage}} properly
Gabriel Wicke [Fri, 24 Mar 2006 16:44:52 +0000 (16:44 +0000)]
Handle {{/subpage}} properly

18 years agoFix JS injection vulnerability and test case
Gabriel Wicke [Fri, 24 Mar 2006 16:43:57 +0000 (16:43 +0000)]
Fix JS injection vulnerability and test case

18 years agoFix bug 2095: three closing brackets
Gabriel Wicke [Fri, 24 Mar 2006 16:40:31 +0000 (16:40 +0000)]
Fix bug 2095: three closing brackets

18 years agoHandle urls as external-url args
Gabriel Wicke [Fri, 24 Mar 2006 16:38:34 +0000 (16:38 +0000)]
Handle urls as external-url args

18 years agoThis is actually the table special case, the other was about script being wrapped...
Gabriel Wicke [Fri, 24 Mar 2006 16:37:43 +0000 (16:37 +0000)]
This is actually the table special case, the other was about script being wrapped in a paragraph

18 years agoProvide some cleanup if tidy is disabled:
Gabriel Wicke [Fri, 24 Mar 2006 16:36:29 +0000 (16:36 +0000)]
Provide some cleanup if tidy is disabled:

* fix invalid nesting of anchors and i/b
* remove empty i/b tags
* remove divs inside anchors

Fixes several test cases

18 years agospecial case: don't return an empty table, fixes test case
Gabriel Wicke [Fri, 24 Mar 2006 16:07:50 +0000 (16:07 +0000)]
special case: don't return an empty table, fixes test case

18 years agoMake size of thumb box for non-existent images consistent with common 180px default...
Gabriel Wicke [Fri, 24 Mar 2006 16:06:57 +0000 (16:06 +0000)]
Make size of thumb box for non-existent images consistent with common 180px default size; fixes a test case

18 years agoSome additional CSS rules for search result boxes
Jens Frank [Thu, 23 Mar 2006 22:35:26 +0000 (22:35 +0000)]
Some additional CSS rules for search result boxes

18 years agoUpdate default "exporttext" to reflect that Special:Import exists
Rob Church [Thu, 23 Mar 2006 13:20:43 +0000 (13:20 +0000)]
Update default "exporttext" to reflect that Special:Import exists

18 years agoSpecial:Export contributor list back in (default:off)
Magnus Manske [Thu, 23 Mar 2006 08:50:31 +0000 (08:50 +0000)]
Special:Export contributor list back in (default:off)
Set $wgExportAllowListContributors=true to turn it on

18 years agoUse the new unified functions for building user tools links.
Rob Church [Wed, 22 Mar 2006 22:03:09 +0000 (22:03 +0000)]
Use the new unified functions for building user tools links.

18 years agoRevert database-killing feature.
Brion Vibber [Wed, 22 Mar 2006 21:55:07 +0000 (21:55 +0000)]
Revert database-killing feature.

18 years agoRevert corruption... new abilities need a new spec version.
Brion Vibber [Wed, 22 Mar 2006 21:52:44 +0000 (21:52 +0000)]
Revert corruption... new abilities need a new spec version.

18 years agoFix stupid cockup -> $res->user_text not $res_user_text
Rob Church [Wed, 22 Mar 2006 17:16:53 +0000 (17:16 +0000)]
Fix stupid cockup -> $res->user_text not $res_user_text

18 years agoPerformance hacks to avoid killing the slaves;
Rob Church [Wed, 22 Mar 2006 17:15:40 +0000 (17:15 +0000)]
Performance hacks to avoid killing the slaves;

* Use a LinkBatch on the user and talk pages
* Use makeKnownLinkObj on the contributions pages

Thanks once again to Avar who saved me from stabbings. I leave tribute to him in the form of omission of a set of curly braces.

18 years ago* Fixed last and other commits to use proper escaping, don't put raw output
Ævar Arnfjörð Bjarmason [Wed, 22 Mar 2006 16:54:08 +0000 (16:54 +0000)]
* Fixed last and other commits to use proper escaping, don't put raw output
  from wfMsg() in HTML people!

18 years agoShow links to user page, talk page and contributions page on Special:Newpages
Rob Church [Wed, 22 Mar 2006 16:09:21 +0000 (16:09 +0000)]
Show links to user page, talk page and contributions page on Special:Newpages

18 years agoSpecial:Export can now return a list of contributors per article, without having to
Magnus Manske [Wed, 22 Mar 2006 13:17:44 +0000 (13:17 +0000)]
Special:Export can now return a list of contributors per article, without having to
 dump the entire history. It will not alter or slow exports unless specifically requested.
Note that export-0.3.xsd was slightly expanded for this; maybe we should move to 0.4?

18 years agoDocumentation
Tim Starling [Wed, 22 Mar 2006 04:58:53 +0000 (04:58 +0000)]
Documentation

18 years agodocumentation
Tim Starling [Wed, 22 Mar 2006 04:57:14 +0000 (04:57 +0000)]
documentation

18 years agoLong obsolete; apparently forgot to remove from this branch.
Brion Vibber [Tue, 21 Mar 2006 23:16:26 +0000 (23:16 +0000)]
Long obsolete; apparently forgot to remove from this branch.

18 years agouse proper user specification for offsets, fixes newbie issue
Domas Mituzas [Tue, 21 Mar 2006 21:21:06 +0000 (21:21 +0000)]
use proper user specification for offsets, fixes newbie issue

18 years agoSpecify both revisions in the diff link in IRC
Tim Starling [Tue, 21 Mar 2006 00:28:37 +0000 (00:28 +0000)]
Specify both revisions in the diff link in IRC

18 years agoStaged compilation for users. Extra local caching.
Tim Starling [Mon, 20 Mar 2006 13:18:44 +0000 (13:18 +0000)]
Staged compilation for users. Extra local caching.

18 years agofixed protection
Tim Starling [Mon, 20 Mar 2006 10:03:25 +0000 (10:03 +0000)]
fixed protection

18 years agofixed error reporting, fixed error
Tim Starling [Mon, 20 Mar 2006 09:23:41 +0000 (09:23 +0000)]
fixed error reporting, fixed error

18 years agofixed error reporting in evaluation of function returns
Tim Starling [Mon, 20 Mar 2006 09:23:18 +0000 (09:23 +0000)]
fixed error reporting in evaluation of function returns

18 years agoparanoid template escaping, fixing broken include directory when symlinked
Tim Starling [Mon, 20 Mar 2006 08:37:00 +0000 (08:37 +0000)]
paranoid template escaping, fixing broken include directory when symlinked

18 years agobackwards compatibility: keep SkinTemplate::getNameSpaceKey() but as a call to Title...
Tim Starling [Mon, 20 Mar 2006 08:25:34 +0000 (08:25 +0000)]
backwards compatibility: keep SkinTemplate::getNameSpaceKey() but as a call to Title::getNamespaceKey()

18 years agoFaster execution of generated code, by skipping CBTValue construction.
Tim Starling [Mon, 20 Mar 2006 08:10:01 +0000 (08:10 +0000)]
Faster execution of generated code, by skipping CBTValue construction.

18 years ago(bug 4114) Spacing in watchlist rows (in editing mode)
Rob Church [Mon, 20 Mar 2006 01:57:50 +0000 (01:57 +0000)]
(bug 4114) Spacing in watchlist rows (in editing mode)

18 years agoImplemented PHP code generation for CBT templates. With this method, the new skin...
Tim Starling [Sun, 19 Mar 2006 08:11:19 +0000 (08:11 +0000)]
Implemented PHP code generation for CBT templates. With this method, the new skin is 25% faster than the original monobook for anonymous page views.

18 years ago(bug 3047) Don't mention talk pages on Special:Movepage when there isn't one
Rob Church [Sun, 19 Mar 2006 04:43:57 +0000 (04:43 +0000)]
(bug 3047) Don't mention talk pages on Special:Movepage when there isn't one

18 years agoSupport a custom convert command for thumbnailing. See DefaultSettings.php and the...
Rob Church [Sun, 19 Mar 2006 03:16:17 +0000 (03:16 +0000)]
Support a custom convert command for thumbnailing. See DefaultSettings.php and the comments for $wgCustomConvertCommand, for more information.

18 years agoBe consistent with pronouns
Rob Church [Sat, 18 Mar 2006 23:24:15 +0000 (23:24 +0000)]
Be consistent with pronouns

18 years ago(bug 4729) Add user preference that marks a user's edits as patrolled if user is...
Rob Church [Sat, 18 Mar 2006 22:47:40 +0000 (22:47 +0000)]
(bug 4729) Add user preference that marks a user's edits as patrolled if user is able to

18 years ago* (bug 5286) Fix regression in display of missing/bad revision IDs
Brion Vibber [Sat, 18 Mar 2006 22:23:50 +0000 (22:23 +0000)]
* (bug 5286) Fix regression in display of missing/bad revision IDs

18 years ago(bug 4611) Add user preference (default on) to add new pages to creators's watchlist
Rob Church [Sat, 18 Mar 2006 19:22:33 +0000 (19:22 +0000)]
(bug 4611) Add user preference (default on) to add new pages to creators's watchlist

18 years ago* Remove deprecated $wgOnlySysopsCanPatrol references; use User::isAllowed( 'patrol...
Rob Church [Sat, 18 Mar 2006 16:07:17 +0000 (16:07 +0000)]
* Remove deprecated $wgOnlySysopsCanPatrol references; use User::isAllowed( 'patrol' ) per bug 5282. Patch by Alan Harder.

18 years agounused globals removed
Lupin [Sat, 18 Mar 2006 01:06:57 +0000 (01:06 +0000)]
unused globals removed

18 years ago* Don't URL-decode in the title attribute for URL links; it can produce false
Brion Vibber [Fri, 17 Mar 2006 01:02:14 +0000 (01:02 +0000)]
* Don't URL-decode in the title attribute for URL links; it can produce false
  results that don't code back to their original values.

18 years agoTests for bug 4781, 5267
Brion Vibber [Fri, 17 Mar 2006 00:29:46 +0000 (00:29 +0000)]
Tests for bug 4781, 5267

18 years ago* (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals
Brion Vibber [Fri, 17 Mar 2006 00:08:18 +0000 (00:08 +0000)]
* (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals
  from linktrail, as they're not used anywhere else.

18 years ago* (bug 5236) Load wikibits.js before site-customized javascript
Brion Vibber [Thu, 16 Mar 2006 23:41:37 +0000 (23:41 +0000)]
* (bug 5236) Load wikibits.js before site-customized javascript

18 years ago* Add a clickable contribs link in user tool links (rc, watchlist, diff view)
Brion Vibber [Thu, 16 Mar 2006 21:17:32 +0000 (21:17 +0000)]
* Add a clickable contribs link in user tool links (rc, watchlist, diff view)
  to see how people like it. (There was one in the old hacked-up diff view.)

18 years agoPrettify some linktrails by collapsing (?:|||) sequences to [] using the /u option
Brion Vibber [Thu, 16 Mar 2006 20:42:09 +0000 (20:42 +0000)]
Prettify some linktrails by collapsing (?:|||) sequences to [] using the /u option

18 years agoremove unnecessary private declaration so zwinger's php4 doesn't bitch about parse...
Brion Vibber [Thu, 16 Mar 2006 19:16:33 +0000 (19:16 +0000)]
remove unnecessary private declaration so zwinger's php4 doesn't bitch about parse errors for now

18 years ago* (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa
Brion Vibber [Thu, 16 Mar 2006 19:12:25 +0000 (19:12 +0000)]
* (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa

18 years ago* Further work on rev_deleted; changed to a bitfield with several data-hiding
Brion Vibber [Thu, 16 Mar 2006 19:04:25 +0000 (19:04 +0000)]
* Further work on rev_deleted; changed to a bitfield with several data-hiding
  options. Not yet ready for production use; Special:Revisiondelete is
  incomplete, and the flags are not preserved across page deletion/undeletion.
  To try it; add the 'deleterevision' permission to a privileged group.
Also split some functions from GlobalFunctions to XmlFunctions.php, added
some convenience functions for building form controls, some more Linker
conveniences for formatting various types of standard link clusters.

18 years agoExperimental callback-based template processor, including MonoBook port.
Tim Starling [Thu, 16 Mar 2006 03:03:53 +0000 (03:03 +0000)]
Experimental callback-based template processor, including MonoBook port.

18 years agoSave the last modified timestamp to the parser cache, to avoid the need for a revisio...
Tim Starling [Thu, 16 Mar 2006 02:57:44 +0000 (02:57 +0000)]
Save the last modified timestamp to the parser cache, to avoid the need for a revision row load on hits.

18 years agoMoved getNameSpaceKey() from SkinTemplate to title.
Tim Starling [Thu, 16 Mar 2006 02:51:11 +0000 (02:51 +0000)]
Moved getNameSpaceKey() from SkinTemplate to title.

18 years agoPreload existence of the three links commonly needed from the skin, thus reducing...
Tim Starling [Thu, 16 Mar 2006 02:47:49 +0000 (02:47 +0000)]
Preload existence of the three links commonly needed from the skin, thus reducing the page view query count. Added an extra parameter to getCopyright() to support MonoBookCBT.php

18 years agoDon't require an existence check before calling loadPageData(). Added an accessor...
Tim Starling [Thu, 16 Mar 2006 02:32:30 +0000 (02:32 +0000)]
Don't require an existence check before calling loadPageData(). Added an accessor for page_latest, faster than getRevIdFetched() when it's needed for the permalink in the sidebar. Added shortcut calling convention for loadPageData().

18 years agoClean up the history radio button handler a little bit in case someone does
Brion Vibber [Thu, 16 Mar 2006 01:34:07 +0000 (01:34 +0000)]
Clean up the history radio button handler a little bit in case someone does
something silly like trying to put other buttons or check boxes in there.
It'll now only operate on the oldid and diff bits; also it uses local
variables instead of globals (yecch).

18 years ago(bug 5246) Add speak:none to "hiddenStructure" class in main.css
Rob Church [Tue, 14 Mar 2006 15:10:16 +0000 (15:10 +0000)]
(bug 5246) Add speak:none to "hiddenStructure" class in main.css

18 years agoFixed bogus fallback to master in external storage.
Brion Vibber [Tue, 14 Mar 2006 00:47:58 +0000 (00:47 +0000)]
Fixed bogus fallback to master in external storage.
It was loading a second time from the slave, *and* the logging code had a typo so didn't show it.

18 years agoFix stupid mistake that caused the page not to be cached with the rest of them.
Rob Church [Mon, 13 Mar 2006 17:17:20 +0000 (17:17 +0000)]
Fix stupid mistake that caused the page not to be cached with the rest of them.

18 years agoreplace TYPE= with ENGINE=, (supported since 4.0, TYPE deprecated since 4.1)
Domas Mituzas [Sun, 12 Mar 2006 14:35:03 +0000 (14:35 +0000)]
replace TYPE= with ENGINE=, (supported since 4.0, TYPE deprecated since 4.1)

18 years ago* Fixed fatal error introduced by brion in version 1.20, wfDie() has not been
Ævar Arnfjörð Bjarmason [Sat, 11 Mar 2006 21:25:03 +0000 (21:25 +0000)]
* Fixed fatal error introduced by brion in version 1.20, wfDie() has not been
  defined at that point.

18 years agotrailing whitespace removal
Lupin [Sat, 11 Mar 2006 17:13:49 +0000 (17:13 +0000)]
trailing whitespace removal

18 years ago* (bug 5228) Workaround for broken LanguageConverter title overrides; avoid
Brion Vibber [Sat, 11 Mar 2006 07:55:42 +0000 (07:55 +0000)]
* (bug 5228) Workaround for broken LanguageConverter title overrides; avoid
  unnecessary hidden UI work when watch/unwatch is performed on edit

This was changing the title to the 'addedwatch' or 'removedwatch' messages
when checking/unchecking the watch box when saving edits. This bogus title
got saved in the parser cache and served back up. Affected sr, didn't test zh.

18 years ago&preload= is not just there because of the inputbox, and should not be moved
Erik Moeller [Thu, 9 Mar 2006 03:45:51 +0000 (03:45 +0000)]
&preload= is not just there because of the inputbox, and should not be moved
there.

18 years agoTypo in English messages file
Rob Church [Wed, 8 Mar 2006 13:57:58 +0000 (13:57 +0000)]
Typo in English messages file

18 years agofix unresponsive script warnings in Gecko browsers from checkbox shift-click setup
Lupin [Tue, 7 Mar 2006 14:56:08 +0000 (14:56 +0000)]
fix unresponsive script warnings in Gecko browsers from checkbox shift-click setup

18 years ago* Adding a trailing ?>
Ævar Arnfjörð Bjarmason [Tue, 7 Mar 2006 13:32:27 +0000 (13:32 +0000)]
* Adding a trailing ?>

18 years ago* (bug 5161) Don't try to load template list for nonexistent pages
Brion Vibber [Tue, 7 Mar 2006 04:23:09 +0000 (04:23 +0000)]
* (bug 5161) Don't try to load template list for nonexistent pages

18 years agoundeclared globals
Lupin [Tue, 7 Mar 2006 04:00:43 +0000 (04:00 +0000)]
undeclared globals

18 years agofixed whitespace
Tim Starling [Tue, 7 Mar 2006 02:08:24 +0000 (02:08 +0000)]
fixed whitespace

18 years agofix whitespace fixes
Lupin [Tue, 7 Mar 2006 01:41:55 +0000 (01:41 +0000)]
fix whitespace fixes

18 years agoremoving unused globals and some whitespace cleaning
Lupin [Tue, 7 Mar 2006 01:10:39 +0000 (01:10 +0000)]
removing unused globals and some whitespace cleaning

18 years agoUpdate of Chuvash langfile
Alexander Sigachov [Mon, 6 Mar 2006 21:58:54 +0000 (21:58 +0000)]
Update of Chuvash langfile

18 years agoUpdate of Russian langfile
Alexander Sigachov [Mon, 6 Mar 2006 20:28:04 +0000 (20:28 +0000)]
Update of Russian langfile

18 years agoindenting
Tim Starling [Mon, 6 Mar 2006 13:52:21 +0000 (13:52 +0000)]
indenting

18 years agobetter IRC lines for log entries
Tim Starling [Mon, 6 Mar 2006 13:51:58 +0000 (13:51 +0000)]
better IRC lines for log entries

18 years ago(bug 2115) Support shift-selecting multiple checkboxes with javascript
Lupin [Mon, 6 Mar 2006 04:24:57 +0000 (04:24 +0000)]
(bug 2115) Support shift-selecting multiple checkboxes with javascript

18 years agowhitespace
Lupin [Mon, 6 Mar 2006 04:20:20 +0000 (04:20 +0000)]
whitespace

18 years agowhitespace
Lupin [Sun, 5 Mar 2006 06:33:56 +0000 (06:33 +0000)]
whitespace

18 years agoReplaced codepointToUtf8 calls with string literals, should save a few milliseconds...
Tim Starling [Sun, 5 Mar 2006 03:03:03 +0000 (03:03 +0000)]
Replaced codepointToUtf8 calls with string literals, should save a few milliseconds according to xdebug. Ran unit test.

18 years ago(bug 5167) Add {{SUBPAGENAME}} variable
Rob Church [Sat, 4 Mar 2006 23:29:46 +0000 (23:29 +0000)]
(bug 5167) Add {{SUBPAGENAME}} variable

18 years agoExtra whitespace on file -- breaks headers, RSS output, captcha image, etc
Brion Vibber [Sat, 4 Mar 2006 21:32:04 +0000 (21:32 +0000)]
Extra whitespace on file -- breaks headers, RSS output, captcha image, etc

18 years agoReally hide live preview when not enabled
Niklas Laxström [Sat, 4 Mar 2006 16:17:23 +0000 (16:17 +0000)]
Really hide live preview when not enabled

18 years ago(bug 4855) Section edit links now have the section name in the title attribute
Lupin [Sat, 4 Mar 2006 03:24:33 +0000 (03:24 +0000)]
(bug 4855) Section edit links now have the section name in the title attribute

18 years ago* (bug 5152) Proper HTML escaping on subpage breadcrumbs
Brion Vibber [Fri, 3 Mar 2006 08:13:13 +0000 (08:13 +0000)]
* (bug 5152) Proper HTML escaping on subpage breadcrumbs

18 years ago(bug 5150 and related) Fix missing ID attribute in HTML namespace selector
Rob Church [Fri, 3 Mar 2006 07:27:38 +0000 (07:27 +0000)]
(bug 5150 and related) Fix missing ID attribute in HTML namespace selector

18 years agofixah!
Niklas Laxström [Thu, 2 Mar 2006 23:23:30 +0000 (23:23 +0000)]
fixah!

18 years agoAdding da translation for tagline
Anders Wegge Jakobsen [Thu, 2 Mar 2006 23:02:51 +0000 (23:02 +0000)]
Adding da translation for tagline

18 years ago*BOOM*
Niklas Laxström [Thu, 2 Mar 2006 22:22:18 +0000 (22:22 +0000)]
*BOOM*
* (bug 3993) Variants for Serbian language

18 years ago* (bug 5105) Magic words for LanguageAr.php
Niklas Laxström [Thu, 2 Mar 2006 15:51:42 +0000 (15:51 +0000)]
* (bug 5105) Magic words for LanguageAr.php

18 years ago* (bug 5141) Gracefully handle the new account link when createaccount off
Brion Vibber [Thu, 2 Mar 2006 04:57:07 +0000 (04:57 +0000)]
* (bug 5141) Gracefully handle the new account link when createaccount off

18 years agoFix use of wrong variable when setting $wgDBadminpassword; use $db_pass (the temp...
Rob Church [Thu, 2 Mar 2006 02:57:38 +0000 (02:57 +0000)]
Fix use of wrong variable when setting $wgDBadminpassword; use $db_pass (the temp. var.) not $wgDBpassword

18 years agoDon't change the password of the MySQL root user
Tim Starling [Thu, 2 Mar 2006 02:35:44 +0000 (02:35 +0000)]
Don't change the password of the MySQL root user

18 years agoDon't touch the administrator account! Bug 5043.
Tim Starling [Thu, 2 Mar 2006 02:21:12 +0000 (02:21 +0000)]
Don't touch the administrator account! Bug 5043.

18 years agooops, update release notes (bug 4273)
Lupin [Wed, 1 Mar 2006 23:46:25 +0000 (23:46 +0000)]
oops, update release notes (bug 4273)

18 years agoPatch for bug 4273: "New section" editing page should not submit when user hits Enter...
Lupin [Wed, 1 Mar 2006 23:00:07 +0000 (23:00 +0000)]
Patch for bug 4273: "New section" editing page should not submit when user hits Enter in Summary field.