Kaldari has uploaded a new change for review. Change subject: Adding a getProperty method to WikiPage so that it is easier to access page properties (from the page_props table). ......................................................................
Adding a getProperty method to WikiPage so that it is easier to access page properties (from the page_props table). Also setting the value of doubleunderscore properties (like 'forcetoc', 'noindex', etc.) to true rather than empty string when the corresponding magic word is present in the page. Otherwise it is likely to cause accidental bugs since empty string evaluates to false. Change-Id: I08b45f93cea8f9f80ce5f6f75a65881da59d6741 --- M includes/WikiPage.php M includes/parser/Parser.php 2 files changed, 30 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/46/40346/1 -- To view, visit https://gerrit.wikimedia.org/r/40346 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I08b45f93cea8f9f80ce5f6f75a65881da59d6741 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Kaldari <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
