lhc/web/wiklou.git
14 years ago(bug 19090) Added watchlist parameter, deprecated watch and unwatch parameter in...
Bryan Tong Minh [Tue, 14 Jul 2009 20:48:00 +0000 (20:48 +0000)]
(bug 19090) Added watchlist parameter, deprecated watch and unwatch parameter in action=edit

14 years ago(bug 19040) Fix prependtext and appendtext in combination with section parameter...
Bryan Tong Minh [Tue, 14 Jul 2009 20:14:47 +0000 (20:14 +0000)]
(bug 19040) Fix prependtext and appendtext in combination with section parameter in action=edit

14 years agomissing globals
Alexandre Emsenhuber [Tue, 14 Jul 2009 18:44:32 +0000 (18:44 +0000)]
missing globals

14 years agoDeafulted to a 0 minimum width on modern FF browsers.
Trevor Parscal [Tue, 14 Jul 2009 17:44:06 +0000 (17:44 +0000)]
Deafulted to a 0 minimum width on modern FF browsers.

14 years agoMore RTL fixes and also another fix to r52944 which broke the inclusion of common...
Trevor Parscal [Tue, 14 Jul 2009 17:39:00 +0000 (17:39 +0000)]
More RTL fixes and also another fix to r52944 which broke the inclusion of common/IEFixes.js

