Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/62178


Change subject: Add wgContentModel to mw.config
......................................................................

Add wgContentModel to mw.config

This field of the page table can be useful to determine the
corrosponding model for a page.

Change-Id: I0525ad764540b213b2697e1e9e64f7da73f6cf83
---
M includes/OutputPage.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/78/62178/1

diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index 3abfff0..053b432 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -3062,6 +3062,7 @@
                        'wgCategories' => $this->getCategories(),
                        'wgBreakFrames' => $this->getFrameOptions() == 'DENY',
                        'wgPageContentLanguage' => $lang->getCode(),
+                       'wgContentModel' => $title->getContentModel(),
                        'wgSeparatorTransformTable' => 
$compactSeparatorTransTable,
                        'wgDigitTransformTable' => $compactDigitTransTable,
                        'wgDefaultDateFormat' => $lang->getDefaultDateFormat(),

-- 
To view, visit https://gerrit.wikimedia.org/r/62178
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0525ad764540b213b2697e1e9e64f7da73f6cf83
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to