Trevor Parscal [Mon, 13 Jul 2009 22:57:24 +0000 (22:57 +0000)]
Added more instructions to the comments to do with cssjanus.
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.
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.
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.
Bryan Tong Minh [Mon, 13 Jul 2009 21:56:24 +0000 (21:56 +0000)]
(bug 19571) Override buildConcat for SQLite.
Bryan Tong Minh [Mon, 13 Jul 2009 21:39:57 +0000 (21:39 +0000)]
Add the 403 fix from r49833 to RawPage as well.
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
Robin Pepermans [Mon, 13 Jul 2009 20:27:34 +0000 (20:27 +0000)]
fix syntax error
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.
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
Rotem Liss [Mon, 13 Jul 2009 18:43:06 +0000 (18:43 +0000)]
Fixing a syntax error in rtl.css.
Tim Starling [Mon, 13 Jul 2009 15:36:41 +0000 (15:36 +0000)]
Fix dodgy uses of wfMsgHtml() and related HTML escaping
Alex Z [Mon, 13 Jul 2009 14:54:38 +0000 (14:54 +0000)]
Followup to r53087 / r53052 - Change dieUsage to setWarning per CodeReview
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.
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
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
Niklas Laxström [Mon, 13 Jul 2009 10:34:31 +0000 (10:34 +0000)]
Some escaping fixes and related readability changes
Alexandre Emsenhuber [Mon, 13 Jul 2009 09:59:04 +0000 (09:59 +0000)]
RELEASE-NOTES entry for r53159
Alexandre Emsenhuber [Mon, 13 Jul 2009 09:42:37 +0000 (09:42 +0000)]
(bug 19693) escape user link in contribution link
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.
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.
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.
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.
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.
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/
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.
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.
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. :)
Bryan Tong Minh [Sun, 12 Jul 2009 12:38:03 +0000 (12:38 +0000)]
(bug 18533) Add readonly reason to readonly exception
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
Tim Starling [Sun, 12 Jul 2009 05:37:12 +0000 (05:37 +0000)]
Added $wgShowArchiveThumbnails, may be useful for file store backend load reduction.
Roan Kattouw [Sun, 12 Jul 2009 00:31:53 +0000 (00:31 +0000)]
Revert unintended change from r53128
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.
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
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+
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.
Robert Stojnić [Sat, 11 Jul 2009 10:28:23 +0000 (10:28 +0000)]
Add search term to search-nonefound since wiktionaries want it.
Shinjiman [Sat, 11 Jul 2009 09:16:52 +0000 (09:16 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Domas Mituzas [Sat, 11 Jul 2009 08:15:37 +0000 (08:15 +0000)]
good catch, $wgServer definitely needs trailing slash added =)
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
Remember the dot [Sat, 11 Jul 2009 05:00:19 +0000 (05:00 +0000)]
Updated RELEASE-NOTES for r52963 and r53033
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.
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
Roan Kattouw [Fri, 10 Jul 2009 22:10:02 +0000 (22:10 +0000)]
Fix up r52413: readd missing line per CR comment
Domas Mituzas [Fri, 10 Jul 2009 13:55:48 +0000 (13:55 +0000)]
don't allow querying specific namespace if misermode is enabled
Tim Starling [Fri, 10 Jul 2009 11:54:32 +0000 (11:54 +0000)]
Made wfMsg('') and wfMsg(null) silently return <> as it did before r52503. Thanks to those who supplied backtraces.
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.
Raimond Spekking [Fri, 10 Jul 2009 10:38:43 +0000 (10:38 +0000)]
* (bug 19630) Add linktrail to Turkmen
Aryeh Gregor [Fri, 10 Jul 2009 04:24:31 +0000 (04:24 +0000)]
RELEASE-NOTES for r53034
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.
Aryeh Gregor [Fri, 10 Jul 2009 04:19:33 +0000 (04:19 +0000)]
Remove stray name="" from anchors (cf. r52963)
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.
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.
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.
Andrew Garrett [Thu, 9 Jul 2009 15:19:05 +0000 (15:19 +0000)]
Release notes updates for r52983
Andrew Garrett [Thu, 9 Jul 2009 15:17:56 +0000 (15:17 +0000)]
* Allow leading-> as syntax for quoting.
Philip Tzou [Thu, 9 Jul 2009 13:44:55 +0000 (13:44 +0000)]
Update the Chinese conversion tables.
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.
Aryeh Gregor [Thu, 9 Jul 2009 01:04:10 +0000 (01:04 +0000)]
Remove redundant no-op implementations
Followup to r52951.
Aryeh Gregor [Thu, 9 Jul 2009 01:03:57 +0000 (01:03 +0000)]
Adjust error message to be clearer for empty var
Chad Horohoe [Thu, 9 Jul 2009 00:28:01 +0000 (00:28 +0000)]
(bug 19602) PubMed Magic links use outdated URL pattern
Chad Horohoe [Thu, 9 Jul 2009 00:14:43 +0000 (00:14 +0000)]
(bug 19591) Move setBigSelects() to DatabaseMysql
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)
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.
Rotem Liss [Wed, 8 Jul 2009 20:04:17 +0000 (20:04 +0000)]
Localization update.
Shinjiman [Wed, 8 Jul 2009 19:57:53 +0000 (19:57 +0000)]
* (bug 17712) fix the hardcoded link on 'newarticletext' for zh message series.
Æ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
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.
ThomasV [Wed, 8 Jul 2009 18:47:46 +0000 (18:47 +0000)]
documenting EditPage::importFormData
ThomasV [Wed, 8 Jul 2009 18:19:07 +0000 (18:19 +0000)]
adding web request parameter for consistency
Trevor Parscal [Wed, 8 Jul 2009 18:02:17 +0000 (18:02 +0000)]
Resolves bug #19599 using specific rules rather than !important
Roan Kattouw [Wed, 8 Jul 2009 17:59:08 +0000 (17:59 +0000)]
Fix up hook docs for SkinTemplateNavigation
Aaron Schulz [Wed, 8 Jul 2009 17:23:26 +0000 (17:23 +0000)]
typo
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
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.
Roan Kattouw [Wed, 8 Jul 2009 17:07:39 +0000 (17:07 +0000)]
Fix missing global declaration
Shinjiman [Wed, 8 Jul 2009 13:51:16 +0000 (13:51 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Alexandre Emsenhuber [Wed, 8 Jul 2009 09:38:03 +0000 (09:38 +0000)]
follow-up r52858: remove unused "global $wgMessageCache;"
Tim Starling [Wed, 8 Jul 2009 08:42:13 +0000 (08:42 +0000)]
Added missing static keyword
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'
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
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
Aryeh Gregor [Wed, 8 Jul 2009 04:38:01 +0000 (04:38 +0000)]
Fix weird calling convention for Skin::makeGlobalVariablesScript
Aaron Schulz [Wed, 8 Jul 2009 00:35:47 +0000 (00:35 +0000)]
Fixed fatal error breakage (bug 19562)
Trevor Parscal [Wed, 8 Jul 2009 00:22:18 +0000 (00:22 +0000)]
Resolved problem with classes being defined twice.
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)
Æ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)
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. :)
Rotem Liss [Tue, 7 Jul 2009 21:20:45 +0000 (21:20 +0000)]
Localization update for he.
Alexandre Emsenhuber [Tue, 7 Jul 2009 20:40:33 +0000 (20:40 +0000)]
fi E_ERROR: Call to undefined method MessageCache::getExtensionMessagesFor() in includes/api/ApiQueryAllmessages.php on line 57
Roan Kattouw [Tue, 7 Jul 2009 20:38:20 +0000 (20:38 +0000)]
Followup to r52856: actually move stuff to common, not vector
Roan Kattouw [Tue, 7 Jul 2009 20:37:20 +0000 (20:37 +0000)]
Fix up r52846 by moving up all mw_metadata stuff from monobook/modern to common CSS
Trevor Parscal [Tue, 7 Jul 2009 20:24:57 +0000 (20:24 +0000)]
Added position:relative to #bodyContent to allow absolutes to be relative to it, rather than #content. Also, changed #actions to #p-cactions to be compatible with some javascript routines.
Roan Kattouw [Tue, 7 Jul 2009 20:17:54 +0000 (20:17 +0000)]
API: Add snippet field to list=search output
Trevor Parscal [Tue, 7 Jul 2009 18:26:40 +0000 (18:26 +0000)]
Reduced specifificity of table rule which was superceding latter rules.
Roan Kattouw [Tue, 7 Jul 2009 18:15:22 +0000 (18:15 +0000)]
Remove bullets from TOC in Vector
Trevor Parscal [Tue, 7 Jul 2009 17:56:23 +0000 (17:56 +0000)]
Resolved incorrect wrapping of tabs in prefrences.
Roan Kattouw [Tue, 7 Jul 2009 17:46:29 +0000 (17:46 +0000)]
Redo r52821 properly: add a div to the Vector HTML instead
Roan Kattouw [Tue, 7 Jul 2009 17:03:44 +0000 (17:03 +0000)]
(bug 19529) Missing styling for metadata table in Vector
Roan Kattouw [Tue, 7 Jul 2009 16:45:12 +0000 (16:45 +0000)]
Document EditPageBeforeEditToolbar hook