14 years agoLocalisation updates for core messages from translatewiki.net (2009-07-14 12:50 UTC)
Raimond Spekking [Tue, 14 Jul 2009 13:47:58 +0000 (13:47 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-14 12:50 UTC)

14 years ago* Fix typo in Linker.php
Roan Kattouw [Tue, 14 Jul 2009 13:35:07 +0000 (13:35 +0000)]
* Fix typo in Linker.php
* Only call ParserOutput::setTOCHTML() if a TOC was really generated

14 years agoRevert r53147 properly; was supposed to be reverted in r53167, but I wasn't fully...
Roan Kattouw [Tue, 14 Jul 2009 08:44:58 +0000 (08:44 +0000)]
Revert r53147 properly; was supposed to be reverted in r53167, but I wasn't fully awake at the time.

14 years agoMore IE fixes for RTL, getting quite close now.
Trevor Parscal [Tue, 14 Jul 2009 07:25:50 +0000 (07:25 +0000)]
More IE fixes for RTL, getting quite close now.

14 years agoRefactor of Vector skin output and RTL strategy. Needs more testing, but it seems...
Trevor Parscal [Tue, 14 Jul 2009 04:55:19 +0000 (04:55 +0000)]
Refactor of Vector skin output and RTL strategy. Needs more testing, but it seems to be working very well so far.

14 years agoUse parentheses for reliability
Aryeh Gregor [Tue, 14 Jul 2009 00:55:17 +0000 (00:55 +0000)]
Use parentheses for reliability

Follow-up to r53196.

14 years agoAdded more instructions to the comments to do with cssjanus.
Trevor Parscal [Mon, 13 Jul 2009 22:57:24 +0000 (22:57 +0000)]
Added more instructions to the comments to do with cssjanus.

14 years agoFixed bug caused in r52944 - where the inclusion of csshover.htc was lost in the...
Trevor Parscal [Mon, 13 Jul 2009 22:48:47 +0000 (22:48 +0000)]
Fixed bug caused in r52944 - where the inclusion of csshover.htc was lost in the move towards $wgOut->headElement(). Also, simplified the LTR/RTL inclusion - bringing the logic into the output page object.

14 years agoResolved some link coloring issues in the navigation tabs. Regenerated the RTL styles...
Trevor Parscal [Mon, 13 Jul 2009 22:18:28 +0000 (22:18 +0000)]
Resolved some link coloring issues in the navigation tabs. Regenerated the RTL stylesheet using cssjanus. Made comments more logical for this type of operation.

14 years agoMoved buildNavigationUrls back into Vector to make deployment more sane for now ...
Trevor Parscal [Mon, 13 Jul 2009 22:14:43 +0000 (22:14 +0000)]
Moved buildNavigationUrls back into Vector to make deployment more sane for now - this action will likely be reversed in the future when head is deployable.

14 years ago(bug 19571) Override buildConcat for SQLite.
Bryan Tong Minh [Mon, 13 Jul 2009 21:56:24 +0000 (21:56 +0000)]
(bug 19571) Override buildConcat for SQLite.

14 years agoAdd the 403 fix from r49833 to RawPage as well.
Bryan Tong Minh [Mon, 13 Jul 2009 21:39:57 +0000 (21:39 +0000)]
Add the 403 fix from r49833 to RawPage as well.

14 years ago(bug 19528) Added XSLT parameter to API queries in format=xml
Bryan Tong Minh [Mon, 13 Jul 2009 21:37:49 +0000 (21:37 +0000)]
(bug 19528) Added XSLT parameter to API queries in format=xml

14 years agofix syntax error
Robin Pepermans [Mon, 13 Jul 2009 20:27:34 +0000 (20:27 +0000)]
fix syntax error

14 years agoFixed display issue when raising font size really high, tabs would show background...
Trevor Parscal [Mon, 13 Jul 2009 20:22:41 +0000 (20:22 +0000)]
Fixed display issue when raising font size really high, tabs would show background color, which is needed for displaying without images.

14 years agoRemove is_khtml condition from prefs.js -- KHTMLFixes.css has been deleted
Andrew Garrett [Mon, 13 Jul 2009 20:16:07 +0000 (20:16 +0000)]
Remove is_khtml condition from prefs.js -- KHTMLFixes.css has been deleted

14 years agoFixing a syntax error in rtl.css.
Rotem Liss [Mon, 13 Jul 2009 18:43:06 +0000 (18:43 +0000)]
Fixing a syntax error in rtl.css.

14 years agoFix dodgy uses of wfMsgHtml() and related HTML escaping
Tim Starling [Mon, 13 Jul 2009 15:36:41 +0000 (15:36 +0000)]
Fix dodgy uses of wfMsgHtml() and related HTML escaping

14 years agoFollowup to r53087 / r53052 - Change dieUsage to setWarning per CodeReview
Alex Z [Mon, 13 Jul 2009 14:54:38 +0000 (14:54 +0000)]
Followup to r53087 / r53052 - Change dieUsage to setWarning per CodeReview

15 years agoRevert r53147, r53149 and r53163 ("Add API module for QueryPage-based special pages...
Roan Kattouw [Mon, 13 Jul 2009 12:40:19 +0000 (12:40 +0000)]
Revert r53147, r53149 and r53163 ("Add API module for QueryPage-based special pages"): this has already been worked on more extensively and cleanly in the querypage-work branch, if you wanna work on this please finalize the implementation there rather than reinventing the wheel.

15 years ago* Added ancientpages, deadendpages and disambiguations to ApiQueryQuerypage
Bryan Tong Minh [Mon, 13 Jul 2009 10:40:29 +0000 (10:40 +0000)]
* Added ancientpages, deadendpages and disambiguations to ApiQueryQuerypage
* Added information about disabledness and cache to result

15 years agoDidn't mean to commit this, but the lovely svn automatically added it for me
Niklas Laxström [Mon, 13 Jul 2009 10:36:44 +0000 (10:36 +0000)]
Didn't mean to commit this, but the lovely svn automatically added it for me

15 years agoSome escaping fixes and related readability changes
Niklas Laxström [Mon, 13 Jul 2009 10:34:31 +0000 (10:34 +0000)]
Some escaping fixes and related readability changes

15 years agoRELEASE-NOTES entry for r53159
Alexandre Emsenhuber [Mon, 13 Jul 2009 09:59:04 +0000 (09:59 +0000)]
RELEASE-NOTES entry for r53159

15 years ago(bug 19693) escape user link in contribution link
Alexandre Emsenhuber [Mon, 13 Jul 2009 09:42:37 +0000 (09:42 +0000)]
(bug 19693) escape user link in contribution link

15 years agoRemove redundant RELEASE-NOTES line
Aryeh Gregor [Mon, 13 Jul 2009 00:03:08 +0000 (00:03 +0000)]
Remove redundant RELEASE-NOTES line

It's already stated that the <a> element has been removed entirely, so
there's no need to say that its name attribute has been removed.

15 years agoRemoved repetition of URIs in the title attributes (tooltips) of external links....
Remember the dot [Sun, 12 Jul 2009 23:32:16 +0000 (23:32 +0000)]
Removed repetition of URIs in the title attributes (tooltips) of external links. Web browsers typically display the target URIs of links in the status bar, making repeating the URIs in tooltips redundant. Some browsers, like Opera, can be configured to display the URIs in tooltips instead of the status bar without the web page having to supply title attributes at all.

As part of this process, I refactored some of Linker.php and removed an unused parameter from getExternalLinkAttributes.

15 years ago(bug 14869) Allow access to QueryPage-based special pages via API
Bryan Tong Minh [Sun, 12 Jul 2009 21:51:47 +0000 (21:51 +0000)]
(bug 14869) Allow access to QueryPage-based special pages via API
Only brokenredirects for now, until I find out which other special pages are suitable.

15 years agoRefactored the querying code out of the display code, to allow a future API module...
Bryan Tong Minh [Sun, 12 Jul 2009 21:16:58 +0000 (21:16 +0000)]
Refactored the querying code out of the display code, to allow a future API module for query pages. No user visible changes.

15 years agoDo not load old CSS fixes for new browsers
Aryeh Gregor [Sun, 12 Jul 2009 18:52:32 +0000 (18:52 +0000)]
Do not load old CSS fixes for new browsers

It's bad form to load a fix for "version X and later".  That means that
if the browser vendor fixes the underlying bug, they'll be served
incorrect markup and break.  On the other hand, if you check for just
"version X", then if they fix the bug they'll be fine, but if they
*don't* fix the bug they'll break, which is as it should be.  :)

Specifically, I disabled loading RTL fixes for Opera 9.6: my testing
shows that they worsen display, don't improve it.  All other fixes were
already not being loaded for browsers later than they should have been.
(Other than the five-year-old KHTML fix I removed outright in r53141,
which was loading for modern-day Safari and Chrome despite the
underlying bug very possibly having been fixed before WebKit even
existed . . .)

While I was at it, I made the variable names a bit saner.  I kept the
old weird ones (none are clear on which versions they include) for
backward compatibility in case scripts were relying on them.  Except
is_ff2_, which was so atrociously named that I had to put it out of its
misery.  For the others, I added new xxx_bugs variables to make it clear
that's all they were tracking.

15 years agoRe-enable $wgHtml5
Aryeh Gregor [Sun, 12 Jul 2009 18:36:31 +0000 (18:36 +0000)]
Re-enable $wgHtml5

The rendering issue that prompted r53137 has been fixed in r53141.
However, everyone should be on the lookout for browsers becoming
slightly more standards-compliant when this is enabled, possibly
breaking some things.  Since there are no known issues, it should be
safe to re-enable so it can get further testing.  See this page for info
on the effects of different doctypes:

http://hsivonen.iki.fi/doctype/

15 years agoRemove KHTMLFixes.css
Aryeh Gregor [Sun, 12 Jul 2009 18:36:18 +0000 (18:36 +0000)]
Remove KHTMLFixes.css

This was added more than five years ago, in r3532.  It was being loaded
for WebKit as well as KHTML, and I could notice no difference in either
Chrome or Konqueror whether it was loaded or not.  It was responsible
for causing display errors with an HTML 5 doctype in WebKit.

15 years agoTurn off $wgHtml5 by default
Aryeh Gregor [Sun, 12 Jul 2009 17:55:18 +0000 (17:55 +0000)]
Turn off $wgHtml5 by default

I discovered that the HTML 5 doctype does in fact trigger standards
mode in all major browsers . . . but the old XHTML 1.0 Transitional
doctype we were using did *not*.  It triggers "almost standards mode" in
some browsers.  The difference is causing some rendering issues that
will have to block deployment for the moment.

See r53034, r53035, r53136.

15 years agoFix for r53034: left off \n on doctype
Aryeh Gregor [Sun, 12 Jul 2009 16:58:33 +0000 (16:58 +0000)]
Fix for r53034: left off \n on doctype

I knew it had to be impossible to change two lines without breaking
something.  :)

