Extension talk:Page Object Model
Add topicAppearance
Latest comment: 15 years ago by Kghbln in topic No extension credits included
Comparison between MediaWiki's DOM Processor
[edit]So how is the functionality different between this extension and MediaWiki's built-in DOM preprocessor? âSledged (talk) 02:23, 10 September 2009 (UTC)
No extension credits included
[edit]Hi Sergey, is there a reason why you have not included extension credits into the php-file? I think you should. Cheers --kgh 20:48, 17 October 2009 (UTC)
PROBLEM
[edit]In Template.php (svn Revision 85115) on line 24, the strpos function needs the "===" (triple) operator to get valid results (see specification of strpos). The whole part should be:
if (strpos(trim($first_part), "#") === 0) { //it is neccessary to use "===". See specification of strpos
if (strpos($first_part, ":") !== False) {
$splitted = explode(':', $first_part, 2);
if (count($splitted) == 2) {
$first_part = $splitted[0];
array_unshift($parts, $splitted[1]);
}
}
}