Antoine Musso
ba44ee48f9
function name in debug output for OutputPage::checkLastModified
2006-05-12 22:38:58 +00:00
Antoine Musso
7ebdb6de89
Revert to r14165 . Did too many changes, didnt even run parserTests (i am bad)
2006-05-11 22:40:38 +00:00
Antoine Musso
c3c2084ee2
Some more PHP5 stuff
2006-05-11 20:24:28 +00:00
Antoine Musso
acb150a105
a round of static statements
2006-05-11 19:39:50 +00:00
Antoine Musso
bc14eb8045
Replacing var keyword with private / public as we now require PHP5.
2006-05-11 19:10:41 +00:00
Rob Church
55532d5a3d
(bug 5789) Treat "loginreqpagetext" as wikitext
2006-05-02 15:37:06 +00:00
Rob Church
cc001cf787
(bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section" link/tab to show up on specific pages on demand
2006-05-01 20:35:08 +00:00
Rob Church
8eeef128b4
(bug 5516) Show appropriate "return to" link on blocked page
2006-04-29 23:30:46 +00:00
Niklas Laxström
e30e9bdd12
* Parser can now know that it is parsing an interface message
...
* (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now
2006-04-29 13:15:19 +00:00
Antoine Musso
caa4b45577
Fix #5315 : "Expires: -1" HTTP header not strictly RFC valid
2006-04-27 21:46:03 +00:00
Rob Church
493ba1821e
* Indicate when a protected page is an interface message ("protectedinterface")
...
* (bug 4259) Indicate when a protected page being edited is an interface message ("editinginterface")
2006-04-25 01:44:04 +00:00
Rob Church
94f2a77931
(bug 5611) Add a name attribute to the text box containing source text in read-only pages
2006-04-25 01:30:50 +00:00
Magnus Manske
04f74e3a46
Changed DISPLAYTITLE magic variable to use ParserOutput object. Now shows alternate title correctly except in initial edit page.
2006-04-18 08:28:01 +00:00
Magnus Manske
e2106c4036
New DISPLAYTITLE magic template; decativated by default so not to scare Brion
2006-04-11 10:16:27 +00:00
Rob Church
ccbcfcb17c
(bug 2139) Show page title in subtitle when viewing "read only" page
2006-04-04 15:51:35 +00:00
Brion Vibber
c430848043
Live hack: Skip some work on empty category/link sets
2006-04-02 03:59:07 +00:00
Tim Starling
0ea2ad838b
don't double-profile redirects
2006-03-28 05:15:10 +00:00
Jens Frank
86c655d7ab
Ajax based suggest feature for the search box
2006-03-26 19:03:14 +00:00
Tim Starling
ff375dd5f7
Save the last modified timestamp to the parser cache, to avoid the need for a revision row load on hits.
2006-03-16 02:57:44 +00:00
Lupin
11337038b3
removing unused globals and some whitespace cleaning
2006-03-07 01:10:39 +00:00
Rob Church
4f17b85e4e
Revert Tim's changes to category links, owing to the wave of people objecting and his comment to revert if desired.
2006-02-25 17:23:23 +00:00
Tim Starling
a1f0bb5801
Make links to categories in the catlinks box blue whether the target page exists or not.
2006-02-24 01:38:06 +00:00
Rob Church
a4afe3a91a
(bug 5013) Check for existence on "return to" links
2006-02-16 22:29:53 +00:00
Domas Mituzas
2d23e2a977
Tidy up only article views, previews, image pages and diffs.
2006-01-23 18:37:46 +00:00
Brion Vibber
a0a46eb7a7
* Spit the generated LocalSettings code out during the installer as an aid
...
to debugging issues. (Keep this?)
* Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
when the directory is relocated for typical usage.
* Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
For typical usage this will be a light burden and should reduce confusion
when the configuration is edited.
* Fix $wgCacheEpoch's effect on client-side caching.
2006-01-16 10:16:06 +00:00
Brion Vibber
261a683265
Restoring ThomasV's patch for a hook & use of the existing $cache parameter on addPrimaryWikiText.
...
Further testing indicates the problem was probably an incomplete sync or bad caching of
OutputPage.php on some servers, so the broken version of the function was called
on old page views, incorrectly storing old text items into the parser cache.
2006-01-14 23:56:01 +00:00
Brion Vibber
181f8ed6c2
Reverting this patch:
...
* (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
page view (comes after parser cache, if used). Patch by ThomasV.
Something still bugged in this; was saving bogus history entries to parser cache.
2006-01-14 15:07:08 +00:00
Brion Vibber
266d41f165
* Added wfDie() wrapper, and some manual die(-1), to force the return code
...
to the shell to return nonzero when we crap out with an error.
2006-01-14 02:49:43 +00:00
Brion Vibber
03b9a2303d
* (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
...
page view (comes after parser cache, if used). Patch by ThomasV.
http://bugzilla.wikimedia.org/attachment.cgi?id=1290&action=view
http://bugzilla.wikimedia.org/attachment.cgi?id=1296&action=view
http://bugzilla.wikimedia.org/attachment.cgi?id=1297&action=view
2006-01-13 17:00:05 +00:00
Niklas Laxström
72bfc638b4
Missing variable declarations
2006-01-10 18:44:39 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7
* s~\t+$~~
2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec
* s~ +$~~
2006-01-07 13:09:30 +00:00
Ævar Arnfjörð Bjarmason
d8e90514ab
* Documentation: @private => @access private
2006-01-07 12:48:44 +00:00
Ævar Arnfjörð Bjarmason
380d540f46
Code review!
...
* Don't start a new scope with if defined 'MEDIAWIKI...
2006-01-07 12:25:36 +00:00
Rob Church
c1b1b2de50
* Move the "user is blocked" page to OutputPage
...
* Disallow users to use rollback when blocked
2006-01-06 23:09:37 +00:00
Tim Starling
3fc92e0c28
removed $wgParserCache, converted to a singleton
2006-01-05 04:26:52 +00:00
Tim Starling
f2a59db33f
Removed $wgLinkCache, converted to a singleton. Removed obsolete cruft from LinkCache.php.
2006-01-05 02:05:53 +00:00
Tim Starling
426c641441
fix for broken categories on preview
2006-01-01 20:08:08 +00:00
Tim Starling
81217f55a0
* Added templatelinks table. The table currently represents a literal list of templates included from each article. That is, the table contains pages which were actually loaded during parsing, not the markup which went into resolving their names.
...
* Ended the role of $wgLinkCache in link updates. Instead, links (and related entities) are registered in the ParserOutput object during a parse. The LinksUpdate constructor now takes a ParserOutput object as a parameter. $wgLinkCache is still used, but only as a cache of article IDs.
* Because the link list is now saved and restored in the parser cache, meta tag keywords now work on parser cache hits. Some refactoring took place in this area.
* Rendering of the HTML for category links has moved from Parser to OutputPage.
* Did some general pottering around in Article.php, such as allowing an Article object to be created with a specified revision ID, thereby optionally removing the dependence on $wgRequest. Not used at the current time.
* A few documentation tweaks.
2005-12-30 09:33:11 +00:00
Magnus Manske
c7e8a273da
now displays system messages in their edit box even if they are not set in the database yet
2005-12-28 14:47:30 +00:00
Brion Vibber
0f3e2091d1
* Remove unused OutputPage::addCookie()
...
* Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
Note; this currently doesn't override the session cookie params. Set separately
2005-12-26 10:29:22 +00:00
Ævar Arnfjörð Bjarmason
42d8f43913
* Added a new accessor/mutator for OutputPage::mParserOptions and deprecated the old one
...
* KEYWORDS => keywords, as per W3C reccomendations
2005-12-21 02:38:54 +00:00
Brion Vibber
6739f7f88f
* (bug 4212) Skip redundant meta-robots tag for default settings
2005-12-08 02:38:46 +00:00
Brion Vibber
f9bdb2bca4
* (bug 4214) Skip redundant action text inserts into the HTML <title>
2005-12-08 02:07:45 +00:00
Antoine Musso
d0f88435a3
Remove Out::transformBuffer method that does nothing
2005-12-04 21:08:39 +00:00
Antoine Musso
2ca68a256d
Clean up unused globals!
2005-12-04 18:27:59 +00:00
Brion Vibber
cb32fc167e
fix typo in var name
2005-12-01 08:24:49 +00:00
Brion Vibber
bcf653c8f9
* (bug 3979) Save correct {{REVISIONID}} into parser cache on edit
...
* Substitute {{REVISIONID}} correctly in diff display
Removed hook for revision-id override, avar will change his extension to use the new system
2005-11-27 06:04:41 +00:00
Tim Starling
4e7cbbb184
Save the results of the link cache update parse into the parser cache. This improves the speed of the inevitable subsequent page view.
2005-11-15 12:09:31 +00:00
Tom Gilder
2afff59a8b
(bug 2585) Return proper 404 code when pages don't exist
2005-10-12 03:12:40 +00:00