15 years ago(bug 18533) Add readonly reason to readonly exception
Bryan Tong Minh [Sun, 12 Jul 2009 12:38:03 +0000 (12:38 +0000)]
(bug 18533) Add readonly reason to readonly exception

15 years ago(bug 17809) Add number of users in user groups to meta=siteinfo
Bryan Tong Minh [Sun, 12 Jul 2009 12:10:27 +0000 (12:10 +0000)]
(bug 17809) Add number of users in user groups to meta=siteinfo

15 years agoAdded $wgShowArchiveThumbnails, may be useful for file store backend load reduction.
Tim Starling [Sun, 12 Jul 2009 05:37:12 +0000 (05:37 +0000)]
Added $wgShowArchiveThumbnails, may be useful for file store backend load reduction.

15 years agoRevert unintended change from r53128
Roan Kattouw [Sun, 12 Jul 2009 00:31:53 +0000 (00:31 +0000)]
Revert unintended change from r53128

15 years agoBump $wgStyleVersion for all the Vector-related fixes made in the past week or so.
Roan Kattouw [Sun, 12 Jul 2009 00:30:09 +0000 (00:30 +0000)]
Bump $wgStyleVersion for all the Vector-related fixes made in the past week or so.

15 years agofollow-up r53116: let's just delete the files since the feature was reverted in r4140...
Alexandre Emsenhuber [Sat, 11 Jul 2009 19:07:55 +0000 (19:07 +0000)]
follow-up r53116: let's just delete the files since the feature was reverted in r41405 but these files were not deleted

