Commit graph

112 commits

Author SHA1 Message Date
daniel
a138706729 Fix usage of deprecated ArticleSaveComplete hook in core
Change-Id: Ic01fd95d50a909470d6f0ffd93c972322789d49a
2012-10-08 14:13:59 +02:00
daniel
8bbd1de19e Merge "Use ContentHandler as a factory for recirects." into Wikidata 2012-10-08 11:11:16 +00:00
daniel
65bef41eaa Merge "Make runLegacyHooks work around bug in Hooks." into Wikidata 2012-10-08 11:10:41 +00:00
daniel
e6fb2cac0c Make runLegacyHooks work around bug in Hooks.
Hooks::isRegistered() doesn't consider hooks in $wgHooks.
Until that is fixed (see I39bd5de2), we need to check that explicitely.

Change-Id: I211c0c8bd0cd618151e56a11171ec8feef328d16
2012-10-05 19:11:50 +02:00
daniel
ab91faf877 For now, use the parser cache only for wikitext.
Caching could be enabled for other content types, but for the moment,
JS and CSS pages rely on the fact that the ShowRawCssJs hooks is called
for every view - which is bypassed when the parser cache is used.

Change-Id: Icf603b9f2a685d9e705db3459fcd12dae1fdba57
2012-10-05 19:05:21 +02:00
daniel
01e1b1a8e8 Use ContentHandler as a factory for recirects.
Redirects should not be constructed as wikitext, since other content models
may use other mechanisms to represent redirects.

Change-Id: Id85c3b3ada1924628e4e51757573d233e998f920
2012-10-05 16:50:32 +02:00
daniel
0f5242d629 Merge "Remove left-over use of wfMsg" into Wikidata 2012-10-05 13:20:26 +00:00
daniel
6564781c2a Remove left-over use of wfMsg
Change-Id: If80d7bf69393a6c95797e1fe0732df7270d5184c
2012-10-05 15:15:11 +02:00
daniel
7db9491d89 set mediawiki version number
Change-Id: I3479776bd3bb25c4d75d07e62ede2ad989025c5b
2012-10-05 15:03:24 +02:00
daniel
d087dd0f88 added architecture documentation
Change-Id: I60f1d0b710802b2076fff94e535cd4534b6c9a30
2012-10-05 14:33:51 +02:00
daniel
fe27182d64 Use canonical parser options per default
Change-Id: I2cbfaab2e15d9a1c1061f9ea31c7a8ebbeffdbd0
2012-10-04 13:00:05 +02:00
daniel
2b1016eb9d Split Content.php into one file per class.
Change-Id: Ib49d9ec729613dcc43d38d46cb133ff9df459d79
2012-09-24 22:51:53 +02:00
Renamed from includes/ContentHandler.php (Browse further)