Hmmm, maybe I should have never 'linked so deep':

Notice: Undefined property: SkinVector::$mTitle in
/home/jidanni/mediawiki/LocalSettings.php on line 55 Fatal error: Call
to a member function quickUserCan() on a non-object.

The code that used to work was:

$wgFilterCallback='JidanniTitleFilter';
function JidanniTitleFilter($mTitle){
  if (preg_match("/^\d/", $mTitle->getText()) && $mTitle->getNamespace() <= 
NS_TALK)
     EditPage::spamPage
     ('***請退("←"鍵),另存所打的字,然後見「首頁」=>「使用說明」中之「頻率編入其單位」。謝謝。***');
     return true;} return false;}

Maybe I should just say in my message 'if the page you were trying to
edit was a talk page, then ...', instead of trying to determine it
myself with the ever changing internal parameters.

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to