Permalink
Browse files

Appends BASE_TITLE_DELIMITER to mediawiki_title_prefix so implementer…

…s can more easily query individual documents fro getAllDocuments() results.
  • Loading branch information...
1 parent af70d33 commit 27ae3ebeedbecb8d1174652fc40c375ab893b390 Jim Safley committed May 18, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Scripto.php
View
3 lib/Scripto.php
@@ -435,7 +435,8 @@ public function getAllDocuments()
$allDocuments[] = array(
'mediawiki_title_prefix' => Scripto_Document::BASE_TITLE_PREFIX
- . Scripto_Document::base64UrlEncode($documentIds[0]),
+ . Scripto_Document::base64UrlEncode($documentIds[0])
+ . Scripto_Document::BASE_TITLE_DELIMITER,
'document_id' => $documentIds[0],
'document_title' => $documentTitle,
);

0 comments on commit 27ae3eb

Please sign in to comment.