15 years agorenamed NAMESPACE constant to NAMESPACE_RESTRICTION (and PAGE to PAGE_RESTRICTION...
Alexandre Emsenhuber [Sat, 11 Jul 2009 18:09:30 +0000 (18:09 +0000)]
renamed NAMESPACE constant to NAMESPACE_RESTRICTION (and PAGE to PAGE_RESTRICTION for consistency) to avoid E_PARSE on PHP 5.3+

15 years agoAdd function-like tag hooks. They are tags, which content is not preprocessed. Those...
Victor Vasiliev [Sat, 11 Jul 2009 13:03:35 +0000 (13:03 +0000)]
Add function-like tag hooks. They are tags, which content is not preprocessed. Those hooks has access to PPFrame and are parsed on preprocessing stage. They might be useful for built-in programming languages.

15 years agoAdd search term to search-nonefound since wiktionaries want it.
Robert Stojnić [Sat, 11 Jul 2009 10:28:23 +0000 (10:28 +0000)]
Add search term to search-nonefound since wiktionaries want it.

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 11 Jul 2009 09:16:52 +0000 (09:16 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agogood catch, $wgServer definitely needs trailing slash added =)
Domas Mituzas [Sat, 11 Jul 2009 08:15:37 +0000 (08:15 +0000)]
good catch, $wgServer definitely needs trailing slash added =)

15 years agoFix Bug#19637 - self-referencing externals will be by default filtered out
Domas Mituzas [Sat, 11 Jul 2009 08:04:31 +0000 (08:04 +0000)]
Fix Bug#19637 - self-referencing externals will be by default filtered out

15 years agoUpdated RELEASE-NOTES for r52963 and r53033
Remember the dot [Sat, 11 Jul 2009 05:00:19 +0000 (05:00 +0000)]
Updated RELEASE-NOTES for r52963 and r53033

15 years agoUpdated parser tests for r52726. Also fixed some corner cases and updated the parser...
Remember the dot [Sat, 11 Jul 2009 04:47:12 +0000 (04:47 +0000)]
Updated parser tests for r52726. Also fixed some corner cases and updated the parser test for PMID links.

15 years agoFollowup to r53052 - Die if someone tries to use the namespace filter, rather than...
Alex Z [Fri, 10 Jul 2009 23:46:13 +0000 (23:46 +0000)]
Followup to r53052 - Die if someone tries to use the namespace filter, rather than silently igoring it.
Add a note if its disabled in the param description

15 years agoFix up r52413: readd missing line per CR comment
Roan Kattouw [Fri, 10 Jul 2009 22:10:02 +0000 (22:10 +0000)]
Fix up r52413: readd missing line per CR comment

15 years agodon't allow querying specific namespace if misermode is enabled
Domas Mituzas [Fri, 10 Jul 2009 13:55:48 +0000 (13:55 +0000)]
don't allow querying specific namespace if misermode is enabled

15 years agoMade wfMsg('') and wfMsg(null) silently return &lt;&gt; as it did before r52503....
Tim Starling [Fri, 10 Jul 2009 11:54:32 +0000 (11:54 +0000)]
Made wfMsg('') and wfMsg(null) silently return &lt;&gt; as it did before r52503. Thanks to those who supplied backtraces.

