dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Add DEFAULTSORT to search index field data"
[lhc/web/wiklou.git]
/
includes
/
content
/
WikiTextStructure.php
diff --git
a/includes/content/WikiTextStructure.php
b/includes/content/WikiTextStructure.php
index
9768d36
..
55c4ad5
100644
(file)
--- a/
includes/content/WikiTextStructure.php
+++ b/
includes/content/WikiTextStructure.php
@@
-233,4
+233,12
@@
class WikiTextStructure {
$this->extractWikitextParts();
return $this->auxText;
}
+
+ /**
+ * Get the defaultsort property
+ * @return string|null
+ */
+ public function getDefaultSort() {
+ return $this->parserOutput->getProperty( 'defaultsort' );
+ }
}