15 years ago(bug 19620) Allow to convert a string immediately after a new rule added.
Philip Tzou [Fri, 10 Jul 2009 11:45:08 +0000 (11:45 +0000)]
(bug 19620) Allow to convert a string immediately after a new rule added.

15 years ago* (bug 19630) Add linktrail to Turkmen
Raimond Spekking [Fri, 10 Jul 2009 10:38:43 +0000 (10:38 +0000)]
* (bug 19630) Add linktrail to Turkmen

15 years agoRELEASE-NOTES for r53034
Aryeh Gregor [Fri, 10 Jul 2009 04:24:31 +0000 (04:24 +0000)]
RELEASE-NOTES for r53034

15 years agoExperimentally enable HTML 5 doctype
Aryeh Gregor [Fri, 10 Jul 2009 04:19:51 +0000 (04:19 +0000)]
Experimentally enable HTML 5 doctype

Per wikitech-l discussion.  This also removes a <meta> tag that was
completely pointless, but theoretically required by XHTML 1, yet causes
the HTML 5 validator to complain.

Together with a few other recent commits, this should cause at least
Special:BlankPage to validate as HTML 5.  Real pages may still have some
invalid markup that should be fixed -- in a large majority of cases,
markup that was poor practice in XHTML as well.  (The Wikimedia
copyright icon needs to have border="0" removed for everything to
validate 100% on Wikipedia.)

By Brion's request, this is still behind a config option, and can be
disabled with $wgHtml5 = false;.  I expect we'll be able to remove that
option in the near future, once everyone is satisfied that changing two
lines of HTML output that all browsers have demonstrably ignored since
the Paleolithic won't cause all Wikipedia users' computers to undergo a
spontaneous uncontrolled fission reaction or something.

15 years agoRemove stray name="" from anchors (cf. r52963)
Aryeh Gregor [Fri, 10 Jul 2009 04:19:33 +0000 (04:19 +0000)]
Remove stray name="" from anchors (cf. r52963)

15 years agoFinish cross-skin unification of <head>
Aryeh Gregor [Fri, 10 Jul 2009 02:13:02 +0000 (02:13 +0000)]
Finish cross-skin unification of <head>

Vector and Modern are now using $wgOut->headElement(), finishing the
work that r52864 started.  -80 lines net.

15 years agoAdded no-text-transform class for use with extra personal tools which should not...
Trevor Parscal [Thu, 9 Jul 2009 21:27:59 +0000 (21:27 +0000)]
Added no-text-transform class for use with extra personal tools which should not be lowercase.

15 years agoFixed IE bug that caused some rendering problems with floated content because of...
Trevor Parscal [Thu, 9 Jul 2009 17:08:30 +0000 (17:08 +0000)]
Fixed IE bug that caused some rendering problems with floated content because of the assumed width of bodyContent.

15 years agoRelease notes updates for r52983
Andrew Garrett [Thu, 9 Jul 2009 15:19:05 +0000 (15:19 +0000)]
Release notes updates for r52983

15 years ago* Allow leading-> as syntax for quoting.
Andrew Garrett [Thu, 9 Jul 2009 15:17:56 +0000 (15:17 +0000)]
* Allow leading-> as syntax for quoting.

15 years agoUpdate the Chinese conversion tables.
Philip Tzou [Thu, 9 Jul 2009 13:44:55 +0000 (13:44 +0000)]
Update the Chinese conversion tables.

15 years agoRemoved redundant anchors from headings as suggested by Aryeh Gregor on wikitech...
Remember the dot [Thu, 9 Jul 2009 03:50:49 +0000 (03:50 +0000)]
Removed redundant anchors from headings as suggested by Aryeh Gregor on wikitech-l. Even IE6 supports jumping to elements by ID using URLs, so there is no need to make this any more complicated than it has to be.

15 years agoRemove redundant no-op implementations
Aryeh Gregor [Thu, 9 Jul 2009 01:04:10 +0000 (01:04 +0000)]
Remove redundant no-op implementations

Followup to r52951.

15 years agoAdjust error message to be clearer for empty var
Aryeh Gregor [Thu, 9 Jul 2009 01:03:57 +0000 (01:03 +0000)]
Adjust error message to be clearer for empty var

15 years ago(bug 19602) PubMed Magic links use outdated URL pattern
Chad Horohoe [Thu, 9 Jul 2009 00:28:01 +0000 (00:28 +0000)]
(bug 19602) PubMed Magic links use outdated URL pattern

15 years ago(bug 19591) Move setBigSelects() to DatabaseMysql
Chad Horohoe [Thu, 9 Jul 2009 00:14:43 +0000 (00:14 +0000)]
(bug 19591) Move setBigSelects() to DatabaseMysql

15 years agoLocalisation updates for core messages from translatewiki.net (2009-07-08 22:14 UTC)
Siebrand Mazeland [Wed, 8 Jul 2009 22:21:16 +0000 (22:21 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-08 22:14 UTC)

15 years agoMoved buildNavigationUrls into SkinTemplate from SkinVector which inherits SkinTempla...
Trevor Parscal [Wed, 8 Jul 2009 20:59:59 +0000 (20:59 +0000)]
Moved buildNavigationUrls into SkinTemplate from SkinVector which inherits SkinTemplate - as was originally intended.

15 years agoLocalization update.
Rotem Liss [Wed, 8 Jul 2009 20:04:17 +0000 (20:04 +0000)]
Localization update.

15 years ago* (bug 17712) fix the hardcoded link on 'newarticletext' for zh message series.
Shinjiman [Wed, 8 Jul 2009 19:57:53 +0000 (19:57 +0000)]
* (bug 17712) fix the hardcoded link on 'newarticletext' for zh message series.

15 years agoMake this error more understandable to someone who runs this script expecting that...
Ævar Arnfjörð Bjarmason [Wed, 8 Jul 2009 19:26:15 +0000 (19:26 +0000)]
Make this error more understandable to someone who runs this script expecting that it has a working getopt implementation

15 years agoResolves issue in #19185 where, in text only browsers, headings of personal tools...
Trevor Parscal [Wed, 8 Jul 2009 19:12:13 +0000 (19:12 +0000)]
Resolves issue in #19185 where, in text only browsers, headings of personal tools were shown even if no personal tools were available. This was also the case with namespaces aparently.

15 years agodocumenting EditPage::importFormData
ThomasV [Wed, 8 Jul 2009 18:47:46 +0000 (18:47 +0000)]
documenting EditPage::importFormData

15 years agoadding web request parameter for consistency
ThomasV [Wed, 8 Jul 2009 18:19:07 +0000 (18:19 +0000)]
adding web request parameter for consistency

15 years agoResolves bug #19599 using specific rules rather than !important
Trevor Parscal [Wed, 8 Jul 2009 18:02:17 +0000 (18:02 +0000)]
Resolves bug #19599 using specific rules rather than !important

15 years agoFix up hook docs for SkinTemplateNavigation
Roan Kattouw [Wed, 8 Jul 2009 17:59:08 +0000 (17:59 +0000)]
Fix up hook docs for SkinTemplateNavigation

15 years agotypo
Aaron Schulz [Wed, 8 Jul 2009 17:23:26 +0000 (17:23 +0000)]
typo

15 years agofix for r52864: PHP Strict Standards: Declaration of SkinStandard::getHeadScripts...
Alexandre Emsenhuber [Wed, 8 Jul 2009 17:09:41 +0000 (17:09 +0000)]
fix for r52864: PHP Strict Standards:  Declaration of SkinStandard::getHeadScripts() should be compatible with that of Skin::getHeadScripts() in includes/Skin.php on line 141

15 years agoAgressive optimization of images, as well as merging of images which are identical.
Trevor Parscal [Wed, 8 Jul 2009 17:08:29 +0000 (17:08 +0000)]
Agressive optimization of images, as well as merging of images which are identical.

15 years agoFix missing global declaration
Roan Kattouw [Wed, 8 Jul 2009 17:07:39 +0000 (17:07 +0000)]
Fix missing global declaration

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Wed, 8 Jul 2009 13:51:16 +0000 (13:51 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agofollow-up r52858: remove unused "global $wgMessageCache;"
Alexandre Emsenhuber [Wed, 8 Jul 2009 09:38:03 +0000 (09:38 +0000)]
follow-up r52858: remove unused "global $wgMessageCache;"

15 years agoAdded missing static keyword
Tim Starling [Wed, 8 Jul 2009 08:42:13 +0000 (08:42 +0000)]
Added missing static keyword

15 years agoFollow-up to r52888:
Siebrand Mazeland [Wed, 8 Jul 2009 08:21:52 +0000 (08:21 +0000)]
Follow-up to r52888:
* add new message to messages.inc
* rewording and trailing whitespace trim for 'view-pool-error'

15 years agoImplemented the PoolCounter feature and did some general refactoring in the areas...
Tim Starling [Wed, 8 Jul 2009 08:12:35 +0000 (08:12 +0000)]
Implemented the PoolCounter feature and did some general refactoring in the areas that it touched.

* Renamed Article::outputFromWikitext() to Article::getOutputFromWikitext()
* Factored out cascade protection updates
* Removed recently-added Article::tryParserCache(): misnamed, can be done in one line of code in the caller. Deprecated OutputPage::tryParserCache().
* Made some functions public instead of protected when they could be useful from hooks.
* In ParserCache, removed PHP 4-style ampersands

In Article::view():
* Factored out robot policy logic, "redirected from" header, patrol footer, diff page, revdelete header, CSS/JS formatting, footer, namespace header, missing article error
* Removed some variables, renamed some others, fixed incorrect use of empty()
* Used the refactored footer section to do a couple of early returns and unindent a massive if(!$outputDone) block
* Removed fantasy interpretation of $this->getContent()===false in comment
* Don't try the parser cache when ArticleViewHeader specified $outputDone=true
* Move timing hack to getOutputFromWikitext()
* Stop using $wgOut->parserOptions() with save/restore nonsense every time you want to change something in it. This is meant to be OOP.
* Don't overwrite the article text with an error message and then pretend to write it to the cache, that's confusing

15 years agoMake importScriptURI() use a <link> in all cases.
Alex Z [Wed, 8 Jul 2009 04:52:22 +0000 (04:52 +0000)]
Make importScriptURI() use a <link> in all cases.
Previously it used document.createStyleSheet for IE (which appears to be the only browser that supports it) or @import for everything else

15 years agoFix weird calling convention for Skin::makeGlobalVariablesScript
Aryeh Gregor [Wed, 8 Jul 2009 04:38:01 +0000 (04:38 +0000)]
Fix weird calling convention for Skin::makeGlobalVariablesScript

15 years agoFixed fatal error breakage (bug 19562)
Aaron Schulz [Wed, 8 Jul 2009 00:35:47 +0000 (00:35 +0000)]
Fixed fatal error breakage (bug 19562)

15 years agoResolved problem with classes being defined twice.
Trevor Parscal [Wed, 8 Jul 2009 00:22:18 +0000 (00:22 +0000)]
Resolved problem with classes being defined twice.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-07-07 22:10 UTC)
Siebrand Mazeland [Tue, 7 Jul 2009 22:19:47 +0000 (22:19 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-07 22:10 UTC)

15 years agoCommit 52503 which introduced l10n caching didn't add 'l10n_cache' to
Ævar Arnfjörð Bjarmason [Tue, 7 Jul 2009 22:09:34 +0000 (22:09 +0000)]
Commit 52503 which introduced l10n caching didn't add 'l10n_cache' to
the list of MW tables in the parserTests. So to temporary
parsertest_table was created.

This broke the parserTests with the error: Table 'wikidb.parsertest_l10n_cache' doesn't exist (localhost)

15 years agoUnify MonoBook <head> generation with legacy skins
Aryeh Gregor [Tue, 7 Jul 2009 21:49:45 +0000 (21:49 +0000)]
Unify MonoBook <head> generation with legacy skins

This was less work than I thought it would be.  The only possible
practical difference in MonoBook should be that some IE fixes are moved
down; at a glance, I don't see how this would hurt anything, but if it
does then some more hacks can be added to move them back up.

A bunch of whitespace was changed in both MonoBook and legacy skins.
Legacy skins had some stuff moved around in the <head>, but mainly to
better match MonoBook, so they should work better if anything, not
worse.  dir= was added to the <body> in legacy skins, matching MonoBook.
There should be no other practical differences.

I would strongly encourage people to port the Modern and Vector skins to
at least share the <head>-generation code like this.  I'd even more
strongly encourage people to totally rewrite the skin system, but that's
a bigger job.  :)

15 years agoLocalization update for he.
Rotem Liss [Tue, 7 Jul 2009 21:20:45 +0000 (21:20 +0000)]
Localization update for he.